/* ===================================
   UT SOUTHWESTERN — PRECISION MEDICINE
   Custom Styles
   ===================================

   Layered on top of:
     theme-variables.css
     template-base.css
     components.css

   TODO: Replace placeholder blue palette in theme-variables.css
         with official UT Southwestern brand colors once assets
         are available.

   TODO: Add favicon files to /images/ once brand assets are available.
   TODO: Add official institution logo to replace text brand in nav once available.
   TODO: Configure Google Analytics 4 / Google Tag Manager once IDs are available.
   TODO: Add Silktide cookie banner once cookie policy is confirmed.
*/

/* ===================================
   UT SOUTHWESTERN THEME OVERRIDES
   Official brand colors applied — UT Southwestern Medical Center
   Primary Blue:  #004c97 (Pantone 2945)
   Dark Navy:     #00355d (Pantone 2955)
   Light Blue:    #009ee2 (Pantone 299) — decorative only
   Gray:          #636466 (Pantone 431)
   =================================== */
:root {
    --primary-color: #004c97;
    --secondary-color: #00355d;
    --accent-color: #004c97;           /* Same as primary — ensures WCAG AA on white */
    --accent-secondary: #009ee2;       /* Decorative light blue — icons, dividers, not body text */

    --primary-light: rgba(0, 76, 151, 0.08);
    --secondary-light: #1a5fa8;
    --accent-light: rgba(0, 158, 226, 0.1);

    --bg-light: #f0f5fb;               /* Subtle blue-tinted light background */
    --bg-neutral: #f8f9fa;
    --text-muted: #636466;             /* UTSW Gray */
}

/* ===================================
   CONTACT EYEBROW STRIP
   =================================== */
.contact-eyebrow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1035; /* sits above Bootstrap navbar z-index of 1030 */
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.8125rem;
    padding: 0.4rem 0;
    letter-spacing: 0.01em;
}

.contact-eyebrow a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.contact-eyebrow a:hover,
.contact-eyebrow a:focus {
    opacity: 0.8;
    text-decoration: underline;
}

.contact-eyebrow .eyebrow-divider {
    margin: 0 0.625rem;
    opacity: 0.5;
}

.contact-eyebrow i {
    font-size: 0.75rem;
    margin-right: 0.3rem;
}

