/* ========================================
   CSS CUSTOM PROPERTIES
======================================== */
:root {
    /* Logo Colors */
    --logo-blue: #406AB2;
    --logo-green: #60BB46;
    --logo-orange: #F4821F;
    --logo-yellow: #FFDE2D;

    /* Brand Extensions */
    --brand-blue-dark: #31558F;
    --brand-blue-deep: #183A70;
    --brand-green-dark: #438E32;
    --brand-orange-dark: #D96A12;
    --brand-yellow-dark: #D6B800;

    /* Neutrals */
    --white: #FFFFFF;
    --background: #F8FAFD;
    --surface: #FFFFFF;
    --surface-blue: #EFF4FB;
    --surface-green: #F1F8EE;
    --surface-orange: #FFF5EA;

    /* Text */
    --text-primary: #17233B;
    --text-secondary: #5C6675;
    --text-muted: #7B8492;

    /* Borders */
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* Typography */
    --font-heading: 'Alexandria', sans-serif;
    --font-body: 'IBM Plex Sans Arabic', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(23, 35, 59, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(23, 35, 59, 0.07), 0 2px 4px -1px rgba(23, 35, 59, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(23, 35, 59, 0.08), 0 4px 6px -2px rgba(23, 35, 59, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(23, 35, 59, 0.1), 0 10px 10px -5px rgba(23, 35, 59, 0.02);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: clamp(1rem, 4vw, 2rem);
}

/* ========================================
   RESET & BASE
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1vw + 0.875rem, 1.125rem);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   CONTAINER
======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 3px solid var(--logo-blue);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--logo-blue);
    color: var(--white);
    border-color: var(--logo-blue);
}

.btn-primary:hover {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--logo-blue);
    border-color: var(--logo-blue);
}

.btn-secondary:hover {
    background-color: var(--logo-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
}

/* ========================================
   HEADER
======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md) 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--logo-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--logo-blue);
    transition: width var(--transition-base);
}

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

.nav-cta {
    background-color: var(--logo-blue);
    color: var(--white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--brand-blue-dark);
}

/* Mobile menu toggle - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.mobile-menu-toggle:hover {
    border-color: var(--logo-blue);
    color: var(--logo-blue);
}

/* ========================================
   HERO
======================================== */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--surface-blue) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

/* Collab logos */
.hero-collab-logos {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    animation: fadeInDown 0.6s ease forwards;
}

.collab-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.collab-logo--partner {
    height: 60px;
}

.collab-x {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    opacity: 0.5;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--surface-blue);
    border: 1px solid rgba(64, 106, 178, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--logo-blue);
    margin-bottom: var(--space-lg);
    animation: fadeInDown 0.6s ease forwards;
}

.hero-badge .icon {
    width: 18px;
    height: 18px;
}

/* Title */
.hero-title {
    font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    animation: fadeInRight 0.6s ease 0.1s forwards;
    opacity: 0;
}

/* Subtitle */
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
    font-weight: 600;
    color: var(--logo-green);
    margin-bottom: var(--space-xl);
    animation: fadeInRight 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* Copy */
.hero-copy {
    margin-bottom: var(--space-2xl);
    animation: fadeInRight 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-copy p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-statement {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.0625rem;
    margin-top: var(--space-md);
}

/* Actions */
.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInRight 0.6s ease 0.4s forwards;
    opacity: 0;
}

/* Visual */
.hero-visual {
    position: relative;
    animation: fadeInLeft 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.hero-image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--logo-blue);
    color: var(--white);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ========================================
   HOMEPAGE - HERO
========================================= */
.home-hero {
    position: relative;
    padding: clamp(4rem, 10vw, 8rem) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23, 35, 59, 0.85) 0%, rgba(64, 106, 178, 0.75) 100%);
    z-index: 1;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero-content {
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
    text-align: center;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.home-hero-badge .icon {
    color: var(--logo-yellow);
}

.home-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--space-xl);
}

