/* ============================================
   KIMA MISSION HOSPITAL - MAIN STYLESHEET
   Colors: True Blue #66A7E1 | Cream #FFF8E7
   ============================================ */

:root {
    --primary: #66A7E1;
    --primary-dark: #209CEE;
    --primary-light: #8fc4ed;
    --primary-rgb: 102, 167, 225;
    --secondary: #FFF8E7;
    --cream-dark: #F5E6C8;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border: #e0e0e0;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; overflow-x: hidden; background: var(--white); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--dark); line-height: 1.3; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--primary); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); color: var(--white); padding: 15px 0; z-index: 9999; font-size: 0.9rem; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); animation: slideUp 0.5s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-banner .btn-primary { background: var(--primary); border-color: var(--primary); }
.cookie-banner .btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.cookie-banner .btn-outline-primary:hover { background: var(--primary); color: var(--white); }

/* Top Bar */
.top-bar { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%); padding: 10px 0; font-size: 0.85rem; }
.top-bar-list { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; }
.top-bar-list li { color: rgba(255,255,255,0.8); }
.top-bar-list li i { color: var(--primary); margin-right: 8px; }
.top-bar-list a { color: rgba(255,255,255,0.8); }
.top-bar-list a:hover { color: var(--primary); }
.top-bar-social { list-style: none; display: flex; gap: 15px; margin: 0; padding: 0; justify-content: flex-end; }
.top-bar-social a { color: rgba(255,255,255,0.7); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); transition: var(--transition); }
.top-bar-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* Main Navigation */
.main-nav { background: var(--white); padding: 0; box-shadow: var(--shadow); transition: var(--transition); }
.main-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
.navbar-brand { padding: 15px 0; }
.brand-wrapper { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.brand-tagline { font-size: 0.75rem; color: var(--primary); font-weight: 500; letter-spacing: 0.5px; }
.navbar-nav { gap: 5px; }
.nav-link { font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem; color: var(--dark) !important; padding: 30px 15px !important; position: relative; transition: var(--transition); }
.nav-link::after { content: ''; position: absolute; bottom: 20px; left: 15px; right: 15px; height: 2px; background: var(--primary); transform: scaleX(0); transition: var(--transition); border-radius: 2px; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.dropdown-menu { border: none; box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 10px; margin-top: 0; animation: fadeIn 0.2s ease; }
.dropdown-item { padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 500; color: var(--text); transition: var(--transition); }
.dropdown-item:hover { background: var(--secondary); color: var(--primary); padding-left: 25px; }
.btn-appointment { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white) !important; padding: 12px 25px !important; border-radius: 50px; font-weight: 600; font-size: 0.9rem; box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3); border: none; transition: var(--transition); }
.btn-appointment:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4); color: var(--white) !important; }

/* Mobile Call Bar */
.mobile-call-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); display: flex; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); z-index: 1030; border-top: 1px solid var(--border); }
.mobile-call-bar a { flex: 1; padding: 15px; text-align: center; font-weight: 600; font-size: 0.9rem; color: var(--white); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.mobile-call-bar a:first-child { background: linear-gradient(135deg, var(--danger) 0%, #c82333 100%); }
.mobile-call-bar a i { margin-right: 8px; }

/* Hero Section */
.hero-section { position: relative; height: 90vh; min-height: 600px; overflow: hidden; }
.hero-swiper { width: 100%; height: 100%; }
.hero-slide { position: relative; width: 100%; height: 100%; display: flex; align-items: center; }
.hero-slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.hero-slide-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(26,26,46,0.45) 0%, rgba(22,33,62,0.30) 50%, rgba(26,26,46,0.35) 100%); }
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 0 20px; }
.hero-badge { display: inline-block; background: rgba(var(--primary-rgb), 0.2); border: 1px solid var(--primary); color: var(--primary-light); padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 25px; backdrop-filter: blur(10px); }
.hero-title { font-size: 3.5rem; font-weight: 800; color: var(--white); margin-bottom: 20px; line-height: 1.2; }
.hero-title span { color: var(--primary); }
.hero-text { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 35px; max-width: 600px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-hero-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 15px 35px; border-radius: 50px; font-weight: 600; font-size: 1rem; border: none; box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3); transition: var(--transition); display: inline-flex; align-items: center; gap: 10px; }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.4); color: var(--white); }
.btn-hero-outline { background: transparent; color: var(--white); padding: 15px 35px; border-radius: 50px; font-weight: 600; font-size: 1rem; border: 2px solid rgba(255,255,255,0.3); transition: var(--transition); display: inline-flex; align-items: center; gap: 10px; }
.btn-hero-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.hero-swiper .swiper-pagination { bottom: 40px; }
.hero-swiper .swiper-pagination-bullet { width: 12px; height: 12px; background: rgba(255,255,255,0.5); opacity: 1; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--primary); width: 30px; border-radius: 6px; }
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev { color: var(--white); background: rgba(255,255,255,0.1); width: 55px; height: 55px; border-radius: 50%; backdrop-filter: blur(10px); transition: var(--transition); }
.hero-swiper .swiper-button-next:hover, .hero-swiper .swiper-button-prev:hover { background: var(--primary); }
.hero-swiper .swiper-button-next::after, .hero-swiper .swiper-button-prev::after { font-size: 1.2rem; }

