/* ========== COOKIE CONSENT BANNER ========== */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 18, 64, 0.98);
    color: #fff;
    z-index: 2000;
    padding: 18px 0;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: transform 0.3s;
}
.cookie-consent-content {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
    justify-content: center;
}
.cookie-consent-banner a {
    color: #5BC8C2;
    text-decoration: underline;
}
.cookie-consent-banner .btn-primary {
    padding: 8px 22px;
    font-size: 15px;
    border-radius: 30px;
    margin-left: 10px;
}
/* ==========================================
   Masarak Education — Shared Stylesheet
   ==========================================
   Include this file on every page:
   <link rel="stylesheet" href="styles.css">
   ========================================== */

:root {
    /* Masarak Brand Palette */
    --deep-navy: #001240;
    --royal-azure: #2448C8;
    --blue-tint: #B1C3F5;
    --teal: #5BC8C2;
    --teal-tint: #C2EAE8;
    --porcelain: #FCF9F4;

    /* Semantic Mappings */
    --primary: #001240;          /* Deep Navy */
    --primary-light: #2448C8;    /* Royal Azure */
    --accent: #5BC8C2;           /* Teal */
    --accent-light: #C2EAE8;     /* Teal Tint */
    --white: #FFFFFF;
    --off-white: #FCF9F4;        /* Porcelain */
    --light-gray: #E8E4DF;
    --gray: #6B7280;
    --dark: #001240;             /* Deep Navy */
    --success: #5BC8C2;          /* Teal */
    --gradient-hero: linear-gradient(135deg, #001240 0%, #2448C8 100%);
    --shadow-sm: 0 1px 3px rgba(0,18,64,0.08);
    --shadow-md: 0 4px 20px rgba(0,18,64,0.1);
    --shadow-lg: 0 10px 40px rgba(0,18,64,0.12);
    --shadow-xl: 0 20px 60px rgba(0,18,64,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar .logo img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo img {
    height: 100px;
    filter: none;
}

.navbar .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-links li:nth-last-child(2) {
    margin-left: 8px;
    margin-right: -8px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--primary);
}

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

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

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

.nav-links a.active {
    color: var(--accent);
}

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

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--accent);
    color: var(--deep-navy) !important;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    background: #4AB8B2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91,200,194,0.4);
}

.btn-primary::after {
    display: none !important;
}

.btn-nav-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    color: rgba(255,255,255,0.85) !important;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-nav-secondary:hover {
    color: var(--accent) !important;
}

.btn-nav-secondary::after {
    display: none !important;
}

.navbar.scrolled .btn-nav-secondary {
    color: var(--primary) !important;
}

.navbar.scrolled .btn-nav-secondary:hover {
    color: var(--accent) !important;
    background: transparent;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

.mobile-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--primary);
}

/* ========== HERO ========== */
.hero {
    min-height: calc(100vh - 160px);
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91,200,194,0.1) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(177,195,245,0.08) 0%, transparent 70%);
}

.hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(91,200,194,0.15);
    border: 1px solid rgba(91,200,194,0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
    max-width: 620px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero inline metrics strip */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.hero-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-metric-value {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.hero-metric-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-metric-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--accent);
}

.hero-stat p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

.hero-visual {
    position: relative;
}

.hero-video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-video-wrapper iframe,
.hero-video-wrapper video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border-radius: var(--radius-lg);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.play-button i {
    font-size: 28px;
    color: var(--primary);
    margin-left: 4px;
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-card.card-1 {
    bottom: -20px;
    left: -30px;
}

.hero-card.card-2 {
    top: 30px;
    right: -20px;
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero-card-icon.gold {
    background: rgba(91,200,194,0.15);
    color: var(--accent);
}

.hero-card-icon.blue {
    background: rgba(36,72,200,0.1);
    color: var(--royal-azure);
}

.hero-card h4 {
    font-size: 14px;
    color: var(--dark);
    font-weight: 700;
}

.hero-card p {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 0;
}

/* ========== UNIVERSITY LOGOS BAR ========== */
.uni-bar {
    background: #ffffff;
    padding: 22px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    width: 100%;
}

.uni-bar .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.uni-bar p {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    text-align: left;
}

.uni-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.uni-carousel-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll-logos 18s linear infinite;
}

.uni-carousel-track img {
    height: 82px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
    flex-shrink: 0;
}

.uni-carousel-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.uni-carousel:hover .uni-carousel-track {
    animation-play-state: paused;
}

/* ========== SECTIONS COMMON ========== */
.section {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

.section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(36,72,200,0.1);
    border-radius: 50px;
    color: var(--royal-azure);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.7;
}

.bg-light {
    background: var(--off-white);
}

/* ========== WHY MASARAK ========== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(91,200,194,0.3);
}

.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(91,200,194,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--teal);
    margin-bottom: 24px;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* Why Masarak — concise strip layout */
.why-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 8px;
}

