/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }

  html, body {
    overflow-x: clip;
  }
  
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Header */
  header {
    background: #0D3F27;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
  }
  
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* force no wrapping */
    gap: 2rem; /* optional, space between logo and nav */
  }
  

  .logo {
    width: 60px; /* or adjust size you prefer */
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
    background: white; /* optional: white background behind logo */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
nav {
    flex: 1;
  }
  
  nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }
  
  nav a.active {
    border-bottom: 2px solid #991F1F;
  }
  
  /* Shrinking Header */
  header.shrink {
    padding: 0.5rem 0;
    background: #0D3F27;
  }
  
  header.shrink .logo {
    font-size: 1.5rem;
  }
  
  /* Hamburger */
  .hamburger {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }
  
  /* Sections */
  section {
    padding: 4rem 0;
  }
  
  .services, .contact {
    background-color: #f9f9f9;
  }

  .contact{
    background-color: #ffffff;
  }

  .contact-section {
    background: white; /* As you requested */
    padding: 5rem 2rem;
    text-align: center;
  }
  
  .contact-section h2 {
    font-size: 2.5rem;
    color: #264653; /* Your palette color */
    margin-bottom: 2rem;
  }
  
  #contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  #contact-form input, 
  #contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }
  
  #contact-form input:focus,
  #contact-form textarea:focus {
    border-color: #991F1F; /* Highlight focus with your red */
    outline: none;
  }
  
  .submit-btn {
    background-color: #991F1F;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
  }
  
  .submit-btn:hover {
    background-color: #b71c1c;
  }
  

  .testimonials {
    background-color: lightblue;
    padding: 4rem 2rem;
    position: relative;
  }

  .testimonials h2 {
    color: darkred;
  }
  /* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: #A89F91;
    text-align: center;
  }
  
  .services h2 {
    font-size: 2.5rem;
    color: #ffffff;
  }
  
  .services h3 {
    color: #ffffff;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .service-card > h3,
  .service-card > p {
    color: #0D3F27;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }

  .service-card:hover > h3,
  .service-card:hover > p{
    color: #991F1F;
  }
  
  .service-card:hover > .service-icon {
    color: #0D3F27;
  }

  .service-icon {
    font-size: 3rem;
    color: #991F1F;
    margin-bottom: 1rem;
  }

  .services-sub-grid {
    display: flex;
    justify-content: center;
  }

  .services-sub-grid > .cta-button {
    margin-top: 2em;
  }
  
  
  /* Forms */
  form input, form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  form button {
    background-color: #264653;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    width: 100%;
    font-weight: bold;
  }
  
  /* Footer */
  footer {
    background: #0D3F27;
    color: white;
    padding: 2rem 0;
    text-align: center;
  }
  
  /* Back to Top Button */
  #backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 18px;
    background-color: black;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

#backToTop:hover {
    background-color: #B71C1C; /* A slightly darker red for hover effect */
}
  
  /*Hero*/
  .home-carousel {
    position: relative;
    height: 110vh;
    overflow: hidden;
  }
  
  .slides {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    color: #CCFF00; /* Lime yellow-green */
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  font-weight: bold;
    padding: 0.3em 0.6em;
    opacity: .9;
  }
  
  .overlay-text h1 {
    font-size: 3rem;
    margin: 10px;
  }
  
 .cta-button {
    background-color: #991F1F; /* Your palette red */
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    opacity: 1;
  }

  /*Gallery*/
  .gallery-section {
    padding: 5rem 2rem;
    text-align: center;
    background-color: #ffffff;
  }
  
  .gallery-section h2 {
    font-size: 2.5rem;
    color: #264653;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
  }
  
  .gallery-item img {
    width: 100%;
    height: 250px; /* Force all images to have the same height */
    object-fit: cover; /* Crop inside the box nicely */
    display: block;
    transition: transform 0.3s;
    border-radius: 10px;
    cursor: pointer;
  }
  
  
  .gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-style: solid;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }

  /*About*/
  #about {
    padding-bottom: 0;
  }
  
  .about-subsections {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .about-subsections > div {
    flex: 1 1 45%;
    background-color:#991F1F;   /* Your palette red */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, background-color 0.3s;
  }
  
  .about-subsections h3 {
    margin-bottom: 1rem;
    color: #ffffff;
  }
  
  .about-subsections p,
  .about-subsections ul li {
    color: #ffffff;
  }

  .about-subsections > div:hover {
    transform: translateY(-5px);
    background-color: #F5E6DC;  
  }

  .about-subsections > div:hover h3,
  .about-subsections > div:hover ul li,
  .about-subsections > div:hover p {
    color: #0D3F27;
  }

  .about-image-container {
    position: relative;
    margin-top: 3rem;
    width: 100vw; /* Full viewport width */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  
    overflow: hidden;
    border-radius: 0; /* Optional: remove rounding for full bleed effect */
    box-shadow: none; /* Optional: remove shadows if not needed at full width */
    height: 400px;
  }
  
  
  .about-image {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    display: block;
  }
  
  .quote-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-style: italic;
    color: #264653; /* Deep blue */
    font-size: 1.2rem;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  
  
  .about-image img {
    width: 100%;
    max-width: 600px; /* Never bigger than 600px */
    height: auto;
    object-fit: cover; /* If needed to crop smartly */
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .about-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
  }
  
  
  
  /* Process Section */
.process-section {
    background-color: #A89F91;
    padding: 5rem 2rem;
    text-align: center;
  }

  
  .process-section h2 {
    font-size: 2.5rem;
    color: #ffffff;
  }
  
  .process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  
  .process-section h3 {
    color: #ffffff;
  }

  .step {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    flex: 1 1 250px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .step:hover {
    transform: translateY(-10px);
  }

  .step:hover > h3,
  .step:hover > p {
    color: #991F1F;
  }

  .step:hover > .icon {
    color: #0D3F27;
  } 
  
  .step .icon {
    font-size: 3rem;
    color: #991F1F; /* Your palette red */
  }
  
  .step h3 {
    color: #0D3F27;
  }
  
  .step p {
    color: #0D3F27;
  }
  
  .whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }

  .whatsapp-button:hover {
    background-color: #1ebe5d;
  }

  #preview {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    text-align: center;
    padding-top: 50px;
  }

  #preview img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
  }

.about-imgs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.about-imgs img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  flex: 1 1 300px; /* Flexibly grow/shrink but keep around 300px */
}

.about-imgs div img{
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 50%;
}

/* Responsive Menu */
  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
  
    #nav-menu {
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.3s ease-in-out;
    }
  
    #nav-menu.active {
      max-height: 300px;
    }
  
    #nav-menu ul {
      flex-direction: column;
      background: #333;
      padding: 1rem;
    }
  
    #nav-menu ul li {
      margin: 0.5rem 0;
      text-align: center;
    }

    #testimonials {
      display: none;
    }

    .about-subsections > div {
      flex: 1 1 100%;
    }
  }