/**
 * SMASH Study Portal - Main Stylesheet
 * 
 * Base styles for all SMASH pages
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Colors - Illinois Brand */
    --smash-orange: #FF552E;
    --smash-orange-dark: #E64A19;
    --smash-blue: #13294B;
    --smash-blue-light: #1E3A5F;
    --smash-teal: #00796B;
    --smash-teal-light: #009688;
    
    /* Neutrals */
    --smash-white: #FFFFFF;
    --smash-smoke: #F5F5F5;
    --smash-gray-100: #F0F0F0;
    --smash-gray-200: #E0E0E0;
    --smash-gray-300: #BDBDBD;
    --smash-gray-400: #9E9E9E;
    --smash-gray-500: #757575;
    --smash-gray-600: #616161;
    --smash-charcoal: #1C1C1C;
    
    /* Semantic Colors */
    --smash-success: #4CAF50;
    --smash-warning: #FFC107;
    --smash-danger: #F44336;
    --smash-info: #2196F3;
    
    /* Typography */
    --font-heading: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 70px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--smash-charcoal);
    background-color: var(--smash-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.smash-page {
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 var(--space-4);
    color: var(--smash-blue);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin: 0 0 var(--space-4);
}

a {
    color: var(--smash-orange);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--smash-orange-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    margin: 0 0 var(--space-4);
    padding-left: var(--space-6);
}

li {
    margin-bottom: var(--space-2);
}

address {
    font-style: normal;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-4);
    background: var(--smash-blue);
    color: var(--smash-white);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--border-radius);
    z-index: 9999;
}

.skip-link:focus {
    top: var(--space-4);
}

/* ==========================================================================
   Container
   ========================================================================== */

.smash-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .smash-container {
        padding: 0 var(--space-8);
    }
}

/* ==========================================================================
   Header
   ========================================================================== */

.smash-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(135deg, var(--smash-blue) 0%, var(--smash-blue-light) 100%);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.smash-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.smash-header .header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.smash-header .logo-link {
    display: flex;
    align-items: center;
    color: var(--smash-white);
    text-decoration: none;
}

.smash-header .logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: 1px;
}

.smash-header .logo-image {
    height: 40px;
    width: auto;
}

.smash-header .logo-tagline {
    display: none;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
}

@media (min-width: 768px) {
    .smash-header .logo-tagline {
        display: block;
    }
}

/* Navigation Toggle (Mobile) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: var(--space-2);
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--smash-white);
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }
}

/* Navigation */
.smash-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--smash-blue);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.smash-nav.is-open {
    max-height: 400px;
}

@media (min-width: 992px) {
    .smash-nav {
        position: static;
        max-height: none;
        background: transparent;
    }
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: var(--space-4);
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        padding: 0;
    }
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--smash-white);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.1);
    color: var(--smash-white);
    text-decoration: none;
}

.nav-link-cta {
    background: var(--smash-orange);
}

.nav-link-cta:hover {
    background: var(--smash-orange-dark);
}

.nav-link-portal {
    border: 1px solid rgba(255,255,255,0.5);
}

.nav-link-portal:hover {
    border-color: var(--smash-white);
    background: rgba(255,255,255,0.1);
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.smash-main {
    min-height: calc(100vh - var(--header-height) - 200px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--smash-blue) 0%, var(--smash-blue-light) 100%);
    color: var(--smash-white);
    padding: var(--space-8) 0;
}

.page-header .page-title {
    color: var(--smash-white);
    margin-bottom: var(--space-2);
}

.page-header .page-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: var(--text-lg);
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    color: rgba(255,255,255,0.8);
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: var(--smash-white);
}

.breadcrumb-separator {
    margin: 0 var(--space-2);
}

/* Content Sections */
.content-section {
    padding: var(--space-12) 0;
}

.content-section:nth-child(even) {
    background: var(--smash-smoke);
}

.content-section h2 {
    margin-bottom: var(--space-6);
}

.section-intro {
    font-size: var(--text-lg);
    color: var(--smash-gray-600);
    margin-bottom: var(--space-8);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 48px;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--smash-orange);
    color: var(--smash-white);
    border-color: var(--smash-orange);
}

.btn-primary:hover {
    background: var(--smash-orange-dark);
    border-color: var(--smash-orange-dark);
    color: var(--smash-white);
}

.btn-secondary {
    background: var(--smash-blue);
    color: var(--smash-white);
    border-color: var(--smash-blue);
}

.btn-secondary:hover {
    background: var(--smash-blue-light);
    border-color: var(--smash-blue-light);
    color: var(--smash-white);
}

.btn-outline {
    background: transparent;
    color: var(--smash-blue);
    border-color: var(--smash-blue);
}

