/* Elite Edge College Recruiting - Premium CSS Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;700;800&family=Rubik:wght@300;400;500;600;700;900&display=swap');

:root {
    /* Color Palette - Premium Light Theme */
    --bg-dark-primary: #f4f6fa;
    --bg-dark-secondary: #ffffff;
    --bg-dark-tertiary: #eef2f6;
    --header-bg: rgba(255, 255, 255, 0.85);
    
    /* Athletic Accents - Eye-catching & High Contrast */
    --accent-gold: #ff5a00; /* Electric Sports Orange */
    --accent-gold-hover: #e04f00;
    --accent-blue: #1e40af; /* Athletic Royal Blue */
    
    /* Readable High-Contrast Text */
    --text-light: #0f172a; /* Slate 900 - dark text on light background */
    --text-muted: #475569; /* Slate 600 - muted but highly readable */
    --text-dark: #ffffff;  /* White text on dark elements */
    
    --border-color: #e2e8f0; /* Slate 200 */
    --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --grid-color: rgba(15, 23, 42, 0.03);
    
    /* Typography & Spacing */
    --font-primary: 'Rubik', 'Heebo', sans-serif;
    --font-dyslexia: 'Comic Sans MS', 'Segoe UI', sans-serif;
    --base-font-size: 100%;
    --transition-speed: 0.3s;
    
    /* Layout Constants */
    --max-width: 1200px;
    --header-height: 80px;
}

/* Accessibility Mode Overrides */
body.high-contrast {
    --bg-dark-primary: #000000;
    --bg-dark-secondary: #000000;
    --bg-dark-tertiary: #111111;
    --header-bg: #000000;
    --accent-gold: #ffff00;
    --accent-gold-hover: #ffff00;
    --accent-blue: #00ffff;
    --text-light: #ffffff;
    --text-muted: #ffffff;
    --border-color: #ffffff;
    --card-shadow: none;
    --grid-color: rgba(255, 255, 255, 0.02);
}

body.dyslexia-font {
    font-family: var(--font-dyslexia) !important;
}

body.dyslexia-font * {
    font-family: var(--font-dyslexia) !important;
    letter-spacing: 0.08em !important;
    word-spacing: 0.15em !important;
}

/* Keyboard Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: #fff !important;
    padding: 0.85rem 1.75rem;
    font-weight: 700;
    border-radius: 0 0 12px 12px;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus-visible {
    top: 0;
    outline: 3px solid var(--text-light);
    outline-offset: -3px;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--base-font-size);
}

body {
    background-color: var(--bg-dark-primary);
    color: var(--text-light);
    font-family: var(--font-primary);
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* Focus styles for keyboard accessibility */
*:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

/* Base Layout Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utility Header / Section Titles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color var(--transition-speed);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 90, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 90, 0, 0.25);
    background-color: var(--bg-dark-tertiary);
}

.logo-text span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-item {
    position: relative;
}

.nav-item a {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width var(--transition-speed);
}

.nav-item a:hover {
    color: var(--accent-gold);
}

.nav-item a:hover::after {
    width: 100%;
}

/* Dropdown Menu styling */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 180px;
    box-shadow: var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed);
    z-index: 1002;
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.925rem !important;
    text-align: right;
    width: 100%;
    color: var(--text-light) !important;
    transition: background-color var(--transition-speed), color var(--transition-speed) !important;
}

.dropdown-item::after {
    display: none !important; /* disable hover border-bottom line for dropdown items */
}

.dropdown-item:hover {
    background-color: var(--bg-dark-tertiary);
    color: var(--accent-gold) !important;
}

.arrow {
    font-size: 0.6rem;
    transition: transform var(--transition-speed);
    display: inline-block;
}

