@media (max-width: 1325px) {
    .nav {
        display: none;
    }
    #hamburger-icon {
        display: block;
    }
    .cart-button {
        display: none;
    }
    .courses-main {
        margin-top: 100px;
    }   
}




@media (max-width: 1240px) {
    .directions-flex {
        justify-content: center;
        align-items: center;
        gap: 35px;
    }
    .direct-content {
        margin: 0;
        width: 100%;
        word-break: normal;
        overflow-wrap: break-word;
        white-space: normal;
    }
    .advantages {
        display: flex;
        flex-direction: column;
        display: none;
    }
    .advantages-descript {
        word-break: normal;
        overflow-wrap: break-word;
        white-space: normal;
        padding-inline: 15%;
        text-align: center;
        font-size: 18px;
    }
    .mobile-advantages {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .descript-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: fit-content;
    }
    .logo-title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 50px;
    }
    .logo-title h2 {
        font-family: "Open Sans";
        font-size: 20px;
        font-weight: bold;
    }
    .bulb {
        width: 50px;
        height: 50px;
    }
    .svitok {
        width: 50px;
        height: 50px;
    }
    .cup {
        width: 50px;
        height: 50px;
    }
    .photo-block1 {
        background-image: url("assets/images/mobile1.png");
        width: 100%;
        min-height: 400px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .photo-block2 {
        background-image: url("assets/images/mobile2.png");
        width: 100%;
        min-height: 400px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .photo-block3 {
        background-image: url("assets/images/mobile3.png");
        width: 100%;
        min-height: 400px;
        background-position: top;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .lego, .model, .arduino, .scratch {
        width: 70%;              
        max-width: 100%;
        height: auto;             
        min-height: 0;                       
        padding: 25px 20px;                  
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    .info {
        text-align: center;
    }
    .container3 {
        border-radius: 0;
    }
    footer {
        display: none;
    }
    .mobile-footer {
        display: flex;
        background-color: #1B2A4E;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .info {
        padding-top: 15px;
        padding-bottom: 15px;
        text-align: center;
    }
    .logo-and-social {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .social-logo {
        display: flex;
        justify-content: center;
        gap: 20px;
        padding-bottom: 20px;
    }
    .course-background {
        width: 100%;
        border-radius: 0;
    }
    .courses-grid {
        grid-template-rows: repeat(3, 370px);
        grid-template-columns: 40% 40%;
        justify-content: center;
        align-items: center;
    }
    .courses-card {
        width: 100%;
        height: max-content;
        word-break: normal;
        overflow-wrap: break-word;
        white-space: normal;
    }
    .age-select {
        display: none;
    }
    .filter-button {
        display: block;
    }
    .info-grid {
        width: 100%;
        border-radius: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .schedule {
        width: 100%;
        border-radius: 0;
    }
}
@media (max-width: 850px) {
    .courses-grid {
        grid-template-columns: 100%;
        grid-template-rows: repeat(3, 370px);
        padding-inline: 25px;
    }
    .contact-info p {
        font-size: 24px;
    }
    .contact-info h1 {
        font-size: 30px;
    }
    .form {
        width: 80%;
    }
    .form-group input {
        height: 45px;
    }
    #total-form-group input {
        height: 52px;
    }
    .schedule-card {
        width: 45%;
    }
    .total-content {
        width: 85%;
    }
}
@media (max-width: 500px) {
    .schedule-line {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }
    .schedule-card {
        width: 80%;
    }
}
@media (max-width: 675px) {
    .payment-status {
        width: 80%;
    }
    .edu-progress {
        width: 80%;
    }
}
@media (max-width: 575px) {
    .filter-wrapper {
        width: 70%;
    }
    .checkout-btn {
        width: 70%;
        font-size: 24px;
    }
    .total-body h1 {
        font-size: 35px;
    }
}
@media (max-width: 809px) {
    .enter-content {
        height: 650px;
    }
}
@media (max-width: 520px) {
    .enter-content {
        height: 700px;
    }
}
@media (max-width: 1000px) {
    .sertificate-title {
        flex-direction: column;
        margin-bottom: 35px;
        width: 100%;
    }
    .sertificate {
        border-radius: 0;
        height: max-content;
    }
    .sertificate-scans {
        flex-wrap: wrap;
        margin-bottom: 30px;
        row-gap: 30px;
        align-items: center;
    }
    .sertificate-scans img {
        width: 35%;
    }
    .total-content {
        width: 85%;
        height: 750px;
    }
}