.btn-outline:hover {
    background: var(--smash-blue);
    color: var(--smash-white);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-xl {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-xl);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    min-height: 36px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background: var(--smash-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: var(--space-6);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
    margin-bottom: var(--space-4);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 2px solid var(--smash-gray-300);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--smash-blue);
}

.form-input.has-error {
    border-color: var(--smash-danger);
}

.form-error {
    color: var(--smash-danger);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
    padding: var(--space-3);
    background: rgba(244, 67, 54, 0.1);
    border-radius: var(--border-radius);
}

/* ==========================================================================
   Grids
   ========================================================================== */

.smash-grid {
    display: grid;
    gap: var(--space-6);
}

.smash-grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

.smash-grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .smash-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .smash-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .smash-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Video Embeds
   ========================================================================== */

.smash-video-wrapper {
    position: relative;
    width: 100%;
    background: var(--smash-charcoal);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.smash-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Map Embeds
   ========================================================================== */

.smash-map-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--smash-gray-200);
}

.smash-map-wrapper iframe {
    display: block;
}

/* ==========================================================================
   Tables
   ========================================================================== */

.schedule-table-wrapper {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--smash-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule-table th,
.schedule-table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--smash-gray-200);
}

.schedule-table th {
    background: var(--smash-blue);
    color: var(--smash-white);
    font-weight: 600;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background: var(--smash-smoke);
}

/* ==========================================================================
   Alerts
   ========================================================================== */

.smash-alert {
    padding: var(--space-4);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-4);
}

.smash-alert-info {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid var(--smash-info);
}

.smash-alert-success {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--smash-success);
}

.smash-alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--smash-warning);
}

.smash-alert-danger {
    background: rgba(244, 67, 54, 0.1);
    border-left: 4px solid var(--smash-danger);
}

/* ==========================================================================
   Badges
   ========================================================================== */

.badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
}

.badge-primary { background: var(--smash-orange); color: var(--smash-white); }
.badge-secondary { background: var(--smash-gray-500); color: var(--smash-white); }
.badge-success { background: var(--smash-success); color: var(--smash-white); }
.badge-warning { background: var(--smash-warning); color: var(--smash-charcoal); }
.badge-danger { background: var(--smash-danger); color: var(--smash-white); }

/* ==========================================================================
   Footer
   ========================================================================== */

.smash-footer {
    background: var(--smash-blue);
    color: var(--smash-white);
    padding: var(--space-12) 0 var(--space-8);
}

.smash-footer h4 {
    color: var(--smash-white);
}

.smash-footer a {
    color: rgba(255,255,255,0.8);
}

.smash-footer a:hover {
    color: var(--smash-white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-heading {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

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

.footer-nav li {
    margin-bottom: var(--space-2);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-legal {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
}

.footer-legal p {
    margin: 0;
}

/* ==========================================================================
   Loading Spinner
   ========================================================================== */

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Landing Page Specific
   ========================================================================== */

.landing-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: var(--smash-blue);
    background-size: cover;
    background-position: center;
    color: var(--smash-white);
}

.landing-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19, 41, 75, 0.9) 0%, rgba(19, 41, 75, 0.7) 100%);
}

.landing-hero .smash-container {
    position: relative;
    z-index: 1;
}

.landing-hero .hero-content {
    max-width: 700px;
    padding: var(--space-12) 0;
}

.landing-hero .hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--smash-white);
    margin-bottom: var(--space-2);
    letter-spacing: 2px;
}

.landing-hero .hero-full-name {
    font-size: var(--text-lg);
    color: var(--smash-orange);
    margin-bottom: var(--space-4);
}

.landing-hero .hero-headline {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.landing-hero .hero-subheadline {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.9);
}

/* Fork Section */
.landing-fork {
    padding: var(--space-16) 0;
    background: var(--smash-smoke);
}

