/* ============================================================
   الرباح للسفر التعليمي - Production CSS v4.0
   Mobile-first, RTL Arabic, Performance-optimized
   Brand: Navy #1A1B5C + Gold #B89968 (from official logo)
   ============================================================ */

:root {
    /* Brand — derived from official logo */
    --primary: #1A1B5C;          /* Logo navy (deep) */
    --primary-light: #282A78;    /* Lifted navy for gradients */
    --primary-dark: #0F1040;     /* Deeper navy */
    --primary-pale: #E8E9F4;     /* Very pale navy tint */
    --accent: #B89968;           /* Logo gold */
    --accent-light: #D4B886;     /* Lighter gold */
    --accent-dark: #8E7340;      /* Deeper gold */
    --accent-pale: #F5EFE0;      /* Very pale gold tint */
    --success: #10b981;
    --success-pale: #d1fae5;
    --danger: #ef4444;
    --danger-pale: #fee2e2;
    --text: #0F1040;             /* Same as primary-dark for harmony */
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg: #ffffff;
    --bg-soft: #FAF6EE;          /* Brand ivory instead of grey */
    --bg-tinted: #F5F3EB;        /* Slightly darker ivory */
    --border: #E5DFD0;           /* Warm border (was cool grey) */
    --border-light: #F0EDDC;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(15,16,64,0.04);
    --shadow: 0 2px 4px rgba(15,16,64,0.06), 0 4px 8px rgba(15,16,64,0.04);
    --shadow-md: 0 4px 8px rgba(15,16,64,0.08), 0 8px 16px rgba(15,16,64,0.04);
    --shadow-lg: 0 10px 20px rgba(15,16,64,0.10), 0 20px 40px rgba(15,16,64,0.04);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    /* direction inherited from html dir attribute */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body, html[dir="rtl"] body { direction: rtl; }
[dir="ltr"] body, html[dir="ltr"] body { direction: ltr; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Container */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.container-narrow { max-width: 920px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text); font-weight: 800; }
h1 { font-size: clamp(26px, 5vw, 42px); }
h2 { font-size: clamp(22px, 4vw, 32px); }
h3 { font-size: clamp(18px, 3vw, 22px); }
p { margin-bottom: 1em; }
.text-gradient { background: linear-gradient(135deg, var(--primary), var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;
    line-height: 1.2;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 12px rgba(26,27,92,0.25);
}
.btn-primary:hover { color: #fff; box-shadow: 0 6px 18px rgba(26,27,92,0.35); transform: translateY(-1px); }
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(184,153,104,0.3);
}
.btn-accent:hover { color: #fff; box-shadow: 0 6px 18px rgba(184,153,104,0.4); transform: translateY(-1px); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { color: #fff; background: #059669; }
.btn-outline { border-color: var(--border); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-pale); }
.btn-lg { padding: 14px 28px; font-size: 16px; min-height: 52px; }
.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 36px; gap: 6px; }
.btn-block { width: 100%; }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    background: var(--bg-tinted);
    color: var(--text-secondary);
}
.badge-primary { background: var(--primary-pale); color: var(--primary); }
.badge-accent { background: var(--accent-pale); color: var(--accent-dark); }
.badge-success { background: var(--success-pale); color: var(--success); }
.badge-active { background: var(--success-pale); color: var(--success); }
.badge-inactive { background: var(--bg-tinted); color: var(--text-muted); }

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(15,23,42,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}
.header-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.header-bar a { color: #fff; opacity: 0.95; }
.header-bar a:hover { color: var(--accent-light); opacity: 1; }
.header-bar-info { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.header-bar-info span { display: inline-flex; align-items: center; gap: 6px; }

.header-main { padding: 12px 0; position: relative; }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo img { width: 44px; height: 44px; flex-shrink: 0; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1; }
.site-logo-name { font-size: 18px; font-weight: 900; color: var(--primary); margin-bottom: 2px; }
.site-logo-tagline { font-size: 11px; color: var(--text-muted); font-weight: 500; }

.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 14px;
}
.main-nav a:hover, .main-nav a.active { background: var(--primary-pale); color: var(--primary); }
.header-actions { display: flex; gap: 8px; align-items: center; }

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1A1B5C, #282A78);
    color: #fff;
    border-radius: 12px;
    border: 1px solid rgba(184,153,104,0.30);
    font-size: 20px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(26,27,92,0.25);
    transition: all 0.2s;
}
.mobile-toggle i {
    color: #fff;
}
.mobile-toggle:hover,
.mobile-toggle:active {
    background: linear-gradient(135deg, #B89968, #D4B886);
    color: #1A1B5C;
    transform: scale(0.95);
}
.mobile-toggle:hover i,
.mobile-toggle:active i {
    color: #1A1B5C;
}

@media (max-width: 1024px) {
    .header-bar-info { font-size: 12px; gap: 10px; }
    .main-nav { display: none; }
    .mobile-toggle { display: inline-flex; }
    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        background: #fff;
        padding: 12px 16px;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 99;
    }
    .main-nav.active a {
        width: 100%;
        padding: 14px 16px;
        border-bottom: 1px solid var(--border-light);
        font-size: 15px;
    }
    .main-nav.active a:last-child { border-bottom: none; }
    .header-actions .btn-text { display: none; }
}

@media (max-width: 640px) {
    .header-bar { display: none; }
    .header-main { padding: 10px 0; }
    .site-logo img { width: 38px; height: 38px; }
    .site-logo-name { font-size: 16px; }
    .site-logo-tagline { display: none; }
}

/* Breadcrumbs */
.breadcrumbs { background: var(--bg-soft); padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    list-style: none;
}
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list li:not(:last-child)::after {
    content: '←';
    color: var(--text-light);
    margin-right: 8px;
}
.breadcrumb-list li:last-child { color: var(--text); font-weight: 600; }

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, #eff6ff 0%, #E8E9F4 50%, #F5EFE0 100%);
    padding: 60px 0 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(26,27,92,0.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(184,153,104,0.10) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(26,27,92,0.15);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}
.hero h1 { font-size: clamp(28px, 5vw, 48px); line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero-subtitle { font-size: clamp(15px, 2vw, 18px); color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(26,27,92,0.15);
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: clamp(22px, 3vw, 28px); font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.hero-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }

.hero-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.6);
}
.hero-card-title { font-size: 20px; margin-bottom: 6px; }
.hero-card-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.hero-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.hero-step { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--text); font-size: 14px; }
.hero-step-num {
    width: 32px;
    height: 32px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .hero { padding: 40px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* Trust Bar */
.trust-bar { background: #fff; padding: 16px 0; border-bottom: 1px solid var(--border); }
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}
.trust-bar-inner span { display: inline-flex; align-items: center; gap: 6px; }
.trust-bar-inner i { color: var(--accent); font-size: 14px; }

@media (max-width: 768px) {
    .trust-bar-inner {
        gap: 14px;
        font-size: 12px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 16px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .trust-bar-inner span { white-space: nowrap; flex-shrink: 0; }
}

/* Sections */
.section { padding: 60px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.section-eyebrow {
    display: inline-block;
    background: var(--primary-pale);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-title { margin-bottom: 12px; line-height: 1.25; }
.section-subtitle { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.section-bg-soft { background: var(--bg-soft); }

@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-header { margin-bottom: 30px; }
}

/* Country Cards */
.country-grid, .country-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.country-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.country-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.country-card-flag {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale));
    font-size: 64px;
}
.country-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.country-card h3 { margin-bottom: 6px; color: var(--text); }
.country-card-tagline { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.country-card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.country-card-desc { color: var(--text-secondary); font-size: 14px; line-height: 1.65; margin-bottom: 16px; flex: 1; }
.country-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}
.country-card-cost { color: var(--accent-dark); font-weight: 800; font-size: 14px; }
.country-card-cta { color: var(--primary); font-weight: 700; font-size: 14px; }

/* University Cards */
.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.university-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 20px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.university-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.university-card h3 { color: var(--primary); margin-bottom: 6px; font-size: 17px; }
.university-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.university-card-desc { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

/* Article Cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.article-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
}
.article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.article-card h3 { margin-bottom: 10px; line-height: 1.4; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--primary); }
.article-card-summary { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin-bottom: 14px; flex: 1; }
.article-readmore { color: var(--primary); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }

/* Process Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    right: 12%;
    left: 12%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(26,27,92,0.3);
}
.step-card h3 { margin-bottom: 8px; font-size: 16px; }
.step-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .steps-grid::before { display: none; }
    .step-card { display: flex; align-items: flex-start; gap: 16px; text-align: right; }
    .step-num { width: 44px; height: 44px; margin: 0; font-size: 18px; flex-shrink: 0; }
}

/* Why Choose Us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.why-card {
    background: #fff;
    padding: 28px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.why-card:nth-child(2) .why-icon { background: var(--accent-pale); color: var(--accent-dark); }
.why-card:nth-child(3) .why-icon { background: var(--success-pale); color: var(--success); }
.why-card:nth-child(4) .why-icon { background: #fce7f3; color: #be185d; }
.why-card h3 { font-size: 17px; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* Stories */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.story-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-quote {
    padding: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-style: italic;
    line-height: 1.7;
    position: relative;
}
.story-quote::before {
    content: '"';
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 60px;
    line-height: 1;
    opacity: 0.3;
    font-family: Georgia, serif;
}
.story-body { padding: 20px; }
.story-name { font-weight: 800; color: var(--text); margin-bottom: 4px; }
.story-info { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-stars { color: var(--accent); margin-bottom: 12px; font-size: 16px; }
.review-content { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; font-size: 14px; }
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}
.review-author-info { flex: 1; }
.review-author-name { font-weight: 700; color: var(--text); font-size: 14px; }
.review-author-country { color: var(--text-muted); font-size: 12px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    transition: var(--transition);
}
.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s;
    line-height: 1;
}
.faq-item.open .faq-question { background: var(--primary-pale); color: var(--primary); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 20px 18px; color: var(--text-secondary); line-height: 1.75; font-size: 14px; }
.faq-item.open .faq-answer { max-height: 500px; }

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(184,153,104,0.1) 0%, transparent 50%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 800px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 16px; line-height: 1.7; margin-bottom: 0; }
.page-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; }
.page-hero-stat { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; font-weight: 600; }
.page-hero-stat i { color: var(--accent-light); }

/* Country Detail */
.country-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}
.country-stat {
    background: #fff;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}
.country-stat-icon { font-size: 22px; color: var(--primary); margin-bottom: 6px; }
.country-stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.country-stat-value { font-weight: 800; font-size: 14px; color: var(--text); }

.country-content, .article-content { font-size: 16px; line-height: 1.85; color: var(--text-secondary); }
.country-content h2, .article-content h2 {
    color: var(--text);
    margin: 36px 0 14px;
    font-size: 24px;
    padding-right: 12px;
    border-right: 4px solid var(--accent);
}
.country-content h3, .article-content h3 { color: var(--text); margin: 24px 0 12px; font-size: 19px; }
.country-content p, .article-content p { margin-bottom: 16px; }
.country-content ul, .country-content ol, .article-content ul, .article-content ol { margin: 0 0 16px; padding-right: 24px; }
.country-content li, .article-content li { margin-bottom: 8px; }
.country-content strong, .article-content strong { color: var(--text); font-weight: 700; }

/* Author Card */
.author-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 24px 0;
}
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
}
.author-info { flex: 1; }
.author-name { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.author-position { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.author-bio { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
}
.sidebar-cta h3 { color: #fff; margin-bottom: 8px; font-size: 18px; }
.sidebar-cta p { color: rgba(255,255,255,0.9); font-size: 14px; margin-bottom: 16px; }

/* CTA Banner */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(184,153,104,0.15) 0%, transparent 60%);
}
.cta-section-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 28px; line-height: 1.7; }

/* Footer */
.site-footer { background: var(--text); color: #cbd5e1; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #cbd5e1; font-size: 14px; }
.footer-col a:hover { color: var(--accent-light); padding-right: 4px; }
.footer-info { color: #cbd5e1; font-size: 14px; line-height: 1.7; }
.footer-info a { color: #cbd5e1; }
.footer-info i { color: var(--accent); margin-left: 6px; }
.social-icons { display: flex; gap: 8px; margin-top: 16px; }
.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}
.social-icons a:hover { background: var(--accent); transform: translateY(-2px); color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Forms */
.form-wrap {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.form-group { margin-bottom: 18px; }
.form-label {
    display: block;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 14px;
}
.form-label .required { color: var(--danger); }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 16px; /* 16px+ prevents iOS Safari from zooming on focus */
    color: var(--text);
    background: #fff;
    transition: var(--transition);
    line-height: 1.5;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,27,92,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .form-input, .form-select, .form-textarea { font-size: 16px; padding: 14px 16px; min-height: 48px; }
    .form-wrap { padding: 20px; }
}

.form-message {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
}
.form-message.success { background: var(--success-pale); color: var(--success); }
.form-message.error { background: var(--danger-pale); color: var(--danger); }

/* Meta */
.meta-item { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-muted); }
.meta-item i { color: var(--primary); font-size: 0.9em; }

/* Floating Contacts (call + whatsapp) - Mobile-first UX */
.floating-contacts {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-btn:hover {
    transform: scale(1.08);
    color: #fff;
}
.floating-call {
    background: #1A1B5C;
    box-shadow: 0 4px 16px rgba(26,27,92,0.4);
}
.floating-call:hover {
    box-shadow: 0 6px 20px rgba(26,27,92,0.5);
}
.floating-whatsapp {
    background: #25d366;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    animation: wa-pulse 3s infinite;
}
.floating-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 0 10px rgba(37,211,102,0); }
}
.mobile-only { display: none; }

@media (max-width: 1024px) {
    .mobile-only { display: flex; }
    .floating-contacts { bottom: 16px; left: 16px; }
    .floating-btn { width: 52px; height: 52px; }
}
@media (max-width: 480px) {
    .floating-contacts { bottom: 14px; left: 14px; gap: 8px; }
    .floating-btn { width: 48px; height: 48px; }
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border-right: 4px solid;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.alert-success { background: var(--success-pale); border-color: var(--success); color: var(--success); }
.alert-error { background: var(--danger-pale); border-color: var(--danger); color: var(--danger); }
.alert-warning { background: var(--accent-pale); border-color: var(--accent); color: var(--accent-dark); }
.alert-info { background: var(--primary-pale); border-color: var(--primary); color: var(--primary); }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th {
    background: var(--bg-soft);
    padding: 12px;
    text-align: right;
    font-weight: 700;
    color: var(--text);
    font-size: 14px;
    border-bottom: 2px solid var(--border);
}
.data-table td { padding: 12px; border-bottom: 1px solid var(--border-light); font-size: 14px; vertical-align: middle; }
.data-table tr:hover { background: var(--bg-soft); }

/* Utility */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

/* Mobile content tweaks */
@media (max-width: 768px) {
    .country-content, .article-content { font-size: 15px; line-height: 1.8; }
    .country-content h2, .article-content h2 { font-size: 22px; margin: 28px 0 14px; }
    .country-content h3, .article-content h3 { font-size: 18px; margin: 20px 0 10px; }
    .author-card { flex-direction: column; align-items: center; text-align: center; }
}

/* Touch optimization */
@media (pointer: coarse) {
    .country-card:hover, .university-card:hover, .article-card:hover,
    .why-card:hover, .step-card:hover, .story-card:hover, .review-card:hover {
        transform: none;
    }
}

@media print {
    .site-header, .site-footer, .breadcrumbs, .cta-section, .whatsapp-float, .hero-cta { display: none !important; }
    body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Language Switcher ============================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-right: 12px;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.lang-switcher a {
    color: #fff;
    opacity: 0.85;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08);
    transition: var(--transition);
}
.lang-switcher a:hover {
    opacity: 1;
    background: rgba(255,255,255,0.18);
    color: var(--accent-light);
}
@media (max-width: 640px) {
    .lang-switcher { display: none; }
}

/* =============================================================
   COUNTRY PAGE - PROFESSIONAL DESIGN
============================================================= */

/* Country Hero with cinematic background */
.country-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}
.country-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    z-index: 1;
}
.country-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,27,92,0.92), rgba(30,58,138,0.88) 50%, rgba(217,119,6,0.85));
    z-index: 2;
}
.country-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(255,255,255,0.12) 0%, transparent 50%),
        radial-gradient(circle at 75% 70%, rgba(184,153,104,0.18) 0%, transparent 60%);
    z-index: 3;
    pointer-events: none;
}
.country-hero .container { position: relative; z-index: 4; }
.country-hero-inner {
    max-width: 800px;
    color: #fff;
    padding: 60px 0;
}
.country-hero-flag {
    font-size: 96px;
    line-height: 1;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.country-hero-tagline {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px;
    font-size: 14px;
    opacity: 0.95;
}
.country-hero-tagline span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 600;
}
.country-hero-tagline i { color: var(--accent-light); font-size: 0.9em; }
.country-hero-title {
    font-size: clamp(28px, 5vw, 52px);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    font-weight: 900;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.country-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.95);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
}
.country-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .country-hero { min-height: 420px; }
    .country-hero-flag { font-size: 64px; margin-bottom: 16px; }
    .country-hero-inner { padding: 40px 0; }
    .country-hero-tagline { gap: 8px; font-size: 12px; }
    .country-hero-tagline span { padding: 4px 10px; }
    .country-hero-cta { flex-direction: column; }
    .country-hero-cta .btn { width: 100%; }
}

/* Country Stats Bar - sits on top of hero with negative margin */
.country-stats-bar {
    background: transparent;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding: 0 0 30px;
}
.country-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}
.country-stat-card {
    text-align: center;
    padding: 12px 8px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.country-stat-card:hover {
    background: var(--bg-soft);
    transform: translateY(-2px);
}
.country-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 18px;
}
.country-stat-num {
    font-size: 18px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 4px;
    word-break: break-word;
}
.country-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .country-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; }
    .country-stat-num { font-size: 15px; }
}
@media (max-width: 480px) {
    .country-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .country-stat-icon { width: 40px; height: 40px; font-size: 16px; }
    .country-stat-num { font-size: 14px; }
}

/* Why Country */
.why-country-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-secondary);
}
.why-country-content p { margin-bottom: 0; }
@media (max-width: 768px) {
    .why-country-content { padding: 24px; font-size: 15px; }
}

/* Cities grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.city-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.city-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-pale);
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px;
}
.city-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,27,92,0.4), rgba(184,153,104,0.3));
}
.city-capital-badge, .city-students-badge {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.city-capital-badge { color: var(--accent-dark); }
.city-capital-badge i, .city-students-badge i { font-size: 11px; }
.city-body {
    padding: 20px;
}
.city-body h3 {
    margin-bottom: 8px;
    color: var(--text);
}
.city-body p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Programs available in country */
.programs-country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.program-country-card {
    background: #fff;
    padding: 28px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.program-country-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}