/* Hero Stats */
.hero-stats { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 40px 0; position: relative; z-index: 10; margin-top: -60px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.stat-item { text-align: center; color: var(--white); padding: 20px; }
.stat-icon { font-size: 2.5rem; margin-bottom: 15px; opacity: 0.9; }
.stat-number { font-size: 2.5rem; font-weight: 800; font-family: var(--font-heading); margin-bottom: 5px; }
.stat-label { font-size: 0.95rem; opacity: 0.9; font-weight: 500; }

/* Section Common */
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { display: inline-block; background: rgba(var(--primary-rgb), 0.1); color: var(--primary); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.section-title { font-size: 2.5rem; margin-bottom: 20px; color: var(--dark); }
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* About Section */
.about-section { background: var(--white); }
.about-image-wrapper { position: relative; }
.about-main-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-main-image img { width: 100%; height: 500px; object-fit: cover; transition: var(--transition); }
.about-main-image:hover img { transform: scale(1.05); }
.about-exp-badge { position: absolute; bottom: -20px; right: -20px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 25px 35px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-lg); }
.about-exp-badge .years { font-size: 3rem; font-weight: 800; line-height: 1; display: block; }
.about-exp-badge .text { font-size: 0.9rem; font-weight: 500; }
.about-content h3 { font-size: 2rem; margin-bottom: 20px; }
.about-content p { color: var(--text-light); margin-bottom: 20px; }
.about-features { list-style: none; padding: 0; margin: 25px 0; }
.about-features li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-weight: 500; }
.about-features li i { width: 35px; height: 35px; background: rgba(var(--primary-rgb), 0.1); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }

/* Services */
.services-section { background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%); }
.service-card { background: var(--white); border-radius: var(--radius); padding: 40px 30px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent; height: 100%; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%); transform: scaleX(0); transition: var(--transition); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: rgba(var(--primary-rgb), 0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 80px; height: 80px; background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 2rem; color: var(--primary); transition: var(--transition); }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); transform: rotateY(360deg); }
.service-card h4 { font-size: 1.25rem; margin-bottom: 15px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; }
.service-link { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; }
.service-link i { transition: var(--transition); }
.service-link:hover i { transform: translateX(5px); }

/* Departments */
.dept-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); height: 100%; }
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.dept-image { position: relative; overflow: hidden; height: 250px; }
.dept-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.dept-card:hover .dept-image img { transform: scale(1.1); }
.dept-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 60%); }
.dept-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 25px; color: var(--white); }
.dept-content h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.dept-content p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 15px; }
.dept-content .btn-sm { background: var(--primary); color: var(--white); border: none; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; }