.fork-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .fork-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fork-card {
    background: var(--smash-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.fork-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.fork-card-icon {
    color: var(--smash-blue);
    margin-bottom: var(--space-4);
}

.fork-card-title {
    margin-bottom: var(--space-4);
}

.fork-card-description {
    color: var(--smash-gray-600);
    margin-bottom: var(--space-6);
}

/* Value Props */
.value-props-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .value-props-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-prop {
    text-align: center;
    padding: var(--space-6);
}

.value-prop-icon {
    color: var(--smash-orange);
    margin-bottom: var(--space-4);
}

.value-prop-title {
    margin-bottom: var(--space-2);
}

.value-prop-description {
    color: var(--smash-gray-600);
    margin: 0;
}

/* Quick Info */
.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .quick-info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quick-info-item {
    text-align: center;
    padding: var(--space-6);
    background: var(--smash-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.quick-info-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--smash-orange);
}

.quick-info-label {
    font-size: var(--text-sm);
    color: var(--smash-gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.landing-cta {
    background: linear-gradient(135deg, var(--smash-orange) 0%, var(--smash-orange-dark) 100%);
    color: var(--smash-white);
    text-align: center;
}

.landing-cta .cta-title {
    color: var(--smash-white);
}

.landing-cta .btn-primary {
    background: var(--smash-white);
    color: var(--smash-orange);
    border-color: var(--smash-white);
}

.landing-cta .btn-primary:hover {
    background: var(--smash-smoke);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--smash-gray-600);
}

.trust-badge-icon {
    font-size: var(--text-2xl);
}

/* ==========================================================================
   Curriculum Tabs
   ========================================================================== */

.curriculum-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    border-bottom: 2px solid var(--smash-gray-200);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--smash-gray-500);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    margin-bottom: -2px;
}

.tab-button:hover {
    color: var(--smash-blue);
}

.tab-button.active {
    color: var(--smash-blue);
    border-bottom-color: var(--smash-orange);
}

.tab-icon {
    font-size: var(--text-xl);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.panel-intro {
    margin-bottom: var(--space-8);
}

.panel-intro h2 {
    margin-bottom: var(--space-3);
}

.panel-intro p {
    color: var(--smash-gray-600);
    font-size: var(--text-lg);
}

/* Lesson Cards */
.lessons-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.lesson-card {
    background: var(--smash-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow);
}

.lesson-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.lesson-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--smash-blue);
    color: var(--smash-white);
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.lesson-title {
    margin: 0;
}

.lesson-video {
    margin-bottom: var(--space-4);
}

.lesson-content {
    margin-bottom: var(--space-4);
}

.lesson-key-points {
    background: var(--smash-smoke);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-4);
}

.lesson-key-points h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
}

.lesson-key-points ul {
    margin: 0;
    padding-left: var(--space-5);
}

.lesson-practice-tip {
    background: rgba(255, 85, 46, 0.1);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--smash-orange);
}

.lesson-practice-tip h4 {
    font-size: var(--text-base);
    color: var(--smash-orange-dark);
    margin-bottom: var(--space-2);
}

.lesson-practice-tip p {
    margin: 0;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-category {
    margin-bottom: var(--space-10);
}

.faq-category-title {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--smash-gray-200);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    background: var(--smash-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: left;
    color: var(--smash-blue);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--smash-smoke);
}

.faq-toggle {
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-5) var(--space-4);
    color: var(--smash-gray-600);
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
}

.faq-answer[hidden] {
    padding-top: 0;
    padding-bottom: 0;
    max-height: 0;
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    bottom: 0;
    width: 2px;
    background: var(--smash-gray-300);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: var(--space-8);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--smash-orange);
    color: var(--smash-white);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-content h4 {
    margin-bottom: var(--space-2);
}

.timeline-content p {
    color: var(--smash-gray-600);
    margin: 0;
}

/* ==========================================================================
   Location Cards
   ========================================================================== */

.locations-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.location-card {
    background: var(--smash-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow);
}

.location-name {
    color: var(--smash-blue);
    margin-bottom: var(--space-4);
}

.location-address,
.location-courts,
.location-amenities,
.location-parking,
.location-notes {
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
}

.location-icon {
    margin-right: var(--space-2);
}

.location-map {
    margin: var(--space-4) 0;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 767px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }
    
    .content-section {
        padding: var(--space-8) 0;
    }
    
    .btn-xl {
        padding: var(--space-4) var(--space-6);
        font-size: var(--text-lg);
    }
}

/* ==========================================================================
   Contrast & Accessibility Fixes
   ========================================================================== */

/* Ensure all text has sufficient contrast */
.section-intro,
.section-description,
p {
    color: var(--smash-charcoal);
}

/* Eligibility section - ensure dark text on light backgrounds */
.eligibility-grid {
    background: var(--smash-white);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.eligibility-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--smash-smoke);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-3);
}

.eligibility-item:last-child {
    margin-bottom: 0;
}

.eligibility-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.eligibility-text {
    color: var(--smash-charcoal);
    font-weight: 500;
}

.eligibility-note {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: rgba(255, 85, 46, 0.1);
    border-left: 4px solid var(--smash-orange);
    border-radius: var(--border-radius);
}

.eligibility-note p {
    margin: 0;
    color: var(--smash-charcoal);
}

/* Benefits section contrast fixes */
.benefit-card {
    background: var(--smash-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    text-align: center;
    box-shadow: var(--shadow);
}

.benefit-card h3 {
    color: var(--smash-blue);
    margin-bottom: var(--space-2);
}

.benefit-card p {
    color: var(--smash-charcoal);
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Involvement timeline contrast */
.involvement-timeline {
    max-width: 700px;
}

.timeline-step {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--smash-gray-200);
}

.timeline-step:last-child {
    border-bottom: none;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--smash-orange);
    color: var(--smash-white);
    font-weight: 700;
    font-size: var(--text-xl);
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--smash-blue);
    margin-bottom: var(--space-2);
}

