
:root {
    --primary: #2887ff;
    --primary-light: #64b5ff;
    --navy: #07152e;
    --dark: #050d1b;
    --text: #17243a;
    --muted: #68778d;
    --white: #ffffff;
    --light-bg: #f5f8ff;
    --border: #e7edf7;
    --gradient: linear-gradient(135deg, #2887ff, #785cff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================
   NAVIGATION
   ========================================= */

.navbar {
    width: 100%;
    height: 82px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.04);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #10203b;
}

.logo strong {
    color: var(--primary);
}

.logo-icon {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-size: 22px;
    background: var(--gradient);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: #526078;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-button {
    background: var(--gradient);
    color: white;
    padding: 13px 21px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(40, 135, 255, 0.25);
}

.nav-button span {
    margin-left: 8px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--navy);
}


/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    min-height: 690px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(40, 135, 255, 0.22), transparent 35%),
        radial-gradient(ellipse at 15% 90%, rgba(120, 92, 255, 0.19), transparent 35%),
        linear-gradient(120deg, #050d1b, #0b1d3d 55%, #07142a);
    color: white;
    display: flex;
    align-items: center;
    padding: 100px 10%;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(100, 181, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 181, 255, 0.2) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to right, black, transparent);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.orb-one {
    width: 350px;
    height: 350px;
    top: -150px;
    right: 20%;
    background: rgba(40, 135, 255, 0.08);
    border: 1px solid rgba(100, 181, 255, 0.15);
}

.orb-two {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: 5%;
    background: rgba(120, 92, 255, 0.12);
}

.hero-content {
    width: 60%;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease both;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8bc5ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #46b5ff;
    box-shadow: 0 0 15px #46b5ff;
    animation: pulse 1.8s infinite;
}

.hero h1 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(43px, 5.3vw, 72px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    background: linear-gradient(90deg, #65baff, #a18cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content > p {
    color: #b1bfd4;
    max-width: 540px;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.primary-button {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(40, 135, 255, 0.25);
}

.primary-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(40, 135, 255, 0.4);
}

.secondary-button {
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
}

.secondary-button:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary-light);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 65px;
}

.hero-stats h3 {
    font-family: "Outfit", sans-serif;
    font-size: 25px;
    color: white;
}

.hero-stats p {
    color: #8498b6;
    font-size: 11px;
    margin-top: 5px;
}

.stat-divider {
    height: 40px;
    width: 1px;
    background: rgba(255,255,255,0.18);
}


/* =========================================
   HERO VISUAL
   ========================================= */

.hero-visual {
    position: absolute;
    width: 370px;
    height: 370px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;
    border: 1px solid rgba(100, 181, 255, 0.2);
    border-radius: 50%;
}

.circle-one {
    width: 360px;
    height: 360px;
    animation: rotate 25s linear infinite;
}

.circle-two {
    width: 290px;
    height: 290px;
    border-style: dashed;
    animation: rotate 35s linear infinite reverse;
}

.main-visual-card {
    position: relative;
    z-index: 2;
    width: 255px;
    padding: 32px;
    text-align: center;
    border-radius: 20px;
    background: rgba(255,255,255,0.09);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 70px rgba(0,0,0,0.3);
}

.visual-icon {
    display: block;
    font-size: 55px;
    margin-bottom: 18px;
}

.main-visual-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 23px;
    margin-bottom: 5px;
}

.main-visual-card p {
    color: #a7c9f5;
    font-size: 14px;
}

.visual-progress {
    height: 5px;
    margin: 25px 0 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
}

.visual-progress span {
    display: block;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, #2887ff, #a18cff);
    border-radius: 20px;
}

.main-visual-card small {
    font-size: 8px;
    letter-spacing: 1.5px;
    color: #a7c9f5;
}

