/* ==========================================
        LAPTOP (1200px)
========================================== */
@media (max-width:1200px) {

    .container {
        width: 92%;
    }

    .hero h1 {
        font-size: 62px;
    }

    .about-wrapper {
        gap: 50px;
    }

    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-wrapper {
        gap: 35px;
    }

}


/* ==========================================
        TABLET (992px)
========================================== */
@media (max-width:992px) and (min-width:769px) {

    .top-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .navbar {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 20px;
    }

    .nav-links {
        gap: 22px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 90vh;
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 52px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-btns {
        flex-wrap: wrap;
    }

    .hero-features {
        gap: 15px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features {
        justify-content: center;
    }

    .feature {
        justify-content: center;
    }

    .founder-card {
        margin: auto;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 42px;
    }

    .gallery-heading h2,
    .contact-heading h2 {
        font-size: 40px;
    }

}

/* ==========================================
        MOBILE (768px)
========================================== */
@media (max-width:768px) {

    .container {
        width: 94%;
    }

    /* ================= TOP BAR ================= */

    .top-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar {
        padding: 10px 0;
        font-size: 13px;
    }

    .top-bar a {
        justify-content: center;
    }

    /* ================= HEADER ================= */

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
    }

    .logo img {
        width: 120px;
    }

    /* Hide Desktop Button */

    .nav-btn {
        display: none;
    }

    /* Hamburger */

    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        font-size: 28px;
        cursor: pointer;
        color: #0B3A78;
        margin-left: auto;
        z-index: 1002;
    }

    /* ================= MOBILE MENU ================= */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 360px;
        max-width: 90%;
        height: 100vh;
        background: #fff;
        transition: right .35s ease;
        z-index: 1000;
        overflow-y: auto;

        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    nav.active {
        right: 0;
    }

    .nav-links {
        width: 100%;
        margin-top: 90px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 18px 25px;
        text-align: left;
        font-size: 17px;
        color: #222;
    }

    /* ================= HERO ================= */

    .hero {
        min-height: 85vh;
        padding: 100px 0 70px;
    }

    .hero-tag {
        font-size: 13px;
        padding: 10px 18px;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .btn-outline {
        margin-left: 0;
    }

    .hero-features {
        flex-direction: column;
        gap: 10px;
    }

    /* ================= COMMON ================= */

    .section-title {
        font-size: 34px;
    }

    .about-content h2 {
        font-size: 36px;
    }

    .gallery-heading h2,
    .contact-heading h2 {
        font-size: 34px;
    }

    .course-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 280px;
    }

}

/* ==========================================
        TABLET & MOBILE
========================================== */

@media (max-width:992px) {

    /* ================= ENROLL ================= */

    .enroll-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .enroll-video {
        max-width: 420px;
        height: 500px;
    }

    .enroll-cta {
        grid-template-columns: 1fr;
    }

    /* ================= CONTACT ================= */

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .faq {
        position: static;
    }

    /* ================= FOOTER ================= */

    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about p {
        max-width: 100%;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer-buttons {
        justify-content: center;
    }

}