/* Why Choose Us */
.why-section { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%); color: var(--white); position: relative; overflow: hidden; }
.why-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: rgba(var(--primary-rgb), 0.05); border-radius: 50%; }
.why-section .section-title, .why-section .section-label { color: var(--white); }
.why-section .section-subtitle { color: rgba(255,255,255,0.7); }
.why-item { display: flex; gap: 20px; margin-bottom: 30px; }
.why-icon { width: 60px; height: 60px; min-width: 60px; background: rgba(var(--primary-rgb), 0.2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); }
.why-text h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 10px; }
.why-text p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 0; }
.why-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-image img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonials */
.testimonials-section { background: var(--secondary); }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); position: relative; margin: 20px 10px; }
.testimonial-card::before { content: '"'; position: absolute; top: 20px; left: 30px; font-size: 5rem; color: var(--primary); opacity: 0.2; font-family: Georgia, serif; line-height: 1; }
.testimonial-text { font-style: italic; color: var(--text-light); margin-bottom: 25px; position: relative; z-index: 1; font-size: 1rem; 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(--primary); }
.testimonial-author h5 { font-size: 1rem; margin-bottom: 5px; }
.testimonial-author span { font-size: 0.85rem; color: var(--primary); font-weight: 500; }

/* Team */
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); text-align: center; }
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.team-image { position: relative; overflow: hidden; height: 300px; }
.team-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.team-card:hover .team-image img { transform: scale(1.1); }
.team-social { position: absolute; bottom: -50px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; padding: 15px; background: linear-gradient(to top, rgba(26,26,46,0.9), transparent); transition: var(--transition); }
.team-card:hover .team-social { bottom: 0; }
.team-social a { width: 40px; height: 40px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: var(--transition); }
.team-social a:hover { background: var(--primary); color: var(--white); }
.team-info { padding: 25px; }
.team-info h4 { font-size: 1.2rem; margin-bottom: 5px; }
.team-info span { color: var(--primary); font-size: 0.9rem; font-weight: 500; }

/* Appointment */
.appointment-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); position: relative; overflow: hidden; }
.appointment-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>'); background-size: 100px; }
.appointment-content { position: relative; z-index: 1; color: var(--white); }
.appointment-content h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 20px; }
.appointment-content p { opacity: 0.9; font-size: 1.1rem; }
.appointment-form-wrapper { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.form-control, .form-select { padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; transition: var(--transition); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1); }
.form-label { font-weight: 600; color: var(--dark); margin-bottom: 8px; font-size: 0.9rem; }
.btn-submit { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 15px; border: none; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; width: 100%; transition: var(--transition); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3); }

/* News */
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); height: 100%; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-image { height: 220px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-card:hover .news-image img { transform: scale(1.1); }
.news-content { padding: 25px; }
.news-meta { display: flex; gap: 15px; margin-bottom: 15px; font-size: 0.85rem; color: var(--text-muted); }
.news-meta i { color: var(--primary); margin-right: 5px; }
.news-content h4 { font-size: 1.15rem; margin-bottom: 12px; line-height: 1.4; }
.news-content h4 a { color: var(--dark); }
.news-content h4 a:hover { color: var(--primary); }
.news-content p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 15px; }

/* Gallery */
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.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(var(--primary-rgb), 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; }

/* Contact */
.contact-info-card { background: var(--white); border-radius: var(--radius); padding: 35px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); height: 100%; border: 1px solid var(--border); }
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.contact-info-icon { width: 70px; height: 70px; background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: var(--primary); }
.contact-info-card h4 { font-size: 1.2rem; margin-bottom: 15px; }
.contact-info-card p { color: var(--text-light); margin-bottom: 5px; }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 450px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%); padding: 120px 0 80px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(102,167,225,0.1)" stroke-width="1"/></svg>'); background-size: 80px; }
.page-header-content { position: relative; z-index: 1; color: var(--white); text-align: center; }
.page-header-content h1 { color: var(--white); font-size: 3rem; margin-bottom: 15px; }
.breadcrumb { background: transparent; justify-content: center; margin: 0; padding: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.8); }
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--primary); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* Timeline */
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 2px; height: 100%; background: linear-gradient(to bottom, var(--primary), var(--primary-light)); }
.timeline-item { position: relative; margin-bottom: 50px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-content { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; width: 45%; }
.timeline-item:nth-child(odd) .timeline-content { margin-left: auto; margin-right: 55%; }
.timeline-item:nth-child(even) .timeline-content { margin-left: 55%; }
.timeline-dot { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); width: 20px; height: 20px; background: var(--primary); border-radius: 50%; border: 4px solid var(--white); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2); }
.timeline-year { display: inline-block; background: var(--primary); color: var(--white); padding: 5px 15px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; }
.timeline-content h4 { font-size: 1.2rem; margin-bottom: 10px; }
.timeline-content p { color: var(--text-light); margin: 0; }