.step-content p {
    color: var(--smash-charcoal);
    margin-bottom: var(--space-2);
}

.step-time {
    display: inline-block;
    font-size: var(--text-sm);
    color: var(--smash-gray-600);
    background: var(--smash-smoke);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--border-radius);
}

/* Screening CTA contrast */
.screening-cta-box {
    background: var(--smash-blue);
    color: var(--smash-white);
    text-align: center;
    padding: var(--space-10);
    border-radius: var(--border-radius-lg);
}

.screening-cta-box h2 {
    color: var(--smash-white);
}

.screening-cta-box p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-subtext {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
}

.cta-subtext a {
    color: var(--smash-orange);
}

.cta-notice {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-4);
    border-radius: var(--border-radius);
}

/* FAQ preview contrast */
.faq-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-preview .faq-item {
    background: var(--smash-white);
    padding: var(--space-5);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.faq-preview .faq-item h3 {
    color: var(--smash-blue);
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.faq-preview .faq-item p {
    color: var(--smash-charcoal);
    margin: 0;
}

.faq-link {
    margin-top: var(--space-6);
}

/* Contact box contrast */
.contact-box {
    background: var(--smash-smoke);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.contact-box h2 {
    color: var(--smash-blue);
}

.contact-box p {
    color: var(--smash-charcoal);
}

.contact-email,
.contact-phone {
    font-size: var(--text-xl);
    margin: var(--space-2) 0;
}

.contact-email a,
.contact-phone a {
    color: var(--smash-orange);
    font-weight: 600;
}

/* Section titles - ensure dark color on all backgrounds */
.content-section h2 {
    color: var(--smash-blue);
}

/* Panel intro text contrast */
.panel-intro p {
    color: var(--smash-charcoal);
}

/* Lesson card text contrast */
.lesson-content,
.lesson-content p {
    color: var(--smash-charcoal);
}

/* Key points text */
.lesson-key-points {
    background: var(--smash-smoke);
    color: var(--smash-charcoal);
}

.lesson-key-points h4 {
    color: var(--smash-blue);
}

.lesson-key-points li {
    color: var(--smash-charcoal);
}

/* What to bring section */
.bring-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .bring-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .bring-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.bring-item {
    text-align: center;
    padding: var(--space-4);
    background: var(--smash-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.bring-icon {
    display: block;
    font-size: var(--text-3xl);
    margin-bottom: var(--space-2);
}

.bring-item h4 {
    color: var(--smash-blue);
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.bring-item p {
    color: var(--smash-gray-600);
    font-size: var(--text-sm);
    margin: 0;
}

/* Policy cards contrast */
.policies-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .policies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.policy-card {
    background: var(--smash-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow);
}

.policy-card h3 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--smash-blue);
    margin-bottom: var(--space-4);
}

.policy-icon {
    font-size: var(--text-2xl);
}

.policy-content {
    color: var(--smash-charcoal);
}

.policy-content ul {
    margin: var(--space-3) 0;
}

.policy-content li {
    color: var(--smash-charcoal);
}

/* Tips box contrast */
.tips-box {
    background: rgba(0, 121, 107, 0.1);
    border-left: 4px solid var(--smash-teal);
    padding: var(--space-6);
    border-radius: var(--border-radius);
}

.tips-box h3 {
    color: var(--smash-teal);
    margin-bottom: var(--space-4);
}

.tips-content {
    color: var(--smash-charcoal);
}

/* Contact CTA contrast */
.contact-cta-box {
    background: var(--smash-blue);
    color: var(--smash-white);
    text-align: center;
    padding: var(--space-10);
    border-radius: var(--border-radius-lg);
}

.contact-cta-box h2 {
    color: var(--smash-white);
}

.contact-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
}

/* Conditions section contrast */
.conditions-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.condition-card {
    background: var(--smash-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow);
}

.condition-icon {
    color: var(--smash-blue);
    margin-bottom: var(--space-4);
}

.condition-card h3 {
    color: var(--smash-blue);
    margin-bottom: var(--space-3);
}

.condition-card p {
    color: var(--smash-charcoal);
}

.condition-features {
    margin: var(--space-4) 0 0;
    padding-left: var(--space-5);
}

.condition-features li {
    color: var(--smash-charcoal);
}

.conditions-note {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: var(--smash-smoke);
    border-radius: var(--border-radius);
}

.conditions-note p {
    margin: 0;
    color: var(--smash-charcoal);
}

/* Goals section contrast */
.goals-content p,
.goals-list li {
    color: var(--smash-charcoal);
}

/* Lab section contrast */
.lab-content {
    display: grid;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .lab-content {
        grid-template-columns: 1fr 2fr;
        align-items: start;
    }
}

.lab-image img {
    border-radius: var(--border-radius-lg);
}

.lab-description {
    color: var(--smash-charcoal);
}

.lab-affiliation {
    color: var(--smash-gray-600);
    margin: var(--space-4) 0;
}

/* Team section contrast */
.team-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-member {
    text-align: center;
    padding: var(--space-6);
    background: var(--smash-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.member-photo {
    margin-bottom: var(--space-4);
}

.member-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}

.member-name {
    color: var(--smash-blue);
    margin-bottom: var(--space-1);
}

.member-role {
    color: var(--smash-orange);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

.member-bio {
    color: var(--smash-gray-600);
    font-size: var(--text-sm);
    margin: 0;
}

/* CTA box contrast */
.cta-box {
    background: var(--smash-smoke);
    padding: var(--space-10);
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.cta-box h2 {
    color: var(--smash-blue);
}

.cta-box p {
    color: var(--smash-charcoal);
    margin-bottom: var(--space-6);
}

/* ==========================================================================
   CRITICAL CONTRAST FIXES - High Specificity Overrides
   ========================================================================== */

/* Force dark text on all light backgrounds */
.smash-page p,
.smash-page span,
.smash-page li,
.smash-page td,
.smash-page th,
.smash-page label,
.smash-page .section-intro,
.smash-page .section-description {
    color: #1C1C1C;
}

/* Force blue headings everywhere */
.smash-page h1,
.smash-page h2,
.smash-page h3,
.smash-page h4,
.smash-page h5,
.smash-page h6 {
    color: #13294B;
}

/* Page headers with dark backgrounds need white text */
.page-header h1,
.page-header .page-title,
.page-header .page-subtitle,
.page-header p,
.page-header-cta h1,
.page-header-cta .page-title,
.page-header-cta .page-subtitle,
.page-header-cta p,
.page-header-portal h1,
.page-header-portal .page-title,
.page-header-portal .page-subtitle,
.page-header-portal p {
    color: #FFFFFF !important;
}

/* Breadcrumb in headers */
.page-header .breadcrumb,
.page-header .breadcrumb a,
.page-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* RECRUITMENT/JOIN PAGE - Eligibility Section */
.smash-recruitment .section-eligibility {
    background: #FFFFFF;
}

.smash-recruitment .eligibility-grid {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 12px;
}

.smash-recruitment .eligibility-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #F5F5F5;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid #E0E0E0;
}

.smash-recruitment .eligibility-item:last-child {
    margin-bottom: 0;
}

.smash-recruitment .eligibility-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.smash-recruitment .eligibility-text {
    color: #1C1C1C !important;
    font-weight: 500;
    font-size: 1rem;
}

.smash-recruitment .eligibility-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 85, 46, 0.1);
    border-left: 4px solid #FF552E;
    border-radius: 8px;
}

.smash-recruitment .eligibility-note p {
    margin: 0;
    color: #1C1C1C !important;
}

/* RECRUITMENT - Benefits Section */
.smash-recruitment .section-benefits {
    background: #F5F5F5;
}

.smash-recruitment .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.smash-recruitment .benefit-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
}

.smash-recruitment .benefit-card .benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.smash-recruitment .benefit-card h3 {
    color: #13294B !important;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.smash-recruitment .benefit-card p {
    color: #1C1C1C !important;
    margin: 0;
    font-size: 0.95rem;
}

/* RECRUITMENT - Timeline/Involvement Section */
.smash-recruitment .section-involvement {
    background: #FFFFFF;
}

.smash-recruitment .involvement-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.smash-recruitment .timeline-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #E0E0E0;
}

.smash-recruitment .timeline-step:last-child {
    border-bottom: none;
}

.smash-recruitment .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #FF552E;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.smash-recruitment .step-content h3 {
    color: #13294B !important;
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

.smash-recruitment .step-content p {
    color: #1C1C1C !important;
    margin: 0 0 0.5rem 0;
}

.smash-recruitment .step-time {
    display: inline-block;
    font-size: 0.875rem;
    color: #616161;
    background: #F0F0F0;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

/* RECRUITMENT - CTA Box */
.smash-recruitment .screening-cta-box {
    background: #13294B;
    color: #FFFFFF;
    text-align: center;
    padding: 3rem;
    border-radius: 12px;
}

.smash-recruitment .screening-cta-box h2 {
    color: #FFFFFF !important;
    margin-bottom: 1rem;
}

.smash-recruitment .screening-cta-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1.5rem;
}

.smash-recruitment .cta-subtext {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.smash-recruitment .cta-subtext a {
    color: #FF552E !important;
}

/* RECRUITMENT - FAQ Preview */
.smash-recruitment .section-faq-preview {
    background: #F5F5F5;
}

.smash-recruitment .faq-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.smash-recruitment .faq-preview .faq-item {
    background: #FFFFFF;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
}

.smash-recruitment .faq-preview .faq-item h3 {
    color: #13294B !important;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
}

.smash-recruitment .faq-preview .faq-item p {
    color: #1C1C1C !important;
    margin: 0;
    font-size: 0.95rem;
}

/* RECRUITMENT - Contact Box */
.smash-recruitment .section-contact {
    background: #FFFFFF;
}

.smash-recruitment .contact-box {
    background: #F5F5F5;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E0E0E0;
}

.smash-recruitment .contact-box h2 {
    color: #13294B !important;
    margin-bottom: 1rem;
}

.smash-recruitment .contact-box p {
    color: #1C1C1C !important;
}

.smash-recruitment .contact-email a,
.smash-recruitment .contact-phone a {
    color: #FF552E !important;
    font-weight: 600;
    font-size: 1.25rem;
}

/* CURRICULUM/LEARN PICKLEBALL PAGE */
.smash-curriculum .section-intro,
.smash-curriculum .panel-intro,
.smash-curriculum .panel-intro p {
    color: #1C1C1C !important;
}

.smash-curriculum .tab-button {
    color: #616161 !important;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.smash-curriculum .tab-button:hover {
    color: #13294B !important;
}

.smash-curriculum .tab-button.active {
    color: #13294B !important;
    border-bottom-color: #FF552E;
}

.smash-curriculum .lesson-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
}

.smash-curriculum .lesson-card h3 {
    color: #13294B !important;
    margin-bottom: 1rem;
}

.smash-curriculum .lesson-content,
.smash-curriculum .lesson-content p {
    color: #1C1C1C !important;
}

.smash-curriculum .lesson-key-points {
    background: #F5F5F5;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.smash-curriculum .lesson-key-points h4 {
    color: #13294B !important;
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
}

.smash-curriculum .lesson-key-points li {
    color: #1C1C1C !important;
    margin-bottom: 0.25rem;
}

.smash-curriculum .lesson-tip {
    background: rgba(0, 121, 107, 0.1);
    border-left: 4px solid #00796B;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}

.smash-curriculum .lesson-tip strong {
    color: #00796B !important;
}

.smash-curriculum .lesson-tip p {
    color: #1C1C1C !important;
    margin: 0;
}

/* FAQ PAGE */
.smash-faq .faq-accordion {
    background: transparent;
}

.smash-faq .faq-category {
    margin-bottom: 2rem;
}

.smash-faq .faq-category h3 {
    color: #13294B !important;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E0E0E0;
}

.smash-faq .faq-item {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.smash-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    background: #FFFFFF;
    font-weight: 600;
    color: #1C1C1C !important;
    transition: background 0.2s ease;
}

.smash-faq .faq-question:hover {
    background: #F5F5F5;
}

.smash-faq .faq-question h4 {
    color: #1C1C1C !important;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.smash-faq .faq-answer {
    padding: 0 1.25rem 1rem;
    color: #1C1C1C !important;
}

.smash-faq .faq-answer p {
    color: #1C1C1C !important;
    margin: 0;
}

/* SCHEDULE PAGE */
.smash-schedule .bring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.smash-schedule .bring-item {
    text-align: center;
    padding: 1.25rem;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
}

.smash-schedule .bring-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.smash-schedule .bring-item h4 {
    color: #13294B !important;
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
}

.smash-schedule .bring-item p {
    color: #616161 !important;
    font-size: 0.85rem;
    margin: 0;
}

/* ABOUT PAGE */
.smash-about .conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.smash-about .condition-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
}

.smash-about .condition-card h3 {
    color: #13294B !important;
    margin-bottom: 1rem;
}

.smash-about .condition-card p {
    color: #1C1C1C !important;
}

.smash-about .condition-features li {
    color: #1C1C1C !important;
}

/* PORTAL PAGES - Login Box */
.smash-portal-gate .login-box {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #E0E0E0;
}

.smash-portal-gate .login-box h2 {
    color: #13294B !important;
    text-align: center;
    margin-bottom: 1rem;
}

.smash-portal-gate .login-instructions {
    color: #616161 !important;
    text-align: center;
    margin-bottom: 1.5rem;
}

.smash-portal-gate .login-help {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E0E0E0;
}

.smash-portal-gate .login-help p {
    color: #616161 !important;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.smash-portal-gate .login-help strong {
    color: #1C1C1C !important;
}

.smash-portal-gate .not-enrolled-box {
    background: #F5F5F5;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.smash-portal-gate .not-enrolled-box h3 {
    color: #13294B !important;
    margin-bottom: 0.5rem;
}

.smash-portal-gate .not-enrolled-box p {
    color: #1C1C1C !important;
    margin-bottom: 1.5rem;
}

/* Form Inputs */
.form-input {
    color: #1C1C1C !important;
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
}

.form-input::placeholder {
    color: #9E9E9E;
}

.form-input:focus {
    border-color: #00796B;
    outline: none;
}

.form-input.has-error {
    border-color: #F44336;
}

.form-error {
    color: #F44336 !important;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-error.visible {
    display: block;
}

/* Buttons - ensure proper contrast */
.btn-primary {
    background: #FF552E;
    color: #FFFFFF !important;
    border: none;
}

.btn-primary:hover {
    background: #E64A19;
    color: #FFFFFF !important;
}

.btn-outline {
    background: transparent;
    color: #13294B !important;
    border: 2px solid #13294B;
}

.btn-outline:hover {
    background: #13294B;
    color: #FFFFFF !important;
}

/* Spinner animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Schedule Table - Universal Styling
   ========================================================================== */

.smash-schedule .schedule-table,
.schedule-table,
table.schedule-table {
    width: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #E0E0E0;
    border-collapse: collapse;
}

.schedule-table thead,
table.schedule-table thead {
    background: #13294B;
}

.schedule-table thead th,
table.schedule-table thead th {
    color: #FFFFFF !important;
    padding: 1rem;
    font-weight: 600;
    text-align: left;
    border: none;
}

.schedule-table tbody tr,
table.schedule-table tbody tr {
    border-bottom: 1px solid #E0E0E0;
}

.schedule-table tbody tr:last-child,
table.schedule-table tbody tr:last-child {
    border-bottom: none;
}

.schedule-table tbody tr:nth-child(even),
table.schedule-table tbody tr:nth-child(even) {
    background: #F9F9F9;
}

.schedule-table tbody tr:hover,
table.schedule-table tbody tr:hover {
    background: #F0F0F0;
}

.schedule-table tbody td,
table.schedule-table tbody td {
    padding: 1rem;
    color: #1C1C1C !important;
    border: none;
}

.schedule-table tbody td strong,
table.schedule-table tbody td strong {
    color: #13294B !important;
}

/* Schedule info on schedule page */
.smash-schedule .section-schedule-table {
    background: #FFFFFF;
}

.smash-schedule .section-schedule-table h2 {
    color: #13294B !important;
}

.smash-schedule .section-schedule-table p {
    color: #1C1C1C !important;
}

/* Location cards on schedule page */
.smash-schedule .location-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #E0E0E0;
}