/* Mobile: collapse eyebrow items to stacked or shortened */
@media (max-width: 575px) {
    .contact-eyebrow .eyebrow-hours {
        display: none;
    }

    .screener-header {
        margin-top: -86px;
        padding-top: calc(3rem + 86px);
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar-custom {
    background-color: #ffffff;
    border-bottom: 3px solid var(--accent-color);
    padding: 0.75rem 0;
}

.navbar-brand-text {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    color: var(--primary-color);
    line-height: 1.2;
}

.navbar-brand-sub {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-normal);
    color: var(--secondary-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Official UT Southwestern logo in navbar */
.navbar-logo {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}

.nav-link {
    font-size: var(--font-size-base);
    letter-spacing: 0.02em;
}

.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: var(--font-weight-semibold);
}

.btn-nav-cta {
    background-color: var(--accent-color);
    color: #ffffff !important;
    border-radius: var(--border-radius-2xl);
    padding: 0.5rem 1.25rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    transition: var(--transition-button);
    white-space: nowrap;
    text-decoration: none;
}

.btn-nav-cta:hover,
.btn-nav-cta:focus {
    background-color: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.btn-nav-secondary {
    background-color: transparent;
    color: var(--text-dark) !important;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-2xl);
    padding: 0.375rem 1.125rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    transition: var(--transition-button);
    white-space: nowrap;
    text-decoration: none;
}

.btn-nav-secondary:hover,
.btn-nav-secondary:focus {
    background-color: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

/* Account for eyebrow + nav height on fixed positioning */
body {
    padding-top: 96px; /* eyebrow ~34px + nav ~62px */
}

@media (max-width: 575px) {
    body {
        padding-top: 86px;
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-utsw {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 60%, var(--accent-secondary) 100%);
    color: #ffffff;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-utsw-image {
    background-size: cover;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 53, 93, 0.9) 0%, rgba(0, 53, 93, 0.7) 40%, rgba(0, 53, 93, 0) 70%);
    z-index: 1;
}

/* Subtle geometric background texture */
.hero-utsw::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.hero-utsw::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.hero-utsw .hero-title {
    color: #ffffff;
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-utsw .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-utsw .btn-hero-primary {
    background-color: #ffffff;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-2xl);
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: var(--transition-button);
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.75rem;
}

.hero-utsw .btn-hero-primary:hover,
.hero-utsw .btn-hero-primary:focus {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-utsw .btn-hero-secondary {
    background-color: transparent;
    color: #ffffff;
    font-weight: var(--font-weight-semibold);
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-2xl);
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: var(--transition-button);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.hero-utsw .btn-hero-secondary:hover,
.hero-utsw .btn-hero-secondary:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero image/visual placeholder */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    text-align: center;
    padding: 2rem;
}

.hero-image-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* Hero stat badges */
.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-extrabold);
    color: #ffffff;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

@media (max-width: 991px) {
    .hero-utsw {
        padding: 3rem 0;
        min-height: auto;
        text-align: center;
    }

    .hero-utsw .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-utsw .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-visual {
        margin-top: 2.5rem;
    }

    .hero-image-placeholder {
        max-width: 340px;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero-utsw .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-utsw .btn-hero-primary,
    .hero-utsw .btn-hero-secondary {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-primary);
}

.about-section .section-title {
    color: var(--primary-color);
}

.about-highlight-box {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-left: 5px solid var(--accent-color);
    border-radius: 0;
    padding: 1.75rem 2rem;
    margin: 2rem 0;
}

.about-highlight-box p {
    margin: 0;
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    line-height: var(--line-height-loose);
}

.about-highlight-box strong {
    color: var(--primary-color);
}

/* ===================================
   ELIGIBILITY SECTION
   =================================== */
.eligibility-utsw {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: var(--section-padding-y) 0;
    color: #ffffff;
}

.eligibility-utsw .section-title {
    color: #ffffff;
}

.eligibility-utsw .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-lg);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.eligibility-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(8px);
}

.eligibility-card-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.eligibility-card-title i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.eligibility-card-title.eligible i {
    color: #5dd98e;
}

.eligibility-card-title.ineligible i {
    color: #ff9a9a;
}

.eligibility-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eligibility-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.5;
}

.eligibility-card ul li:last-child {
    border-bottom: none;
}

.eligibility-card ul li i {
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.eligibility-card ul li i.fa-check {
    color: #5dd98e;
}

.eligibility-card ul li i.fa-times {
    color: #ff9a9a;
}

.eligibility-contact-note {
    text-align: center;
    margin-top: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.0625rem;
}

.eligibility-contact-note a {
    color: #ffffff;
    font-weight: var(--font-weight-semibold);
    text-decoration: underline;
}

/* ===================================
   HOW TO JOIN / PROCESS SECTION
   =================================== */
.process-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-light);
}

.process-section .section-title {
    color: var(--primary-color);
}

.involvement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.involvement-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: var(--font-size-base);
    color: var(--text-dark);
    line-height: 1.5;
}

.involvement-list li i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.cost-card {
    background: #ffffff;
    border-radius: 0;
    padding: 1.75rem;
    border-top: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.cost-card h3,
.cost-card h4 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
}

.cost-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cost-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-light);
}

.cost-card ul li:last-child {
    border-bottom: none;
}

.cost-card ul li i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===================================
   ENROLLMENT STEPS
   =================================== */
.steps-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-primary);
}

.steps-section .section-title {
    color: var(--primary-color);
}