.why-strip-item {
    text-align: center;
    padding: 0 0 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
    overflow: hidden;
}

.why-strip-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.why-strip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.5s ease;
}

.why-strip-img img.active {
    opacity: 1;
}

.why-strip-img:not([data-carousel]) img {
    opacity: 1;
}

.why-strip-img .img-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 2;
    pointer-events: none;
    letter-spacing: 0.3px;
    line-height: 1.4;
    text-align: left;
    transition: opacity 0.8s ease;
    opacity: 0;
}

.why-strip-img .img-label.active {
    opacity: 1;
}

.why-strip-item:hover .why-strip-img img.active {
    transform: scale(1.03);
}

.why-strip-item:hover {
    border-color: rgba(91,200,194,0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.why-strip-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(91,200,194,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--teal);
    margin: 20px auto 16px;
}

.why-strip-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 8px;
    padding: 0 24px;
}

.why-strip-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    padding: 0 24px;
}

/* ========== PROGRAM (two-column layout) ========== */
.program-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.program-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.program-overview-card {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.program-overview-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.program-overview-card > p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.program-deliverables {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-deliverables li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark);
}

.program-deliverables li i {
    color: var(--teal);
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.program-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.phase-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border-left: 4px solid var(--teal);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.phase-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.phase-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
    background: rgba(91,200,194,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.phase-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.phase-card > p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 14px;
    line-height: 1.6;
}

.phase-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phase-steps li {
    font-size: 13px;
    color: var(--gray);
    padding-left: 18px;
    position: relative;
    line-height: 1.6;
}

.phase-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

.phase-spark { border-left-color: var(--teal); }
.phase-build { border-left-color: var(--royal-azure); }
.phase-showcase { border-left-color: var(--deep-navy); }

.phase-spark .phase-badge { color: var(--teal); background: rgba(91,200,194,0.1); }
.phase-build .phase-badge { color: var(--royal-azure); background: rgba(36,72,200,0.08); }
.phase-showcase .phase-badge { color: var(--deep-navy); background: rgba(0,18,64,0.06); }

.phase-build .phase-steps li::before { background: var(--royal-azure); }
.phase-showcase .phase-steps li::before { background: var(--deep-navy); }

/* ========== SERVICES (legacy — kept for reference) ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    gap: 24px;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--royal-azure);
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--blue-tint);
    line-height: 1;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    margin-top: 14px;
}

.service-card ul li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card ul li i {
    color: var(--teal);
    font-size: 12px;
}

/* ========== RESULTS / OUTCOMES ========== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

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

.result-card .number {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 900;
    color: var(--royal-azure);
    line-height: 1;
    margin-bottom: 8px;
}

.result-card .label {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.result-card .sublabel {
    font-size: 13px;
    color: var(--gray);
}

/* ========== PROCESS / HOW IT WORKS ========== */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 43px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--royal-azure), var(--teal-tint));
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    width: 88px;
    height: 88px;
    min-width: 88px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--royal-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--royal-azure);
    position: relative;
    z-index: 2;
}

.step-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    flex: 1;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.step-content:hover {
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-card .quote-icon {
    font-size: 36px;
    color: var(--blue-tint);
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--royal-azure);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-author p {
    font-size: 13px;
    color: var(--royal-azure);
    font-weight: 600;
}

.testimonial-uni {
    font-size: 12px !important;
    color: var(--gray) !important;
    font-weight: 400 !important;
}

/* ========== UK UNIVERSITIES SECTION ========== */
.uni-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.uni-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.uni-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--royal-azure);
}

