@media (max-width: 1180px) {
    .navbar-nav {
        gap: 0 2px;
    }
    .navbar-nav .nav-link {
        font-size: 15px;
    }
}

@media (max-width: 1035px) {
    .content-title {
        font-size: 4rem;
    }
    .navbar-nav {
        gap: 14px 1px;
    }
    .navbar-nav .nav-link {
        font-size: 14px;
    }
    .logo-header {
        width: 140px;
        height: auto;
    }
}

@media (max-width: 990px) {
    .navbar-nav .nav-link {
        font-size: 18px;
        font-weight: 600;
    }
}

@media (max-width: 785px) {
    .footer-title {
        font-size: 1.4rem;
        font-weight: 600;
    }
}

/* add-course-form.blade */
@media (max-width: 768px) {
    .about-section {
        padding-top: 50px;
    }
    .about-section-content {
        flex-wrap: wrap;
    }
    .about-image {
        max-width: 100%;
    }
    .about-description-container {
        max-width: 100%;
    }
    .title {
        margin-bottom: 40px;
        font-size: 1.8rem;
    }
    .teachers__title {
        font-size: 4rem;
    }
    .lesson-title {
        font-size: 32px;
    }
    .video-lesson {
        margin-bottom: 50px;
    }
    .video-lesson-title,
    .text-lesson-title {
        font-size: 22px;
        font-weight: 500;
    }
    .form-section {
        top: -220px;
    }
    .background-wrapper {
        height: 600px;
    }
    .teachers-wrapper {
        height: 340px;
    }
    .content-title {
        font-size: 2.8rem;
        line-height: 1.4;
        letter-spacing: normal;
    }
    .content p {
        font-size: 1em;
    }
    button {
        font-size: 0.9em;
        padding: 8px 16px;
    }
    .banner-text h4 {
        font-size: 1.2rem;
    }
    .banner-text p {
        font-size: 0.9rem;
    }
    .reviews-section h1 {
        font-size: 2em;
    }
    .review-form h2 {
        font-size: 1.5em;
    }
    .reviews-list li {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .mobile-pdf-button {
        display: block;
        text-align: center;
        margin: 20px 0;
    }
    .mobile-pdf-button a {
        display: inline-block;
        padding: 12px 24px;
        background-color: #3490dc;
        color: #fff;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
    }
    .lessons {
        margin-bottom: 50px;
    }
    .navbar-nav {
        margin-top: 40px;
    }
    .content-title {
        font-size: 2.2rem;
        line-height: 1.6;
    }
    .info-badge,
    .sticker {
        right: -8px;
    }
    .banner-text h4 {
        font-size: 1rem;
    }
    .banner-text p {
        font-size: 0.8rem;
    }
    .navbar-nav .nav-link.youtube-link {
        justify-content: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .gallery-section,
    .certification-section,
    .advantages-section,
    .about-section,
    .banners-section {
        margin-bottom: 80px;
    }
    .banner-up {
        margin-top: -240px;
    }
    .title {
        font-size: 1.5rem;
    }
    .teachers__title {
        font-size: 3rem;
    }
    .lesson-title {
        font-size: 30px;
    }
    .teachers-wrapper {
        height: 260px;
    }
    .teachers__container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .lesson-title {
        font-size: 26px;
    }
}

@media (max-width: 450px) {
    .gallery-section,
    .certification-section,
    .advantages-section,
    .about-section,
    .banners-section {
        margin-bottom: 50px;
    }
    .content-title {
        font-size: 1.9rem;
    }
    .title {
        margin-bottom: 30px;
        font-size: 1.4rem;
    }
    .navbar-nav .nav-link {
        font-size: 17px;
    }
    .teachers__title {
        font-size: 2.5rem;
    }
    .lesson-title {
        font-size: 22px;
    }
    .teachers-wrapper {
        height: 200px;
    }
    .lesson-wrapper {
        height: 260px;
    }
}

@media (max-width: 420px) {
    .content-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 390px) {
    .teachers__title {
        font-size: 2.2rem;
    }
    .lesson-title {
        font-size: 20px;
    }
    .teachers-wrapper {
        height: 180px;
    }
    .lesson-wrapper {
        height: 240px;
    }
    .teachers__box {
        padding: 14px 10px 2px 10px;
    }
    .teachers__price {
        font-size: 16px;
        font-weight: 600;
    }
    .teachers__item-btn {
        margin-left: 10px;
        margin-right: 10px;
    }
    .teachers__subject::before {
        left: -3px;
    }
    .teachers__students {
        margin-bottom: 4px;
    }
    .teachers__item-title {
        margin-bottom: 14px;
    }
}