.floating-card {
    position: absolute;
    z-index: 3;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.floating-card span {
    margin-right: 7px;
}

.floating-top {
    top: 25px;
    right: -25px;
}

.floating-bottom {
    bottom: 35px;
    left: -35px;
}

.hero-bottom-text {
    position: absolute;
    bottom: 25px;
    left: 10%;
    color: rgba(255,255,255,0.35);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}


/* =========================================
   INTRODUCTION
   ========================================= */

.intro-section {
    padding: 110px 10%;
    background: #ffffff;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 65px;
}

.section-label {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2,
.scholarship-heading h2,
.cta-content h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.2;
    margin: 17px 0;
    color: #10203b;
}

.section-heading h2 span,
.scholarship-heading h2 span {
    color: var(--primary);
}

.section-heading > p {
    max-width: 610px;
    margin: auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit-card {
    padding: 35px 30px;
    background: #f8faff;
    border: 1px solid #edf1fa;
    border-radius: 14px;
    transition: 0.35s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: #c6dcff;
    box-shadow: 0 15px 40px rgba(30, 80, 150, 0.08);
}

.benefit-icon {
    width: 53px;
    height: 53px;
    border-radius: 12px;
    background: #e8f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 23px;
}

.benefit-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}


/* =========================================
   SCHOLARSHIP DIRECTORY
   ========================================= */

.scholarship-section {
    padding: 105px 10%;
    background: var(--light-bg);
}

.scholarship-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.scholarship-heading h2 {
    margin-bottom: 12px;
}

.scholarship-heading p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 590px;
}

.opportunity-count {
    display: flex;
    flex-direction: column;
    text-align: right;
    padding: 15px 22px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 150px;
}

.opportunity-count strong {
    font-family: "Outfit", sans-serif;
    color: var(--primary);
    font-size: 29px;
}

.opportunity-count span {
    font-size: 10px;
    color: var(--muted);
}


/* =========================================
   SEARCH
   ========================================= */

.search-container {
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    align-items: center;
    height: 65px;
    padding: 0 22px;
    background: white;
    border: 1px solid #e5ebf5;
    border-radius: 10px;
    transition: 0.3s;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(40,135,255,0.08);
}

.search-icon {
    font-size: 28px;
    color: var(--primary);
    margin-right: 15px;
}

.search-box input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 13px;
}

.search-box input::placeholder {
    color: #a2adbd;
}

#clearSearch {
    display: none;
    border: none;
    background: none;
    color: #8290a5;
    font-size: 25px;
}


/* =========================================
   FILTERS
   ========================================= */

.filter-container {
    margin-bottom: 35px;
}

.filter-label {
    font-size: 11px;
    font-weight: 800;
    color: #6e7c91;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 19px;
    border: 1px solid #e3eaf5;
    border-radius: 7px;
    background: white;
    color: #637188;
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    color: white;
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(40,135,255,0.18);
}


/* =========================================
   SCHOLARSHIP CARDS
   ========================================= */

.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.scholarship-card {
    display: flex;
    flex-direction: column;
    padding: 27px;
    min-height: 365px;
    background: white;
    border: 1px solid #e9eef6;
    border-radius: 13px;
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
    animation: fadeUp 0.6s ease both;
}

.scholarship-card:hover {
    transform: translateY(-7px);
    border-color: #bcd6ff;
    box-shadow: 0 18px 40px rgba(30, 80, 150, 0.09);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 24px;
}

.card-icon {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
}

.card-icon.blue {
    background: #e8f2ff;
}

.card-icon.pink {
    background: #fff0f6;
}

.card-icon.purple {
    background: #f1edff;
}

.card-icon.orange {
    background: #fff3e9;
}

.card-icon.green {
    background: #e9f8ef;
}

.card-icon.red {
    background: #fff0f0;
}

.card-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 20px;
    background: #f0f5ff;
    color: #367dd4;
}

.scholarship-card h3 {
    font-family: "Outfit", sans-serif;
    color: #152641;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 13px;
}

.scholarship-card > p {
    font-size: 12px;
    line-height: 1.8;
    color: #77859a;
    margin-bottom: 22px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 9px;
    border-top: 1px solid #edf0f5;
    padding-top: 17px;
    margin-bottom: 18px;
}

.card-meta span {
    font-size: 10px;
    font-weight: 600;
    color: #718097;
}

.apply-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-radius: 7px;
    background: #eef5ff;
    color: #287ee8;
    font-size: 11px;
    font-weight: 800;
    transition: 0.3s;
}

.apply-link:hover {
    background: var(--primary);
    color: white;
}

.apply-link span {
    font-size: 16px;
}

.scholarship-card.hidden {
    display: none;
}


