/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
   :root {
    /* Color Palette */
    --primary: #1A3C34;      /* Deep Forest Green */
    --primary-light: #2A5A4F;
    --secondary: #A9C2B8;    /* Soft Sage */
    --accent: #E5A98C;       /* Soft Peach/Warm Tone */
    
    /* Neutral Colors */
    --bg-light: #FAFAF8;     /* Off-white */
    --bg-white: #FFFFFF;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    
    /* Typography */
    --font-family: 'Outfit', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Borders & Shadows */
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(12px);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

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

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

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

.text-white {
    color: var(--bg-white) !important;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.8);
}

.bg-light {
    background-color: var(--bg-white);
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--primary-light);
    gap: 0.75rem;
}

.w-100 {
    width: 100%;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-title {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.nav-btn {
    padding: 0.5rem 1.25rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Overlay to ensure text legibility */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(250, 250, 248, 0.9) 0%, rgba(250, 250, 248, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(169, 194, 184, 0.3); /* Sage with opacity */
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--secondary), var(--bg-white));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.image-placeholder span {
    font-weight: 500;
    opacity: 0.7;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

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

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

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

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(229, 169, 140, 0.3); /* Accent border on hover */
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(26, 60, 52, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* ==========================================================================
   Experience Timeline Section
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--secondary);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid var(--bg-light);
    box-shadow: 0 0 0 4px rgba(26, 60, 52, 0.1);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.timeline-date {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Credentials & Gallery Section
   ========================================================================== */
.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.credential-box {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.credential-box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.credential-box-header i {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(26, 60, 52, 0.05);
    padding: 0.75rem;
    border-radius: var(--radius-md);
}

.credential-box-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.credential-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.credential-list li {
    display: flex;
    flex-direction: column;
}

.credential-list strong {
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(169, 194, 184, 0.2), rgba(250, 250, 248, 1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: var(--transition);
}

.gallery-placeholder:hover {
    background: rgba(169, 194, 184, 0.4);
}

.gallery-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.gallery-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
}

/* ==========================================================================
   Clinics Section
   ========================================================================== */
.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.clinic-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.clinic-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.clinic-card h3 {
    margin-bottom: 0.5rem;
}

.clinic-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Booking / CTA Section
   ========================================================================== */
.booking-container {
    background-color: var(--primary);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.booking-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(169, 194, 184, 0.1) 0%, rgba(26, 60, 52, 0) 70%);
}

.booking-content {
    position: relative;
    z-index: 1;
}

.contact-info-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--bg-white);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.booking-widget {
    position: relative;
    z-index: 1;
}

.calendly-placeholder {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.calendly-placeholder i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.calendly-placeholder h3 {
    margin-bottom: 0.5rem;
}

.calendly-placeholder p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.placeholder-note {
    display: block;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-white);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-brand .license {
    font-size: 0.875rem;
    margin-top: 1rem;
    opacity: 0.7;
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.125rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.social-icons a:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease-in-out;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero-text {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .image-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
