*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* New design css */

.new-main-container {
    padding-left: 100px;
    padding-right: 100px;
    min-height: 102px;
}
.breadcrumb-block {
    padding-left: 100px;
    padding-right: 100px;
    margin-top: 166px;
    margin-bottom: 48px;
}

.online-school {
    width: 100%;
    border-radius: 54px;
    background: url("/local/templates/qvant/img/online-back.png") no-repeat center center / cover;
}
.online-school-block {
    padding: 40px 64px;
}
.btn-circle {
    background: #0C81C7;
    border: 1px solid #FFFFFF;
    width: 17px;
    height: 17px;
    border-radius: 100px;
    position: relative;
    box-shadow: 0 0 10px rgba(12, 129, 199, 0.9);
}

.btn-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(12, 180, 255, 0.8);
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.3);
        opacity: 0;
    }
}

.online-school-btn {
    width: 100%;
    max-width: 467px;
    line-height: 86px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background: rgba(215, 241, 240, 1);
    border: 1px solid #FFFFFF;
    border-radius: 80px;
    padding-top: 24px;
    padding-bottom: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    transform: translateY(0);
    margin-bottom: 48px;
}
.online-school-btn:hover {
    transform: translateY(4px) scale(0.97);
}
.online-school-btn p {
    font-family: "Mardoto-Regular", sans-serif;
    color: #002D48;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0.8px;
}
.online-school-description h3{
    font-family: "Mardoto-Black", sans-serif;
    font-weight: 900;
    color: #000000;
    font-size: 40px;
}
.online-school-description-text h4 {
    font-family: "Mardoto-Regular", sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    max-width: 644px;
}
.online-school-description {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.online-school-description-btn {
    display: flex;
    gap: 8px;
}
.btn-get-report {
    background: #002D48;
    border-radius: 80px;
    cursor: pointer;
    transition: all 0.25s ease;
    transform: translateY(0);
}
.btn-get-report:hover {
    transform: translateY(4px) scale(0.97);
}
.btn-get-report p {
    text-align: center;
    font-family: "Mardoto-Regular", sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    color: #FFFFFF;
    padding: 36px 84px;
}
.btn-get-report-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 110px;
    border-radius: 100px;
    background: #002D48;
    transition: all 0.25s ease;
    transform: translateY(0);
}
.btn-get-report-arrow:hover {
    transform: translateY(4px) scale(0.97);
}
.arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 100px;
    background: #FFFFFF;
    padding: 23px;
    cursor: pointer;
}
.top-blocks {
    display: flex;
    gap: 24px;
    width: 100%;
}
.top-blocks-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
.top-blocks-left-bottom {
    display: flex;
    gap: 24px;
}
.in-school-people {
    background: #D7F1F0;
    border-radius: 54px;
    width: 100%;
}
.in-school-people-block {
    display: flex;
    justify-content: space-between;
    padding: 47px 50px;
}
.in-school-people-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.in-school-people-items h3 {
    font-family: 'Mardoto-Bold',sans-serif;
    font-size: 40px;
    line-height: 120%;
    color: #000000;
    text-align: center;
}
.in-school-people-items p {
    font-family: 'Mardoto-Regular',sans-serif;
    font-size: 24px;
    line-height: 120%;
    color: rgba(0, 0, 0, 0.6);
}
.stars-block {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}
.stars-items {
    display: flex;
    gap: 10px;
}
.stars-block p {
    font-family: 'Mardoto-Bold',sans-serif;
    font-size: 32px;
    line-height: 120%;
    color: #000000;
}
.in-school-people-starts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 50px;
    padding-top: 32px;
}
.reviews-people-img {
    display: flex;
    align-items: center;
}

.reviews-people-img-blocks {
    width: 60px;   /* size of the circle */
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff; /* white border between circles */
    margin-left: -20px; /* overlap half of the previous */
    position: relative;
    z-index: 1;
}

.reviews-people-img-blocks:first-child {
    margin-left: 0; /* no overlap on the first one */
}

