/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, sans-serif; 
}

/* Smooth fade-in and fade-out transition */
body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.fade-in {
  opacity: 1;
}

/* ---------- Header base (mobile-first) ---------- */
header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background-color: #e5cda3;
  top: 0;
  z-index: 1000;
  height: 80px; /* Height for the navbar */
}

/* hamburger (mobile visible) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1200; 
}
.hamburger div {
  width: 28px;
  height: 3px;
  background-color: #064420;
  border-radius: 2px;
}

/* Visually-centered logo on mobile */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%); 
  pointer-events: none; 
}
.logo img {
  display: block;
  max-height: 56px;
  max-width: 140px;
  width: auto;
  height: auto;
}

/* Website name on mobile - hidden */
.website-name {
  display: none;
}

/* ---------- Desktop (≥768px) ---------- */
@media (min-width: 768px) {
  .website-name {
    display: block;   /* Show website name on desktop */
    font-size: 1.5rem;
    font-weight: bold;
    color: #064420;
    margin-left: 15px;
  }
}


/* Nav & button hidden/compact on mobile by default */
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none; 
}
.btn {
  display: flex;
}

/* Make header the reference for absolute positioning */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Hide dropdown by default */
.nav-links {
  display: none;
}

/* Show dropdown when .active is added */
.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  z-index: 999;
  transition: all 0.3s ease;
}

/* Each nav item */
.nav-links.active li {
  list-style: none;
  margin: 12px 0;
  text-align: center;
}

