/* CSS Variables for Main Colors - Dark Theme */
:root {
    --primary-color: #60A3D9;
    /* Light Blue for Dark Mode */
    --primary-dark: #003B73;
    /* Original Deep Blue (kept for Hero) */
    --primary-light: #8dc6ef;

    --secondary-color: #00a8cc;
    /* Bright Teal */
    --accent-color: #003B73;

    --text-main: #f0f6fc;
    /* White-ish */
    --text-muted: #8b949e;
    /* Grey */

    --bg-body: #0d1117;
    /* Dark Background */
    --bg-card: #21262d;
    /* Card Background */
    --white: #21262d;
    /* Redefine 'white' to card dark for compat */

    --success: #2ea043;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.8);

    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    padding-top: 70px;
    /* Reset space for larger header */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
.header {
    background-color: rgba(13, 17, 23, 0.95);
    /* Dark */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    /* Increased height for larger logo */
}

/* Logo - Header */
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    width: 550px;
    /* Width to align with Hero Logo */
    text-align: center;
}

.logo .highlight {
    color: var(--secondary-color);
}

/* Logo - Hero */
.hero-logo {
    height: 365px;
    width: 550px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 2rem;
    margin-top: -50px;
    display: block;
}

.nav-list {
    display: flex;
    gap: 1rem;
    /* Reduced gap to fit everything */
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    /* Switch to heading font for premium look */
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link.btn-primary {
    color: var(--white);
    padding: 10px 25px;
    font-size: 0.95rem;
    background-color: var(--secondary-color);
    border-radius: 50px;
    border: none;
}

.nav-link.btn-primary:hover {
    color: var(--white);
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Referrals Section */
.referrals-section {
    background-color: var(--bg-card);
    /* Dark card background for contrast */
    color: var(--text-main);
    padding: 4rem 0 2rem;
}

.referral-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.referral-content p {
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('assets/hero.png') no-repeat center center/cover;
    overflow: hidden;
}

/* ... (overlay) ... */

.hero-content {
    max-width: 550px;
    /* Match stack width */
    z-index: 1;
    position: relative;
    text-align: center;
    /* Center H1 and P */
}

/* Hero Section */
/* Force Light-Theme colors for Hero since background is fixed light image */
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    /* Force Deep Blue */
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
    /* Force Dark Grey */
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    /* Center buttons */
}

.hero .btn-secondary {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
    font-weight: 700;
}

.hero .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Notice Bar */
.notice-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.95rem;
    text-align: center;
}

/* Sections Base */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-lead {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* About Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(96, 163, 217, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Philosophy Section */
.philosophy-section {
    background-color: var(--bg-light);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-text {
    flex: 1;
}

.split-image-placeholder {
    flex: 1;
}

.philosophy-list li {
    margin-bottom: 2rem;
}

.philosophy-list h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.philosophy-list h3 i {
    color: var(--success);
    font-size: 1rem;
}

.placeholder-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 400px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.placeholder-content i {
    font-size: 6rem;
    /* Bigger icon */
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Doctor Section */
.doctor-card {
    display: flex;
    flex-direction: column;
    /* Mobile first stack */
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 3rem auto 0;
}

@media (min-width: 768px) {
    .doctor-card {
        flex-direction: row;
    }
}

.doctor-image-placeholder {
    background-color: #eee;
    min-height: 300px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #ccc;
}

.doctor-info {
    padding: 3rem;
    flex: 1.5;
}

.doctor-role {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.doctor-bio {
    margin-bottom: 1.5rem;
}

.credentials span {
    display: inline-block;
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-title::after {
    background-color: var(--accent-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    background: var(--white);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item p,
.contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

.hours-box {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-box h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hours-box ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    padding-bottom: 0.25rem;
}

.map-box {
    min-height: 400px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: #00284d;
    /* Darker than primary */
    color: rgba(255, 255, 255, 0.6);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 2rem;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 1.35rem;
        /* Reduced by 25% from 1.8rem */
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.8);
    }

    .hero-subtitle {
        font-size: 0.75rem;
        /* Reduced by 25% from 1rem */
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 5px rgba(255, 255, 255, 0.8);
        font-weight: 600;
        margin-bottom: 1.5rem;
        /* Reduced spacing */
    }

    .hero .btn {
        padding: 9px 21px;
        /* Reduced by 25% */
        font-size: 0.75rem;
        /* Reduced by 25% */
    }

    .hero .btn-secondary {
        color: #fff;
        border-color: #fff;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        /* Shadow for contrast */
    }

    .hero {
        height: 50vh;
        min-height: 400px;
        background-position: center top;
        background-image: url('assets/hero_mobile.png');
        /* Use new image for mobile */
    }

    .hero-logo {
        height: 105px;
        /* Reduced by 25% from 140px */
        width: auto;
        margin-top: 0;
        margin-bottom: 1rem;
        /* Adjust spacing */
    }



    .logo {
        width: auto;
        /* Remove fixed width */
        font-size: 1.2rem;
        /* Smaller font on mobile */
        text-align: left;
        margin-right: 1rem;
        /* Add space between logo and menu icon */
    }

    .split-layout {
        flex-direction: column;
    }

    .placeholder-content {
        font-size: 1.25rem;
        /* Reduced slightly more */
        height: 400px;
        /* Force height */
        min-height: 400px;
        padding: 0 2rem;
        /* Add spacing on sides */
        text-align: center;
        /* Ensure centered */
    }
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.education-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
}

.education-card h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
}

.resource-list li {
    margin-bottom: 0.75rem;
}

.resource-list a {
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.resource-list a:hover {
    color: var(--secondary-color);
}

.resource-list i {
    font-size: 0.8rem;
    opacity: 0.6;
}