/* 
=============================================
   TABLE OF CONTENTS
=============================================
1. Variables and Reset
2. Typography
3. Buttons and Links
4. Layout and Containers
5. Header and Navigation
6. Hero Section
7. Section Components
8. Benefits Section
9. Facility Section
10. Services Section
11. Care Benefits Section
12. Getting Started & CTA Sections
13. About Us Section
14. Testimonials
15. Contact Section
16. Footer
17. Animations
18. Media Queries
19. Accessibility Enhancements
20. Performance Optimizations
=============================================
*/

/* 
=============================================
   1. Variables and Reset
=============================================
*/
:root {
    /* Primary Colors - Teal/Turquoise */
    --primary: #1db5a0;
    --primary-dark: #159b89;
    --primary-light: #5dd4c3;
    --primary-rgb: 29, 181, 160;
    
    /* Secondary Colors - Coral/Salmon */
    --secondary: #e88873;
    --secondary-dark: #d96f59;
    --secondary-light: #f2a897;
    --secondary-rgb: 232, 136, 115;
    
    /* Neutral Colors - Warm Cream/Beige */
    --dark: #333333;
    --medium: #777777;
    --light: #f5f3e8;
    --white: #ffffff;
    
    /* Accent Colors */
    --success: #1db5a0;
    --info: #2196F3;
    --warning: #e88873;
    --danger: #FF5252;
    
    /* Typography */
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-round: 50%;
    
    /* Box Shadow */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Transition */
    --transition: all 0.3s ease;
    
    /* Z-index layers */
    --z-below: -1;
    --z-normal: 1;
    --z-above: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 
=============================================
   2. Typography
=============================================
*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

h1 {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    color: var(--medium);
}

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: 1.25rem;
}

address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

/* 
=============================================
   3. Buttons and Links
=============================================
*/
a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: height 0.3s ease;
}

.btn:hover::after {
    height: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(var(--secondary-rgb), 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--secondary-rgb), 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(var(--secondary-rgb), 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: calc(0.75rem - 2px) calc(1.75rem - 2px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:active {
    transform: translateY(-1px);
}

.btn:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* 
=============================================
   4. Layout and Containers
=============================================
*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 1.5px;
}

.section-header p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Grid Layouts */
.benefits-grid, 
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.about-grid, 
.contact-grid,
.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
}

/* Responsive adjustments for Benefits Grid */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* 
=============================================
   5. Header and Navigation
=============================================
*/
/* Top Bar Styling */
.top-bar {
    background-color: var(--primary-dark);
    padding: 10px 0;
    color: var(--white);
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar .phone-link {
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.top-bar .phone-link:hover {
    opacity: 0.9;
}

.top-bar .phone-link i {
    font-size: 0.9rem;
}

/* Header Styling */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    max-width: 350px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.02);
}
/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.contact-button {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link.contact-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(77, 150, 255, 0.3);
}

.nav-link.contact-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(77, 150, 255, 0.3);
}

.nav-link.contact-button::after {
    display: none;
}
/* 
=============================================
   DESKTOP DROPDOWN MENU
=============================================
*/

/* Dropdown Container */
.nav-item {
    position: relative;
}

/* Dropdown Menu - Hidden by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    list-style: none; /* IMPORTANT: Removes bullet points */
}

/* Show dropdown on hover - DESKTOP ONLY */
@media (min-width: 769px) {
    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* Dropdown arrow indicator */
.nav-link.has-dropdown::before {
    content: '\25BC';
    font-size: 0.6rem;
    color: var(--primary);
    margin-left: 0.35rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-item:hover .nav-link.has-dropdown::before {
    transform: rotate(180deg);
}

/* Dropdown Items */
.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 1.75rem;
}

/* Active dropdown item */
.dropdown-item.active {
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.08);
    border-left-color: var(--primary);
}

/* Keep dropdown open when hovering over it */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}
/* 
=============================================
   MOBILE NAVIGATION (HAMBURGER MENU)
=============================================
*/

/* Mobile Menu Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animated hamburger to X transformation */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* 
=============================================
   MOBILE NAVIGATION RESPONSIVE RULES
=============================================
*/

@media (max-width: 768px) {
    /* Show hamburger button on mobile */
    .nav-toggle {
        display: flex;
    }
    
    /* Show overlay when menu is active */
    .nav-overlay {
        display: block;
    }
    
    /* Mobile Navigation Panel */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 100px 2rem 2rem;
        z-index: 100;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Show mobile nav when active */
    .main-nav.active {
        right: 0;
    }
    
    /* Stack nav items vertically */
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    /* Nav item full-width touch targets */
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    /* Nav links - larger touch targets for mobile */
    .nav-link {
        display: block;
        padding: 1.25rem 0;
        font-size: 1.05rem;
        color: var(--dark);
    }
    
    /* Remove desktop underline effect on mobile */
    .nav-link::after {
        display: none;
    }
    
    /* Active state for mobile nav */
    .nav-link.active {
        color: var(--primary);
        background-color: rgba(var(--primary-rgb), 0.05);
        padding-left: 1rem;
        margin-left: -1rem;
        border-radius: var(--radius-sm);
    }
    
    /* Contact button adjustments for mobile */
    .nav-link.contact-button {
        display: inline-block;
        margin-top: 1.5rem;
        text-align: center;
        width: 100%;
        background-color: var(--primary);
        color: var(--white);
        padding: 1rem 1.5rem;
        border-radius: 50px;
    }
    
    .nav-link.contact-button:hover {
        background-color: var(--primary-dark);
        color: var(--white);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background-color: rgba(var(--primary-rgb), 0.03);
        border-radius: 0;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }
    
    /* Show dropdown when parent is active */
    .nav-item.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }
    
    /* Mobile dropdown arrow */
    .nav-link.has-dropdown::before {
        content: '\25BC';
        position: absolute;
        right: 0;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }
    
    .nav-item.active .nav-link.has-dropdown::before {
        transform: rotate(180deg);
    }
    
    /* Mobile dropdown items */
    .dropdown-item {
        padding: 0.75rem 1rem 0.75rem 2rem;
        font-size: 0.95rem;
        border-left: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:hover {
        padding-left: 2.25rem;
        background-color: rgba(var(--primary-rgb), 0.08);
    }
}

@media (max-width: 576px) {
    /* Adjust mobile nav width on smaller screens */
    .main-nav {
        width: 85%;
    }
    
    /* Adjust hamburger button size */
    .nav-toggle {
        width: 28px;
        height: 22px;
    }
    
    .nav-toggle span {
        height: 2.5px;
    }
}

/* 
=============================================
   6. Hero Section
=============================================
*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    padding: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-below);
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    will-change: opacity, transform;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 7s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
    z-index: var(--z-below);
}

.hero .container {
    position: relative;
    z-index: var(--z-normal);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Service Highlights */
.service-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.service-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
    flex: 1;
    max-width: 160px;
}

.service-highlight-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.service-highlight-item i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.service-highlight-item:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.service-highlight-item span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    text-align: center;
}


.benefit-highlight-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-highlight-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.highlight-icon {
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.highlight-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero CTA Styling */
.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.hero-cta .btn {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    border-radius: 50px;
    min-width: 200px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.hero-cta .btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(77, 150, 255, 0.4);
}

.hero-cta .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(77, 150, 255, 0.5);
}

.hero-cta .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: calc(0.9rem - 2px) calc(2rem - 2px);
}

.hero-cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Section Scroll Indicator (for main services.html page) */
.hero-section-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
}

.hero-section-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.hero-section-scroll a:hover {
    background-color: rgba(7, 172, 192, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Ensure consistent bounce animation for both */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Unified Scroll Indicator Styling */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.hero-scroll-indicator a:hover {
    background-color: rgba(7, 172, 192, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Page-Specific Hero Styles */
/* Page-Specific Hero Styles */
.home-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

/* ADD THESE NEW RULES FOR HOME HERO TEXT COLOR */
.home-hero .hero-section-title,
.home-hero .hero-section-subtitle,
.home-hero .hero-section-description,
.home-hero .hero-feature-title,
.home-hero .hero-feature-text {
    color: var(--white) !important;
}

.home-hero .hero-feature-title {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.home-hero .hero-feature-text {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.about-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
}

.about-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
}

.services-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
}

.benefits-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.75));
}

.contact-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
}

