/* 
   Alpha Care - Premium Design System 
   Theme: Blue & Silver
   Font: Outfit (Google Fonts) 
*/

:root {
    /* Color Palette */
    --primary-blue: #0A2342;
    /* Deep Royal Blue */
    --secondary-blue: #2CA58D;
    /* Teal accent (optional, for vibrancy) - or sticking to silver logic: */
    --accent-silver: #E8E9EB;
    /* Light Silver */
    --metallic-silver: #A0A4B8;
    /* Darker Silver for borders/text */
    --pure-white: #FFFFFF;
    --off-white: #F9FAFB;
    --dark-text: #1A1A1A;
    --light-text: #F0F0F0;

    /* Gradients */
    --hero-gradient: linear-gradient(135deg, var(--primary-blue) 0%, #153B68 100%);
    --silver-gradient: linear-gradient(135deg, #F0F0F0 0%, #D8D8D8 100%);
    --silver-metallic: linear-gradient(135deg, #E0E0E0 0%, #B0B0B0 50%, #E0E0E0 100%);
    --silver-border: #C0C0C0;

    /* Spacing */
    --section-padding: 5rem 2rem;
    --container-width: 1200px;

    /* Shadows */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Boilerplate */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--off-white);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--pure-white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background: var(--silver-metallic);
    color: var(--primary-blue);
    border-color: #D8D8D8;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--silver-border);
}

.btn-outline:hover {
    background: var(--silver-metallic);
    color: var(--primary-blue);
    border-color: #D8D8D8;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--metallic-silver);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Start transparent on home? Or just white? 
       To be safe with the top bar, let's make it white or have a transition.
       The existing code uses .scrolled. Let's keep that logic but allow top bar. */
    background: transparent;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background: var(--primary-blue);
    color: var(--pure-white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    transition: var(--transition);
}

/* header.scrolled .top-bar {
    height: 0; overflow: hidden; padding: 0; opacity: 0; 
} */

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    align-items: center;
}

.top-bar a {
    color: var(--accent-silver);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--pure-white);
}

.nav-container {
    padding: 1rem 0;
    /* Nav padding */
}

header.scrolled .nav-container {
    padding: 0.8rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    list-style: none;
    position: relative;
}

/* Dropdown */
.nav-links li .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--pure-white);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-width: 160px;
    padding: 0.5rem 0;
    z-index: 1000;
    list-style: none;
}

.nav-links li .dropdown li {
    padding: 0;
}

.nav-links li .dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--dark-text) !important;
    font-size: 0.9rem;
    white-space: nowrap;
    border-radius: 0;
}

.nav-links li .dropdown a:hover {
    background: var(--off-white);
    color: var(--primary-blue) !important;
}

.nav-links li:hover .dropdown,
.nav-links li.dropdown-open .dropdown {
    display: block;
}

/* Dropdown arrow indicator */
.nav-links li.has-dropdown>a::after {
    content: ' ▾';
    font-size: 0.7rem;
    opacity: 0.7;
}


.nav-links a {
    font-weight: 500;
    color: var(--pure-white);
    /* Default for transparent header */
    position: relative;
}

/* header:not(.scrolled) .nav-links a.btn-nav-highlight {
    keep button style 
} */

/* When Scrolled (White BG) */
header.scrolled .nav-links a {
    color: var(--dark-text);
}

.nav-links a:hover {
    color: var(--secondary-blue);
}

/* Nav Button Style */
.btn-nav-highlight {
    background: var(--primary-blue);
    color: var(--pure-white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary-blue);
}

header.scrolled .btn-nav-highlight {
    background: var(--primary-blue);
    color: var(--pure-white) !important;
}

.btn-nav-highlight:hover {
    background: var(--secondary-blue) !important;
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Adjust mobile menu for fixed header */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--pure-white);
    margin: 3px 0;
    transition: 0.4s;
}

header.scrolled .menu-toggle .bar {
    background-color: var(--primary-blue);
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section — Video Slider */
#hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: var(--pure-white);
}

/* Each slide stacked on top of each other */
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
    padding-top: 80px;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Full-cover background video per slide */
.hero-slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content .cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-slide.active .hero-content {
    animation: fadeInUp 0.9s ease-out both;
}

.hero-content h1 {
    color: var(--pure-white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: var(--accent-silver);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Dot indicators */
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

/* About Section */
#about {
    padding: var(--section-padding);
    background: var(--pure-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}



/* Mission & Vision Cards */
#mission-vision {
    padding: var(--section-padding);
    background: var(--off-white);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-blue);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--metallic-silver);
}

/* Services Section */
#services {
    padding: var(--section-padding);
    background: var(--pure-white);
}

.service-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--pure-white);
}

.service-card:hover .btn-primary {
    background: var(--pure-white);
    color: var(--primary-blue);
    border-color: var(--pure-white);
}

/* Contact / Footer */
footer {
    background: var(--primary-blue);
    color: var(--pure-white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--pure-white);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--accent-silver);
    margin-bottom: 0.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--accent-silver);
}