/* Values */
.value-card { background: var(--white); border-radius: var(--radius); padding: 35px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border-top: 4px solid var(--primary); height: 100%; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-icon { width: 70px; height: 70px; background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: var(--primary); }
.value-card h4 { font-size: 1.2rem; margin-bottom: 12px; }
.value-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* Footer */
.main-footer { background: linear-gradient(135deg, var(--dark) 0%, #0f0f1e 100%); color: var(--white); }
.footer-top { padding: 80px 0 50px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; font-family: var(--font-heading); }
.footer-brand i { color: var(--primary); font-size: 1.8rem; }
.footer-about { color: rgba(255,255,255,0.7); margin-bottom: 20px; line-height: 1.8; }
.footer-contact-info p { color: rgba(255,255,255,0.7); margin-bottom: 10px; font-size: 0.95rem; }
.footer-contact-info i { color: var(--primary); width: 20px; margin-right: 10px; }
.footer-contact-info a { color: rgba(255,255,255,0.7); }
.footer-contact-info a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 42px; height: 42px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-widget h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 25px; position: relative; padding-bottom: 15px; }
.footer-widget h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: var(--primary); border-radius: 2px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.footer-links a i { font-size: 0.7rem; color: var(--primary); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-hours { list-style: none; padding: 0; margin: 0; }
.footer-hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-hours li:last-child { border-bottom: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; }
.copyright { color: rgba(255,255,255,0.6); margin: 0; font-size: 0.9rem; }
.footer-bottom-links { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; justify-content: flex-end; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-bottom-links a:hover { color: var(--primary); }

/* Back to Top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); color: var(--white); }

/* Alerts */
.alert { border: none; border-radius: var(--radius-sm); padding: 15px 20px; }
.alert-success { background: rgba(40, 167, 69, 0.1); color: #155724; border-left: 4px solid var(--success); }
.alert-danger { background: rgba(220, 53, 69, 0.1); color: #721c24; border-left: 4px solid var(--danger); }
.alert-warning { background: rgba(255, 193, 7, 0.1); color: #856404; border-left: 4px solid var(--warning); }
.alert-info { background: rgba(23, 162, 184, 0.1); color: #0c5460; border-left: 4px solid var(--info); }

/* Pagination */
.pagination .page-link { color: var(--primary); border: 1px solid var(--border); padding: 10px 18px; font-weight: 500; }
.pagination .page-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* Logo */
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-tagline {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1199px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
}
@media (max-width: 991px) {
    .section-padding { padding: 70px 0; }
    .hero-section { height: auto; min-height: 500px; padding: 100px 0 80px; }
    .hero-title { font-size: 2.5rem; }
    .hero-text { font-size: 1rem; }
    .hero-stats { margin-top: 0; border-radius: 0; }
    .navbar-collapse { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-top: 15px; }
    .nav-link { padding: 12px 15px !important; }
    .nav-link::after { display: none; }
    .about-exp-badge { right: 10px; bottom: -10px; padding: 15px 25px; }
    .about-exp-badge .years { font-size: 2rem; }
    .timeline::before { left: 20px; }
    .timeline-dot { left: 20px; }
    .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content { width: auto; margin-left: 60px; margin-right: 0; }
    .page-header-content h1 { font-size: 2.2rem; }
    .footer-bottom-links { justify-content: center; margin-top: 15px; }
    .copyright { text-align: center; }
}
@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
    .appointment-form-wrapper { padding: 25px; }
    .testimonial-card { padding: 30px 20px; }
    .page-header { padding: 100px 0 60px; }
    .page-header-content h1 { font-size: 1.8rem; }
}
@media (max-width: 575px) {
    .hero-title { font-size: 1.7rem; }
    .brand-name { font-size: 1.1rem; }
    .section-title { font-size: 1.6rem; }
    .stat-number { font-size: 2rem; }
    .about-main-image img { height: 350px; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.img-placeholder { background: linear-gradient(135deg, var(--light-bg) 0%, var(--border) 100%); display: flex; align-items: center; justify-content: center; color: var(--text-muted); min-height: 200px; }