.uni-card i {
    font-size: 32px;
    color: var(--royal-azure);
    margin-bottom: 12px;
}

.uni-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.uni-card p {
    font-size: 13px;
    color: var(--gray);
}

/* ========== FOUNDERS ========== */
.founders-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.founders-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.founders-photo img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
}

.founders-quote {
    position: relative;
}

.founders-quote .quote-icon {
    font-size: 28px;
    color: var(--teal);
    margin-bottom: 16px;
}

.founders-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    line-height: 1.6;
    color: var(--primary);
    margin: 0 0 24px;
    font-style: italic;
}

.founders-quote-author h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.founders-quote-author p {
    font-size: 14px;
    color: var(--gray);
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--royal-azure);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.faq-question i {
    color: var(--royal-azure);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

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

.faq-item.active .faq-question {
    background: var(--off-white);
}

/* ========== CTA ========== */
.cta-section {
    background: var(--gradient-hero);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(91,200,194,0.08);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(177,195,245,0.06);
}

.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--deep-navy);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 30px;
}

.footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--teal);
    color: var(--deep-navy);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--teal);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 28px;
    background: var(--accent);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--deep-navy);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(91,200,194,0.4);
    z-index: 999;
    transition: var(--transition), opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    width: auto;
    height: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.whatsapp-float.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.whatsapp-float i {
    font-size: 20px;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(91,200,194,0.5);
    background: #4AB8B2;
}

/* ========== LANGUAGE TOGGLE ========== */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.lang-active {
    color: var(--white);
    opacity: 1;
}

.lang-divider {
    color: rgba(255,255,255,0.3);
}

.lang-option {
    color: rgba(255,255,255,0.45) !important;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Myriad Arabic', 'Segoe UI', Tahoma, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.lang-option:hover {
    color: var(--white) !important;
}

.lang-option::after {
    display: none !important;
}

.navbar.scrolled .lang-active {
    color: var(--primary);
}

.navbar.scrolled .lang-divider {
    color: var(--light-gray);
}

.navbar.scrolled .lang-option {
    color: var(--gray) !important;
}

.navbar.scrolled .lang-option:hover {
    color: var(--primary) !important;
}

/* Mobile nav close button */
.nav-close {
    display: none;
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

.nav-links.active .nav-close {
    display: block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .hero .container { grid-template-columns: 1fr; text-align: center; display: flex; flex-direction: column; gap: 0; }
    .hero-content { display: contents; }
    .hero-content h1 { order: 1; margin-bottom: 12px; }
    .hero-visual { order: 2; max-width: 480px; margin: 8px auto 12px; width: 100%; }
    .hero-content p { order: 3; margin-left: auto; margin-right: auto; margin-bottom: 12px; }
    .hero-content .hero-buttons { order: 4; justify-content: center; margin-bottom: 12px; }
    .hero-content p[style] { order: 5; }
    .hero-content .hero-metrics { order: 6; justify-content: center; margin-top: 0; }
    .hero-video-wrapper img { border-radius: var(--radius-lg); }
    .hero-stats { justify-content: center; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-strip { grid-template-columns: repeat(3, 1fr); }
    .program-layout { grid-template-columns: 1fr 1fr; }
    .program-left { position: static; }
    .services-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .uni-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--deep-navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 1001;
    }
    .nav-links.active { display: flex; }
    .nav-links a { color: var(--white) !important; font-size: 20px; }
    .navbar.scrolled .nav-links .btn-nav-secondary { color: var(--white) !important; }
    .nav-links.active ~ .mobile-toggle { display: none; }
    .mobile-toggle { display: flex; z-index: 1002; }
    .hero h1 { font-size: 34px; }
    .section-header h2 { font-size: 32px; }
    .why-grid { grid-template-columns: 1fr; }
    .why-strip { grid-template-columns: 1fr; gap: 20px; }
    .program-layout { grid-template-columns: 1fr; gap: 32px; }
    .program-left { position: static; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-metrics { gap: 16px; justify-content: center; }
    .hero-metric-divider { height: 24px; }
    .hero-stats { gap: 16px; flex-direction: column; align-items: center; text-align: center; }
    .hero-stat h3 { font-size: 28px; }
    .process-timeline::before { left: 23px; }
    .step-marker { width: 48px; height: 48px; min-width: 48px; font-size: 18px; }
    .step-content { padding: 20px; }
    .process-step { gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .cta-section h2 { font-size: 32px; }
    .navbar .logo img {
        height: 90px;
    }
    .navbar.scrolled .logo img {
        height: 90px;
    }
    .uni-bar p {
        font-size: 11px;
        letter-spacing: 0.5px;
        text-align: center;
    }
    .uni-carousel-track {
        gap: 40px;
    }
    .uni-carousel-track img {
        height: 60px;
    }
    .founders-content { grid-template-columns: 1fr; gap: 32px; }
    .founders-quote blockquote { font-size: 18px; }
}

@media (max-width: 480px) {
    .hero { padding: 120px 0 40px; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 15px; }
    .hero-visual { max-width: 100%; }
    .section { padding: 60px 0; }
    .uni-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }
}

/* ========== LEGAL PAGES (Privacy, Terms, Cookies) ========== */
.legal-hero {
    background: var(--gradient-hero);
    padding: 140px 0 60px;
    text-align: center;
}

.legal-hero .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--white);
    margin-bottom: 12px;
}

