:root {
    --primary: #0f2b3c;
    --primary-dark: #091a25;
    --accent: #b8860b;
    --text-dark: #1f1a18;
    --text-muted: #4a423e;
    --card-bg: rgba(255, 255, 255, 0.35); /* Pure White 35% Transparent */
    --border: rgba(255, 255, 255, 0.6);
}

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

body {
    font-family: 'Georgia', serif;
    color: var(--text-dark);
    background: url('DesBG.jpg') repeat center center;
    background-size: 1100px 1100px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Headings & Aclonica Styling */
h1, h2, h3, h4, h5, h6, .brand-title, nav a {
    font-family: 'Aclonica', sans-serif, Georgia;
    letter-spacing: 0.1px;
}

h1 { font-size: 1.7rem; line-height: 1.3; }
h2 { font-size: 1.4rem; line-height: 1.3; }
h3 { font-size: 1.05rem; line-height: 1.35; }
h4 { font-size: 0.92rem; }

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeInUp 1.5s ease-out forwards;
}

/* Navigation */
nav {
    background: var(--primary);
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    padding: 1px;
    object-fit: cover;
    border: 2px solid var(--accent);
    transition: transform 0.3s ease;
}

.brand-container:hover .brand-logo {
    transform: scale(1.03);
}

.brand-title {
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
}

.brand-title span { color: #f5d77f; }

nav .links { display: flex; gap: 1.5rem; align-items: center; }
nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s, transform 0.2s;
}
nav a:hover {
    color: #f5d77f;
    transform: translateY(-1px);
}

/* Buttons: Matte, Understated Gold & Navy Outline */
.btn-cta, .btn-secondary {
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    font-family: 'Aclonica', sans-serif;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-cta {
    background: linear-gradient(180deg, #d9b64a 0%, #b8860b 100%);
    color: var(--primary) !important;
    font-weight: bold;
    border: 1px solid #8f6a14;
    box-shadow: 0 2px 6px rgba(15, 43, 60, 0.15);
}

.btn-cta:hover {
    background: linear-gradient(180deg, #c9a53e 0%, #a97709 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 43, 60, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.4);
    color: var(--primary) !important;
    border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(184, 134, 11, 0.12);
    border-color: var(--accent);
    color: var(--accent) !important;
    transform: translateY(-1px);
}

.btn-cta:active, .btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Hero Header with Pure White 35% Transparent Box */
header.hero {
    background: url('HomeBG.jpg') 25% center/cover no-repeat;
    color: var(--text-dark);
    text-align: center;
    padding: 6rem 1.5rem 5rem;
}

.hero-content-box {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.16);
    padding: 2.8rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out forwards;
}

header.hero h1 {
    font-size: 1.7rem;
    margin-bottom: 1.1rem;
    line-height: 1.3;
    color: #000;
}

header.hero p {
    font-size: 1.02rem;
    margin: 0 auto 2rem;
    color: #1f1a18;
    font-weight: 600;
    font-style: italic;
}

.hero-buttons { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }

/* Content Sections */
section { padding: 4rem 5%; max-width: 1200px; margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

/* Pure White Transparent Cards */
.card {
    background: rgba(255, 255, 255, 0.35); /* Pure White 35% Transparent */
    padding: 2.2rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
    animation: fadeInUp 0.9s ease-out forwards;
}

.card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.45);
}

.card h3 { color: var(--primary); margin-bottom: 0.7rem; font-size: 1.05rem; }

.grid-3 .card { display: flex; flex-direction: column; }
.grid-3 .card p { flex-grow: 1; }

.card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}
.card-buttons .btn-cta, .card-buttons .btn-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.82rem;
}

.hikma-box {
    background: rgba(255, 255, 255, 0.35);
    border-left: 5px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1.8rem;
    border-top: 1px solid rgba(255,255,255,0.5);
    border-right: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.team-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    margin-bottom: 1rem;
}

.team-card h3 {
    color: var(--primary);
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.team-title {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
    display: block;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.team-card .view-profile {
    display: inline-block;
    margin-top: 0.9rem;
    font-size: 0.82rem;
    color: var(--primary);
    font-family: 'Aclonica', sans-serif;
}

.team-card:hover .view-profile { color: var(--accent); }

/* Insurance Grid */
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.8rem;
    align-items: stretch;
    margin-top: 2rem;
}

.insurance-logo-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.insurance-logo-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.logo-tile {
    width: 100%;
    height: 76px;
    background: #fdfdfd;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.insurance-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.optum-wordmark {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #FF612B;
    letter-spacing: -0.5px;
}

.insurance-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}

/* Insurance FAQ Block */
.faq-block { max-width: 800px; margin: 3rem auto 0; }
.faq-item {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}
.faq-item h4 {
    color: var(--primary);
    font-family: 'Aclonica', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.faq-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* External Forms Action Section */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.form-card {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 2.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.form-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.45);
}

.form-card h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.form-card p {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    font-size: 0.98rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: #d1c7bd;
    padding: 3.5rem 5% 2rem;
    text-align: center;
    border-top: 3px solid var(--accent);
}
footer p { margin-bottom: 0.6rem; font-size: 0.95rem; }
footer a { color: #f5d77f; text-decoration: none; }

/* Therapist Detail Pages */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    font-family: 'Aclonica', sans-serif;
}
.back-link:hover { color: var(--accent); }

.therapist-hero {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.therapist-hero img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.therapist-hero h1 { color: var(--primary); font-size: 1.45rem; margin-bottom: 0.4rem; }

.therapist-title {
    color: var(--accent);
    font-family: 'Aclonica', sans-serif;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 1rem;
}

.credential-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.credential-tag {
    background: rgba(184, 134, 11, 0.15);
    color: var(--primary);
    border: 1px solid rgba(184, 134, 11, 0.4);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
}

.bio-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; align-items: start; }

.bio-main p { margin-bottom: 1.1rem; }

.bio-sidebar .card { margin-bottom: 1.5rem; }
.bio-sidebar h4 {
    color: var(--primary);
    font-family: 'Aclonica', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}
.bio-sidebar ul { padding-left: 1.1rem; line-height: 1.8; font-size: 0.92rem; }

/* Embedded Form Pages */
.form-embed-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 0.6rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    backdrop-filter: blur(8px);
}

.form-embed-wrap iframe {
    width: 100%;
    height: 1100px;
    border: none;
    border-radius: 10px;
    background: #fff;
    display: block;
}

/* Intake form: 3-step form. Step 1 alone has 9+ fields plus two
   Sheet-driven checkbox grids that can run to a dozen+ items each,
   so it needs much more room than the contact form. Sized generously
   on purpose — better to have some empty space on the shorter steps
   than to cut off step 1. */
.form-embed-wrap.tall iframe {
    height: 3200px;
}

/* Tablet-landscape / small-laptop gap: not narrow enough for the
   768px mobile rules, but too narrow to fit the full brand name and
   all 6 nav items in a single row without wrapping awkwardly. */
@media (max-width: 1100px) {
    nav { flex-direction: column; gap: 1rem; }
    .links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
    header.hero h1 { font-size: 1.4rem; }
    .hero-content-box { padding: 1.8rem 1.2rem; }
    .therapist-hero { grid-template-columns: 1fr; text-align: center; }
    .therapist-hero img { margin: 0 auto; }
    .credential-tags { justify-content: center; }
    .bio-grid { grid-template-columns: 1fr; }
    .form-embed-wrap iframe { height: 1600px; }
    .form-embed-wrap.tall iframe { height: 5200px; }
}
