/* ====== CSS VARIABLES & RESET ====== */
:root {
    --primary: #0d6e6e;
    --primary-dark: #095252;
    --primary-light: #12a0a0;
    --secondary: #ff6b35;
    --secondary-light: #ff8f5e;
    --text-dark: #1a1a2e;
    --text-gray: #555770;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #0d6e6e 0%, #095252 50%, #063d3d 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Sections */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; background: rgba(13, 110, 110, 0.1);
    color: var(--primary); font-size: 0.85rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 8px 20px; border-radius: 50px; margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700;
    color: var(--text-dark); margin-bottom: 16px; line-height: 1.3;
}
.section-desc { font-size: 1.1rem; color: var(--text-gray); max-width: 600px; margin: 0 auto; }

/* Header */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08); transition: var(--transition);
}
.header.scrolled { background: rgba(255,255,255,0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
.nav-container { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 42px; height: 42px; background: var(--bg-gradient);
    border-radius: 10px; display: flex; align-items: center;
    justify-content: center; color: white; font-size: 1.2rem;
}
.logo-text { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--text-dark); }
.nav-list { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 10px 20px; color: var(--text-gray); font-weight: 500;
    font-size: 0.95rem; transition: var(--transition); border-radius: 8px;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(13, 110, 110, 0.08); }
.btn-call-header {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-gradient); color: white; padding: 12px 24px;
    border-radius: 50px; font-weight: 600; font-size: 0.9rem;
    transition: var(--transition); box-shadow: 0 4px 15px rgba(13, 110, 110, 0.3);
}
.btn-call-header:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13, 110, 110, 0.4); }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 5px; }
.bar { width: 28px; height: 3px; background: var(--text-dark); border-radius: 3px; transition: var(--transition); }

/* Hero */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: var(--bg-gradient); overflow: hidden; padding: 120px 0 80px;
}
.hero-overlay { position: absolute; inset: 0; opacity: 0.5; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-block; background: rgba(255,255,255,0.15); color: white;
    padding: 8px 24px; border-radius: 50px; font-size: 0.9rem;
    font-weight: 500; letter-spacing: 1px; margin-bottom: 20px; backdrop-filter: blur(10px);
}
.hero-text h1 {
    font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700;
    color: white; line-height: 1.2; margin-bottom: 8px;
}
.hero-text h2 { font-size: 1.3rem; font-weight: 400; color: rgba(255,255,255,0.85); margin-bottom: 20px; letter-spacing: 1px; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.75); line-height: 1.8; max-width: 500px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 50px; font-weight: 600;
    font-size: 1rem; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--secondary); color: white; box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3); }
.btn-primary:hover { background: var(--secondary-light); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.hero-stats { display: flex; gap: 30px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: white; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-image { display: flex; justify-content: center; align-items: center; }
.doctor-img {
    width: 340px;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.25);
    transition: var(--transition);
}

.doctor-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.4);
}

.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* About */
.about { background: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.about-card {
    background: var(--bg-light); padding: 40px 30px; border-radius: var(--radius);
    text-align: center; transition: var(--transition); border: 1px solid transparent;
}
.about-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(13, 110, 110, 0.1); }
.about-card-icon {
    width: 70px; height: 70px; background: var(--bg-gradient); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; font-size: 1.8rem; color: white;
}
.about-card h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 12px; color: var(--text-dark); }
.about-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

/* Services */
.services { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card {
    background: var(--bg-white); padding: 35px 28px; border-radius: var(--radius);
    text-align: center; transition: var(--transition); border: 1px solid rgba(0,0,0,0.05);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--bg-gradient); transform: scaleX(0); transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-icon {
    width: 65px; height: 65px; background: rgba(13, 110, 110, 0.08);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.6rem; color: var(--primary); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--bg-gradient); color: white; }
.service-card h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 12px; color: var(--text-dark); }
.service-card p { color: var(--text-gray); font-size: 0.93rem; line-height: 1.7; }

/* Reviews */
.reviews { background: var(--bg-white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.review-card {
    background: var(--bg-light); padding: 32px 28px; border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05); transition: var(--transition);
    display: flex; flex-direction: column;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-stars { color: #ffb400; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.review-text { color: var(--text-gray); font-size: 0.95rem; line-height: 1.8; font-style: italic; margin-bottom: 24px; flex-grow: 1; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
    width: 46px; height: 46px; border-radius: 50%; background: var(--bg-gradient);
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 1.1rem; flex-shrink: 0;
}
.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 600; color: var(--text-dark); font-size: 0.95rem; }
.review-source { font-size: 0.8rem; color: var(--text-gray); display: flex; align-items: center; gap: 5px; }
.review-source .fa-google { color: #4285F4; }
.reviews-cta { text-align: center; margin-top: 45px; }

/* Contact */
.contact { background: var(--bg-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; gap: 20px; background: var(--bg-light); padding: 24px; border-radius: var(--radius); transition: var(--transition); }
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.contact-icon {
    width: 54px; height: 54px; min-width: 54px; background: var(--bg-gradient);
    border-radius: 12px; display: flex; align-items: center;
    justify-content: center; color: white; font-size: 1.3rem;
}
.contact-detail h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.contact-detail p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }
.contact-detail a { color: var(--primary); font-weight: 500; transition: var(--transition); }
.contact-detail a:hover { color: var(--primary-light); }
.contact-cta { margin-top: 10px; }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { display: block; }

/* Footer */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.8); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; color: white; margin-bottom: 16px; font-family: var(--font-heading); }
.footer-logo i { width: 40px; height: 40px; background: var(--bg-gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.footer-brand p { font-size: 0.92rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-link { width: 42px; height: 42px; background: rgba(255,255,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; transition: var(--transition); font-size: 1.1rem; }
.social-link:hover { background: var(--primary); transform: translateY(-3px); }
.footer h4 { color: white; font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-contact i { margin-top: 4px; color: var(--primary-light); }
.footer-hours ul { display: flex; flex-direction: column; gap: 12px; }
.footer-hours li { display: flex; justify-content: space-between; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-hours li span:first-child { color: white; font-weight: 500; }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer-bottom p { margin-bottom: 4px; }
.footer-disclaimer { font-size: 0.75rem; font-style: italic; }

/* Back to Top */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
    background: var(--bg-gradient); color: white; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(13, 110, 110, 0.3);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: var(--transition); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(13, 110, 110, 0.4); }

/* Responsive */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { display: flex; order: -1; margin-bottom: 30px; }
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .btn-call-header { display: none; }
    .section-title { font-size: 2rem; }
}
@media (max-width: 768px) {
    .nav-list { position: fixed; top: 80px; left: -100%; width: 100%; background: white; flex-direction: column; padding: 20px; gap: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); transition: var(--transition); }
    .nav-list.active { left: 0; }
    .nav-link { width: 100%; padding: 14px 20px; font-size: 1.1rem; }
    .hamburger { display: flex; }
    .hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    .hero { padding: 100px 0 60px; }
    .doctor-img { width: 280px; height: 350px; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text h2 { font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.7rem; }
    .contact-card { flex-direction: column; align-items: flex-start; }
    .map-container iframe { height: 300px; }
}
@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .btn-lg { padding: 14px 28px; font-size: 1rem; }
    .doctor-img { width: 240px; height: 300px; }
}
