/* ============================================
   SCHOLARSHIPS CONNECT – Global Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #27ae60;
    --primary-dark: #1e8449;
    --primary-light: #2ecc71;
    --primary-glow: rgba(39, 174, 96, 0.15);
    --accent: #e8f8f0;
    --bg: #f9fafb;
    --card-bg: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e8e8e8;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
    --radius-pill: 50px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1400px;
    --header-height: 70px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body,
input,
textarea,
select,
button {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    font-size: 0.9rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 12px;
}

*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul,
ol {
    list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ---------- Utility ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 48px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(39, 174, 96, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-lg {
    padding: 12px 28px;
    font-size: 0.95rem;
    border-radius: var(--radius);
}

.btn-pill {
    border-radius: var(--radius-pill);
}

/* ---------- Header / Navbar ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding-top: 4px;
    padding-bottom: 4px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 6px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-links .btn-register {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    margin-left: 8px;
    font-weight: 600;
}

.nav-links .btn-register:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.35);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--text);
    border-radius: 4px;
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Banner ---------- */
/* ============================================
   HERO BANNER SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 420px;
    max-height: 680px;
    overflow: hidden;
    margin-top: var(--header-height);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Image Background */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease;
}

.slide.active .slide-bg {
    transform: scale(1.08);
}

/* Video Background */
.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Dark Overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
    color: #fff;
    padding: 40px 0;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-content h1 .highlight {
    color: #2ecc71;
    text-shadow: 0 2px 20px rgba(46, 204, 113, 0.3);
}

.slide-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    margin-bottom: 28px;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.slide-content .hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 24px;
}

.slider-next {
    right: 24px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #2ecc71;
    border-color: #2ecc71;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.5);
}

.slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 75vh;
        min-height: 450px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }

    .slider-dots {
        bottom: 24px;
    }

    .slide-content h1 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .slide-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .slider-prev {
        left: 8px;
    }

    .slider-next {
        right: 8px;
    }
}


/* ---------- Stats Bar ---------- */
.stats-bar {
    background: var(--card-bg);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0;
}

/* ---------- Student Cards ---------- */
.students-section {
    padding: 48px 0;
    background: var(--bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.student-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.student-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-glow);
}

.student-card .card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.student-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.student-card:hover .card-image img {
    transform: scale(1.05);
}

.student-card .card-image .card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.student-card .card-body {
    padding: 24px;
}

.student-card .card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.student-card .card-body .card-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.student-card .card-body .card-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.card-amount .amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.card-amount .amount small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.card-amount .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ---------- Page Header Banner ---------- */
.page-header {
    background: linear-gradient(135deg, #1a7a42, #27ae60, #2ecc71);
    padding: 40px 0 28px;
    margin-top: var(--header-height);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 8px;
    position: relative;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

.page-header .breadcrumb {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    position: relative;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.page-header .breadcrumb a:hover {
    color: #fff;
}

/* ---------- About Page ---------- */
.about-section {
    padding: 64px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--accent) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.about-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #2ecc71);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(39, 174, 96, 0.15);
    border-color: rgba(39, 174, 96, 0.12);
}

.about-card .icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(39, 174, 96, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.3rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.about-card:hover .icon-wrap {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15) 0%, rgba(46, 204, 113, 0.2) 100%);
}

.about-emoji {
    font-size: 2.2rem;
    line-height: 1;
}

.about-card h3 {
    margin-bottom: 14px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.about-card p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Advisor Note */
.about-advisor-note {
    margin-top: 48px;
    margin-bottom: 8px;
    padding: 32px 36px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.04) 0%, rgba(46, 204, 113, 0.08) 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
}

.about-advisor-note::before {
    content: '💡';
    position: absolute;
    top: -14px;
    left: 28px;
    font-size: 1.5rem;
    background: var(--bg);
    padding: 0 8px;
    border-radius: 50%;
}

.about-advisor-note p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 10px;
}

