/* ===========================
   RASEEN COLLEGE - MAIN CSS
   Colors: #18224e (Navy) | #987946 (Gold)
=========================== */

:root {
    --navy: #18224e;
    --navy-dark: #0f1634;
    --navy-light: #2a3a7a;
    --gold: #987946;
    --gold-light: #b89555;
    --gold-pale: #f5ede0;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --text-dark: #1a1a2e;
    --text-mid: #4a4a6a;
    --text-light: #8888aa;
    --border: rgba(24, 34, 78, 0.1);
    --shadow: 0 8px 40px rgba(24, 34, 78, 0.12);
    --shadow-gold: 0 8px 30px rgba(152, 121, 70, 0.3);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Tajawal', 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
    direction: rtl;
}

body[data-lang="en"] {
    direction: ltr;
    font-family: 'Inter', 'Tajawal', sans-serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ======= SCROLLBAR ======= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }

/* ======= PRELOADER ======= */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--navy-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    animation: preloaderPulse 1.5s ease-in-out infinite;
    margin-bottom: 30px;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #c4a76a);
    border-radius: 3px;
    animation: preloaderLoad 2s ease forwards;
    width: 0;
}

@keyframes preloaderLoad {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ======= PARTICLES ======= */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

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

.navbar.scrolled {
    background: rgba(15, 22, 52, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.logo-ar {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.logo-en {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.12em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 8px 14px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.nav-link.active {
    color: var(--gold);
    background: rgba(152, 121, 70, 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(152, 121, 70, 0.2);
    border: 1px solid rgba(152, 121, 70, 0.4);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.lang-toggle:hover {
    background: var(--gold);
    color: var(--white);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
    display: block;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ======= HERO ======= */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1e3070 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

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

.hero-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(152,121,70,0.12) 0%, transparent 70%);
    top: -200px; right: -200px;
    animation: shapeFloat 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    bottom: -100px; left: -100px;
    animation: shapeFloat 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(152,121,70,0.15) 0%, transparent 70%);
    top: 40%; left: 20%;
    animation: shapeFloat 6s ease-in-out infinite;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(152, 121, 70, 0.2);
    border: 1px solid rgba(152, 121, 70, 0.4);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-line.gold {
    color: var(--gold);
    -webkit-text-stroke: 1px rgba(152,121,70,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 680px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 24px 40px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ======= BUTTONS ======= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(152, 121, 70, 0.45);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

.btn.full-width { width: 100%; justify-content: center; }

.btn-icon-en { display: none; }

/* ======= SECTIONS ======= */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--gold-pale);
    border: 1px solid rgba(152,121,70,0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-tag.light {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
}

.section-desc.light { color: rgba(255,255,255,0.75); }

/* ======= ABOUT ======= */
.about-section { background: var(--off-white); }

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

.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.about-logo-display {
    position: relative;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(24, 34, 78, 0.3);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.logo-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(152,121,70,0.2) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.about-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.about-badge:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(152,121,70,0.15);
    transform: translateX(-4px);
}

body[data-lang="en"] .about-badge:hover {
    transform: translateX(4px);
}

.about-badge i {
    color: var(--gold);
    font-size: 1.1rem;
}

.about-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-mid);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.feature-item:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(152,121,70,0.12);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i { color: var(--gold); font-size: 1.2rem; }

.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* ======= VISION MISSION VALUES ======= */
.vmv-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e3070 100%);
    position: relative;
    overflow: hidden;
}

.vmv-bg-decoration {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.vmv-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.vmv-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
    text-align: center;
}

.vmv-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(152, 121, 70, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.vmv-card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-gold);
}

.vmv-card-icon i { color: var(--white); font-size: 1.8rem; }

.vmv-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.vmv-card p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.8;
}

.values-list {
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

.values-list li i { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }

/* ======= OBJECTIVES ======= */
.objectives-section { background: var(--white); }

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.objective-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

body[data-lang="en"] .objective-card::before {
    right: auto;
    left: 0;
}

.objective-card:hover::before { opacity: 1; }

.objective-card:hover {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.obj-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--border);
    font-family: 'Inter', sans-serif;
    line-height: 1;
    margin-bottom: 12px;
    transition: color var(--transition);
}

.objective-card:hover .obj-number { color: rgba(152,121,70,0.15); }

.obj-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all var(--transition);
}

.objective-card:hover .obj-icon {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}

.obj-icon i { color: var(--gold); font-size: 1.3rem; transition: color var(--transition); }
.objective-card:hover .obj-icon i { color: var(--white); }

.objective-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.objective-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ======= WHY SECTION ======= */
.why-section { background: var(--off-white); }

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(24, 34, 78, 0.15);
}

.why-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--gold-pale);
}

.why-flag { font-size: 2.5rem; }

.why-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i { color: var(--white); font-size: 1.4rem; }

.why-card-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.why-list li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

/* ======= PROGRAMS ======= */
.programs-section { background: var(--white); }

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.program-card:hover::after { opacity: 1; }

.program-card > * { position: relative; z-index: 1; }

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(24, 34, 78, 0.25);
}

