/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* For smooth scrolling */
}

/* FontAwesome Icon Alignment Fix */
.fa, .fa-brands, .fa-classic, .fa-regular, .fa-sharp, .fa-solid, .fab, .far, .fas {
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Specific FontAwesome Brand Icons Fix */
.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Specific FontAwesome Solid Icons Fix */  
.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Ensure social media icons render correctly */
.fa-instagram, .fa-facebook-f, .fa-facebook {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #3E5C50; /* Dark Green for primary text on light background */
    /* background-color: #EAE6DE; */ /* Cream from logo - Commented out old solid color */
    background: linear-gradient(to bottom, #EAE6DE 0%, #F0EEE8 50%, #EAE6DE 100%); /* Adjusted gradient for animation */
    background-size: 100% 300%; /* Make height larger than viewport for vertical animation */
    animation: subtleGradientAnimation 30s ease-in-out infinite alternate; /* Slow animation */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

@keyframes subtleGradientAnimation {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 0% 100%;
    }
}

.container {
    width: 90%;
    max-width: 1200px; /* Increased max-width for a more spacious feel */
    margin: auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #EAE6DE; /* Cream background from logo */
    padding: 15px 0; /* Adjusted padding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Softer shadow */
    text-align: center; /* Center the logo */
}

.header-container {
    display: flex;
    justify-content: center; /* Center logo horizontally */
    align-items: center;
}

#clinic-logo {
    max-height: 110px; /* Adjust max-height as needed */
    width: auto; /* Maintain aspect ratio */
    display: block; /* Remove any extra space below if it were inline */
}

/* Navigation */
nav {
    /* background: linear-gradient(to bottom, #5A785C, #4A684C); */ /* Old solid gradient */
    background: linear-gradient(to bottom, rgba(90, 120, 92, 0.75), rgba(74, 104, 76, 0.75)); /* Gradient with transparency */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border-bottom: 1px solid rgba(234, 230, 222, 0.2); /* Subtle border for glass edge */
    color: #EAE6DE; /* Cream for nav text */
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
    /* background-color: rgba(90, 120, 92, 0.95); */ /* Slightly transparent Lighter Green - Old solid */
    background: linear-gradient(to bottom, rgba(90, 120, 92, 0.85), rgba(74, 104, 76, 0.85)); /* Scrolled gradient with more opacity */
    /* backdrop-filter is inherited or can be re-specified if needed */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Ensure hamburger is always visible on mobile when scrolling */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 99999 !important; /* Highest priority - above everything */
        display: flex !important;
        background: rgba(90, 120, 92, 0.95) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-radius: 8px !important;
        padding: 12px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s ease !important;
        pointer-events: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

    .mobile-menu-toggle:hover {
        background: rgba(90, 120, 92, 1);
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-menu-toggle.active {
        background: rgba(62, 92, 80, 0.95);
        transform: scale(1.1);
    }
    
    /* Subtle pulse animation for fixed hamburger */
    .mobile-menu-toggle:not(.active) {
        animation: hamburgerPulse 3s ease-in-out infinite;
    }

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #EAE6DE;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline;
    margin: 0 18px;
}

.nav-menu li a {
    color: #EAE6DE; /* Cream for nav links */
    text-decoration: none;
    font-size: 1.05em;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease-out;
    display: inline-block;
    padding: 5px 0;
}

.nav-menu li a:hover, .nav-menu li a.active-link {
    color: #FFFFFF; /* Brighter White for hover/active */
    transform: translateY(-2px);
    position: relative; /* For pseudo-element positioning */
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px; /* Position below the text */
    left: 50%;
    background-color: #EAE6DE; /* Cream color for underline */
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu li a:hover::after, .nav-menu li a.active-link::after {
    width: 100%;
    left: 0;
}

/* Hide mobile WhatsApp link on desktop */
.mobile-whatsapp-link {
    display: none;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }



    .nav-menu {
        position: fixed;
        top: 80px; /* Position below the fixed hamburger button */
        right: -320px; /* Start off-screen to the right */
        width: 280px; /* Fixed width instead of 100% */
        height: auto; /* Auto height instead of 100vh */
        max-height: calc(100vh - 100px); /* Max height with padding for fixed button */
        background: linear-gradient(to bottom, rgba(90, 120, 92, 0.95), rgba(74, 104, 76, 0.95));
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Align to top instead of center */
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 9998; /* Below hamburger (99999) but above floating buttons (500) */
        padding: 15px 0; /* Reduced vertical padding for compact fit */
        margin: 0;
        border-radius: 0 0 0 15px; /* Rounded bottom-left corner */
        box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
        overflow-y: auto; /* Allow scrolling if content overflows */
    }

    .nav-menu.active {
        right: 0; /* Show menu when active */
    }

    .nav-menu li {
        display: block;
        margin: 8px 0; /* Further reduced margin for compact fit */
        opacity: 0;
        transform: translateY(-20px); /* Slide down animation instead of from left */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animation for menu items */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.4s; }

    .nav-menu li a {
        font-size: 1.2em; /* Further reduced font size for compact design */
        padding: 10px 18px; /* Further reduced padding */
        border-radius: 8px;
        transition: all 0.3s ease;
        display: block;
        width: 170px; /* Slightly reduced width */
        text-align: center;
    }

    .nav-menu li a:hover {
        background-color: rgba(234, 230, 222, 0.1);
        transform: scale(1.05);
    }

    .nav-menu li a::after {
        display: none; /* Hide underline animation on mobile */
    }
    
    /* Mobile WhatsApp Link Styling */
    .mobile-whatsapp-link {
        display: block !important;
        margin-top: 5px !important;
        padding-top: 8px;
        border-top: 1px solid rgba(234, 230, 222, 0.2);
    }
    
    .mobile-whatsapp-link a {
        color: #25D366 !important;
        font-size: 0.95em !important;
        font-weight: 500 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        transition: all 0.3s ease !important;
        width: 160px !important;
        text-align: center !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        background: rgba(37, 211, 102, 0.1) !important;
    }
    
    .mobile-whatsapp-link a:hover {
        background: rgba(37, 211, 102, 0.2) !important;
        transform: scale(1.02) !important;
        color: #128C7E !important;
    }
    
    .mobile-whatsapp-link a i {
        font-size: 1em !important;
    }
}

/* Tablet adjustments */
@media (max-width: 992px) and (min-width: 769px) {
    .nav-menu li {
        margin: 0 12px; /* Reduce spacing on tablets */
    }
    
    .nav-menu li a {
        font-size: 1em; /* Slightly smaller font on tablets */
    }
}

/* Additional mobile adjustments for very small screens */
@media (max-width: 480px) {
    .mobile-menu-toggle {
        top: 15px !important;
        right: 15px !important;
        padding: 10px !important;
        z-index: 99999 !important;
        position: fixed !important;
        display: flex !important;
    }
    
    .nav-menu {
        top: 70px;
        width: calc(100vw - 30px);
        right: -100%;
        border-radius: 15px 0 0 15px;
    }
    
    .nav-menu.active {
        right: 0;
    }
}

/* Sections - General Styling */
section {
    padding: 60px 20px;
    text-align: center;
    opacity: 0; /* Initially hidden for fade-in animation */
    /* transform: translateY(20px); */ /* REMOVED: Conflicts with background-attachment: fixed */
    transition: opacity 0.6s ease-out; /* REMOVED: transform from transition */
}

section.visible {
    opacity: 1;
    /* transform: translateY(0); */ /* REMOVED: Conflicts with background-attachment: fixed */
}

section h2, section h3 {
    margin-bottom: 30px; /* Increased margin */
    color: #3E5C50; /* Dark Green for section titles */
    font-size: 2.3em;
    font-weight: 600;
}

section h3 {
    font-size: 1.9em;
}

/* Hero Section */
.hero {
    position: relative;
    /* background-image: linear-gradient(rgba(62, 92, 80, 0.5), rgba(90, 120, 92, 0.5)), url('hero.png'); */ /* Now set by JS */
    background-size: cover;
    background-position: center center; /* Initial position, Y will be adjusted by JS */
    /* background-attachment: fixed; */ /* Changed to scroll (default) for JS parallax */
    color: #FFFFFF;
    padding: 100px 0; /* Reverted bottom padding */
    overflow: hidden; /* Reverted to hidden */
    /* z-index: 1; -- Simplified z-index, default stacking should be fine */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 60, 50, 0.2);
    z-index: 1; /* Simplified z-index */
}

.hero-content {
    position: relative;
    z-index: 2; /* Simplified z-index */
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease-out;
}

/* Added transition for opacity */
#hero-main-title,
#hero-main-description {
    transition: opacity 0.5s ease-in-out;
}

