body {
    margin: 0;
    font-family: "Marcellus", serif;
    font-weight: 500;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #6F9A37;
    color: white;
    position: relative;
}

.header .logo img {
    height: 50px;
}

 .logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fcfcfc; /* Match with the overall theme */
 
    line-height: 1.1; /* Ensures the text is evenly spaced vertically */
   
    align-items: center; /* Vertically centers the text if there's only one line */
    padding-top: 5px; /* Optional: Adds extra top spacing for perfect balance */
    padding-bottom: 5px; /* Optional: Adds extra bottom spacing for perfect balance */
}
/* Menu styling */
.menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.menu a:hover {
    background-color: #6F9A37;
 
}

/* Submenu styling */
.menu .submenu {
    display: none;
    list-style: none;
    background-color: #6f9a37;
    color: black;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: -1px;
    padding: 10px;
    margin-right: 50px;
    /* margin-left: -26px; */
    z-index: 1000;
    width: 250px;
}

.menu .submenu li {
    white-space: nowrap;
}

.menu .submenu a {
    color: white;
    padding: 5px 15px;
    display: block;
}

.menu .submenu a:hover {
    background-color: #6F9A37;
}

/* Show submenu on hover (desktop view) */
.menu li:hover .submenu {
    display: block;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 3px 0;
}

/* Mobile menu toggle */
#menu-toggle {
    display: none;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust transparency here */
}

.hero-text {
    position: relative;
    color: #fff;
    text-align: center;
    z-index: 2; /* Ensure it's above the overlay */
}

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

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
}

.hero-text a {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #6F9A37;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-text a:hover {
    background-color: #4c6c27;
}

/* Responsive Heights */
@media (max-width: 1200px) {
    .hero {
        height: 60vh; /* Slightly taller for large screens */
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh; /* Taller for tablets */
    }

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

    .hero-text p {
        font-size: 1rem; /* Adjust paragraph size */
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-text a {
        font-size: 0.9rem; /* Adjust button text */
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh; /* Full height for smaller screens */
    }

    .hero-text h1 {
        font-size: 1.9rem; /* Smaller heading text */
    }
    .treatments-topheading {
        font-size: 2rem !important;
       
    }
    .hero-text p {
        font-size: 0.9rem; /* Smaller paragraph text */
    }

    .hero-text a {
        font-size: 0.8rem; /* Adjust button size */
        padding: 8px 16px;
    }
}



/* .introduction-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.introduction-heading {
    font-size: 4rem;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.intro-image {
    flex: 1 1 40%;
    max-width: 40%;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.intro-text {
    flex: 1 1 50%;
    max-width: 50%;
    text-align: left;
    color: #555;
}

.intro-text h2 {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.6;
} */

.treatments-section {
   
    padding: 20px;
    background-color: #f5eadd;
    text-align: center;
    margin-top: 0px;
    
    overflow-x: hidden;
}

.treatments-heading {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    overflow-x: hidden;
    color: #333;
}

.treatments-topheading {
    font-size: 2rem;
    margin-bottom: -35px;
    font-weight: 500;
    font-family: "Corinthia", cursive;
    color: #e2e4dc;
    overflow-x: hidden;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three cards in a row */
    gap: 20px;
    margin-top: 20px;
    padding: 0 10px;
    overflow-x: hidden;
    margin-left:55px;
}

.card {
    background: linear-gradient(145deg, #ffffff, #fff3f3);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.5);
    max-width: 90%; /* Ensures cards adjust within their grid cell */
    text-align: center;
    overflow-x: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2), -5px -5px 20px rgba(255, 255, 255, 0.5);
}

.card img { width: 100%; height: 300px; object-fit: cover; object-position: center; }

.card-content {
    padding: 10px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #34495e;
    margin-bottom: 10px;
}

.card-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

/* .read-more {
    display: inline-block;
    padding: 7px 20px;
    background-color: #6f9a3700;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    border-color: #6F9A37;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1rem;
}

.read-more:hover {
    background-color: #6F9A37;
    transform: translateY(-3px);
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #34495e;
}

.modal-content p {
    font-size: 1rem;
    color: #666;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
} */

/* Responsive Adjustments */
@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr); /* Two cards in a row for medium screens */
    }
}

@media (max-width: 576px) {
    .cards-container {
        grid-template-columns: 1fr; /* One card in a row for small screens */
    }
}

.packages-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.packages-section h2 {
    font-size: 3rem;
    font-weight: bold;
    font-weight: 500;
    margin-bottom: 40px;
    color: #333;
   
}

.packages-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.package-card {
    background: linear-gradient(145deg, #ffffff, #fff);
    box-shadow: 5px 5px 15px #6f9a37, -5px -5px 15px rgba(255, 255, 255, 0.5);
    padding: 25px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.package-card:hover {
    transform: scale(1.05);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3), -10px -10px 20px rgba(255, 255, 255, 0.5);
}

.package-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #34495e;
    margin-bottom: 10px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6F9A37;
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.package-features li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.package-features li .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #6F9A37;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 1rem;
    margin-right: 10px;
    font-weight: bold;
}

