/* landing.css - Premium, Modern & Highly Refined Styles for Rajo Kaaba Portal */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
    --primary-color: #0b9444;      /* Pure Forest Green from Brand logo */
    --primary-gradient: linear-gradient(135deg, #0b9444 0%, #15c35e 100%);
    --primary-dark: #076d31;
    --primary-light: rgba(11, 148, 68, 0.08);
    
    --accent-color: #f2c219;       /* Brand Gold Yellow */
    --accent-gradient: linear-gradient(135deg, #f2c219 0%, #fcd84b 100%);
    --accent-dark: #cc9f0c;
    --accent-light: rgba(242, 194, 25, 0.08);
    
    --danger-color: #f43f5e;
    --danger-gradient: linear-gradient(135deg, #f43f5e 0%, #ff7b91 100%);
    --danger-light: rgba(244, 63, 94, 0.06);

    --dark-bg: #090a10;            /* Deep Midnight Obsidian space color matching dashboard */
    --dark-card: #131522;          /* Rich dark navy card background */
    --light-bg: #f8fafc;           /* Very light slate off-white */
    
    --text-primary: #0f172a;       /* Slate Dark 900 */
    --text-secondary: #475569;     /* Slate Medium 600 */
    --text-muted: #94a3b8;         /* Slate Light 400 */
    
    --white: #ffffff;
    --border-color: rgba(15, 23, 42, 0.06);
    --border-glow: rgba(11, 148, 68, 0.15);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.02), 0 1px 3px -1px rgba(0, 0, 0, 0.01);
    --shadow-md: 0 12px 30px -10px rgba(9, 10, 16, 0.04), 0 4px 12px -5px rgba(9, 10, 16, 0.02);
    --shadow-lg: 0 30px 60px -15px rgba(9, 10, 16, 0.1), 0 10px 20px -10px rgba(9, 10, 16, 0.05);
    --shadow-glow-green: 0 0 25px rgba(11, 148, 68, 0.25);
    --shadow-glow-yellow: 0 0 25px rgba(242, 194, 25, 0.25);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --font-title: "Outfit", "Plus Jakarta Sans", sans-serif;
    --font-body: "Inter", sans-serif;
}

/* Reset & Scrollbar styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--white);
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: #0c111d;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Glowing Background Blobs */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.blob-green {
    background: var(--primary-color);
    width: 400px;
    height: 400px;
}

.blob-yellow {
    background: var(--accent-color);
    width: 350px;
    height: 350px;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.bg-light { background-color: var(--light-bg); }
.bg-white { background-color: var(--white); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 148, 68, 0.15);
}

.btn-primary:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(11, 148, 68, 0.3);
}

/* ── Expired / Closed scholarship button ─────────────────────────── */
.btn-disabled,
.btn-disabled:hover {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
    border: 1.5px solid #d1d5db;
}

.btn-elig-disabled,
.btn-elig-disabled:hover {
    background-color: #e5e7eb !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1.5px solid #d1d5db;
    opacity: 0.85;
}
/* ────────────────────────────────────────────────────────────────── */

.btn-yellow {
    background: var(--accent-gradient);
    color: #090a10;
    box-shadow: 0 4px 15px rgba(242, 194, 25, 0.15);
}

.btn-yellow:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(242, 194, 25, 0.3);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--dark-bg);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
}