.about-advisor-note .fee-note {
    font-weight: 700;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 0;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.about-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 0;
}

.about-overview-text .badge {
    margin-bottom: 12px;
}

.about-overview-text h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}

.about-overview-text p {
    line-height: 1.9;
    font-size: 0.95rem;
    color: var(--text-light);
}

.about-overview-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
}

.about-overview-image::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), #2ecc71);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.about-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-overview-image:hover img {
    transform: scale(1.05);
}

/* About Stats Section */
.about-stats-section {
    padding: 72px 0;
    background: linear-gradient(135deg, #1a7a42 0%, #27ae60 50%, #2ecc71 100%);
    position: relative;
    overflow: hidden;
}

.about-stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.about-stats-title {
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.about-stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.about-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: #fff;
}

.about-stat-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.about-stat-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .about-overview {
        grid-template-columns: 1fr;
    }
}

/* ---------- Testimonials ---------- */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-glow);
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 12px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.testimonial-card .author-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.testimonial-card .author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 28px;
}

.video-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-card .video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-card .video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card .video-body {
    padding: 20px 24px;
}

.video-card .video-body h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.video-card .video-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-info-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.contact-info-card .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}

.contact-form-card h3 {
    margin-bottom: 24px;
}

.map-container {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 350px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group label .required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
    transition: all var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-error {
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 4px;
    display: none;
}

.form-group.error .form-control {
    border-color: #e74c3c;
}

.form-group.error .form-error {
    display: block;
}

/* ---------- Register Page ---------- */
.register-section {
    padding: 80px 0;
}

.register-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.register-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.register-card h2 {
    text-align: center;
    margin-bottom: 8px;
}

.register-card>p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 36px;
}

/* ---------- Student Detail Page ---------- */
.detail-section {
    padding: 80px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 48px;
    align-items: start;
}

.detail-image-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.detail-image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.detail-image-card .detail-amount {
    padding: 24px;
    text-align: center;
    background: var(--accent);
}

.detail-image-card .detail-amount h3 {
    color: var(--primary);
    font-size: 1.5rem;
}