.home-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.home-hero-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.home-hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.home-hero-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.home-stat {
    text-align: center;
    padding: var(--space-xl);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.home-stat:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.home-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    color: var(--logo-yellow);
    margin-bottom: var(--space-xs);
}

.home-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ========================================
   HOMEPAGE - PROGRAMS
========================================= */
.home-programs {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.home-programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.home-program-card {
    position: relative;
    padding: var(--space-2xl);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
}

.home-program-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, var(--surface-blue) 0%, transparent 70%);
    opacity: 0.5;
}

.home-program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--logo-blue);
}

.home-program-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.home-program-badge--new {
    background-color: var(--logo-green);
    color: var(--white);
}

.home-program-badge--popular {
    background-color: var(--logo-orange);
    color: var(--white);
}

.home-program-badge--exclusive {
    background-color: var(--logo-blue);
    color: var(--white);
}

.home-program-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--surface-blue) 0%, var(--white) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    color: var(--logo-blue);
}

.home-program-icon--green {
    background: linear-gradient(135deg, var(--surface-green) 0%, var(--white) 100%);
    color: var(--logo-green);
}

.home-program-icon--orange {
    background: linear-gradient(135deg, var(--surface-orange) 0%, var(--white) 100%);
    color: var(--logo-orange);
}

.home-program-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.home-program-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.home-program-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--logo-blue);
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--transition-base);
}

.home-program-link:hover {
    gap: var(--space-md);
}

.home-program-link::before {
    content: '←';
}

.home-programs-cta {
    text-align: center;
}

/* ========================================
   HOMEPAGE - WHY CHOOSE US
========================================= */
.home-why {
    padding: var(--space-4xl) 0;
    background-color: var(--background);
}

.home-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
    margin-bottom: var(--space-2xl);
}

.home-why-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.home-why-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.home-why-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.home-why-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--logo-blue);
}

.home-why-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.home-why-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.home-why-feature:hover {
    border-color: var(--logo-blue);
    box-shadow: var(--shadow-md);
}

.home-why-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--surface-blue) 0%, var(--white) 100%);
    border-radius: var(--radius-md);
    color: var(--logo-blue);
    flex-shrink: 0;
}

.home-why-feature-icon--green {
    background: linear-gradient(135deg, var(--surface-green) 0%, var(--white) 100%);
    color: var(--logo-green);
}

.home-why-feature-icon--orange {
    background: linear-gradient(135deg, var(--surface-orange) 0%, var(--white) 100%);
    color: var(--logo-orange);
}

.home-why-feature-icon--yellow {
    background: linear-gradient(135deg, #FFFDE7 0%, var(--white) 100%);
    color: var(--brand-yellow-dark);
}

.home-why-feature span {
    font-weight: 600;
    color: var(--text-primary);
}

.home-why-cta {
    text-align: center;
}

/* ========================================
   HOMEPAGE - CERTIFIED STATS
========================================= */
.home-certified {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--logo-blue) 0%, var(--brand-blue-deep) 100%);
    color: var(--white);
}

.home-certified-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.home-certified-header .section-title {
    color: var(--white);
}

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

.home-certified-stat {
    text-align: center;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.home-certified-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--logo-yellow);
    margin-bottom: var(--space-sm);
}

.home-certified-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   HOMEPAGE - BRANCHES
========================================= */
.home-branches {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.home-branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.home-branch-card {
    text-align: center;
    padding: var(--space-2xl);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.home-branch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--logo-blue);
}

.home-branch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--surface-blue) 0%, var(--white) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    color: var(--logo-blue);
}

.home-branch-icon--green {
    background: linear-gradient(135deg, var(--surface-green) 0%, var(--white) 100%);
    color: var(--logo-green);
}

.home-branch-icon--orange {
    background: linear-gradient(135deg, var(--surface-orange) 0%, var(--white) 100%);
    color: var(--logo-orange);
}

.home-branch-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.home-branch-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.home-branch-phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--logo-blue);
    font-weight: 600;
    text-decoration: none;
    direction: ltr;
}