.btn-secondary:disabled {
    background-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Header & Glassmorphism Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

header.scrolled .nav-link {
    color: var(--text-secondary);
}

header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

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

header.scrolled .lang-btn {
    color: var(--text-primary);
    border-color: rgba(15, 23, 42, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled .navbar {
    padding: 14px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.brand-img {
    height: 44px;
    width: auto;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

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

.nav-link {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    padding: 6px 0;
}

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

header.scrolled .nav-link::after {
    background-color: var(--primary-color);
}

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

header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

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

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

/* Language Dropdown Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 10px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-title);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 8px 0;
    list-style: none;
    min-width: 130px;
    display: none;
    z-index: 1100;
    transform-origin: top right;
    animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--font-title);
}

.lang-dropdown li a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Mobile Toggler */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
}

header.scrolled .mobile-nav-toggle {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 80px;
    overflow: hidden;
    color: var(--white);
}

/* Glowing accents inside hero background */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(11, 148, 68, 0.18) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242, 194, 25, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffe97e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(11, 148, 68, 0.35) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

.hero-circle-ring {
    position: absolute;
    width: 360px;
    height: 360px;
    border: 2px dashed rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: rotateRing 20s linear infinite;
}

.hero-logo-box {
    position: relative;
    z-index: 2;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(11, 148, 68, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatLogo 6s ease-in-out infinite;
}

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

/* Floating Badges */
.floating-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(19, 21, 34, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    animation: floatBadge 6s ease-in-out infinite;
    pointer-events: auto;
    transition: var(--transition);
}

.floating-badge:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-color);
    background: rgba(19, 21, 34, 0.85);
}

.badge-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.badge-text {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Position and offset timings for animations */
.badge-top-left {
    top: 20px;
    left: -20px;
    animation-delay: 0s;
}

.badge-bottom-right {
    bottom: 20px;
    right: -20px;
    animation-delay: 2s;
}

.badge-mid-left {
    bottom: 80px;
    left: -40px;
    animation-delay: 4s;
}

/* Animations */
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

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

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

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sections General */
section {
    padding: 120px 0;
    position: relative;
}

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

.section-header h2 {
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* About Us Refined Split Component Card */
.about-split-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.about-left {
    padding: 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 22px;
    font-family: var(--font-title);
    letter-spacing: 0.02em;
    border: 1px solid rgba(217, 119, 6, 0.1);
}

.about-main-title {
    font-size: 2.8rem;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #0c111d;
}

.about-main-title span {
    border-bottom: 4px solid var(--accent-color);
    padding-bottom: 2px;
}

.about-tags {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-secondary);
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1;
}

.about-paragraph {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    width: 100%;
}

.feature-item-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-title);
}

.about-right {
    background-color: #0f111a; /* Sleek dark space blue */
    padding: 55px 45px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    position: relative;
}

.about-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(242, 194, 25, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.stat-main-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 26px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.stat-main-val {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffeb84 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-title);
    letter-spacing: -0.02em;
}

.stat-main-val span {
    color: var(--accent-color);
}

.stat-main-label {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    font-size: 1.05rem;
    font-family: var(--font-title);
}

.stat-main-footer {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 600;
}

.stat-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.stat-sub-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
}

.stat-sub-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.stat-sub-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 6px;
    font-family: var(--font-title);
}

.stat-sub-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    letter-spacing: 0.05em;
}

@media (max-width: 991px) {
    .about-split-card {
        grid-template-columns: 1fr;
    }
    
    .about-left {
        padding: 40px 30px;
    }
    
    .about-right {
        padding: 40px 30px;
    }
    
    .about-main-title {
        font-size: 2.2rem;
    }
}

/* Reworked Objectives Section Cards */
.framework-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 22px;
    font-family: var(--font-title);
    letter-spacing: 0.03em;
    border: 1px solid rgba(6, 95, 70, 0.1);
}

.section-header h2 span {
    border-bottom: 4px solid var(--accent-color);
    padding-bottom: 2px;
}

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

.objective-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.objective-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 148, 68, 0.12);
}

.obj-card-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-title);
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.obj-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.objective-card:hover .obj-card-icon {
    transform: scale(1.08) rotate(5deg);
}

.obj-icon-blue { background-color: #e0f2fe; }
.obj-icon-green { background-color: #dcfce7; }
.obj-icon-gold { background-color: #fef3c7; }
.obj-icon-red { background-color: #ffe4e6; }

.objective-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--primary-dark);
    font-family: var(--font-title);
    line-height: 1.3;
}

.objective-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .objectives-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .objectives-grid {
        grid-template-columns: 1fr;
    }
}
}

/* Eligibility "Find Your Path" Styles */
.eligibility-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 24px 35px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 45px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 20px;
}

.elig-header-left {
    display: flex;
    flex-direction: column;
}

.elig-main-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0c111d;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    font-family: var(--font-title);
}

.elig-main-title span {
    border-bottom: 4px solid var(--accent-color);
    padding-bottom: 2px;
}

.elig-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 500;
}

.elig-header-right {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.compare-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: var(--font-title);
}

/* Switch Toggle Styling */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: var(--transition);
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 50%;
}

.switch-toggle input:checked + .switch-slider {
    background-color: var(--primary-color);
}

.switch-toggle input:checked + .switch-slider:before {
    transform: translateX(24px);
}

.btn-clear-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    border: 1.5px solid #0f172a;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    color: #0f172a;
    transition: var(--transition);
    font-family: var(--font-title);
}

.btn-clear-filters:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

/* Eligibility Grid and Cards */
.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: var(--transition);
}