.detail-image-card .detail-amount p {
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.detail-content h2 {
    margin-bottom: 8px;
}

.detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail-block {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.detail-block h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.detail-block p {
    line-height: 1.8;
}

.detail-block ul {
    list-style: none;
    padding: 0;
}

.detail-block ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.detail-block ul li:last-child {
    border-bottom: none;
}

.detail-block ul li strong {
    color: var(--text);
}

/* ---------- Footer ---------- */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 12px;
    display: block;
    object-fit: contain;
}

.footer-brand .tagline {
    color: var(--primary-light);
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #999;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact p .fi {
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #666;
}

.footer-bottom a {
    color: var(--primary-light);
}

/* ---------- Animations ---------- */
/* Only hide fade-in elements when JS is confirmed ready (body.js-ready).
   This guarantees cards are always visible even if JS is blocked. */
body.js-ready .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js-ready .fade-in.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-overview {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-image-card {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: 70vh;
        text-align: center;
    }

    .hero-content {
        padding: 30px 0;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-shapes {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .register-card {
        padding: 28px 20px;
    }

    /* Mobile Nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        align-items: stretch;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-links .btn-register {
        text-align: center;
        margin-left: 0;
        margin-top: 8px;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .page-header {
        padding: 80px 0 40px;
    }

    .detail-image-card img {
        height: 280px;
    }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 80px 0;
    background: var(--card-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.step-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    flex: 1;
    max-width: 300px;
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.step-connector {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        gap: 24px;
    }

    .step-card {
        max-width: 100%;
    }

    .step-connector {
        transform: rotate(90deg);
    }
}

/* ============================================
   SUCCESS COUNTER
   ============================================ */
.success-counter {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.counter-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}

.counter-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .counter-item h3 {
        font-size: 2rem;
    }
}

/* ============================================
   LATEST SCHOLARSHIPS
   ============================================ */
.latest-scholarships,
.scholarships-section {
    padding: 80px 0;
}

.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.home-scholarship-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.scholarship-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.scholarship-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.scholarship-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
    flex-wrap: wrap;
}

.scholarship-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-merit {
    background: #ebf5fb;
    color: #2980b9;
}

.cat-financial-need {
    background: #fef5e7;
    color: #e67e22;
}

.cat-girls {
    background: #fdf2f8;
    color: #c2185b;
}

.cat-minority {
    background: #f4ecf7;
    color: #8e44ad;
}

.cat-sports {
    background: #eafaf1;
    color: #27ae60;
}

.cat-talent {
    background: #fdebd0;
    color: #d35400;
}

.cat-government {
    background: #e8f0fe;
    color: #1a73e8;
}

.cat-corporate-csr {
    background: #e8f8f0;
    color: #1e8449;
}

.cat-other {
    background: #f0f0f0;
    color: #555;
}

.deadline-urgent {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e74c3c;
    white-space: nowrap;
}

.scholarship-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.scholarship-provider {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.scholarship-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.5;
    flex-grow: 1;
}

.scholarship-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.scholarship-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* Filter Bar */
.filter-bar {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
}

.filter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-search {
    flex: 1;
    min-width: 250px;
}

.filter-selects {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.results-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ============================================
   SCHOLARSHIP INFO CARD (Details page)
   ============================================ */
.scholarship-info-card {
    padding: 32px;
}

.info-header {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-open {
    background: #eafaf1;
    color: #27ae60;
}

.status-closing {
    background: #fef5e7;
    color: #e67e22;
}

.status-closed {
    background: #fef2f2;
    color: #e74c3c;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.info-value {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.info-value.highlight {
    color: var(--primary);
    font-size: 1.05rem;
}

.info-value small {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Document Checklist */
.doc-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.doc-check {
    font-size: 1.1rem;
    color: var(--primary);
}

/* ============================================
   TRACK APPLICATION
   ============================================ */
.track-section {
    padding: 60px 0 80px;
}

.track-search-box {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.track-form {
    margin-bottom: 12px;
}

.track-input-group {
    display: flex;
    gap: 8px;
}

.track-input {
    flex: 1;
    font-size: 1.05rem !important;
    padding: 14px 20px !important;
}

.track-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.track-error {
    text-align: center;
    padding: 48px 24px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.track-result {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    flex-wrap: wrap;
    gap: 16px;
}

.track-header h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.track-header p {
    font-size: 0.85rem;
    opacity: 0.85;
}

.track-applicant {
    text-align: right;
}

.track-applicant strong {
    display: block;
    font-size: 1.05rem;
}

.track-applicant span {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Status Pipeline */
.status-pipeline {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pipeline-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    position: relative;
    padding-left: 20px;
}

.pipeline-step::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 48px;
    bottom: -16px;
    width: 2px;
    background: var(--border);
}

.pipeline-step:last-child::before {
    display: none;
}

.pipeline-step .step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--bg);
    border: 2px solid var(--border);
    flex-shrink: 0;
    z-index: 1;
    margin-bottom: 0;
}

.pipeline-step .step-info {
    padding-top: 8px;
}

.pipeline-step .step-info strong {
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2px;
}

.pipeline-step .step-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Pipeline States */
.pipeline-step.completed .step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pipeline-step.completed::before {
    background: var(--primary);
}

.pipeline-step.active .step-icon {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    animation: pulse-ring 2s ease infinite;
}

.pipeline-step.active .step-info strong {
    color: var(--primary);
}

.pipeline-step.approved .step-icon {
    background: var(--primary);
    border-color: var(--primary);
}

.pipeline-step.rejected .step-icon {
    background: #e74c3c;
    border-color: #e74c3c;
}

.pipeline-step.rejected .step-info strong {
    color: #e74c3c;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

.track-notes {
    margin: 0 32px;
    padding: 20px;
    background: #fffbeb;
    border: 1px solid #f59e0b;
    border-radius: var(--radius);
}

.track-notes h4 {
    margin-bottom: 8px;
}

.track-summary {
    padding: 32px;
    border-top: 1px solid var(--border);
}

.track-summary h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.summary-item {
    background: var(--bg);
    padding: 14px;
    border-radius: var(--radius-sm);
}

.summary-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.summary-item strong {
    font-size: 0.9rem;
}

/* Track Info Grid */
.track-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.track-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.track-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.track-info-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.track-info-card p {
    font-size: 0.88rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .track-info-grid {
        grid-template-columns: 1fr;
    }

    .track-input-group {
        flex-direction: column;
    }

    .track-header {
        flex-direction: column;
        text-align: center;
    }

    .track-applicant {
        text-align: center;
    }

    .pipeline-step {
        padding-left: 0;
    }

    .status-pipeline {
        padding: 24px 16px;
    }

    .track-summary {
        padding: 24px 16px;
    }

    .track-notes {
        margin: 0 16px;
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.home-faq-section,
.faq-page-section {
    padding: 80px 0;
}

.home-faq-section {
    background: var(--card-bg);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--card-bg);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    font-family: inherit;
    gap: 12px;
}

.faq-toggle {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
    background: white;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.open {
    border-color: var(--primary);
    background: var(--accent);
}

.faq-cta {
    text-align: center;
    margin-top: 48px;
    padding: 40px;
    background: var(--accent);
    border-radius: var(--radius-lg);
}

.faq-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.faq-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */
.testimonials-carousel-section {
    padding: 80px 0;
    background: var(--bg);
}

.carousel-wrapper {
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    box-sizing: border-box;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    padding-top: 24px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-section {
    padding: 60px 0;
    background: var(--card-bg);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    min-width: 120px;
}

.trust-logo {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid var(--border);
}

.cta-content {
    text-align: center;
    color: var(--text);
    max-width: 750px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    background: transparent;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* ============================================
   REGISTER FORM – Redesigned
   ============================================ */
.register-section {
    padding: 60px 0 80px;
    background: #f0f2f5;
}

.register-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.register-card {
    background: #ffffff;
    border: 1px solid #dde1e7;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.register-intro {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.register-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.register-intro p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.register-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.form-section-title {
    margin: 28px 0 16px;
    padding: 16px 20px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.form-section-icon {
    font-size: 1.3rem;
}

.form-section-title h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.form-section-title p {
    width: 100%;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 992px) {
    .form-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .form-row,
    .form-row-4 {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
    background: #fff;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 20px;
    padding: 8px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.consent-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

.consent-box p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Success / Reference Number Box */
.success-box {
    text-align: center;
    padding: 40px 24px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.success-box h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.ref-number-box {
    background: var(--accent);
    border: 2px dashed var(--primary);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 24px;
}

.ref-number-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.ref-number-box h2 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
}

.ref-number-box small {
    font-size: 0.82rem;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .register-card {
        padding: 24px 16px;
    }

    .register-highlights {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   STUDENTS SECTION (updated)
   ============================================ */
.students-section {
    padding: 80px 0;
    background: var(--card-bg);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsapp-pulse 2s ease infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6);
    }
}

/* ============================================
   HERO (Updated)
   ============================================ */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

/* ============================================
   FOOTER SOCIAL
   ============================================ */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ============================================
   SCHOLARSHIP LISTING PAGE
   ============================================ */

/* Layout */
.sf-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

/* ── Sidebar ── */
.sf-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + 16px);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-height: calc(100vh - var(--header-height) - 32px);
    overflow-y: auto;
}

.sf-sidebar::-webkit-scrollbar {
    width: 4px;
}

.sf-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.sf-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}

.sf-sidebar-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.01em;
}

.sf-clear-all {
    font-size: 0.72rem;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 10px;
    border: 1.5px solid #fecaca;
    border-radius: var(--radius-sm);
    background: #fef2f2;
    transition: all 0.2s;
}

.sf-clear-all:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* Search in sidebar */
.sf-search-form {
    margin: 0;
}

.sf-search-wrap {
    display: flex;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.sf-search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.sf-search-input {
    flex: 1;
    padding: 9px 14px;
    border: none;
    outline: none;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: transparent;
}

.sf-search-input::placeholder {
    color: var(--text-muted);
}

.sf-search-btn {
    padding: 9px 14px;
    border: none;
    background: var(--accent);
    cursor: pointer;
    font-size: 0.82rem;
    transition: background 0.2s;
    color: var(--primary-dark);
}

.sf-search-btn:hover {
    background: #d0f0e0;
}

/* Filter groups */
.sf-filter-group {
    margin-bottom: 4px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 4px;
}

.sf-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sf-filter-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    padding: 12px 0 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.15s;
}

.sf-filter-title:hover {
    color: var(--text);
}

.sf-chevron {
    font-size: 0.65rem;
    transition: transform 0.25s;
    color: var(--text-muted);
}

.sf-filter-group.collapsed .sf-filter-options {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.sf-filter-group.collapsed .sf-chevron {
    transform: rotate(-90deg);
}

.sf-filter-options {
    max-height: 500px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}

.sf-opt {
    display: block;
    padding: 7px 12px;
    font-size: 0.82rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
    border-left: 3px solid transparent;
    margin-bottom: 2px;
    font-weight: 450;
}

.sf-opt:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-left-color: var(--primary);
}

.sf-opt.active {
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 600;
    border-left-color: var(--primary);
}

/* ── Main Area ── */
.sf-main {
    flex: 1;
    min-width: 0;
    background: var(--accent);
    padding: 20px;
    border-radius: var(--radius-lg);
}

/* Tabs */
.sf-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    background: var(--card-bg);
    padding: 6px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.sf-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-light);
    background: transparent;
    border: none;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
}

.sf-tab:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.sf-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.sf-tab-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    line-height: 1.4;
}

.sf-tab.active .sf-tab-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* Sort Bar */
.sf-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.sf-result-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sf-sort-btns {
    display: flex;
    gap: 8px;
}

.sf-sort {
    padding: 6px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-light);
    background: var(--card-bg);
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
}

.sf-sort:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sf-sort.active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

/* Mobile filter btn */
.sf-mobile-filter-btn {
    display: none;
    width: 100%;
    padding: 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.sf-mobile-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Cards Grid */
.sf-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Card */
.sf-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    cursor: pointer;
    min-width: 0;
}

.sf-card-link .sf-card {
    flex: 1;
    width: 100%;
}

.sf-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.sf-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.3), 0 0 0 1px rgba(39, 174, 96, 0.2);
    border-color: transparent;
    background: linear-gradient(135deg, #1a7a42 0%, #27ae60 50%, #2ecc71 100%);
}

/* Card hover — flip all text to white */
.sf-card:hover .sf-card-title,
.sf-card:hover .sf-card-provider,
.sf-card:hover .sf-meta-key,
.sf-card:hover .sf-meta-val,
.sf-card:hover .sf-deadline-label,
.sf-card:hover .sf-deadline-date,
.sf-card:hover .sf-updated,
.sf-card:hover .sf-days-left {
    color: rgba(255, 255, 255, 0.9);
}

.sf-card:hover .sf-card-title {
    color: #fff;
}

.sf-card:hover .sf-meta-emoji i {
    color: rgba(255, 255, 255, 0.8);
}

.sf-card:hover .sf-card-footer {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.sf-card:hover .sf-view-btn {
    color: #fff;
    font-weight: 700;
}

.sf-card:hover .sf-logo-placeholder {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.sf-card:hover .sf-card-badge {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(4px);
}

.sf-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Card Top */
.sf-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 44px 20px 14px;
    border-bottom: 1px solid #f3f4f6;
}

.sf-logo-wrap {
    flex-shrink: 0;
}

.sf-logo-img {
    width: 64px;
    height: 44px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid #f3f4f6;
}

.sf-logo-placeholder {
    width: 56px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.sf-deadline-area {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.sf-deadline-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.sf-deadline-icon {
    font-size: 0.8rem;
}

.sf-deadline-date {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-light);
}

.sf-deadline-date.urgent {
    color: #e74c3c;
}

.sf-badge-closed {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 14px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: var(--radius-pill);
    border: 1px solid #fecaca;
}

.sf-badge-open {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 14px;
    background: #ecfdf5;
    color: #059669;
    border-radius: var(--radius-pill);
    border: 1px solid #a7f3d0;
}

/* Card Body */
.sf-card-body {
    padding: 16px 20px;
    flex: 1;
}

.sf-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sf-card-provider {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 450;
}

.sf-meta-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.sf-meta-emoji {
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
    width: 20px;
    text-align: center;
}

.sf-meta-key {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1px;
}

.sf-meta-val {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.45;
}

.sf-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.sf-card-footer {
    padding: 12px 20px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
}

.sf-updated {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.sf-days-left {
    font-size: 0.75rem;
    color: #e74c3c;
    font-weight: 700;
}

.sf-view-btn {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
    padding: 4px 0;
}

.sf-view-btn:hover {
    color: var(--primary-dark);
}

/* Scholarship Listing Empty */
.sf-empty {
    text-align: center;
    padding: 80px 24px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.sf-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    opacity: 0.6;
}

.sf-empty h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
}

.sf-empty p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ── Scholarship Listing Responsive ── */
@media (max-width: 1200px) {
    .sf-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .sf-layout {
        flex-direction: column;
    }

    .sf-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        max-height: 100vh;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    }

    .sf-sidebar.sf-sidebar-open {
        display: block;
        animation: sfSlideIn 0.3s ease;
    }

    @keyframes sfSlideIn {
        from {
            transform: translateX(-100%);
        }

        to {
            transform: translateX(0);
        }
    }

    .sf-mobile-filter-btn {
        display: block;
    }

    .sf-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sf-tabs {
        flex-wrap: wrap;
    }

    .sf-tab {
        padding: 8px 14px;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .sf-sort-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ============================================
   SCHOLARSHIP DETAIL PAGE
   ============================================ */

/* Info Card */
.scholarship-info-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.scholarship-detail-image {
    width: 100%;
    overflow: hidden;
    max-height: 260px;
}

.scholarship-detail-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* Info Header */
.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px 14px;
    flex-wrap: wrap;
}

.scholarship-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--accent);
    color: var(--primary-dark);
}

/* Category colors */
.cat-merit {
    background: #ecfdf5;
    color: #059669;
}

.cat-financial-need {
    background: #fff7ed;
    color: #c2410c;
}

.cat-girls {
    background: #fdf2f8;
    color: #be185d;
}

.cat-minority {
    background: #f5f3ff;
    color: #7c3aed;
}

.cat-sports {
    background: #eff6ff;
    color: #2563eb;
}

.cat-talent {
    background: #fffbeb;
    color: #b45309;
}

.cat-government {
    background: #f1f5f9;
    color: #334155;
}

.cat-corporate-csr {
    background: #f0fdfa;
    color: #0f766e;
}

/* Status Badge */
.status-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
}

.status-open {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.status-closing {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.status-closed {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Info Rows */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-top: 1px solid #f3f4f6;
    gap: 12px;
}

.info-row:hover {
    background: #fafbfc;
}

.info-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.info-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    text-align: right;
}

.info-value.highlight {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1rem;
}

.info-value small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Document Checklist */
.doc-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fafbfc;
    border-radius: var(--radius-sm);
    border: 1px solid #f3f4f6;
    transition: all 0.15s;
}

.doc-item:hover {
    background: var(--accent);
    border-color: var(--primary-glow);
}

.doc-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    color: var(--text-muted);
}

/* Video Wrapper */
.scholarship-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
    margin-top: 8px;
}

.scholarship-video-wrap iframe,
.scholarship-video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

/* Detail Page Responsive */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-image-card {
        position: static;
    }
}

