/* =========================================================
   TABLET RESPONSIVE
   768px - 1024px
   ========================================================= */


/* ================= TABLET: GENERAL ================= */

@media (min-width: 768px) and (max-width: 1024px) {

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

    .navbar {
        height: 70px;
    }

    .navbar-container {
        max-width: 100%;
        padding: 0 4%;
    }

    .brand {
        gap: 8px;
    }

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

    .logo-icon img {
        margin-right: -15px;
    }

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

    .nav-links {
        gap: 24px;
        font-size: 14px;
    }

    .nav-links a {
        padding: 26px 0;
    }


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

    .hero {
        min-height: auto;
        padding: 55px 5% 50px;
    }

    .hero-container {
        max-width: 900px;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

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

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

    .hero h1 {
        font-size: 27px;
        line-height: 1;
        letter-spacing: -1.5px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.55;
        max-width: 100%;
        margin-bottom: 25px;
    }


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

    .selectors {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .select-group {
        margin-bottom: 0;
    }

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

    .select-box input {
        height: 50px;
        padding: 0 40px 0 44px;
        font-size: 14px;
    }

    .select-box input::placeholder {
        font-size: 13px;
    }

    .select-icon {
        left: 15px;
        font-size: 17px;
    }


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

    .explore-btn {
        height: 50px;
        margin-top: 14px;
        font-size: 15px;
    }


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

    .stats {
        margin-top: 30px;
    }

    .stat {
        padding: 0 17px;
    }

    .stat:first-child {
        padding-left: 0;
    }

    .stat-number {
        font-size: 19px;
    }

    .stat-text {
        font-size: 11px;
    }


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

    .hero-image {
        min-height: 400px;
    }

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

    .student-image {
        max-width: 430px;
    }

    .note {
        padding: 14px;
        font-size: 12px;
    }

    .note-one {
        top: 30px;
        right: 0;
    }

    .note-two {
        bottom: 20px;
        right: 0;
    }


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

    .popular {
        padding: 50px 5% 50px;
        max-width: 100%;
    }

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

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

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

    .university-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .university-card {
        min-height: 175px;
        padding: 18px 12px;
    }

    .university-logo {
        width: 65px;
        height: 65px;
        margin-bottom: 10px;
    }

    .university-card h3 {
        font-size: 12px;
        line-height: 1.4;
    }

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


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

.everything {
    max-width: 90%;
    margin: 0 auto;

    padding: 45px 35px;

    grid-template-columns: 1fr;
    gap: 35px;

    border-radius: 12px;
}


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

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

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

.everything-description {
    max-width: 600px;

    font-size: 14px;
    line-height: 1.6;
}


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

.features {
    width: 100%;

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

    gap: 14px;
}

.feature {
    min-height: 105px;

    padding: 17px;

    display: flex;
    align-items: center;

    gap: 14px;
}


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

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

    flex: 0 0 60px;

    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 7px;
}

.feature p {
    font-size: 11px;

    line-height: 1.5;

    margin: 0;
}

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

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

    footer {
        width: 100%;
        padding: 0 5%;
        box-sizing: border-box;
    }

    .footer-container {
        width: 100%;
        max-width: 100%;

        display: grid;

        /* 
       4 fixed footer columns:
       1 = Brand
       2 = Legal
       3 = Support
       4 = Connect
    */
        grid-template-columns:
            minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);

        gap: 30px;

        padding: 48px 0 20px;

        box-sizing: border-box;

        align-items: start;
    }


    /* =========================================================
   FOOTER COLUMN POSITIONS
   ========================================================= */

    /* Brand */
    .footer-brand {
        grid-column: 1;
        grid-row: 1;

        min-width: 0;
    }


    /* Legal */
    .footer-container .footer-links:nth-of-type(1) {
        grid-column: 2;
        grid-row: 1;

        min-width: 0;
    }


    /* Support */
    .footer-container .footer-links:nth-of-type(2) {
        grid-column: 3;
        grid-row: 1;

        min-width: 0;
    }


    /* Connect */
    .footer-right {
        grid-column: 4 !important;
        grid-row: 1 !important;

        min-width: 0;

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

        margin: 0 !important;
    }


    /* =========================================================
   FOOTER LOGO
   ========================================================= */

    .footer-logo {
        display: flex;
        align-items: center;

        gap: 9px;
    }

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

        object-fit: contain;
    }

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

        white-space: nowrap;
    }


    /* =========================================================
   FOOTER DESCRIPTION
   ========================================================= */

    .footer-description {
        margin-top: 18px;

        font-size: 13px;
        line-height: 1.65;
    }


    /* =========================================================
   FOOTER HEADINGS
   ========================================================= */

    .footer-links h3,
    .footer-right h3 {
        font-size: 15px;

        margin: 3px 0 19px;

        white-space: nowrap;
    }


    /* =========================================================
   FOOTER LINKS
   ========================================================= */

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links a {
        font-size: 13px;

        margin-bottom: 11px;

        white-space: nowrap;
    }


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

    .footer-right h3 {
        margin-bottom: 19px;
    }

    .social {
        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: flex-start;

        gap: 17px;

        width: max-content;
    }

    .social a {
        display: flex;

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

        flex-shrink: 0;
    }

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

        object-fit: contain;
    }

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

        object-fit: contain;
    }


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

    .footer-bottom {
        width: 100%;

        min-height: 65px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        box-sizing: border-box;
    }

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

        white-space: nowrap;
    }
}