.home-branch-phone:hover {
    text-decoration: underline;
}

.home-branches-cta {
    text-align: center;
}

/* ========================================
   HOMEPAGE - FINAL CTA
========================================= */
.home-final-cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--surface-blue) 0%, var(--surface-green) 50%, var(--surface-orange) 100%);
    position: relative;
    overflow: hidden;
}

.home-final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--logo-yellow) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.home-final-cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.home-final-cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.home-final-cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.home-final-cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    border: none;
}

.btn-whatsapp:hover {
    background-color: #1da851;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* JoinChat WhatsApp Widget */
.joinchat__chatbox {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 999;
    width: 340px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    font-family: var(--font-body);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.joinchat__chatbox--show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.joinchat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
}

.joinchat__header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.joinchat__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    padding: 2px;
    flex-shrink: 0;
}

.joinchat__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.joinchat__wa {
    display: block;
    height: 22px;
}

.joinchat__wa path {
    fill: var(--white);
}

.joinchat__close {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.joinchat__close:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.joinchat__close::before,
.joinchat__close::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: var(--white);
    border-radius: 1px;
    transition: transform 0.2s ease;
}

.joinchat__close::before {
    transform: rotate(45deg);
}

.joinchat__close::after {
    transform: rotate(-45deg);
}

.joinchat__close:hover::before {
    transform: rotate(45deg) scale(1.1);
}

.joinchat__close:hover::after {
    transform: rotate(-45deg) scale(1.1);
}

.joinchat__scroll {
    padding: 18px;
    background: linear-gradient(180deg, #DCF8C6 0%, #ECE5DD 100%);
    min-height: 140px;
    position: relative;
}

.joinchat__scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #25D366, #128C7E, #25D366);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.joinchat__bubble {
    background: var(--white);
    padding: 14px 16px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 14px;
    position: relative;
    animation: bubblePop 0.3s ease-out 0.2s both;
}

@keyframes bubblePop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.joinchat__bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-right: 8px solid var(--white);
    border-bottom: 8px solid transparent;
}

.joinchat__bubble-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: #303030;
    margin: 0 0 4px 0;
}

.joinchat__bubble-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #303030;
    margin: 0;
}

.joinchat__open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.joinchat__open:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.joinchat__open:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.joinchat__open__text {
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.3px;
}

.joinchat__open__icon {
    width: 40px;
    height: 40px;
    animation: pulseIcon 2s infinite;
}

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

.joinchat__pa {
    fill: var(--white);
    stroke: var(--white);
    stroke-width: 5;
}

.joinchat__pb {
    fill: none;
    stroke: var(--white);
    stroke-width: 10;
    stroke-linecap: round;
}

/* WhatsApp Button (floating) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* ========================================
   HOMEPAGE - CONTACT INFO
========================================= */
.home-contact-info {
    padding: var(--space-3xl) 0;
    background-color: var(--white);
    border-top: 1px solid var(--border);
}

.home-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    justify-items: center;
}

.home-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--text-secondary);
}

.home-contact-item svg {
    color: var(--logo-blue);
    flex-shrink: 0;
}

.home-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.home-contact-item a:hover {
    color: var(--logo-blue);
}

/* ========================================
   RESPONSIVE DESIGN
========================================= */
.video-section {
    padding: var(--space-4xl) 0;
    background-color: var(--background);
}

.video-wrapper {
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.video-wrapper {
    position: relative;
}

.video-sound-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
    backdrop-filter: blur(8px);
}

.video-sound-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* ========================================
   STATISTICS
======================================== */
.statistics {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
    position: relative;
}

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

.stat-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--logo-blue);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--surface-blue) 0%, var(--white) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    color: var(--logo-blue);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--logo-blue);
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   COMMON SECTION STYLES
======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.section-intro {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   FEATURES / WHAT WE PROVIDE
======================================== */
.features {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    padding: var(--space-2xl);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, var(--surface-blue) 0%, transparent 70%);
    opacity: 0.5;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--logo-green);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--surface-green) 0%, var(--white) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    color: var(--logo-green);
}

