/*
 * Mwihila Mission Hospital - Main Stylesheet
 * Primary Color: Navy Blue #000080
 * Secondary Color: White #FFFFFF
 * Accent: Dodger Blue #1E90FF
 */

/* ============================================
   CSS VARIABLES & ROOT
   ============================================ */
:root {
    --navy: #000080;
    --navy-light: #1a1a99;
    --navy-dark: #000060;
    --white: #FFFFFF;
    --accent: #1E90FF;
    --accent-light: #4DA6FF;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    --light-bg: #F8F9FA;
    --lighter-bg: #F0F4F8;
    --border: #E2E8F0;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* ============================================
   BASE & RESET
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: var(--navy);
    color: var(--white);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-navy { background-color: var(--navy) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-light { background-color: var(--light-bg) !important; }
.bg-lighter { background-color: var(--lighter-bg) !important; }
.text-navy { color: var(--navy) !important; }
.text-accent { color: var(--accent) !important; }
.text-white-50 { color: rgba(255,255,255,0.7) !important; }

.btn-navy {
    background-color: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-navy:hover {
    background-color: var(--navy-dark);
    border-color: var(--navy-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-navy {
    border: 2px solid var(--navy);
    color: var(--navy);
    background: transparent;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-outline-navy:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--navy);
    border-color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background-color: var(--white);
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
}

.btn-white:hover {
    background-color: var(--light-bg);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar a:hover {
    color: var(--accent-light) !important;
}

.top-bar .btn-outline-light {
    border-width: 1px;
    font-size: 0.8rem;
    padding: 4px 12px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    padding: 0;
    min-height: 80px;
    transition: var(--transition);
}

.navbar-brand {
    font-family: var(--font-heading);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text) !important;
    padding: 30px 15px !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--navy) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius);
    padding: 10px 0;
    margin-top: 0;
    min-width: 220px;
}

.dropdown-menu-animate {
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    color: var(--text);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--navy);
    padding-left: 25px;
}

.dropdown-divider {
    margin: 8px 15px;
    border-color: var(--border);
}

.btn-appointment {
    background-color: var(--navy) !important;
    border-color: var(--navy) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
}

.btn-appointment:hover {
    background-color: var(--navy-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sticky nav shadow */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Mobile Call Button */
.mobile-call-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--navy);
}

.mobile-call-btn .btn {
    padding: 15px;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 128, 0.35) 0%,
        rgba(0, 0, 128, 0.22) 50%,
        rgba(0, 0, 128, 0.12) 100%
    );
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: heroTitleIn 1s ease-out;
}

.hero-content .lead {
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 400;
    opacity: 0.95;
    animation: heroTextIn 1s ease-out 0.3s both;
}

.hero-content .hero-buttons {
    animation: heroButtonsIn 1s ease-out 0.6s both;
}

.hero-content .btn {
    margin: 5px;
    padding: 14px 32px;
    font-size: 1rem;
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroButtonsIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid var(--white);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    font-size: 1.2rem;
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--navy);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
}

/* ============================================
   INFO BAR (Below Hero)
   ============================================ */
.info-bar {
    background: var(--navy);
    color: var(--white);
    padding: 30px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-item h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 3px;
}

.info-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--navy);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.about-image-badge .text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content .lead {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 25px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.about-feature-item i {
    width: 45px;
    height: 45px;
    background: var(--light-bg);
    color: var(--navy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature-item h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.about-feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--light-bg);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--navy);
    color: var(--white);
    transform: rotateY(360deg);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-card .service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-card .service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* ============================================
   STATS COUNTER
   ============================================ */
.stats-section {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   DEPARTMENTS
   ============================================ */
.department-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.department-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.department-card:hover img {
    transform: scale(1.1);
}

.department-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,128,0.95), rgba(0,0,128,0.6), transparent);
    color: var(--white);
    transition: var(--transition);
}

.department-card:hover .department-overlay {
    padding-bottom: 40px;
}

.department-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.department-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: var(--lighter-bg);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    margin-top: 30px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--navy);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--navy);
}

.testimonial-author h5 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   DOCTORS / TEAM
   ============================================ */
.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.doctor-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0,0,128,0.9);
    transition: var(--transition);
}

.doctor-card:hover .doctor-social {
    bottom: 0;
}

.doctor-social a {
    width: 35px;
    height: 35px;
    background: var(--white);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.doctor-social a:hover {
    background: var(--accent);
    color: var(--white);
}

.doctor-info {
    padding: 25px;
}

.doctor-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.doctor-info span {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   APPOINTMENT SECTION
   ============================================ */
.appointment-section {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.appointment-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.03);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.appointment-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    color: var(--text);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.appointment-form-wrapper h3 {
    color: var(--navy);
    margin-bottom: 25px;
    text-align: center;
}

.form-control, .form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(0,0,128,0.1);
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 8px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy);
}

.contact-info-card i {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-info-card:hover i {
    background: var(--navy);
    color: var(--white);
}

.contact-info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,128,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-wrapper {
    background: var(--light-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--navy);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--navy);
}

.service-detail-card .service-icon-large {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    color: var(--navy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-detail-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-detail-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
}

.service-detail-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail-card ul li:last-child {
    border-bottom: none;
}

.service-detail-card ul li i {
    color: var(--success);
}

/* ============================================
   NEWS / BLOG
   ============================================ */
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card .news-content {
    padding: 25px;
}

.news-card .news-date {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.news-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

.footer-brand h4 {
    color: var(--white);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255,255,255,0.7);
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social .social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 20px 0;
    z-index: 9999;
    border-top: 3px solid var(--navy);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-text {
    font-size: 0.95rem;
    color: var(--text);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    padding: 0;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background-color: var(--navy-dark);
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Pulse animation for emergency */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        box-shadow: none;
        border-left: 3px solid var(--navy);
        margin-left: 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-image-badge {
        right: 10px;
        bottom: -10px;
        padding: 20px 25px;
    }
    
    .info-bar {
        margin-top: 0;
        border-radius: 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-content .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .appointment-form-wrapper {
        padding: 25px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-image-badge .years {
        font-size: 2rem;
    }
    
    .cookie-consent {
        padding: 15px 0;
    }
    
    .cookie-text {
        font-size: 0.85rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy);
    color: var(--white);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --navy: #000080;
        --text: #000000;
        --border: #000000;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .top-bar, .navbar, .footer, .mobile-call-btn,
    .back-to-top, .cookie-consent, .slider-controls,
    .slider-arrows, .btn-appointment {
        display: none !important;
    }
    
    body {
        color: #000;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .hero-slider {
        height: auto;
        min-height: auto;
    }
    
    .hero-content {
        position: relative;
        transform: none;
        color: #000;
    }
    
    .hero-content h1 {
        color: #000;
        text-shadow: none;
    }
}