/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans", "Open Sans", sans-serif; /* Better Unicode support */
    line-height: 1.6;
    color: #333;
    background-color: #e0e0e0; /* Light grey background */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Sans", "Open Sans", sans-serif; /* Better Unicode support */
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #ffffff; /*333*/
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: #2e8b57; /* Green color */
    }

section {
    padding: 5rem 0;
    background-color: #e0e0e0; /* Light grey background */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2e8b57; /* Green color */
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
}

    .btn:hover {
        background-color: #236b43;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.btn-secondary {
    background-color: transparent;
    color: #2e8b57;
    border: 2px solid #2e8b57;
}

    .btn-secondary:hover {
        background-color: #2e8b57;
        color: white;
    }

/* Header Styles */
.header {
    background-color: #9a9a9a; /* Light grey background instead of white e0e0e0*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

/* Logo styles updated for image */
.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 50px; /* Adjust based on your logo's dimensions */
        width: auto;
        transition: transform 0.3s ease;
    }

        .logo img:hover {
            transform: scale(1.05);
        }

    .logo h1 {
        font-size: 1.8rem;
        margin: 0;
        color: #c0c0c0; /* Silver text */
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
        background: linear-gradient(to right, #2e8b57, #ffffff); /*c0c0c0*/
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

    .main-nav a::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #2e8b57;
        transition: width 0.3s ease;
    }

    .main-nav a:hover::after,
    .main-nav a.active::after {
        width: 100%;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: #2e8b57;
    }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/IMAGES/hero_1.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    background-color: #9a9a9a; /* Slightly darker grey for contrast e8e8e8*/
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  opacity: 0.8;
}

.service-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  color: white;
  min-height: 200px;
}

.service-content h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
}


/* About Preview Section */
.about-preview {
    background-color: #d8d8d8; /* Another shade of light grey */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
}

    .about-content .section-title::after {
        left: 0;
        transform: none;
    }

.about-content p {
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Projects Section */
.projects {
    background-color: #e8e8e8; /* Slightly darker grey for contrast */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: white;
}

    .project-card:hover {
        transform: translateY(-10px);
    }

.project-image {
    height: 250px;
    overflow: hidden;
}

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
    background-color: white;
}

    .project-info h3 {
        color: #2e8b57;
        margin-bottom: 0.5rem;
    }

/* Testimonials Section */
.testimonials {
    background-color: #d8d8d8; /* Another shade of light grey */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

    .testimonial-content::before {
        content: '"';
        position: absolute;
        left: 0;
        top: -10px;
        font-size: 3rem;
        color: #2e8b57;
        opacity: 0.3;
        font-family: Georgia, serif;
    }

.testimonial-author h4 {
    color: #2e8b57;
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Contact Preview Section */
.contact-preview {
    background: linear-gradient(rgba(46, 139, 87, 0.9), rgba(46, 139, 87, 0.9)), url("/IMAGES/hero_1.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-preview .section-title {
    color: white;
    text-align: left;
}

    .contact-preview .section-title::after {
        background-color: white;
        left: 0;
        transform: none;
    }

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.8);
        color: #333;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

.contact-preview .btn {
    background-color: white;
    color: #2e8b57;
    width: 100%;
}

    .contact-preview .btn:hover {
        background-color: #f5f5f5;
    }

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    color: #c0c0c0; /* Silver text */
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #2e8b57;
    font-style: italic;
}

.footer h4 {
    color: #c0c0c0;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

    .footer h4::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: #2e8b57;
    }

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

    .footer a:hover {
        color: #2e8b57;
    }

.footer-contact p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 5rem 0;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }
}







/* Gallery Modal Styles */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.gallery-modal-content {
  background-color: white;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  width: 800px;
  position: relative;
  overflow: hidden;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.gallery-modal.active .gallery-modal-content {
  transform: scale(1);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
  background-color: #f8f9fa;
}

.gallery-header h3 {
  margin: 0;
  color: #2e8b57;
  font-size: 1.3rem;
}

.gallery-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.gallery-close:hover {
  background-color: #e9ecef;
  color: #2e8b57;
}

.gallery-container {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  min-height: 400px;
}

.gallery-images {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.gallery-images img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 2rem;
  color: #2e8b57;
  cursor: pointer;
  padding: 1rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.gallery-nav:hover {
  background-color: #2e8b57;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gallery-nav:disabled:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #2e8b57;
  transform: translateY(-50%) scale(1);
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

.gallery-thumbnails {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background-color: white;
  overflow-x: auto;
  border-top: 1px solid #eee;
}

.gallery-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
  opacity: 1;
  border-color: #2e8b57;
  transform: scale(1.05);
}

.gallery-counter {
  text-align: center;
  padding: 0.5rem 1.5rem 1rem;
  background-color: white;
  color: #666;
  font-size: 0.9rem;
}

/* Service card cursor pointer */
.service-card {
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
