/* Variables */
:root {
    --primary: #1F4E5B; /* Deep teal / Soft navy */
    --primary-light: #2A6A7B;
    --secondary: #E3A6A1; /* Dusty rose */
    --secondary-light: #F2D5D3;
    --accent: #E3A6A1;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-main: #FAFAFA;
    --bg-light: #FFFFFF;
    --white: #FFFFFF;
    
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Header height */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    font-weight: 800;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }
.small-text { font-size: 0.875rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Glassmorphism utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon, .logo-text {
    display: none;
}

.header-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    transform-origin: left;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-light);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--secondary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
}

.hero-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/5;
    width: 100%;
}

.stat-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.85);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-color: var(--secondary-light);
    opacity: 0.3;
    border-radius: 300px 0 0 300px;
    z-index: -1;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.features-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.about-doctors {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.doctors-title {
    margin-bottom: 24px;
    font-size: 1.75rem;
}

.doctors-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doctors-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.doctors-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.doctors-list strong {
    color: var(--primary);
}

.doctors-list span {
    color: var(--text-muted);
    font-size: 0.875rem;
    background-color: var(--bg-main);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* Services */
.bg-light {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-main);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-light);
    transform: translateY(-5px);
}

.service-icon {
    width: 120px;
    height: 120px;
    background-color: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-text {
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.pricing .section-title {
    color: var(--white);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 60px;
}

.pricing-text p {
    font-size: 1.125rem;
    margin-bottom: 20px;
    max-width: 800px;
    opacity: 0.9;
}

.insurance-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.insurance-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.c-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background-color: var(--secondary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opening-hours {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    padding-bottom: 8px;
}

.hours-list li:last-child {
    border: none;
    padding-bottom: 0;
}

.hours-list span:first-child {
    font-weight: 500;
}

.contact-map {
    height: 100%;
    min-height: 400px;
}

.map-wrapper {
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-icon {
    background-color: var(--white);
    color: var(--primary);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--white);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    color: white;
}

/* Page Content typography */
.page-content h1 {
    margin-bottom: 24px;
}

.page-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.page-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.page-content p {
    margin-bottom: 16px;
}

.page-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
    list-style: disc;
}

.page-content ul li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stat-card {
        bottom: 20px;
        left: 20px;
    }
    
    .contact-map {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .nav-btn { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero {
        padding-top: 120px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .glass-panel {
        padding: 30px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.slide-left {
    transform: translateX(-40px);
}

.slide-up {
    transform: translateY(40px);
}

.fade-in {
    transform: scale(0.95);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}