/* Nav links style (no underline, thicker text) */
.nav-links.active a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ❌ close icon at top */
.close-btn {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  text-align: right;
  color: #333;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

/* Booking button style */
.btn {
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #005fcc;
}

/* --- Responsive Rules --- */

/* Mobile (menu closed) */
@media (max-width: 768px) {
  .btn {
    display: block;
  }

  .nav-links {
    display: none;
  }

  /* Hide booking button on mobile when menu is closed */
  .btn {
    display: none;
  }

  /* When menu is active, show booking button inside dropdown */
  .nav-links.active .btn {
    display: block;
    margin: 10px auto;
  }
}

@media (max-width: 768px) {
  /* Add more space below the navbar */
  .hero, 
  .banner, 
  .main-banner, 
  .header-section {
    margin-top: 65px; /* increase or reduce as needed */
  }
}

/* Desktop view (menu visible normally) */
@media (min-width: 769px) {
  .btn {
    display: none;
  }

  .nav-links {
    display: flex;
    gap: 20px;
  }

  .btn {
    display: inline-block;
  }
}

/* ---------- Desktop (≥768px) ---------- */
@media (min-width: 769px) {
  header {
    position: fixed;
    justify-content: flex-start;
    height: 90px;               
    padding: 0 30px;            
  }

  /* Reset logo position on desktop */
  .logo {
    position: static;
    transform: none;
    margin-right: 24px;
    pointer-events: auto;
    display: flex;
    align-items: center;
  }

  .logo img {
    max-height: 70px;
    max-width: 180px;
  }

  /* Add website name next to logo */
  .website-name {
    font-size: 1.1rem;        
    font-weight: bold;
    color: #064420;          
    margin-left: 15px;        
  }

  .nav-links {
    display: flex;
    gap: 20px;
    margin-left: auto;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .nav-links a {
  text-decoration: none;  
  color: inherit;         
}

.nav-links a:hover {
  text-decoration: none;  
  color: #064420;         
}

  .btn {
    display: inline-block;
    margin-left: 24px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none; 
  }

  header .nav-links,
  header .btn {
    align-self: center;
    text-decoration: none; 
  }

  /* Hide hamburger and close button on desktop */
  .hamburger {
    display: none;  
  }
}

.close-btn {
  display: none;
}

/* Hero section */
.hero {
  position: relative;
  min-height: 100vh; 
  background: url('../images/banner.webp') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: left;
  padding-top: 140px; 
  padding-bottom: 80px; 
  box-sizing: border-box;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  filter: blur(3px); 
  z-index: 1; 
}

.hero-text {
  position: relative;
  color: rgb(255, 255, 255);
  text-align: left;
  max-width: 600px;
  padding: 20px;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: bold;
  margin-bottom: 25px;
}

.hero-text p {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 520px;
}

.hero-btn {
  display: inline-block;
  background-color: #027a3a;
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.hero-btn:hover {
  background-color: #025e2d;
}

/* Large screens (desktops and big laptops) */
@media screen and (max-width: 1200px) {
  .hero {
    height: 80vh;
    background-position: center top;
  }
}

/* Tablets and medium screens */
@media screen and (max-width: 1024px) {
  .hero {
    min-height: 90vh;
    padding-top: 120px;
    padding-bottom: 70px;
    background-position: center;
  }

  .hero-text {
    max-width: 500px;
    padding: 20px 30px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.05rem;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .hero {
    min-height: 95vh; 
    padding-top: 100px; 
    padding-bottom: 100px;
    background-size: cover;
    background-position: center top;
    justify-content: center;
    text-align: center;
  }

  .hero-text {
    max-width: 90%;
    padding: 10px 20px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .hero-btn {
    font-size: 0.95rem;
    padding: 12px 26px;
  }
}

/* Small mobile phones */
@media screen and (max-width: 480px) {
  .hero {
    height: 50vh;
    background-position: center;
  }

  .hero-text {
    padding: 10px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px; 
  }

  .hero-text {
    text-align: center;
    padding: 0 15px;
  }
}

/* ---------- Services Section with Fade-in Animation ---------- */
    .services3 {
      background-color: #081d3f; /* dark navy */
      color: #fff;
      padding: 60px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 60px;
      overflow: hidden;
    }

    /* Each service block */
    .service-box1 {
      max-width: 900px;
      width: 100%;
      text-align: center;
      opacity: 0;
      transform: translateY(40px) scale(0.95);
      transition: opacity 0.9s ease-out, transform 0.9s ease-out;
    }

    /* Fade-in visible state */
    .service-box1.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    /* Image Styling */
    .service-box1 img {
      width: 100%;
      height: 550px;
      object-fit: cover;
      border-radius: 0px;
      margin-bottom: 20px;
      display: block;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
      transition: transform 0.2s ease;
    }

    /* Slight hover lift */
    .service-box1:hover img {
      transform: scale(1.02);
    }

    /* Title Styling */
    .service-box1 h2 {
      font-family: Georgia, serif;
      font-size: 1.8rem;
      margin-bottom: 10px;
      color: #fff;
      font-weight: 600;
      text-align: center;
    }

    /* Paragraph Styling */
    .service-box1 p {
      font-family: Georgia, serif;
      color: #ccc;
      font-size: 1rem;
      line-height: 1.6;
      margin: 0 auto 20px auto;
      max-width: 800px;
      text-align: center;
    }

    /* --- Responsive Adjustments --- */
    @media (max-width: 480px) {
      .services3 {
        padding: 40px 15px;
        gap: 40px;
      }

      .service-box1 img {
        height: 220px;
      }

      .service-box1 h2 {
        font-size: 1.4rem;
      }

      .service-box1 p {
        font-size: 0.9rem;
      }
    }

/* ---------- Hero Animation ---------- */
.hero-text h1,
.hero-text p,
.hero-btn {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.hero-text.visible h1,
.hero-text.visible p,
.hero-text.visible .hero-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: slightly stagger them for a natural feel */
.hero-text.visible h1 {
  transition-delay: 0.1s;
}
.hero-text.visible p {
  transition-delay: 0.25s;
}
.hero-text.visible .hero-btn {
  transition-delay: 0.4s;
}

/* Ensure parent allows absolute positioning */
.service-box1 {
  position: relative;
}


    @media (min-width: 481px) and (max-width: 768px) {
      .services3 {
        padding: 50px 25px;
        gap: 50px;
      }

      .service-box1 img {
        height: 280px;
      }

      .service-box1 h2 {
        font-size: 1.6rem;
      }
    }

    @media (min-width: 769px) {
      .services3 {
        padding: 70px 100px;
        gap: 70px;
      }

      .service-box1 h2 {
        font-size: 2rem;
      }

      .service-box1 p {
        font-size: 1.1rem;
      }
    }

/* Comprehensive Services Section */
.comprehensive-services {
  background-color: #0c4724; 
  padding: 60px 0 30px; 
  text-align: center;
}

.services-container h2 {
  color: #fff;
  font-size: 2.5rem;
  font-family: 'Georgia', sans-serif;
  text-align: center;
  margin-bottom: 15px;
}

.services-container p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Tablet view */
@media (max-width: 768px) {
  .comprehensive-services {
    padding: 40px 0 25px; 
  }
  .services-container h2 {
    font-size: 28px;
  }
  .services-container p {
    font-size: 16px;
    padding: 0 15px;
  }
}

  .services-container {
    margin: 0;
    padding: 0 10px;
  }

  .services-container h2 {
    font-size: 22px;
    margin-bottom: 8px; 
  }

  .services-container p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .services-container img {
    width: 100%;       
    height: auto;      
    display: block;
    margin: 10px 0;    
    border-radius: 6px;
  }
}

/* Lawn Mowing Care Section */
.lawn-mowing-care {
  background-color: #0c4724;  
  padding: 40px 0;  
}

.lawn-mowing-care .container {
  width: 80%;
  max-width: 1200px; 
  margin: 0 auto;
}

.lawn-mowing-care .content {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  gap: 20px; 
  flex-wrap: wrap; 
}

.lawn-mowing-care img {
  width: 50%;  
  max-width: 100%; 
  height: auto;  
  max-height: 400px;  
  object-fit: cover;
  border-radius: 0px;  
}

.lawn-mowing-care .text {
  width: 45%;  
  color: white;  
}

.lawn-mowing-care h3 {
  font-size: 1.8rem;  
  font-family: 'Georgia', serif;
  margin-bottom: 15px; 
  text-align: center;  
}

.lawn-mowing-care p {
  font-size: 1rem;  
  font-family: 'Arial', sans-serif;  
  text-align: left;  
  line-height: 1.5;  /
}

/* Media query for mobile screens */
@media screen and (max-width: 768px) {
  .lawn-mowing-care .content {
    flex-direction: column;  
    text-align: center;  
  }

  .lawn-mowing-care img {
    width: 95%;  
    height: auto;  
    margin: 0 auto 25px;  
    display: block;
  }

  .lawn-mowing-care .text {
    width: 85%;  
    margin: 0 auto 25px;  
  }

  .lawn-mowing-care h3 {
    font-size: 1.6rem;  
  }

  .lawn-mowing-care p {
    font-size: 0.95rem;  
  }
}

/* Medium screens (481px - 768px) to match services3 behavior */
@media (min-width: 481px) and (max-width: 768px) {
  .lawn-mowing-care img {
    width: 90%;  
    height: 280px;  
    object-fit: cover;  
  }
}


/* Irrigation Setup Section */
.irrigation-setup {
  background-color: #0c4724;  
  padding: 40px 0;  
}

.irrigation-setup .container {
  width: 80%;
  max-width: 1200px; 
  margin: 0 auto;
}

.irrigation-setup .content {
  display: flex;
  flex-direction: row-reverse;  
  justify-content: space-between;
  align-items: center; 
  gap: 20px;  
  flex-wrap: wrap; 
}

.irrigation-setup img {
  width: 50%;
  max-width: 100%; 
  height: auto; 
  max-height: 400px; 
  object-fit: cover;
  border-radius: 0px;
}

.irrigation-setup .text {
  width: 45%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  text-align: center;      
}

.irrigation-setup h3 {
  font-size: 1.8rem;
  font-family: 'Georgia', serif;
  margin-bottom: 15px;
}

.irrigation-setup p {
  font-size: 1rem;
  font-family: 'Arial', sans-serif;
  line-height: 1.5;
  text-align: left; /* paragraph left-aligned for readability */
}

/* Media query for mobile screens */
@media screen and (max-width: 768px) {
  .irrigation-setup .content {
    flex-direction: column;  
    text-align: center;
  }

  .irrigation-setup img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .irrigation-setup .text {
    width: 80%;
    margin: 0 auto 20px auto;
  }

  .irrigation-setup h3 {
    font-size: 1.6rem;
  }

  .irrigation-setup p {
    font-size: 0.9rem;
    text-align: center; 
  }
}

.learn-more {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--white); 
  padding: 8px 16px;
  margin: 10px auto; 
  display: block; 
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease; 
}

.learn-more:hover {
  background: var(--white);
  color: var(--green);
  border-color: var(--green);
  transform: scale(1.05); 
}


/* === Universal fade-in animation for all service subsections === */
.services-section .service-part {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.services-section .fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Why Marsive */
.marsive {
  background-color: #f8d124;
  padding-bottom: 80px;      
  margin-bottom: 0;          
  padding-top: 80px;         
  text-align: center;        
}

.marsive h2 {
  font-size: 2.1rem;
  color: rgb(17, 17, 17);
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
}

.marsive p {
  font-size: 1.2rem;
  color: rgb(12, 12, 12);
  margin-bottom: 40px;
  font-family: 'Georgia', sans-serif;
}

.service2 {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex: 1 1 30%;
  max-width: 350px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;        /* Ensures equal height */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.service2 img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  margin-bottom: 20px;
}

.service2 h3 {
  font-size: 1.5rem;
  color: #022b55;
  margin-top: 10px;
  font-family: 'Arial', sans-serif;
}

.service2 p {
  font-size: 1rem;
  color: #101213;
  margin-top: 5px;
  font-family: 'Arial', sans-serif;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .service2 {
    flex: 1 1 30%; /* Adjust basis for medium screens, still 3 in a row */
    max-width: 300px;
  }
}

@media screen and (max-width: 768px) {
  .service2 {
    flex: 1 1 30%; 
    max-width: 280px;
  }
}

@media screen and (max-width: 600px) {
  .service2 {
    flex: 1 1 100%; 
    max-width: 400px;
  }
}


/*  What Our Clients Say Section */
.client {
  background-color: #013b19;
  padding-bottom: 80px;  
  margin-bottom: 0;          
  padding-top: 80px;         
  text-align: center;        
}

.client h2 {
  font-size: 2.1rem;
  color: rgb(253, 252, 252);
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
  text-align: center;
}

.client p {
  font-size: 1.2rem;
  color: rgb(248, 247, 247);
  margin-bottom: 40px;
  font-family: 'Georgia', sans-serif;
  text-align: center;
}

/* Flex container for testimonials */
.flex-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 25px; 
  flex-wrap: wrap;
  margin: 40px auto; 
  padding: 0 40px; 
  max-width: 1100px; 
}

/* Testimonial Card */
.testimonial {
  background-color: #c0ebb7;
  padding: 20px;
  border-radius: 0px; /* slightly rounded for smoother look */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  flex: 1 1 260px; 
  max-width: 300px; 
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Slight hover effect for polish */
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.testimonial img {
  width: 100%;
  height: 400px; /* slightly reduced to match card proportion */
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
}

.testimonial h3 {
  font-size: 2.0 rem;
  color: #022b55;
  margin-top: 10px;
  font-family: 'Georgia', sans-serif;
}

.testimonial p {
  font-size: 1.0 rem;
  color: #101213;
  margin-top: 5px;
  font-family: 'Georgia', sans-serif;
}

/* ✅ Desktop and tablet: horizontal row of cards */
@media screen and (min-width: 768px) {
  .flex-container {
    display: flex;
    flex-wrap: nowrap; /* Keep in one row */
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
  }

  .testimonial {
    flex: 0 0 360px; /* Fixed width for consistency */
  }
}

/* ✅ Mobile: stack cards vertically */
@media screen and (max-width: 767px) {
  .flex-container {
    flex-direction: column; /* Stack vertically */
    align-items: center;
  }

  .testimonial {
    width: 90%;
    max-width: 350px;
  }
}


/* Review form styling */
.review-form {
  background-color: #c0ebb7;
  padding: 20px;
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex: 0 0 360px; /* Same width as testimonials */
  text-align: left;
  margin-top: 30px;
  margin-left: calc((100% - 1140px)/2); /* Centers left-aligned block under cards (optional tweak) */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Align form elements */
.review-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-form h3 {
  font-size: 1.4rem;
  color: #022b55;
  margin-bottom: 10px;
  font-family: 'Georgia', sans-serif;
}

/* Input and textarea styling */
.review-form input,
.review-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #a4d7a3;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Georgia', sans-serif;
}

/* Button styling */
.review-form {
  background-color: #c0ebb7;
  padding: 20px;
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 360px;            /* same width as testimonial cards */
  text-align: left;
  margin-top: 30px;
  margin-left: 10px;       /* slight left margin for spacing */
  display: inline-block;   /* prevents full stretch */
  vertical-align: top;     
}

.review-form button:hover {
  background-color: #026b2c;
}

/* ✅ Mobile view adjustments */
@media screen and (max-width: 767px) {
  .review-form {
    width: 90%;
    max-width: 350px;
    margin: 30px auto 0 auto; /* Center on mobile */
  }
}

/* Appointment Section - Schedule Your Lawn */
body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #f2f39d;
}

/* White container centered with beige background margins */
.appointment-section {
  background-color: rgb(241, 239, 241);
  padding: 60px 20px;
  max-width: 900px; /* narrower to leave beige sides on desktop */
  margin: 50px auto; /* centers the section */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  border-radius: 0px; /* optional: softens edges for modern look */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* Parent section styling */
.appointment-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.appointment-section p {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
}

/* This wraps image + form side by side (or stacked on mobile) */
.appointment-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 0;
  text-align: left;
}

/* Image container styles */
.image-container {
  flex: 1 1 300px;
  text-align: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Form container styles */
.form-container {
  flex: 1 1 300px;
  padding: 0 20px;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-container label {
  font-weight: 500;
  margin-bottom: 5px;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-container textarea {
  resize: vertical;
}

.form-container .timezone {
  font-size: 13px;
  color: #444;
}

.form-container button {
  background-color: #3e5130;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

.form-container button:hover {
  background-color: #2c3e1f;
}

/* Checkbox styling */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  margin-top: 5px;
  margin-bottom: 10px;
}

.checkbox-container input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-container a {
  color: #3e5130;
  text-decoration: underline;
}

.checkbox-container a:hover {
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .appointment-section {
    margin: 30px 15px;  
    padding: 40px 15px; 
    border-radius: 10px;
  }

  .appointment-content {
    flex-direction: column;
    align-items: center;
  }

  .form-container {
    padding: 0 10px;
    width: 100%;
  }

  .image-container {
    width: 100%;
  }

  .form-container button {
    width: 100%;
  }
}

.footer-section {
  background-color: #30c261; /* green shade */
  color: #fff;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.newsletter-form input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border: none;
  border-radius: 4px;
}

.newsletter-form button {
  padding: 8px 16px;
  background-color: #2c3e1f;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: #1f2e15;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #f0f0f0;
}

/* Responsive layout */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    width: 100%;
    max-width: 400px;
  }
}

/* ---------- Admin-button ---------- */
.admin-container {
  display: flex;
  justify-content: center;   
  align-items: center;       
  margin-top: 20px;         
  margin-bottom: 20px;       
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Admin button styling */
.admin-btn {
  display: inline-block;
  background-color: #0c4724;
  color: #fff;
  padding: 14px 36px; /* Comfortable spacing */
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

/* Hover effect */
.admin-btn:hover {
  background-color: #128a43;
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(12, 71, 36, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .admin-btn {
    padding: 12px 30px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .admin-container {
    margin-top: 16px;
  }

  .admin-btn {
    padding: 10px 26px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .admin-container {
    margin-top: 12px;
  }

  .admin-btn {
    display: block; /* Centers automatically */
    margin: 10px auto;
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}



/* Social Media Icons */
.social-icons {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 12px; /* spacing above the "All rights reserved" text */
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; 
  height: 38px;
  background-color: #2e7d32; /* deep eco-green */
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.35s ease, background 0.3s;
}

.social-icons a i {
  color: #ffffff;
  font-size: 16px; /* slightly smaller icon size */
}

.social-icons a:hover {
  transform: scale(1.12);
  background-color: #36a54a; /* lighter green on hover */
  box-shadow: 0 0 10px rgba(54, 165, 74, 0.7);
}

/* Footer padding optimization for mobile */
@media (max-width: 768px) {
  .footer-section {
    padding: 15px 10px; /* reduce top/bottom padding */
  }

  .footer-content {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* reduce gaps between columns */
  }

  .footer-column {
    margin-bottom: 10px;
    text-align: center;
  }

  .footer-column h4 {
    margin-bottom: 6px;
    font-size: 1rem;
  }

  .footer-column ul li {
    margin-bottom: 4px;
  }

  /* Newsletter form spacing */
  .newsletter-form {
    margin-top: 8px;
  }

  .newsletter-form input {
    width: 90%;
    margin-bottom: 8px;
    padding: 8px;
    font-size: 0.9rem;
  }

  .newsletter-form button {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  /* Social icons area */
  .social-icons {
    margin-top: 10px;
    margin-bottom: 8px;
    text-align: center;
  }

  .social-icons a {
    margin: 0 5px;
  }

  /* Admin container if shown */
  .admin-container {
    margin: 10px 0;
  }

  /* Copyright section */
  .footer-bottom {
    margin-top: 5px;
    padding-top: 5px;
    font-size: 0.85rem;
    text-align: center;
  }

  .footer-bottom p {
    margin: 0;
    line-height: 1.4;
  }
}