.footer-col ul li a:hover {
    color: var(--pure-white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(192, 192, 192, 0.2);
    color: var(--metallic-silver);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--pure-white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Support Top Bar in Mobile */
    header .top-bar {
        display: none;
        /* Hide top bar on mobile to save space, or stack it */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        color: var(--dark-text);
    }

    .menu-toggle {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .logo img {
        height: 60px;
    }

    .stat-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -50px;
        margin-left: 20px;
    }
}

/* Contact Widget Styles */
.widget-card {
    background: var(--pure-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Faint border */
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.widget-icon {
    position: relative;
    top: -2px;
    /* Visual adjustment */
}

/* Hand icon styling to mimic the "tap" effect in image if possible, or just clean icon */
.widget-icon svg {
    color: var(--primary-blue);
    fill: rgba(10, 35, 66, 0.05);
    /* Very light fill */
}

.widget-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--dark-text);
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-full:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
}


.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.widget-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: var(--dark-text);
    font-weight: 500;
    transition: background 0.2s;
}

.widget-list li a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
    /* Subtle movement */
}

.list-icon {
    color: var(--metallic-silver);
}

/* Widget Grid Layout */
.widget-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    max-width: 1200px !important;
    /* Override inline style from previous step if needed */
}

.widget-col-left {
    display: flex;
    flex-direction: column;
}

.widget-col-right {
    height: 100%;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hours-list {
    font-size: 0.95rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--dark-text);
}

.hours-row .day {
    font-weight: 500;
    width: 50px;
}

.hours-row .time {
    color: #555;
}

.open-status {
    color: var(--secondary-blue);
    font-weight: 700;
    margin-left: 10px;
    font-size: 0.9rem;
}

.open-status.status-closed {
    color: #e74c3c;
}

.current-day-highlight {
    background: rgba(44, 165, 141, 0.05);
    border-radius: 4px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    position: relative;
}

.current-day-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 3px;
    background: var(--secondary-blue);
    border-radius: 2px;
}

@media (max-width: 900px) {
    .widget-grid {
        grid-template-columns: 1fr;
        max-width: 600px !important;
        margin: 0 auto;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }
}

/* Amenities Section Styles */
.amenities-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.amenity-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-weight: 500;
}

.amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--dark-text);
}

.amenity-icon.check {
    color: var(--dark-text);
    /* Standard checkmark color from image seems plain black/dark */
}



/* Storytelling Components */
.story-section {
    padding: var(--section-padding);
    background: var(--pure-white);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.story-card {
    background: var(--off-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Trust Strip */
.trust-strip {
    background: var(--primary-blue);
    color: white;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.trust-item svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-blue);
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.story-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.story-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-img-container img {
    transform: scale(1.1);
}

.story-content {
    padding: 2rem;
}

.story-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.story-content p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.story-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-indicator span {
    transition: transform 0.3s ease;
}

.story-card:hover .story-indicator span {
    transform: translateX(5px);
}

/* Interactive List (Flyer Features) */
.interactive-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* Wider columns */
    gap: 1.5rem;
    margin-top: 2rem;
}

.interactive-item {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.interactive-item:hover {
    transform: translateX(10px);
    background: var(--off-white);
    border-left-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.item-icon {
    font-size: 2rem;
    /* Larger icons */
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 165, 141, 0.1);
    border-radius: 50%;
    color: var(--secondary-blue);
    transition: var(--transition);
}

.interactive-item:hover .item-icon {
    background: var(--primary-blue);
    color: var(--pure-white);
    transform: rotate(360deg);
}

.item-text h4 {
    margin-bottom: 0.3rem;
    color: var(--dark-text);
    font-size: 1.2rem;
}

.item-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #666;
    line-height: 1.4;
}

/* Quote/Highlight Box from Flyer */
.flyer-highlight {
    background: linear-gradient(135deg, var(--primary-blue), #153B68);
    color: var(--pure-white);
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem auto;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

.flyer-highlight::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 15rem;
    opacity: 0.1;
    font-family: serif;
    color: var(--pure-white);
}

.flyer-highlight h3 {
    color: var(--pure-white);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.flyer-highlight p {
    color: var(--accent-silver);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* =========================================
   FAQ Premium Redesign
   ========================================= */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-3px);
    /* Lift effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    /* Deep shadow on hover */
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0d2c56;
    /* Dark blue specific */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    outline: none;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question .icon {
    font-size: 1.2rem;
    font-weight: 300;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(44, 165, 141, 0.1);
    /* Light green tint */
    color: var(--secondary-blue);
    transition: all 0.3s ease;
}

/* Specific active state */
.faq-question.active .icon {
    background: var(--primary-blue);
    color: var(--pure-white);
    transform: rotate(45deg);
    /* Rotate for X shape */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: #fdfdfd;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* =========================================
   Footer Styles
   ========================================= */
#footer {
    background-color: var(--primary-blue);
    color: var(--pure-white);
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--accent-silver);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--pure-white);
    transform: translateX(5px);
}

.footer-col p {
    color: var(--accent-silver);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--accent-silver);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--pure-white);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 1rem;
    }
}