.feature-title {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   WHY WE LAUNCHED
======================================== */
.why {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--brand-blue-deep) 0%, var(--logo-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.why::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

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

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.why-text p {
    font-size: 1.125rem;
    line-height: 1.9;
    opacity: 0.95;
    margin-bottom: var(--space-lg);
}

.why-text p:last-child {
    margin-bottom: 0;
}

.why-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.why-stat {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.why-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--logo-yellow);
}

.why-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   REQUIREMENTS / WHO CAN APPLY
======================================== */
.requirements {
    padding: var(--space-4xl) 0;
    background-color: var(--background);
}

.requirements-list {
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.requirement-item:hover {
    border-color: var(--logo-green);
    box-shadow: var(--shadow-md);
}

.requirement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--surface-green);
    border-radius: var(--radius-full);
    color: var(--logo-green);
    flex-shrink: 0;
}

.requirement-item p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-primary);
    padding-top: var(--space-xs);
}

.requirements-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.requirements-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* ========================================
   SELECTION PROCESS
======================================== */
.selection {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.process-step {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--logo-blue) 0%, var(--brand-blue-dark) 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding-top: var(--space-md);
}

.step-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.process-highlight {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--surface-blue) 0%, var(--surface-green) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.process-highlight p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--logo-blue);
    margin: 0;
}

/* ========================================
   STUDY LOCATIONS
======================================== */
.locations {
    padding: var(--space-4xl) 0;
    background-color: var(--background);
}

.emirates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.emirate-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background-color: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-base);
    cursor: default;
}

.emirate-chip:hover {
    border-color: var(--logo-blue);
    background-color: var(--surface-blue);
    color: var(--logo-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.chip-icon {
    color: var(--logo-blue);
    flex-shrink: 0;
}

/* ========================================
   EMOTIONAL CTA
======================================== */
.emotional-cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--surface-blue) 0%, var(--surface-green) 50%, var(--surface-orange) 100%);
    position: relative;
    overflow: hidden;
}

.emotional-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--logo-yellow) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.emotional-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.emotional-title {
    margin-bottom: var(--space-2xl);
}

.emotional-text {
    margin-bottom: var(--space-2xl);
}

.emotional-text p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.emotional-highlight {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: var(--logo-blue) !important;
}

/* ========================================
   BILINGUAL CONTENT VISIBILITY
======================================== */
html[dir="rtl"] .en-content {
    display: none;
}

html[dir="ltr"] .ar-content {
    display: none;
}

/* ========================================
   APPLICATION FORM (BILINGUAL)
======================================== */
.application-form {
    padding: var(--space-4xl) 0;
    background-color: var(--white);
}

.application-form .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.section-header__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.application-form__form {
    max-width: 100%;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field__label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.form-field__input,
.form-field__select,
.form-field__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    appearance: none;
}

.form-field__input:focus,
.form-field__select:focus,
.form-field__textarea:focus {
    outline: none;
    border-color: var(--logo-blue);
    box-shadow: 0 0 0 3px rgba(64, 106, 178, 0.15);
}

.form-field__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235C6675' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-left: 1rem;
    padding-right: 2.5rem;
    direction: rtl;
    cursor: pointer;
}

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

.form-field__radio-group {
    display: flex;
    gap: var(--space-xl);
}

.form-field__radio {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    position: relative;
}

.form-field__radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-field__radio-mark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.form-field__radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--logo-blue);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.form-field__radio input:checked + .form-field__radio-mark {
    border-color: var(--logo-blue);
}

.form-field__radio input:checked + .form-field__radio-mark::after {
    opacity: 1;
}

.form-field__radio input:focus-visible + .form-field__radio-mark {
    outline: 3px solid var(--logo-blue);
    outline-offset: 2px;
}

.form-confirmations {
    border: none;
    padding: 0;
    margin: var(--space-xl) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-confirmation {
    display: flex;
}

.form-field__checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    cursor: pointer;
}