/* 
=============================================
   7. Section Components
=============================================
*/
/* Cards */
.benefit-card,
.service-card,
.contact-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.benefit-card:hover,
.service-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.1);
}

/* Icons */
.benefit-icon,
.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 1.75rem;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon,
.contact-card:hover .contact-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

/* 
=============================================
   8. Benefits Section
=============================================
*/
.benefits-section {
    background-color: var(--light);
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(var(--primary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.benefit-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.benefit-card p {
    margin-bottom: 0;
    flex-grow: 1;
}

.additional-benefits {
    margin-top: var(--spacing-lg);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.additional-benefits p {
    margin-bottom: var(--spacing-md);
}

/* 
=============================================
   9. Facility Section
=============================================
*/
/* Improved Facility Section */
.facility-section {
    background-color: var(--white);
    padding: 5rem 0;
    position: relative;
}

.facility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--secondary-rgb), 0.03), transparent 70%);
    pointer-events: none;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.facility-image {
    text-align: center;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.rounded-image {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    display: block;
}

.facility-image:hover .rounded-image {
    transform: scale(1.05);
}

.facility-content {
    display: flex;
    flex-direction: column;
}

.facility-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.facility-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 1.5px;
}

.facility-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--medium);
}

.facility-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.facility-features li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 1rem;
    align-items: baseline;
    background-color: rgba(var(--primary-rgb), 0.03);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-features li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.facility-features i {
    color: var(--success);
    font-size: 1rem;
    grid-column: 1;
    margin-top: 0.25rem;
}

.feature-text {
    grid-column: 2;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--medium);
}

.feature-text strong {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .facility-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .facility-image {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .facility-features li {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .facility-features {
        gap: 1rem;
    }
}

/* 
=============================================
   10. Services Section
=============================================
*/
.services-section {
    background-color: var(--light);
    position: relative;
    padding: 5rem 0;
    text-align: center;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--secondary);
    transform: translateX(-50%) translateY(-50%) rotateY(180deg);
}

.service-card h3 {
    margin-top: 2rem;
    padding: 0 1.5rem;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--medium);
    flex-grow: 1;
}

.services-cta {
    margin-top: 3rem;
    text-align: center;
}

.services-cta .btn {
    padding: 0.75rem 2rem;
    font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
}

/* Service Feature Layout */
.service-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-feature.reverse {
    direction: rtl;
}

.service-feature.reverse .service-content {
    direction: ltr;
}

.service-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.service-image {
    height: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-feature:hover .service-image img {
    transform: scale(1.05);
}

/* Service Feature Links */
.service-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 150, 255, 0.3);
}

.service-feature-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(77, 150, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

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

.service-feature-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-feature-link:hover i {
    transform: translateX(5px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .service-feature-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Service Content Styling */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(77, 150, 255, 0.2);
}

.service-icon-wrapper i {
    font-size: 2rem;
    color: var(--white);
}

.service-text-container h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.service-text-container p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--medium);
    margin-bottom: 1rem;
}

/* Service Details */
.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.service-detail {
    background: rgba(77, 150, 255, 0.05);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-detail:hover {
    background: rgba(77, 150, 255, 0.1);
    transform: translateY(-3px);
}

.service-detail i {
    color: var(--primary);
    font-size: 0.9rem;
}

.service-detail span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
}

/* 
=============================================
   11. Care Benefits Section
=============================================
*/
/* Enhanced Care Benefits Section Styling */
.care-benefits-section {
    padding: 5rem 0;
    background-color: var(--light);
    position: relative;
}

.care-benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(77, 150, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.care-benefits-section .section-header {
    margin-bottom: 4rem;
}

.care-benefits-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}

.care-benefits-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.care-benefits-section .section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--medium);
}

/* Benefit Feature Layout */
.benefit-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-feature.reverse {
    direction: rtl;
}

.benefit-feature.reverse .benefit-content {
    direction: ltr;
}

.benefit-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.benefit-image {
    height: 100%;
    overflow: hidden;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.benefit-feature:hover .benefit-image img {
    transform: scale(1.05);
}

/* Benefit Content Styling */
.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(77, 150, 255, 0.2);
}

.benefit-icon-wrapper i {
    font-size: 2rem;
    color: var(--white);
}

.benefit-text-container h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.benefit-text-container p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--medium);
    margin-bottom: 1rem;
}

/* Benefit Details */
.benefit-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.benefit-detail {
    background: rgba(77, 150, 255, 0.05);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.benefit-detail:hover {
    background: rgba(77, 150, 255, 0.1);
    transform: translateY(-3px);
}

.benefit-detail i {
    color: var(--primary);
    font-size: 0.9rem;
}

.benefit-detail span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
}

/* Testimonial Styling */
.service-testimonial,
.benefit-testimonial {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    padding: 3rem;
    margin: 4rem 0;
    color: var(--white);
    position: relative;
    box-shadow: 0 10px 30px rgba(77, 150, 255, 0.3);
}

.testimonial-icon {
    position: absolute;
    top: -25px;
    left: 50px;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-testimonial blockquote,
.benefit-testimonial blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.service-testimonial blockquote::before,
.benefit-testimonial blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author p {
    margin: 0;
    font-size: 1rem;
}

/* Benefits CTA */
.benefits-cta,
.services-cta {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary);
    margin-top: 3rem;
}

.benefits-cta h3,
.services-cta h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.benefits-cta p,
.services-cta p {
    font-size: 1.1rem;
    color: var(--medium);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.benefits-cta .btn,
.services-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(77, 150, 255, 0.2);
}

/* FAQ Items in Benefits Section */
.benefits-faq {
    margin-top: 4rem;
}

.benefits-faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--medium);
}

/* Related Resources Section */
.related-resources {
    background-color: var(--white);
    padding: 5rem 0;
}

.related-resources h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.resource-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.resource-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.resource-card p {
    margin-bottom: 1.5rem;
    color: var(--medium);
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
}

.resource-link:hover {
    color: var(--primary-dark);
}

.resource-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.resource-link:hover::after {
    transform: translateX(5px);
}

/* 
=============================================
   12. Getting Started & CTA Sections
=============================================
*/
.getting-started,
.cta-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    z-index: 1;
}
.getting-started .section-background,
.cta-section .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background4.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: var(--z-below);
    filter: brightness(0.7);
}

.getting-started::before,
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    z-index: var(--z-below);
}

.getting-started-content,
.cta-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out forwards;
}

.getting-started h2,
.cta-section h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.getting-started h2::after,
.cta-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.getting-started p,
.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.getting-started .btn,
.cta-section .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.getting-started .btn-primary,
.cta-section .btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(77, 150, 255, 0.4);
}

.getting-started .btn-primary:hover,
.cta-section .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(77, 150, 255, 0.5);
}