.smash-schedule .location-card h3 {
    color: #13294B !important;
}

.smash-schedule .location-card p,
.smash-schedule .location-card address {
    color: #1C1C1C !important;
}

.smash-schedule .location-card .location-address {
    color: #616161 !important;
    font-style: normal;
}

/* ==========================================================================
   DARK SECTION CONTRAST FIXES
   High-contrast text for dark/black background sections
   ========================================================================== */

/* Define bright accent blue for dark backgrounds */
:root {
    --smash-accent-blue: #33CCFF;
    --smash-accent-blue-alt: #4DD9FF;
}

/* ---------------------------------------------------------------------
   /smash/join/ (recruitment.php) - "What's Involved?" section
   --------------------------------------------------------------------- */

/* If section has dark background, override text colors */
.smash-recruitment .section-involvement[style*="background"],
.smash-recruitment .section-involvement.dark-bg,
.section-involvement[class*="dark"],
.section-involvement[class*="black"] {
    background: #000000 !important;
}

/* Timeline step headings on dark backgrounds */
.smash-recruitment .section-involvement.dark-bg .step-content h3,
.smash-recruitment .section-involvement[style*="black"] .step-content h3,
body[class*="dark"] .smash-recruitment .step-content h3,
.smash-recruitment.dark-mode .step-content h3 {
    color: #33CCFF !important;
}