/* Scholarships Section Wrapper */
.scholarships-section {
    padding: 24px 0 48px;
    background: var(--bg);
}

/* Scholarship page header override */
.scholarship-page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 60px 0 36px;
    margin-top: var(--header-height);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scholarship-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.scholarship-page-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.scholarship-page-header h1 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 10px;
    position: relative;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.scholarship-page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    position: relative;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

.scholarship-page-header .sh-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    position: relative;
}

.scholarship-page-header .sh-stat {
    text-align: center;
}

.scholarship-page-header .sh-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
}

.scholarship-page-header .sh-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   BOOTSTRAP ICONS INTEGRATION – consistent sizing
═══════════════════════════════════════════════════════ */

/* Base icon sizing for containers that held emojis */
.step-icon i,
.trust-logo i,
.icon-wrap i,
.info-card-icon i,
.empty-icon i,
.sf-empty-icon i {
    font-size: inherit;
    line-height: 1;
}

/* Step icons on homepage */
.step-icon i {
    font-size: 2rem;
    color: var(--primary);
}

/* Trust section logos */
.trust-logo i {
    font-size: 2.2rem;
    color: var(--primary);
}

/* About page icon wraps */
.icon-wrap i {
    font-size: 2rem;
    color: var(--primary);
}

/* Contact page card icons */
.contact-info-card .icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