.eligibility-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.eligibility-card.border-green { border-top: 5px solid var(--primary-color); }
.eligibility-card.border-yellow { border-top: 5px solid var(--accent-color); }
.eligibility-card.border-navy { border-top: 5px solid #0f172a; }

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

.elig-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.elig-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.elig-loc-badge {
    background-color: #f1f5f9;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-title);
}

.elig-loc-badge.text-dark {
    color: #713f12;
    background-color: #fef9c3;
}

.elig-loc-badge.text-navy {
    color: #1e3a8a;
    background-color: #e0e7ff;
}

.elig-card-title {
    font-size: 1.35rem;
    font-weight: 850;
    color: #0c111d;
    margin-bottom: 8px;
    font-family: var(--font-title);
}

.eligibility-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Checklist Items */
.eligibility-checklist {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.check-item {
    padding: 11px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    user-select: none;
}

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

.check-item i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
    color: #cbd5e1;
    transition: var(--transition);
}

/* Checked States */
.check-item.checked {
    color: var(--primary-color);
}

.check-item.checked i.check-symbol {
    color: var(--primary-color);
    transform: scale(1.2);
}

.check-item.negative.checked {
    color: var(--danger-color);
}

.check-item.negative.checked i.cross-symbol {
    color: var(--danger-color);
    transform: scale(1.2);
}

/* Card Footer elements */
.elig-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 20px;
    margin-top: auto;
}

.elig-status-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--font-title);
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.status-check {
    background-color: #f1f5f9;
    color: #64748b;
}

.status-likely {
    background-color: #dcfce7;
    color: #15803d;
}

.status-literacy {
    background-color: #fef9c3;
    color: #854d0e;
}

.status-selective {
    background-color: #fef3c7;
    color: #b45309;
}

.status-ineligible {
    background-color: #ffe4e6;
    color: #b91c1c;
}

.btn-elig-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0b1a10;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    font-family: var(--font-title);
    border: none;
    cursor: pointer;
}

.btn-elig-apply:hover {
    background-color: var(--primary-color);
    transform: translateX(3px);
}

/* Bottom CTA Banner styling */
.eligibility-cta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
    border: 1.5px solid rgba(15, 23, 42, 0.05);
    padding: 16px 35px;
    border-radius: 50px;
    margin-top: 50px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 5;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-bar-text {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0c111d;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
}

@media (max-width: 991px) {
    .eligibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .eligibility-grid {
        grid-template-columns: 1fr;
    }
    .eligibility-header-bar {
        padding: 20px;
    }
    .eligibility-cta-bar {
        padding: 20px;
        border-radius: 20px;
        flex-direction: column;
        text-align: center;
    }
    .btn-elig-apply {
        padding: 8px 16px;
    }
}

/* Required Documents Checklists */
.documents-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 50px;
    border: 1px solid var(--border-color);
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
}

.docs-list {
    list-style: none;
    margin-bottom: 35px;
}

.docs-list > li {
    position: relative;
    padding: 14px 0 14px 34px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    color: var(--text-primary);
    font-weight: 500;
}

.docs-list > li:last-child {
    border-bottom: none;
}

.docs-list > li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 4px;
    top: 18px;
    font-size: 0.95rem;
}

.docs-sub-list {
    list-style: none;
    margin-top: 12px;
    padding-left: 20px;
}

.docs-sub-list li {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.docs-sub-list li::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--text-muted);
    position: absolute;
    left: 4px;
    top: 10px;
}

.warning-box {
    background: var(--danger-light);
    border-left: 4px solid var(--danger-color);
    padding: 24px;
    border-radius: 0 12px 12px 0;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.warning-box i {
    color: var(--danger-color);
    font-size: 1.4rem;
    margin-top: 2px;
}

.warning-text {
    font-size: 0.95rem;
    color: #6f1d24;
    font-weight: 600;
    line-height: 1.6;
}

/* How to Apply Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-num-box {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-title);
    box-shadow: 0 8px 20px rgba(11, 148, 68, 0.2);
    position: relative;
    z-index: 3;
    transition: var(--transition);
}

.step-card:hover .step-num-box {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(11, 148, 68, 0.35);
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    color: #1e293b;
}

/* Sleek dashed line connecting steps */
.steps-grid::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 12%;
    width: 76%;
    height: 2px;
    background-image: linear-gradient(to right, rgba(11, 148, 68, 0.25) 50%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 15px 1px;
    background-repeat: repeat-x;
    z-index: 1;
}

/* Scholarships Section */
.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1160px;
    margin: 0 auto;
}