.program-country-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.program-country-card:hover::before { opacity: 1; }
.program-country-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale));
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.program-country-card h3 {
    color: var(--text);
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.program-country-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.program-country-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    font-weight: 700;
}
.program-country-cost { color: var(--accent-dark); }
.program-country-duration { color: var(--text-secondary); }
.program-country-cta {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Rich University Card */
.university-card-rich {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.university-card-rich:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.university-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-pale);
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px;
}
.university-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,27,92,0.35), rgba(26,27,92,0.55));
}
.university-card-rank {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(184,153,104,0.4);
}
.university-card-rich .university-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.university-card-rich h3 {
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.university-card-rich .university-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.university-card-rich .university-card-meta i { color: var(--primary); margin-left: 4px; }
.university-card-rich p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.university-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.university-card-cost {
    color: var(--accent-dark);
    font-weight: 800;
    font-size: 14px;
}
.university-card-cta {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Cost Cards */
.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.cost-card {
    background: #fff;
    padding: 28px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}
.cost-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.cost-card-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
}
.cost-card-primary h3, .cost-card-primary .cost-card-amount, .cost-card-primary .cost-card-period { color: #fff; }
.cost-card-primary p { color: rgba(255,255,255,0.9); }
.cost-card-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}
.cost-card-primary .cost-card-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.cost-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text);
}
.cost-card-amount {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.2;
}
.cost-card-primary .cost-card-amount { color: #fff; }
.cost-card-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 600;
}
.cost-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Content Blocks */
.content-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.content-section-title {
    color: var(--text);
    font-size: 22px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--accent);
}
.content-section-title i {
    color: var(--primary);
    font-size: 0.9em;
}
.content-updated {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .content-block { padding: 24px 18px; }
    .content-section-title { font-size: 19px; }
}

/* CTA section enhancements */
.cta-flag-large {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
@media (max-width: 600px) {
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }
    .cta-flag-large { font-size: 60px; }
}


/* =============================================================
   CONVERSION-FOCUSED COMPONENTS
============================================================= */