.book-btn {
    background-color: #6F9A37;
    color: #444141;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
   
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.book-btn:hover {
    background-color: #6F9A37;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* .hero-text h1 {
        font-size: 2rem;
    }
    .introduction-heading {
        font-size: 2rem;
       
    }

    .hero-text p {
        font-size: 1rem;
    }
    .intro-content {
        overflow-x: hidden;
        flex-direction: column;
    }
    .intro-text p {
        font-size: 1rem;
        text-align: justify;
        margin-left: 40px !important;
        margin-right: 40px !important;
        line-height: 1.6;
    } */
    .treatments-heading {
        font-size: 2rem;
       
    }
    .packages-section h2 {
        font-size: 2rem;
       
    }
    .intro-image, .intro-text {
        max-width: 100%;
    }

    .intro-text {
        text-align: center;
    }
    .packages-container {
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
    }

    .package-card {
        width: 90%;
    }
    .menu {
        display: none;
        flex-direction: column;
        background-color: #6F9A37;
        position: absolute;
        top: 100%;
        right: 0;
        width: 250px;
        padding: 20px 0;
        margin-top: -1px;
        z-index: 1000;
        animation: slideIn 0.3s ease-in-out;
    }
    .cards-container {
        display: flex; /* Enable Flexbox */
        justify-content: center; /* Center-align cards horizontally */
        align-items: center; /* Center-align cards vertically (if needed) */
        flex-wrap: wrap; /* Allow wrapping to the next line for responsive design */
        gap: 15px; /* Maintain the gap between cards */
        overflow-x: hidden; /* Hide horizontal overflow */
        padding: 10px; /* Optional: Add padding for spacing around the container */
        margin-left: -25px;
        margin-right: -25px;
    }
   

    .menu li {
        margin: 10px 0;
        text-align: center;
    }

    .menu .submenu {
        display: none;
        position: relative;
        background-color: #8FBF4D;
        width: 100%;
        left: 0;
        top: 0;
    }

    /* Show menu when checked */
    #menu-toggle:checked + .hamburger + .menu {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    /* Show submenu on click in mobile */
    .menu li.active .submenu {
        display: block;
    }
}
/* @media (max-width: 600px) {
    .cards-container {
        gap: 15px;
        overflow-x: hidden;
    }

    .card img {
        height: 120px;
    }

    .card-content {
        padding: 8px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-description {
        font-size: 0.9rem;
    }

    .read-more {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .modal-content {
        text-align: center;
    }

    .modal-content h3 {
        font-size: 1.3rem;
    }

    .modal-content p {
        font-size: 0.9rem;
    }
} */
@media (max-width: 480px) {
           
    .package-card {
        width: 60%;
    }
}
@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Phone link behavior - disable on desktop, enable on mobile */
@media (min-width: 768px) {
    .phone-link {
        pointer-events: none;
        cursor: default;
    }
}

@media (max-width: 767px) {
    .phone-link {
        pointer-events: auto;
        cursor: pointer;
    }
}

/* Footer styling*/
.footer {
  /* background-image: url('footer.png'); */
  background-color: #79a232;  /* Match the green color */
  color: #fff;
  padding: 5px 20px;
  overflow-x: hidden;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-left: 33px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}

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

.footer-column ul li {
  margin-bottom: 10px;
  color: #fff;
}

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

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

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

.footer-column form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-column input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 5px;
  flex: 1;
}

.footer-column button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #c2a583; /* Match the beige color */
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.footer-column button:hover {
  background-color: #b39572;
}

/* Footer Bottom Section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-top: 1px solid #fff;
  padding-top: 10px;
}

.footer-bottom p {
  font-size: 12px;
  margin-bottom: 0px;
}

.social-icons {
  margin-top: 20px;
  /* display: inline-block; */
}
.social-icons a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #00aced; /* Change to desired hover color */
}
.social-icons img {
  width: 20px;
  height: 20px;
}

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

  .footer-bottom {
      flex-direction: column;
      text-align: center;
      margin-bottom: 10px;
      /* gap: 10px; */
  }

  .footer-column {
      min-width: 100%;
      margin-left: 0px;
      justify-items: center;
  }

}
a {
    text-decoration: none;
}
/* Sticky WhatsApp Icon Styling */
.whatsapp-icon {
  position: fixed;
  bottom: 80px; /* Increased distance from bottom for better spacing */
  right: 20px; /* Distance from right */
  z-index: 1000;
  border-radius: 50%; 
  padding: 0px;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon img {
  width: 60px; /* Default size for the logo */
  height: 60px;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .whatsapp-icon {
    bottom: 250px; /* Increased spacing for smaller screens */
    right: 15px;
    padding: 6px; /* Adjust padding */
  }

  .whatsapp-icon img {
    width: 55px; /* Smaller logo for mobile */
    height: 55px;
  }
}

@media (max-width: 480px) {
  .whatsapp-icon {
    bottom: 120px; /* Increased spacing for very small screens */
    right: 10px;
    padding: 2px;
  }

  .whatsapp-icon img {
    width: 40px; /* Adjust logo size */
    height: 40px;
  }
}

/* ======================= hover effect of redirecting to Xlmanagment services from copyrights=========== */

        .xl-credit {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            /* No underline */
            color: #f2f2f2;
            /* Default color */
            font-size: 12px;
            font-family: 'Marcellus', serif;
            transition: color 0.3s ease;
        }
    
        .xl-credit:hover {
            color: #385210;
            /* Hover color (adjust to match your design) */
        }
    
        .xl-logo {
            height: 22px;
            /* ✅ Fixes giant size */
            width: auto;
            max-width: 100%;
            /* Prevents overflow */
            object-fit: contain;
            display: inline-block;
        }

/* ======================= Scroll to Top Button Styling ======================= */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: none;
    background-color: #1beb08;
    color: white;
    border: none;
    border-radius: 45%;
    width: 45px;
    height: 45px;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    outline: none;
}

.scroll-to-top:hover {
    background-color: #3af700;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Mobile responsiveness for scroll-to-top button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px; /* Move up to avoid WhatsApp button */
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 75px; /* Adjust for mobile WhatsApp button */
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}