.hero p {
    font-size: 1.25em;
    margin-bottom: 25px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: #F0F0F0; /* Light grey/off-white */
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: backwards;
}

.hero p:first-of-type { /* For the MD qualification line */
    font-size: 1.4em;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.hero p i {
    margin-right: 10px;
}

.cta-button {
    display: inline-block;
    /* background: #8A8C6A; */ /* Beige/Olive from logo - Old solid color */
    background: linear-gradient(to bottom right, #9A9C7A, #7A7C5A); /* Gradient for CTA button */
    color: #FFFFFF;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(40, 60, 50, 0.2);
    animation: pulse-olive 2s infinite ease-in-out, fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: backwards;
}

.cta-button:hover, .cta-button:focus {
    /* background: #797b5f; */ /* Darker shade of Beige/Olive - Old solid color */
    background: linear-gradient(to bottom right, #A0A280, #808260); /* Darker gradient on hover */
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 8px 25px rgba(121, 123, 95, 0.4);
}

/* About Section */
.about-section {
    /* background-color: #FFFFFF; */ /* Old solid white */
    background: linear-gradient(to bottom, #FFFFFF, #FDFBF7); /* Subtle white to very light cream/off-white */
    padding: 70px 0; /* Reverted top padding */
    border-bottom: 1px solid #D8D2C5;
    position: relative; 
    /* z-index: 2; -- Simplified z-index */
}

.about-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: flex-start; /* Change to flex-start for sticky to work well with top value */
    gap: 40px; /* Space between image and text */
}

.about-image {
    flex: 1 1 300px; /* Flex properties for responsiveness */
    max-width: 350px; /* Max width for the image container */
    margin: 0 auto; /* Center image on smaller screens when stacked */
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 90px; /* Adjust this value: (nav height + desired margin) e.g., 70px + 20px */
    align-self: flex-start; /* Ensures it sticks at the top of its flex line */
    height: fit-content; /* Important for sticky to not cause unexpected height issues with flex parent */
}

/* Remove sticky positioning on mobile */
@media (max-width: 768px) {
    .about-image {
        position: static;
        margin-bottom: 30px;
    }
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(62, 92, 80, 0.15);
    border: 3px solid #EAE6DE;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition for hover */
}

.about-image img:hover {
    transform: scale(1.03); /* Slight scale up */
    box-shadow: 0 12px 28px rgba(62, 92, 80, 0.2); /* Enhanced shadow */
}

.about-text {
    flex: 2 1 500px; /* Text takes more space */
    text-align: left;
}

.about-text h3 {
    font-size: 1.7em;
    color: #3E5C50; /* Dark Green */
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #4A4A4A; /* Darker grey for readability */
    margin-bottom: 15px;
}

.about-text h4 {
    font-size: 1.3em;
    color: #3E5C50;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-text ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    margin-bottom: 25px;
}

.about-text ul li {
    font-size: 1.05em;
    color: #4A4A4A;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px; /* Space for custom bullet */
}

.about-text ul li::before {
    content: '\f00c'; /* FontAwesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900; /* Required for solid icons */
    color: #5A785C; /* Lighter Green for icon */
    position: absolute;
    left: 0;
    top: 5px; /* Adjust vertical alignment */
}

.vision-quote {
    background-color: #EAE6DE; /* Cream background */
    padding: 20px 25px;
    margin-top: 30px;
    border-left: 5px solid #5A785C; /* Lighter Green accent */
    border-radius: 5px;
}

.vision-quote p {
    font-size: 1.1em;
    font-style: italic;
    color: #3E5C50; /* Dark Green text */
    margin-bottom: 0; /* Reset margin for paragraph inside blockquote */
    line-height: 1.7;
}

.vision-quote p i {
    font-size: 0.9em;
    color: #5A785C; /* Lighter Green for quote icons */
}

.vision-quote p i.fa-quote-left {
    margin-right: 8px;
}

.vision-quote p i.fa-quote-right {
    margin-left: 8px;
}

/* Why Choose Us Section */
.why-choose-us-section {
    background: linear-gradient(to bottom, #FDFBF7, #F9F8F6); /* Subtle gradient from light cream to even lighter */
    padding: 70px 0;
    border-bottom: 1px solid #D8D2C5;
    perspective: 1500px; /* Increased perspective for more pronounced 3D flip */
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 40px;
    /* perspective: 1000px; */ /* Perspective moved to parent section */
}

.why-choose-item {
    background-color: #FFFFFF; /* White background for items */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    /* transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); */ /* Replaced by animation */
    will-change: transform, opacity; /* Hint for browser optimization */
    transform-style: preserve-3d; /* Added for flip animation */
    opacity: 0; /* Start hidden for animation */
    transform: rotateY(-90deg); /* Start rotated for flip-in */
}

/* Remove default hover transform if it interferes with the flip-in aesthetic, or adjust as needed */
.why-choose-item:hover {
    /* transform: translateY(-10px) scale(1.03) rotateY(5deg); */ /* Commented out old hover, can be restored/modified post-animation */
    transform: translateY(-10px) scale(1.03); /* Simpler lift on hover after flip */
    box-shadow: 0 12px 30px rgba(62, 92, 80, 0.15); /* Enhanced shadow */
}

.why-choose-item.animated-flip {
    animation-name: flipInY;
    animation-duration: 0.7s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards; /* Keep final state of animation */
}

.why-choose-icon {
    font-size: 2.8em;
    color: #5A785C; /* Lighter Green */
    margin-bottom: 20px;
    line-height: 1.7;
}

.why-choose-item h3 {
    font-size: 1.4em;
    color: #3E5C50; /* Dark Green */
    margin-bottom: 10px;
    font-weight: 600;
}

.why-choose-item p {
    font-size: 0.95em;
    color: #4A4A4A;
    line-height: 1.7;
}

/* Statistics Section */
.statistics-section {
    background: linear-gradient(to bottom, #F9F8F6, #F4F7F6); /* Light gradient, similar to why-choose-us but distinct */
    padding: 70px 0;
    border-bottom: 1px solid #D8D2C5;
    text-align: center;
}

/* Optional: If you added a title and subtitle, style them similar to other sections */
.statistics-section h2 {
    margin-bottom: 15px; 
    color: #3E5C50; 
    font-size: 2.3em;
    font-weight: 600;
}

.statistics-section .section-subtitle {
    font-size: 1.2em;
    color: #5A785C;
    margin-bottom: 40px;
    font-style: italic;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid for stats */
    gap: 30px;
    margin-top: 20px; /* Adjust if you have a title/subtitle */
}

.stat-item {
    background-color: #FFFFFF; /* White background for items */
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(62, 92, 80, 0.1);
}

.stat-icon {
    font-size: 2.5em;
    color: #3E5C50; /* Dark Green for icons */
    margin-bottom: 15px;
    display: block; /* Ensure it takes full width for centering */
}

.stat-number {
    font-size: 2.8em;
    font-weight: 700;
    color: #5A785C; /* Lighter Green for numbers */
    display: block;
    margin-bottom: 5px;
    line-height: 1.2;
}

.stat-label {
    font-size: 1em;
    color: #4A4A4A; /* Darker grey for labels */
    font-weight: 500;
}

/* Services Section - Modern Card Style */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 70px 0;
    border-bottom: 1px solid #D8D2C5;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    perspective: 1000px;
}

.service-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.service-card[data-service="general"] .service-card-background {
    background-image: linear-gradient(45deg, rgba(62, 92, 80, 0.5), rgba(90, 120, 92, 0)), 
                      url('images/1.jpg');
}

.service-card[data-service="hair"] .service-card-background {
    background-image: linear-gradient(45deg, rgba(138, 140, 106, 0.5), rgba(90, 120, 92, 0)), 
                      url('images/2.png');
}

.service-card[data-service="cosmetic"] .service-card-background {
    background-image: linear-gradient(45deg, rgba(186, 85, 211, 0.5), rgba(147, 51, 234, 0)), 
                      url('images/3.webp');
}

.service-card[data-service="procedural"] .service-card-background {
    background-image: linear-gradient(45deg, rgba(220, 53, 69, 0.5), rgba(108, 117, 125, 0)), 
                      url('images/4.webp');
}

.service-card[data-service="specialty"] .service-card-background {
    background-image: linear-gradient(45deg, rgba(23, 162, 184, 0.5), rgba(52, 144, 220, 0)), 
                      url('images/5.jpg');
}

.service-card[data-service="telemedicine"] .service-card-background {
    background-image: linear-gradient(45deg, rgba(40, 167, 69, 0.5), rgba(25, 135, 84, 0)), 
                      url('images/6.jpg');
}

.service-card:hover .service-card-background {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: opacity 0.4s ease;
}

.service-card:hover .service-card-overlay {
    opacity: 0.9;
}

.service-card-content {
    position: relative;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    color: white;
}

.service-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-icon {
    font-size: 3em;
    margin-bottom: 15px;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    opacity: 1;
}

.service-title {
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.service-brief {
    font-size: 1em;
    opacity: 0.9;
    margin-bottom: 0;
    transition: opacity 0.3s ease;
}

.service-details {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.service-card:hover .service-details {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.service-card:hover .service-header {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.service-details h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 8px;
    flex-shrink: 0;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.service-details ul::-webkit-scrollbar {
    width: 4px;
}

.service-details ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.service-details ul::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.service-details li {
    font-size: 0.95em;
    margin-bottom: 10px;
    padding: 8px 0 8px 20px;
    position: relative;
    line-height: 1.5;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.service-details li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.service-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
}

.service-close-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 0.8em;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        height: 350px;
    }
    
    .service-card-content {
        padding: 25px;
    }
    
    .service-icon {
        font-size: 2.5em;
    }
    
    .service-title {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .service-card {
        height: 300px;
    }
    
    .service-card-content {
        padding: 20px;
    }
    
    .service-icon {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    .service-title {
        font-size: 1.2em;
    }
    
    .service-brief {
        font-size: 0.9em;
    }
}

/* Gallery Section - Slider Style */
.gallery-section {
    /* background-color: #FFFFFF; */ /* White background, consistent with About section - Old solid white */
    background: linear-gradient(to bottom, #FFFFFF, #FDFBF7); /* Subtle white to very light cream/off-white */
    padding: 70px 0;
    border-bottom: 1px solid #D8D2C5;
}

.gallery-section h2 {
    margin-bottom: 15px; /* Align with contact section subtitle spacing */
}

.gallery-section .section-subtitle {
    margin-bottom: 40px; /* Align with contact section subtitle spacing */
}

.gallery-slider-container {
    position: relative;
    max-width: 100%; /* Allow it to be wide to show side slides */
    margin: 0 auto;
    padding: 0 40px; /* Space for nav buttons if they are outside wrapper */
    overflow: hidden; /* Crucial for the effect */
    perspective: 1500px; /* For 3D transforms on children */
    perspective-origin: center center;
}

.gallery-slider-wrapper {
    display: flex;
    align-items: center; /* Vertically align items if heights vary */
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother transition */
    padding: 20px 0; /* Padding for perspective effects */
}

.gallery-item {
    flex: 0 0 60%; /* Base width of slides, e.g. 60% of container */
    max-width: 400px; /* Max width for a single slide */
    height: auto; /* Maintain aspect ratio of images */
    margin: 0 10px; /* Spacing between items */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(62, 92, 80, 0.1);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease, z-index 0s 0.3s;
    opacity: 0.4;
    transform: scale(0.7) rotateY(0deg); /* Default state for non-visible items */
    position: relative; /* For z-index context */
    z-index: 1;
    transform-origin: center center;
}

.gallery-item img {
    cursor: pointer; /* Add pointer cursor to gallery images */
    width: 100%;
    height: 250px; /* Consistent height */
    object-fit: cover;
    display: block;
}

/* States for slides */
.gallery-item.gallery-active-slide {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(62, 92, 80, 0.2);
}

.gallery-item.gallery-prev-slide {
    transform: translateX(-35%) scale(0.8) rotateY(25deg);
    opacity: 0.7;
    z-index: 2;
}

.gallery-item.gallery-next-slide {
    transform: translateX(35%) scale(0.8) rotateY(-25deg);
    opacity: 0.7;
    z-index: 2;
}

.gallery-item.gallery-far-prev-slide {
    transform: translateX(-60%) scale(0.6) rotateY(35deg);
    opacity: 0.3;
    z-index: 0;
}
.gallery-item.gallery-far-next-slide {
    transform: translateX(60%) scale(0.6) rotateY(-35deg);
    opacity: 0.3;
    z-index: 0;
}


/* Slider Navigation Buttons for Gallery */
.gallery-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(62, 92, 80, 0.5);
    color: #EAE6DE;
    border: none;
    padding: 12px 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10; /* Above slides */
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.gallery-slider-nav:hover {
    background-color: #3E5C50;
    opacity: 1;
}

.gallery-slider-nav.gallery-prev {
    left: 10px; /* Adjust if container has padding */
}

.gallery-slider-nav.gallery-next {
    right: 10px; /* Adjust if container has padding */
}

@media (max-width: 768px) {
    .gallery-item {
        flex-basis: 70%; /* Larger central item on mobile */
        max-width: 300px;
        margin: 0 5px;
    }
    .gallery-item img {
        height: 200px;
    }
    .gallery-item.gallery-prev-slide {
        transform: translateX(-25%) scale(0.7) rotateY(20deg);
    }
    .gallery-item.gallery-next-slide {
        transform: translateX(25%) scale(0.7) rotateY(-20deg);
    }
    .gallery-slider-nav {
        padding: 10px 12px;
    }
     .gallery-slider-container {
        padding: 0 10px; /* Less padding on mobile */
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex-basis: 80%; /* Even larger central item on small mobile */
        max-width: calc(100% - 20px); /* Ensure it fits with minimal margin */
    }
    .gallery-item img {
        height: 180px;
    }
    .gallery-item.gallery-prev-slide {
        transform: translateX(-15%) scale(0.65) rotateY(15deg);
        opacity: 0.5;
    }
    .gallery-item.gallery-next-slide {
        transform: translateX(15%) scale(0.65) rotateY(-15deg);
        opacity: 0.5;
    }
}

/* Before & After Section */
.before-after-section {
    background: linear-gradient(to bottom, #FDFBF7, #FFFFFF); /* Subtle gradient */
    padding: 70px 0;
    border-bottom: 1px solid #D8D2C5;
    text-align: center;
}

.before-after-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.image-tile {
    position: relative;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(62, 92, 80, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(62, 92, 80, 0.15);
}

.image-tile img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.tile-label {
    position: absolute;
    top: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.before-label {
    left: 15px;
    background: rgba(229, 62, 62, 0.9);
}

.after-label {
    right: 15px;
    background: rgba(34, 197, 94, 0.9);
}

.treatment-description {
    padding: 30px 0;
    text-align: center;
}

.treatment-description h4 {
    font-size: 1.3em;
    color: #3E5C50;
    margin-bottom: 10px;
    font-weight: 600;
}

.treatment-description p {
    font-size: 1em;
    color: #4A4A4A;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.before-after-note {
    margin-top: 40px;
    padding: 20px;
    background: rgba(90, 120, 92, 0.05);
    border-left: 4px solid #5A785C;
    border-radius: 0 8px 8px 0;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.before-after-note p {
    font-size: 0.95em;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.before-after-note i {
    color: #5A785C;
    margin-right: 8px;
}

/* Responsive Design for Before/After */
@media (max-width: 768px) {
    .before-after-tiles {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .image-tile img {
        height: 250px;
    }
    
    .treatment-description {
        padding: 20px 0;
    }
    
    .before-after-note {
        margin-top: 30px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .image-tile img {
        height: 220px;
    }
    
    .tile-label {
        font-size: 0.8em;
        padding: 6px 12px;
    }
}

/* Contact & Map Section - Updated Layout */
.contact-map-section {
    padding: 120px 0 0 0; /* Increased top padding for angled divider */
    /* background-color: #EAE6DE; */ /* Old solid color */
    background: linear-gradient(to bottom, #EAE6DE, #F5F3EF); /* Subtle gradient for contact section */
    position: relative; 
    overflow: visible; 
    z-index: 1;
}

.contact-map-section::before {
    content: '';
    position: absolute;
    top: -1px; 
    left: 0;
    width: 100%;
    height: 100px; 
    /* background-color: #F4F7F6; */ /* Match previous section (health-tips) background if it was solid */
    /* To match the gradient end of health-tips (which ends in #FFFFFF), or make it consistent */
    background-color: #FFFFFF; /* Assuming health tips ends in white, or use the specific end color of health-tips gradient */
    transform: skewY(-3deg); 
    transform-origin: top left;
    z-index: 0; 
}

.contact-layout-flex {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    gap: 30px; /* Space between map and info columns */
    align-items: flex-start; /* Align items to the top */
    padding-bottom: 70px; /* Bottom padding for the section, moved from grid */
}

.contact-map-column {
    flex: 1 1 45%; /* Map column takes up roughly 45% */
    min-width: 300px; /* Minimum width before stacking */
}

.contact-info-column {
    flex: 1 1 50%; /* Info column takes up roughly 50% */
    min-width: 300px; /* Minimum width before stacking */
}

.map-container {
    width: 100%; /* Map container takes full width of its column */
    /* max-width: 1000px; */ /* Removed max-width, column handles it */
    /* margin: 0 auto 40px auto; */ /* Removed margin, flex gap handles spacing */
    margin-bottom: 0; /* Reset bottom margin as column padding/gap handles it */
    border-radius: 10px;
    overflow: hidden; 
    box-shadow: 0 8px 25px rgba(62, 92, 80, 0.15);
    height: 450px; /* Maintain height for the map iframe container */
}

.map-container iframe {
    display: block; 
    width: 100%;
    height: 100%; /* Iframe takes full height of map-container */
}

.contact-details-timings-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for info cards */
    gap: 30px;
    /* max-width: 1000px; */ /* Removed, column handles width */
    /* margin: 0 auto; */ /* Removed, column handles alignment */
    /* padding-bottom: 70px; */ /* Moved to .contact-layout-flex */
}

/* On larger screens, allow two columns for contact/timing cards if info column is wide enough */
@media (min-width: 992px) { /* Adjust breakpoint as needed */
    .contact-info-column .contact-details-timings-grid {
        /* Only use two columns if the info column itself is sufficiently wide */
        /* This example assumes the info column will be wide enough on screens > 992px for two cards side-by-side */
         grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.contact-info-block.card,
.timings-info-block.card,
.address-info-block.card {
    /* background-color: #FFFFFF; */ 
    background: linear-gradient(to bottom, #FFFFFF, #F9F8F6); /* Subtle white to very light cream/off-white */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(62, 92, 80, 0.08);
    border: 1px solid #E0E0E0;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added for hover effect */
}

.contact-info-block.card:hover,
.timings-info-block.card:hover,
.address-info-block.card:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 10px 25px rgba(62, 92, 80, 0.12); /* Enhanced shadow */
}

/* Address and Timings Column */
.address-timings-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-block h3,
.timings-info-block h3,
.address-info-block h3 {
    font-size: 1.5em;
    color: #3E5C50; /* Dark Green */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info-block h3 i,
.timings-info-block h3 i,
.address-info-block h3 i {
    font-size: 1.2em;
    color: #5A785C; /* Lighter Green */
    margin-right: 12px;
    width: 22px;
    text-align: center;
}

.contact-info-block p,
.timings-info-block p,
.address-info-block p {
    font-size: 1.05em;
    color: #4A4A4A;
    margin-bottom: 10px;
    line-height: 1.7;
}

.contact-info-block p a {
    color: #5A785C;
    text-decoration: none;
    font-weight: 500;
}

.contact-info-block p a:hover {
    text-decoration: underline;
    color: #3E5C50;
}

.timings-info-block p strong {
    color: #3E5C50;
}

/* Appointment Form Styling */
.appointment-form-container {
    background: linear-gradient(to bottom, #FFFFFF, #F9F8F6);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(62, 92, 80, 0.1);
    border: 1px solid #E0E0E0;
}

.appointment-form-container h3 {
    color: #3E5C50;
    font-size: 1.5em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.appointment-form-container h3 i {
    color: #5A785C;
    font-size: 1.2em;
}

.form-subtitle {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 25px;
    line-height: 1.5;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #3E5C50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #5A785C;
    font-size: 1em;
    width: 16px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5A785C;
    box-shadow: 0 0 0 3px rgba(90, 120, 92, 0.1);
    background-color: #FAFAFA;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.form-group select optgroup {
    font-weight: 600;
    color: #3E5C50;
    background-color: #F5F3EF;
}

.form-group select option {
    padding: 8px 12px;
    font-weight: normal;
    color: #4A4A4A;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.submit-appointment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    border: none;
    font-size: 1.1em;
    font-weight: 600;
    font-family: inherit;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
}

.submit-appointment-btn:hover {
    background: linear-gradient(135deg, #20B954, #0E7A6B);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.submit-appointment-btn:active {
    transform: translateY(0);
}

.submit-appointment-btn i {
    font-size: 1.3em;
    animation: pulse 2s infinite;
}

.submit-appointment-btn span {
    font-size: 1em;
    letter-spacing: 0.5px;
}

/* WhatsApp Icon Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #27ae60;
}

/* Responsive Form Design */
@media (max-width: 768px) {
    .appointment-form-container {
        padding: 25px 20px;
    }
    
    .appointment-form-container h3 {
        font-size: 1.3em;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95em;
    }
    
    .submit-appointment-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .submit-appointment-btn i {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .appointment-form-container {
        padding: 20px 15px;
    }
    
    .form-group label {
        font-size: 0.9em;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #F4F7F6; /* Consistent with other secondary sections */
    padding: 70px 0;
    position: relative; /* For slider nav positioning */
    /* border-top: 1px solid #D8D2C5; Add if needed after contact section */
}

.testimonial-slider-container {
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Crucial for slider effect */
    border-radius: 10px; /* Optional: if you want rounded corners for the slider area */
}

.testimonial-slider-wrapper {
    display: flex; /* Aligns slides in a row */
    transition: transform 0.5s ease-in-out; /* Animation for sliding */
    /* Width will be calculated by JS or set to a large % if slides have fixed width */
}

.testimonial-slide.card {
    min-width: 100%; 
    box-sizing: border-box; 
    /* background-color: #FFFFFF; */ /* Old solid white */
    background: linear-gradient(to bottom, #FFFFFF, #F9F8F6); /* Subtle white to very light cream/off-white, matching contact cards */
    padding: 35px 60px; /* Increased L/R padding to make space for internal buttons */
    border-radius: 8px; 
    text-align: center;
    opacity: 0; 
    animation: fadeIn 0.5s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added for hover effect */
}

.testimonial-slide.card:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Enhanced shadow, using a more generic shadow color */
}

/* Entrance animation for initial visible slide */
.testimonial-slide.card.active-slide {
    opacity: 1;
}

.testimonial-text p {
    font-size: 1.15em; /* Slightly larger for emphasis */
    font-style: italic;
    color: #4A4A4A;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-text p i {
    color: #8A8C6A; /* Olive/Beige for quote icons */
    font-size: 0.9em;
}

.testimonial-text p i.fa-quote-left {
    margin-right: 10px;
}

.testimonial-text p i.fa-quote-right {
    margin-left: 10px;
}

.testimonial-author {
    font-size: 1.05em;
    font-weight: 600;
    color: #3E5C50; /* Dark Green */
}

.testimonial-note {
    font-size: 0.85em;
    font-style: italic;
    color: #8A8C6A; /* Olive/Beige accent */
    margin-top: 5px;
    margin-bottom: 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(62, 92, 80, 0.4); /* Slightly more transparent */
    color: #EAE6DE;
    border: none;
    padding: 8px 10px; /* Slightly smaller padding */
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
    width: 36px; /* Slightly smaller */
    height: 36px; /* Slightly smaller */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    opacity: 0.7; /* Less prominent by default */
}

.slider-nav:hover {
    background-color: #3E5C50;
    transform: translateY(-50%) scale(1.1);
    opacity: 1; /* Fully visible on hover */
}

.slider-nav.prev {
    left: 15px; /* Positioned inside */
}

.slider-nav.next {
    right: 15px; /* Positioned inside */
}

/* Responsive adjustments for slider navigation buttons */
@media (max-width: 900px) { 
    /* Keep previous adjustments, or fine-tune if needed */
    /* .slider-nav.prev {
        left: 10px;
    }
    .slider-nav.next {
        right: 10px;
    } */
}

@media (max-width: 480px) {
    .testimonial-slide.card {
        padding: 25px 45px; /* Adjust L/R padding for smaller screens with internal buttons */
    }
    .testimonial-text p {
        font-size: 1.05em;
    }
    .slider-nav {
        padding: 8px 10px;
        width: 35px;
        height: 35px;
    }
    /* .slider-nav.prev {
        left: 5px;
    }
    .slider-nav.next {
        right: 5px;
    } */
}

/* Footer */
footer {
    /* background: linear-gradient(to bottom, #3E5C50, #2E4C30); */ /* Dark green to darker green gradient - Old solid */
    background: linear-gradient(to bottom, rgba(62, 92, 80, 0.75), rgba(46, 76, 48, 0.75)); /* Gradient with transparency */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border-top: 1px solid rgba(234, 230, 222, 0.15); /* Subtle border for glass edge */
    color: #D8D2C5; /* Slightly softer cream for better readability on dark green */
    text-align: left; /* Change default text align for columns */
    padding: 60px 0 20px 0; /* Increased top padding, reduced bottom for footer-bottom bar */
    margin-top: 0; 
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    gap: 40px; /* Space between columns */
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.3em;
    color: #FFFFFF; /* White for column titles */
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after { /* Underline for column titles */
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #8A8C6A; /* Beige/Olive accent for underline */
}

.footer-logo {
    max-height: 80px; /* Adjust as needed */
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9em;
    line-height: 1.7;
    margin-bottom: 0;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #D8D2C5;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links ul li a:hover {
    color: #FFFFFF; /* Brighter white on hover */
    padding-left: 5px; /* Slight indent on hover */
}

.footer-contact p, .footer-contact h5 {
    font-size: 0.95em;
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-contact p i {
    margin-right: 10px;
    color: #8A8C6A; /* Beige/Olive accent for icons */
    width: 20px; /* Ensure consistent icon spacing */
    text-align: center;
}

.footer-contact a {
    color: #D8D2C5;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-contact h5 {
    font-size: 1em;
    color: #FFFFFF;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(234, 230, 222, 0.15); /* Subtle separator line */
    font-size: 0.9em;
    color: #BDC3C7; /* Lighter shade of cream/grey */
}

/* Responsive adjustments for footer columns if needed, 
   grid-template-columns already handles basic responsiveness by stacking. 
   Further tweaks for text alignment or spacing can be added here. */
@media (max-width: 768px) {
    footer {
        text-align: center; /* Center text for stacked columns on mobile */
    }
    .footer-column h4::after { /* Center the underline for column titles on mobile */
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-contact p i {
        display: block; /* Stack icon above text on mobile for contact info */
        margin: 0 auto 5px auto; /* Center icon */
    }
    .footer-contact p {
        text-align: center;
    }
}

/* Lightbox Styles */
.lightbox-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Above everything else */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if content is larger than a very small screen */
    background-color: rgba(0,0,0,0.9); /* Black with 90% opacity */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.lightbox-overlay.visible {
    display: block;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85vh; /* Max height relative to viewport height */
    animation-name: lightboxZoom;
    animation-duration: 0.4s;
    border-radius: 5px;
}

/* Optional: Caption styling if used 
#lightboxCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
}
*/

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Animation for lightbox image */
@keyframes lightboxZoom {
    from {transform: scale(0.8)}
    to {transform: scale(1)}
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    left: 20px;
    top: 450px; /* Moved below header area */
    z-index: 1000; /* Lower than hamburger menu (99999) */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 60px;
    height: 60px;
    overflow: hidden;
    position: relative;
}

.floating-btn i {
    font-size: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.floating-btn .btn-text {
    position: absolute;
    left: 75px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    pointer-events: none;
}

/* Call Button Styling */
.call-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.call-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
}

.call-btn:hover .btn-text {
    opacity: 1;
    transform: translateX(0);
}

.call-btn:hover i {
    transform: rotate(15deg);
}

/* WhatsApp Button Styling */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20B954, #0E7A6B);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover .btn-text {
    opacity: 1;
    transform: translateX(0);
}

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

/* Floating Button Animations */
.floating-btn {
    animation: floatPulse 3s ease-in-out infinite;
}

.call-btn {
    animation-delay: 0s;
}

.whatsapp-btn {
    animation-delay: 1.5s;
}

@keyframes floatPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }
}

/* Mobile Responsive Design for Floating Buttons */
@media (max-width: 768px) {
    .floating-buttons {
        position: fixed;
        left: 15px;
        top: 380px; /* Moved below header for mobile */
        z-index: 500; /* Much lower than hamburger menu (99999) */
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        margin: 0;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 16px;
        position: static;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .floating-btn i {
        font-size: 20px;
    }
    
    .floating-btn .btn-text {
        display: none; /* Hide text labels on mobile */
    }
    
    .floating-btn:hover .btn-text {
        display: none; /* Keep text hidden even on hover */
    }
}

 @media (max-width: 480px) {
     .floating-buttons {
         left: 10px;
          /* Moved below header for small mobile */
         gap: 12px;
     }
     
     .floating-btn {
         width: 50px;
         height: 50px;
     }
     
     .floating-btn i {
         font-size: 18px;
     }
 }

 /* Ensure floating buttons don't interfere with mobile menu */
@media (max-width: 768px) {
    /* Remove this duplicate rule as it's already handled above */
}

 /* Special positioning adjustments for very small screens */
 @media (max-width: 320px) {
     .floating-buttons {
         left: 5px;
         top: 320px; /* Moved below header for very small screens */
         gap: 10px;
     }
     
     .floating-btn {
         width: 45px;
         height: 45px;
     }
     
     .floating-btn i {
         font-size: 16px;
     }
 }

 /* FAQ Section - Modern Dropdown Style */
 .faq-section {
     background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
     padding: 70px 0;
 }

 .faq-accordion-container {
     max-width: 900px;
     margin: 0 auto;
     background: transparent;
     border: none;
     border-radius: 0;
     overflow: visible;
     box-shadow: none;
 }

 .faq-accordion-container .accordion-item {
     background: #ffffff;
     border: 1px solid rgba(62, 92, 80, 0.1);
     border-radius: 12px;
     margin-bottom: 20px;
     overflow: hidden;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
     transition: all 0.3s ease;
 }

 .faq-accordion-container .accordion-item:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 25px rgba(62, 92, 80, 0.1);
 }

 .faq-accordion-container .accordion-item:last-child {
     border-bottom: 1px solid rgba(62, 92, 80, 0.1);
 }

 .faq-accordion-container .accordion-header {
     background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
     color: #3E5C50;
     cursor: pointer;
     padding: 25px 30px;
     width: 100%;
     text-align: left;
     border: none;
     outline: none;
     font-size: 1.2em;
     font-weight: 600;
     display: flex;
     align-items: center;
     justify-content: space-between;
     transition: all 0.3s ease;
     position: relative;
 }

 .faq-accordion-container .accordion-header:hover {
     background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
 }

 .faq-accordion-container .accordion-header::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 30px;
     right: 30px;
     height: 1px;
     background: linear-gradient(90deg, transparent 0%, rgba(62, 92, 80, 0.2) 50%, transparent 100%);
     transition: opacity 0.3s ease;
 }

 .faq-accordion-container .accordion-item.active .accordion-header::after {
     opacity: 0;
 }

 .faq-accordion-container .accordion-header i:first-child {
     font-size: 1.3em;
     color: #8A8C6A;
     margin-right: 15px;
     transition: transform 0.3s ease;
 }

 .faq-accordion-container .accordion-item.active .accordion-header i:first-child {
     transform: scale(1.1);
     color: #5A785C;
 }

 .faq-accordion-container .accordion-icon {
     font-size: 1.1em;
     transition: transform 0.4s ease;
     color: #5A785C;
 }

 .faq-accordion-container .accordion-item.active .accordion-header {
     background: linear-gradient(135deg, #EAE6DE 0%, #F5F3EF 100%);
     color: #3E5C50;
 }

 .faq-accordion-container .accordion-item.active .accordion-icon {
     transform: rotate(180deg);
     color: #3E5C50;
 }

 .faq-accordion-container .accordion-content {
     background: #ffffff;
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
     opacity: 0;
 }

 .faq-accordion-container .accordion-item.active .accordion-content {
     max-height: 500px;
     opacity: 1;
 }

 .faq-accordion-container .accordion-inner-content {
     padding: 0 30px 30px 30px;
     animation: fadeInUp 0.5s ease-out;
 }

 .faq-accordion-container .accordion-content p {
     font-size: 1em;
     color: #4A4A4A;
     line-height: 1.7;
     margin: 0;
 }

 .faq-accordion-container .accordion-content a {
     color: #5A785C;
     text-decoration: none;
     font-weight: 500;
     transition: color 0.3s ease;
 }

 .faq-accordion-container .accordion-content a:hover {
     color: #3E5C50;
     text-decoration: underline;
 }

 /* Enhanced FAQ Animation */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(10px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Mobile FAQ Adjustments */
 @media (max-width: 768px) {
     .faq-accordion-container .accordion-header {
         padding: 20px 25px;
         font-size: 1.1em;
     }
     
     .faq-accordion-container .accordion-header i:first-child {
         font-size: 1.2em;
         margin-right: 12px;
     }
     
     .faq-accordion-container .accordion-inner-content {
         padding: 0 25px 25px 25px;
     }
     
     .faq-accordion-container .accordion-header::after {
         left: 25px;
         right: 25px;
     }
 }

 @media (max-width: 480px) {
     .faq-accordion-container .accordion-header {
         padding: 18px 20px;
         font-size: 1em;
     }
     
     .faq-accordion-container .accordion-inner-content {
         padding: 0 20px 20px 20px;
     }
     
     .faq-accordion-container .accordion-header::after {
         left: 20px;
         right: 20px;
     }
 }

 /* Social Media Links - Clean Implementation */

 /* Footer Social Media Links */
 .social-media-links {
     display: flex;
     gap: 15px;
     margin-top: 15px;
     align-items: center;
 }

 .social-media-links a {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     text-decoration: none;
     transition: all 0.3s ease;
     text-align: center;
     line-height: 40px;
     font-size: 18px;
     color: white;
 }

 .social-media-links a.instagram {
     background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
 }

 .social-media-links a.facebook {
     background-color: #1877F2;
 }

 .social-media-links a:hover {
     transform: translateY(-3px) scale(1.1);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
 }

 /* Hero Section Social Links */
 .hero-social-links {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 15px;
     margin-top: 20px;
     animation: fadeInUp 1s ease-out 0.9s;
     animation-fill-mode: backwards;
 }

 .hero-social-links span {
     color: #EAE6DE;
     font-size: 1.1em;
     font-weight: 500;
     margin-right: 5px;
 }

 .hero-social-links a {
     width: 45px;
     height: 45px;
     border-radius: 50%;
     text-decoration: none;
     transition: all 0.3s ease;
     text-align: center;
     line-height: 45px;
     font-size: 20px;
     color: white;
 }

 .hero-social-links a.instagram {
     background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
 }

 .hero-social-links a.facebook {
     background-color: #1877F2;
 }

 .hero-social-links a:hover {
     transform: translateY(-5px) scale(1.15);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
 }

 /* Contact Section Social Links */
 .contact-social-links {
     display: flex;
     flex-direction: column;
     gap: 12px;
     margin-top: 10px;
 }

 .contact-social-links a {
     display: flex;
     align-items: center;
     padding: 10px 15px;
     border-radius: 8px;
     text-decoration: none;
     transition: all 0.3s ease;
     font-size: 1em;
     font-weight: 500;
     color: white;
 }

 .contact-social-links a.instagram {
     background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
 }

 .contact-social-links a.facebook {
     background-color: #1877F2;
 }

 .contact-social-links a:hover {
     transform: translateX(5px);
     box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
 }

 .contact-social-links a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Address Link Styling */
.address-link {
    color: #5A785C !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    display: inline-block;
    position: relative;
}

.address-link:hover {
    color: #3E5C50 !important;
    text-decoration: underline !important;
    transform: translateY(-1px);
}

.address-link:active {
    transform: translateY(0);
}

/* Special styling for footer address link */
.footer-contact .address-link {
    color: #D8D2C5 !important;
}

.footer-contact .address-link:hover {
    color: #FFFFFF !important;
    text-decoration: underline !important;
}



 /* Responsive Adjustments for Social Media */
 @media (max-width: 768px) {
     
     .hero-social-links {
         flex-wrap: wrap;
         gap: 12px;
     }
     
     .hero-social-links a {
         width: 40px;
         height: 40px;
         line-height: 40px;
         font-size: 18px;
     }
     
     .contact-social-links {
         flex-direction: row;
         flex-wrap: wrap;
         gap: 8px;
     }
     
     .contact-social-links a {
         flex: 1;
         min-width: 140px;
         justify-content: center;
         font-size: 0.9em;
     }
 }

 @media (max-width: 480px) {
     
     .hero-social-links span {
         font-size: 1em;
     }
     
     .social-media-links {
         justify-content: center;
     }
 }

 /* Health Tips Section - RESTORED */
 .health-tips-section {
     background: linear-gradient(to bottom, #FDFBF7, #FFFFFF); /* Subtle gradient, ending in white */
     padding: 70px 0;
     border-bottom: 1px solid #D8D2C5;
 }

 .health-tips-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid for tips */
     gap: 30px;
     margin-top: 40px;
 }

 .health-tip-card {
     background-color: #FFFFFF;
     padding: 30px;
     border-radius: 10px;
     box-shadow: 0 5px 20px rgba(0,0,0,0.08);
     text-align: left; /* Align text to left for readability */
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     display: flex; /* Use flexbox for better internal alignment */
     flex-direction: column; /* Stack icon, title, text vertically */
 }

 .health-tip-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 12px 30px rgba(62, 92, 80, 0.12);
 }

 .health-tip-icon {
     font-size: 2.5em;
     color: #5A785C; /* Lighter Green for icons */
     margin-bottom: 15px;
     width: 50px; /* Fixed width for icon container */
     height: 50px; /* Fixed height */
     background-color: #EAE6DE; /* Cream background for icon circle */
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     line-height: 1; /* Adjust line height for icon centering */
 }

 .health-tip-card h3 {
     font-size: 1.35em;
     color: #3E5C50; /* Dark Green */
     margin-bottom: 10px;
     font-weight: 600;
 }

 .health-tip-card p {
     font-size: 0.95em;
     color: #4A4A4A;
     line-height: 1.7;
     flex-grow: 1; /* Allow paragraph to take up remaining space if cards have varying text length */
 }

 /* Optional: Read more link styling if uncommented in HTML
 .health-tip-card .read-more-link {
     display: inline-block;
     margin-top: 15px;
     color: #5A785C;
     text-decoration: none;
     font-weight: bold;
 }
 .health-tip-card .read-more-link:hover {
     text-decoration: underline;
     color: #3E5C50;
 }
 */

 /* Keyframes for Animations */
 @keyframes fadeInDown {
     from {
         opacity: 0;
         transform: translateY(30px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }



 @keyframes hamburgerPulse {
     0%, 100% {
         box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(90, 120, 92, 0.4);
     }
     50% {
         box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2), 0 0 0 8px rgba(90, 120, 92, 0);
     }
 }

 @keyframes fadeInUpStaggered {
     from {
         opacity: 0;
         transform: translateY(30px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes zoomIn {
     from {
         opacity: 0;
         transform: scale(0.8);
     }
     to {
         opacity: 1;
         transform: scale(1);
     }
 }

 @keyframes flipInY {
     from {
         transform: perspective(1500px) rotateY(-90deg);
         opacity: 0;
     }
     to {
         transform: perspective(1500px) rotateY(0deg);
         opacity: 1;
     }
 }