/* Cities Strip (compact) */
.cities-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
}
.city-strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.city-strip-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.city-strip-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.city-strip-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.city-strip-info strong {
    color: var(--text);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.city-strip-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-dark);
    background: var(--accent-pale);
    padding: 2px 7px;
    border-radius: var(--radius-full);
}
.city-strip-info span {
    color: var(--text-muted);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Process Timeline - Conversion section */
.process-steps-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    padding: 70px 0;
}
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
    counter-reset: step;
}
.process-step {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 26px 22px;
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}
.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s ease;
}
.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.process-step:hover::before {
    width: 100%;
}
.process-step-num {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}
.process-step-content {
    padding-left: 56px;
}
.process-step-content h3 {
    color: var(--text);
    font-size: 17px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.process-step-content h3 i {
    color: var(--primary);
    font-size: 0.85em;
}
.process-step-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 12px;
}
.process-step-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-soft);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.process-cta {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
@media (max-width: 768px) {
    .process-steps-section { padding: 50px 0; }
    .process-step { padding: 22px 18px; }
    .process-step-num { width: 38px; height: 38px; font-size: 17px; }
    .process-step-content { padding-left: 48px; }
    .process-step-content h3 { font-size: 16px; }
    .process-cta { flex-direction: column; }
    .process-cta .btn { width: 100%; }
}

/* Info Accordion (collapsible content sections) */
.info-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}
.info-accordion-item {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.info-accordion-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.info-accordion-item summary {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 800;
    font-size: 17px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    transition: var(--transition);
    user-select: none;
    position: relative;
}
.info-accordion-item summary::-webkit-details-marker { display: none; }
.info-accordion-item summary i:first-child {
    color: var(--primary);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.info-accordion-item summary::after {
    content: '+';
    margin-right: auto;
    width: 32px;
    height: 32px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    transition: var(--transition);
    line-height: 1;
}
.info-accordion-item[open] summary::after {
    content: '−';
    background: var(--primary);
    color: #fff;
}
.info-accordion-item summary:hover {
    background: var(--bg-soft);
}
.info-accordion-content {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.85;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}
.info-accordion-content h3 {
    color: var(--text);
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.info-accordion-content h3:first-child { margin-top: 0; }
.info-accordion-content p { margin-bottom: 12px; }
.info-accordion-content ul, .info-accordion-content ol {
    padding-right: 22px;
    margin-bottom: 12px;
}
.info-accordion-content li { margin-bottom: 6px; }

@media (max-width: 768px) {
    .info-accordion-item summary { padding: 14px 16px; font-size: 15px; }
    .info-accordion-content { padding: 16px; padding-top: 16px; font-size: 14px; }
}

/* Why Cards Grid - 4 strong value props */
.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.why-card {
    background: #fff;
    padding: 28px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.why-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    transition: var(--transition);
}
.why-card:hover .why-card-icon { transform: scale(1.1) rotate(-5deg); }
.why-card-icon-blue { background: linear-gradient(135deg, #E8E9F4, #D4D6E8); color: #1A1B5C; }
.why-card-icon-amber { background: linear-gradient(135deg, #F5EFE0, #fde68a); color: #b45309; }
.why-card-icon-green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #047857; }
.why-card-icon-purple { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #7c3aed; }
.why-card h3 {
    color: var(--text);
    font-size: 18px;
    margin-bottom: 12px;
}
.why-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.why-card p strong { color: var(--accent-dark); }

/* Hero Trust Badges */
.country-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    color: var(--text);
    padding: 9px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.5);
}
.trust-badge i {
    color: var(--accent-dark);
    font-size: 14px;
}
.trust-badge strong {
    color: var(--primary);
}

.country-hero-meta {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.95);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.country-hero-meta i {
    color: var(--accent-light);
    animation: pulse-glow 2s ease-in-out infinite;
}
.country-hero-meta strong { color: var(--accent-light); }

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 640px) {
    .country-hero-trust { gap: 6px; }
    .trust-badge { font-size: 11px; padding: 6px 12px; }
}

/* Stagger children slightly for nice cascade effect (vestigial - kept for any inline use) */
.section.in-view .why-card:nth-child(1),
.section.in-view .city-strip-item:nth-child(1),
.section.in-view .university-card-rich:nth-child(1),
.section.in-view .cost-card:nth-child(1),
.section.in-view .process-step:nth-child(1) { transition-delay: 0s; }
.section.in-view .why-card:nth-child(2),
.section.in-view .city-strip-item:nth-child(2),
.section.in-view .university-card-rich:nth-child(2),
.section.in-view .cost-card:nth-child(2),
.section.in-view .process-step:nth-child(2) { transition-delay: 0.05s; }
.section.in-view .why-card:nth-child(3),
.section.in-view .city-strip-item:nth-child(3),
.section.in-view .university-card-rich:nth-child(3),
.section.in-view .cost-card:nth-child(3),
.section.in-view .process-step:nth-child(3) { transition-delay: 0.1s; }
.section.in-view .why-card:nth-child(4),
.section.in-view .city-strip-item:nth-child(4),
.section.in-view .university-card-rich:nth-child(4),
.section.in-view .cost-card:nth-child(4),
.section.in-view .process-step:nth-child(4) { transition-delay: 0.15s; }
.section.in-view .process-step:nth-child(5) { transition-delay: 0.2s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .fade-on-scroll, .fade-on-scroll.in-view {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .floating-whatsapp { animation: none; }
}

/* SVG flag styling */
.svg-flag {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    vertical-align: middle;
    flex-shrink: 0;
}
.country-hero-flag .svg-flag,
.cta-flag-large .svg-flag {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.country-card-flag .svg-flag {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* SVG icon helpers */
.svg-icon {
    flex-shrink: 0;
    vertical-align: middle;
}
/* ============================================================
   MISSING CLASSES - LAYOUT FIXES
   Added to fix layout issues on homepage and other pages
   ============================================================ */

/* === Grids === */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}
@media (max-width: 768px) {
    .grid-2-1 { grid-template-columns: 1fr; }
}

/* === Hero === */
.hero-content { position: relative; z-index: 2; }
.hero-content h1 {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.2;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 18px;
}
.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 540px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-visual {
    position: relative;
}
.hero-card-sub {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}
.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* === Stats === */
.stat {
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* === Sections === */
.section-cream { background: #fef9f0; }
.section-soft { background: #f8fafc; }
.bg-soft { background: #f8fafc; }
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.text-primary { color: var(--primary); }

/* === Country Card extras === */
.country-card .tagline {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.5;
}
.country-card .meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.country-card .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--primary-pale);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
}
.country-card .cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}
.country-card .price {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 14px;
}
.country-card .cta a {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* === Program Card === */
.program-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.program-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}
.program-card h3 {
    color: var(--text);
    font-size: 18px;
    margin-bottom: 8px;
}
.program-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.program-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* === Article Card === */
.article-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.article-img {
    height: 160px;
    background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
}
.article-category {
    display: inline-block;
    background: var(--primary-pale);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* === Review Card === */
.review-card {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.review-card:hover {
    box-shadow: var(--shadow-md);
}
.review-stars {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 12px;
}
.review-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}
.review-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.review-author-name {
    font-weight: 700;
    font-size: 14px;
}
.review-author-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* === FAQ === */
.faq-q {
    width: 100%;
    text-align: right;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
    margin-bottom: 12px;
}
.faq-q:hover {
    border-color: var(--primary);
    background: var(--primary-pale);
}
.faq-q-icon {
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-q[aria-expanded="true"] .faq-q-icon {
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 12px;
}
.faq-q[aria-expanded="true"] + .faq-a {
    max-height: 1000px;
}
.faq-a-inner {
    padding: 16px 20px;
    background: var(--bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

/* === CTA Banner === */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 60px 0;
    margin-top: 40px;
}
.cta-banner-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.cta-banner h2 {
    color: #fff;
    font-size: clamp(22px, 4vw, 32px);
    margin-bottom: 12px;
}
.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-bottom: 24px;
}
.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-banner .btn-accent { background: var(--accent); color: #fff; }
.cta-banner .btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }

/* === Trust Bar fix === */
.trust-bar { background: #fff; padding: 14px 0; border-bottom: 1px solid var(--border); }
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}
.trust-bar-inner span { display: inline-flex; align-items: center; gap: 6px; }
.trust-bar-inner i { color: var(--accent); }

/* === Steps Cards (homepage hero card) === */
.hero-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.hero-card h3 { margin-bottom: 6px; font-size: 20px; }
.hero-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hero-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}
.hero-step:last-child { border-bottom: none; }
.hero-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-pale);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.hero-step-text {
    flex: 1;
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}

/* === Process Steps (numbered timeline) === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    position: relative;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    margin: 0 auto 16px;
    box-shadow: 0 8px 16px rgba(26,27,92,0.3);
    position: relative;
    z-index: 2;
}
.process-step h4 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 8px;
}
.process-step p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

/* === Why Cards (4 reasons) === */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.why-card {
    background: #fff;
    padding: 28px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.why-card-icon-1 { background: #fce7f3; color: #db2777; }
.why-card-icon-2 { background: #d1fae5; color: #059669; }
.why-card-icon-3 { background: #F5EFE0; color: #8E7340; }
.why-card-icon-4 { background: #E8E9F4; color: #1A1B5C; }
.why-card h4 {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 8px;
}
.why-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}
@media (max-width: 768px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
}

/* === Story Card === */
.story-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.story-img {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.story-img-flag { font-size: 64px; }
.story-country-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}
.story-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.story-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* === Specialization Card === */
.specialization-card {
    background: #fff;
    padding: 24px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.specialization-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.specialization-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.specialization-card h4 {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 6px;
}
.specialization-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* === University Card === */
.university-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.university-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.university-img {
    height: 140px;
    background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: var(--primary);
}

/* === Form fixes === */
.form-error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 4px;
}

/* === Comparison === */
.comparison-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.comparison-result {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

/* === Mobile responsive === */
@media (max-width: 768px) {
    .countries-grid,
    .programs-grid,
    .articles-grid,
    .reviews-grid,
    .stories-grid,
    .universities-grid {
        grid-template-columns: 1fr;
    }
    .specializations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
    .country-card-flag { height: 100px; font-size: 48px; }
    .article-img, .story-img, .university-img { height: 120px; font-size: 40px; }
}

/* ============================================================
   ADDITIONAL CLASSES - INNER PAGES
   ============================================================ */

/* === Country Program Sidebar Layout === */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sidebar-card {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.sidebar-card h4 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}
.sidebar-card .meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}
.sidebar-card .meta-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-light);
}
.sidebar-card .meta-item:last-child { border-bottom: none; }

/* === Lead text === */
.lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* === Summary === */
.summary {
    background: var(--primary-pale);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border-right: 4px solid var(--primary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
}

/* === Level Badge (Bachelor/Master/PhD) === */
.level {
    display: inline-block;
    background: var(--primary-pale);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* === Rating === */
.rating {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.rating i { color: var(--accent); }

/* === Filter === */
.filter {
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.filter label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}
.filter select,
.filter input {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
}

/* === Warning === */
.warning {
    background: #F5EFE0;
    border-right: 4px solid var(--accent);
    color: #92400e;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}
.warning strong { color: #78350f; }

/* === Header for inner pages === */
.page-header {
    background: linear-gradient(135deg, #eff6ff, #E8E9F4);
    padding: 40px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-size: clamp(24px, 4vw, 36px);
    color: var(--text);
    margin-bottom: 12px;
}
.page-header p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    max-width: 720px;
}

/* === Link List === */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.link-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.link-list a:hover {
    background: var(--primary-pale);
    color: var(--primary);
}
.link-list a i {
    color: var(--text-muted);
    font-size: 12px;
}

/* === Lists with check === */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.check-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    line-height: 1.6;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--success);
    font-weight: 900;
    font-size: 16px;
}

/* === Status Badges === */
.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-active, .status-success, .status-published { background: #d1fae5; color: #065f46; }
.status-pending, .status-warning { background: #F5EFE0; color: #92400e; }
.status-rejected, .status-error { background: #fee2e2; color: #991b1b; }
.status-info { background: #E8E9F4; color: #1A1B5C; }

/* === Application card (track page) === */
.application-card {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}
.application-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* === Card variations === */
.card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.box {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

/* === Text utilities === */
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: #8E7340; }
.text-muted { color: var(--text-muted); }

/* === Info bar items (for pages like /destinations/...) === */
.info-bar {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    background: var(--primary-pale);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}
.info-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
}
.info-bar-item i {
    color: var(--primary);
    font-size: 16px;
}
.info-bar-item strong {
    color: var(--primary-dark);
    font-weight: 800;
}

/* === Two-column layout (article + sidebar) === */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 968px) {
    .layout-with-sidebar { grid-template-columns: 1fr; }
}

/* === Section padding fix === */
section {
    padding: 60px 0;
}
@media (max-width: 768px) {
    section { padding: 40px 0; }
}

/* === Section header === */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}
.section-header h2 {
    font-size: clamp(24px, 4vw, 36px);
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* === Why/Benefits container === */
.why { display: block; }

/* === Sub-page hero === */
.page-hero {
    background: linear-gradient(135deg, #eff6ff, #E8E9F4, #F5EFE0);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}
.page-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}
.page-hero p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    max-width: 760px;
}

/* === Article content (for article body) === */
.article-content,
.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}
.article-content h2,
.content-body h2 {
    font-size: clamp(20px, 3vw, 26px);
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text);
}
.article-content h3,
.content-body h3 {
    font-size: clamp(18px, 2.5vw, 22px);
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text);
}
.article-content p,
.content-body p {
    margin-bottom: 16px;
}
.article-content ul,
.article-content ol,
.content-body ul,
.content-body ol {
    margin: 16px 0 16px 24px;
    padding-right: 0;
}
.article-content li,
.content-body li {
    margin-bottom: 8px;
}
.article-content table,
.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.article-content table th,
.content-body table th {
    background: var(--primary);
    color: #fff;
    padding: 12px;
    text-align: right;
    font-weight: 700;
}
.article-content table td,
.content-body table td {
    padding: 10px 12px;
    border: 1px solid var(--border);
    background: #fff;
}
.article-content table tr:nth-child(even) td,
.content-body table tr:nth-child(even) td {
    background: var(--bg);
}
.article-content blockquote,
.content-body blockquote {
    border-right: 4px solid var(--primary);
    padding: 12px 20px;
    background: var(--primary-pale);
    margin: 16px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text);
}
.article-content strong,
.content-body strong {
    color: var(--text);
    font-weight: 800;
}
.article-content a,
.content-body a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}
.article-content a:hover,
.content-body a:hover {
    color: var(--primary-dark);
}

/* === Country header (for country.php) === */
.country-header {
    background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale));
    padding: 40px 0;
    margin-bottom: 32px;
    text-align: center;
}
.country-header .flag {
    font-size: 80px;
    margin-bottom: 16px;
}
.country-header h1 {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--text);
    margin-bottom: 8px;
}
.country-header .tagline {
    color: var(--text-secondary);
    font-size: 17px;
}

/* === Generic icon container === */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* === Spacers === */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 32px; }

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  PROFESSIONAL APP-LIKE MOBILE EXPERIENCE                           ║
   ║  Clean, modern, premium design - inspired by top mobile apps       ║
   ║  Everything in one section, no conflicts, all use !important       ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

@media (max-width: 768px) {

    /* ═══ Foundation ═══ */
    html {
        -webkit-text-size-adjust: 100% !important;
        scroll-behavior: smooth !important;
    }

    body {
        -webkit-tap-highlight-color: transparent !important;
        -webkit-overflow-scrolling: touch !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        padding-bottom: 0 !important;
    }

    .container {
        padding: 0 16px !important;
        max-width: 100% !important;
    }

    /* ═══ Hide top dark bar ═══ */
    .header-bar {
        display: none !important;
    }

    /* ═══ Sticky header - app style ═══ */
    .site-header {
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        padding: 0 !important;
    }

    .site-header.scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08) !important;
    }

    .header-nav {
        padding: 12px 0 !important;
    }

    .site-logo {
        gap: 8px !important;
    }

    .site-logo img {
        height: 40px !important;
        max-width: 130px !important;
    }

    .site-logo .logo-text {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .site-logo .logo-tagline {
        font-size: 10px !important;
    }

    /* ═══ Mobile menu hamburger - clean ═══ */
    .mobile-toggle {
        display: inline-flex !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
        background: var(--primary-pale) !important;
        color: var(--primary) !important;
        border: none !important;
        font-size: 18px !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
        order: 999 !important;
    }

    .mobile-toggle:active {
        transform: scale(0.94) !important;
    }

    /* Hide consultation button text on mobile, show only icon */
    .header-actions .btn {
        padding: 10px 12px !important;
    }

    .header-actions .btn .btn-text {
        display: none !important;
    }

    /* ═══ Main nav: slide-in drawer ═══ */
    .main-nav {
        display: none !important;
    }

    .main-nav.active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 85% !important;
        max-width: 320px !important;
        background: #fff !important;
        flex-direction: column !important;
        padding: 24px 20px !important;
        box-shadow: -8px 0 32px rgba(15, 23, 42, 0.16) !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        gap: 4px !important;
        animation: navSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    @keyframes navSlideIn {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .main-nav.active::before {
        content: 'القائمة' !important;
        display: block !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        color: var(--text) !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
        border-bottom: 2px solid var(--primary-pale) !important;
    }

    .main-nav.active a {
        display: flex !important;
        align-items: center !important;
        padding: 14px 16px !important;
        border-radius: 12px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: var(--text) !important;
        background: transparent !important;
        transition: all 0.15s !important;
    }

    .main-nav.active a.active,
    .main-nav.active a:hover {
        background: var(--primary-pale) !important;
        color: var(--primary) !important;
    }

    /* Backdrop overlay */
    body.menu-open {
        overflow: hidden !important;
    }

    /* DISABLED — handled by ::after rule below with proper z-index
    body.menu-open::before {
        content: '' !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15, 23, 42, 0.55) !important;
        z-index: 9998 !important;
        animation: fadeIn 0.25s ease !important;
    }
    */

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

    /* ═══ HERO - app style ═══ */
    .hero {
        padding: 24px 0 32px !important;
        background: linear-gradient(180deg, #eff6ff 0%, #fef9c3 100%) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* On mobile, show hero card FIRST then text below */
    .hero-content { order: 2 !important; }
    .hero-visual { order: 1 !important; }

    .hero-badge {
        display: inline-block !important;
        font-size: 11px !important;
        padding: 6px 12px !important;
        margin-bottom: 12px !important;
        background: #fff !important;
        border-radius: 100px !important;
        font-weight: 700 !important;
        color: var(--primary) !important;
    }

    .hero-content h1 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        font-weight: 900 !important;
        color: var(--text) !important;
    }

    .hero-content h1 .highlight {
        background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }

    .hero-sub {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
        color: var(--text-secondary) !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        border-radius: 14px !important;
        font-weight: 700 !important;
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    /* Stats: 2x2 grid in white card */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        background: #fff !important;
        padding: 16px !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
        margin-bottom: 0 !important;
    }

    .hero-stats .stat {
        text-align: center !important;
        padding: 6px 4px !important;
    }

    .hero-stats .stat-num {
        display: block !important;
        font-size: 24px !important;
        font-weight: 900 !important;
        color: var(--primary) !important;
        line-height: 1 !important;
        margin-bottom: 4px !important;
    }

    .hero-stats .stat-label {
        display: block !important;
        font-size: 11px !important;
        color: var(--text-secondary) !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }

    /* Hero card (4 steps preview) */
    .hero-card {
        background: #fff !important;
        padding: 18px !important;
        border-radius: 18px !important;
        box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.6) !important;
    }

    .hero-card-title {
        font-size: 16px !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
        color: var(--text) !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .hero-card-sub {
        font-size: 12px !important;
        color: var(--text-muted) !important;
        margin-bottom: 14px !important;
    }

    .hero-card ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-card li {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 11px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: var(--text) !important;
    }

    .hero-card li:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .hero-card li > span:first-child {
        width: 26px !important;
        height: 26px !important;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
        color: #fff !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        flex-shrink: 0 !important;
    }

    /* Hero "start now" button below the card */
    .hero-card + .btn,
    .hero-card .btn,
    .btn-block {
        width: 100% !important;
        margin-top: 14px !important;
    }

    /* ═══ Trust Bar - horizontal scroll ═══ */
    .trust-bar {
        padding: 12px 0 !important;
        background: #fff !important;
        border-bottom: 1px solid var(--border-light) !important;
    }

    .trust-bar-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 14px !important;
        padding: 0 16px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        font-weight: 600 !important;
    }

    .trust-bar-inner::-webkit-scrollbar {
        display: none !important;
    }

    .trust-bar-inner span {
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        color: var(--text-secondary) !important;
    }

    .trust-bar-inner i {
        color: var(--accent) !important;
    }

    /* ═══ Sections - tighter ═══ */
    section {
        padding: 36px 0 !important;
    }

    .section-title,
    .section-header {
        margin-bottom: 24px !important;
        text-align: center !important;
    }

    .section-title h2,
    .section-header h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin: 0 0 8px 0 !important;
        font-weight: 900 !important;
        color: var(--text) !important;
    }

    .section-title p,
    .section-header p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        margin: 0 !important;
    }

    .eyebrow {
        font-size: 11px !important;
        margin-bottom: 6px !important;
        color: var(--primary) !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
    }

    /* ═══ COUNTRY CARDS - horizontal app cards ═══ */
    .countries-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .country-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        background: #fff !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
        border: 1px solid #f1f5f9 !important;
        transition: all 0.2s !important;
    }

    .country-card:active {
        transform: scale(0.98) !important;
    }

    .country-card-flag {
        width: 110px !important;
        min-height: 100% !important;
        height: auto !important;
        font-size: 40px !important;
        flex-shrink: 0 !important;
        background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale)) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .country-card-body {
        padding: 14px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
    }

    .country-card h3 {
        font-size: 15px !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.3 !important;
        font-weight: 800 !important;
    }

    .country-card h3 a {
        color: var(--text) !important;
    }

    .country-card .tagline {
        font-size: 12px !important;
        color: var(--text-muted) !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .country-card .meta {
        display: flex !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        margin-bottom: 10px !important;
    }

    .country-card .meta-item {
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        font-size: 10px !important;
        padding: 3px 8px !important;
        background: var(--primary-pale) !important;
        color: var(--primary) !important;
        border-radius: 100px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }

    .country-card .cta {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-top: 8px !important;
        margin-top: auto !important;
        border-top: 1px solid var(--border-light) !important;
    }

    .country-card .price {
        font-size: 12px !important;
        color: var(--accent-dark) !important;
        font-weight: 700 !important;
    }

    .country-card .price strong {
        font-size: 13px !important;
    }

    .country-card .cta a {
        font-size: 12px !important;
        color: var(--primary) !important;
        font-weight: 700 !important;
        background: transparent !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    /* ═══ PROGRAMS - 2 column grid ═══ */
    .programs-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .program-card {
        background: #fff !important;
        padding: 18px 12px !important;
        border-radius: 16px !important;
        text-align: center !important;
        border: 1px solid #f1f5f9 !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .program-icon {
        width: 56px !important;
        height: 56px !important;
        margin: 0 auto 12px !important;
        background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale)) !important;
        border-radius: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 26px !important;
        color: var(--primary) !important;
    }

    .program-card h3 {
        font-size: 15px !important;
        margin: 0 0 6px 0 !important;
        font-weight: 800 !important;
    }

    .program-card h3 a {
        color: var(--text) !important;
    }

    .program-card p {
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: var(--text-secondary) !important;
        margin: 0 0 10px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        flex: 1 !important;
    }

    .program-link {
        font-size: 12px !important;
        color: var(--primary) !important;
        font-weight: 700 !important;
        margin-top: auto !important;
    }

    /* ═══ PROCESS STEPS - vertical timeline ═══ */
    .steps-grid,
    .process-steps {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .steps-grid::before,
    .process-steps::before {
        display: none !important;
    }

    .step-card,
    .process-step {
        background: #fff !important;
        padding: 16px !important;
        border-radius: 16px !important;
        border: 1px solid var(--border-light) !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 14px !important;
        text-align: right !important;
    }

    .step-num,
    .process-step-num {
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        font-size: 18px !important;
        font-weight: 900 !important;
        flex-shrink: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
        color: #fff !important;
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25) !important;
    }

    .step-card > div:not(.step-num),
    .process-step > div:not(.process-step-num) {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .step-card h3,
    .process-step h3,
    .process-step h4 {
        font-size: 15px !important;
        margin: 0 0 4px 0 !important;
        font-weight: 800 !important;
        color: var(--text) !important;
        line-height: 1.3 !important;
    }

    .step-card p,
    .process-step p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        margin: 0 !important;
    }

    /* ═══ WHY CARDS - 2x2 grid with text-align center ═══ */
    .why-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .why-card {
        background: #fff !important;
        padding: 18px 14px !important;
        border-radius: 16px !important;
        border: 1px solid var(--border-light) !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .why-card-icon,
    .why-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
        margin: 0 auto 12px !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .why-card h3,
    .why-card h4 {
        font-size: 14px !important;
        margin: 0 0 6px 0 !important;
        font-weight: 800 !important;
        color: var(--text) !important;
        line-height: 1.3 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .why-card p {
        font-size: 11px !important;
        line-height: 1.5 !important;
        color: var(--text-secondary) !important;
        margin: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* ═══ STORIES & ARTICLES - horizontal cards ═══ */
    .articles-grid,
    .stories-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .article-card,
    .story-card {
        display: flex !important;
        flex-direction: row !important;
        background: #fff !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        border: 1px solid var(--border-light) !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    }

    .article-img,
    .story-img {
        width: 110px !important;
        min-width: 110px !important;
        height: auto !important;
        font-size: 36px !important;
        flex-shrink: 0 !important;
        background: linear-gradient(135deg, var(--primary-pale), var(--accent-pale)) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .article-img img,
    .story-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .article-body,
    .story-body {
        padding: 12px 14px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
    }

    .article-category {
        font-size: 10px !important;
        padding: 3px 8px !important;
        background: var(--primary-pale) !important;
        color: var(--primary) !important;
        border-radius: 100px !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
        align-self: flex-start !important;
        position: static !important;
    }

    .article-meta,
    .story-meta {
        display: flex !important;
        gap: 8px !important;
        font-size: 10px !important;
        color: var(--text-muted) !important;
        margin-bottom: 4px !important;
    }

    .article-meta span,
    .story-meta span {
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
    }

    .article-card h3,
    .story-card h3 {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin: 0 0 4px 0 !important;
        font-weight: 800 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .article-card h3 a,
    .story-card h3 a {
        color: var(--text) !important;
    }

    .article-card p,
    .story-card p {
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: var(--text-secondary) !important;
        margin: 0 0 6px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        flex: 1 !important;
    }

    .article-readmore,
    .story-readmore {
        font-size: 12px !important;
        color: var(--primary) !important;
        font-weight: 700 !important;
        margin-top: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    /* ═══ REVIEWS ═══ */
    .reviews-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .review-card {
        padding: 16px !important;
        border-radius: 16px !important;
    }

    .review-stars {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .review-card h4 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    .review-text {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }

    .review-avatar {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }

    .review-author-name {
        font-size: 13px !important;
    }

    .review-author-meta {
        font-size: 11px !important;
    }

    /* ═══ FAQ - clean accordion ═══ */
    .faq-q {
        padding: 14px 16px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
        margin-bottom: 8px !important;
        background: #fff !important;
        border: 1px solid var(--border) !important;
        text-align: right !important;
        font-weight: 700 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important;
        cursor: pointer !important;
    }

    .faq-q-icon {
        font-size: 18px !important;
        color: var(--primary) !important;
        flex-shrink: 0 !important;
    }

    .faq-a-inner {
        padding: 14px 16px !important;
        font-size: 13px !important;
        line-height: 1.7 !important;
        border-radius: 14px !important;
        color: var(--text-secondary) !important;
    }

    /* ═══ CTA Banner ═══ */
    .cta-banner {
        padding: 36px 0 !important;
    }

    .cta-banner h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .cta-banner p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
    }

    .cta-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .cta-actions .btn {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
        border-radius: 14px !important;
    }

    /* ═══ Page Hero (sub-pages) ═══ */
    .page-hero,
    .page-header {
        padding: 28px 0 24px !important;
        margin-bottom: 24px !important;
    }

    .page-hero h1,
    .page-header h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .page-hero p,
    .page-header p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    /* ═══ Buttons - app style ═══ */
    .btn {
        padding: 12px 18px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-weight: 700 !important;
    }

    .btn-lg {
        padding: 14px 22px !important;
        font-size: 15px !important;
        min-height: 50px !important;
    }

    .btn:active {
        transform: scale(0.97) !important;
    }

    /* ═══ Footer - mobile stacked ═══ */
    .site-footer {
        padding: 32px 0 100px !important;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: right !important;
    }

    .footer-grid h4 {
        font-size: 14px !important;
        margin-bottom: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .footer-grid a,
    .footer-grid li {
        font-size: 13px !important;
    }

    .footer-bottom {
        padding-top: 20px !important;
        margin-top: 24px !important;
        font-size: 11px !important;
        text-align: center !important;
    }

    /* ═══ Floating Action Buttons (FAB) - app style ═══ */
    .floating-contacts {
        position: fixed !important;
        bottom: 16px !important;
        left: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        z-index: 100 !important;
    }

    .floating-btn {
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18) !important;
        text-decoration: none !important;
        transition: all 0.2s !important;
        border: none !important;
    }

    .floating-btn:active {
        transform: scale(0.92) !important;
    }

    .floating-whatsapp {
        background: #25d366 !important;
        color: #fff !important;
    }

    .floating-call {
        background: var(--primary) !important;
        color: #fff !important;
    }

    .floating-btn svg {
        width: 26px !important;
        height: 26px !important;
    }

    /* ═══ Forms - app style ═══ */
    .form-group {
        margin-bottom: 14px !important;
    }

    .form-label,
    label {
        font-size: 13px !important;
        margin-bottom: 6px !important;
        display: block !important;
        font-weight: 600 !important;
    }

    .form-input,
    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    select,
    textarea {
        padding: 13px 14px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
        border: 1.5px solid var(--border) !important;
        width: 100% !important;
        font-family: inherit !important;
        background: #fff !important;
        color: var(--text) !important;
    }

    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--primary) !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
    }

    textarea {
        min-height: 100px !important;
        resize: vertical !important;
    }

    /* ═══ Specializations grid ═══ */
    .specializations-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .specialization-card {
        padding: 14px 10px !important;
        border-radius: 14px !important;
        text-align: center !important;
    }

    .specialization-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
        margin: 0 auto 8px !important;
    }

    .specialization-card h4 {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }

    .specialization-card p {
        font-size: 11px !important;
    }

    /* ═══ Universities grid ═══ */
    .universities-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .university-card {
        flex-direction: row !important;
    }

    .university-img {
        width: 100px !important;
        min-width: 100px !important;
        height: auto !important;
        font-size: 32px !important;
    }

    /* ═══ Lang switcher - touch friendly ═══ */
    .lang-switcher {
        display: flex !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }

    .lang-switcher a {
        font-size: 11px !important;
        padding: 5px 10px !important;
        border-radius: 100px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
    }

    /* ═══ Breadcrumbs ═══ */
    .breadcrumbs,
    .breadcrumb {
        padding: 8px 0 !important;
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }

    .breadcrumb-list {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    /* ═══ Article body content ═══ */
    .article-content,
    .content-body {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }

    .article-content h2,
    .content-body h2 {
        font-size: 19px !important;
        margin-top: 24px !important;
        margin-bottom: 12px !important;
    }

    .article-content h3,
    .content-body h3 {
        font-size: 16px !important;
        margin-top: 20px !important;
        margin-bottom: 10px !important;
    }

    .article-content table,
    .content-body table {
        font-size: 12px !important;
        display: block !important;
        overflow-x: auto !important;
    }

    /* ═══ Country detail hero ═══ */
    .country-hero,
    .country-header {
        padding: 28px 0 !important;
        margin-bottom: 24px !important;
    }

    .country-hero h1,
    .country-header h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    /* ═══ Section background variations on mobile ═══ */
    .section-cream,
    .section-soft {
        margin-left: -16px !important;
        margin-right: -16px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* ═══ View all button center ═══ */
    .text-center {
        text-align: center !important;
    }

    .btn-outline {
        background: transparent !important;
        border: 2px solid var(--primary) !important;
        color: var(--primary) !important;
    }
}

/* ═══ iOS Safe Areas ═══ */
@supports (padding: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        body {
            padding-bottom: env(safe-area-inset-bottom) !important;
        }
        .floating-contacts {
            bottom: calc(16px + env(safe-area-inset-bottom)) !important;
        }
    }
}

/* ═══ Tablet refinements (481-768px) ═══ */
@media (min-width: 481px) and (max-width: 768px) {
    .countries-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .programs-grid,
    .specializations-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .why-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .articles-grid,
    .stories-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .article-card,
    .story-card {
        flex-direction: column !important;
    }
    .article-img,
    .story-img {
        width: 100% !important;
        min-width: 100% !important;
        height: 140px !important;
    }
}

/* ═══ Large mobile (380-480px) refinements ═══ */
@media (min-width: 380px) and (max-width: 480px) {
    .programs-grid,
    .specializations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
/* ============================================================
   PREMIUM APP-LIKE MOBILE EXPERIENCE
   Final aggressive rewrite for true app feel
   ============================================================ */

@media (max-width: 768px) {

    /* === Body padding for bottom nav + safe area === */
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom)) !important;
        background: #f1f5f9 !important;
    }

    /* === Hide top header bar on mobile (the dark one) === */
    .header-bar { display: none !important; }

    /* === Mobile compact strip === */
    .mobile-header-strip {
        display: block !important;
        background: linear-gradient(90deg, #0F1040 0%, #1A1B5C 50%, #1A1B5C 100%) !important;
        color: #fff !important;
        padding: 7px 16px !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        text-align: center !important;
        position: relative;
        z-index: 1001;
    }
    .mobile-header-strip i {
        margin-left: 4px;
        animation: pulse-dot 2s infinite;
    }
    @keyframes pulse-dot {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.6; }
    }
    .mobile-header-strip a {
        color: #F5EFE0 !important;
        font-weight: 700;
        text-decoration: none !important;
    }

    /* === Sticky glass-morphism header === */
    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 999 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: saturate(180%) blur(20px) !important;
        -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    }
    
    .header-main {
        padding: 8px 0 !important;
    }
    
    .header-main .container {
        padding: 0 14px !important;
    }
    
    .header-main-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    /* Logo: small, clean */
    .site-logo {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .site-logo img {
        width: 38px !important;
        height: 38px !important;
    }
    .site-logo-text {
        display: flex !important;
        flex-direction: column !important;
        line-height: 1.1 !important;
    }
    .site-logo-name {
        font-size: 14px !important;
        font-weight: 800 !important;
        color: #0F1040 !important;
        white-space: nowrap;
    }
    .site-logo-tagline {
        font-size: 9.5px !important;
        color: #64748b !important;
    }

    /* Hide top "Free Consultation" CTA on mobile (it's in bottom nav) */
    .header-actions .btn-accent,
    .header-actions .btn:not(.mobile-toggle) {
        display: none !important;
    }
    
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    /* Hamburger button - app-like */
    .mobile-toggle, #mobileToggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: linear-gradient(135deg, #eff6ff, #E8E9F4) !important;
        border: none !important;
        border-radius: 12px !important;
        color: #1A1B5C !important;
        font-size: 17px !important;
        cursor: pointer !important;
        transition: all 0.2s !important;
    }

    /* === Slide-in drawer menu (RTL: from right) — v4 BRAND === */
    .main-nav, #mainNav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        bottom: 0 !important;
        width: 84% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: linear-gradient(180deg, #0F1040 0%, #1A1B5C 50%, #0F1040 100%) !important;
        padding: 0 !important;
        z-index: 99999 !important;
        flex-direction: column !important;
        gap: 0 !important;
        overflow-y: auto !important;
        transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -16px 0 40px rgba(0, 0, 0, 0.40) !important;
        display: flex !important;
    }
    .main-nav.active, #mainNav.active {
        right: 0 !important;
    }

    /* Drawer overlay (backdrop) */
    body.menu-open::after {
        content: '' !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15, 16, 64, 0.65) !important;
        z-index: 99998 !important;
        animation: fade-in 0.3s !important;
    }
    @keyframes fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* Drawer link items — bright white, bold */
    .main-nav a, #mainNav a {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 16px 24px !important;
        border-radius: 0 !important;
        font-family: 'Cairo', 'Tajawal', sans-serif !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        color: #FFFFFF !important;
        text-decoration: none !important;
        background: transparent !important;
        transition: all 0.2s !important;
        margin: 0 !important;
        text-align: right !important;
        line-height: 1.3 !important;
        position: relative !important;
        border-bottom: 1px solid rgba(184,153,104,0.10) !important;
    }
    .main-nav a:hover, #mainNav a:hover {
        background: rgba(184,153,104,0.20) !important;
        color: #D4B886 !important;
        padding-right: 32px !important;
    }
    .main-nav a.active, #mainNav a.active {
        background: linear-gradient(90deg, rgba(184,153,104,0.25), transparent) !important;
        color: #D4B886 !important;
        font-weight: 900 !important;
    }
    .main-nav a.active::before, #mainNav a.active::before {
        content: '' !important;
        position: absolute !important;
        right: 0 !important;
        top: 12px !important;
        bottom: 12px !important;
        width: 4px !important;
        background: #D4B886 !important;
        border-radius: 0 4px 4px 0 !important;
    }

    /* === HERO - vibrant gradient background === */
    .hero {
        padding: 24px 0 36px !important;
        background: linear-gradient(135deg, #eff6ff 0%, #E8E9F4 50%, #F5EFE0 100%) !important;
        position: relative;
        overflow: hidden;
    }
    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 70% 70%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
        pointer-events: none;
    }
    .hero .container {
        position: relative;
        z-index: 2;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .hero-content {
        order: 1;
        text-align: center !important;
    }
    .hero-visual {
        order: 2;
    }

    .hero-badge {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        font-size: 11px !important;
        font-weight: 700 !important;
        padding: 6px 14px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(8px);
        color: #1A1B5C !important;
        border-radius: 999px !important;
        margin-bottom: 14px !important;
        box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
    }

    .hero-content h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
        color: #0f172a !important;
        letter-spacing: -0.02em;
    }
    .hero-content h1 .highlight {
        background: linear-gradient(135deg, #B89968, #8E7340);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-sub {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
        color: #475569 !important;
        max-width: 100% !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 24px !important;
    }
    .hero-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 15px 24px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
    }
    .hero-actions .btn-accent {
        background: linear-gradient(135deg, #B89968, #8E7340) !important;
        box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4) !important;
        border: none !important;
    }
    .hero-actions .btn-outline {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(8px);
        border: 1px solid rgba(30, 64, 175, 0.2) !important;
        color: #1A1B5C !important;
    }

    /* === Stats: app-style stats card === */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(16px);
        padding: 16px 8px !important;
        border-radius: 18px !important;
        border: 1px solid rgba(255, 255, 255, 0.6) !important;
        box-shadow: 0 4px 16px rgba(30, 64, 175, 0.08) !important;
    }
    .stat {
        text-align: center !important;
        padding: 4px 2px !important;
        position: relative;
    }
    .stat:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20%;
        bottom: 20%;
        left: 0;
        width: 1px;
        background: rgba(0, 0, 0, 0.08);
    }
    .stat-num {
        font-size: 18px !important;
        font-weight: 900 !important;
        color: #1A1B5C !important;
        line-height: 1 !important;
        display: block;
        margin-bottom: 3px !important;
    }
    .stat-label {
        font-size: 9.5px !important;
        font-weight: 600 !important;
        color: #64748b !important;
        line-height: 1.2 !important;
        display: block;
    }

    /* === Hero card (4-step list) === */
    .hero-card {
        background: #fff !important;
        border-radius: 20px !important;
        padding: 20px 18px !important;
        box-shadow: 0 10px 40px rgba(30, 64, 175, 0.08) !important;
        border: 1px solid #e0e7ff !important;
        margin-top: 12px;
    }
    .hero-card-title {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin-bottom: 4px !important;
        text-align: center !important;
    }
    .hero-card-sub {
        font-size: 12px !important;
        color: #64748b !important;
        text-align: center !important;
        margin-bottom: 16px !important;
    }
    .hero-card ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 0 16px !important;
    }
    .hero-card ul li {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 10px 0 !important;
        border-bottom: 1px dashed #e2e8f0 !important;
    }
    .hero-card ul li:last-child {
        border-bottom: none !important;
    }
    .hero-step-num, .hero-card-num {
        flex-shrink: 0 !important;
        width: 28px !important;
        height: 28px !important;
        background: linear-gradient(135deg, #1A1B5C, #282A78) !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* === Trust bar - clean grid === */
    .trust-bar {
        background: #fff !important;
        padding: 18px 0 !important;
        border-top: 1px solid #f1f5f9;
        border-bottom: 1px solid #f1f5f9;
    }
    .trust-bar-inner {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 8px !important;
        text-align: center;
    }
    .trust-bar-inner span {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        line-height: 1.3 !important;
    }
    .trust-bar-inner i {
        font-size: 18px !important;
        color: #1A1B5C !important;
    }

    /* === Sections === */
    section { padding: 32px 0 !important; }
    
    .section-header {
        margin-bottom: 22px !important;
        padding: 0 16px !important;
        text-align: center !important;
    }
    .section-header h2,
    h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        color: #0f172a !important;
        letter-spacing: -0.01em;
    }
    .section-header p {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        color: #64748b !important;
        max-width: 100%;
    }
    .eyebrow {
        display: inline-block !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.1em !important;
        color: #1A1B5C !important;
        background: #eff6ff !important;
        padding: 4px 12px !important;
        border-radius: 999px !important;
        margin-bottom: 8px !important;
    }

    /* === Country cards: HORIZONTAL with flag, content, cta === */
    .countries-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 14px !important;
    }
    .country-card {
        display: flex !important;
        flex-direction: row-reverse !important;
        background: #fff !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #f1f5f9 !important;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .country-card:active {
        transform: scale(0.98);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    }
    .country-card-flag {
        flex-shrink: 0 !important;
        width: 92px !important;
        height: auto !important;
        background: linear-gradient(135deg, #E8E9F4, #F5EFE0) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative;
    }
    .country-card-flag svg, 
    .country-card-flag img {
        width: 56px !important;
        height: auto !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    }
    .country-card-body {
        flex: 1 !important;
        padding: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        text-align: right;
    }
    .country-card h3 {
        font-size: 16px !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
    }
    .country-card h3 a {
        color: #1A1B5C !important;
        text-decoration: none !important;
    }
    .country-card .tagline {
        font-size: 12px !important;
        color: #64748b !important;
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .country-card .meta {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin-bottom: 8px !important;
    }
    .country-card .meta-item {
        font-size: 10.5px !important;
        font-weight: 700 !important;
        padding: 3px 8px !important;
        background: #eff6ff !important;
        color: #1A1B5C !important;
        border-radius: 999px !important;
    }
    .country-card .meta-item i {
        margin-left: 3px;
        font-size: 9px;
    }
    .country-card .cta {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: 6px !important;
    }
    .country-card .cta .price {
        font-size: 12.5px !important;
        font-weight: 800 !important;
        color: #8E7340 !important;
    }
    .country-card .cta a {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, #1A1B5C, #282A78) !important;
        color: #fff !important;
        padding: 6px 14px !important;
        border-radius: 999px !important;
        text-decoration: none !important;
        box-shadow: 0 2px 6px rgba(30, 64, 175, 0.3) !important;
    }

    /* === Programs grid: 2 cols === */
    .programs-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 14px !important;
    }
    .program-card {
        background: #fff !important;
        padding: 18px 12px !important;
        border-radius: 16px !important;
        text-align: center !important;
        border: 1px solid #f1f5f9 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    }
    .program-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
        margin: 0 auto 10px !important;
        background: linear-gradient(135deg, #eff6ff, #E8E9F4) !important;
        color: #1A1B5C !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .program-card h3 {
        font-size: 14px !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
    }
    .program-card h3 a {
        color: #1A1B5C !important;
        text-decoration: none !important;
    }
    .program-card p {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        color: #64748b !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .program-link {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #1A1B5C !important;
    }

    /* === Process steps: timeline === */
    .process-steps {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 14px !important;
    }
    .process-step {
        background: #fff !important;
        padding: 14px !important;
        border-radius: 14px !important;
        display: grid !important;
        grid-template-columns: 1fr 44px !important;
        gap: 12px !important;
        align-items: center !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        border: 1px solid #f1f5f9 !important;
    }
    .process-step-num {
        grid-column: 2 !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        background: linear-gradient(135deg, #1A1B5C, #282A78) !important;
        color: #fff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }
    .process-step h4 {
        font-size: 14.5px !important;
        font-weight: 800 !important;
        margin-bottom: 3px !important;
    }
    .process-step p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        color: #64748b !important;
        margin: 0 !important;
    }

    /* === Why cards: horizontal with colored icon (homepage only) === */
    .why-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 14px !important;
    }
    .why-grid .why-card {
        background: #fff !important;
        padding: 16px !important;
        border-radius: 16px !important;
        display: grid !important;
        grid-template-columns: 1fr 56px !important;
        gap: 14px !important;
        align-items: start !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        border: 1px solid #f1f5f9 !important;
    }
    .why-grid .why-card-icon {
        grid-column: 2 !important;
        width: 56px !important;
        height: 56px !important;
        font-size: 22px !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        color: #fff !important;
    }
    .why-grid .why-card-icon-1 { background: linear-gradient(135deg, #ec4899, #f472b6) !important; }
    .why-grid .why-card-icon-2 { background: linear-gradient(135deg, #10b981, #34d399) !important; }
    .why-grid .why-card-icon-3 { background: linear-gradient(135deg, #B89968, #D4B886) !important; }
    .why-grid .why-card-icon-4 { background: linear-gradient(135deg, #6366f1, #818cf8) !important; }
    .why-grid .why-card h4 {
        font-size: 15px !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
    }
    .why-grid .why-card p {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        color: #64748b !important;
        margin: 0 !important;
    }

    /* === Stories cards === */
    .stories-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 14px !important;
    }
    .story-card {
        background: #fff !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #f1f5f9 !important;
    }
    .story-img {
        height: 120px !important;
        background: linear-gradient(135deg, #1A1B5C 0%, #282A78 50%, #6366f1 100%) !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden;
    }
    .story-img::before {
        content: '🎓';
        font-size: 56px;
        opacity: 0.15;
    }
    .story-card .country-tag,
    .story-country-tag {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(8px) !important;
        padding: 4px 10px !important;
        border-radius: 999px !important;
        font-size: 10.5px !important;
        font-weight: 700 !important;
        color: #1A1B5C !important;
    }
    .story-content, .story-body {
        padding: 14px !important;
    }
    .story-card h3 {
        font-size: 14.5px !important;
        font-weight: 800 !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    .story-card p {
        font-size: 12.5px !important;
        line-height: 1.6 !important;
        color: #64748b !important;
        font-style: italic;
        margin-bottom: 10px !important;
    }
    .story-card .author,
    .story-meta {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding-top: 10px !important;
        border-top: 1px solid #f1f5f9 !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        color: #1A1B5C !important;
    }

    /* === Reviews cards === */
    .reviews-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 14px !important;
    }
    .review-card {
        background: #fff !important;
        padding: 16px !important;
        border-radius: 16px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        border: 1px solid #f1f5f9 !important;
    }
    .review-card h4 {
        font-size: 14px !important;
        font-weight: 800 !important;
        margin-bottom: 8px !important;
        color: #1A1B5C !important;
    }
    .review-text {
        font-size: 12.5px !important;
        line-height: 1.6 !important;
        color: #475569 !important;
        margin-bottom: 12px !important;
    }
    .review-stars {
        color: #B89968 !important;
        margin-bottom: 8px !important;
    }
    .review-author {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid #f1f5f9 !important;
    }
    .review-avatar {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #1A1B5C, #282A78) !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        font-weight: 800 !important;
    }
    .review-author-name {
        font-size: 12.5px !important;
        font-weight: 700 !important;
    }
    .review-author-meta {
        font-size: 10.5px !important;
        color: #64748b !important;
    }

    /* === Articles === */
    .articles-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 14px !important;
    }
    .article-card {
        background: #fff !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #f1f5f9 !important;
    }
    .article-img {
        height: 140px !important;
        background: linear-gradient(135deg, #1A1B5C, #282A78) !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .article-img:not(:has(img))::after,
    .article-card div[style*="newspaper"] {
        font-size: 56px !important;
        color: rgba(255, 255, 255, 0.4) !important;
    }
    .article-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .article-category {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(8px);
        font-size: 10.5px !important;
        font-weight: 700 !important;
        padding: 4px 10px !important;
        border-radius: 999px !important;
        color: #1A1B5C !important;
    }
    .article-content, .article-card-body {
        padding: 14px !important;
    }
    .article-card h3 {
        font-size: 14.5px !important;
        font-weight: 800 !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
    }
    .article-card h3 a {
        color: #0f172a !important;
        text-decoration: none !important;
    }
    .article-card p {
        font-size: 12.5px !important;
        line-height: 1.6 !important;
        color: #64748b !important;
        margin-bottom: 10px !important;
    }
    .article-meta {
        display: flex !important;
        gap: 10px !important;
        font-size: 11px !important;
        color: #94a3b8 !important;
        padding-top: 10px !important;
        border-top: 1px solid #f1f5f9 !important;
    }
    .article-readmore {
        color: #1A1B5C !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    /* === FAQ accordion === */
    .faqs-grid, .faqs-list {
        padding: 0 14px !important;
    }
    .faq-item {
        background: #fff !important;
        border-radius: 14px !important;
        margin-bottom: 8px !important;
        overflow: hidden !important;
        border: 1px solid #f1f5f9 !important;
    }
    .faq-q {
        padding: 14px 16px !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        background: transparent !important;
    }
    .faq-q-icon, .faq-q::after {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        background: #eff6ff;
        color: #1A1B5C;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 800;
    }
    .faq-a, .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    .faq-a.open, .faq-item.active .faq-a,
    .faq-answer.open, .faq-item.active .faq-answer {
        max-height: 500px;
    }
    .faq-a-inner, .faq-answer-inner {
        padding: 0 16px 14px !important;
        font-size: 12.5px !important;
        line-height: 1.7 !important;
        color: #475569 !important;
    }

    /* === CTA banner === */
    .cta-banner {
        margin: 24px 14px 0 !important;
        padding: 28px 20px !important;
        border-radius: 22px !important;
        background: linear-gradient(135deg, #0F1040 0%, #1A1B5C 50%, #1A1B5C 100%) !important;
        position: relative;
        overflow: hidden;
    }
    .cta-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.2), transparent 50%);
    }
    .cta-banner > * {
        position: relative;
        z-index: 1;
    }
    .cta-banner h2 {
        color: #fff !important;
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    .cta-banner p {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
    .cta-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .cta-actions .btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
    }
    .cta-actions .btn-accent {
        background: linear-gradient(135deg, #B89968, #8E7340) !important;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4) !important;
    }
    .cta-actions .btn-outline {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: #fff !important;
        backdrop-filter: blur(8px) !important;
    }

    /* === Page hero (inner pages) === */
    .page-hero {
        padding: 32px 16px !important;
        margin-bottom: 24px !important;
        background: linear-gradient(135deg, #0F1040 0%, #1A1B5C 100%) !important;
        text-align: center;
    }
    .page-hero h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        color: #fff !important;
        margin-bottom: 8px !important;
    }
    .page-hero p {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    /* === Floating buttons - left side, above bottom nav === */
    .floating-contacts {
        position: fixed !important;
        bottom: calc(80px + env(safe-area-inset-bottom)) !important;
        left: 14px !important;
        z-index: 998 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .floating-btn {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fff !important;
        text-decoration: none !important;
    }
    .floating-call {
        background: linear-gradient(135deg, #1A1B5C, #282A78) !important;
        box-shadow: 0 4px 16px rgba(30, 64, 175, 0.4) !important;
    }
    .floating-whatsapp {
        background: linear-gradient(135deg, #16a34a, #25d366) !important;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4) !important;
    }
    .floating-btn svg {
        width: 22px !important;
        height: 22px !important;
    }
    .floating-whatsapp svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* === Bottom navigation: app-style === */
    .bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06) !important;
        padding: 8px 4px calc(8px + env(safe-area-inset-bottom)) !important;
        z-index: 1000 !important;
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 0 !important;
    }
    .bottom-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        padding: 6px 4px !important;
        color: #64748b !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: color 0.2s !important;
        position: relative;
    }
    .bottom-nav-item.active {
        color: #1A1B5C !important;
    }
    .bottom-nav-item.active::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 3px;
        background: #1A1B5C;
        border-radius: 0 0 4px 4px;
    }
    .bottom-nav-icon {
        font-size: 19px !important;
        width: 24px !important;
        height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .bottom-nav-item.primary {
        color: #fff !important;
    }
    .bottom-nav-item.primary .bottom-nav-icon {
        width: 52px !important;
        height: 52px !important;
        background: linear-gradient(135deg, #B89968, #8E7340) !important;
        color: #fff !important;
        border-radius: 50% !important;
        font-size: 22px !important;
        margin-top: -22px !important;
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
        border: 4px solid #fff !important;
    }
    .bottom-nav-item.primary span:not(.bottom-nav-icon) {
        color: #8E7340 !important;
        font-weight: 700 !important;
        margin-top: -2px;
    }

    /* === Buttons general === */
    .btn {
        font-size: 14px !important;
        padding: 12px 22px !important;
        border-radius: 12px !important;
        font-weight: 700 !important;
    }
    .btn-lg {
        padding: 15px 26px !important;
        font-size: 15px !important;
    }
    .btn-block {
        width: 100% !important;
        justify-content: center !important;
    }
    .btn-outline {
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
    }

    /* === Container === */
    .container {
        padding: 0 16px !important;
    }

    /* === Footer === */
    .site-footer {
        padding: 32px 0 100px !important;
    }
    .footer-grid, .footer-cols {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 16px !important;
    }
    .footer-col h4 {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    .footer-col ul {
        gap: 6px !important;
    }
    .footer-col a {
        font-size: 13px !important;
    }
    .footer-bottom {
        font-size: 11.5px !important;
        text-align: center !important;
        padding: 16px !important;
    }
}

/* === Even smaller phones === */
@media (max-width: 380px) {
    .hero-content h1 { font-size: 24px !important; }
    .stat-num { font-size: 16px !important; }
    .stat-label { font-size: 9px !important; }
    .programs-grid { grid-template-columns: 1fr !important; }
    .bottom-nav-item { font-size: 9px !important; }
    .bottom-nav-icon { font-size: 17px !important; }
    .country-card-flag { width: 80px !important; }
    .country-card-flag svg { width: 48px !important; }
}

/* === Tablet === */
@media (min-width: 769px) and (max-width: 1024px) {
    .countries-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .programs-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .articles-grid, .stories-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .why-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* === Hide mobile-only on desktop === */
@media (min-width: 769px) {
    .bottom-nav, .mobile-header-strip { display: none !important; }
    .floating-contacts { bottom: 24px !important; }
}

/* ========================================================================
   v4 BRAND POLISH — Premium Consultancy Feel
   Applies subtle gold accents, refined shadows, brand-aligned details
   ======================================================================== */

/* === Body & Typography polish === */
body {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    background: linear-gradient(180deg, #ffffff 0%, #FAF6EE 100%);
    background-attachment: fixed;
}

/* Heading display font: Cairo for premium feel */
h1, h2, h3, .site-logo-name, .hero-content h1 {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    letter-spacing: -0.5px;
}

/* Refined section titles with gold accent line */
.section-title,
.section-header h2,
.page-title h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 24px;
}
.section-title::after,
.section-header h2::after,
.page-title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent), var(--accent-dark));
    border-radius: 999px;
}

/* === Header: refined premium look === */
.header-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-bottom: 1px solid rgba(184,153,104,0.18);
    box-shadow: 0 1px 0 rgba(184,153,104,0.10);
}
.header-bar a { color: var(--accent-light); }
.header-bar a:hover { color: #fff; }
.header-main {
    background: #fff;
    box-shadow: 0 2px 8px rgba(15,16,64,0.04), 0 0 0 1px rgba(184,153,104,0.08);
    backdrop-filter: blur(8px);
}

/* Logo refinement */
.site-logo img {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-logo:hover img {
    transform: scale(1.05);
}
.site-logo-name {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}
.site-logo-tagline {
    color: var(--accent-dark);
    font-weight: 600;
}

/* Nav links: refined hover with gold underline */
.main-nav a {
    position: relative;
    padding: 8px 0;
    transition: color 0.2s;
}
.main-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 50%;
    transform: translateX(50%) scaleX(0);
    transform-origin: center;
    width: 28px;
    height: 2px;
    background: var(--accent);
    transition: transform 0.25s ease-out;
    border-radius: 999px;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::before { transform: translateX(50%) scaleX(1); }
.main-nav a.active {
    color: var(--primary);
    font-weight: 700;
}
.main-nav a.active::before { transform: translateX(50%) scaleX(1); }

/* Premium buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 4px 14px rgba(26,27,92,0.30), inset 0 1px 0 rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.10);
}
.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(26,27,92,0.40), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 4px 14px rgba(184,153,104,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.10);
}
.btn-accent:hover {
    box-shadow: 0 8px 24px rgba(184,153,104,0.45), inset 0 1px 0 rgba(255,255,255,0.20);
    transform: translateY(-2px);
}

/* Ghost button refined */
.btn-ghost,
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--accent);
}
.btn-ghost:hover,
.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* === Hero polish === */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(184,153,104,0.20), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(40,42,120,0.30), transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 60px,
        rgba(184,153,104,0.04) 60px, rgba(184,153,104,0.04) 61px);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1 {
    background: linear-gradient(180deg, #fff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 24px rgba(0,0,0,0.30);
}
.hero-stats {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(184,153,104,0.20);
    border-radius: var(--radius-lg);
}
.stat-num { color: var(--accent-light) !important; }

/* === Country cards: premium feel === */
.country-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.country-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.country-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(26,27,92,0.10), 0 4px 8px rgba(184,153,104,0.10);
}
.country-card:hover::before { transform: scaleX(1); }

/* === Why-card icons: premium gradient circles === */
.why-card-icon {
    background: linear-gradient(135deg, var(--primary-pale), #fff);
    border: 1px solid var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(26,27,92,0.10);
}

/* === Program cards === */
.program-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.program-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(26,27,92,0.08);
    transform: translateY(-3px);
}

/* === Testimonial / Story cards === */
.story-card,
.review-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: var(--transition);
}
.story-card:hover,
.review-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

/* === Footer: premium navy with gold accents === */
.site-footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-top: 4px solid var(--accent);
    color: rgba(255,255,255,0.85);
}
.site-footer h4 {
    color: var(--accent-light);
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.site-footer a {
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
}
.site-footer a:hover {
    color: var(--accent-light);
    transform: translateX(-3px);
}
.footer-bottom {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.55);
    border-top: 1px solid rgba(184,153,104,0.20);
}

/* === Bottom nav (mobile): premium feel === */
.bottom-nav {
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(15,16,64,0.06), 0 -1px 0 rgba(184,153,104,0.10);
    backdrop-filter: blur(12px);
}
.bottom-nav-item {
    color: var(--text-muted);
    transition: var(--transition);
}
.bottom-nav-item.active {
    color: var(--primary);
}
.bottom-nav-item.active .bottom-nav-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Form inputs: refined === */
.form-input,
.form-select,
.form-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    border: 1.5px solid var(--border);
    background: #fff;
    transition: var(--transition);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,153,104,0.18);
    outline: none;
}

/* === Floating WhatsApp button === */
.floating-whatsapp,
.fab-whatsapp {
    box-shadow: 0 8px 24px rgba(37,211,102,0.40);
    border: 2px solid #fff;
}

/* ========================================================================
   v4 MOBILE FIXES — Header/Hero/Cards/Footer/Bottom-nav
   Targeted fixes for the mobile-experience issues identified
   ======================================================================== */

@media (max-width: 768px) {
    /* === Header: tighten, fix dropdown === */
    .mobile-header-strip {
        padding: 6px 12px !important;
        font-size: 12px !important;
        background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
        color: var(--accent-light) !important;
    }
    .mobile-header-strip a {
        color: #fff !important;
        font-weight: 700 !important;
    }
    .header-bar {
        font-size: 11px !important;
        padding: 4px 0 !important;
    }
    .header-bar-info {
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    .header-bar-info span {
        font-size: 11px !important;
    }
    .header-main {
        padding: 8px 0 !important;
    }
    .header-main-inner {
        gap: 8px !important;
    }
    .site-logo img {
        height: 44px !important;
        width: auto !important;
    }
    .site-logo-name {
        font-size: 17px !important;
        line-height: 1.1 !important;
    }
    .site-logo-tagline {
        font-size: 10px !important;
        letter-spacing: 0.3px !important;
    }

    /* Mobile menu: slide from right (RTL), full-screen drawer */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        bottom: 0 !important;
        width: 280px !important;
        max-width: 85vw !important;
        background: linear-gradient(180deg, var(--primary-dark), var(--primary)) !important;
        flex-direction: column !important;
        padding: 70px 24px 24px !important;
        gap: 4px !important;
        z-index: 9999 !important;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -8px 0 32px rgba(0,0,0,0.20) !important;
        overflow-y: auto !important;
    }
    .main-nav.active {
        right: 0 !important;
    }
    .main-nav a {
        color: #fff !important;
        padding: 14px 16px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border-bottom: 1px solid rgba(184,153,104,0.15) !important;
        text-align: right !important;
        border-radius: 0 !important;
    }
    .main-nav a::before { display: none !important; }
    .main-nav a:hover,
    .main-nav a.active {
        background: rgba(184,153,104,0.12) !important;
        color: var(--accent-light) !important;
        padding-right: 24px !important;
    }
    .main-nav a.active {
        border-right: 3px solid var(--accent) !important;
    }
    /* Backdrop when nav is open */
    .main-nav.active::before {
        content: '';
        position: fixed;
        top: 0; right: 280px; bottom: 0; left: 0;
        background: rgba(15,16,64,0.55);
        backdrop-filter: blur(2px);
        z-index: -1;
    }

    .mobile-toggle {
        background: var(--primary) !important;
        color: #fff !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        box-shadow: 0 2px 8px rgba(26,27,92,0.20) !important;
        transition: var(--transition) !important;
    }
    .mobile-toggle:active {
        transform: scale(0.95) !important;
    }
    .header-actions .btn-accent {
        padding: 8px 14px !important;
        font-size: 13px !important;
        min-height: 38px !important;
    }
    .header-actions .btn-text {
        display: none !important;
    }

    /* === HERO: cleaner mobile === */
    .hero {
        padding: 32px 0 !important;
        min-height: auto !important;
    }
    .hero-content {
        padding: 0 16px !important;
        text-align: center !important;
    }
    .hero-content h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        letter-spacing: -0.5px !important;
    }
    .hero-content .hero-subtitle,
    .hero-content p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
        color: rgba(255,255,255,0.92) !important;
    }
    .hero-actions,
    .hero-cta {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .hero-actions .btn,
    .hero-cta .btn {
        width: 100% !important;
        font-size: 14px !important;
        padding: 12px 18px !important;
    }
    .hero-stats {
        margin-top: 24px !important;
        padding: 16px !important;
        gap: 8px !important;
    }
    .stat-num {
        font-size: 22px !important;
        line-height: 1 !important;
    }
    .stat-label {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    /* === Country cards: tighter mobile === */
    .countries-grid {
        gap: 12px !important;
        padding: 0 12px !important;
    }
    .country-card {
        padding: 14px !important;
        border-radius: 12px !important;
    }
    .country-card-flag {
        width: 64px !important;
        height: 64px !important;
        margin-bottom: 8px !important;
    }
    .country-card-name {
        font-size: 14px !important;
        margin-bottom: 4px !important;
        font-weight: 700 !important;
    }
    .country-card-meta {
        font-size: 11px !important;
        color: var(--text-muted) !important;
    }
    .country-card-cta {
        font-size: 12px !important;
        padding: 6px 12px !important;
        margin-top: 8px !important;
    }

    /* === Footer: more compact === */
    .site-footer {
        padding: 28px 0 100px !important;
        border-top-width: 3px !important;
    }
    .site-footer .container {
        padding: 0 16px !important;
    }
    .footer-grid,
    .footer-cols {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px 16px !important;
    }
    .footer-col {
        text-align: right !important;
    }
    .footer-col h4 {
        font-size: 13px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid rgba(184,153,104,0.20) !important;
    }
    .footer-col ul {
        gap: 4px !important;
        list-style: none !important;
    }
    .footer-col li {
        margin: 0 !important;
    }
    .footer-col a {
        font-size: 12px !important;
        line-height: 1.5 !important;
        display: inline-block !important;
        padding: 2px 0 !important;
    }
    .footer-bottom {
        font-size: 11px !important;
        text-align: center !important;
        padding: 14px !important;
        line-height: 1.5 !important;
    }

    /* === Bottom nav: cleaner === */
    .bottom-nav {
        padding: 4px 0 max(4px, env(safe-area-inset-bottom)) !important;
        height: auto !important;
    }
    .bottom-nav-item {
        font-size: 10px !important;
        padding: 4px 2px !important;
        gap: 2px !important;
    }
    .bottom-nav-icon {
        font-size: 18px !important;
    }
    .bottom-nav-item.active::before {
        background: linear-gradient(90deg, var(--accent), var(--accent-light)) !important;
    }

    /* === Sections: tighten spacing === */
    section {
        padding: 32px 0 !important;
    }
    .section-title,
    .section-header h2 {
        font-size: 22px !important;
        margin-bottom: 18px !important;
    }
    .section-title::after,
    .section-header h2::after {
        width: 40px !important;
        height: 2px !important;
    }

    /* === Floating WhatsApp: position above bottom nav === */
    .floating-whatsapp,
    .fab-whatsapp {
        bottom: 80px !important;
        left: 16px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 24px !important;
    }

    /* === Containers: consistent padding === */
    .container {
        padding: 0 16px !important;
    }

    /* === Cards (general) === */
    .card,
    .info-card,
    .feature-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }

    /* === Tables: scrollable === */
    table {
        font-size: 13px !important;
    }
    .table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* === Very small phones (≤380px) === */
@media (max-width: 380px) {
    .site-logo-name { font-size: 15px !important; }
    .site-logo-tagline { font-size: 9px !important; }
    .site-logo img { height: 38px !important; }
    .hero-content h1 { font-size: 24px !important; }
    .stat-num { font-size: 18px !important; }
    .stat-label { font-size: 9px !important; }
    .countries-grid { grid-template-columns: 1fr 1fr !important; }
    .country-card { padding: 10px !important; }
    .country-card-flag { width: 56px !important; height: 56px !important; }
    .country-card-name { font-size: 12px !important; }
    .footer-grid,
    .footer-cols { grid-template-columns: 1fr 1fr !important; gap: 16px 12px !important; }
    .footer-col h4 { font-size: 12px !important; }
    .footer-col a { font-size: 11px !important; }
    .bottom-nav-item { font-size: 9px !important; padding: 3px 1px !important; }
    .bottom-nav-icon { font-size: 16px !important; }
}

/* ============================================================
   END OF v4 BRAND POLISH
   ============================================================ */

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ HOMEPAGE V4 — Bold Mobile-First Premium Redesign                  ║
   ║ Scoped under .home-v4 to not affect other pages                   ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

.home-v4 {
    /* Reset section padding for full-bleed feel */
}

/* === Shared bits === */
.hv4-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 768px) {
    .hv4-container { padding: 0 32px; }
}

.hv4-gold { color: var(--accent-light); }
.home-v4 .hv4-gold {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* On dark backgrounds keep simple gold */
.home-v4 .hv4-hero .hv4-gold,
.home-v4 .hv4-stats-show .hv4-gold,
.home-v4 .hv4-finalcta .hv4-gold {
    color: var(--accent-light);
    -webkit-text-fill-color: var(--accent-light);
}

.home-v4 .hv4-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-dark);
    padding: 6px 14px;
    background: rgba(184,153,104,0.10);
    border-radius: 999px;
    border: 1px solid rgba(184,153,104,0.25);
    margin-bottom: 16px;
}

/* Buttons (homepage only) */
.home-v4 .hv4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 15px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 52px;
    line-height: 1;
    border: 2px solid transparent;
    white-space: nowrap;
}
.home-v4 .hv4-btn:active { transform: scale(0.97); }

.home-v4 .hv4-btn-gold {
    background: linear-gradient(135deg, #D4B886 0%, #B89968 60%, #8E7340 100%);
    color: #0F1040;
    box-shadow: 0 8px 24px rgba(184,153,104,0.45),
                inset 0 1px 0 rgba(255,255,255,0.30),
                inset 0 -2px 0 rgba(0,0,0,0.10);
}
.home-v4 .hv4-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(184,153,104,0.55),
                inset 0 1px 0 rgba(255,255,255,0.35);
    color: #0F1040;
}

.home-v4 .hv4-btn-ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(212,184,134,0.40);
    backdrop-filter: blur(8px);
}
.home-v4 .hv4-btn-ghost:hover {
    background: rgba(255,255,255,0.14);
    border-color: var(--accent-light);
    color: #fff;
}

.home-v4 .hv4-btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--accent);
}
.home-v4 .hv4-btn-outline:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.home-v4 .hv4-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37,211,102,0.40);
}
.home-v4 .hv4-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37,211,102,0.50);
    color: #fff;
}

