@media (max-width: 1596px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
}
@media only screen and (max-width: 575px) {
    header .container {
        padding: 10px 30px !important;
        border-radius: 40px !important;
        width: 100% !important;
        max-width: 335px !important;
        margin: 0 auto !important;
    }
    header img {
        height: 20px !important;
        width: 80px !important;
    }
    .mobile-menu-toggle {
        font-size: 18px !important;
    }
    .mobile-register-btn {
        height: 28px !important;
        font-size: 12px !important;
        padding: 4px 10px !important;
        border-radius: 28px !important;
        line-height: 0 !important;
    }
    .mobile-menu a.btn-outline-dark {
        height: 36px !important;
        font-size: 14px !important;
        padding: 6px 12px !important;
    }
    footer .footer-logo {
        margin-bottom: 20px;
        width: 100%;
    }
    footer .d-flex.flex-wrap {
        gap: 30px !important;
    }
    footer .footer-info,
    footer .footer-contact {
        width: 100%;
    }
    .courses-section .section-title,
    .services-section .services-title,
    .advantages-section .advantages-title,
    .packages-section .packages-title,
    .about-section .about-title {
        font-size: 24px !important;
    }
    .courses-section .courses-scroll-container,
    .services-section .services-scroll-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 10px !important;
    }
    .courses-section .courses-row,
    .services-section .services-row,
    .advantages-section .advantages-row {
        gap: 16px !important;
        padding-bottom: 10px !important;
    }
    .courses-section .course-card,
    .services-section .service-card {
        width: 310px !important;
        height: 450px !important;
        padding: 20px !important;
        gap: 20px !important;
        border-radius: 24px !important;
        flex-shrink: 0 !important;
    }
    .courses-section .card-images,
    .services-section .card-images {
        height: 160px !important;
    }
    .courses-section .course-title,
    .services-section .service-title {
        font-size: 20px !important;
    }
    .courses-section .course-description,
    .services-section .service-description {
        font-size: 16px !important;
        line-height: 172% !important;
    }
    .courses-section .badge {
        width: 130px !important;
        font-size: 14px !important;
        padding: 8px 12px !important;
    }
    .course-card:not(.first-course) .course-image:nth-child(2) {
        right: 96px;
        height: 55%;
        bottom: -4px;
    }
    .course-card:not(.first-course) .course-image:nth-child(3) {
        left: 62%;
        width: 32%;
        height: 54%;
    }
    .services-section .icon-wrapper {
        width: 50px !important;
        height: 50px !important;
    }
    .services-section .service-features li {
        font-size: 14px !important;
    }
    .services-section .service-link {
        font-size: 14px !important;
        padding: 8px 12px !important;
    }
    .advantages-section .advantages-card {
        width: 250px !important;
        height: 300px !important;
        padding: 20px !important;
        gap: 15px !important;
        border-radius: 24px !important;
    }
    .advantages-section .advantages-card-title {
        font-size: 20px !important;
    }
    .advantages-section .advantages-card-description {
        font-size: 14px !important;
    }
    .packages-section .package-card {
        width: 280px !important;
        min-height: 400px !important;
        padding: 18px !important;
        border-radius: 24px !important;
    }
    .packages-section .package-content {
        gap: 18px !important;
    }
    .packages-section .package-name {
        font-size: 20px !important;
    }
    .packages-section .package-divider {
        width: 130px !important;
    }
    .packages-section .package-features {
        gap: 15px !important;
    }
    .packages-section .package-feature {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
    .about-section img {
        border-radius: 24px !important;
    }
    .about-section .about-text {
        font-size: 16px !important;
    }
    .about-section .about-btn {
        width: 158px !important;
        height: 36px !important;
        font-size: 16px !important;
        padding: 8px 10px !important;
    }
    .about-section .stats-wrapper-mobile {
        width: 100% !important;
        gap: 14px !important;
    }
    .about-section .stat-box {
        width: 100% !important;
        border-radius: 20px !important;
        padding: 24px 10px !important;
        box-shadow: 0px 0px 10px 0px #00000014 !important;
    }
    .about-section .stat-number {
        font-size: 40px !important;
    }
    .about-section .stat-label {
        font-size: 16px !important;
    }
    .hero-content-wrapper {
        min-height: 350px !important;
        padding: 20px !important;
    }
    .hero-content-wrapper .position-absolute {
        height: 120px !important;
    }
    .hero-content-wrapper h1 {
        font-size: 24px !important;
    }
    .hero-content-wrapper p {
        font-size: 14px !important;
    }
    .scroll-btn {
        width: 35px !important;
        height: 35px !important;
    }
    .scroll-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
    .py-6 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .map-wrapper {
        height: 200px !important;
    }
    .contact-info-card,
    .contact-form-card {
        width: 335px !important;
        height: auto !important;
        margin: 0 auto;
    }
    .contact-info-content {
        width: 100% !important;
        height: auto !important;
        gap: 20px !important;
    }
    .contact-info-content > div {
        width: 100% !important;
    }
    .form-fields {
        width: 100% !important;
    }
    .form-fields input,
    .form-fields textarea,
    .form-fields select {
        width: 100% !important;
    }
    .icon-wrapper {
        width: 50px !important;
        height: 50px !important;
    }
    .course-image-wrapper {
        max-height: 300px;
    }
    .course-content-wrapper h1 {
        font-size: 24px !important;
    }
    .course-content-wrapper p {
        font-size: 14px !important;
    }
    .stats-wrapper-desktop {
        display: none !important;
    }
    .stats-wrapper-mobile {
        display: flex !important;
    }
    .modal-content {
        width: 90% !important;
        margin: 0 auto !important;
        padding: 16px !important;
    }
    .modal-form-container {
        width: 100% !important;
    }
    .modal-form-container select,
    .modal-form-container input {
        width: 100% !important;
    }
    h2 {
        font-size: 20px !important;
    }
    .course-card {
        cursor: pointer;
    }
    .course-link-mobile {
        cursor: pointer;
    }
    .course-hover-overlay {
        display: none !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 768px) {
    header .container {
        padding: 15px 30px !important;
        border-radius: 60px !important;
    }
    header img {
        height: 26px !important;
    }
    .mobile-menu-toggle {
        font-size: 22px !important;
    }
    .mobile-register-btn {
        height: 32px !important;
        font-size: 14px !important;
        border-radius: 32px !important;
        line-height: 0 !important;
    }
    footer .d-flex.flex-wrap {
        gap: 40px !important;
    }
    footer .footer-info,
    footer .footer-contact {
        width: auto;
        min-width: 200px;
    }
    footer .footer-logo {
        margin-bottom: 20px;
    }
    .courses-section .course-card,
    .services-section .service-card {
        width: 300px !important;
        height: 470px !important;
    }
    .courses-section .badge {
        width: 140px !important;
    }
    .advantages-section .advantages-card {
        width: 260px !important;
        height: 320px !important;
    }
    .stats-wrapper {
        flex-wrap: wrap !important;
        gap: 15px !important;
        justify-content: center !important;
    }
    .stat-box {
        width: 100% !important;
        max-width: 230px !important;
        margin-bottom: 10px !important;
    }
    .packages-section .package-card {
        width: calc(50% - 10px) !important;
        min-width: 260px !important;
    }
    .hero-content-wrapper {
        min-height: 400px !important;
    }
    .hero-content-wrapper h1 {
        font-size: 28px !important;
    }
    .services-scroll-container,
    .advantages-scroll-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .services-row,
    .advantages-row {
        padding-bottom: 20px !important;
    }
    .services-section .scroll-btn,
    .advantages-section .scroll-btn {
        display: none !important;
    }
    .py-6 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .py-md-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .map-wrapper {
        height: 250px !important;
    }
    .contact-info-card,
    .contact-form-card {
        width: 100% !important;
        height: auto !important;
        padding: 20px !important;
    }
    .contact-info-content {
        width: 100% !important;
        height: auto !important;
    }
    .form-fields {
        width: 100% !important;
    }
    .form-fields input,
    .form-fields textarea,
    .form-fields select {
        width: 100% !important;
    }
    .course-image-wrapper {
        max-height: 350px;
    }
    .stats-wrapper-desktop {
        display: none !important;
    }
    .stats-wrapper-mobile {
        display: flex !important;
    }
    .modal-content {
        width: 90% !important;
        max-width: 450px !important;
    }
    .modal-form-container {
        width: 100% !important;
    }
    .modal-form-container select,
    .modal-form-container input {
        width: 100% !important;
    }
}

@media only screen and (min-width: 769px) and (max-width: 992px) {
    header .container {
        padding: 18px 40px !important;
    }
    header img {
        height: 28px !important;
    }
    header .nav {
        gap: 30px !important;
    }
    header .nav-link {
        font-size: 14px !important;
    }
    footer .d-flex.flex-wrap {
        gap: 50px !important;
    }
    .courses-section .course-card,
    .services-section .service-card {
        width: 320px !important;
    }
    .advantages-section .advantages-card {
        width: 260px !important;
    }
    .about-section .row {
        gap: 2rem !important;
    }
    .about-section .stats-wrapper {
        justify-content: center !important;
    }
    .packages-section .package-card {
        width: calc(50% - 10px) !important;
        min-width: 300px !important;
    }
    .services-scroll-container,
    .advantages-scroll-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .services-row,
    .advantages-row {
        padding-bottom: 30px !important;
    }
    .services-section .scroll-btn,
    .advantages-section .scroll-btn {
        display: none !important;
    }
    .course-image-wrapper {
        max-height: 400px;
    }
    .contact-info-card,
    .contact-form-card {
        width: 100% !important;
    }
    .map-wrapper {
        height: 300px !important;
    }
    .stats-wrapper-desktop {
        display: flex !important;
    }
    .stats-wrapper-mobile {
        display: none !important;
    }
    .modal-content {
        width: 500px !important;
        padding: 24px !important;
    }
    .modal-form-container {
        width: 452px !important;
    }
    .modal-form-container select,
    .modal-form-container input {
        width: 452px !important;
    }
    .course-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15) !important;
    }
    .course-card:hover .course-hover-overlay {
        opacity: 1 !important;
    }
    .course-card:hover .course-hover-overlay span {
        transform: translateY(0) !important;
    }
    .course-hover-overlay span {
        transition: transform 0.4s ease !important;
    }
}