.step-card {
    border-top: 4px solid var(--accent-color);
    border-left: none;
}

.step-number {
    background: #776cb1;
}

/* ===================================
   PURPOSE / MISSION SECTION
   =================================== */
/* ===================================
   MISSION SECTION
   =================================== */
.mission-section {
    padding: var(--section-padding-y) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
}

.mission-section .section-title {
    color: #ffffff;
}

/* ===================================
   PURPOSE SECTION
   =================================== */
.purpose-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-light);
}

.purpose-section .section-title {
    color: var(--primary-color);
}

/* ===================================
   PRIVACY IMAGE PLACEHOLDER
   =================================== */
.privacy-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f5f7fa;
    border-radius: var(--border-radius-xl);
    border: 2px dashed #c5d0db;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7c8a9a;
    font-size: var(--font-size-sm);
    text-align: center;
    padding: 2rem;
}

.privacy-image-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.mission-statement {
    color: #ffffff;
    border-radius: 0;
    padding: 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 3rem;
    opacity: 0.1;
}

.mission-statement::after {
    content: '\f10e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    font-size: 3rem;
    opacity: 0.1;
}

.mission-statement p {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-loose);
    margin: 0;
    position: relative;
}

.mission-statement .mission-note {
    margin-top: 1.25rem;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.purpose-pillar {
    background: #ffffff;
    border-radius: 0;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.purpose-pillar-image {
    width: 100%;
    height: 200px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: #f5f7fa;
    border: 2px dashed #c5d0db;
    color: #7c8a9a;
    font-size: var(--font-size-sm);
    text-align: center;
    padding: 1rem;
    overflow: hidden;
}

.purpose-pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purpose-pillar-image:has(img) {
    background: transparent;
    border: none;
    padding: 0;
}

.purpose-pillar-image i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}

.purpose-pillar-image small {
    display: block;
    margin-top: 0.25rem;
}

.purpose-pillar h3,
.purpose-pillar h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.75rem;
}

.purpose-pillar p {
    color: var(--text-dark);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    margin: 0;
    text-align: left;
}

/* ===================================
   PRIVACY SECTION
   =================================== */
.privacy-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-primary);
}

.privacy-section .section-title {
    color: var(--primary-color);
}

.privacy-intro {
    font-size: var(--font-size-lg);
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem;
    color: var(--text-dark);
    line-height: var(--line-height-loose);
}

/* Extend existing privacy-card from components.css */
.privacy-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.privacy-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.privacy-card-body {
    flex: 1;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-utsw {
    background: var(--bg-light);
    padding: var(--section-padding-y) 0;
}

.faq-utsw .section-title {
    color: var(--primary-color);
}

/* Allow longer FAQ answers */
.faq-item.active .faq-answer {
    max-height: 800px;
}

/* ===================================
   TEAM SECTION
   =================================== */
.team-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-primary);
}

.team-section .section-title {
    color: var(--primary-color);
}

.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.team-card-horizontal {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    padding: 2rem;
    background: #ffffff;
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.team-card-horizontal .team-member-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 50%;
    flex-shrink: 0;
}

.team-card-content {
    flex: 1;
}

/* Avatar placeholder with initials */
.team-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin: 0 auto 1.25rem;
    letter-spacing: 0.05em;
}

.team-member-role-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.team-member-name {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.75rem;
}

.team-member-title {
    font-size: var(--font-size-base);
    color: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    margin-bottom: 1rem;
}

.team-member-bio {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-loose);
    color: var(--text-dark);
    text-align: left;
    margin: 0;
}

.team-member-bio a {
    color: var(--accent-color);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: var(--transition-fast);
}

.team-member-bio a:hover,
.team-member-bio a:focus {
    text-decoration: underline;
    color: var(--primary-color);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-light);
}

.testimonials-section .section-title {
    color: var(--primary-color);
}

.testimonials-carousel {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
    min-height: 200px;
}

