/* CSS Variables for Medical Theme - Ultra Soft & Premium */
:root {
    --primary-color: #2C5E7A;
    /* Slate/Teal Blue - Professional & Calm */
    --accent-color: #B89E75;
    /* Muted Gold - Authority & Premium */
    --secondary-color: #E8F1F5;
    /* Very Light Blue - Backgrounds */
    --bg-light: #FFFFFF;
    /* Pure White */
    --text-dark: #2c3e50;
    /* Dark Blue-Grey Text */
    --text-muted: #576574;
    /* Muted Text */
    --success-color: #27ae60;
    --font-heading: 'Ubuntu', sans-serif;
    --font-body: 'Ubuntu', sans-serif;
    /* Could switch to Roboto/Open Sans for body if needed */
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    font-family: var(--font-body);
    background-color: #fcfcfc;
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

/* Layout Containers */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo i {
    margin-right: 10px;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-weight: 400;
    color: var(--text-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-cta {
    background-color: var(--accent-color);
    color: white !important;
    padding: 12px 28px;
    border-radius: 2px;
    /* Square/Premium look */
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid var(--accent-color);
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--accent-color) !important;
}

/* Hero Section Refined */
.hero-wrapper {
    position: relative;
    padding: 140px 0;
    /* Increased padding slightly for vertical balance */
    background-color: var(--secondary-color);
    overflow: hidden;
    /* Removed flex to standard block layout to ensure text stays left */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 40px;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    /* Reduced from 50% to balance layout */
    height: 100%;
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(to right, transparent, black 15%);
    /* Softer fade */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%);
    z-index: 1;
}

/* Sections */
section {
    padding: 100px 0;
}

/* Cards (Problems/Conditions) */
.problem-card {
    background: white;
    padding: 40px 30px;
    border-radius: 5px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.problem-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    opacity: 0.8;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Bio Section */
.bio-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.bio-image-container {
    flex: 1;
    position: relative;
}

.bio-image-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    z-index: 0;
}

.bio-image {
    width: 100%;
    border-radius: 2px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bio-content {
    flex: 1;
}

/* Footer */
footer {
    background: #1a252f;
    color: #ecf0f1;
    padding: 80px 0 30px;
    margin-top: 0;
}

.footer-grid h3 {
    color: white;
    border-bottom: none;
    font-size: 1.2rem;
    opacity: 0.9;
}

.footer-grid h3::after {
    display: none;
}

.footer-col p,
.footer-col a {
    color: #bdc3c7;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.social-links a {
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Mobile */
.mobile-toggle {
    display: none;
    color: var(--primary-color);
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    /* Simplified mobile for now */
    .hero-wrapper {
        flex-direction: column;
        padding: 60px 0 0;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .hero-content a {
        display: inline-block;
        margin: 10px 0;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 400px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .bio-section {
        flex-direction: column;
    }

    .mobile-toggle {
        display: block;
    }
}