.home-v4 .hv4-btn-lg {
    padding: 18px 32px;
    font-size: 17px;
    min-height: 60px;
    border-radius: 16px;
}

/* Section heads */
.home-v4 .hv4-section {
    padding: 48px 0;
    position: relative;
}
@media (min-width: 768px) {
    .home-v4 .hv4-section { padding: 80px 0; }
}

.home-v4 .hv4-section-cream {
    background: linear-gradient(180deg, #FAF6EE 0%, #F5F3EB 100%);
}

.home-v4 .hv4-section-head {
    text-align: center;
    margin-bottom: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .home-v4 .hv4-section-head { margin-bottom: 48px; }
}

.home-v4 .hv4-section-title {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(28px, 6vw, 44px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--primary-dark);
    margin: 0 0 12px;
}

.home-v4 .hv4-section-sub {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}
@media (min-width: 768px) {
    .home-v4 .hv4-section-sub { font-size: 18px; }
}

.home-v4 .hv4-section-cta {
    text-align: center;
    margin-top: 32px;
    padding: 0 16px;
}

/* ════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-hero {
    position: relative;
    min-height: calc(100vh - 60px);
    background:
        radial-gradient(ellipse at 20% 110%, rgba(40,42,120,0.50), transparent 50%),
        radial-gradient(ellipse at 80% -10%, rgba(184,153,104,0.20), transparent 50%),
        linear-gradient(180deg, #0F1040 0%, #1A1B5C 50%, #0F1040 100%);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 32px 0 48px;
}

.home-v4 .hv4-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 80px,
        rgba(184,153,104,0.04) 80px, rgba(184,153,104,0.04) 81px);
    pointer-events: none;
    opacity: 0.6;
}
.home-v4 .hv4-hero-glow {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(184,153,104,0.30), transparent 60%);
    pointer-events: none;
    filter: blur(80px);
}

.home-v4 .hv4-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.home-v4 .hv4-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-light);
    padding: 8px 18px;
    border: 1px solid rgba(212,184,134,0.40);
    border-radius: 999px;
    background: rgba(184,153,104,0.08);
    backdrop-filter: blur(8px);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.home-v4 .hv4-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-light);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-light);
    animation: hv4Pulse 2s infinite;
}
@keyframes hv4Pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.home-v4 .hv4-hero-title {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(36px, 9vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0 0 18px;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.30);
}

.home-v4 .hv4-hero-sub {
    font-size: clamp(15px, 4vw, 22px);
    line-height: 1.5;
    color: rgba(255,255,255,0.88);
    max-width: 620px;
    margin: 0 auto 28px;
    font-weight: 500;
}

.home-v4 .hv4-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 36px;
    padding: 0 8px;
}
.home-v4 .hv4-hero-actions .hv4-btn {
    width: 100%;
    max-width: 380px;
}
@media (min-width: 640px) {
    .home-v4 .hv4-hero-actions {
        flex-direction: row;
        justify-content: center;
        padding: 0;
    }
    .home-v4 .hv4-hero-actions .hv4-btn { width: auto; }
}

/* Hero stats inline */
.home-v4 .hv4-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(184,153,104,0.25);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}
@media (min-width: 768px) {
    .home-v4 .hv4-hero-stats { gap: 28px; padding: 22px 36px; }
}
.home-v4 .hv4-hstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.home-v4 .hv4-hstat-num {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(22px, 5.5vw, 36px);
    font-weight: 900;
    color: var(--accent-light);
    line-height: 1;
    letter-spacing: -0.5px;
}
.home-v4 .hv4-hstat-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (min-width: 768px) {
    .home-v4 .hv4-hstat-label { font-size: 13px; }
}
.home-v4 .hv4-hstat-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(184,153,104,0.50), transparent);
}