.program-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all var(--transition);
}

.program-card:hover .program-icon {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}

.program-icon i { color: var(--gold); font-size: 1.5rem; transition: color var(--transition); }
.program-card:hover .program-icon i { color: var(--white); }

.program-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    transition: color var(--transition);
    line-height: 1.4;
}

.program-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 20px;
    transition: color var(--transition);
}

.program-card:hover h4,
.program-card:hover p { color: rgba(255,255,255,0.9); }

.program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.program-tags span {
    padding: 4px 12px;
    background: rgba(24, 34, 78, 0.08);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    transition: all var(--transition);
}

.program-card:hover .program-tags span {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

/* ======= PARTNERSHIPS ======= */
.partnerships-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.partnerships-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, #1e3070 50%, var(--navy) 100%);
    z-index: 0;
}

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

.partnership-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.partnership-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.partnership-card:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(152, 121, 70, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.partnership-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-gold);
}

.partnership-icon i { color: var(--white); font-size: 1.5rem; }

.partnership-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.partnership-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.partner-cta {
    text-align: center;
    padding: 60px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.partner-cta h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.partner-cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ======= TRANSFORM SECTION ======= */
.transform-section { background: var(--off-white); }

.transform-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.transform-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
}

.transform-text p {
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.8;
}

.transform-kpis {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 2px solid var(--border);
}

.kpi-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kpi-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.kpi-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.vision-card {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
}

.vision-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.vision-icon i { color: var(--white); font-size: 1.5rem; }

.vision-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.vision-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
}

.pillar:hover {
    background: rgba(152,121,70,0.2);
    color: var(--white);
}

.pillar i { color: var(--gold); font-size: 1rem; }

/* ======= LOCATION ======= */
.location-section { background: var(--white); }

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

.location-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-gold);
}

.location-icon-large i { color: var(--white); font-size: 2rem; }

.location-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.location-info p {
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 28px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.loc-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-mid);
    font-weight: 500;
}

.loc-detail i { color: var(--gold); font-size: 1rem; width: 20px; }

.location-map {
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-align: center;
    z-index: 2;
    position: relative;
}

.map-overlay i { font-size: 3rem; color: var(--gold); margin-bottom: 8px; }

.map-overlay span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
}

.map-sub {
    font-size: 1rem !important;
    color: rgba(255,255,255,0.7) !important;
    font-weight: 400 !important;
}

.map-pulse {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(152,121,70,0.15) 0%, transparent 70%);
    animation: mapPulse 3s ease-in-out infinite;
}

@keyframes mapPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* ======= CONTACT ======= */
.contact-section { background: var(--off-white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i { color: var(--gold); font-size: 1.1rem; }

.contact-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 600;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-family: inherit;
    transition: all var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(24, 34, 78, 0.08);
}

/* ======= FOOTER ======= */
.footer {
    background: var(--navy-dark);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo-ar {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
}

.footer-logo-en {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
}

.footer-contact p i { color: var(--gold); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ======= SCROLL TO TOP ======= */
.scroll-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 500;
}

body[data-lang="en"] .scroll-top { left: auto; right: 32px; }

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(152, 121, 70, 0.45);
}

/* ======= TOAST ======= */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--navy-dark);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 600;
    border: 1px solid rgba(152,121,70,0.3);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast i { color: var(--gold); }

/* ======= ANIMATIONS ======= */
.animate-fadeInDown { animation: fadeInDown 0.8s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-scroll.delay-3 { transition-delay: 0.45s; }
.animate-on-scroll.delay-4 { transition-delay: 0.6s; }
.animate-on-scroll.delay-5 { transition-delay: 0.75s; }

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1100px) {
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .objectives-grid { grid-template-columns: repeat(2, 1fr); }
    .partnership-types { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        transition: right var(--transition);
        padding: 80px 24px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    body[data-lang="en"] .nav-menu {
        right: auto;
        left: -100%;
        transition: left var(--transition);
    }

    .nav-menu.open { right: 0; }
    body[data-lang="en"] .nav-menu.open { left: 0; right: auto; }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 1rem;
    }

    .nav-hamburger { display: flex; }

    .about-grid,
    .transform-content,
    .location-content,
    .contact-grid,
    .why-grid { grid-template-columns: 1fr; }

    .vmv-cards { grid-template-columns: 1fr; }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 20px;
    }

    .stat-divider { display: none; }
    .stat-item { padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
}