.scholarship-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.scholarship-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 148, 68, 0.1);
}

.scholarship-header {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 28px 35px;
    position: relative;
}

.scholarship-header h4 {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 800;
}

.scholarship-body {
    padding: 35px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.scholarship-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    flex-grow: 1;
}

.scholarship-details-table tr {
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.scholarship-details-table tr:last-child {
    border-bottom: none;
}

.scholarship-details-table th, 
.scholarship-details-table td {
    padding: 14px 0;
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.5;
}

.scholarship-details-table th {
    text-align: left;
    color: var(--text-primary);
    font-weight: 700;
    width: 32%;
}

.scholarship-details-table td {
    color: var(--text-secondary);
    font-weight: 500;
}

[dir="rtl"] .scholarship-details-table th {
    text-align: right;
}

.scholarship-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.date-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 8px;
}

.date-badge strong {
    color: var(--text-primary);
}

.badge-expired {
    background: var(--danger-light);
    color: var(--danger-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* FAQ Accordion Section */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.accordion-item:hover {
    border-color: rgba(11, 148, 68, 0.2);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 28px;
    text-align: left;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: var(--transition);
}

[dir="rtl"] .accordion-header {
    text-align: right;
}

.accordion-header i {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.accordion-item.active {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.accordion-item.active .accordion-header {
    color: var(--primary-color);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-collapse {
    max-height: 1000px;
}

.accordion-body {
    padding: 0 28px 24px 28px;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid rgba(15, 23, 42, 0.03);
    padding-top: 18px;
}

/* Contact Support Section */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 50px;
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group-full {
    grid-column: span 2;
}

label {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    background-color: var(--light-bg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(11, 148, 68, 0.12);
}

textarea.form-control {
    resize: vertical;
}

.form-feedback {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    display: none;
    font-family: var(--font-title);
}

.form-feedback.success {
    display: block;
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-feedback.error {
    display: block;
    background-color: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

/* Modals & Wizards Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 10, 16, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--white);
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.modal-overlay.show .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 24px 35px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.45rem;
    font-weight: 900;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: 35px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-footer {
    padding: 24px 35px;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

/* File Upload Zones */
.file-drop-area {
    border: 2px dashed rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    background-color: var(--light-bg);
    transition: var(--transition);
}

.file-drop-area:hover, .file-drop-area.dragover {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.file-drop-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: var(--transition);
}

.file-drop-area:hover .file-drop-icon {
    transform: translateY(-4px);
}

.file-input {
    display: none;
}

.file-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Footer Section */
footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.65);
    padding: 90px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
    font-weight: 800;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--primary-gradient);
}

.footer-logo img {
    height: 52px;
    margin-bottom: 24px;
    border-radius: 50%;
}

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 0.95rem;
}

.footer-info-item {
    display: flex;
    gap: 14px;
}

.footer-info-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 4px;
}

.footer-info-item a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
}

.footer-info-item a:hover {
    color: var(--accent-color);
}

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

/* Mobile responsive menu slide */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 50px;
        gap: 30px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-primary);
        font-size: 1.1rem;
    }
    
    .mobile-nav-toggle {
        display: block;
        order: 2;
    }
    
    .lang-selector {
        order: 1;
    }
    
    .navbar-brand {
        margin-right: auto;
    }
    
    .eligibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .eligibility-card:nth-child(3) {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    section { padding: 80px 0; }
    .section-header { margin-bottom: 50px; }
    
    .hero {
        padding-top: 110px;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-visual-wrapper {
        max-width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    .hero-circle-ring {
        width: 260px;
        height: 260px;
    }
    .hero-logo-box {
        width: 170px;
        height: 170px;
    }
    .floating-badge {
        padding: 8px 12px;
        border-radius: 12px;
    }
    .badge-num {
        font-size: 0.95rem;
    }
    .badge-text {
        font-size: 0.6rem;
    }
    .badge-top-left {
        left: -10px;
        top: 10px;
    }
    .badge-bottom-right {
        right: -10px;
        bottom: 10px;
    }
    .badge-mid-left {
        left: -20px;
        bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid::after {
        display: none;
    }
    
    .scholarship-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container, .about-card, .documents-card {
        padding: 35px 24px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .eligibility-grid {
        grid-template-columns: 1fr;
    }
    
    .eligibility-card:nth-child(3) {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.25rem;
    }
}
