/* --- PREMIUM TYPOGRAPHY IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');
/* --- MINIMALIST COLOR PALETTE --- */
:root {--bg-cream: #FAF8F5;
    --bg-stone: #F0EFEA;
    --text-dark: #302D2A;
    --accent-dark: #3B332C;

    /* Stripe-style smooth shadows */
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* --- GENERAL & UTILITIES --- */
body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

/* Premium Serif applied to all major headings */
h1, h2, h3, .hero-title, .section-heading, .services-heading {
    font-family: 'Lora', serif;
}

.container-1200 { max-width: 1200px; margin: 0 auto; }
.container-1100 { max-width: 1100px; margin: 0 auto; }
.container-800 { max-width: 800px; margin: 0 auto; }
.text-center { text-align: center; }

/* --- BUTTONS --- */
.btn-primary {background-color: var(--accent-dark);color: var(--bg-cream);padding: 12px 24px;border-radius: 4px;text-decoration: none;font-weight: 500;display: inline-block;border: none;transition: transform 0.2s ease, opacity 0.2s ease;}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-hero {display: inline-block;background-color: var(--text-dark);color: var(--bg-cream);padding: 1.2rem 3.5rem;font-size: 1.1rem;border-radius: 50px;text-decoration: none;font-weight: 600;transition: transform 0.2s ease;margin-top: 3rem;}
.btn-hero:hover {transform: scale(1.05);}
.btn-outline {border: 1px solid var(--accent-dark);color: var(--accent-dark);padding: 12px 25px;border-radius: 4px;text-decoration: none;font-weight: 500;display: inline-block;transition: background-color 0.2s ease, color 0.2s ease;}
.btn-outline:hover { background-color: var(--accent-dark); color: var(--bg-cream); }

/* --- HEADER & FOOTER --- */
.main-header { background-color: var(--bg-cream); border-bottom: 1px solid var(--bg-stone); padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo-link { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 500; color: var(--text-dark); text-decoration: none; }
.nav-list { list-style: none; display: flex; gap: 2.5rem; margin: 0; align-items: center; padding: 0; }
.nav-link { color: var(--text-dark); text-decoration: none; font-weight: 400; transition: opacity 0.2s ease; }
.nav-link:hover { opacity: 0.6; }

.main-footer { background-color: var(--text-dark); color: var(--bg-cream); padding: 5rem 2rem 2rem; margin-top: auto; }
.footer-container { display: flex; gap: 3rem; flex-wrap: wrap; justify-content: space-between; }
.footer-col { flex: 1; min-width: 280px; }
.footer-col-small { flex: 1; min-width: 200px; }
.footer-brand { font-family: 'Playfair Display', serif; color: var(--bg-cream); font-size: 1.8rem; margin-bottom: 1rem; }
.footer-heading { color: var(--bg-cream); font-size: 1.2rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem; }
.footer-text { margin-bottom: 0.5rem; font-size: 1rem; color: var(--bg-stone); font-weight: 300; }
.footer-list { list-style: none; padding: 0; margin: 0; font-size: 1rem; line-height: 2; color: var(--bg-stone); font-weight: 300; }
.footer-list-item { display: flex; justify-content: space-between; }
.footer-link { color: var(--bg-stone); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }
.footer-link-nounderline { color: var(--bg-stone); text-decoration: none; transition: opacity 0.2s ease; }
.footer-link-nounderline:hover { opacity: 0.7; }
.copyright-bar { margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: rgba(255,255,255,0.5); font-weight: 300; }

/* --- HERO SECTION --- */
.hero-section {position: relative;width: 100vw;height: 90vh;display: flex;align-items: flex-start;justify-content: center;padding-top: 15vh;overflow: hidden;}
.hero-content {position: relative;z-index: 2;text-align: center;padding: 0 2rem;max-width: 800px;}
.hero-title {font-size: clamp(3.5rem, 6vw, 6rem);
    color: #2c2c2c; /* Softer charcoal */
    font-weight: 400; /* Lighter weight for elegance */
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0px 4px 15px rgba(255,255,255, 0.5); /* Subtle glow to lift it off the image */
}

.hero-text {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
    color: #595959;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.arched-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 0;
    display: block;
}
/* --- ABOUT SECTION --- */
.about-section { padding: 4rem 2rem; background-color: var(--bg-stone);}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.section-heading { color: var(--accent-dark); margin-bottom: 1.5rem; font-size: 2.8rem; font-weight: 400; }
.section-text { font-size: 1.1rem; line-height: 1.8; margin-bottom: 2.5rem; color: var(--text-dark); font-weight: 300; }
.about-image { width: 100%; max-width: 500px; height: auto; border-radius: 8px; box-shadow: var(--shadow-soft); }

/* --- POLICIES SECTIONS --- */
.services-section, .pricing-section { padding: 2rem 1rem; background-color: var(--bg-cream); }
.services-heading { color: var(--accent-dark); margin-bottom: 2.5rem; font-weight: 400; font-size: 2.8rem; }

/* --- MEET OUR TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: left;
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(59, 51, 44, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.team-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.team-card-title {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    color: var(--accent-dark);
    margin: 0 0 0.3rem 0;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 500;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.team-desc {
    font-size: 0.95rem;
    color: #595959;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

/* --- MEET OUR TEAM SECTION --- */
.team-section { padding: 2rem 1rem; background-color: var(--bg-cream); }

/* --- HORIZONTAL CAROUSEL TRACK --- */
.card-grid {display: flex;flex-wrap: nowrap;justify-content: safe center;overflow-x: auto;scroll-snap-type: x mandatory;gap: 2.5rem;padding-bottom: 2.5rem;}
.card {box-sizing: border-box;background: #ffffff;padding: 3rem 2.5rem;border-radius: 12px;flex: 0 0 320px;width: 320px;scroll-snap-align: center;display: flex;flex-direction: column;transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;overflow: hidden;border: 1px solid rgba(59, 51, 44, 0.1);box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);}
.card-grid::-webkit-scrollbar {display: none;}
.card:hover {transform: translateY(-8px);box-shadow: var(--shadow-hover);}
.card-title { color: var(--accent-dark); margin-bottom: 1rem; font-weight: 500; font-size: 1.5rem; }
.card-text { margin-bottom: 1.5rem; line-height: 1.7; font-weight: 300; font-size: 1.05rem; }
.card-text-condensed { margin-bottom: 0.8rem; line-height: 1.6; font-weight: 300; font-size: 1rem; }
.card-bottom, .card-link {margin-top: auto;}
.card-link { color: var(--accent-dark); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(59, 51, 44, 0.3); padding-bottom: 2px; transition: border-color 0.2s ease; align-self: flex-start; }
.card-link:hover { border-color: var(--accent-dark); }

/* --- CARD IMAGES --- */
.card-image {
    margin: -3rem -2.5rem 2rem -2.5rem;
    width: calc(100% + 5rem);
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}
.container-1200 {
    max-width: 1250px;
    margin: 0 auto;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .hero-split { flex-direction: column; text-align: center; gap: 3rem; }
    .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .hero-title { font-size: 3rem; }
    .arched-image { height: 450px; border-radius: 200px 200px 10px 10px; }
    .about-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .section-heading, .services-heading { font-size: 2.2rem; }
    .nav-list { gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
    .main-header { flex-direction: column; padding: 1.5rem; }
}

/* Mobile Responsiveness for the Grid */
@media (max-width: 1024px) {
    .clean-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .clean-card-grid { grid-template-columns: 1fr; }
}

/* --- INTEGRATED MINIMALIST FAQ --- */
.integrated-faq-section {
    max-width: 800px;
    margin: 5rem auto 4rem auto;
    padding: 0 2rem;
}

.minimal-faq-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888;
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.integrated-faq-section .minimal-faq-category:first-of-type {
    margin-top: 0;
}

.minimal-faq-list {
    display: flex;
    flex-direction: column;
}

.minimal-faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem 0;
}

.minimal-faq-summary {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    cursor: pointer;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.minimal-faq-summary::-webkit-details-marker {
    display: none;
}

.minimal-faq-summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.minimal-faq-item[open] .minimal-faq-summary::after {
    transform: rotate(45deg);
}

.minimal-faq-text {
    margin-top: 1.5rem;
    color: #595959;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* MY ACCOUNT PAGE */
.account-wrapper {background-color: #F4F8F5;padding: 5rem 2rem;min-height: 80vh;font-family: 'Inter', sans-serif;}
.account-header {text-align: center;margin-bottom: 3rem;}
.account-header h1 {font-family: 'Lora', serif; color: #2c2c2c;font-size: clamp(2.5rem, 4vw, 3.2rem);font-weight: 400;letter-spacing: -1px;margin: 0;}
.account-card {background: #ffffff;max-width: 600px;margin: 0 auto;border-radius: 8px;padding: 3rem;box-shadow: 0 4px 10px rgba(0,0,0,0.05);border: 1px solid #e0e0e0;}
.detail-row {display: flex;justify-content: space-between;padding: 1rem 0;border-bottom: 1px solid #f0f0f0;}
.detail-label {font-weight: bold;color: #333333;}
.detail-value {color: #666666;}
.account-actions {margin-top: 2rem;text-align: center;}
.account-disclaimer {margin-top: 3rem;background-color: #F0EFEA;border-left: 4px solid #3B332C;padding: 1.5rem;border-radius: 0 4px 4px 0;}
.account-disclaimer h4 {color: #333333;margin-top: 0;margin-bottom: 0.5rem;font-size: 1.1rem;}
.account-disclaimer p {color: #555555;font-size: 0.95rem;line-height: 1.5;margin-bottom: 1rem;}
.account-disclaimer .contact-info {margin-bottom: 0;color: #3B332C;}
.account-actions {margin-top: 2.5rem;display: flex;justify-content: center;gap: 1.5rem;flex-wrap: wrap;}

/* PERSONAL HEALTH DASHBOARD (BRAND THEME) */
.dash-wrapper {
    background-color: #F4F7F6; /* Brand background color */
    padding: 4rem 2rem;
    min-height: 80vh;
    font-family: Arial, sans-serif;
}

.dash-header {
    max-width: 1100px;
    margin: 0 auto 3rem auto;
}

.dash-header h1 {
    color: #005A9C; /* Brand primary blue */
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

/* Grid Layout */
.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Right column is wider */
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.dash-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Reusable Clean Cards */
.dash-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.dash-card-header {
    background-color: #ffffff;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #F4F7F6;
}

.dash-card-header h2 {
    color: #333333;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
}

.dash-card-body {
    padding: 2rem;
}

/* Left Column: Details */
.dash-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.dash-detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: bold;
    color: #333333;
}

.detail-value {
    color: #666666;
}

.dash-details-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #005A9C;
}

.dash-note {
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.4;
}

.btn-text {
    color: #005A9C;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Left Column: Appointments */
.dash-appt-box {
    background-color: #F4F7F6;
    border-radius: 6px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.appt-date-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.appt-time {
    font-size: 1.2rem;
    font-weight: bold;
    color: #005A9C;
}

.appt-date {
    font-weight: bold;
    color: #333333;
}

.appt-type {
    font-size: 0.85rem;
    color: #666666;
    margin-top: 4px;
}

.appt-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.appt-clinician {
    font-size: 0.9rem;
    color: #333333;
}

.btn-outline-small {
    padding: 6px 12px;
    border: 1px solid #005A9C;
    color: #005A9C;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-outline-small:hover {
    background-color: #005A9C;
    color: #ffffff;
}

/* Right Column: Exercises */
.exercise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exercise-subtitle {
    font-size: 0.95rem;
    color: #666666;
    background-color: #F4F7F6;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
}

/* Progress Bar */
.dash-progress-section {
    margin-bottom: 2rem;
    background-color: #ffffff;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #333333;
}

.progress-labels strong {
    color: #005A9C;
}

.progress-track {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #005A9C;
    border-radius: 5px;
    transition: width 0.4s ease;
}

/* Exercise List */
.exercise-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exercise-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.exercise-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.ex-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333333;
    font-weight: bold;
}

.ex-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666666;
}

.ex-checkbox {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #005A9C;
}

.exercise-item.completed {
    background-color: #e8f5e9;
    border-color: #a5d6a7;
}

.exercise-item.completed .ex-info h4,
.exercise-item.completed .ex-info p {
    color: #2e7d32;
}

.ex-status {
    color: #2e7d32;
    font-size: 1.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .dash-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SMOOTH SCROLLING --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Mobile Responsiveness for Team Grid */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