/* Unique styles for each CTA section */
.getting-started .section-background {
    opacity: 0.85;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-section .section-background {
    opacity: 0.2;
    mix-blend-mode: overlay;
}

/* 
=============================================
   13. About Us Section
=============================================
*/
.about-section {
    background-color: var(--white);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(var(--secondary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content .section-header {
    text-align: left;
}

.about-content .section-header h2::after {
    left: 0;
    transform: none;
}

.about-content p {
    margin-bottom: var(--spacing-sm);
}

.about-content .btn {
    margin-top: var(--spacing-sm);
}

/* 
=============================================
   14. Testimonials
=============================================
*/
.testimonials-section {
    padding: calc(var(--spacing-xl) + 2rem) 0 var(--spacing-xl) 0;
    background-color: var(--light);
    position: relative;
    margin-top: 3rem;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 220px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--primary);
    margin-bottom: var(--spacing-md);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    display: none;
}

.testimonial-card.active {
    opacity: 1;
    position: relative;
    visibility: visible;
    display: block;
}

.testimonial-content {
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary-light);
    position: absolute;
    top: -50px;
    left: 0;
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-round);
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background-color: var(--primary);
    width: 30px;
}

/* Fix spacing between Getting Started and Testimonials sections */
.getting-started + .testimonials-section {
    margin-top: 4rem;
}

/* Ensure proper spacing for testimonials on specific pages */
.testimonials-section {
    padding-top: calc(var(--spacing-xl) + 3rem);
}

/* Fix spacing for testimonials section on services and carebenactive pages */
.testimonials-section {
    margin-top: 6rem !important;
    padding-top: calc(var(--spacing-xl) + 2rem) !important;
}

/* Ensure proper spacing when testimonials follows getting-started section */
.getting-started + .testimonials-section {
    margin-top: 8rem !important;
}

/* Additional spacing for the testimonials section header */
.testimonials-section .section-header {
    margin-bottom: 3rem;
    padding-top: 2rem;
}

/* 
=============================================
   15. Contact Section
=============================================
*/
/* Contact Form Section */
.contact-form-section {
    background-color: var(--light);
    padding: 5rem 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    border-top: 4px solid var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(77, 150, 255, 0.1);
}

.required {
    color: var(--danger);
    margin-left: 0.25rem;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.form-footer .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-footer .btn i {
    margin-left: 0.5rem;
}

/* Location Section */
.location-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-details,
.location-hours {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-details:hover,
.location-hours:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-details i,
.location-hours i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.location-details h3,
.location-hours h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.location-details p,
.location-hours p {
    margin: 0;
    color: var(--medium);
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* 
=============================================
   16. Footer
=============================================
*/
.footer-wave {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 150px;
    transform: translateZ(0); /* Force hardware acceleration */
}

.enhanced-footer {
    position: relative;
    background-color: #1a1a1a;
    color: var(--white);
    padding-top: 6rem;
    margin-top: 150px; /* Added to create space for the wave */
    overflow: visible; 
    z-index: 1;
}

.footer-wave path {
    fill: #1a1a1a; /* Match with footer background color */
}

/* Rest of footer styling remains the same */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Logo & Info */
.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-logo-container {
    max-width: 200px;
    margin-bottom: 1.5rem;
    background-color: white;
    padding: 1rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.footer-logo-container:hover {
    transform: translateY(-5px);
}

.footer-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(77, 150, 255, 0.2), rgba(77, 150, 255, 0.1));
    color: var(--white);
    border-radius: var(--radius-round);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(77, 150, 255, 0.3);
}

/* Footer Headings */
.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), transparent);
    border-radius: 1.5px;
}

/* Footer Links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 4px;
}

.contact-item span,
.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

/* 
=============================================
   17. Animations
=============================================
*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.benefit-card,
.service-card,
.contact-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.benefit-card:nth-child(1),
.service-card:nth-child(1),
.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2),
.service-card:nth-child(2),
.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3),
.service-card:nth-child(3),
.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-card:nth-child(4),
.service-card:nth-child(4),
.contact-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* =============================================
   SERVICE DETAIL PAGES STYLES
   ============================================= */
/* =============================================
   SERVICE DETAIL PAGES HERO
   ============================================= */

/* Service Detail Hero - Uses existing hero structure */
.services-detail-hero {
    min-height: 500px;
    position: relative;
}

.services-detail-hero .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Service Page Icon */
.service-page-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.service-page-icon:hover {
    transform: scale(1.05);
}

.service-page-icon i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.hero-scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-scroll-indicator a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(5px);
}

.hero-scroll-indicator {
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    font-size: 1.2rem;
}

/* Updated bounce animation with proper centering */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Service Overview Section */
.service-overview {
    padding: 5rem 0;
    background-color: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.overview-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.overview-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--medium);
    margin-bottom: 1.25rem;
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Service Features Section */
.service-features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(77, 150, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--medium);
    line-height: 1.7;
}

