/* =============================================
   TAMKEEN 5.0 - SMART ENROLLMENT ECOSYSTEM
   Color Palette: Purple Gradient + Cyan + Gold
   Fonts: Tajawal (AR) + Inter (EN)
   ============================================= */

:root {
    /* Color Palette - Purple Theme */
    --primary: #4B00E0;
    --secondary: #8B5CF6;
    --accent: #00CFFF;
    --accent-gold: #FFB800;
    --white: #FFFFFF;
    --light-gray: #F5F8FA;
    --medium-gray: #E1E8ED;
    --text-dark: #14171A;
    --text-medium: #657786;

    /* Gradients */
    --gradient: linear-gradient(135deg, #4B00E0 0%, #8B5CF6 50%, #00CFFF 100%);
    --gradient-primary: linear-gradient(135deg, #4B00E0 0%, #8B5CF6 100%);
    --gradient-hero: linear-gradient(135deg, #4B00E0 0%, #8B5CF6 50%, #00CFFF 100%);
    --gradient-accent: linear-gradient(90deg, #8B5CF6 0%, #00CFFF 100%);

    /* Typography */
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Tajawal', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =============================================
   GLOBAL STYLES
   ============================================= */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-en);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body[lang="ar"] {
    font-family: var(--font-ar);
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   NAVIGATION
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-medium);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
}

.logo {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
    transition: var(--transition-fast);
    transform: scale(2);
}

.logo-img:hover {
    transform: scale(2.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    z-index: 100;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-fast);
}

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

.lang-toggle {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.lang-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(75, 0, 224, 0.4);
}

.lang-separator {
    margin: 0 0.5rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('main page landing screen.jpeg') !important;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* Override: Right alignment for all languages and devices */
html[lang="ar"] .hero-bg,
body[lang="ar"] .hero-bg,
html[lang="en"] .hero-bg,
body[lang="en"] .hero-bg {
    background-position: right center !important;
    background-image: url('main page landing screen.jpeg') !important;
}

/* Mobile: Keep same background, just ensure it's visible */
@media (max-width: 768px) {
    .hero-bg {
        background-image: url('main page landing screen.jpeg') !important;
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.5;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.5),
                 0 0 30px rgba(139, 92, 246, 0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-medium);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(75, 0, 224, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-circuit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="200" cy="200" r="150" fill="none" stroke="%234B00E0" stroke-width="2" opacity="0.3"/><circle cx="200" cy="200" r="100" fill="none" stroke="%238B5CF6" stroke-width="2" opacity="0.5"/><circle cx="200" cy="200" r="50" fill="none" stroke="%2300CFFF" stroke-width="2"/></svg>') center/contain no-repeat;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { top: 10px; opacity: 1; }
    50% { top: 30px; opacity: 0.3; }
}

/* =============================================
   SECTION TITLES
   ============================================= */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about {
    background: var(--light-gray);
}

.about-description-en,
.about-description-ar {
    font-size: 1.25rem;
    color: var(--text-medium);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

/* Youth Benefits Section */
.youth-benefits-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.youth-benefits-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.youth-benefits-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 207, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.youth-benefits-section .container {
    position: relative;
    z-index: 1;
}

.youth-benefits-section .section-title {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-lg);
}

.youth-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin: 0 auto;
    max-width: 1200px;
}

.benefits-list {
    display: contents;
}

.benefits-list li {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(75, 0, 224, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.benefits-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

body[lang="ar"] .benefits-list li::before {
    transform-origin: right;
}

.benefits-list li:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.benefits-list li:hover::before {
    transform: scaleX(1);
}

/* Add icon numbers */
.benefits-list li::after {
    content: attr(data-number);
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0.15;
    transition: var(--transition-medium);
}

body[lang="ar"] .benefits-list li::after {
    right: auto;
    left: var(--spacing-md);
}

.benefits-list li:hover::after {
    opacity: 0.3;
    transform: scale(1.1);
}

.benefit-text-ar, .benefit-text-en {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
    padding-right: 60px;
}

body[lang="ar"] .benefit-text-ar {
    padding-right: 0;
    padding-left: 60px;
}

.benefit-label-ar, .benefit-label-en {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(0, 207, 255, 0.1) 100%);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    transition: var(--transition-medium);
}

.highlight-item:hover .highlight-icon svg {
    color: var(--secondary);
    transform: scale(1.1);
}

.highlight-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary);
}

.highlight-item p {
    color: var(--text-medium);
}

/* =============================================
   PHASES SECTION (TIMELINE)
   ============================================= */

.phases {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-marker {
    grid-column: 2;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
    z-index: 1;
}

.phase-number {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-content {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-medium);
}

.timeline-content:hover {
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(even) .timeline-content:hover {
    transform: translateX(10px);
}

.timeline-item.active .timeline-marker {
    background: var(--accent-gold);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 5px 20px rgba(255, 184, 0, 0.5); }
    50% { box-shadow: 0 5px 40px rgba(255, 184, 0, 0.8); }
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.timeline-content p {
    color: var(--text-medium);
}

/* =============================================
   FAST FACTS SECTION
   ============================================= */

.facts {
    background: var(--gradient-primary);
    color: var(--white);
}

.facts .section-title {
    color: var(--white);
}

.facts .section-title::after {
    background: var(--accent-gold);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.fact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-medium);
}

.fact-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.fact-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-xs);
}

.fact-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact-icon svg {
    width: 4rem;
    height: 4rem;
    color: var(--accent-gold);
}

.fact-label {
    font-size: 1.25rem;
    font-weight: 500;
}

/* =============================================
   TEAM SECTION
   ============================================= */

.team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: var(--spacing-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    border: 4px solid transparent;
    background: var(--gradient-primary);
    padding: 4px;
    transition: var(--transition-medium);
}

.team-card:hover .team-photo {
    background: var(--gradient-accent);
    transform: scale(1.05);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    background: var(--white);
    display: block;
}

/* Adjust specific photos to show more of the top */
.team-photo img.photo-adjust-lower {
    object-position: center 20%;
}

.team-photo img.photo-adjust-noura {
    object-position: center 5%;
}

.team-photo img.photo-unzoom {
    transform: scale(0.9);
}

.team-info {
    margin-bottom: var(--spacing-md);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.name-ar {
    font-family: var(--font-ar);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.name-en {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--text-medium);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.team-role {
    font-size: 1rem;
    color: var(--text-medium);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.role-ar {
    font-family: var(--font-ar);
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.01em;
}

.role-en {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.bio-toggle {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
    white-space: nowrap;
    font-family: var(--font-en);
    letter-spacing: 0.01em;
}

.bio-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

.bio-toggle.active {
    background: var(--gradient-accent);
}

.bio-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
    width: 100%;
}

.bio-content.show {
    max-height: 1000px;
    opacity: 1;
    margin-top: var(--spacing-md);
}

.bio-ar,
.bio-en {
    padding: var(--spacing-md);
    border-radius: 15px;
    margin-bottom: var(--spacing-sm);
    text-align: justify;
    line-height: 1.8;
}

.bio-ar {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(75, 0, 224, 0.05) 100%);
    border-right: 4px solid var(--primary);
    font-family: var(--font-ar);
    text-align: right;
    direction: rtl;
}

.bio-en {
    background: linear-gradient(135deg, rgba(0, 207, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-left: 4px solid var(--accent);
    font-family: var(--font-en);
    text-align: left;
    direction: ltr;
}

.bio-ar p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.01em;
}

.bio-en p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.01em;
}

/* Language switching for team section */
.name-en, .role-en, .bio-en {
    display: none;
}

.name-ar, .role-ar, .bio-ar {
    display: block;
}

/* RTL adjustments for team section */
body[lang="ar"] .bio-ar {
    text-align: right;
}

body[lang="ar"] .bio-en {
    text-align: left;
}

/* =============================================
   JOURNEY SECTION
   ============================================= */

.journey {
    background: var(--light-gray);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.journey-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
}

.journey-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.journey-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    transition: var(--transition-medium);
}

.journey-card:hover .journey-icon svg {
    color: var(--secondary);
    transform: scale(1.1);
}

.journey-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
}

/* =============================================
   COLLABORATORS SECTION
   ============================================= */

.collaborators {
    background: var(--white);
    overflow: hidden;
    padding: var(--spacing-xl) 0;
    position: relative;
}

.collaborators .container {
    max-width: 100%;
    overflow: hidden;
}

/* Single row fast carousel */
.collaborators-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: var(--spacing-md) 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: scroll-infinite 60s linear infinite;
    will-change: transform;
}

/* Seamless infinite scroll - moves by exactly 50% (one complete set) */
@keyframes scroll-infinite {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Pause on hover */
.carousel-track:hover {
    animation-play-state: paused;
}

/* RTL Support for Arabic */
body[lang="ar"] .carousel-track {
    animation: scroll-infinite-rtl 60s linear infinite;
}

@keyframes scroll-infinite-rtl {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(50%, 0, 0);
    }
}

/* Logo Container Styles */
.collaborator-logo {
    width: 260px;
    height: 160px;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(75, 0, 224, 0.06),
                0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.08);
}