/* Track page info card icons */
.info-card-icon i {
    font-size: 2rem;
    color: var(--primary);
}

/* Track page empty/error icon */
.empty-icon i {
    font-size: 3rem;
    color: var(--text-muted);
}

/* Track pipeline step icons */
.pipeline-step .step-icon i {
    font-size: 1.2rem;
}

/* Register form section icons */
.form-section-icon i {
    font-size: 1.1rem;
    color: var(--primary);
}

/* Register highlights check icons */
.highlight-item span i {
    color: var(--primary);
    font-size: 1rem;
}

/* Footer social icons */
.footer-social .social-link i {
    font-size: 1.1rem;
}

/* Footer contact icons */
.footer-contact .fi i {
    font-size: 0.9rem;
    margin-right: 4px;
    color: var(--primary);
}

/* Scholarship meta icons */
.sf-meta-emoji i {
    font-size: 1rem;
    color: var(--primary);
}

/* Scholarship empty state */
.sf-empty-icon i {
    font-size: 3rem;
    color: var(--text-muted);
}

/* Scholarship search button icon */
.sf-search-btn i {
    font-size: 0.85rem;
}

/* Hero badge icons */
.hero-badge i {
    margin-right: 2px;
}

/* Slider arrow icons */
.slider-arrow i {
    font-size: 1.2rem;
}

/* Detail page info label icons */
.info-label i {
    margin-right: 4px;
    font-size: 0.95rem;
    color: var(--primary);
}

/* Detail block heading icons */
.detail-block h3 i {
    margin-right: 6px;
    color: var(--primary);
}

/* Sort button inline icons */
.sf-sort i {
    font-size: 0.72rem;
    margin-right: 2px;
}

/* Mobile filter btn icon */
.sf-mobile-filter-btn i {
    margin-right: 4px;
}

/* Days left clock icon */
.sf-days-left i,
.deadline-urgent i {
    margin-right: 2px;
    font-size: 0.8rem;
}

/* Track notes heading icon */
.track-notes h4 i {
    margin-right: 6px;
    color: var(--primary);
}