/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */

.menu-btn {
    display: none;
}


/* ================= MOBILE ================= */

@media (max-width: 767px) {

    /* ================= NAVBAR ================= */

    .navbar {
        height: 68px;
    }

    .navbar-container {
        padding: 0 20px;
    }

    .brand {
        gap: 8px;
    }

    .logo-icon {
        margin-left: -17px;
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 21px;
    }


    /* ================= HAMBURGER ================= */

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        border: none;
        background: transparent;

        font-size: 28px;
        color: #101a3a;

        cursor: pointer;
    }


    /* ================= MOBILE NAVIGATION ================= */

    .nav-links {
        display: none;

        position: absolute;
        top: 68px;
        left: 0;

        width: 100%;

        padding: 12px 20px 20px;

        background: #ffffff;
        border-bottom: 1px solid #eeeeff;

        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        box-sizing: border-box;

        z-index: 100;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 5px;

        font-size: 16px;
    }


    /* ================= HERO ================= */

    .hero {
        min-height: auto;

        padding: 45px 20px 50px;

        display: block;
    }

    .hero-container {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 45px;
    }

    .hero-content {
        width: 100%;
        max-width: none;
    }

    .small-heading {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: 28px;

        line-height: 1;

        letter-spacing: -1.5px;

        margin-bottom: 22px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;

        max-width: none;

        margin-bottom: 28px;
    }


    /* ================= SELECTORS ================= */

    .selectors {
        display: grid;

        grid-template-columns: 1fr;

        gap: 0;
    }

    .select-group {
        margin-bottom: 17px;
    }

    .select-group label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .select-box input {
        height: 50px;

        padding-left: 45px;

        font-size: 14px;
    }


    /* ================= EXPLORE BUTTON ================= */

    .explore-btn {
        height: 50px;

        margin-top: 5px;

        font-size: 15px;
    }


    /* ================= STATS ================= */

    .stats {
        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 90%;

        margin: 35px auto 0;

        row-gap: 22px;
        column-gap: 0;
    }

    .stat {
        width: 100%;

        padding: 0;

        display: flex;
        flex-direction: column;
        align-items: center;

        text-align: center;

        box-sizing: border-box;
    }


    /* Vertical divider */

    .stat:nth-child(1),
    .stat:nth-child(3) {
        border-right: 1px solid #dcdced;
    }

    .stat:nth-child(2),
    .stat:nth-child(4) {
        border-right: none;
    }


    /* Number */

    .stat-number {
        width: 80px;

        margin-bottom: 5px;

        text-align: center;
    }


    /* Label */

    .stat-text {
        width: 100px;

        text-align: center;

        font-size: 12px;
    }


    /* ================= HERO IMAGE ================= */

    .hero-image {
        width: 100%;

        min-height: 330px;
    }

    .hero-circle {
        width: 290px;
        height: 290px;
    }

    .student-image {
        width: 100%;
        max-width: 390px;
    }


    /* ================= FLOATING NOTES ================= */

    .note {
        padding: 13px;

        font-size: 12px;
    }


    /* FIRST NOTE — LEFT */

    .note-one {
        top: 20px;

        left: 0;

        right: auto;

        transform: rotate(4deg);
    }


    /* SECOND NOTE — RIGHT */

    .note-two {
        bottom: 10px;

        right: 0;

        transform: rotate(5deg);
    }


    /* ================= POPULAR UNIVERSITIES ================= */

    .popular {
        padding: 45px 20px 45px;

        max-width: none;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .view-all {
        font-size: 13px;
    }


    /* ================= HORIZONTAL UNIVERSITY SCROLL ================= */

    .university-grid {
        display: flex;

        gap: 12px;

        overflow-x: auto;
        overflow-y: hidden;

        padding-bottom: 8px;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;
    }

    .university-grid::-webkit-scrollbar {
        display: none;
    }


    /* ================= UNIVERSITY CARDS ================= */

    .university-card {
        flex: 0 0 calc(50% - 6px);

        min-height: 165px;

        padding: 16px 8px;

        box-sizing: border-box;

        scroll-snap-align: start;
    }

    .university-logo {
        width: 60px;
        height: 60px;

        margin-bottom: 10px;
    }

    .university-card h3 {
        font-size: 12px;

        line-height: 1.4;

        margin-bottom: 7px;
    }

    .university-card p {
        font-size: 11px;
    }


   /* ================= EVERYTHING ================= */

.everything {
    width: calc(100% - 40px);

    box-sizing: border-box;

    margin: 0 20px;

    padding: 40px 22px;

    border-radius: 12px;

    display: flex;
    flex-direction: column;

    gap: 30px;
}


/* ================= HEADING ================= */

.why {
    font-size: 11px;
    margin-bottom: 13px;
}

.everything h2 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.everything-description {
    font-size: 14px;

    max-width: none;

    line-height: 1.6;
}


/* ================= FEATURES ================= */

.features {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr;

    gap: 12px;
}

.feature {
    padding: 17px;

    min-height: auto;

    display: flex;
    align-items: center;

    gap: 14px;
}


/* ================= FEATURE IMAGE ================= */

.feature-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    border-radius: 10px;
}