@media (max-width: 600px) {
    .section { padding: 70px 0; }
    .programs-grid,
    .objectives-grid,
    .partnership-types { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .transform-kpis { flex-direction: column; gap: 20px; }
    .about-logo-display { width: 200px; height: 200px; }
    .partner-cta { padding: 36px 24px; }
    .contact-form-wrap,
    .contact-card { padding: 28px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ======= FINAL RASEEN ENHANCEMENTS ======= */
@font-face{
    font-family:'Gumela';
    src:url('../assets/fonts/gumela-arabic-bold.otf') format('opentype');
    font-weight:400 900;
    font-style:normal;
    font-display:swap;
}
html, body, button, input, textarea, select,
h1,h2,h3,h4,h5,h6,p,a,span,li,div,label{
    font-family:'Gumela','Tajawal','Inter',Arial,sans-serif !important;
}
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands{
    font-family:'Font Awesome 6 Free' !important;
}
.fab, .fa-brands{font-family:'Font Awesome 6 Brands' !important;}

/* Real Raseen logo usage */
.real-logo{display:block;object-fit:contain;height:auto;max-width:100%;}
.preloader-logo{width:min(360px,78vw);height:auto;background:#fff;border-radius:28px;padding:18px 24px;box-shadow:0 28px 80px rgba(0,0,0,.28);}
.preloader-real-logo{width:100%;max-height:210px;margin:auto;}
.nav-logo{background:rgba(255,255,255,.96);border:1px solid rgba(152,121,70,.34);border-radius:18px;padding:7px 14px;box-shadow:0 12px 32px rgba(0,0,0,.16);}
.nav-real-logo{width:210px;max-height:66px;object-fit:contain;}
.hero-logo-lockup{width:min(430px,82vw);background:rgba(255,255,255,.94);border:1px solid rgba(152,121,70,.28);border-radius:30px;padding:18px 24px;margin:0 auto 26px;box-shadow:0 25px 70px rgba(24,34,78,.18);}
.hero-logo-lockup img{width:100%;max-height:210px;object-fit:contain;}
.about-logo-display{padding:34px;background:linear-gradient(145deg,#ffffff,#f6f3ec);}
.about-real-logo{position:relative;z-index:2;width:min(440px,92%);margin:auto;filter:drop-shadow(0 22px 30px rgba(24,34,78,.16));}
.footer-logo{background:#fff;border-radius:22px;padding:12px 18px;width:max-content;max-width:100%;}
.footer-real-logo{width:240px;max-height:110px;object-fit:contain;}

/* Improve credibility and visual hierarchy */
.hero-title{letter-spacing:-.02em;}
.hero-subtitle{max-width:960px;margin-inline:auto;}
.hero-stats .stat-item{min-width:140px;}
.stat-suffix:empty{display:none;}
.programs-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.program-card{min-height:315px;}
.program-card h4{line-height:1.35;}
.program-tags span{letter-spacing:.02em;}
.partnership-types{grid-template-columns:repeat(3,minmax(0,1fr));}
.partnership-card{min-height:290px;}
.partner-cta{border:1px solid rgba(152,121,70,.34);background:linear-gradient(135deg,rgba(255,255,255,.1),rgba(152,121,70,.12));}

/* Make the website feel more premium */
.section-title{letter-spacing:-.015em;}
.section-tag{border:1px solid rgba(152,121,70,.25);padding:8px 14px;border-radius:999px;background:rgba(152,121,70,.08);display:inline-block;}
.card, .program-card, .partnership-card, .objective-card, .why-card{box-shadow:0 18px 55px rgba(24,34,78,.10);}
.btn{font-weight:900;}

@media(max-width:1080px){
  .nav-real-logo{width:170px;max-height:58px;}
  .programs-grid,.partnership-types{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  .nav-logo{padding:6px 10px;border-radius:14px;}
  .nav-real-logo{width:135px;}
  .programs-grid,.partnership-types{grid-template-columns:1fr;}
  .hero-logo-lockup{padding:12px 16px;border-radius:22px;}
  .footer-real-logo{width:190px;}
}

/* === V3 FIX: true transparent white logo, no white logo cards/backgrounds === */
.preloader-logo,
.nav-logo,
.hero-logo-lockup,
.about-logo-display,
.footer-logo{
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.preloader-logo{width:min(420px,82vw) !important;padding:0 !important;border-radius:0 !important;}
.preloader-real-logo{width:100% !important;max-height:260px !important;filter:drop-shadow(0 18px 32px rgba(0,0,0,.28));}
.nav-logo{padding:0 !important;border-radius:0 !important;}
.nav-real-logo{width:230px !important;max-height:82px !important;filter:drop-shadow(0 8px 18px rgba(0,0,0,.28));}
.hero-logo-lockup{width:min(520px,86vw) !important;margin:0 auto 28px !important;padding:0 !important;border-radius:0 !important;}
.hero-logo-lockup img{width:100% !important;max-height:310px !important;filter:drop-shadow(0 24px 44px rgba(0,0,0,.25));}
.about-logo-display{padding:20px !important;min-height:360px !important;display:flex !important;align-items:center !important;justify-content:center !important;}
.about-real-logo{width:min(500px,96%) !important;filter:drop-shadow(0 22px 38px rgba(24,34,78,.20));}
.footer-logo{padding:0 !important;border-radius:0 !important;}
.footer-real-logo{width:260px !important;max-height:135px !important;filter:drop-shadow(0 10px 22px rgba(0,0,0,.22));}
@media(max-width:720px){
  .nav-real-logo{width:160px !important;max-height:68px !important;}
  .hero-logo-lockup{width:min(390px,90vw) !important;}
  .hero-logo-lockup img{max-height:250px !important;}
  .footer-real-logo{width:210px !important;}
}