/* Hero decorative mark */
.home-v4 .hv4-hero-mark {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 380px;
    height: 380px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}
.home-v4 .hv4-hero-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
@media (min-width: 1024px) {
    .home-v4 .hv4-hero-mark {
        width: 560px;
        height: 560px;
        bottom: -120px;
        right: -120px;
        opacity: 0.06;
    }
}

/* ════════════════════════════════════════════════════════
   TRUST STRIP — Marquee on mobile
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-trust {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--accent-dark));
    color: #fff;
    overflow: hidden;
    position: relative;
    padding: 14px 0;
    box-shadow: 0 4px 16px rgba(184,153,104,0.30);
}
.home-v4 .hv4-trust-track {
    display: flex;
    gap: 36px;
    align-items: center;
    white-space: nowrap;
    animation: hv4Marquee 30s linear infinite;
}
@media (min-width: 768px) {
    .home-v4 .hv4-trust-track {
        justify-content: center;
        animation: none;
        flex-wrap: wrap;
        gap: 14px 32px;
    }
}
@keyframes hv4Marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}
.home-v4 .hv4-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.home-v4 .hv4-trust-item i {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
}

/* ════════════════════════════════════════════════════════
   COUNTRIES — Edge-to-edge cards mobile
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-countries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
    .home-v4 .hv4-countries {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        background: transparent;
        padding: 0 16px;
        border: none;
        max-width: 1280px;
        margin: 0 auto;
    }
}
@media (min-width: 1024px) {
    .home-v4 .hv4-countries {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        padding: 0 32px;
    }
}

.home-v4 .hv4-country {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
@media (min-width: 640px) {
    .home-v4 .hv4-country {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
        border-radius: 18px;
        border: 1px solid var(--border);
        gap: 12px;
    }
}
.home-v4 .hv4-country::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-v4 .hv4-country:hover::before { transform: scaleX(1); }
.home-v4 .hv4-country:hover {
    background: var(--bg-soft);
}
@media (min-width: 640px) {
    .home-v4 .hv4-country:hover {
        background: #fff;
        border-color: var(--accent);
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(26,27,92,0.10);
    }
}

.home-v4 .hv4-country-flag {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border-radius: 12px;
    overflow: hidden;
}
.home-v4 .hv4-country-flag svg,
.home-v4 .hv4-country-flag img {
    width: 44px;
    height: auto;
    border-radius: 4px;
}
@media (min-width: 640px) {
    .home-v4 .hv4-country-flag {
        width: 80px;
        height: 80px;
        background: transparent;
    }
    .home-v4 .hv4-country-flag svg,
    .home-v4 .hv4-country-flag img {
        width: 64px;
        border-radius: 8px;
        box-shadow: 0 4px 14px rgba(26,27,92,0.12);
    }
}

.home-v4 .hv4-country-body {
    flex: 1;
    min-width: 0;
}
.home-v4 .hv4-country-name {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 4px;
    line-height: 1.2;
}
@media (min-width: 640px) {
    .home-v4 .hv4-country-name {
        font-size: 19px;
        margin-bottom: 6px;
    }
}
.home-v4 .hv4-country-meta {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.home-v4 .hv4-country-meta i { color: var(--accent); margin-left: 4px; }
@media (min-width: 640px) {
    .home-v4 .hv4-country-meta { font-size: 13px; margin-bottom: 8px; }
}
.home-v4 .hv4-country-price {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}
.home-v4 .hv4-country-price strong { color: var(--primary); font-weight: 900; }
.home-v4 .hv4-country-free {
    color: #10b981;
    font-weight: 800;
}
@media (min-width: 640px) {
    .home-v4 .hv4-country-price { font-size: 13px; }
}

.home-v4 .hv4-country-arrow {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 14px;
    transition: transform 0.2s;
}
.home-v4 .hv4-country:hover .hv4-country-arrow {
    transform: translateX(-4px);
}
@media (min-width: 640px) {
    .home-v4 .hv4-country-arrow { display: none; }
}

/* ════════════════════════════════════════════════════════
   TIMELINE (How it works)
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.home-v4 .hv4-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding-bottom: 32px;
}
.home-v4 .hv4-step:last-child { padding-bottom: 0; }
.home-v4 .hv4-step-num {
    grid-row: 1;
    grid-column: 1;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--accent-light);
    font-family: 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(26,27,92,0.30);
    border: 3px solid #fff;
    z-index: 2;
    flex-shrink: 0;
}
.home-v4 .hv4-step-line {
    position: absolute;
    top: 56px;
    bottom: -16px;
    right: 27.5px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(184,153,104,0.20));
    z-index: 1;
}
.home-v4 .hv4-step-content {
    grid-column: 2;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(26,27,92,0.06);
    position: relative;
}
.home-v4 .hv4-step-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    background: var(--accent-pale);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.home-v4 .hv4-step-title {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0 50px 8px 0;
}
.home-v4 .hv4-step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}
@media (min-width: 768px) {
    .home-v4 .hv4-step { grid-template-columns: 72px 1fr; gap: 24px; padding-bottom: 36px; }
    .home-v4 .hv4-step-num { width: 72px; height: 72px; font-size: 30px; }
    .home-v4 .hv4-step-line { top: 72px; right: 35.5px; }
    .home-v4 .hv4-step-content { padding: 24px; }
    .home-v4 .hv4-step-title { font-size: 22px; }
    .home-v4 .hv4-step-desc { font-size: 16px; }
}

/* ════════════════════════════════════════════════════════
   STATS SHOWCASE — Full bleed massive numbers
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-stats-show {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(184,153,104,0.20), transparent 60%),
        linear-gradient(135deg, #0F1040, #1A1B5C, #0F1040);
    color: #fff;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.home-v4 .hv4-stats-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent 0, transparent 80px,
        rgba(184,153,104,0.04) 80px, rgba(184,153,104,0.04) 81px);
    pointer-events: none;
}
.home-v4 .hv4-stats-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}
.home-v4 .hv4-stats-eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--accent-light);
    text-transform: uppercase;
    margin-bottom: 32px;
    padding: 8px 18px;
    display: inline-block;
    border: 1px solid rgba(212,184,134,0.30);
    border-radius: 999px;
    background: rgba(184,153,104,0.08);
}
.home-v4 .hv4-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
}
@media (min-width: 768px) {
    .home-v4 .hv4-stats-show { padding: 96px 0; }
    .home-v4 .hv4-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}
.home-v4 .hv4-bigstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}
.home-v4 .hv4-bigstat::before {
    content: '';
    position: absolute;
    top: -8px;
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}
.home-v4 .hv4-bigstat-num {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(48px, 12vw, 96px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    background: linear-gradient(180deg, #fff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.home-v4 .hv4-bigstat-label {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    text-align: center;
}
@media (min-width: 768px) {
    .home-v4 .hv4-bigstat-label { font-size: 18px; }
}

/* ════════════════════════════════════════════════════════
   WHY US
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 640px) {
    .home-v4 .hv4-why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
.home-v4 .hv4-why {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.home-v4 .hv4-why::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(184,153,104,0.08), transparent 70%);
    pointer-events: none;
}
.home-v4 .hv4-why:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(26,27,92,0.10);
}
.home-v4 .hv4-why-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--accent-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(26,27,92,0.20);
}
.home-v4 .hv4-why-title {
    font-family: 'Cairo', sans-serif;
    font-size: 19px;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0 0 8px;
}
.home-v4 .hv4-why-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}
@media (min-width: 768px) {
    .home-v4 .hv4-why { padding: 32px; }
    .home-v4 .hv4-why-icon { width: 64px; height: 64px; font-size: 26px; }
    .home-v4 .hv4-why-title { font-size: 22px; }
    .home-v4 .hv4-why-desc { font-size: 15px; }
}

/* ════════════════════════════════════════════════════════
   STORIES
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-stories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .home-v4 .hv4-stories {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}
.home-v4 .hv4-story {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.home-v4 .hv4-story:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(26,27,92,0.10);
}
.home-v4 .hv4-story-img {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-soft);
    overflow: hidden;
}
.home-v4 .hv4-story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-v4 .hv4-story-flag {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tinted), var(--bg-soft));
}
.home-v4 .hv4-story-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15,16,64,0.85);
    color: var(--accent-light);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}
.home-v4 .hv4-story-body { padding: 18px; }
.home-v4 .hv4-story-title {
    font-family: 'Cairo', sans-serif;
    font-size: 17px;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0 0 10px;
    line-height: 1.3;
}
.home-v4 .hv4-story-quote {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0 0 12px;
    padding-right: 12px;
    border-right: 3px solid var(--accent);
}
.home-v4 .hv4-story-meta {
    font-size: 12px;
    color: var(--accent-dark);
    font-weight: 700;
}
.home-v4 .hv4-story-meta i { margin-left: 4px; }

/* ════════════════════════════════════════════════════════
   PROGRAMS
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-programs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (min-width: 640px) {
    .home-v4 .hv4-programs {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}
.home-v4 .hv4-program {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-v4 .hv4-program:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(26,27,92,0.10);
}
.home-v4 .hv4-program-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-pale), #fff);
    color: var(--primary);
    border: 2px solid var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(184,153,104,0.20);
}
.home-v4 .hv4-program-title {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0 0 6px;
    line-height: 1.3;
}
.home-v4 .hv4-program-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 10px;
    flex: 1;
}
.home-v4 .hv4-program-link {
    font-size: 12px;
    color: var(--accent);
    font-weight: 800;
    margin-top: auto;
}
@media (min-width: 768px) {
    .home-v4 .hv4-program { padding: 28px 20px; }
    .home-v4 .hv4-program-title { font-size: 18px; }
    .home-v4 .hv4-program-desc { font-size: 14px; }
    .home-v4 .hv4-program-link { font-size: 13px; }
}

/* ════════════════════════════════════════════════════════
   REVIEWS
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) {
    .home-v4 .hv4-reviews { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 1024px) {
    .home-v4 .hv4-reviews { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.home-v4 .hv4-review {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    transition: all 0.3s ease;
    position: relative;
}
.home-v4 .hv4-review::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 18px;
    font-family: 'Cairo', serif;
    font-size: 64px;
    color: var(--accent-pale);
    line-height: 1;
    font-weight: 900;
}
.home-v4 .hv4-review:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(26,27,92,0.08);
}
.home-v4 .hv4-review-stars {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.home-v4 .hv4-review-title {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0 0 8px;
}
.home-v4 .hv4-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 16px;
}
.home-v4 .hv4-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.home-v4 .hv4-review-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
}
.home-v4 .hv4-review-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-dark);
}
.home-v4 .hv4-review-loc {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.home-v4 .hv4-review-loc i { margin-left: 4px; color: var(--accent); }

/* ════════════════════════════════════════════════════════
   ARTICLES
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-articles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 768px) {
    .home-v4 .hv4-articles {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}
.home-v4 .hv4-article {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.home-v4 .hv4-article:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(26,27,92,0.10);
}
.home-v4 .hv4-article-img {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-soft);
    overflow: hidden;
}
.home-v4 .hv4-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-v4 .hv4-article-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tinted), var(--bg-soft));
    color: var(--accent);
    font-size: 56px;
}
.home-v4 .hv4-article-cat {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.home-v4 .hv4-article-body { padding: 18px; }
.home-v4 .hv4-article-meta {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.home-v4 .hv4-article-meta i { margin-left: 4px; color: var(--accent); }
.home-v4 .hv4-article-title {
    font-family: 'Cairo', sans-serif;
    font-size: 17px;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 0 0 10px;
    line-height: 1.3;
}
.home-v4 .hv4-article-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-faq-container { max-width: 760px; }
.home-v4 .hv4-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.home-v4 .hv4-faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s;
}
.home-v4 .hv4-faq-item[open] {
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(26,27,92,0.08);
}
.home-v4 .hv4-faq-q {
    padding: 16px 18px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    list-style: none;
    transition: background 0.2s;
}
.home-v4 .hv4-faq-q::-webkit-details-marker { display: none; }
.home-v4 .hv4-faq-q:hover { background: var(--bg-soft); }
.home-v4 .hv4-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--accent-pale);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    transition: transform 0.3s ease;
}
.home-v4 .hv4-faq-item[open] .hv4-faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: #fff;
}
.home-v4 .hv4-faq-a {
    padding: 0 18px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}
@media (min-width: 768px) {
    .home-v4 .hv4-faq-q { padding: 20px 24px; font-size: 17px; }
    .home-v4 .hv4-faq-a { padding: 0 24px 22px; font-size: 15px; }
}

/* ════════════════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════════════════ */
.home-v4 .hv4-finalcta {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(184,153,104,0.30), transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(40,42,120,0.40), transparent 50%),
        linear-gradient(135deg, #1A1B5C 0%, #0F1040 100%);
    color: #fff;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.home-v4 .hv4-finalcta-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent 0, transparent 80px,
        rgba(184,153,104,0.05) 80px, rgba(184,153,104,0.05) 81px);
    pointer-events: none;
}
.home-v4 .hv4-finalcta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}
.home-v4 .hv4-finalcta-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--accent-light);
    padding: 8px 20px;
    border: 1px solid rgba(212,184,134,0.40);
    border-radius: 999px;
    background: rgba(184,153,104,0.10);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.home-v4 .hv4-finalcta-title {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin: 0 0 16px;
}
.home-v4 .hv4-finalcta-sub {
    font-size: clamp(15px, 4vw, 19px);
    color: rgba(255,255,255,0.85);
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.6;
    font-weight: 500;
}
.home-v4 .hv4-finalcta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 8px;
}
.home-v4 .hv4-finalcta-actions .hv4-btn {
    width: 100%;
    max-width: 380px;
}
@media (min-width: 640px) {
    .home-v4 .hv4-finalcta-actions {
        flex-direction: row;
        justify-content: center;
        padding: 0;
    }
    .home-v4 .hv4-finalcta-actions .hv4-btn { width: auto; }
}
.home-v4 .hv4-finalcta-phone {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
}
.home-v4 .hv4-finalcta-phone i { color: var(--accent-light); margin-left: 6px; }
.home-v4 .hv4-finalcta-phone a {
    color: var(--accent-light);
    font-weight: 800;
    text-decoration: none;
    margin-right: 6px;
}
.home-v4 .hv4-finalcta-phone a:hover { color: #fff; }
@media (min-width: 768px) {
    .home-v4 .hv4-finalcta { padding: 96px 0; }
    .home-v4 .hv4-finalcta-phone { font-size: 17px; }
}

/* ════════════════════════════════════════════════════════
   Mobile-only overrides for homepage
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Override generic mobile rules for hv4 sections */
    .home-v4 .hv4-section { padding: 40px 0 !important; }
    .home-v4 .hv4-hero {
        min-height: 88vh !important;
        padding: 24px 0 40px !important;
    }
    /* Disable generic .hero rules from main mobile section */
    .home-v4 .hv4-hero-title {
        font-size: 38px !important;
        line-height: 1.1 !important;
    }
    /* Country grid edge-to-edge */
    .home-v4 .hv4-countries {
        margin-left: -16px;
        margin-right: -16px;
    }
}