/* ================= FEATURE TEXT ================= */

.feature h3 {
    font-size: 13px;

    margin: 0 0 6px;
}

.feature p {
    font-size: 11px;

    line-height: 1.5;

    margin: 0;
}

    /* ================= MOBILE FOOTER ================= */

    footer {
        padding: 0 20px;
    }

    .footer-container {
        max-width: none;

        display: grid;

        grid-template-columns: 1fr 1fr;

        column-gap: 25px;

        row-gap: 32px;

        padding: 42px 0 22px;
    }


    /* ================= FOOTER BRAND ================= */

    .footer-brand {
        grid-column: 1 / -1;

        grid-row: 1;

        align-items: center;

        text-align: center;

        margin-bottom: 5px;
    }

    .footer-logo {
        display: flex;

        align-items: center;

        justify-content: center;

        gap: 10px;
    }

    .footer-logo img {
        width: 30px;
        height: 30px;
    }

    .footer-logo > span {
        font-size: 21px;

        line-height: 1;
    }

    .footer-description {
        margin: 14px auto 0;

        max-width: 260px;

        font-size: 12px;

        line-height: 1.65;

        color: #66789b;
    }

    .footer-description br {
        display: none;
    }


    /* ================= LEGAL ================= */

    .footer-container > .footer-links:nth-child(2) {
        margin-left: 25px;

        grid-column: 1;

        grid-row: 2;
    }


    /* ================= SUPPORT ================= */

    .footer-container > .footer-links:nth-child(3) {
        margin-left: 50px;

        grid-column: 2;

        grid-row: 2;
    }


    /* ================= LINK HEADINGS ================= */

    .footer-links h3 {
        margin: 0 0 17px;

        font-size: 14px;
    }

    .footer-links a {
        margin-bottom: 11px;

        font-size: 12px;

        line-height: 1.5;
    }


    /* ================= CONNECT ================= */

    .footer-right {
        grid-column: 1 / -1;

        grid-row: 3;

        align-items: center;

        text-align: center;

        margin-top: 2px;
    }

    .footer-right h3 {
        margin: 0 0 15px;

        font-size: 14px;
    }

    .social {
        gap: 20px;
    }


    /* ================= SOCIAL ICONS ================= */

    .insta-logo {
        width: 22px;
        height: 22px;
    }

    .telegram-logo,
    .email-logo {
        width: 25px;
        height: 25px;
    }


    /* ================= FOOTER BOTTOM ================= */

    .footer-bottom {
        min-height: auto;

        padding: 18px 0;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 7px;

        text-align: center;
    }

    .copyright,
    .made-for-students {
        font-size: 10px;
    }

}