* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  @font-face {
    font-family: slab;
    src: url(fonts/Sancoale\ Slab\ W01\ Cond\ Medium.ttf);
  }
  
  body {
    font-family: 'Roboto Slab', Arial, sans-serif;
  }
  
  .header {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    position: sticky;
    top: 0;
    z-index: 2000;
  }
  
  .left-section {
    display: flex;
    align-items: center;
    gap: 40px; /* space between logo and menu */
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    width: 8rem; 
    margin-right: 10px;
  }
  
  .navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: black;
    font-size: 15px;
    position: relative;
    font-weight: 100;
    padding: 5px 0;
    transition: all 0.3s ease;
    font-weight: bold;
    font-family: 'Roboto Slab';
}

/* Main hover animation for navbar links */
.navbar > a:not(.dropdown > a):hover {
    color: #3e8e41; /* Slightly darker green on hover */
}

.navbar > a:not(.dropdown > a)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3e8e41;
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar > a:not(.dropdown > a):hover::after {
    width: 100%;
    left: 0;
}

/* Dropdown specific styles */
.dropdown {
    position: relative;
}

.navbar .dropdown i {
    font-size: 12px;
    margin-left: 2px;
    position: relative;
    top: 0px;
    transition: transform 0.3s ease;
}

.dropdown:hover i {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    min-width: 150px;
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
    transform-origin: top center;
    animation: dropdownFadeIn 0.3s ease forwards;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: #4CAF50;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

/* Dropdown link hover animation */
.dropdown-content a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(76, 175, 80, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.dropdown-content a:hover {
    color: #388c30;
    padding-left: 20px;
}

.dropdown-content a:hover::after {
    width: 100%;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Active link style (optional) */
.navbar a.active {
  color: #3e8e41;
  font-weight: 500;
  position: relative; /* Required for the pseudo-element */
}

/* Underline for active item */
.navbar a.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #6CC24A;
  transform: scaleX(1); /* Fully visible */
  transition: transform 0.3s ease; /* Smooth transition if you want hover effects */
}
.navbar a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3e8e41;
}
  
  .button-wrapper {
    margin-left: auto; 
    display: flex;
    gap: 10px;
  }
  
  .header-button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px; 
    background-color: #f5f5f5; 
    color: black; 
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .header-button.contact {
    background-color: #388e3c; 
    color: white;
  }
  
  .header-button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transform: translateY(-2px);
  }
  
  
  .menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #4CAF50;
  }

  .button-wrapper-mobile{
    display: none;
  }
  
  
  /* Responsive */
  @media (max-width: 768px) {

    .button-wrapper-mobile{
      display: flex;
      gap: 15px;
    }

    .button-wrapper-mobile button{
     padding: 10px 20px;
     border: none;
     border-radius: 4px;
    }

    .header-button-mobile-call{
      background-color: #f5f5f5; 
      color: black; 
      font-weight: 600;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
      cursor: pointer;
    }

    .header-button-mobile-contact{
      background-color: #388e3c; 
      color: white;
      font-weight: 600;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
      cursor: pointer;
    }

    .left-section {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .navbar, .header-buttons {
      display: none;
      flex-direction: column;
      background: white;
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      padding: 20px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    }
  
    .navbar.active, .header-buttons.active {
      display: flex;
    }
  
    .menu-icon {
      display: block;
      margin-left: auto;
    }

    .button-wrapper{
        display: none;
    }
  }

  /* header styling end  */

  .hero {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    /* padding: 60px 3%; */
    min-height: 100vh;
    background: url('../Assets/r9.jpg') no-repeat center center/cover;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 70%;
    color: white;
  }
  
  .hero-content h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 4rem;
    font-weight: 200;
    margin-bottom: 20px;
    color: white;
    text-align: center;
  }
  
  .hero-content p {
    font-size: 14px;
    color: white;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
  }
  
  .hero-buttons {
    display: flex;
    gap: 20px;
  }
  
  .button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }
  
  .button.call-now {
    background-color: #388e3c;
    color: white;
  }
  
  .button.quote {
    background-color: #f5f5f5;
    color: #388e3c;
  }
  
  .button:hover {
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    transform: translateY(-2px);
  }
  
  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .hero-image img {
    width: 90%;
    max-width: 500px;
    border-radius: 30px;
    background-color: #ddd; /* if no image */
    object-fit: cover;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .hero {
      flex-direction: column;
      text-align: center;
      padding: 40px 5%;
    }
  
    .hero-content {
      margin-bottom: 30px;
    }
  
    .hero-buttons {
      justify-content: center;
    }
  }

  @media (max-width: 600px){
    .hero-content {
      max-width: 100%;
      gap: 20px;
  }

  .hero{
    min-height: 80vh;
  }

  
.hero-content h1 {
  font-size: 2rem;
  }

}
  

  /* hero section end  */

  .about-section {
    background-color: #6CC24A; /* Green background */
    padding: 60px 20px;
  }
  
  .about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .about-image {
    flex: 1 1 400px;
  }
  
  .image-placeholder {
    background: #f5f6f7;
    border-radius: 30px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .image-placeholder img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
  }
  
  .about-content {
    flex: 1 1 500px;
    color: white;
  }
  
  .about-content h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .about-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
  }
  
  .features-list {
    list-style: none;
    margin-bottom: 30px;
  }
  
  .features-list li {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .features-list .icon {
    margin-right: 10px;
    font-size: 20px;
  }
  
  .about-buttons {
    display: flex;
    gap: 20px;
  }
  
  .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .call-btn {
    background: #5aa73f;
    color: white;
  }
  
  .call-btn:hover {
    background: #4a9235;
  }
  
  .learn-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
  }
  
  .learn-btn:hover {
    background: white;
    color: #5aa73f;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .about-container {
      flex-direction: column;
      text-align: center;
    }
  
    .about-buttons {
      justify-content: center;
    }
  
    .about-content h2 {
      font-size: 30px;
    }

    .features-list li{
      text-align: justify;
    }
  }

  /* about section end  */

  .third-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .third-section h1 {
    text-align: left;
    font-family: 'Roboto Slab', serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: bold;
    line-height: 1.2;
    color: #388c30;
  }
  .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }
  .card {
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: left;
  }
  .card-image {
    background: #ddd;
    height: 220px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  .card-content {
    margin-top: 20px;
  }
  .card-content h2 {
    font-size: 1rem;
    font-weight: 100;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Roboto Slab', serif;
    color: black;
  }
  .card-content p {
    font-size: 0.6rem;
    margin-bottom: 20px;
    color: #388e3c;
  }
  .card-content a {
    text-decoration: none;
    color: #388e3c;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
  }
  .card-content a::after {
    content: '➔';
    font-size: 1rem;
  }
  @media (max-width: 768px) {
    .third-section h1 {
      font-size: 2rem;
    }
    .cards {
      gap: 20px;
    }
  }
  @media (max-width: 480px) {
    .card-content h2 {
      font-size: 1.3rem;
    }
    .card-content p {
      font-size: 0.95rem;
    }
  }

  /* third section end  */

  .showcase-section{
    background: #66bb6a;
    font-family: 'Roboto Slab', serif;
  }

  .showcase {
    text-align: center;
    padding: 60px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .showcase h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
  }
  .showcase p {
    font-size: 0.8rem;
    color: #f0f0f0;
    margin-bottom: 40px;
  }
  .slider-container {
    position: relative;
    overflow: hidden;
  }
  .slider-track {
    display: flex;
    transition: transform 0.5s ease;
  }
  .slide {
    min-width: 250px;
    background: #eee;
    margin: 0 10px;
    height: 250px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slide img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2e7d32;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
  }
  .arrow.left {
    left: -2px;
  }
  .arrow.right {
    right: 1px;
  }
  .dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
  }
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c8e6c9;
    cursor: pointer;
  }
  .dot.active {
    background: white;
  }
  @media (max-width: 768px) {
    .slide {
      min-width: 250px;
      height: 250px;
    }
  }
  @media (max-width: 480px) {
    .slide {
      min-width: 200px;
      height: 200px;
    }
  }

  /* showcase section end  */


  .testimonials-section{
    padding-top: 70px;
    padding-bottom: 50px;
  }

  .section-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .section-header h2 {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 10px;
  }
  
  .section-header p {
    color: black;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
  }
  
  /* Grid */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Card */
  .testimonial-card {
    background-color: #2e7d32;
    color: white;
    padding: 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  
  .stars {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .testimonial-text {
    font-size: 16px;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
  }
  
  /* User Info */
  .user-info {
    display: flex;
    align-items: center;
    margin-top: auto;
  }
  
  .user-photo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ccc;
    margin-right: 12px;
  }
  
  .user-name {
    font-weight: bold;
  }
  
  .user-position {
    font-size: 14px;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .testimonials-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .testimonials-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .section-header h2 {
      font-size: 28px;
    }
  
    .testimonials-grid {
      grid-template-columns: 1fr;
      padding: 0 16px;
    }
  
    .testimonial-card {
      padding: 20px;
    }
  
    .testimonial-text {
      font-size: 14px;
    }
  
    .stars {
      font-size: 20px;
    }
  
    .user-photo img {
      width: 40px;
      height: 40px;
    }
  
    .user-name {
      font-size: 14px;
    }
  
    .user-position {
      font-size: 12px;
    }
  }
  

  /* .testimonial section end  */

/* FAQ Section */
.faq-section {
    background-color: #72B65E;
    color: white;
    padding: 60px 30px;
  }
  
  .faq-header {
    text-align: left;
    margin-bottom: 40px;
  }
  
  .faq-header h2 {
    font-size: 48px;
    margin-bottom: 10px;
  }
  
  .faq-header p {
    font-size: 14px;
    color: #e5e5e5;
  }
  
  .faq-container {
    margin: 0 auto;
  }
  
  .faq-item {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding: 20px 0;
  }
  
  .faq-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }
  
  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .faq-question h3 {
    font-size: 20px;
    font-weight: bold;
  }
  
  .arrow {
    font-size: 24px;
    transition: transform 0.3s ease;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.4s ease;
    padding-top: 0;
  }
  
  .faq-answer p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Active State */
  .faq-item.active .faq-answer {
    max-height: 500px; /* Big enough for text */
    padding-top: 15px;
  }
  
  .faq-item.active .arrow {
    transform: rotate(180deg);
  }

  .still-faq{
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .still-faq p{
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
  }

  .faq-section button{
    margin-top: 20px;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    .faq-header h2 {
      font-size: 36px;
    }
    .faq-header p {
      font-size: 18px;
    }
  }
  
  /* faq section end  */

  .quote-section{
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      background: #f8f8f8;
      font-family: 'Roboto Slab', serif;
  }

  .quote-card {
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .quote-left {
    background: #388E3C;
    color: white;
    flex: 1 1 300px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .quote-left h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .quote-left p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #d3e7d6;
  }

  .buttons {
    display: flex;
    gap: 20px;
  }

  .buttons button {
    padding: 12px 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #4CAF50;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 3px 0 #2e7d32;
    transition: all 0.2s ease;
  }
  
  .buttons button:nth-child(2) {
    background: #388e3c;
    box-shadow: 0 3px 0 #2c6b2d;
  }
  
  .buttons button:hover {
    background: #45a049;
    box-shadow: 0 2px 0 #2c6b2d;
  }
  

  .quote-right {
    background: #ddd;
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .quote-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .quote-card {
      flex-direction: column;
    }
    .quote-left, .quote-right {
      flex: 1 1 auto;
    }
  }

  /* footer section start  */

  footer {
    background-color: #72b85f;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-logo img {
    width: 120px;
    height: auto;
  }

  .footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 100;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
  }

  .footer-nav a:hover {
    color: #dfffe0;
  }

  .footer-socials {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .footer-socials a {
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-socials a:hover {
    color: #dfffe0;
  }

  @media (max-width: 768px) {
    footer {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
  } 

  /* Animation Keyframes */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Class to trigger animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  animation: slideUp 0.6s ease-out forwards;
}