.reviews-people-img-blocks img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.reviews-count {
    display: flex;
    flex-direction: column;
}
.reviews-count h3 {
    font-family: 'Mardoto-Bold',sans-serif;
    font-size: 32px;
    line-height: 120%;
    color: #000000;
}
.reviews-count p {
    font-family: 'Mardoto-Regular',sans-serif;
    font-size: 24px;
    line-height: 120%;
    color: rgba(0, 0, 0, 0.6);
}
.reviews-people {
    display: flex;
    gap: 16px;
    align-items: start;
}
.post {
    padding: 16px;
}
.post-img {
    width: 100%;
}
.post-img img {
    width: 100%;
    max-width: 1688px;
}
.post-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.post-title {
    font-family: "Mardoto-Bold", sans-serif;
    font-size: 40px;
    line-height: 120%;
}
.post-title-mini {
    font-family: "Mardoto-Bold", sans-serif;
    font-size: 32px;
    line-height: 120%;
}
.post-text {
    font-family: "Mardoto-Regular", sans-serif;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.64px;
}
.post-content {
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.08);
    border-radius: 32px;
}
.post-text-description {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-block {
    display: flex;
    gap: 80px;
}
.contact-info {
    background: #002D48;
    border-radius: 32px;
    width: 100%;
    max-width: 851px;

}
.contact-info-container {
    padding: 40px;
}
.contact-info-container h2 {
    color: #FFFFFF;
    font-family: 'Mardoto-Bold',sans-serif;
    font-weight: normal;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.64px;
    margin-bottom: 47px;
}
.contact-info-item {
    display: flex;
    gap: 50px;
}
.phone-items-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.breaking-line {
    height: 1px;
    width: 100%;
    background: #FFFFFF;
    margin-top: 58px;
    margin-bottom: 58px;
}
.location-block {
    display: flex;
    justify-content: space-between;
}
.social-media {
    display: flex;
    gap: 37px;
}
.phone-items-block h4 {
    color: #FFFFFF;
    font-family: 'Mardoto-Medium',sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 120%;
    letter-spacing: 0.64px;
}
.phone-items-block a {
    text-decoration: underline;
    display: flex;
    gap: 14px;
    align-items: center;
}
.email-block a,.main-location a {
    display: flex;
    gap: 14px;
    align-items: center;
}
.email-location-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.map-container h4 {
    font-family: 'Mardoto-Bold',sans-serif;
    font-size: 32px;
    letter-spacing: 0.68px;
    line-height: 120%;
    margin-bottom: 32px;
}
.map-container {
    margin-top: 80px;
}
.map-container iframe {
    border-radius: 32px;
}
.form-container {
    width: 100%;
    /*max-width: 789px;*/
}
.form-container form {
    display: flex;
    gap: 24px;
    flex-direction: column;
}
.form-container h2 {
    color: #002D48;
    font-size: 24px;
    font-family: 'Mardoto-Bold', sans-serif;
    margin-bottom: 24px;
}
.form-input {
    width: 100%;
    padding: 24px 24px;
    border: 1px solid #002D48;
    background-color: #E8EDF0;
    font-size: 1rem;
    color: #00334E;
    box-sizing: border-box;
}
.form-input::placeholder {
    color: #6c7f8a;
    opacity: 1; /* Ensures placeholder is visible in Firefox */
}
textarea::placeholder {
    color: #6c7f8a;
    opacity: 1;
}
.form-input:focus {
    outline: none;
    border-color: #00334E; /* Highlight on focus */
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .form-input {
    flex: 1; /* Make both inputs take equal space */
    margin-bottom: 0; /* Remove bottom margin as the parent has it */
}
input.form-input {
    border-radius: 50px;
}
.textarea-wrapper {
    position: relative;
}
textarea.form-input {
    border-radius: 40px;
    height: 202px;
    resize: none; /* Disable user resizing */
    padding-bottom: 75px; /* Add space at the bottom for the button */
}
.submit-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #00334E;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease-in-out;
}
.submit-btn:hover {
    background-color: #004a70;
}
.submit-btn .arrow {
    font-size: 0.7rem;
    transform: translateY(1px); /* Fine-tune vertical alignment */
}

/* ========================================= */
/* <!-- ADDED CSS FOR ANIMATION START --> */
/* ========================================= */

/* Augmenting the .submit-btn for animation capabilities */
.submit-btn {
    /* This is crucial for hiding content that moves out of the button's bounds */
    overflow: hidden;
    /* A more sophisticated transition for all animatable properties */
    transition: all 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}

/* This wrapper holds the text and plane icon, allowing them to be animated together */
.submit-btn .btn-text-wrapper {
    font-family: Mardoto-Regular,sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

/* The little plane icon inside the button */
.submit-btn .plane-icon {
    width: 20px;
    height: 20px;
}

/* The '.success' class is added via JavaScript to trigger the animation */
.submit-btn.success {
    background-color: #28a745; /* Beautiful green success color */
    width: 58px;  /* The button will shrink to this width */
    height: 58px; /* and this height to become a circle */
    padding: 0;
    gap: 0;
}

/* When the button has the .success class, hide the text wrapper */
.submit-btn.success .btn-text-wrapper {
    opacity: 0;
    transform: translateY(150%); /* Move text and plane down and out of view */
}

/* Styles for the checkmark SVG that appears on success */
.submit-btn .checkmark {
    position: absolute; /* Position it in the center of the button */
    width: 36px;
    height: 36px;
    opacity: 0;
    transform: scale(0.5);
    /* Delayed appearance for a stunning effect */
    transition: opacity 0.4s ease 0.35s, transform 0.5s cubic-bezier(0.25, 0.1, 0.5, 2) 0.35s;
}

/* On success, make the checkmark visible */
.submit-btn.success .checkmark {
    right: 10px;
    opacity: 1;
    transform: scale(1);
}

/* Animation for drawing the checkmark's circle and check */
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: white;
    fill: none;
    animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.9s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Styles for the paper plane that flies across the screen */
.flying-plane {
    position: fixed; /* Flies over every other element */
    z-index: 9999;
    pointer-events: none; /* So it can't be clicked */
    opacity: 0; /* Hidden by default */
}

/* The class that triggers the flight animation */
.flying-plane.animate {
    /* animation: name duration timing-function delay iteration-count direction fill-mode; */
    animation: fly-across 3s cubic-bezier(0.46, 0.08, 0.6, 0.82) 1 forwards;
}

/* The keyframe animation defining the plane's stunning flight path */
@keyframes fly-across {
    0% {
        opacity: 1;
        transform: scale(0.6) rotate(0deg);
    }
    20% {
        transform: translateX(25vw) translateY(-30vh) scale(0.8) rotate(-25deg);
    }
    40% {
        transform: translateX(50vw) translateY(-20vh) scale(1) rotate(15deg);
    }
    60% {
        transform: translateX(75vw) translateY(-40vh) scale(0.9) rotate(-10deg);
    }
    100% {
        opacity: 0;
        transform: translateX(110vw) translateY(-50vh) scale(0.5) rotate(45deg);
    }
}
.bacc-main-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.bacc-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.bacc-block h2 {
    font-family: 'Mardoto-Bold', sans-serif;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.bacc-block p {
    font-family: 'Mardoto-Regular', sans-serif;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.ib-logo-block-items h4 {
    font-family: 'Mardoto-Bold', sans-serif;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.ib-logo-block-items p {
    font-family: 'Mardoto-Regular', sans-serif;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.ib-logo-block {
    display: flex;
    gap: 32px;
}
.ib-logo-block-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.video-part {
    width: 100%;
    height: 657px;
    border-radius: 40px;
    background: #3a3d42;
}
.video-text p {
    font-family: 'Mardoto-Regular', sans-serif;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.68px;
}
.new-main-container .alert-warning {
    font-family: 'Mardoto-Regular', sans-serif;
    font-weight: normal;
    font-size: 42px;
    line-height: 120%;
    letter-spacing: 0.68px;
    margin-bottom: 300px;
    display: flex;
    justify-content: center;
}
.sign-up {
    background: #002D48;
    border-radius: 80px;
}
.login-toggle {
    display: flex;
    gap: 10px;
    padding: 17px 24px;
}
.sign-up-toggle img {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.sign-up-toggle.rotated img {
    transform: rotate(90deg); /* points down (was right) */
}
.sign-up-toggle {
    color: #FFFFFF!important;
}
.video-blocks {
    min-height: 320px;
}
:root {
    --brand-color: #002D48;
    --bg-color: #FFFFFF;
    --magic-glow-1: #48D1CC;
    --magic-glow-2: #EE82EE;
    --text-secondary: #5A7A95;
    --magic-glitch-1: #ff00c1;
    --magic-glitch-2: #00fff9;
}

.magic-404-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    padding: 2rem;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--magic-glow-1), var(--magic-glow-2));
    animation: move-particles 25s linear infinite;
    opacity: 0;
}

.particle:nth-child(1) { width: 10px; height: 10px; left: 15%; animation-duration: 20s; animation-delay: -2s; }
.particle:nth-child(2) { width: 15px; height: 15px; left: 30%; animation-duration: 35s; animation-delay: -5s; }
.particle:nth-child(3) { width: 8px; height: 8px; left: 50%; animation-duration: 18s; animation-delay: -10s; }
.particle:nth-child(4) { width: 12px; height: 12px; left: 75%; animation-duration: 30s; animation-delay: -15s; }
.particle:nth-child(5) { width: 18px; height: 18px; left: 90%; animation-duration: 22s; animation-delay: -20s; }

@keyframes move-particles {
    0% { transform: translateY(100vh) scale(0.5); opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}


.magic-404-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    gap: 4rem;
    z-index: 2;
}

.magic-404-text {
    flex: 1;
    max-width: 500px;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.magic-404-text h1 {
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 800;
    margin: 0;
    line-height: 1;
    color: var(--brand-color);
    text-shadow: 0 5px 25px rgba(0, 45, 72, 0.1);
}

.glitch-effect {
    position: relative;
    animation: glitch-flicker 3s linear infinite;
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    overflow: hidden;
}

.glitch-effect::before {
    left: 3px;
    text-shadow: -2px 0 var(--magic-glitch-1);
    animation: glitch-anim-1 2.5s infinite linear reverse;
}

.glitch-effect::after {
    left: -3px;
    text-shadow: -2px 0 var(--magic-glitch-2);
    animation: glitch-anim-2 2.5s infinite linear reverse;
}

@keyframes glitch-flicker {
    0%, 100% { opacity: 1; }
    30%, 32% { opacity: 0.8; }
    35% { opacity: 1; }
    60%, 63% { opacity: 0.7; }
    65% { opacity: 1; }
}

@keyframes glitch-anim-1 {
    0%, 100% { clip-path: inset(0 0 98% 0); }
    25% { clip-path: inset(25% 0 50% 0); }
    50% { clip-path: inset(90% 0 5% 0); }
    75% { clip-path: inset(45% 0 45% 0); }
}

@keyframes glitch-anim-2 {
    0%, 100% { clip-path: inset(95% 0 2% 0); }
    25% { clip-path: inset(10% 0 80% 0); }
    50% { clip-path: inset(60% 0 30% 0); }
    75% { clip-path: inset(0 0 90% 0); }
}


.magic-404-text h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 600;
    color: var(--brand-color);
    margin: 10px 0 15px;
    opacity: 0.9;
}

.magic-404-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.magic-404-button {
    display: inline-block;
    background: var(--brand-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 45, 72, 0.3);
}

.magic-404-button:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 45, 72, 0.4);
}

.magic-404-visuals {
    flex: 1;
    position: relative;
    min-height: 400px;
    min-width: 400px;
    transition: transform 0.2s linear;
}

.magic-404-visuals .icon {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-book { top: 20%; left: 10%; width: 160px; animation: magic-float 8s ease-in-out infinite; }
.icon-pencil { top: 60%; left: 70%; width: 120px; animation: draw-magic 10s ease-in-out infinite 1s; }
.icon-idea { top: 10%; left: 65%; width: 80px; animation: pulse-glow 4s ease-in-out infinite; }
.icon-atom { top: 70%; left: 5%; width: 100px; animation: spin-orbit 15s linear infinite; }
.icon-hat { top: 5%; left: 15%; width: 70px; animation: magic-float 12s ease-in-out infinite 2s; }

@keyframes magic-float {
    0%, 100% { transform: translateY(0px) rotate(-3deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}
@keyframes draw-magic {
    0%, 100% { transform: rotate(-30deg) translateX(0); }
    25% { transform: rotate(-10deg) translateX(10px); }
    50% { transform: rotate(-30deg) translateX(-10px) scale(1.1); }
    75% { transform: rotate(-20deg) translateX(0); }
}
@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--magic-glow-1)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 20px var(--magic-glow-1)); }
}
@keyframes spin-orbit {
    from { transform: rotate(0deg) scale(0.95); }
    to { transform: rotate(360deg) scale(1.05); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .magic-404-grid { flex-direction: column; text-align: center; }
    .magic-404-visuals { order: 1; min-height: 300px; min-width: 300px; margin-bottom: 2rem; }
    .magic-404-text { order: 2; }
}
@media (min-width: 1921px) {
    .post-img img {
        max-width: unset;
    }
    .new-main-container {
        margin: 0 auto;
        max-width: 1921px;
    }
}
@media (min-width: 1280px) and (max-width: 1919px) {
    .reviews-count h3 {
        font-size: 23px;
    }
    .reviews-count p,.in-school-people-items p,.stars-block p {
        font-size: 20px;
    }
    .top-blocks-left {
        gap: 5px;
    }
    .stars-block,.reviews-count h3 {
        order: 1;
    }
    .in-school-people-starts {
        padding: 5px 12px;
    }
    .btn-get-report p {
        padding: 36px 42px;
        font-size: 24px;
    }
    .reviews-count {
        justify-content: space-between;
        flex-direction: unset;
    }
    .reviews-people {
        flex-direction: column;
    }
    .in-school-people-items {
        flex-direction: unset;
        align-items: center;
        justify-content: space-between;
    }
    .in-school-people-items h3 {
        font-size: 23px;
        order: 1;
    }
    .in-school-people-block {
        padding: 29px 24px;
        flex-direction: column;
    }
    .online-school-block {
        padding: 24px 24px;
    }
    .online-school-btn {
        max-width: 367px;
    }
    .online-school-btn p {
        font-size: 20px;
    }
    .new-main-container,.breadcrumb-block {
        padding-left: 40px;
        padding-right: 40px;
    }
    .contact-info-item {
        flex-direction: column;
        gap: 24px;
    }
    .phone-items-block {
        flex-direction: unset;
        justify-content: space-between;
    }
    .contact-info-container h2 {
        margin-bottom: 24px;
    }
    .breaking-line {
        margin-bottom: 28px;
        margin-top: 28px;
    }
    .email-location-block {
        gap: 24px;
    }
    .location-block {
        flex-direction: column;
        gap: 24px;
    }
    .contact-block {
        gap: 24px;
    }
    .map-container {
        margin-top: 48px;
    }
}
@media (min-width: 1024px) and (max-width: 1279px) {
    .main_news_title_button-block a {
        font-size: 20px;
    }
    .main_news_title h2 {
        font-size: 24px;
    }
    .in-school-people-block {
        gap: 16px;
    }
    .reviews-count p {
        font-size: 20px;
    }
    .reviews-count h3 {
        order: 1;
        font-size: 24px;
    }
    .reviews-count {
        flex-direction: unset;
        justify-content: space-between;
        width: 100%;
    }

    .reviews-people {
        flex-direction: column;
    }
    .stars-block {
        order: 1;
    }
    .in-school-people-starts {
        padding: 32px 24px;
    }
    .in-school-people-items h3 {
        order: 1;
        font-size: 32px;
    }
    .in-school-people-items p {
        font-size: 20px;
    }
    .in-school-people-items {
        justify-content: space-between;
        flex-direction: unset;
    }
    .in-school-people-block {
        padding: 28px 24px;
        flex-direction: column;
    }
    .top-blocks {
        gap: 16px;
    }
    .btn-get-report p {
        padding: 32px;
    }
    .btn-get-report {
        width: 100%;
    }
    .btn-get-report-arrow {
        display: none;
    }
    .online-school-btn {
        max-width: 271px;
    }
    .online-school-description h3,.btn-get-report p {
        font-size: 24px;
    }
    .online-school-btn p,.online-school-description-text h4 {
        font-size: 20px;
    }
    .online-school-block {
        padding: 24px;
    }
    .online-school {
        border-radius: 64px;
    }
    .olympics-logo img {
        max-width: 38px;
    }
    .reward-info-blocks {
        padding-bottom: 38px;
    }
    .student-info-winner {
        flex-direction: unset;
        align-items: center;
    }
    .winner-name h3 {
        font-size: 24px;
    }
    .olympics-name p {
        font-size: 20px;
    }
    .reward-block-img {
        height: 476px;
    }
    .top-blocks {
        flex-direction: column;
    }
    .top-blocks-left {
        order: 1;
    }
    .reward-slider {
        max-width: unset;
    }

    .contact-info-item {
        flex-direction: column;
    }
    .phone-items-block {
        flex-direction: unset;
        justify-content: space-between;
    }
    .map-container {
        margin-top: 47px;
    }
    .map-container h4 {
        font-size: 24px;
    }
    .contact-block {
        gap: 24px;
    }
    .post-title-mini {
        font-size: 24px;
    }
    .bacc-block h2 {
        font-size: 32px;
    }
    .bacc-block p {
        font-size: 20px;
    }
    .ib-logo-block-items h4 {
        font-size: 24px;
    }
    .ib-logo-block-items p {
        font-size: 20px;
    }
    .video-text p {
        font-size: 20px;
    }
    .contact-block {
        flex-direction: column;
    }
    .contact-info {
        max-width: unset;
    }
    .form-container {
        max-width: unset;
    }
    .post-title {
        font-size: 24px;
    }
    .post-text {
        font-size: 20px;
    }
    .new-main-container,.breadcrumb-block {
        padding-left: 40px;
        padding-right: 40px;
    }
    .breadcrumbInner strong {
        font-size: 24px!important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .main_news_title_button-block a {
        font-size: 20px;
    }
    .main_news_title h2 {
        font-size: 24px;
    }
    .in-school-people-block {
        gap: 16px;
    }
    .reviews-count p {
        font-size: 20px;
    }
    .reviews-count h3 {
        order: 1;
        font-size: 24px;
    }
    .reviews-count {
        flex-direction: unset;
        justify-content: space-between;
        width: 100%;
    }

    .reviews-people {
        flex-direction: column;
    }
    .stars-block {
        order: 1;
    }
    .in-school-people-starts {
        padding: 32px 24px;
    }
    .in-school-people-items h3 {
        order: 1;
        font-size: 32px;
    }
    .in-school-people-items p {
        font-size: 20px;
    }
    .in-school-people-items {
        justify-content: space-between;
        flex-direction: unset;
    }
    .in-school-people-block {
        padding: 28px 24px;
        flex-direction: column;
    }
    .top-blocks {
        gap: 16px;
    }
    .btn-get-report p {
        padding: 32px;
    }
    .btn-get-report {
        width: 100%;
    }
    .btn-get-report-arrow {
        display: none;
    }
    .online-school-btn {
        max-width: 271px;
    }
    .online-school-description h3,.btn-get-report p {
        font-size: 24px;
    }
    .online-school-btn p,.online-school-description-text h4 {
        font-size: 20px;
    }
    .online-school-block {
        padding: 24px;
    }
    .online-school {
        border-radius: 64px;
    }
    .olympics-logo img {
        max-width: 38px;
    }
    .reward-info-blocks {
        padding-bottom: 38px;
    }
    .student-info-winner {
        flex-direction: unset;
        align-items: center;
    }
    .winner-name h3 {
        font-size: 24px;
    }
    .olympics-name p {
        font-size: 20px;
    }
    .reward-block-img {
        height: 476px;
    }
    .top-blocks {
        flex-direction: column;
    }
    .top-blocks-left {
        order: 1;
    }
    .reward-slider {
        max-width: unset;
    }






    .contact-info-container {
        padding: 24px;
    }
    .contact-info-item {
        flex-direction: column;
        gap: 24px;
    }
    .breaking-line {
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .phone-items-block {
        flex-direction: unset;
        justify-content: space-between;
    }
    .breadcrumbInner strong {
        font-size: 24px!important;
    }
    .bacc-block h2 {
        font-size: 24px;
    }
    .bacc-block p {
        font-size: 16px;
    }
    .ib-logo-block-items h4 {
        font-size: 20px;
    }
    .ib-logo-block-items p {
        font-size: 16px;
    }
    .video-text p {
        font-size: 16px;
    }
    .contact-block {
        gap: 24px;
        flex-direction: column;
    }
    .map-container {
        margin-top: 47px;
    }
    .contact-info {
        max-width: unset;
    }
    .form-container {
        max-width: unset;
    }
    .post-title {
        font-size: 24px;
    }
    .post-title-mini {
        font-size: 20px;
    }
    .post-text {
        font-size: 16px;
    }
    .new-main-container,.breadcrumb-block {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (min-width: 320px) and (max-width: 767px) {
    .main_news_title h2 {
        font-size: 14px;
    }
    .top-blocks-left-bottom {
        flex-direction: column;
    }
    .main_news_title_button-block {
        padding: 7px 17px;
    }
    .main_news_title_button-block a {
        font-size: 14px;
    }
    .main_news_title h2 {
        font-size: 14px;
    }
    .in-school-people-block {
        gap: 16px;
    }
    .reviews-count p {
        font-size: 20px;
    }
    .reviews-count h3 {
        order: 1;
        font-size: 24px;
    }
    .reviews-count {
        flex-direction: unset;
        justify-content: space-between;
        width: 100%;
    }

    .reviews-people {
        flex-direction: column;
    }
    .stars-block {
        order: 1;
    }
    .in-school-people-starts {
        padding: 32px 24px;
    }
    .in-school-people-items h3 {
        order: 1;
        font-size: 32px;
    }
    .in-school-people-items p {
        font-size: 20px;
    }
    .in-school-people-items {
        justify-content: space-between;
        flex-direction: unset;
    }
    .in-school-people-block {
        padding: 28px 24px;
        flex-direction: column;
    }
    .top-blocks {
        gap: 16px;
    }
    .btn-get-report p {
        padding: 16px;
    }
    .btn-get-report {
        width: 100%;
    }
    .btn-get-report-arrow {
        display: none;
    }
    .online-school-btn {
        max-width: 199px;
        padding: 10px;
        margin-bottom: 16px;
    }
    .online-school-description {
        gap: 16px;
    }
    .online-school-description h3,.btn-get-report p {
        font-size: 16px;
    }
    .online-school-btn p,.online-school-description-text h4 {
        font-size: 14px;
    }
    .online-school-block {
        padding: 16px;
    }
    .online-school {
        border-radius: 16px;
    }
    .in-school-people {
        border-radius: 16px;
    }
    .olympics-logo img {
        max-width: 38px;
    }
    .reward-info-blocks {
        padding-bottom: 38px;
    }
    .winner-name h3 {
        font-size: 16px;
    }
    .olympics-name p {
        font-size: 16px;
    }
    .points-blocks p {
        font-size: 16px;
    }
    .reward-block-img {
        border-radius: 16px;
        height: 407px;
    }
    .top-blocks {
        flex-direction: column;
    }
    .top-blocks-left {
        order: 1;
    }
    .reward-slider {
        max-width: unset;
    }


    .post-title-mini {
        font-size: 14px;
    }
    .breadcrumbInner strong {
        font-size: 24px!important;
    }
    .bacc-block h2 {
        font-size: 16px;
    }
    .bacc-block p {
        font-size: 12px;
    }
    .ib-logo-block-items h4 {
        font-size: 20px;
    }
    .ib-logo-block-items p {
        font-size: 12px;
    }
    .video-text p {
        font-size: 12px;
    }
    .contact-info-item {
        flex-direction: column;
        gap: 24px;
    }
    .bacc-main-block {
        gap: 8px;
    }
    .ib-logo-block {
        flex-direction: column;
        gap: 8px;
    }
    .phone-items-block {
        flex-direction: column;
        justify-content: space-between;
    }
    .contact-info-container h2 {
        margin-bottom: 24px;
        font-size: 16px;
    }
    .phone-items-block a {
        font-size: 16px;
    }
    .phone-items-block h4 {
        font-size: 16px;
    }
    .form-input {
        padding: 16px 24px;
    }

    .breaking-line {
        margin-bottom: 28px;
        margin-top: 28px;
    }
    .email-location-block {
        gap: 24px;
    }
    .email-location-block a {
        font-size: 16px;
    }
    .location-block {
        flex-direction: column;
        gap: 24px;
    }
    .contact-block {
        gap: 16px;
        flex-direction: column;
    }
    .map-container {
        margin-top: 32px;
    }
    .contact-info-container {
        padding: 24px 8px;
    }
    .social-media {
        justify-content: center;
    }
    .form-row {
        flex-direction: column;
        gap: 8px;
    }
    .form-container form {
        gap: 8px;
    }
    .map-container h4,.form-container h2 {
        font-size: 16px;
    }
    .contact-info {
        max-width: unset;
    }
    .form-container {
        max-width: unset;
    }
    .post-title {
        font-size: 16px;
    }
    .post-text {
        font-size: 12px;
    }
    .new-main-container,.breadcrumb-block {
        padding-left: 8px;
        padding-right: 8px;
    }
}
@media (min-width: 1921px) and (max-width: 3840px) {
    .post-img {
        display: flex;
        justify-content: center;
    }
}