/* Timeline step descriptions on dark backgrounds */
.smash-recruitment .section-involvement.dark-bg .step-content p,
.smash-recruitment .section-involvement[style*="black"] .step-content p,
body[class*="dark"] .smash-recruitment .step-content p,
.smash-recruitment.dark-mode .step-content p {
    color: #FFFFFF !important;
}

/* Force dark background section fixes using attribute selectors */
.smash-recruitment [style*="background: #000"],
.smash-recruitment [style*="background:#000"],
.smash-recruitment [style*="background: black"],
.smash-recruitment [style*="background:black"] {
    color: #FFFFFF !important;
}

.smash-recruitment [style*="background: #000"] h2,
.smash-recruitment [style*="background:#000"] h2,
.smash-recruitment [style*="background: #000"] h3,
.smash-recruitment [style*="background:#000"] h3,
.smash-recruitment [style*="background: black"] h2,
.smash-recruitment [style*="background:black"] h2,
.smash-recruitment [style*="background: black"] h3,
.smash-recruitment [style*="background:black"] h3 {
    color: #33CCFF !important;
}

/* ---------------------------------------------------------------------
   /smash/join/ - "Ready to See If You Qualify?" CTA section
   --------------------------------------------------------------------- */

.smash-recruitment .section-screening-cta {
    background: #000000 !important;
}