.form-field__checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-field__checkbox-mark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-field__checkbox-mark::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 6px;
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.form-field__checkbox input:checked + .form-field__checkbox-mark {
    background-color: var(--logo-blue);
    border-color: var(--logo-blue);
}

.form-field__checkbox input:checked + .form-field__checkbox-mark::after {
    opacity: 1;
}

.form-field__checkbox input:focus-visible + .form-field__checkbox-mark {
    outline: 3px solid var(--logo-blue);
    outline-offset: 2px;
}

.form-field__checkbox .ar-content,
.form-field__checkbox .en-content {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.form-actions {
    margin-top: var(--space-xl);
}

.btn--primary {
    background-color: var(--logo-blue);
    color: var(--white);
    border-color: var(--logo-blue);
}

.btn--primary:hover {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn--full {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

/* ========================================
   SUCCESS STATE
======================================== */
.success-state {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-3xl);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.success-state[hidden] {
    display: none;
}

.success-state__icon {
    margin-bottom: var(--space-xl);
}

.success-state__icon svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.success-state__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    color: var(--logo-blue);
}

.success-state__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.success-state__text--note {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background-color: var(--surface-orange);
    border: 1px solid rgba(244, 130, 31, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--text-primary);
}

/* ========================================
   FINAL BRAND STATEMENT
======================================== */
.final-statement {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--brand-blue-deep) 0%, var(--logo-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.statement-content {
    position: relative;
    z-index: 1;
}

.statement-amount {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--logo-yellow) 0%, var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.statement-heading {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-2xl);
}

.statement-brand {
    margin-bottom: var(--space-2xl);
}

.statement-brand img {
    margin: 0 auto var(--space-md);
    height: 40px;
    width: auto;
}

.statement-name {
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.95;
}

.statement-text {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.statement-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.1;
}

.decoration-blue {
    width: 300px;
    height: 300px;
    background-color: var(--logo-blue);
    top: -100px;
    right: -100px;
}

.decoration-green {
    width: 200px;
    height: 200px;
    background-color: var(--logo-green);
    bottom: -50px;
    left: -50px;
}

.decoration-orange {
    width: 150px;
    height: 150px;
    background-color: var(--logo-orange);
    top: 50%;
    left: 10%;
}

.decoration-yellow {
    width: 100px;
    height: 100px;
    background-color: var(--logo-yellow);
    bottom: 20%;
    right: 15%;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    padding: var(--space-3xl) 0 0;
    background: linear-gradient(180deg, var(--text-primary) 0%, #1a1a2e 100%);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    text-align: right;
}

.footer-brand img {
    margin-bottom: var(--space-md);
    height: 40px;
    width: auto;
}

.footer-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.footer-initiative {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-bottom: var(--space-lg);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    text-decoration: none;
    color: var(--white);
}

.footer-contact-item:hover {
    opacity: 1;
}

.footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.footer-nav {
    text-align: right;
}

.footer-nav-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--white);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-nav-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--logo-green), var(--logo-blue));
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-size: 0.9375rem;
    opacity: 0.65;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(-4px);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
}