/* Service Benefits Section */
.service-benefits {
    padding: 5rem 0;
    background-color: var(--white);
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.benefits-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.benefits-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item-detail {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.benefit-text h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: var(--medium);
    line-height: 1.7;
}

/* Safety Standards Section */
.safety-standards {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.standard-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.standard-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.standard-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.standard-card p {
    color: var(--medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service FAQ Section */
.service-faq {
    padding: 5rem 0;
    background-color: var(--white);
}

.service-faq .faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

/* Service CTA Section */
.service-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta .btn-secondary {
    background-color: var(--white);
    color: var(--primary);
}

.service-cta .btn-secondary:hover {
    background-color: var(--light);
}

/* Related Services Section */
.related-services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.related-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.related-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.related-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.related-card p {
    color: var(--medium);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.related-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.related-card:hover .related-link {
    gap: 0.75rem;
}

.related-link i {
    transition: transform 0.3s ease;
}

.related-card:hover .related-link i {
    transform: translateX(5px);
}

/* =============================================
   USDA NONDISCRIMINATION STATEMENT
   ============================================= */

.usda-statement {
    padding: 4rem 0;
    background-color: #f8f9fa;
    border-top: 3px solid var(--primary);
}

.usda-content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.usda-content h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1rem;
}

.usda-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--medium);
    margin-bottom: 1.25rem;
    text-align: justify;
}

.usda-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.usda-content a:hover {
    color: var(--primary-dark);
}

.usda-addresses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background-color: #f8f9ff;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.usda-address-item h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.usda-address-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 0;
    text-align: left;
}

.usda-footer-note {
    text-align: center;
    font-style: italic;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Responsive USDA Statement */
@media (max-width: 992px) {
    .usda-addresses {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .usda-statement {
        padding: 3rem 0;
    }
    
    .usda-content {
        padding: 2rem 1.5rem;
    }
    
    .usda-content h2 {
        font-size: 1.5rem;
    }
    
    .usda-content p {
        text-align: left;
        font-size: 0.9rem;
    }
    
    .usda-addresses {
        padding: 1.5rem;
    }
}

/* =============================================
   FLOATING BACK BUTTON
   ============================================= */

.floating-back-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s ease;
}

.floating-back-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(77, 150, 255, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(77, 150, 255, 0.5);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.back-btn:active {
    transform: translateY(-1px);
}

.back-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: translateX(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-back-button {
        bottom: 1rem;
        left: 1rem;
    }
    
    .back-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .floating-back-button {
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
    }
    
    .floating-back-button.visible {
        transform: translateX(-50%) translateY(0);
    }
    
    .back-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .back-btn span {
        display: none;
    }
    
    .back-btn i {
        margin: 0;
    }
}

/* =============================================
   RESPONSIVE STYLES FOR SERVICE PAGES
   ============================================= */

@media (max-width: 992px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-detail-hero {
        min-height: 400px;
    }
    
    .service-page-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-page-icon i {
        font-size: 2.5rem;
    }
    
    .hero-scroll-indicator {
        bottom: 1rem;
    }
    
    .overview-text h2,
    .benefits-content h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .standards-grid,
    .related-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn,
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}



/* 
=============================================
   18. Media Queries
=============================================
*/
@media (max-width: 1200px) {
    .container {
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Navigation adjustments */
    .nav-menu {
        gap: 1.5rem;
    }
    
    .logo-img {
        height: 50px;
    }

    /* Grid adjustments */
    .about-grid, 
    .contact-grid,
    .facility-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-image,
    .facility-image {
        margin-bottom: var(--spacing-md);
        order: -1;
    }
    
    .about-content .section-header {
        text-align: center;
    }

    .about-content .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-info {
        grid-column: span 2;
    }

    /* Services adjustments */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Service Feature adjustments */
    .service-feature,
    .benefit-feature {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .service-feature.reverse,
    .benefit-feature.reverse {
        direction: ltr;
    }
    
    .service-content,
    .benefit-content {
        padding: 2.5rem;
    }
    
    .service-image,
    .benefit-image {
        height: 300px;
        order: -1; /* Always show image first on mobile */
    }
    
    .service-text-container h3,
    .benefit-text-container h3 {
        font-size: 1.6rem;
    }
    
    .service-testimonial,
    .benefit-testimonial {
        padding: 2.5rem;
    }

    /* Benefits and Resources adjustments */
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Location section adjustments */
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-map iframe {
        height: 350px;
    }

    /* Testimonial adjustments */
    .testimonials-slider {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    /* Navigation toggle for mobile */
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 100px 2rem 2rem;
        z-index: var(--z-fixed);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 0.75rem 0;
    }

    body.menu-open {
        overflow: hidden;
    }


    /* Hero content spacing */
    .hero-content {
        padding: 2rem 0;
    }
    
    /* Service highlights in columns */
    .service-highlights {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .service-highlight-item {
        min-width: calc(50% - 1rem);
        flex: 0 0 calc(50% - 1rem);
    }
    
    
    /* CTA buttons in column */
    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Grid adjustments */
    .services-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
        align-items: center;
        text-align: center;
    }
    
    .footer-info p {
        max-width: 500px;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul {
        text-align: center;
    }
    
    .footer-links a {
        padding-left: 0;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item i {
        margin-top: 0;
        font-size: 1.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Section adjustments */
    .contact-form-section,
    .location-section,
    .services-section,
    .benefits-section {
        padding: 3rem 0;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .form-privacy {
        justify-content: center;
    }
    
    .form-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .location-details,
    .location-hours {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .location-details i,
    .location-hours i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .service-feature,
    .benefit-feature {
        margin-bottom: 3rem;
    }
    
    .service-image,
    .benefit-image {
        height: 250px;
    }
    
    .service-content,
    .benefit-content {
        padding: 2rem;
    }
    
    .service-icon-wrapper,
    .benefit-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .service-icon-wrapper i,
    .benefit-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .service-details,
    .benefit-details {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .service-testimonial,
    .benefit-testimonial {
        padding: 2rem;
        margin: 3rem 0;
    }
    
    .testimonial-icon {
        width: 50px;
        height: 50px;
        top: -20px;
        left: 30px;
    }
    
    .service-testimonial blockquote,
    .benefit-testimonial blockquote {
        font-size: 1.1rem;
        padding-left: 1.5rem;
    }
    
    /* Testimonial adjustments */
    .testimonials-slider {
        min-height: 280px;
    }
}

@media (max-width: 576px) {
    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0.4rem 1.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Logo adjustments */
    .logo-img {
        height: 40px;
    }
    
    /* Hero elements */
    .service-highlight-item {
        min-width: 100%;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }
    
    .hero-scroll-indicator a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Spacing adjustments */
    section {
        padding: var(--spacing-lg) 0;
    }
    
    /* Card layouts */
    .benefit-card,
    .service-card,
    .resource-card {
        padding: var(--spacing-sm);
    }
    
    /* Contact section */
    .contact-form-container {
        padding: var(--spacing-md);
    }
    
    /* Footer adjustments */
    .footer-wave {
        top: -50px;
    }
    
    .footer-wave svg {
        height: 50px;
    }
    
    /* Service and Benefit Feature */
    .service-feature,
    .benefit-feature {
        border-radius: 8px;
    }
    
    .service-content,
    .benefit-content {
        padding: 1.5rem;
    }
    
    .service-image,
    .benefit-image {
        height: 200px;
    }
    
    .benefits-cta,
    .services-cta {
        padding: 2rem;
    }
    
    .benefits-cta h3,
    .services-cta h3 {
        font-size: 1.5rem;
    }
    
    .benefits-cta p,
    .services-cta p {
        font-size: 1rem;
    }
    
    /* Testimonial adjustments */
    .testimonials-slider {
        min-height: 320px;
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

/* 
=============================================
   19. Accessibility Enhancements
=============================================
*/

/* Focus States */
:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Button focus states */
.btn:focus,
.nav-link:focus,
.social-link:focus,
.dot:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Skip link for keyboard users */
.skip-link {
    background: var(--primary);
    color: white;
    font-weight: 700;
    left: 50%;
    padding: 0.5rem 1rem;
    position: absolute;
    transform: translateY(-100%) translateX(-50%);
    transition: transform 0.3s;
    z-index: var(--z-modal);
}

.skip-link:focus {
    transform: translateY(0%) translateX(-50%);
}

/* Screen reader text */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* 
=============================================
   20. Performance Optimizations
=============================================
*/

/* Reduce Paint Area */
.service-card,
.benefit-card,
.about-image,
.testimonial-card,
.hero-slider .slide {
    will-change: transform;
}

/* Content-visibility for offscreen content */
@supports (content-visibility: auto) {
    .benefits-section,
    .services-section,
    .about-section,
    .testimonials-section,
    .cta-section,
    .contact-section,
    .enhanced-footer {
        content-visibility: auto;
        contain-intrinsic-size: 1px 1000px;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .site-header,
    .hero-scroll-indicator,
    .cta-section,
    .enhanced-footer,
    .nav-toggle {
        display: none;
    }
    
    .hero,
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .hero {
        height: auto;
        min-height: auto;
    }
    
    .hero-overlay {
        background: none;
    }
    
    .hero-content {
        color: var(--dark);
    }
    
    .hero h1,
    .hero p {
        color: var(--dark);
        text-shadow: none;
    }
    
    .service-highlight-item {
        border: 1px solid #ccc;
    }
    
    .service-highlight-item i,
    .service-highlight-item span {
        color: var(--dark);
    }
    
    a {
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid #ccc;
        background: none !important;
        color: var(--dark) !important;
        box-shadow: none;
    }
}

/* Add these CSS rules to your styles.css file */

/* Testimonials Container */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 220px;
    transition: height 0.5s ease;
}

.testimonials-slider.transitioning {
    pointer-events: none; /* Prevent interactions during transition */
}

/* Testimonial Cards */
.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--primary);
    margin-bottom: var(--spacing-md);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    visibility: visible;
}

.testimonial-card.hidden {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    z-index: 1;
}

/* Testimonial Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background-color: var(--primary);
    width: 30px;
    border-radius: 10px;
}

.dot:hover {
    background-color: #bbb;
}

.dot.active:hover {
    background-color: var(--primary);
}

/* Content Styling */
.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary-light);
    position: absolute;
    top: -50px;
    left: 0;
    opacity: 0.3;
}

.testimonial-author p {
    font-weight: 500;
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonials-slider {
        min-height: 260px;
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .testimonials-slider {
        min-height: 300px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

.footer-wave {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    line-height: 0;
    overflow: hidden;
    z-index: 1;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 150px;
    transform: translateZ(0);
}

.footer-wave path {
    fill: #1a1a1a;
}

.enhanced-footer {
    position: relative;
    background-color: #1a1a1a;
    color: var(--white);
    padding-top: 6rem;
    margin-top: 150px; /* This is crucial - creates space for the wave */
    overflow: visible;
    z-index: 1;
}

@media (max-width: 991px) {
    .footer-wave {
        top: -100px;
        height: 100px;
    }
    
    .footer-wave svg {
        height: 100px;
    }
    
    .enhanced-footer {
        margin-top: 100px;
    }
}

@media (max-width: 576px) {
    .footer-wave {
        top: -70px;
        height: 70px;
    }
    
    .footer-wave svg {
        height: 70px;
    }
    
    .enhanced-footer {
        margin-top: 70px;
    }
}

/* 
=============================================
   New Expandable Service Highlights
=============================================
*/
.expandable-service-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.expandable-highlight {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.expandable-highlight:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.highlight-header {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.highlight-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.highlight-header i {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.highlight-header span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    flex-grow: 1;
}

.expand-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.expand-btn i {
    color: var(--white);
    font-size: 0.875rem;
    margin-right: 0;
}

.expandable-highlight.active .expand-btn i {
    transform: rotate(180deg);
}

.highlight-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    padding: 0 1.25rem;
}

.expandable-highlight.active .highlight-content {
    max-height: 300px;
    padding: 0 1.25rem 1.25rem;
}

.highlight-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 
=============================================
   Care Benefits Section
=============================================
*/
.care-benefits-section {
    background-color: var(--white);
    position: relative;
    padding: 5rem 0;
}

.care-benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.care-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.care-benefit-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.care-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.1);
}

.care-benefit-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.care-benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.care-benefit-card:hover .care-benefit-image img {
    transform: scale(1.1);
}

.care-benefit-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.care-benefit-card:hover .care-benefit-icon {
    background-color: var(--secondary);
    transform: translateX(-50%) translateY(-50%) rotateY(180deg);
}

.care-benefit-card h3 {
    margin-top: 2rem;
    padding: 0 1.5rem;
    font-size: 1.3rem;
    color: var(--primary-dark);
    text-align: center;
}

.care-benefit-card p {
    padding: 0 1.5rem;
    color: var(--medium);
    text-align: center;
    flex-grow: 1;
    font-size: 0.95rem;
}

.benefit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    margin: 0.5rem 1.5rem 1.5rem;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.benefit-link:hover {
    color: var(--primary-dark);
}

.benefit-link:hover i {
    transform: translateX(5px);
}

/* 
=============================================
   Services Section Updates
=============================================
*/
.services-cta-container {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

.services-cta-container .btn {
    padding: 0.75rem 2rem;
    font-size: 1.05rem;
    border-radius: 50px;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.services-cta-container .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

/* Updated Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .expandable-service-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .care-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .expandable-service-highlights {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .care-benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .care-benefit-image {
        height: 200px;
    }
}

/* ============= Enhanced Expandable Service Highlights ============= */
.expandable-service-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.expandable-highlight {
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.expandable-highlight:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.25);
}

.highlight-header {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.highlight-header:hover {
    background: rgba(255, 255, 255, 0.12);
}

.highlight-icon-container {
    width: 40px;
    height: 40px;
    background: rgba(77, 150, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(77, 150, 255, 0.3);
}

.expandable-highlight:hover .highlight-icon-container {
    transform: scale(1.1);
    background: var(--primary);
}

.highlight-header i {
    font-size: 1.25rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.highlight-header span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    flex-grow: 1;
}

.expand-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.expand-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.expand-btn i {
    color: var(--white);
    font-size: 0.8rem;
    margin: 0;
    transition: transform 0.3s ease;
}

.expandable-highlight.active .expand-btn i {
    transform: rotate(180deg);
}

.highlight-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(0, 0, 0, 0.15);
    padding: 0 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.expandable-highlight.active .highlight-content {
    max-height: 300px;
    padding: 1rem 1.25rem;
}

.highlight-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============= Updated Care Benefits (Why Choose) Section ============= */
.care-benefits-section {
    background-color: var(--white);
    position: relative;
    padding: 5rem 0;
}

.care-benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

#why-choose-heading {
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

#why-choose-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 1.5px;
}

.care-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto 0;
}

.care-benefit-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.care-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.care-benefit-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.care-benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: brightness(0.9);
}

.care-benefit-card:hover .care-benefit-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.care-benefit-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 0 4px 15px rgba(77, 150, 255, 0.3);
    z-index: 2;
    transition: all 0.4s ease;
    border: 3px solid white;
}

.care-benefit-card:hover .care-benefit-icon {
    transform: translateX(-50%) translateY(-50%) rotateY(180deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.care-benefit-card h3 {
    margin-top: 2rem;
    padding: 0 1.5rem;
    font-size: 1.3rem;
    color: var(--primary-dark);
    text-align: center;
    position: relative;
}

.care-benefit-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
}

.care-benefit-card p {
    padding: 1rem 1.5rem 0;
    color: var(--medium);
    text-align: center;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.7;
}

.benefit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    margin: 0.5rem 1.5rem 1.5rem;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.benefit-link:hover {
    color: var(--primary-dark);
}

.benefit-link:hover i {
    transform: translateX(5px);
}

/* ============= Updated Services Section ============= */
.services-section {
    background-color: var(--light);
    position: relative;
    padding: 5rem 0;
}

.services-section .section-header h2 {
    color: var(--primary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem auto 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
    will-change: transform, box-shadow;
}

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

.service-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.service-icon {
    position: absolute;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.4s ease;
    border: 3px solid white;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    transform: translateX(-50%) translateY(-50%) rotateY(180deg);
}

.service-card h3 {
    margin-top: 2rem;
    padding: 0 1.5rem;
    font-size: 1.4rem;
    color: var(--primary-dark);
    text-align: center;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
}

.service-card p {
    padding: 1rem 1.5rem 1.5rem;
    color: var(--medium);
    text-align: center;
    flex-grow: 1;
    font-size: 1rem;
}

.services-cta-container {
    margin-top: 2rem;
    text-align: center;
}

.services-cta-container .btn {
    padding: 0.9rem 2.5rem;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(77, 150, 255, 0.2);
}

.services-cta-container .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(77, 150, 255, 0.3);
}

/* ============= Responsive Adjustments ============= */
@media (max-width: 1200px) {
    .expandable-service-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .care-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 2rem auto 0;
    }
    
    .service-image,
    .care-benefit-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .expandable-service-highlights {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .expandable-highlight {
        margin-bottom: 0.5rem;
    }
    
    .care-benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .highlight-header {
        padding: 1rem;
    }
    
    .highlight-icon-container {
        width: 36px;
        height: 36px;
    }
    
    .highlight-header i {
        font-size: 1rem;
    }
    
    .highlight-header span {
        font-size: 0.9rem;
    }
    
    .expand-btn {
        width: 24px;
        height: 24px;
    }
    
    .expand-btn i {
        font-size: 0.7rem;
    }
    
    .expandable-highlight.active .highlight-content {
        padding: 0.75rem 1rem;
    }
    
    .highlight-content p {
        font-size: 0.85rem;
    }
}

/* 
=============================================
   Hero Section Feature Boxes
=============================================
*/
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.feature-box:hover .feature-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.feature-box h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 
=============================================
   Benefits Section
=============================================
*/
.section-benefits {
    background-color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03), transparent 70%);
    transform: rotate(-20deg);
    pointer-events: none;
}

.section-benefits .section-header {
    margin-bottom: 3rem;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.benefit-item:hover .benefit-image img {
    transform: scale(1.1);
}

.benefit-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -30px;
    left: 1.5rem;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    border: 3px solid white;
    transition: all 0.4s ease;
}

.benefit-item:hover .benefit-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.benefit-content h3 {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.benefit-content p {
    color: var(--medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.95rem;
}

.btn-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* 
=============================================
   Services Section
=============================================
*/
.section-services {
    background-color: var(--light);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-services::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.03), transparent 70%);
    transform: rotate(20deg);
    pointer-events: none;
}

.section-services .section-header {
    margin-bottom: 3rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -30px;
    left: 1.5rem;
    box-shadow: 0 5px 15px rgba(var(--secondary-rgb), 0.3);
    border: 3px solid white;
    transition: all 0.4s ease;
}

.service-item:hover .service-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.service-content h3 {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: var(--secondary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.service-content p {
    color: var(--medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Helper classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

/* About Section Enhancements */
.about-section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
    background-color: var(--white);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03), transparent 70%);
    transform: rotate(30deg);
    z-index: -1;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    background: linear-gradient(135deg, var(--primary-light), transparent);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.5;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-content .section-header h2 {
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.about-content .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    transform: none;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--medium);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-content p strong {
    color: var(--primary-dark);
}

/* CTA Section Enhancements */
.cta-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background4.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.3);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    opacity: 0.85;
    z-index: -1;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}

.cta-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--white);
    border-radius: 1.5px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-content .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section Enhancements */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03), transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 250px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    margin-top: 2.5rem;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    color: var(--primary-light);
    line-height: 1;
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.15rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author p {
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 0;
}

.testimonial-author p strong {
    color: var(--dark);
}

/* Enhanced Footer Wave */
.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    line-height: 0;
    overflow: hidden;
    z-index: 1;
}

.enhanced-footer {
    position: relative;
    background-color: #1a1a1a;
    color: var(--white);
    padding-top: 6rem;
    margin-top: 100px;
    overflow: visible;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .feature-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefits-container,
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-content .section-header {
        text-align: center;
    }
    
    .about-content .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .feature-boxes {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-container,
    .services-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-benefits,
    .section-services,
    .about-section,
    .testimonials-section {
        padding: 4rem 0;
    }
    
    .cta-section {
        padding: 5rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .feature-box {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-box h3 {
        font-size: 1.15rem;
    }
    
    .feature-box p {
        font-size: 0.9rem;
    }
    
    .benefit-image,
    .service-image {
        height: 180px;
    }
    
    .about-image::before {
        display: none;
    }
    
    .footer-wave {
        top: -60px;
        height: 60px;
    }
    
    .enhanced-footer {
        margin-top: 60px;
    }
}

/* Enhanced Service Section to match Benefits Section */
.section-services {
    background-color: var(--light);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-services::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.03), transparent 70%);
    transform: rotate(20deg);
    pointer-events: none;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -30px;
    left: 1.5rem;
    box-shadow: 0 5px 15px rgba(var(--secondary-rgb), 0.3);
    border: 3px solid white;
    transition: all 0.4s ease;
}

.service-item:hover .service-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.service-content h3 {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: var(--secondary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.service-content p {
    color: var(--medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Fix for the "Ready to Learn More?" CTA section */
.cta-section .section-background {
    filter: brightness(0.4); /* Darken the original image more */
    opacity: 1;
}

.cta-section::before {
    background: none; /* Remove the gradient overlay */
}

/* Expandable Boxes in Hero Section */
.expandable-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.expandable-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.expandable-box:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.expandable-header {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
}

.expandable-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

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

.expandable-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.expandable-header h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 600;
    flex-grow: 1;
}

.expand-toggle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
}

.expand-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.expandable-box.active .expandable-content {
    max-height: 200px;
    padding: 0 1.25rem 1.25rem;
}

.expandable-box.active .expand-toggle i {
    transform: rotate(180deg);
}

.expandable-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive styles for expandable boxes */
@media (max-width: 992px) {
    .expandable-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .expandable-boxes {
        grid-template-columns: 1fr;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Remove blue background from natural-cta section */
.cta-section.natural-cta::before {
    background: none; /* Remove the gradient overlay */
}

/* Ensure the section background overlay has proper contrast */
.cta-section.natural-cta .section-background {
    filter: brightness(0.3); /* Darken the background image for better text contrast */
}

/* Make text stand out better on the darker background */
.cta-section.natural-cta .cta-content h2,
.cta-section.natural-cta .cta-content p {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Updated Logo Styling */
.logo-img {
    height: 70px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo-container {
    max-width: 250px;
    margin-bottom: 1.5rem;
    background-color: white;
    padding: 1rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Make sure the header accommodates the larger logo */
.header-wrapper {
    padding: 12px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 60px;
        max-width: 320px;
    }
    
    .footer-logo-container {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 50px;
        max-width: 250px;
    }
    
    .footer-logo-container {
        max-width: 180px;
    }
}


.benefit-highlight-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.highlight-icon {
    background: var(--primary);
    width: 50px;
    height: 50px;
    min-width: 50px; /* Add this to prevent icon from shrinking */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.highlight-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden; /* Add this to prevent text overflow */
}

.highlight-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    white-space: normal; /* Ensure text wraps */
    overflow: visible;
}

.highlight-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    white-space: normal; /* Ensure text wraps */
    overflow: visible;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    
    .highlight-content h3 {
        font-size: 1rem;
    }
    
    .highlight-content p {
        font-size: 0.85rem;
    }
}

/* 
=============================================
   Events Page Styles
=============================================
*/

/* Hero Section Specific Styles */
.events-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.75));
}

/* 
=============================================
   Event Gallery Slider 
=============================================
*/
.gallery-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.gallery-caption h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1rem;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* 
=============================================
   Featured Events Section 
=============================================
*/
.featured-events-section {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
}

.featured-events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.event-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.event-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-image:hover .event-overlay {
    opacity: 1;
}

.expand-event-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.expand-event-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.date-icon {
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.date-text {
    display: flex;
    flex-direction: column;
}

.date-text span:first-child {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.date-text span:last-child {
    font-size: 0.9rem;
    color: var(--medium);
}

.event-content h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.event-content p {
    color: var(--medium);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.toggle-event-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.toggle-event-details i {
    transition: transform 0.3s ease;
}

.toggle-event-details:hover {
    color: var(--primary-dark);
}

.toggle-event-details[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.event-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.event-details.active {
    max-height: 1000px;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.detail-item i {
    color: var(--primary);
    font-size: 1rem;
}

.detail-item span {
    color: var(--dark);
    font-size: 0.95rem;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.event-gallery-item {
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-gallery-item:hover img {
    transform: scale(1.1);
}

/* 
=============================================
   Calendar Section 
=============================================
*/
.upcoming-events-section {
    background-color: var(--light);
    padding: 5rem 0;
    position: relative;
}

.upcoming-events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(var(--secondary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.calendar-container {
    max-width: 900px;
    margin: 2rem auto 0;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.current-month {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0;
}

.calendar-controls {
    display: flex;
    gap: 0.5rem;
}

.calendar-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
}

.calendar-table th {
    padding: 0.75rem;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.calendar-table td {
    height: 80px;
    width: calc(100% / 7);
    vertical-align: top;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    font-size: 0.95rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.calendar-table td:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.event-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
}

/* Specific event dot colors */
[data-event="Music Therapy"] {
    background-color: #4CAF50;
}

[data-event="Arts & Crafts"] {
    background-color: #FFC107;
}

[data-event="Garden Club"] {
    background-color: #2196F3;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.music-dot {
    background-color: #4CAF50;
}

.arts-dot {
    background-color: #FFC107;
}

.garden-dot {
    background-color: #2196F3;
}

/* 
=============================================
   Get Involved Section 
=============================================
*/
.get-involved-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.get-involved-section .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background4.webp');
    background-size: cover;
    background-position: center;
    z-index: var(--z-below);
    filter: brightness(0.4);
}

.get-involved-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    opacity: 0.7;
    z-index: var(--z-below);
}

/* 
=============================================
   Lightbox Styles 
=============================================
*/
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.lightbox-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox-nav {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.lightbox-caption {
    margin-top: 1rem;
    color: white;
    text-align: center;
    font-size: 1.1rem;
}

/* 
=============================================
   Responsive Adjustments 
=============================================
*/
@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-slider {
        height: 500px;
    }
}

@media (max-width: 992px) {
    .gallery-slider {
        height: 400px;
    }
    
    .calendar-container {
        padding: 1.5rem;
    }
    
    .calendar-table td {
        height: 60px;
        padding: 0.3rem;
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .gallery-slider {
        height: 350px;
    }
    
    .gallery-caption {
        padding: 1rem;
    }
    
    .gallery-caption h3 {
        font-size: 1.2rem;
    }
    
    .gallery-caption p {
        font-size: 0.9rem;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .event-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-slider {
        height: 300px;
    }
    
    .calendar-container {
        padding: 1rem;
    }
    
    .calendar-table {
        font-size: 0.85rem;
    }
    
    .calendar-table td {
        height: 50px;
        padding: 0.2rem;
    }
    
    .current-month {
        font-size: 1.3rem;
    }
    
    .calendar-legend {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .event-gallery-item {
        height: 80px;
    }
    
    .lightbox-content {
        width: 95%;
        height: 75vh;
    }
}

/* 
=============================================
   FAQ Page Styles
=============================================
*/

/* FAQ Hero Section Specific Styles */
.faq-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
}

/* FAQ Section Styling */
.faq-section {
    background-color: var(--white);
    padding: 5rem 0;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.faq-category-btn {
    background-color: var(--light);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-category-btn.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

/* FAQ Accordion Items */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(var(--primary-rgb), 0.03);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
    background-color: rgba(var(--primary-rgb), 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 1000px;
    padding: 1.5rem;
    margin-bottom: 0.5rem;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: var(--medium);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul, 
.faq-answer ol {
    margin-bottom: 1.5rem;
    color: var(--medium);
    padding-left: 2rem;
}

.faq-answer ul li, 
.faq-answer ol li {
    margin-bottom: 0.5rem;
}

/* FAQ Contact Section */
.faq-contact-section {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-top: 4rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.faq-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.faq-contact-section h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.faq-contact-section p {
    color: var(--medium);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.faq-contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-option {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.contact-option i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-option h4 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-option p {
    color: var(--medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-option .btn {
    min-width: 80%;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .faq-contact-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-categories {
        gap: 0.75rem;
    }
    
    .faq-category-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .faq-contact-options {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .faq-contact-section {
        padding: 2rem;
    }
    
    .faq-categories {
        flex-direction: column;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .faq-category-btn {
        width: 100%;
        text-align: center;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .faq-question[aria-expanded="true"] + .faq-answer {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .faq-contact-section {
        padding: 1.5rem;
    }
    
    .faq-contact-section h3 {
        font-size: 1.5rem;
    }
    
    .faq-contact-section p {
        font-size: 1rem;
    }
    
    .contact-option {
        padding: 1.5rem 1rem;
    }
    
    .contact-option h4 {
        font-size: 1.2rem;
    }
    
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-question[aria-expanded="true"] + .faq-answer {
        padding: 1rem;
    }
}

/* 
=============================================
   Contact Page Enhanced Styles
=============================================
*/

/* General Contact Page Styles */
.contact-hero .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75));
}

/* Contact Form Styles */
.contact-form-section {
    background-color: var(--white);
    padding: 5rem 0;
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    border-top: 4px solid var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.required {
    color: var(--danger);
    margin-left: 0.25rem;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-privacy label {
    font-size: 0.95rem;
    color: var(--medium);
}

.form-footer .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
}

.form-footer .btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.form-footer .btn:hover i {
    transform: translateX(3px);
}

/* Form Message States */
.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: rgba(var(--success), 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message.error {
    background-color: rgba(var(--danger), 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Location Section */
.location-section {
    background-color: var(--light);
    padding: 5rem 0;
    position: relative;
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(var(--secondary-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-details,
.location-hours,
.location-contact {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-details:hover,
.location-hours:hover,
.location-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-details i,
.location-hours i,
.location-contact i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.location-details h3,
.location-hours h3,
.location-contact h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.location-details p,
.location-hours p,
.location-contact p {
    margin: 0;
    color: var(--medium);
    line-height: 1.7;
}

.location-contact a {
    color: var(--primary);
    transition: color 0.3s ease;
}

.location-contact a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.location-map {
    position: relative;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.location-map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
}

/* Directions Section */
.directions-section {
    margin-top: 4rem;
}

.directions-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.directions-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 1.5px;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.direction-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.direction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.direction-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.direction-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.direction-content {
    flex: 1;
}

.direction-content h4 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.direction-content p {
    color: var(--medium);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.direction-content .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.direction-content .btn-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.direction-content .btn-link:hover {
    color: var(--primary-dark);
}

.direction-content .btn-link:hover i {
    transform: translateX(5px);
}

/* Quick Contact Section */
.quick-contact-section {
    background-color: var(--white);
    padding: 5rem 0;
    position: relative;
}

.quick-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.03), transparent 70%);
    pointer-events: none;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

.contact-card:hover .card-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-card h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--medium);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.contact-card .btn {
    margin-top: auto;
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
}

/* Skip Link for Accessibility */
.skip-link {
    background: var(--primary);
    color: white;
    font-weight: 700;
    left: 50%;
    padding: 0.5rem 1rem;
    position: absolute;
    transform: translateY(-100%) translateX(-50%);
    transition: transform 0.3s;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.skip-link:focus {
    transform: translateY(0%) translateX(-50%);
    outline: 2px solid white;
    outline-offset: 3px;
}

/* Focus States for Accessibility */
a:focus, 
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .contact-cards {
        gap: 1.5rem;
    }
    
    .form-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .directions-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .form-footer {
        flex-direction: column;
    }
    
    .form-privacy {
        margin-bottom: 1rem;
    }
    
    .form-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .location-details,
    .location-hours,
    .location-contact {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .location-details i,
    .location-hours i,
    .location-contact i {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .direction-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .direction-icon {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .benefit-highlights {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .contact-form-container,
    .contact-card,
    .direction-item {
        padding: 1.5rem;
    }
    
    .location-map iframe {
        height: 350px;
    }
}

/* Animation Enhancements */
.contact-form-container,
.location-details,
.location-hours,
.location-contact,
.direction-item,
.contact-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.contact-form-container {
    animation-delay: 0.1s;
}

.location-details,
.location-contact,
.location-hours {
    animation-delay: 0.2s;
}

.direction-item:nth-child(1) {
    animation-delay: 0.3s;
}

.direction-item:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-card:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.3s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* ============================
   New Hero Section Styles
   ============================ */

/* Base Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: 0;
}

.hero-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75));
    z-index: 1;
}

.hero-section-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-section-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
    animation: fadeInUp 1s ease-out forwards;
}

/* Hero Typography */
.hero-section-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #07acc0;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(7, 172, 192, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Feature Grid */
.hero-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 0 auto 2.5rem;
    max-width: 900px;
}

.hero-feature-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-feature-icon {
    background: #07acc0;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(7, 172, 192, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature-item:hover .hero-feature-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(7, 172, 192, 0.5);
}

.hero-feature-icon i {
    color: white;
    font-size: 1.25rem;
}

.hero-feature-content {
    flex: 1;
}

.hero-feature-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-feature-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Call-to-action Buttons */
.hero-section-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.hero-button {
    padding: 0.9rem 2.25rem;
    font-size: 1.05rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    min-width: 200px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: inline-block;
    text-decoration: none;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.hero-button:hover::before {
    transform: translateX(0);
}

.primary-button {
    background-color: #07acc0;
    color: white;
    box-shadow: 0 8px 20px rgba(7, 172, 192, 0.3);
}

.primary-button:hover {
    background-color: #068fa0;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(7, 172, 192, 0.4);
    color: white;
}

.secondary-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: calc(0.9rem - 2px) calc(2.25rem - 2px);
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    color: white;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section-buttons {
        gap: 1rem;
    }
    
    .hero-button {
        min-width: 180px;
        padding: 0.8rem 1.75rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0 5rem;
    }
    
    .hero-section-content {
        padding: 1rem 0;
    }
    
    .hero-feature-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    .hero-section-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-button {
        width: 100%;
        min-width: unset;
    }
    
    .hero-section-subtitle {
        font-size: 0.95rem;
        padding: 0.4rem 1.25rem;
    }
    
    .hero-section-description {
        margin-bottom: 2rem;
    }
    
    .hero-section-scroll {
        bottom: 20px;
    }
    
    .hero-section-scroll a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 5rem 0 4rem;
    }
    
    .hero-feature-item {
        padding: 1rem;
    }
    
    .hero-feature-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    
    .hero-feature-icon i {
        font-size: 1.1rem;
    }
    
    .hero-feature-title {
        font-size: 1rem;
    }
    
    .hero-feature-text {
        font-size: 0.9rem;
    }
    
    .hero-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}



/* 
=============================================
   Professional Font Upgrade
=============================================
*/

/* Import Professional Fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* Alternative Option - Modern Sans-Serif Combination */
/* @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap'); */

/* Alternative Option - Healthcare Professional */
/* @import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&family=Merriweather:wght@400;700;900&display=swap'); */

/* Update CSS Variables */
:root {
    /* Option 1: Elegant & Professional (Recommended) */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Option 2: Modern & Clean */
    /* --font-heading: 'Space Grotesk', sans-serif; */
    /* --font-body: 'Manrope', sans-serif; */
    
    /* Option 3: Healthcare Professional */
    /* --font-heading: 'Merriweather', serif; */
    /* --font-body: 'Source Sans Pro', sans-serif; */
}

/* Enhanced Typography with New Fonts */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600; /* Adjusted for better impact */
    line-height: 1.2; /* Tighter line height for headers */
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
    letter-spacing: -0.02em; /* Subtle negative letter spacing for elegance */
}

h1 {
    font-size: 3rem; /* Increased from 2.75rem */
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem; /* Increased from 2.25rem */
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem; /* Increased from 1.5rem */
    font-weight: 600;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

h5 {
    font-size: 1.2rem;
    font-weight: 600;
}

h6 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Enhanced Body Text */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7; /* Improved readability */
    color: var(--dark);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    font-family: var(--font-body);
    font-size: 1.05rem; /* Slightly larger for better readability */
    line-height: 1.7;
    color: var(--medium);
    font-weight: 400;
}

/* Section Headers Enhancement */
.section-header h2 {
    font-weight: 700; /* Bolder for section headers */
    text-transform: none; /* Remove any text transform */
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* Hero Section Typography */
.hero-section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-section-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-section-description {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

/* Navigation Typography */
.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Button Typography */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Service/Benefit Feature Typography */
.service-text-container h3,
.benefit-text-container h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-text-container p,
.benefit-text-container p {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
}

/* Footer Typography */
.footer-links h3,
.footer-contact h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Testimonial Typography */
.testimonial-content p {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author p {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Form Labels */
label {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Responsive Typography Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
}

/* =============================================
   Featured Events Section - Enhanced
============================================= */

.featured-events-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.featured-events-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40%;
    height: 140%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03), transparent 70%);
    transform: rotate(15deg);
    pointer-events: none;
}

.featured-events-section .section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.featured-events-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.featured-events-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.featured-events-section .section-header p {
    font-size: 1.2rem;
    color: var(--medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Event Card */
.event-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Event Image Container */
.event-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.main-event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .main-event-image {
    transform: scale(1.1);
}

/* Event Overlay */
.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.event-card:hover .event-overlay {
    opacity: 1;
}

.expand-gallery-btn {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.expand-gallery-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--primary);
    color: var(--white);
}

/* Event Badge */
.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Event Content */
.event-content {
    padding: 2rem;
}

/* Event Meta */
.event-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.event-date,
.event-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium);
    font-size: 0.95rem;
    font-weight: 500;
}

.event-date i,
.event-time i {
    color: var(--primary);
    font-size: 1rem;
}

/* Event Title */
.event-content h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Event Description */
.event-content > p {
    color: var(--medium);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Event Highlights */
.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(var(--primary-rgb), 0.15);
    transform: translateY(-2px);
}

.highlight-item i {
    font-size: 0.8rem;
    color: var(--primary);
}

/* Toggle Event Details Button */
.toggle-event-details {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
}

.toggle-event-details:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.toggle-event-details i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.toggle-event-details[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Event Details */
.event-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(var(--primary-rgb), 0.02);
    margin: 1rem -2rem 0;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.event-details.expanded {
    max-height: 800px;
    padding: 2rem;
}

.details-content h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.details-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.details-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--medium);
    line-height: 1.6;
}

.details-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.details-content p {
    color: var(--medium);
    line-height: 1.7;
    font-style: italic;
}

/* Hidden Gallery for Lightbox */
.hidden-gallery {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .events-grid {
        gap: 2.5rem;
    }
    
    .event-content {
        padding: 1.8rem;
    }
}

@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
    }
    
    .event-image-container {
        height: 250px;
    }
    
    .featured-events-section .section-header h2 {
        font-size: 2.2rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .featured-events-section {
        padding: 4rem 0;
    }
    
    .featured-events-section .section-header {
        margin-bottom: 3rem;
    }
    
    .featured-events-section .section-header h2 {
        font-size: 2rem;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .event-content h3 {
        font-size: 1.4rem;
    }
    
    .event-highlights {
        justify-content: center;
    }
    
    .highlight-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .event-details.expanded {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .events-grid {
        max-width: 100%;
    }
    
    .event-image-container {
        height: 200px;
    }
    
    .event-content {
        padding: 1.2rem;
    }
    
    .expand-gallery-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .event-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .toggle-event-details {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Animation States */
.event-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
}

.event-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
.event-card:nth-child(1) { animation-delay: 0.1s; }
.event-card:nth-child(2) { animation-delay: 0.2s; }
.event-card:nth-child(3) { animation-delay: 0.3s; }
.event-card:nth-child(4) { animation-delay: 0.4s; }

/* =============================================
   Enhanced Lightbox Styles
============================================= */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 80vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -60px;
    pointer-events: none;
}

.lightbox-nav {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev {
    position: absolute;
    left: -60px;
}

.lightbox-next {
    position: absolute;
    right: -60px;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .lightbox-container {
        max-height: 70vh;
    }
    
    .lightbox-close {
        top: -40px;
        width: 35px;
        height: 35px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: -50px;
    }
    
    .lightbox-next {
        right: -50px;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .lightbox-controls {
        padding: 0 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-nav {
        width: 35px;
        height: 35px;
    }
}

/* =============================================
   Enhanced Featured Events Section
============================================= */

.featured-events-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.featured-events-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40%;
    height: 140%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03), transparent 70%);
    transform: rotate(15deg);
    pointer-events: none;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Event Card */
.event-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Event Image Container */
.event-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.main-event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .main-event-image {
    transform: scale(1.1);
}

/* Event Overlay */
.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.event-card:hover .event-overlay {
    opacity: 1;
}

.expand-gallery-btn {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.expand-gallery-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--primary);
    color: var(--white);
}

/* Event Badge */
.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Event Content Container */
.event-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Event Meta Information */
.event-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.event-date,
.event-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium);
    font-size: 0.95rem;
    font-weight: 500;
}

.event-date i,
.event-time i {
    color: var(--primary);
    font-size: 1rem;
}

/* Event Title */
.event-content h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Event Description */
.event-content > p {
    color: var(--medium);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Streamlined Event Highlights */
.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(var(--primary-rgb), 0.04);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.highlight-item {
    background: var(--white);
    color: var(--primary-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    font-size: 0.75rem;
    color: var(--primary);
}

/* Toggle Event Details Button - Improved */
.toggle-event-details {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.toggle-event-details:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.toggle-event-details i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.toggle-event-details[aria-expanded="true"] {
    background: var(--primary);
    color: var(--white);
    border-radius: 50px 50px 0 0;
    border-bottom: none;
    margin-bottom: 0;
}

.toggle-event-details[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Event Details - Completely Redesigned */
.event-details {
    background: var(--primary);
    color: var(--white);
    margin: 0 -2rem -2rem -2rem;
    padding: 0;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.event-details.expanded {
    max-height: 500px;
    padding: 2rem;
}

.details-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.event-details.expanded .details-content {
    opacity: 1;
    transform: translateY(0);
}

.details-content h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

.details-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

/* Activities List - Streamlined */
.details-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.details-content li {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.details-content li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.details-content li::before {
    content: '✦';
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Event Summary */
.details-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin: 0;
}

/* Hidden Gallery for Lightbox */
.hidden-gallery {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .events-grid {
        gap: 2.5rem;
    }
    
    .event-content {
        padding: 1.8rem;
    }
    
    .event-details.expanded {
        padding: 1.8rem;
    }
}

@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
    }
    
    .event-image-container {
        height: 250px;
    }
    
    .details-content ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featured-events-section {
        padding: 4rem 0;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .event-content h3 {
        font-size: 1.4rem;
    }
    
    .event-highlights {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .highlight-item {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
    
    .event-details.expanded {
        padding: 1.5rem;
    }
    
    .details-content h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .events-grid {
        max-width: 100%;
    }
    
    .event-image-container {
        height: 200px;
    }
    
    .event-content {
        padding: 1.2rem;
    }
    
    .event-highlights {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .highlight-item {
        justify-content: center;
    }
    
    .toggle-event-details {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .event-details.expanded {
        padding: 1.2rem;
    }
}

/* =============================================
   Event Details & Highlights Fixes
============================================= */

/* Event Highlights Consistent Layout */
.event-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
    min-height: 44px; /* Ensures consistent height */
}

.highlight-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.highlight-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.3;
    flex: 1;
}

/* Event Details Toggle Button */
.toggle-event-details {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0 0 0;
    width: 100%;
    font-size: 0.95rem;
}

.toggle-event-details:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.toggle-event-details i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.toggle-event-details[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.toggle-event-details[aria-expanded="true"] {
    border-radius: 50px 50px 0 0;
    margin-bottom: 0;
}

/* Event Details Content */
.event-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--light);
    border-radius: 0 0 12px 12px;
    margin-top: 0;
}

.event-details.expanded {
    max-height: 1000px;
    padding: 0;
}

.details-content {
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.event-details.expanded .details-content {
    opacity: 1;
    transform: translateY(0);
}

.details-content h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.details-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.details-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--medium);
    line-height: 1.6;
}

.details-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.details-content p {
    color: var(--medium);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Hidden gallery styling */
.hidden-gallery {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-highlights {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
        min-height: 48px;
    }
    
    .highlight-item span {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .toggle-event-details {
        font-size: 0.9rem;
        padding: 0.7rem 1.25rem;
    }
    
    .details-content {
        padding: 1.25rem;
    }
}

/* ========================================
   SCROLL ARROW SIZE STANDARDIZATION
   Makes all hero scroll arrows consistent
   ======================================== */

/* Standardize both .hero-scroll-indicator and .hero-section-scroll */
.hero-scroll-indicator a,
.hero-section-scroll a {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.hero-scroll-indicator a i,
.hero-section-scroll a i {
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Hover state */
.hero-scroll-indicator a:hover,
.hero-section-scroll a:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    transform: translateY(5px) !important;
}

.hero-scroll-indicator a:hover i,
.hero-section-scroll a:hover i {
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-scroll-indicator a,
    .hero-section-scroll a {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
    }
    
    .hero-scroll-indicator a i,
    .hero-section-scroll a i {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {
    /* Navigation toggle for mobile */
    .nav-toggle {
        display: flex;
    }
    
    /* Mobile Navigation Panel */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 100px 2rem 2rem;
        z-index: var(--z-fixed);
        overflow-y: auto;
    }
    
    /* Show mobile nav when active */
    .main-nav.active {
        right: 0;
    }
    
    /* Stack nav items vertically */
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    /* Nav item spacing */
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    /* Nav links - full width touch targets */
    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.05rem;
    }
    
    /* Remove desktop underline effect on mobile */
    .nav-link::after {
        display: none;
    }
    
    /* Contact button adjustments for mobile */
    .nav-link.contact-button {
        display: inline-block;
        margin-top: 1rem;
        text-align: center;
    }
    
}