/* ============================================================
   END OF HOMEPAGE V4
   ============================================================ */

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v4.2 — Header Logo Fix + Mobile Menu Fix + Footer Polish          ║
   ║ Cleaner header without text logo + bulletproof mobile menu        ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

/* ═══ HEADER REBUILD ═══ */

/* Logo: bigger, clean, no text */
.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.site-logo img {
    height: 64px;
    width: auto;
    max-width: none;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-logo:hover img {
    transform: scale(1.04);
}
.site-logo-text {
    display: none !important; /* removed permanently */
}

/* Header main inner: clean alignment */
.header-main-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    min-height: 80px !important;
    padding: 8px 0 !important;
}

/* Desktop nav: balanced spacing */
@media (min-width: 1025px) {
    .main-nav {
        display: flex !important;
        gap: 6px !important;
        align-items: center !important;
        flex: 1 !important;
        justify-content: center !important;
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
    }
    .main-nav a {
        padding: 10px 14px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--text) !important;
        background: transparent !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }
    .main-nav a:hover {
        background: var(--accent-pale) !important;
        color: var(--primary) !important;
    }
    .main-nav a.active {
        color: var(--primary) !important;
        background: rgba(184,153,104,0.10) !important;
    }
    .mobile-toggle {
        display: none !important;
    }
    .header-actions {
        flex-shrink: 0;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .header-actions .btn {
        padding: 11px 22px !important;
        font-size: 14px !important;
        min-height: 44px !important;
    }
}

/* Tablet: condensed nav */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-nav {
        display: flex !important;
        gap: 2px !important;
        flex: 1 !important;
        justify-content: center !important;
        position: static !important;
        background: transparent !important;
    }
    .main-nav a {
        padding: 8px 10px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
    }
    .mobile-toggle {
        display: none !important;
    }
}

/* ═══ MOBILE MENU FIX (≤768px) ═══
   Bulletproof override — kills all conflicting older rules */
@media (max-width: 768px) {
    .header-main-inner {
        min-height: 64px !important;
        padding: 4px 0 !important;
    }
    .site-logo img {
        height: 48px !important;
    }

    /* Mobile toggle: visible and clickable */
    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: var(--primary) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 10px !important;
        font-size: 18px !important;
        cursor: pointer !important;
        z-index: 100 !important;
        position: relative !important;
        flex-shrink: 0 !important;
        box-shadow: 0 2px 8px rgba(26,27,92,0.25) !important;
    }
    .mobile-toggle i {
        color: #fff !important;
        font-size: 18px !important;
    }
    .mobile-toggle:active {
        transform: scale(0.94) !important;
    }

    /* Drawer state — closed */
    .main-nav,
    #mainNav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        bottom: 0 !important;
        left: auto !important;
        width: 84% !important;
        max-width: 320px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        background: linear-gradient(180deg, #0F1040, #1A1B5C) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 80px 20px 32px !important;
        gap: 4px !important;
        z-index: 99999 !important;
        transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -12px 0 40px rgba(0,0,0,0.30) !important;
        overflow-y: auto !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Drawer state — open */
    .main-nav.active,
    #mainNav.active {
        right: 0 !important;
    }

    /* LTR languages: drawer comes from left */
    [dir="ltr"] .main-nav,
    [dir="ltr"] #mainNav {
        right: auto !important;
        left: -100% !important;
        transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 12px 0 40px rgba(0,0,0,0.30) !important;
    }
    [dir="ltr"] .main-nav.active,
    [dir="ltr"] #mainNav.active {
        left: 0 !important;
        right: auto !important;
    }

    /* Drawer links */
    .main-nav a,
    #mainNav a {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 14px 18px !important;
        font-family: 'Cairo', 'Tajawal', sans-serif !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #fff !important;
        background: transparent !important;
        text-decoration: none !important;
        border: none !important;
        border-radius: 12px !important;
        text-align: right !important;
        margin: 0 !important;
        transition: all 0.2s !important;
        position: relative !important;
    }
    [dir="ltr"] .main-nav a,
    [dir="ltr"] #mainNav a {
        text-align: left !important;
    }
    .main-nav a:hover,
    #mainNav a:hover {
        background: rgba(184,153,104,0.18) !important;
        color: var(--accent-light) !important;
    }
    .main-nav a.active,
    #mainNav a.active {
        background: rgba(184,153,104,0.22) !important;
        color: var(--accent-light) !important;
    }
    .main-nav a.active::before,
    #mainNav a.active::before {
        content: '' !important;
        position: absolute !important;
        right: 0 !important;
        top: 12px !important;
        bottom: 12px !important;
        width: 3px !important;
        background: var(--accent-light) !important;
        border-radius: 3px !important;
    }
    [dir="ltr"] .main-nav a.active::before,
    [dir="ltr"] #mainNav a.active::before {
        right: auto !important;
        left: 0 !important;
    }

    /* Backdrop overlay */
    body.menu-open::after {
        content: '' !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15,16,64,0.65) !important;
        backdrop-filter: blur(3px) !important;
        z-index: 99998 !important;
        animation: hv4FadeIn 0.3s !important;
    }
    @keyframes hv4FadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    body.menu-open {
        overflow: hidden !important;
    }

    /* Header actions tighter on mobile */
    .header-actions {
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .header-actions .btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
        min-height: 38px !important;
    }
    .header-actions .btn-text {
        display: none !important;
    }
}

/* ═══ FOOTER FIX — Move bottom row up properly ═══ */
.site-footer {
    padding-bottom: 0 !important; /* remove extra bottom padding */
}
.footer-bottom {
    margin-top: 32px !important;
    padding: 20px 16px !important;
    background: var(--primary-dark) !important;
    border-top: 1px solid rgba(184,153,104,0.20) !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: rgba(255,255,255,0.70) !important;
}
.footer-bottom > div {
    max-width: 1280px !important;
    margin: 0 auto !important;
}
.footer-bottom strong {
    color: var(--accent-light) !important;
}
.footer-bottom a {
    color: var(--accent-light) !important;
    text-decoration: none !important;
    margin: 0 6px !important;
    transition: color 0.2s !important;
}
.footer-bottom a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* On mobile: force footer bottom to be ABOVE the bottom nav */
@media (max-width: 768px) {
    .site-footer {
        padding-bottom: 0 !important;
    }
    .footer-bottom {
        margin-top: 24px !important;
        padding: 16px 12px 88px !important; /* extra bottom padding for fixed bottom-nav */
        font-size: 11.5px !important;
    }
    .footer-bottom > div {
        line-height: 1.8 !important;
    }
    .footer-bottom a {
        display: inline-block !important;
        margin: 2px 4px !important;
    }
}