.legal-hero p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
}

.legal-content {
    padding: 80px 0 100px;
}

.legal-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary);
    margin-top: 48px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--royal-azure);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--teal);
}

.legal-content strong {
    color: var(--primary);
    font-weight: 600;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.legal-content table th,
.legal-content table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--light-gray);
    color: var(--gray);
}

.legal-content table th {
    background: var(--off-white);
    color: var(--primary);
    font-weight: 600;
}

/* ========== FORM / GET STARTED PAGE ========== */
.form-section {
    padding: 24px 0 100px;
    background: var(--off-white);
}

.form-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    min-height: 400px;
}

.form-wrapper iframe {
    width: 100%;
    border: none;
    border-radius: var(--radius);
}

.form-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--gray);
    gap: 16px;
}

.form-placeholder i {
    font-size: 48px;
    color: var(--blue-tint);
}

.form-placeholder p {
    font-size: 16px;
    color: var(--gray);
}

@media (max-width: 768px) {
    .legal-hero { padding: 120px 0 48px; }
    .legal-hero h1 { font-size: 32px; }
    .legal-content { padding: 48px 0 64px; }
    .legal-content h2 { font-size: 24px; }
    .form-section { padding: 24px 0 64px; }
    .form-wrapper { padding: 24px; }
}

/* CTA used as page hero (e.g. Get Started page) */
.cta-hero-page {
    padding-top: 160px;
    padding-bottom: 24px;
}

@media (max-width: 768px) {
    .cta-hero-page { padding-top: 130px; }
}

/* Form tab toggle buttons */
.form-tab {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    background: transparent;
    border: 2px solid var(--teal);
    color: var(--white) !important;
    border-radius: 8px;
}

.form-tab:hover {
    background: rgba(91, 200, 194, 0.15);
}

.form-tab.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--deep-navy) !important;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
    border-radius: 8px;
}

/* ==========================================
   Prospectus Download Section
   ========================================== */
.prospectus-section {
    background: var(--off-white);
}

.prospectus-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.prospectus-info .section-label {
    margin-bottom: 12px;
}

.prospectus-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--deep-navy);
}

.prospectus-info > p {
    color: var(--gray);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.prospectus-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prospectus-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--dark);
}

.prospectus-highlights li i {
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

.prospectus-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.prospectus-form-card h3 {
    font-size: 22px;
    color: var(--deep-navy);
    margin-bottom: 24px;
    text-align: center;
}

.prospectus-form-card .form-group {
    margin-bottom: 18px;
}

.prospectus-form-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prospectus-form-card input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--off-white);
    transition: var(--transition);
}

.prospectus-form-card input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(91, 200, 194, 0.15);
    background: var(--white);
}