.nav-item.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Accessibility floating panel and button */
.accessibility-btn {
    background: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.accessibility-btn:hover {
    background-color: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

.accessibility-menu {
    position: absolute;
    top: calc(var(--header-height) - 10px);
    left: 2rem;
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    width: 280px;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 1001;
    animation: slideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.accessibility-menu.active {
    display: flex;
}

.accessibility-menu h3 {
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
}

.acc-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-label {
    font-size: 0.95rem;
    font-weight: 500;
}

.acc-control-group {
    display: flex;
    gap: 0.5rem;
}

.acc-btn {
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all var(--transition-speed);
}

.acc-btn:hover {
    background-color: var(--accent-gold);
    color: #fff;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-light);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-gold);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Header CTA */
.header-cta {
    background: linear-gradient(135deg, var(--accent-gold), #e03e00);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.25);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.45);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 3rem);
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 10% 20%, var(--bg-dark-secondary) 0%, var(--bg-dark-primary) 90%);
    overflow: hidden;
}

/* Dynamic background grid */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 90, 0, 0.2) 0%, rgba(0, 240, 255, 0.08) 50%, transparent 100%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    align-self: flex-start;
    background-color: rgba(255, 90, 0, 0.1);
    border: 1px solid rgba(255, 90, 0, 0.3);
    color: var(--accent-gold);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-content h1 span {
    display: block;
    background: linear-gradient(135deg, var(--accent-gold), #ff8533);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all var(--transition-speed);
    cursor: pointer;
    font-size: 1.1rem;
    gap: 0.75rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #e03e00);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 90, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 90, 0, 0.5);
}

.btn-secondary {
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(255, 90, 0, 0.2);
    transform: translateY(-3px);
}

/* Custom interactive graphic in hero representing paths */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-banner-wrapper {
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 90, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease;
    background-color: var(--bg-dark-secondary);
}

.hero-banner-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 90, 0, 0.3);
    border-color: rgba(255, 90, 0, 0.35);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Quick stats under Hero content */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Sections Base Styling */
section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-bg-alt {
    background-color: var(--bg-dark-secondary);
}

/* What We Do Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-gold);
    transition: height var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: rgba(217, 119, 6, 0.2);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(217, 119, 6, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Packages Tracks Section */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.track-card {
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.track-card.popular {
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px -10px rgba(255, 90, 0, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-gold), #e03e00);
    color: #fff;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 90, 0, 0.3);
}

.track-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.track-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.track-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.track-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.track-features-list li {
    display: flex;
    gap: 0.75rem;
    font-size: 1rem;
    align-items: flex-start;
}

.track-features-list svg {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.track-card .btn {
    width: 100%;
}

/* Meet the Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.team-image-container {
    height: 250px;
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark-secondary), var(--bg-dark-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-image-container svg {
    color: rgba(0, 0, 0, 0.05);
    width: 150px;
    height: 150px;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img {
    transform: scale(1.06);
}

.team-meta {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.team-meta h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.team-role {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.team-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.team-credentials {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.team-badge {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
}

/* Interactive Recruiting Quiz Wizard */
.quiz-section {
    position: relative;
}

.quiz-container {
    max-width: 750px;
    margin: 0 auto;
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.quiz-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.quiz-steps-indicators {
    display: flex;
    gap: 0.5rem;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.step-dot.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.2);
}

.step-dot.completed {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.quiz-progress-bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 4px;
    background-color: var(--accent-gold);
    width: 0;
    transition: width var(--transition-speed);
}

.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.quiz-card-option {
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.quiz-card-option:hover {
    border-color: rgba(217, 119, 6, 0.4);
    transform: translateY(-2px);
}

.quiz-card-option.selected {
    border-color: var(--accent-gold);
    background-color: rgba(217, 119, 6, 0.05);
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.1);
}

.quiz-card-option svg {
    color: var(--accent-gold);
    font-size: 2rem;
}

.quiz-card-option span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Custom text input style for quiz */
.quiz-input-group {
    margin-bottom: 2.5rem;
}

.quiz-input-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.quiz-input {
    width: 100%;
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.quiz-input:focus {
    border-color: var(--accent-gold);
    outline: none;
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
}

/* Quiz Result CSS */
.quiz-result {
    text-align: center;
    padding: 1.5rem 0;
}

.result-badge {
    width: 70px;
    height: 70px;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.result-percentage {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.result-recommendation {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.result-details {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--bg-dark-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

/* FAQs Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--transition-speed);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: right;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question svg {
    color: var(--accent-gold);
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0 1.5rem;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Contact Section & Form */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed);
}

.contact-detail:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 90, 0, 0.2);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 90, 0, 0.1);
    color: var(--accent-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all var(--transition-speed);
}

.contact-detail:hover .contact-detail-icon {
    background-color: var(--accent-gold);
    color: #ffffff;
}

.contact-detail-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.contact-detail-content p, .contact-detail-content a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-detail-content a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Checkbox Consent Styling */
.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
    cursor: pointer;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.875rem !important;
    font-weight: normal !important;
    color: var(--text-muted) !important;
    line-height: 1.5 !important;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--accent-blue);
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-group label a:hover {
    color: var(--accent-gold);
}

.contact-form-card {
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--card-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-control {
    background-color: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition-speed);
    width: 100%;
}

.form-control:focus {
    border-color: var(--accent-gold);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.form-status {
    padding: 1rem;
    border-radius: 8px;
    display: none;
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer Styling */
.main-footer {
    background-color: #030814;
    padding: 3rem 0 2rem 0;
}

.footer-back-to-top {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2.5rem;
}

.back-to-top-btn {
    background: linear-gradient(135deg, var(--accent-blue), #1e3a8a);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
    transition: all var(--transition-speed);
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold), #e03e00);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.4);
    transform: translateY(-3px);
}

.back-to-top-btn svg {
    transition: transform var(--transition-speed);
}

.back-to-top-btn:hover svg {
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a:hover {
    color: var(--accent-gold);
}

/* Keyframes animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(217, 119, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

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

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-badge {
        align-self: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-graphic {
        order: -1;
    }
    
    .graphic-container {
        width: 320px;
        height: 320px;
    }
    
    .node-1 { top: -20px; }
    .node-2 { right: -20px; }
    .node-3 { bottom: -20px; }
    .node-4 { left: -20px; }
    
    .tracks-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-dark-secondary);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
        gap: 1.25rem;
        text-align: right;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        justify-content: space-between;
    }

    .nav-item a::after {
        display: none; /* disable horizontal line animations on mobile */
    }

    /* Mobile Dropdown Menu */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        background-color: var(--bg-dark-tertiary);
        border: none;
        box-shadow: none;
        transform: none;
        margin-top: 0.25rem;
        border-radius: 8px;
        padding: 0.5rem 0;
    }

    .nav-item.open .dropdown-menu {
        display: flex;
    }

    .nav-item.open .arrow {
        transform: rotate(180deg);
    }

    .dropdown-item {
        padding: 0.75rem 1.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
    }

    .dropdown-item:last-child {
        border-bottom: none !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }

    .header-cta {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .quiz-options-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    
    .contact-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .contact-detail-content a {
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .quiz-container {
        padding: 2rem 1rem;
    }
    
    .quiz-options-grid {
        grid-template-columns: 1fr !important;
    }
    
    .contact-form-card {
        padding: 2rem 1rem;
    }

    .accessibility-menu {
        left: 5% !important;
        right: 5% !important;
        width: 90% !important;
        top: var(--header-height) !important;
    }
}

/* Legal Modals styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.high-contrast .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: none;
}

.modal-content {
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 2501;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: transparent;
    border: none;
    font-size: 2.25rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-speed);
}

.modal-close-btn:hover {
    color: var(--accent-gold);
}

.modal-body h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.modal-body h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.modal-body p, .modal-body li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: right;
}

.modal-body ul {
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Floating Contact Widget Styling */
.contact-floating-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 2000;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.widget-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    outline: none;
}

.widget-icon-container {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366; /* WhatsApp Green */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform var(--transition-speed), background-color var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
}

.widget-icon-container svg {
    transition: transform var(--transition-speed) ease;
}

.widget-icon-container .close-icon {
    font-size: 2rem;
    font-weight: 300;
    display: none;
    line-height: 1;
    position: absolute;
}

.widget-toggle-btn:hover .widget-icon-container {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.widget-label {
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    box-shadow: var(--card-shadow);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
    white-space: nowrap;
    opacity: 1;
    transform: scale(1);
    order: 1; /* Puts bubble on the right of the button in RTL flex layout */
}

.widget-toggle-btn:hover .widget-label {
    transform: scale(1.03);
    border-color: rgba(37, 211, 102, 0.3);
}

/* Floating Options Menu */
.widget-menu {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 220px;
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
    pointer-events: none;
}

.widget-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.widget-menu-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    text-align: right;
}

.widget-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.widget-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light) !important;
    transition: background-color var(--transition-speed), transform 0.2s;
    background-color: var(--bg-dark-tertiary);
    border: 1px solid transparent;
}

.widget-menu-item:hover {
    background-color: var(--bg-dark-secondary);
    border-color: var(--border-color);
    transform: translateX(-3px); /* subtle slide-left in RTL */
}

.widget-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
}

.widget-menu-item.whatsapp .widget-item-icon {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25D366;
}
.widget-menu-item.whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

.widget-menu-item.phone .widget-item-icon {
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--accent-blue);
}
.widget-menu-item.phone:hover {
    border-color: rgba(30, 64, 175, 0.3);
}

.widget-menu-item.email .widget-item-icon {
    background-color: rgba(255, 90, 0, 0.1);
    color: var(--accent-gold);
}
.widget-menu-item.email:hover {
    border-color: rgba(255, 90, 0, 0.3);
}

/* Open Widget Button state */
.contact-floating-widget.active .chat-icon {
    display: none;
}
.contact-floating-widget.active .close-icon {
    display: block;
}
.contact-floating-widget.active .widget-icon-container {
    background-color: var(--text-light); /* dark / charcoal background on close */
    color: var(--bg-dark-secondary);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
}
.contact-floating-widget.active .widget-label {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Responsive adjustments for Widget */
@media (max-width: 480px) {
    .contact-floating-widget {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    .widget-icon-container {
        width: 48px;
        height: 48px;
    }
    .widget-menu {
        bottom: 60px;
        width: 190px;
    }
}