/* ═══ LTR LANGUAGE SUPPORT for hv4 ═══ */
[dir="ltr"] .home-v4 .hv4-story-quote {
    border-right: none !important;
    border-left: 3px solid var(--accent) !important;
    padding-right: 0 !important;
    padding-left: 12px !important;
}
[dir="ltr"] .home-v4 .hv4-step-icon {
    left: auto !important;
    right: 18px !important;
}
[dir="ltr"] .home-v4 .hv4-step-title {
    margin: 0 0 8px 50px !important;
}
[dir="ltr"] .home-v4 .hv4-country-meta i,
[dir="ltr"] .home-v4 .hv4-country-arrow i,
[dir="ltr"] .home-v4 .hv4-review-loc i,
[dir="ltr"] .home-v4 .hv4-article-meta i,
[dir="ltr"] .home-v4 .hv4-finalcta-phone i,
[dir="ltr"] .home-v4 .hv4-story-meta i {
    margin-left: 0 !important;
    margin-right: 4px !important;
}
[dir="ltr"] .home-v4 .hv4-finalcta-phone a {
    margin-right: 0 !important;
    margin-left: 6px !important;
}
[dir="ltr"] .home-v4 .hv4-bigstat::before {
    /* keep centered, no flip needed */
}
[dir="ltr"] .home-v4 .hv4-trust-track {
    animation-direction: reverse !important;
}
[dir="ltr"] .home-v4 .hv4-step-line {
    right: auto !important;
    left: 27.5px !important;
}
@media (min-width: 768px) {
    [dir="ltr"] .home-v4 .hv4-step-line {
        right: auto !important;
        left: 35.5px !important;
    }
}
[dir="ltr"] .home-v4 .hv4-section-title::after,
[dir="ltr"] .home-v4 .hv4-country::before {
    transform-origin: left !important;
}
[dir="ltr"] .home-v4 .hv4-country:hover .hv4-country-arrow {
    transform: translateX(4px) !important;
}
[dir="ltr"] .home-v4 .hv4-hero-mark {
    right: auto !important;
    left: -80px !important;
}
@media (min-width: 1024px) {
    [dir="ltr"] .home-v4 .hv4-hero-mark {
        right: auto !important;
        left: -120px !important;
    }
}
/* Arrows: flip in LTR (since they point left in Arabic but should point right in English) */
[dir="ltr"] .home-v4 .hv4-btn .fa-arrow-left,
[dir="ltr"] .home-v4 .hv4-program-link .fa-arrow-left,
[dir="ltr"] .home-v4 .hv4-section-cta .fa-arrow-left {
    transform: scaleX(-1);
}

/* ============================================================
   END v4.2
   ============================================================ */

/* Mobile toggle z-index when menu is open — must be above overlay */
@media (max-width: 768px) {
    body.menu-open .mobile-toggle {
        z-index: 99999 !important;
        background: var(--accent) !important;
        color: var(--primary-dark) !important;
    }
}


/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v4.3 — Mobile Drawer Logo + Close Button + Brighter Text          ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

/* Hide mobile drawer header on desktop */
.mobile-nav-head {
    display: none;
}

@media (max-width: 768px) {
    /* Show mobile nav header inside drawer */
    .mobile-nav-head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 18px 20px !important;
        margin: -80px -20px 20px !important; /* counteract drawer's top padding */
        border-bottom: 1px solid rgba(184,153,104,0.20) !important;
        background: linear-gradient(180deg, rgba(0,0,0,0.20), transparent) !important;
        gap: 12px !important;
    }
    
    /* Logo in drawer header */
    .mobile-nav-logo {
        display: inline-flex !important;
        align-items: center !important;
        flex: 1 !important;
        text-decoration: none !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    .mobile-nav-logo img {
        height: 56px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }
    
    /* Close button inside drawer */
    .mobile-nav-close {
        flex-shrink: 0 !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(184,153,104,0.18) !important;
        border: 1px solid rgba(212,184,134,0.40) !important;
        color: var(--accent-light) !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        transition: all 0.2s !important;
        padding: 0 !important;
    }
    .mobile-nav-close:hover,
    .mobile-nav-close:active {
        background: var(--accent) !important;
        color: var(--primary-dark) !important;
        transform: scale(0.95) !important;
    }
    .mobile-nav-close i {
        color: inherit !important;
        font-size: 18px !important;
    }
    
    /* Override drawer padding now that we have a header */
    .main-nav,
    #mainNav {
        padding: 80px 20px 32px !important;
    }
    
    /* Drawer link items — BRIGHT WHITE TEXT, BIGGER, BOLDER */
    .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close),
    #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close) {
        display: flex !important;
        align-items: center !important;
        padding: 16px 20px !important;
        font-family: 'Cairo', 'Tajawal', sans-serif !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        color: #FFFFFF !important;
        background: transparent !important;
        text-decoration: none !important;
        border: none !important;
        border-radius: 12px !important;
        text-align: right !important;
        margin: 2px 0 !important;
        transition: all 0.22s !important;
        position: relative !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.30) !important;
    }
    [dir="ltr"] .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close),
    [dir="ltr"] #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close) {
        text-align: left !important;
    }
    .main-nav a:hover,
    #mainNav a:hover {
        background: rgba(184,153,104,0.20) !important;
        color: var(--accent-light) !important;
        padding-right: 28px !important;
    }
    .main-nav a.active,
    #mainNav a.active {
        background: linear-gradient(90deg, rgba(184,153,104,0.30), rgba(184,153,104,0.10)) !important;
        color: var(--accent-light) !important;
        font-weight: 900 !important;
    }
    .main-nav a.active::before,
    #mainNav a.active::before {
        content: '' !important;
        position: absolute !important;
        right: 0 !important;
        top: 14px !important;
        bottom: 14px !important;
        width: 4px !important;
        background: var(--accent-light) !important;
        border-radius: 4px !important;
        box-shadow: 0 0 12px var(--accent-light) !important;
    }
    [dir="ltr"] .main-nav a.active::before,
    [dir="ltr"] #mainNav a.active::before {
        right: auto !important;
        left: 0 !important;
    }
    
    /* Add icon spacing on left side */
    .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close)::after {
        content: '←';
        font-family: inherit;
        margin-right: auto !important;
        margin-left: 0 !important;
        opacity: 0.50;
        font-size: 16px;
        transition: transform 0.2s;
    }
    [dir="ltr"] .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close)::after {
        content: '→';
        margin-right: 0 !important;
        margin-left: auto !important;
    }
    .main-nav a:hover::after {
        transform: translateX(-4px);
        opacity: 1;
    }
    [dir="ltr"] .main-nav a:hover::after {
        transform: translateX(4px);
    }
    
    /* Drawer CTA section at bottom */
    #mainNav::after {
        content: '';
        display: block;
        height: 1px;
        background: rgba(184,153,104,0.20);
        margin: 16px 12px 16px;
    }
}

/* ============================================================
   END v4.3
   ============================================================ */

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v4.4 — Force max specificity for mobile menu text color           ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
@media (max-width: 768px) {
    /* Force white text — beat all other rules with high specificity */
    body .main-nav.active a:not(.mobile-nav-logo):not(.mobile-nav-close),
    body #mainNav.active a:not(.mobile-nav-logo):not(.mobile-nav-close),
    html body .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close),
    html body #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close) {
        color: #FFFFFF !important;
        font-weight: 800 !important;
        font-size: 17px !important;
        opacity: 1 !important;
        text-shadow: none !important;
    }
    body .main-nav.active a.active,
    body #mainNav.active a.active,
    html body .main-nav a.active,
    html body #mainNav a.active {
        color: #D4B886 !important;
        font-weight: 900 !important;
    }
    /* Force drawer fully opaque */
    body .main-nav,
    body #mainNav {
        opacity: 1 !important;
        background: #0F1040 !important;
        background: linear-gradient(180deg, #0F1040 0%, #1A1B5C 50%, #0F1040 100%) !important;
    }
    
    /* Make sure overlay does not bleed into drawer area */
    body.menu-open::after {
        right: 0 !important;
        left: 0 !important;
    }
}

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v4.5 — Crystal-clear mobile menu with icons                       ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
@media (max-width: 768px) {
    /* Drawer link items — MASSIVELY visible */
    body .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close),
    body #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close),
    html body .main-nav.active a:not(.mobile-nav-logo):not(.mobile-nav-close),
    html body #mainNav.active a:not(.mobile-nav-logo):not(.mobile-nav-close) {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 18px 24px !important;
        font-family: 'Cairo', 'Tajawal', sans-serif !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        color: #FFFFFF !important;
        background: transparent !important;
        text-decoration: none !important;
        border-radius: 0 !important;
        text-align: right !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        position: relative !important;
        border-bottom: 1px solid rgba(184,153,104,0.15) !important;
        opacity: 1 !important;
        text-shadow: none !important;
        transition: all 0.2s !important;
    }
    
    /* Icon styling */
    body .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close) i,
    body #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close) i {
        flex-shrink: 0 !important;
        width: 28px !important;
        height: 28px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(184,153,104,0.18) !important;
        color: #D4B886 !important;
        border-radius: 8px !important;
        font-size: 14px !important;
    }
    body .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close) span,
    body #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close) span {
        flex: 1 !important;
        color: #FFFFFF !important;
        font-weight: 800 !important;
    }
    
    /* Hover */
    body .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close):hover,
    body #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close):hover {
        background: rgba(184,153,104,0.20) !important;
        color: #D4B886 !important;
    }
    body .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close):hover span,
    body #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close):hover span {
        color: #D4B886 !important;
    }
    body .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close):hover i,
    body #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close):hover i {
        background: rgba(184,153,104,0.40) !important;
        color: #FFFFFF !important;
    }
    
    /* Active state */
    body .main-nav a.active,
    body #mainNav a.active {
        background: linear-gradient(90deg, rgba(184,153,104,0.30), rgba(184,153,104,0.05)) !important;
    }
    body .main-nav a.active span,
    body #mainNav a.active span {
        color: #D4B886 !important;
        font-weight: 900 !important;
    }
    body .main-nav a.active i,
    body #mainNav a.active i {
        background: var(--accent) !important;
        color: var(--primary-dark) !important;
    }
    body .main-nav a.active::before,
    body #mainNav a.active::before {
        content: '' !important;
        position: absolute !important;
        right: 0 !important;
        top: 14px !important;
        bottom: 14px !important;
        width: 4px !important;
        background: #D4B886 !important;
        border-radius: 0 4px 4px 0 !important;
        box-shadow: 0 0 16px rgba(212,184,134,0.6) !important;
    }
    [dir="ltr"] body .main-nav a.active::before,
    [dir="ltr"] body #mainNav a.active::before {
        right: auto !important;
        left: 0 !important;
        border-radius: 4px 0 0 4px !important;
    }
    
    /* Hide that fake arrow ::after I added */
    body .main-nav a:not(.mobile-nav-logo):not(.mobile-nav-close)::after,
    body #mainNav a:not(.mobile-nav-logo):not(.mobile-nav-close)::after {
        content: none !important;
    }
}

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v4.6 — Card-style menu items for max visibility                   ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
@media (max-width: 768px) {
    /* Each menu item: card-style with subtle background */
    body .main-nav,
    body #mainNav {
        padding: 0 !important;
        gap: 0 !important;
    }
    body .main-nav .mobile-nav-head,
    body #mainNav .mobile-nav-head {
        margin: 0 !important;
        padding: 20px 20px 24px !important;
        background: linear-gradient(180deg, rgba(184,153,104,0.10), transparent) !important;
        border-bottom: 1px solid rgba(184,153,104,0.25) !important;
    }
    body .main-nav .mobile-nav-logo img,
    body #mainNav .mobile-nav-logo img {
        height: 48px !important;
    }
    
    /* Padding wrapper for items */
    body .main-nav,
    body #mainNav {
        padding-bottom: 32px !important;
    }
    body .main-nav > a:not(.mobile-nav-logo):not(.mobile-nav-close),
    body #mainNav > a:not(.mobile-nav-logo):not(.mobile-nav-close) {
        margin: 6px 12px !important;
        padding: 14px 18px !important;
        background: rgba(255,255,255,0.05) !important;
        border: 1px solid rgba(184,153,104,0.20) !important;
        border-radius: 12px !important;
        color: #FFFFFF !important;
        font-weight: 800 !important;
        font-size: 16px !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
    body .main-nav > a:not(.mobile-nav-logo):not(.mobile-nav-close):hover,
    body #mainNav > a:not(.mobile-nav-logo):not(.mobile-nav-close):hover {
        background: rgba(184,153,104,0.25) !important;
        border-color: rgba(184,153,104,0.50) !important;
        transform: translateX(-4px) !important;
    }
    body .main-nav > a.active,
    body #mainNav > a.active {
        background: linear-gradient(135deg, rgba(184,153,104,0.40), rgba(184,153,104,0.10)) !important;
        border-color: rgba(212,184,134,0.60) !important;
        box-shadow: 0 4px 16px rgba(184,153,104,0.25) !important;
    }
    body .main-nav > a.active span,
    body #mainNav > a.active span {
        color: #FFFFFF !important;
    }
    body .main-nav > a.active i,
    body #mainNav > a.active i {
        background: var(--accent) !important;
        color: var(--primary-dark) !important;
        box-shadow: 0 0 16px rgba(212,184,134,0.4) !important;
    }
    body .main-nav > a.active::before,
    body #mainNav > a.active::before {
        display: none !important;
    }
    
    /* Reset border-bottom from earlier rule */
    body .main-nav > a:not(.mobile-nav-logo):not(.mobile-nav-close),
    body #mainNav > a:not(.mobile-nav-logo):not(.mobile-nav-close) {
        border-bottom: 1px solid rgba(184,153,104,0.20) !important;
    }
}


/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v4.7 — DEFINITIVE Mobile Menu Fix                                 ║
   ║ FULL-SCREEN drawer = no z-index conflicts possible                ║
   ║ Maximum specificity to beat ALL legacy rules                      ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

@media (max-width: 1024px) {
    /* Hide desktop nav, show toggle */
    html body .main-nav,
    html body #mainNav {
        display: none !important;
    }
    html body .mobile-toggle {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    /* DRAWER: FULL-SCREEN — no overlay needed */
    html body .main-nav,
    html body #mainNav {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        background: linear-gradient(180deg, #0F1040 0%, #1A1B5C 50%, #0F1040 100%) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 999999 !important;
        box-shadow: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(100%) !important;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.25s ease,
                    visibility 0s linear 0.32s !important;
        gap: 0 !important;
    }
    
    html body .main-nav.active,
    html body #mainNav.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    visibility 0s linear 0s !important;
        right: 0 !important;
        left: 0 !important;
    }
    
    /* LTR: drawer slides from left */
    [dir="ltr"] html body .main-nav,
    [dir="ltr"] html body #mainNav {
        transform: translateX(-100%) !important;
    }
    [dir="ltr"] html body .main-nav.active,
    [dir="ltr"] html body #mainNav.active {
        transform: translateX(0) !important;
    }
    
    /* DISABLE all overlay backdrops — full-screen drawer doesn't need one */
    html body.menu-open::before,
    html body.menu-open::after {
        display: none !important;
        content: none !important;
    }
    html body.menu-open {
        overflow: hidden !important;
    }
    
    /* MOBILE NAV HEADER (logo + close button) */
    html body .main-nav .mobile-nav-head,
    html body #mainNav .mobile-nav-head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 18px 20px !important;
        margin: 0 !important;
        background: rgba(0,0,0,0.20) !important;
        border-bottom: 1px solid rgba(184,153,104,0.30) !important;
        gap: 12px !important;
        flex-shrink: 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 2 !important;
    }
    
    html body .main-nav .mobile-nav-logo,
    html body #mainNav .mobile-nav-logo {
        display: inline-flex !important;
        align-items: center !important;
        flex: 1 !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    html body .main-nav .mobile-nav-logo img,
    html body #mainNav .mobile-nav-logo img {
        height: 56px !important;
        width: auto !important;
        max-width: 220px !important;
        object-fit: contain !important;
        display: block !important;
    }
    html body .main-nav .mobile-nav-close,
    html body #mainNav .mobile-nav-close {
        flex-shrink: 0 !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(184,153,104,0.20) !important;
        border: 1.5px solid rgba(212,184,134,0.50) !important;
        color: #D4B886 !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        transition: all 0.2s !important;
        font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', sans-serif !important;
    }
    html body .main-nav .mobile-nav-close:hover,
    html body #mainNav .mobile-nav-close:hover,
    html body .main-nav .mobile-nav-close:active,
    html body #mainNav .mobile-nav-close:active {
        background: #D4B886 !important;
        color: #0F1040 !important;
        transform: scale(0.95) !important;
    }
    html body .main-nav .mobile-nav-close i,
    html body #mainNav .mobile-nav-close i {
        color: inherit !important;
        font-size: 18px !important;
        background: transparent !important;
    }
    
    /* MENU LINKS — Card style, bright text */
    html body .main-nav > a:not(.mobile-nav-logo):not(.mobile-nav-close),
    html body #mainNav > a:not(.mobile-nav-logo):not(.mobile-nav-close) {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        margin: 8px 16px !important;
        padding: 16px 18px !important;
        background: rgba(255,255,255,0.06) !important;
        border: 1px solid rgba(184,153,104,0.20) !important;
        border-radius: 14px !important;
        font-family: 'Cairo', 'Tajawal', sans-serif !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        color: #FFFFFF !important;
        text-decoration: none !important;
        text-align: right !important;
        line-height: 1.3 !important;
        position: relative !important;
        transition: all 0.2s !important;
        box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset !important;
    }
    [dir="ltr"] html body .main-nav > a:not(.mobile-nav-logo):not(.mobile-nav-close),
    [dir="ltr"] html body #mainNav > a:not(.mobile-nav-logo):not(.mobile-nav-close) {
        text-align: left !important;
    }
    html body .main-nav > a:first-of-type:not(.mobile-nav-logo),
    html body #mainNav > a:first-of-type:not(.mobile-nav-logo) {
        margin-top: 14px !important;
    }
    html body .main-nav > a:hover:not(.mobile-nav-logo):not(.mobile-nav-close),
    html body #mainNav > a:hover:not(.mobile-nav-logo):not(.mobile-nav-close) {
        background: rgba(184,153,104,0.20) !important;
        border-color: rgba(212,184,134,0.50) !important;
        color: #D4B886 !important;
    }
    html body .main-nav > a.active,
    html body #mainNav > a.active {
        background: linear-gradient(135deg, rgba(184,153,104,0.40), rgba(184,153,104,0.10)) !important;
        border-color: #D4B886 !important;
        color: #FFFFFF !important;
        box-shadow: 0 4px 20px rgba(184,153,104,0.25) !important;
    }
    html body .main-nav > a.active::before,
    html body #mainNav > a.active::before {
        display: none !important;
    }
    html body .main-nav > a:not(.mobile-nav-logo):not(.mobile-nav-close)::after,
    html body #mainNav > a:not(.mobile-nav-logo):not(.mobile-nav-close)::after {
        content: none !important;
    }
    
    /* Icons inside menu links */
    html body .main-nav > a:not(.mobile-nav-logo):not(.mobile-nav-close) i,
    html body #mainNav > a:not(.mobile-nav-logo):not(.mobile-nav-close) i {
        flex-shrink: 0 !important;
        width: 36px !important;
        height: 36px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(184,153,104,0.18) !important;
        color: #D4B886 !important;
        border-radius: 10px !important;
        font-size: 16px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body .main-nav > a.active i,
    html body #mainNav > a.active i {
        background: var(--accent) !important;
        color: var(--primary-dark) !important;
        box-shadow: 0 0 12px rgba(212,184,134,0.40) !important;
    }
    html body .main-nav > a:not(.mobile-nav-logo):not(.mobile-nav-close) span,
    html body #mainNav > a:not(.mobile-nav-logo):not(.mobile-nav-close) span {
        flex: 1 !important;
        color: inherit !important;
        font-weight: inherit !important;
        background: transparent !important;
    }
    
    /* MOBILE TOGGLE BUTTON — solid, visible, never transparent */
    html body .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: linear-gradient(135deg, #1A1B5C, #282A78) !important;
        color: #FFFFFF !important;
        border: 1px solid rgba(184,153,104,0.30) !important;
        border-radius: 10px !important;
        font-size: 18px !important;
        cursor: pointer !important;
        position: relative !important;
        flex-shrink: 0 !important;
        z-index: 10 !important;
        opacity: 1 !important;
        box-shadow: 0 2px 8px rgba(26,27,92,0.30) !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    html body .mobile-toggle i {
        color: #FFFFFF !important;
        font-size: 18px !important;
        background: transparent !important;
        opacity: 1 !important;
    }
    html body .mobile-toggle:hover,
    html body .mobile-toggle:active {
        background: linear-gradient(135deg, #B89968, #D4B886) !important;
        color: #0F1040 !important;
        transform: scale(0.95) !important;
    }
    html body .mobile-toggle:hover i,
    html body .mobile-toggle:active i {
        color: #0F1040 !important;
    }
    
    /* When menu is open, hide the toggle (close button is in drawer) */
    html body.menu-open .mobile-toggle {
        display: none !important;
    }
}

/* ============================================================
   END v4.7 — DEFINITIVE FIX
   ============================================================ */

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v4.8 — Comprehensive fixes from real-world mobile screenshots     ║
   ║ - Country page why-cards proper layout                            ║
   ║ - Stats grid icons brand colors                                   ║
   ║ - Stories carousel overflow fix                                   ║
   ║ - Heading clipping fix (line-height for Cairo Arabic)             ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

/* === FIX: Country page .why-cards-grid — block layout, never grid === */
@media (max-width: 768px) {
    .why-cards-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 0 !important;
    }
    .why-cards-grid .why-card {
        display: block !important;
        text-align: center !important;
        padding: 24px 18px !important;
        background: #fff !important;
        border: 1px solid var(--border) !important;
        border-radius: 18px !important;
        box-shadow: 0 4px 14px rgba(26,27,92,0.06) !important;
    }
    .why-cards-grid .why-card-icon {
        width: 64px !important;
        height: 64px !important;
        margin: 0 auto 16px !important;
        border-radius: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 26px !important;
        grid-column: unset !important;
    }
    .why-cards-grid .why-card h3 {
        font-size: 17px !important;
        font-weight: 800 !important;
        color: var(--text) !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        width: 100% !important;
    }
    .why-cards-grid .why-card p {
        font-size: 14px !important;
        line-height: 1.7 !important;
        color: var(--text-secondary) !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .why-cards-grid .why-card p strong {
        color: var(--accent-dark) !important;
        font-weight: 800 !important;
    }
}

/* === FIX: Country stats bar icons — use solid brand colors === */
.country-stat-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    margin: 0 auto 10px !important;
}
.country-stat-card {
    text-align: center !important;
    padding: 18px 12px !important;
}
.country-stat-card .stat-value,
.country-stat-card .country-stat-value {
    color: var(--primary-dark) !important;
    font-weight: 900 !important;
}
.country-stat-card .stat-label,
.country-stat-card .country-stat-label {
    color: var(--text-secondary) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* === FIX: Stories carousel — prevent partial card bleed on mobile === */
@media (max-width: 768px) {
    .stories-grid,
    .story-grid,
    .articles-grid {
        overflow-x: hidden !important;
        scroll-snap-type: x mandatory !important;
    }
    /* If using flex scroll, hide overflow */
    .stories-carousel,
    .stories-scroll {
        overflow-x: hidden !important;
        padding: 0 16px !important;
    }
}

/* === FIX: Heading clipping — increase line-height for Cairo Arabic === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.4 !important;
}
.section-title,
.section-header h2,
.cta-section h2,
.hero h1,
.hv4-hero-title,
.hv4-section-title,
.hv4-finalcta-title {
    line-height: 1.25 !important;
    padding-top: 0.1em !important;  /* breathing room above for Arabic ascenders */
}