.smash-recruitment .screening-cta-box {
    background: #000000 !important;
}

.smash-recruitment .screening-cta-box h2 {
    color: #33CCFF !important;
}

.smash-recruitment .screening-cta-box p {
    color: #FFFFFF !important;
}

.smash-recruitment .screening-cta-box .cta-subtext {
    color: #F5F5F5 !important;
}

.smash-recruitment .screening-cta-box .cta-subtext a {
    color: #FF7A1A !important;
}

/* ---------------------------------------------------------------------
   /smash/join/ - "Questions?" contact section at bottom
   --------------------------------------------------------------------- */

.smash-recruitment .section-contact {
    background: #000000 !important;
}

.smash-recruitment .contact-box {
    background: #000000 !important;
    border: none !important;
}

.smash-recruitment .contact-box h2 {
    color: #33CCFF !important;
}

.smash-recruitment .contact-box p {
    color: #FFFFFF !important;
}

.smash-recruitment .contact-box .contact-email a,
.smash-recruitment .contact-box .contact-phone a {
    color: #FF7A1A !important;
}

/* ---------------------------------------------------------------------
   /smash/faq/ - "Still Have Questions?" section
   --------------------------------------------------------------------- */

.smash-faq .section-contact-cta {
    background: #000000 !important;
}