.collaborator-logo:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.12),
                0 4px 12px rgba(0, 207, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
}

.collaborator-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.collaborator-logo:hover img {
    transform: scale(1.02);
}

/* Custom logo size adjustments */
.collaborator-logo img[alt="Amazon AWS"] {
    max-width: 60%;
    max-height: 60%;
}

.collaborator-logo img[alt="Microsoft"] {
    max-width: 130%;
    max-height: 130%;
}

/* =============================================
   APP/QR SECTION
   ============================================= */

.app-section {
    background: var(--light-gray);
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.app-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.app-description-en,
.app-description-ar {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.app-guides {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.guide-link {
    background: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.guide-link svg {
    color: var(--primary);
    transition: var(--transition-medium);
}

.guide-link:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.guide-link:hover svg {
    color: var(--secondary);
    transform: scale(1.1);
}

.app-qr {
    display: flex;
    justify-content: center;
}

.qr-code {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.qr-placeholder {
    width: 250px;
    height: 250px;
    margin-bottom: var(--spacing-sm);
}

.qr-placeholder svg {
    width: 100%;
    height: 100%;
}

.qr-label {
    font-weight: 600;
    color: var(--primary);
}

/* =============================================
   CONTACT/JOIN SECTION
   ============================================= */

.contact {
    background: var(--white);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(75, 0, 224, 0.1);
}

.contact-form button {
    margin-top: var(--spacing-sm);
}

.form-status {
    display: none;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

.form-status.loading {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(0, 207, 255, 0.1) 100%);
    color: var(--primary);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.form-status.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #059669;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.footer-logo h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
}

.footer-logo p {
    color: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--accent-gold);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 10px;
}

.footer-info h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--accent-gold);
}

.footer-email {
    margin-bottom: var(--spacing-sm);
}

.footer-email a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
}

.footer-email a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-info p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* =============================================
   UPCOMING SECTION (WHAT'S COMING UP NEXT)
   ============================================= */

.upcoming {
    background: linear-gradient(135deg, rgba(75, 0, 224, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.upcoming::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.upcoming h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.upcoming h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.upcoming-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.upcoming-content video {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(75, 0, 224, 0.3);
    transition: var(--transition-medium);
}

.upcoming-content video:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.4);
}

.event-info {
    padding: var(--spacing-md);
}

.event-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.event-info p {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.register-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #00CFFF 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 207, 255, 0.5);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 300px;
    }

    .ai-circuit {
        width: 300px;
        height: 300px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--spacing-md);
    }

    .timeline::before {
        left: 30px;
        transform: none;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: var(--spacing-sm);
    }

    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
    }

    .timeline-item:nth-child(even) .timeline-marker {
        grid-column: 1;
    }

    .timeline-content:hover {
        transform: translateX(10px);
    }

    .timeline-item:nth-child(even) .timeline-content:hover {
        transform: translateX(10px);
    }

    /* RTL: Move timeline to right on mobile */
    body[lang="ar"] .timeline::before {
        left: auto;
        right: 30px;
        transform: none;
    }

    body[lang="ar"] .timeline-content:hover {
        transform: translateX(-10px);
    }

    body[lang="ar"] .timeline-item:nth-child(even) .timeline-content:hover {
        transform: translateX(-10px);
    }

    .app-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .upcoming-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .upcoming-content video {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile navbar adjustments */
    .logo {
        width: auto;
        max-width: 300px;
        overflow: hidden;
        flex: 1;
    }

    .logo-img {
        height: 60px;
        max-width: 100%;
        transform: scale(2.5);
        object-fit: contain;
    }

    .logo-img:hover {
        transform: scale(2.55);
    }

    .nav-content {
        padding: 0.75rem var(--spacing-sm);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-sm);
        height: 80px;
        max-height: 80px;
    }

    .navbar {
        padding: 0;
        height: 80px;
        min-height: 80px;
        max-height: 80px;
        overflow: visible;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 8px;
        background: rgba(139, 92, 246, 0.1);
        border-radius: 8px;
        transition: var(--transition-fast);
    }

    .mobile-menu-toggle:hover {
        background: rgba(139, 92, 246, 0.2);
    }

    .mobile-menu-toggle span {
        width: 28px;
        height: 3px;
        background: var(--primary);
        border-radius: 3px;
    }

    .mobile-menu-toggle.active {
        background: var(--primary);
    }

    .mobile-menu-toggle.active span {
        background: var(--white);
    }

    /* Youth benefits mobile */
    .youth-benefits-section::before {
        right: -30%;
        width: 500px;
        height: 500px;
    }

    .youth-benefits-section::after {
        left: -20%;
        width: 350px;
        height: 350px;
    }

    body[lang="ar"] .youth-benefits-section::before {
        right: auto;
        left: -30%;
    }

    body[lang="ar"] .youth-benefits-section::after {
        left: auto;
        right: -20%;
    }

    .youth-benefits {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .benefits-list li {
        padding: var(--spacing-md);
    }

    .benefit-text-ar, .benefit-text-en {
        font-size: 1rem;
        padding-right: 0;
        padding-left: 0;
    }

    .benefits-list li::after {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    body[lang="ar"] .benefits-list li::after {
        left: var(--spacing-sm);
    }

    .benefit-label-ar, .benefit-label-en {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    /* Ensure all sections start below navbar */
    section {
        scroll-margin-top: 100px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
        border: none;
        cursor: pointer;
    }

    .nav-links a {
        padding: 1rem 0;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--medium-gray);
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .nav-links .lang-toggle {
        margin-top: 1rem;
        width: 100%;
    }

    /* Hero section - ensure it starts below navbar */
    .hero {
        padding-top: 100px;
        min-height: calc(100vh - 100px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .team-photo {
        width: 150px;
        height: 150px;
    }

    .name-ar {
        font-size: 1.4rem;
    }

    .name-en {
        font-size: 1.1rem;
    }

    .fact-number {
        font-size: 3rem;
    }

    /* Mobile: Right-aligned background for facts section */
    .facts {
        position: relative;
        overflow: hidden;
        background-position: right center;
        background-size: cover;
    }

    .facts::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.4) 40%, rgba(0, 207, 255, 0.4) 100%);
        pointer-events: none;
        z-index: 0;
    }

    .facts .container {
        position: relative;
        z-index: 1;
    }

    body[lang="ar"] .facts::before {
        right: auto;
        left: 0;
        background: linear-gradient(-90deg, transparent 0%, rgba(139, 92, 246, 0.4) 40%, rgba(0, 207, 255, 0.4) 100%);
    }

    /* Mobile: Faster carousel */
    .collaborators {
        padding: 3rem 0;
        overflow: hidden;
    }

    .collaborators .container {
        padding: 0;
        overflow: hidden;
        max-width: 100%;
    }

    .carousel-track {
        animation: scroll-infinite 45s linear infinite;
        gap: 2rem;
    }

    body[lang="ar"] .carousel-track {
        animation: scroll-infinite-rtl 45s linear infinite;
    }

    .collaborator-logo {
        width: 200px;
        height: 130px;
        min-width: 200px;
        padding: 1rem;
        border-radius: 14px;
    }

    .collaborator-logo img {
        max-width: 100%;
        max-height: 100%;
    }

    .upcoming h2 {
        font-size: 1.75rem;
    }

    .event-info h3 {
        font-size: 1.5rem;
    }

    .event-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
    }

    .phase-number {
        font-size: 1.25rem;
    }
}

/* =============================================
   RTL SPECIFIC STYLES
   ============================================= */

body[lang="ar"] .timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

body[lang="ar"] .timeline-content:hover {
    transform: translateX(10px);
}

body[lang="ar"] .timeline-item:nth-child(even) .timeline-content:hover {
    transform: translateX(-10px);
}

body[lang="ar"] .guide-link:hover {
    transform: translateX(-10px);
}

body[lang="ar"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 10px;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */

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

.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Roadmap Timeline Styles */
.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.roadmap-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.roadmap-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.marker-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
}

.marker-dot svg {
    width: 20px;
    height: 20px;
}

.roadmap-item.completed .marker-dot {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.roadmap-item.current .marker-dot.current-dot {
    background: linear-gradient(135deg, var(--accent-gold), #ffc107);
    animation: pulse-glow 2s infinite;
}

.pulse-ring {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
}

.marker-line {
    width: 2px;
    flex-grow: 1;
    background: var(--medium-gray);
    min-height: 20px;
}

.roadmap-item.completed .marker-line {
    background: linear-gradient(180deg, var(--secondary), var(--medium-gray));
}

.roadmap-item:last-child .marker-line {
    display: none;
}

.roadmap-content {
    flex: 1;
    padding-bottom: 0.5rem;
}

.roadmap-date {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.roadmap-date .date-en,
.roadmap-date .date-ar {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.current-badge {
    background: linear-gradient(135deg, var(--accent-gold), #ffc107);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.roadmap-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-medium);
    box-shadow: 0 2px 12px rgba(75, 0, 224, 0.06);
}

.roadmap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.12);
}

.roadmap-item.current .roadmap-card.current-card {
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.02) 0%, var(--white) 100%);
}

.roadmap-video {
    width: 100%;
}

.roadmap-video video {
    width: 100%;
    display: block;
}

.roadmap-info {
    padding: 1.5rem 1.75rem;
}

.roadmap-title-en,
.roadmap-title-ar {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.roadmap-desc-en,
.roadmap-desc-ar {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.roadmap-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.roadmap-status.completed {
    background: rgba(75, 0, 224, 0.1);
    color: var(--primary);
    border: 1px solid rgba(75, 0, 224, 0.3);
}

.roadmap-status.in-progress {
    background: rgba(255, 184, 0, 0.15);
    color: #c79100;
    border: 1px solid rgba(255, 184, 0, 0.4);
}

.roadmap-guides {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0 0.75rem;
    flex-wrap: wrap;
}

.guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition-medium);
    box-shadow: 0 2px 10px rgba(75, 0, 224, 0.25);
}

.guide-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.guide-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Language Toggle for Roadmap - Initial State (Arabic default) */
.date-en, .roadmap-title-en, .roadmap-desc-en, .status-en, .guide-en, .badge-en {
    display: none;
}

.date-ar, .roadmap-title-ar, .roadmap-desc-ar, .status-ar, .guide-ar, .badge-ar {
    display: inline;
}

.roadmap-title-ar, .roadmap-desc-ar {
    display: block;
}

/* RTL Support for Roadmap (Arabic) */
[dir="rtl"] .roadmap-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .roadmap-date {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

[dir="rtl"] .roadmap-info {
    text-align: right;
}

[dir="rtl"] .roadmap-guides {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

[dir="rtl"] .roadmap-desc-ar,
[dir="rtl"] .roadmap-title-ar {
    text-align: right;
    direction: rtl;
}

/* LTR Support for Roadmap (English) */
[dir="ltr"] .roadmap-item {
    flex-direction: row;
}

[dir="ltr"] .roadmap-date {
    flex-direction: row;
    justify-content: flex-start;
}

[dir="ltr"] .roadmap-info {
    text-align: left;
}

[dir="ltr"] .roadmap-guides {
    flex-direction: row;
    justify-content: flex-start;
}

[dir="ltr"] .roadmap-desc-en,
[dir="ltr"] .roadmap-title-en {
    text-align: left;
    direction: ltr;
}

@media (max-width: 768px) {
    .roadmap-timeline {
        max-width: 100%;
        padding: 0 0.75rem;
    }

    .roadmap-item {
        gap: 0.75rem;
    }

    .marker-dot {
        width: 28px;
        height: 28px;
    }

    .marker-dot svg {
        width: 14px;
        height: 14px;
    }

    .roadmap-title-en,
    .roadmap-title-ar {
        font-size: 1rem;
    }

    .roadmap-desc-en,
    .roadmap-desc-ar {
        font-size: 0.85rem;
    }

    .roadmap-info {
        padding: 0.75rem 1rem;
    }

    .roadmap-guides {
        flex-direction: column;
        gap: 0.5rem;
    }

    .guide-btn {
        justify-content: center;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}