.testimonial-tile {
    background: #ffffff;
    border-radius: 0;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-color);
}

.testimonial-quote {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--text-dark);
    line-height: var(--line-height-loose);
    margin: 0 0 1.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-color);
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    opacity: 0.3;
}

.testimonial-attribution {
    font-size: var(--font-size-base);
    color: var(--secondary-color);
    font-weight: var(--font-weight-semibold);
    margin: 0;
}

.testimonials-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-testimonial {
    background-color: #776cb1;
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius-2xl);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-button);
    font-size: 1.125rem;
}

.btn-testimonial:hover,
.btn-testimonial:focus {
    background-color: #6b5d9f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===================================
   PARTNERS SECTION
   =================================== */
.partners-section {
    padding: 3.5rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.partners-section .section-label {
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.partner-badge {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1rem 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-color);
    font-size: var(--font-size-base);
    box-shadow: var(--shadow-sm);
    min-width: 180px;
}

.partner-badge i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.partner-badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    padding: var(--section-padding-y) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
}

.contact-section .section-title {
    color: #ffffff;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-detail-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 1.75rem;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(8px);
}

.contact-detail-card i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.875rem;
    display: block;
}

.contact-detail-card .contact-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.375rem;
    display: block;
}

.contact-detail-card a,
.contact-detail-card span {
    color: #ffffff;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
}

.contact-detail-card a:hover,
.contact-detail-card a:focus {
    text-decoration: underline;
    opacity: 0.85;
}

.contact-cta-box {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background-color: #000000;
    color: #ffffff;
    padding: 1rem 0;
}

/* ===================================
   ELIGIBILITY SCREENER PAGE
   =================================== */
.screener-page body {
    background: var(--bg-light);
}

.screener-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 3rem 0 2.5rem;
    text-align: center;
    margin-top: -96px;
    padding-top: calc(3rem + 96px);
}

.screener-header h1 {
    color: #ffffff;
    font-size: var(--font-size-4xl);
    margin-bottom: 0.75rem;
}

.screener-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-lg);
    max-width: 640px;
    margin: 0 auto;
}

.screener-placeholder-zone {
    background: #ffffff;
    border-radius: 0;
    border: 2px dashed var(--border-color);
    padding: 4rem 2rem;
    text-align: center;
    margin: 3rem auto;
    max-width: 720px;
}

.screener-placeholder-zone i {
    font-size: 3.5rem;
    color: var(--border-color);
    margin-bottom: 1.25rem;
    display: block;
}

.screener-placeholder-zone h3 {
    color: var(--text-muted);
    font-size: var(--font-size-2xl);
    margin-bottom: 0.75rem;
}

.screener-placeholder-zone p {
    color: var(--text-muted);
    font-size: var(--font-size-base);
    max-width: 480px;
    margin: 0 auto;
}

.screener-contact-box {
    background: var(--primary-light);
    border-radius: 0;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.screener-contact-box p {
    margin: 0;
    color: var(--text-dark);
    font-size: var(--font-size-base);
}

.screener-contact-box a {
    color: var(--accent-color);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.screener-contact-box a:hover {
    text-decoration: underline;
}

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */
@media (max-width: 767px) {
    .purpose-pillar,
    .contact-detail-card,
    .eligibility-card,
    .cost-card {
        margin-bottom: 1rem;
    }

    .mission-statement {
        padding: 1.75rem;
    }

    .partner-badge {
        min-width: 140px;
        font-size: var(--font-size-sm);
    }

    .team-card-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .team-card-horizontal .team-member-image {
        width: 160px;
        height: 160px;
    }

    .team-member-bio {
        text-align: center;
    }
}

/* Hide mobile phone link on desktop, show plain text */
.phone-mobile {
    display: none;
}

/* Mobile-only phone link */
@media (max-width: 768px) {
    .phone-desktop {
        display: none;
    }

    .phone-mobile {
        display: inline;
    }
}