.smash-faq .contact-cta-box {
    background: #000000 !important;
}

.smash-faq .contact-cta-box h2 {
    color: #33CCFF !important;
}

.smash-faq .contact-cta-box p {
    color: #FFFFFF !important;
}

/* ---------------------------------------------------------------------
   /smash/about/ - "Two Study Conditions" section
   --------------------------------------------------------------------- */

.smash-about .section-conditions {
    background: #000000 !important;
}

.smash-about .section-conditions h2 {
    color: #33CCFF !important;
}

/* The intro sentence "Participants are randomly assigned..." */
.smash-about .section-conditions .section-intro,
.smash-about .section-conditions > .smash-container > p {
    color: #FFFFFF !important;
}

/* Condition card headings */
.smash-about .condition-card {
    background: #1A1A1A !important;
    border-color: #333333 !important;
}

.smash-about .condition-card h3 {
    color: #33CCFF !important;
}

.smash-about .condition-card p {
    color: #FFFFFF !important;
}

.smash-about .condition-features li {
    color: #F5F5F5 !important;
}

.smash-about .condition-icon {
    color: #33CCFF !important;
}

.smash-about .condition-icon svg {
    stroke: #33CCFF !important;
}

/* Conditions note at bottom */
.smash-about .conditions-note {
    background: #1A1A1A !important;
    border-color: #333333 !important;
}

.smash-about .conditions-note p {
    color: #FFFFFF !important;
}

.smash-about .conditions-note strong {
    color: #33CCFF !important;
}

/* ---------------------------------------------------------------------
   /smash/about/ - "Research Goals" section
   --------------------------------------------------------------------- */

.smash-about .section-goals {
    background: #000000 !important;
}

.smash-about .section-goals h2 {
    color: #33CCFF !important;
}

.smash-about .section-goals p,
.smash-about .goals-content p {
    color: #FFFFFF !important;
}

.smash-about .goals-list li {
    color: #F5F5F5 !important;
}

/* ---------------------------------------------------------------------
   /smash/about/ - "Research Team" section
   --------------------------------------------------------------------- */

.smash-about .section-team {
    background: #000000 !important;
}

.smash-about .section-team h2 {
    color: #33CCFF !important;
}

.smash-about .team-member {
    background: #1A1A1A !important;
    border-color: #333333 !important;
}

/* Team member names */
.smash-about .member-name,
.smash-about .team-member h4 {
    color: #33CCFF !important;
}

.smash-about .member-role {
    color: #FF7A1A !important;
}

.smash-about .member-bio {
    color: #F5F5F5 !important;
}

/* ---------------------------------------------------------------------
   Generic dark section utility classes (for flexibility)
   --------------------------------------------------------------------- */

.smash-dark-section {
    background: #000000 !important;
}

.smash-dark-section h1,
.smash-dark-section h2,
.smash-dark-section h3,
.smash-dark-section h4 {
    color: #33CCFF !important;
}

.smash-dark-section p,
.smash-dark-section li,
.smash-dark-section span {
    color: #FFFFFF !important;
}

.smash-dark-section a {
    color: #FF7A1A !important;
}

.smash-dark-section a:hover {
    color: #FFAA66 !important;
}