/* Page Hero Reusable Styles */
.page-hero {
    position: relative;
    height: 65vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
    margin-top: -80px;
    /* Pull behind transparent header */
    padding-top: 80px;
    /* Compensate for header */
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.65);
    color: #ffffff;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 1;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.97);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* ── Text-to-Speech Widget ───────────────────────────────── */
.tts-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.tts-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 18px rgba(10, 35, 66, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.tts-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(10, 35, 66, 0.45);
}

.tts-btn.speaking {
    background: var(--secondary-blue);
}

.tts-btn.speaking::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid var(--secondary-blue);
    animation: tts-pulse 1.2s ease-out infinite;
}

@keyframes tts-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.tts-stop-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: #fff;
    color: var(--primary-blue);
    font-size: 1rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

.tts-stop-btn:hover {
    transform: scale(1.1);
}

.tts-stop-btn.visible {
    display: flex;
}

.tts-tooltip {
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    letter-spacing: 0.5px;
}

.tts-widget:hover .tts-tooltip {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .tts-widget {
        bottom: 1.2rem;
        right: 1.2rem;
    }
}

/* =========================================
   Hero Badge (above H1)
   ========================================= */
.hero-badge {
    display: inline-block;
    background: rgba(44, 165, 141, 0.2);
    color: var(--secondary-blue);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(44, 165, 141, 0.35);
    backdrop-filter: blur(5px);
}

/* =========================================
   Who We Serve Section
   ========================================= */
.who-we-serve-section {
    padding: 5rem 2rem;
    background: var(--pure-white);
}

.who-serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.who-serve-card {
    background: var(--off-white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.who-serve-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.who-serve-card:hover::before {
    transform: scaleX(1);
}

.who-serve-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.who-serve-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
}

.who-serve-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.who-serve-card p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* =========================================
   Quick CTA Section (blue full-width)
   ========================================= */
.quick-cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #153B68 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.quick-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(44, 165, 141, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.quick-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

/* =========================================
   Services CTA (light background)
   ========================================= */
.services-cta-section {
    padding: 4rem 2rem;
    background: var(--pure-white);
}

/* =========================================
   Services Detail Cards
   ========================================= */
.services-detail-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--off-white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
    transition: all 0.35s ease;
    position: relative;
}

.services-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 16px 0 0 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-detail-card:hover::before {
    opacity: 1;
}

.services-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.services-detail-icon {
    font-size: 3rem;
    min-width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 165, 141, 0.1);
    border-radius: 16px;
    flex-shrink: 0;
}

.services-detail-content h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.services-detail-intro {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 1.25rem !important;
    line-height: 1.7;
}

.services-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.services-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 500;
}

.services-check-list .check-icon {
    color: var(--secondary-blue);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.services-detail-note {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(10, 35, 66, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* =========================================
   Why Families Choose
   ========================================= */
.why-choose-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-choose-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--dark-text);
    font-size: 1.05rem;
}

.why-choose-item:hover {
    transform: translateX(8px);
    box-shadow: var(--hover-shadow);
    border-left: 4px solid var(--secondary-blue);
}

.why-choose-check {
    color: var(--secondary-blue);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* =========================================
   Service Area Tags
   ========================================= */
.area-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.area-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--off-white);
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.05rem;
    border: 2px solid rgba(10, 35, 66, 0.1);
    transition: all 0.3s ease;
}

.area-tag:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 35, 66, 0.2);
}

/* =========================================
   Compliance Box
   ========================================= */
.compliance-box {
    padding: 2rem 2.5rem;
    background: var(--pure-white);
    border-radius: 16px;
    border: 2px solid rgba(10, 35, 66, 0.1);
    box-shadow: var(--card-shadow);
}

/* =========================================
   Responsive — New Components
   ========================================= */
@media (max-width: 768px) {
    .who-serve-grid {
        grid-template-columns: 1fr;
    }

    .services-detail-card {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }

    .services-detail-icon {
        min-width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .services-check-list {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .area-tags {
        flex-direction: column;
        align-items: center;
    }

    .why-choose-item {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }
}

/* =========================================
   About Page — Grid Layouts
   ========================================= */
.about-page-hero {
    height: 85vh;
    min-height: 650px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

/* =========================================
   About Page — Responsive
   ========================================= */
@media (max-width: 900px) {
    .about-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .interactive-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-page-hero {
        height: 70vh;
        min-height: 450px;
        background-attachment: scroll;
    }

    .page-hero {
        background-attachment: scroll;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .about-stats-grid>div>div:first-child {
        font-size: 2.2rem !important;
    }

    .about-stats-grid>div>div:last-child {
        font-size: 0.8rem !important;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
    }

    .about-mv-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .interactive-list {
        grid-template-columns: 1fr;
    }

    .interactive-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .about-page-hero {
        height: 60vh;
        min-height: 380px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .about-stats-grid>div>div:first-child {
        font-size: 1.8rem !important;
    }
}