/* =========================================
   NO RESULTS
   ========================================= */

.no-results {
    display: none;
    padding: 70px 20px;
    text-align: center;
}

.no-results.show {
    display: block;
}

.no-results > span {
    font-size: 45px;
}

.no-results h3 {
    font-family: "Outfit", sans-serif;
    margin: 15px 0 8px;
}

.no-results p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================================
   DIRECTORY NOTE
   ========================================= */

.directory-note {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 40px;
    padding: 20px;
    border-radius: 9px;
    background: #eaf3ff;
    border: 1px solid #d7e7ff;
}

.directory-note > span {
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
}

.directory-note p {
    color: #58708e;
    font-size: 11px;
    line-height: 1.8;
}


/* =========================================
   CALL TO ACTION
   ========================================= */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 100px 10%;
    text-align: center;
    background:
        radial-gradient(circle at 15% 30%, rgba(40,135,255,0.23), transparent 35%),
        linear-gradient(120deg, #07152e, #102c57);
    color: white;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: auto;
}

.cta-content h2 {
    color: white;
    font-size: clamp(35px, 4vw, 48px);
}

.cta-content h2 span {
    color: #75baff;
}

.cta-content p {
    color: #b4c3d9;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.cta-decoration {
    position: absolute;
    right: 12%;
    top: 15%;
    font-size: 150px;
    color: rgba(255,255,255,0.04);
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    padding: 75px 10% 0;
    background: #050d1b;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 55px;
    padding-bottom: 60px;
}

.footer-brand p {
    color: #8391a7;
    font-size: 12px;
    line-height: 1.9;
    max-width: 290px;
    margin-top: 20px;
}

.footer .logo {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #8796ad;
    font-size: 11px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #64b5ff;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p,
.footer-bottom a {
    color: #718097;
    font-size: 10px;
}

.footer-bottom a:hover {
    color: #64b5ff;
}


/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(70,181,255,0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(70,181,255,0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================
   RESPONSIVE DESIGN - TABLETS
   ========================================= */

@media (max-width: 1100px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-links {
        gap: 18px;
    }

    .hero {
        padding: 90px 7%;
    }

    .hero-visual {
        right: 5%;
        transform: translateY(-50%) scale(0.85);
    }

    .hero-content {
        width: 60%;
    }

    .scholarship-section,
    .intro-section,
    .cta-section {
        padding-left: 7%;
        padding-right: 7%;
    }

    .scholarship-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        padding-left: 7%;
        padding-right: 7%;
    }
}


/* =========================================
   RESPONSIVE DESIGN - MOBILE
   ========================================= */

@media (max-width: 768px) {

    .navbar {
        height: 72px;
        padding: 0 6%;
    }

    .logo {
        font-size: 17px;
    }

    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        padding: 25px 6%;
        background: white;
        box-shadow: 0 15px 25px rgba(0,0,0,0.08);
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .nav-links.show {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 85px 7% 90px;
        display: block;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(42px, 10vw, 58px);
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-visual {
        position: relative;
        top: auto;
        right: auto;
        transform: scale(0.85);
        margin: 50px auto 20px;
        width: 100%;
        max-width: 370px;
    }

    .hero-stats {
        gap: 20px;
        margin-top: 45px;
    }

    .hero-bottom-text {
        left: 7%;
        font-size: 7px;
    }

    .intro-section,
    .scholarship-section {
        padding: 75px 6%;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .scholarship-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .opportunity-count {
        text-align: left;
        min-width: 130px;
    }

    .scholarship-grid {
        grid-template-columns: 1fr;
    }

    .scholarship-card {
        min-height: 0;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 13px;
        font-size: 10px;
    }

    .cta-section {
        padding: 75px 7%;
    }

    .footer {
        padding: 60px 7% 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

}


/* =========================================
   SMALL MOBILE DEVICES
   ========================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions a {
        width: 100%;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stats h3 {
        font-size: 20px;
    }

    .hero-stats p {
        font-size: 9px;
    }

    .floating-top {
        right: -5px;
    }

    .floating-bottom {
        left: -5px;
    }

    .search-box {
        padding: 0 12px;
    }

    .search-box input {
        font-size: 11px;
    }

    .footer-content {
        gap: 30px 15px;
    }

}
