/* ============================================
   MEC HEALTH FAMILY HOSPITAL - MAIN STYLES
   Modern Healthcare Website Design
   ============================================ */

/* ============================================
   CSS VARIABLES (DESIGN TOKENS)
   ============================================ */

:root {
    /* Brand Colors - From Logo */
    --primary-blue: #1E88C7;
    --primary-blue-dark: #0E7AB8;
    --primary-blue-darker: #0A5A8A;
    --primary-blue-light: #3FA9E5;
    --primary-blue-lighter: #60B8EC;
    --primary-blue-subtle: #E3F2FD;

    --accent-red: #E53935;
    --accent-red-dark: #C62828;
    --accent-red-darker: #A01F1F;
    --accent-red-light: #FF6B6B;
    --accent-red-lighter: #FF9A9A;
    --accent-red-subtle: #FFEBEE;

    /* Semantic Colors */
    --success-green: #10B981;
    --success-green-light: #D1FAE5;
    --warning-yellow: #F59E0B;
    --info-blue: var(--primary-blue);

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-headings: 'Poppins', 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.5rem;    /* 56px */

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-blue: 0 4px 12px rgba(30, 136, 199, 0.2);
    --shadow-red: 0 4px 12px rgba(229, 57, 53, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Layout */
    --container-max: 1280px;
    --nav-height: 80px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

/* ============================================
   LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

section {
    padding: var(--space-3xl) 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: var(--text-4xl);
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PAGE LOADER
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue-darker) 0%, var(--primary-blue) 50%, var(--primary-blue-light) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-red-light));
    z-index: var(--z-fixed);
    transition: width 0.1s ease;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-red);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-red-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
}

.scroll-to-top i {
    transition: transform var(--transition-base);
}

.scroll-to-top:hover i {
    transform: translateY(-3px);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: transform var(--transition-base);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-base), left var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding: var(--space-3xl) var(--space-xl);
    overflow: hidden;
}

/* Dynamic Media Background Container */
.hero-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-media-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-media-item.active {
    opacity: 1;
}

/* Image Zoom Animation */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 15s ease-in-out infinite;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* All hero images get zoom animation */
.hero-media-item picture,
.hero-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-media-item picture {
    display: block;
}

/* Balanced Blue Overlay - Welcoming yet clear for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.62) 0%,       /* Bright blue - welcoming */
        rgba(96, 165, 250, 0.60) 25%,      /* Light medium blue */
        rgba(59, 130, 246, 0.63) 50%,      /* Bright blue center */
        rgba(37, 99, 235, 0.62) 75%,       /* Medium royal blue */
        rgba(59, 130, 246, 0.60) 100%      /* Bright blue accent */
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-motto {
    font-size: var(--text-2xl);
    font-style: italic;
    margin-bottom: var(--space-lg);
    color: var(--accent-red-lighter);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Hero Slider */
.hero-slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-slider-indicators {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--white);
    width: 32px;
    border-radius: 6px;
}

/* Trust Indicators */
.trust-indicators {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
}

.trust-indicator i {
    font-size: var(--text-3xl);
    color: var(--accent-red-lighter);
}

.trust-indicator span {
    font-size: var(--text-sm);
    font-weight: 500;
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

/* Subtle background decoration with Director's image */
.services-bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-image: url('../images/staff_1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    filter: grayscale(100%);
    z-index: 0;
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-blue-subtle);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-icon i {
    font-size: var(--text-3xl);
    color: var(--primary-blue);
    transition: transform var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    color: var(--white);
    transform: rotateY(360deg);
}

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--gray-900);
}

.service-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.about-features {
    margin: var(--space-2xl) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.about-feature:hover {
    background: var(--primary-blue-subtle);
    transform: translateX(10px);
}

.about-feature i {
    font-size: var(--text-xl);
    color: var(--success-green);
}

.about-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.img-rounded {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

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

.about-image-overlay {
    position: absolute;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: var(--accent-red);
    color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: var(--text-sm);
    opacity: 0.9;
}

/* ============================================
   FACILITIES SECTION
   ============================================ */

.facilities {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.5), rgba(255, 255, 255, 0.8)),
                url('../images/patient_treatment1.jpg') center/cover fixed;
    background-blend-mode: overlay;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.facility-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.facility-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue-subtle);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    transition: all var(--transition-base);
}

.facility-icon i {
    font-size: var(--text-2xl);
    color: var(--primary-blue);
}

.facility-card:hover .facility-icon {
    background: var(--primary-blue);
    transform: rotateY(360deg);
}

.facility-card:hover .facility-icon i {
    color: var(--white);
}

.facility-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.facility-card p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    background: var(--gray-50);
}

.testimonial-card-large {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-3xl);
}

.testimonial-image {
    position: relative;
    overflow: hidden;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.testimonial-content {
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-stars {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.testimonial-stars i {
    color: #FFA500;
    font-size: var(--text-lg);
}

.testimonial-title {
    font-size: var(--text-2xl);
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-blue);
}

/* Testimonial Gallery */
.testimonial-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.testimonial-gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.testimonial-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.testimonial-gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: var(--space-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    margin: 0;
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
    margin-bottom: var(--space-2xl);
}

.testimonial-slider .testimonial-card-large {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.testimonial-slider .testimonial-card-large.active {
    opacity: 1;
    position: relative;
    transform: scale(1);
    pointer-events: auto;
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.testimonial-dot:hover {
    background: rgba(30, 136, 199, 0.5);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: var(--primary-blue);
    width: 32px;
    border-radius: 6px;
}

/* ============================================
   OUR MEDICAL TEAM SECTION
   ============================================ */

.our-team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.team-member {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--gray-100);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.team-member:hover .team-image img {
    transform: scale(1.1);
}

.team-caption {
    padding: var(--space-lg);
    text-align: center;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-800);
    background: var(--white);
    margin: 0;
    border-top: 3px solid var(--primary-blue);
}

/* Special styling for portrait image (Director) */
.team-member:nth-child(4) .team-image img {
    object-fit: contain;
    background: var(--gray-50);
    padding: var(--space-md);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    background: linear-gradient(135deg, rgba(10, 90, 138, 0.95) 0%, rgba(30, 136, 199, 0.9) 50%, rgba(229, 57, 53, 0.85) 100%),
                url('../images/Hospital_Image3.jpg') center/cover fixed;
    color: var(--white);
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-lg);
}

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

.contact-icon i {
    font-size: var(--text-xl);
    color: var(--primary-blue);
}

.contact-details h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.contact-details p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.8;
}

.contact-details a {
    color: var(--primary-blue);
    transition: color var(--transition-base);
}

.contact-details a:hover {
    color: var(--accent-red);
}

.hours-highlight {
    color: var(--accent-red);
    font-weight: 600;
    font-size: var(--text-lg);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-blue-darker);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: var(--space-md);
}

.footer-motto {
    font-style: italic;
    font-size: var(--text-lg);
    color: var(--accent-red-lighter);
    margin-bottom: var(--space-md);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.footer h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: var(--space-sm);
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
    display: inline-block;
}

.footer ul li a:hover {
    color: var(--accent-red-lighter);
    padding-left: var(--space-xs);
}

.footer-contact-item {
    display: flex;
    align-items: start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-contact-item i {
    color: var(--accent-red-lighter);
    font-size: var(--text-lg);
    margin-top: 2px;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
}

.hours-badge {
    background: var(--accent-red);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    margin: 0;
}