.footer-legal-link {
    font-size: 0.875rem;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.footer-legal-link:hover {
    opacity: 1;
}

.footer-bottom {
    padding: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    opacity: 0.5;
    margin: 0;
}

.footer-made-in {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-made-in::before {
    content: '🇦🇪';
    font-size: 1rem;
}

/* AI Assistants */
.ai-assistants {
    width: 100%;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-assistants-label {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.5;
    margin-bottom: var(--space-md);
    text-align: center;
}

.ai-assistants-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.ai-assistant-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.ai-assistant-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.ai-icon {
    width: 20px;
    height: 20px;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

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

/* Tablet and below */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-collab-logos {
        justify-content: center;
    }

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

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image-badge {
        left: auto;
        right: -10px;
        bottom: -15px;
    }

    .hero-bg {
        display: none;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-content {
        grid-template-columns: 1fr;
    }

    .why-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .why-stat {
        flex: 1;
        min-width: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: right;
        gap: var(--space-2xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto var(--space-md);
    }

    .footer-nav {
        text-align: right;
    }

    .footer-legal {
        align-items: flex-start;
    }

    /* Homepage responsive */
    .home-hero {
        min-height: auto;
        padding: clamp(3rem, 8vw, 5rem) 0;
    }

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

    .home-programs-grid {
        grid-template-columns: 1fr;
    }

    .home-why-grid {
        grid-template-columns: 1fr;
    }

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

    .home-branches-grid {
        grid-template-columns: 1fr;
    }

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

/* Mobile landscape and below */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-list {
        gap: var(--space-md);
    }

    .nav-link {
        font-size: 0.8125rem;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .hero {
        padding: var(--space-3xl) 0;
    }

    .hero-collab-logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .collab-logo {
        height: 35px;
    }

    .collab-logo--partner {
        height: 45px;
    }

    .hero-badge {
        margin-bottom: var(--space-md);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .stat-card {
        padding: var(--space-xl) var(--space-md);
    }

    .stat-icon {
        width: 56px;
        height: 56px;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field__radio-group {
        gap: var(--space-lg);
    }

    .emotional-cta {
        padding: var(--space-3xl) 0;
    }

    /* Homepage responsive - mobile landscape */
    .home-hero {
        min-height: auto;
        padding: clamp(3rem, 8vw, 5rem) 0;
    }

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

    .home-programs-grid {
        grid-template-columns: 1fr;
    }

    .home-why-features {
        grid-template-columns: 1fr;
    }

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

    .home-branches-grid {
        grid-template-columns: 1fr;
    }

    .home-contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .home-final-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .home-final-cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .site-header .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo img {
        height: 32px;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }

    .nav-link {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: var(--space-lg);
    }

    .why-stats {
        flex-direction: column;
    }

    .why-stat {
        min-width: auto;
    }

    .emirates-grid {
        gap: var(--space-sm);
    }

    .emirate-chip {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
    }

    .info-card {
        padding: var(--space-xl);
    }

    .statement-amount {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    /* Homepage responsive - mobile portrait */
    .home-hero-stats {
        grid-template-columns: 1fr;
    }

    .home-stat {
        padding: var(--space-lg);
    }

    .home-stat-number {
        font-size: 1.25rem;
    }

    .home-why-grid {
        gap: var(--space-xl);
    }

    .home-certified-stats {
        grid-template-columns: 1fr;
    }

    .home-certified-stat {
        padding: var(--space-xl);
    }

    .home-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Small mobile */
@media (max-width: 360px) {
    body {
        font-size: 0.9375rem;
    }

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

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    :root {
        --container-max: 1320px;
    }
}

/* Print styles */
@media print {
    .site-header,
    .hero-bg,
    .statement-decoration {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .hero,
    .statistics,
    .features,
    .why,
    .requirements,
    .selection,
    .locations,
    .emotional-cta,
    .application-form,
    .final-statement {
        padding: 2rem 0;
        background: none;
    }
}
/* ========================================
   LANGUAGE SWITCHER
========================================= */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-base);
    margin-inline-start: var(--space-sm);
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* LTR Support for English Pages */
[dir="ltr"] {
    --font-heading: 'Inter', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
}

[dir="ltr"] .footer-nav-title::after {
    right: auto;
    left: 0;
}

[dir="ltr"] .footer-links a:hover {
    transform: translateX(4px);
}

[dir="ltr"] .footer-brand {
    text-align: left;
}

[dir="ltr"] .footer-nav {
    text-align: left;
}

[dir="ltr"] .joinchat__bubble::before {
    left: auto;
    right: -8px;
    border-right: none;
    border-left: 8px solid var(--white);
}

[dir="ltr"] .home-why-content {
    text-align: left;
}

[dir="ltr"] .section-header {
    text-align: left;
}