/* === FIX: CTA section padding adequate top space === */
.cta-section {
    padding: 60px 0 60px !important;
}
.cta-section h2 {
    font-size: clamp(22px, 5vw, 32px) !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
    padding-top: 8px !important;
}
@media (max-width: 768px) {
    .cta-section { padding: 48px 0 !important; }
    .cta-section h2 { font-size: 22px !important; }
    .cta-section p { font-size: 14px !important; }
}

/* === FIX: Floating contacts — smaller, less intrusive on mobile === */
@media (max-width: 768px) {
    .floating-contacts {
        bottom: calc(78px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        gap: 8px !important;
        z-index: 998 !important;
    }
    .floating-btn {
        width: 44px !important;
        height: 44px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.20) !important;
    }
    .floating-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
    /* Reduce pulse animation intensity */
    .floating-whatsapp {
        animation: none !important;
    }
}

/* === FIX: Sections containers — proper padding === */
@media (max-width: 768px) {
    .section { padding: 40px 0 !important; }
    .section .container { padding: 0 16px !important; }
    .section-header { margin-bottom: 28px !important; }
    .section-title,
    .section-header h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    .section-subtitle {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* === FIX: Country hero — proper proportions on mobile === */
@media (max-width: 768px) {
    .country-hero {
        padding: 32px 0 48px !important;
    }
    .country-hero h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    .country-hero .country-hero-flag,
    .country-hero .country-flag-large {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 20px !important;
    }
}

/* === FIX: All buttons — consistent mobile sizing === */
@media (max-width: 768px) {
    .btn-lg {
        padding: 14px 20px !important;
        font-size: 14px !important;
        min-height: 48px !important;
    }
    .btn {
        padding: 11px 18px !important;
        font-size: 13.5px !important;
    }
}

/* ============================================================
   END v4.8 — Real-world fixes
   ============================================================ */

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v4.9 — Hardening fixes from latest mobile screenshots             ║
   ║ - Mobile toggle button explicit colors (anti-cache)               ║
   ║ - CTA heading FORCE white (anti-cache)                            ║
   ║ - Stories carousel definitive overflow fix                        ║
   ║ - Section eyebrow brand color enforcement                         ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

/* === FIX: Mobile toggle — force navy bg + white icon === */
html body .mobile-toggle,
html body button.mobile-toggle,
html body #mobileToggle {
    background: linear-gradient(135deg, #1A1B5C 0%, #282A78 100%) !important;
    background-color: #1A1B5C !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(184,153,104,0.35) !important;
    box-shadow: 0 2px 8px rgba(26,27,92,0.30) !important;
}
html body .mobile-toggle i,
html body button.mobile-toggle i,
html body #mobileToggle i {
    color: #FFFFFF !important;
    background: transparent !important;
}
html body.menu-open .mobile-toggle,
html body.menu-open button.mobile-toggle {
    background: linear-gradient(135deg, #B89968 0%, #D4B886 100%) !important;
    color: #0F1040 !important;
}
html body.menu-open .mobile-toggle i {
    color: #0F1040 !important;
}

/* === FIX: CTA section h2 — FORCE white === */
.cta-section h2,
.cta-section h1,
section.cta-section h2,
section.cta-section h1,
html body .cta-section h2,
html body .cta-section h1 {
    color: #FFFFFF !important;
}
.cta-section,
section.cta-section {
    color: #FFFFFF !important;
}
.cta-section .cta-section-inner h2,
.cta-section-inner h2 {
    color: #FFFFFF !important;
}

/* === FIX: hv4 final CTA heading — ensure white === */
.hv4-finalcta h2,
.hv4-finalcta-title,
html body .hv4-finalcta-title,
.hv4-finalcta .hv4-gold {
    color: #FFFFFF !important;
}
.hv4-finalcta-title .hv4-gold {
    color: #D4B886 !important;
}

/* === FIX: Stories carousel — definitive overflow fix === */
.stories-grid,
.story-grid,
.hv4-stories,
.stories-carousel,
.stories-scroll,
.story-cards-wrap {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-width: 100vw !important;
}
@media (max-width: 768px) {
    /* Single column layout for stories on mobile to prevent bleeding */
    .stories-grid,
    .hv4-stories {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 0 16px !important;
        overflow: hidden !important;
    }
    .stories-grid > *,
    .hv4-stories > * {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
    }
}

/* === FIX: Section eyebrow — gold/brand colors only === */
.section-eyebrow,
.hv4-eyebrow {
    background: rgba(184,153,104,0.12) !important;
    color: var(--accent-dark, #8E7340) !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    display: inline-block !important;
    text-decoration: none !important;
    border: 1px solid rgba(184,153,104,0.20) !important;
}
/* Remove any text selection / highlight color issues */
.section-eyebrow::selection,
.hv4-eyebrow::selection,
.section-title::selection,
.hv4-section-title::selection {
    background: rgba(184,153,104,0.30) !important;
    color: inherit !important;
}

/* === FIX: Story card title with .hv4-gold (avoid weird highlight) === */
/* Also fixes white-on-white bug in section titles caused by inherited
   -webkit-text-fill-color: transparent from .home-v4 .hv4-gold gradient rule */
.hv4-section-title .hv4-gold,
.hv4-stories .hv4-gold,
.hv4-story .hv4-gold,
.hv4-section-title span.hv4-gold {
    background: transparent !important;
    background-color: transparent !important;
    color: #B89968 !important;
    -webkit-text-fill-color: #B89968 !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    padding: 0 !important;
    font-weight: 900 !important;
}

/* === FIX: Bottom-nav always visible (NOT scrolling away) === */
.bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    transform: none !important;  /* prevent any transform from hiding */
    transition: none !important; /* prevent slide animation */
}

/* === FIX: Hero stats grid layout on mobile === */
@media (max-width: 480px) {
    .hv4-hero-stats {
        flex-direction: row !important;
        gap: 8px !important;
        padding: 12px !important;
    }
    .hv4-hstat {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .hv4-hstat-num {
        font-size: 22px !important;
    }
    .hv4-hstat-label {
        font-size: 11px !important;
    }
}

/* ============================================================
   END v4.9 — Final UI hardening
   ============================================================ */

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v5.0 — Polish + Clickable cards + Author byline + Mobile lang     ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

/* === FIX: Article byline — dark gold on cream/light bg === */
.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding: 14px 20px;
    background: rgba(184,153,104,0.08);
    border: 1px solid rgba(184,153,104,0.20);
    border-radius: 12px;
    font-size: 14px;
}
.article-byline-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-dark, #8E7340);
    font-weight: 600;
}
.article-byline-item i {
    color: var(--accent, #B89968);
    font-size: 13px;
}
@media (max-width: 768px) {
    .article-byline {
        gap: 10px 16px;
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* === Make ENTIRE card clickable - cards already wrapped in <a> === */
/* Cards that aren't wrapped in <a> need pointer cursor + click handler via JS */
.country-card,
.university-card,
.story-card,
.article-card,
.program-card,
.hv4-country,
.hv4-story,
.hv4-program,
.hv4-article {
    cursor: pointer;
    transition: all 0.25s ease;
}
/* Cards wrapped in <a> tag — make sure title/buttons inside don't break the click */
a.country-card,
a.university-card,
a.story-card,
a.article-card,
a.program-card,
a.hv4-country,
a.hv4-story,
a.hv4-program,
a.hv4-article {
    text-decoration: none;
    color: inherit;
    display: block;
}
a.country-card:hover,
a.university-card:hover,
a.story-card:hover,
a.article-card:hover,
a.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26,27,92,0.12);
    border-color: var(--accent);
}

/* === Mobile language switcher visibility === */
@media (max-width: 768px) {
    /* Show language switcher on mobile in the header (top-bar always visible) */
    .header-bar {
        display: block !important;
        padding: 4px 0 !important;
    }
    .header-bar-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 12px !important;
    }
    .header-bar-info {
        gap: 8px !important;
        font-size: 11px !important;
    }
    .header-bar-info > span:not(.lang-switcher-mobile),
    .header-bar-info > a:not(.lang-switcher-mobile) {
        display: none !important; /* hide non-essential top-bar items */
    }
    /* Show only essential items on mobile top bar */
    .header-bar .lang-switcher,
    .header-bar .header-lang-switcher {
        display: inline-flex !important;
    }
    .lang-switcher,
    .header-lang-switcher {
        background: rgba(255,255,255,0.10) !important;
        border-radius: 8px !important;
        padding: 4px 8px !important;
    }
    .lang-switcher a,
    .header-lang-switcher a {
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        padding: 4px 6px !important;
        text-decoration: none !important;
    }
    .lang-switcher a:hover {
        color: var(--accent-light) !important;
    }
}

/* === Programs/Universities/Stories — list of clickable cards === */
.country-card,
.university-card,
.story-card {
    position: relative;
    overflow: hidden;
}
.country-card::after,
.university-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: background 0.2s;
}
.country-card:hover::after,
.university-card:hover::after {
    background: linear-gradient(135deg, transparent, rgba(184,153,104,0.04));
}

/* ============================================================
   END v5.0
   ============================================================ */

/* === Mobile drawer footer (language + contact) === */
.mobile-nav-footer {
    display: none;  /* hidden on desktop */
}
@media (max-width: 768px) {
    html body .main-nav .mobile-nav-footer,
    html body #mainNav .mobile-nav-footer {
        display: block !important;
        margin-top: auto !important;
        padding: 20px 16px 32px !important;
        border-top: 1px solid rgba(184,153,104,0.20) !important;
        background: rgba(0,0,0,0.20) !important;
    }
    .mobile-lang-title {
        color: var(--accent-light, #D4B886) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        margin: 0 0 12px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .mobile-lang-title i {
        font-size: 14px !important;
    }
    .mobile-lang-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 16px !important;
    }
    .mobile-lang-item {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 10px 12px !important;
        background: rgba(255,255,255,0.06) !important;
        border: 1px solid rgba(184,153,104,0.20) !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        color: #FFFFFF !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        transition: all 0.2s !important;
    }
    .mobile-lang-item:hover,
    .mobile-lang-item:active {
        background: rgba(184,153,104,0.20) !important;
        border-color: var(--accent, #B89968) !important;
    }
    .mobile-lang-item.active {
        background: linear-gradient(135deg, rgba(184,153,104,0.30), rgba(184,153,104,0.10)) !important;
        border-color: var(--accent, #B89968) !important;
        color: var(--accent-light, #D4B886) !important;
        font-weight: 800 !important;
    }
    .mobile-lang-flag {
        flex-shrink: 0 !important;
        display: inline-flex !important;
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
    }
    .mobile-lang-flag svg,
    .mobile-lang-flag img {
        display: block !important;
    }
    .mobile-lang-name {
        flex: 1 !important;
        color: inherit !important;
        font-weight: inherit !important;
        background: transparent !important;
    }
    
    /* Contact buttons in drawer */
    .mobile-nav-contact {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .mobile-nav-cbtn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 12px 16px !important;
        background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
        color: #FFFFFF !important;
        border-radius: 10px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border: 1px solid rgba(184,153,104,0.30) !important;
        direction: ltr !important;
    }
    .mobile-nav-cbtn.mobile-nav-wa {
        background: linear-gradient(135deg, #16a34a, #25d366) !important;
        border-color: rgba(255,255,255,0.20) !important;
    }
    .mobile-nav-cbtn:hover,
    .mobile-nav-cbtn:active {
        transform: scale(0.98) !important;
    }
}


/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v5.1 — Final hardening from real-world country page screenshots   ║
   ║ - cost-card-primary text white (CSS source-order bug)             ║
   ║ - Stories section header on mobile                                ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

/* === FIX: cost-card-primary text — force white === */
.cost-card-primary,
.cost-card-primary h3,
.cost-card-primary .cost-card-amount,
.cost-card-primary .cost-card-period,
.cost-card-primary p,
.cost-card.cost-card-primary h3,
.cost-card.cost-card-primary p {
    color: #FFFFFF !important;
}
.cost-card-primary p {
    color: rgba(255,255,255,0.92) !important;
}
.cost-card-primary .cost-card-period {
    color: rgba(255,255,255,0.85) !important;
}
.cost-card-primary .cost-card-icon {
    background: rgba(255,255,255,0.18) !important;
    color: #FFFFFF !important;
}

/* === Mobile stories section header — section-subtitle wraps cleanly === */
@media (max-width: 768px) {
    .section-header .section-subtitle {
        font-size: 14px !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        padding: 0 8px !important;
    }
    .story-grid,
    .stories-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        overflow: hidden !important;
    }
    .story-card {
        max-width: 100% !important;
        width: 100% !important;
    }
    /* Story carousel - no horizontal bleed */
    .story-card,
    .stories-grid > * {
        flex-shrink: 0 !important;
    }
}

/* === Cost cards mobile - 2 col, readable === */
@media (max-width: 768px) {
    .cost-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    .cost-card {
        padding: 18px 12px !important;
    }
    .cost-card-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }
    .cost-card h3 {
        font-size: 13px !important;
    }
    .cost-card-amount {
        font-size: 18px !important;
    }
    .cost-card-period {
        font-size: 11px !important;
    }
    .cost-card p {
        font-size: 11.5px !important;
        line-height: 1.5 !important;
    }
}
@media (max-width: 480px) {
    .cost-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   END v5.1
   ============================================================ */

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v5.2 — Story card layout fix (children stack vertically)          ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

/* === FIX: Story card on mobile — children stack vertically === */
@media (max-width: 768px) {
    html body .story-card,
    html body article.story-card {
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        border: 1px solid #f1f5f9 !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Quote section (top, navy) */
    html body .story-card .story-quote {
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px 18px !important;
        background: linear-gradient(135deg, #1A1B5C 0%, #0F1040 100%) !important;
        color: #FFFFFF !important;
        font-size: 14px !important;
        line-height: 1.7 !important;
        font-style: italic !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    
    /* Body section (bottom, white) */
    html body .story-card .story-body {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 18px !important;
        background: #FFFFFF !important;
        flex-shrink: 0 !important;
    }
    html body .story-card .story-name {
        font-size: 15px !important;
        font-weight: 800 !important;
        color: var(--text) !important;
        margin-bottom: 4px !important;
    }
    html body .story-card .story-info {
        font-size: 12px !important;
        color: var(--text-secondary) !important;
        margin-bottom: 12px !important;
    }
    html body .story-card .btn {
        font-size: 12px !important;
        padding: 8px 14px !important;
        min-height: auto !important;
    }
    
    /* Force grid column on parent */
    html body .story-grid,
    html body .stories-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 0 !important;
    }
    html body .story-grid > article,
    html body .story-grid > * {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================================
   END v5.2
   ============================================================ */

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║ v5.4 — Form success card after submission                         ║
   ╚═══════════════════════════════════════════════════════════════════╝ */

.form-success-card {
    text-align: center;
    padding: 50px 32px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 2px solid #16a34a;
    border-radius: 20px;
    margin: 0;
    animation: successFadeIn 0.5s ease;
}
@keyframes successFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.form-success-icon {
    font-size: 72px;
    color: #16a34a;
    margin-bottom: 18px;
    animation: successPop 0.6s ease;
}
@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}
.form-success-title {
    font-size: 22px;
    color: #166534;
    margin-bottom: 14px;
    font-weight: 800;
    line-height: 1.4;
}
.form-success-ref {
    font-size: 16px;
    color: #14532d;
    margin-bottom: 12px;
    background: rgba(22, 163, 74, 0.1);
    padding: 10px 18px;
    border-radius: 10px;
    display: inline-block;
}
.form-success-msg {
    color: #166534;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.form-success-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
}
@media (max-width: 768px) {
    .form-success-card {
        padding: 36px 20px;
    }
    .form-success-icon {
        font-size: 56px;
    }
    .form-success-title {
        font-size: 18px;
    }
}

/* === iOS Safari zoom prevention (2026-05-05) =====================
   Any input/select/textarea below 16px triggers auto-zoom on focus
   in iOS Safari. This applies a global 16px floor for mobile-sized
   viewports while preserving the 15px feel on desktop where zoom
   never triggers. */
@media (max-width: 1024px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="url"],
    input[type="search"],
    input[type="date"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    select,
    textarea,
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px !important;
    }
}