@media only screen and (min-width: 993px) and (max-width: 1200px) {
    header .container {
        padding: 20px 60px !important;
    }
    header img {
        height: 30px !important;
    }
    .courses-section .course-card,
    .services-section .service-card {
        width: 340px !important;
    }
    .advantages-section .advantages-card {
        width: 280px !important;
    }
    .packages-section .package-card {
        width: 340px !important;
    }
    .map-wrapper {
        height: 350px !important;
    }
    .stats-wrapper-desktop {
        display: flex !important;
    }
    .stats-wrapper-mobile {
        display: none !important;
    }
    .modal-content {
        width: 500px !important;
        padding: 24px !important;
    }
    .modal-form-container {
        width: 452px !important;
    }
    .modal-form-container select,
    .modal-form-container input {
        width: 452px !important;
    }
    .course-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15) !important;
    }
    .course-card:hover .course-hover-overlay {
        opacity: 1 !important;
    }
    .course-card:hover .course-hover-overlay span {
        transform: translateY(0) !important;
    }
    .course-hover-overlay span {
        transition: transform 0.4s ease !important;
    }
}

@media only screen and (min-width: 1201px) {
    .stats-wrapper-desktop {
        display: flex !important;
    }
    .stats-wrapper-mobile {
        display: none !important;
    }
    .modal-content {
        width: 500px !important;
        padding: 24px !important;
    }
    .modal-form-container {
        width: 452px !important;
    }
    .modal-form-container select,
    .modal-form-container input {
        width: 452px !important;
    }
    .course-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15) !important;
    }
    .course-card:hover .course-hover-overlay {
        opacity: 1 !important;
    }
    .course-card:hover .course-hover-overlay span {
        transform: translateY(0) !important;
    }
    .course-hover-overlay span {
        transition: transform 0.4s ease !important;
    }
}

@media print {
    .scroll-btn,
    .mobile-menu-toggle,
    .register-btn {
        display: none !important;
    }
}