.prospectus-form-card input.invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.prospectus-submit {
    width: 100%;
    margin-top: 6px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.prospectus-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success state */
.prospectus-success {
    text-align: center;
    padding: 20px 0;
}

.prospectus-success .success-icon {
    font-size: 56px;
    color: var(--accent);
    margin-bottom: 16px;
}

.prospectus-success h3 {
    font-size: 24px;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.prospectus-success > p {
    color: var(--gray);
    margin-bottom: 24px;
}

.prospectus-success .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.success-note {
    font-size: 13px;
    color: var(--gray);
    margin-top: 16px;
}

@media (max-width: 900px) {
    .prospectus-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .prospectus-info h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .prospectus-form-card {
        padding: 28px 20px;
    }
}

/* ==========================================
   RTL / Arabic Overrides
   ========================================== */

/* Arabic font */
[dir="rtl"] body {
    font-family: 'IBM Plex Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[dir="rtl"] .hero h1,
[dir="rtl"] .section-header h2,
[dir="rtl"] .cta-section h2,
[dir="rtl"] .legal-hero h1,
[dir="rtl"] .legal-content h2,
[dir="rtl"] .footer-brand .logo-text,
[dir="rtl"] .navbar .logo-text,
[dir="rtl"] .prospectus-info h2,
[dir="rtl"] .founders-quote blockquote,
[dir="rtl"] .hero-metric-value,
[dir="rtl"] .step-marker,
[dir="rtl"] .result-card .number,
[dir="rtl"] .hero-stat h3,
[dir="rtl"] .service-number {
    font-family: 'IBM Plex Sans Arabic', 'Playfair Display', serif;
}

/* Text alignment */
[dir="rtl"] .section-header,
[dir="rtl"] .cta-section {
    text-align: center;
}

[dir="rtl"] .uni-bar p {
    text-align: right;
}

/* Phase card border: flip from left to right */
[dir="rtl"] .phase-card {
    border-left: none;
    border-right: 4px solid var(--teal);
}

[dir="rtl"] .phase-build { border-right-color: var(--royal-azure); }
[dir="rtl"] .phase-showcase { border-right-color: var(--deep-navy); }

/* Phase step bullets */
[dir="rtl"] .phase-steps li {
    padding-left: 0;
    padding-right: 18px;
}

[dir="rtl"] .phase-steps li::before {
    left: auto;
    right: 0;
}

/* Program deliverables */
[dir="rtl"] .program-deliverables li {
    flex-direction: row;
}

/* Process timeline */
[dir="rtl"] .process-timeline::before {
    left: auto;
    right: 43px;
}

@media (max-width: 768px) {
    [dir="rtl"] .process-timeline::before {
        left: auto;
        right: 23px;
    }
}

/* Image label positioning */
[dir="rtl"] .why-strip-img .img-label {
    left: auto;
    right: 12px;
    text-align: right;
}

/* Nav links spacing */
[dir="rtl"] .nav-links li:nth-last-child(2) {
    margin-left: -8px;
    margin-right: 8px;
}

/* Footer icon margins */
[dir="rtl"] .footer-col ul li a i {
    margin-right: 0;
    margin-left: 6px;
}

/* Hero buttons */
[dir="rtl"] .hero-buttons {
    justify-content: flex-start;
}

@media (max-width: 1024px) {
    [dir="rtl"] .hero-buttons {
        justify-content: center;
    }
}

/* FAQ chevron */
[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-question h3 {
    text-align: right;
    flex: 1;
}

/* Carousel animation direction for RTL */
[dir="rtl"] .uni-carousel-track {
    animation-name: scroll-logos-rtl;
}

@keyframes scroll-logos-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* WhatsApp / Webinar float button */
[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 24px;
}

/* Mobile nav close button */
[dir="rtl"] .nav-close {
    right: auto;
    left: 24px;
}

/* Legal content list padding */
[dir="rtl"] .legal-content ul,
[dir="rtl"] .legal-content ol {
    padding-left: 0;
    padding-right: 24px;
}

/* Legal table text alignment */
[dir="rtl"] .legal-content table th,
[dir="rtl"] .legal-content table td {
    text-align: right;
}

/* Prospectus wrapper on mobile: keep natural order */
[dir="rtl"] .prospectus-form-card label {
    text-align: right;
}

/* Cookie banner */
[dir="rtl"] .cookie-consent-banner .btn-primary {
    margin-left: 0;
    margin-right: 10px;
}

/* Language toggle for Arabic pages: show Arabic as active */
[dir="rtl"] .lang-active {
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

[dir="rtl"] .lang-option {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

