
:root {
    --primary-yellow: #FDCF58;
    --primary-dark: #2C313F;
    --secondary-dark: #383E4D;
    --bg-light: #F4F6F8;
    --text-dark: #1A1A1A;
    --text-gray: #666;
    --white: #FFFFFF;
    --container-width: 1640px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-width);
 /*   width: var(--container-width);*/
    margin: 0 auto;
    padding: 0 100px;
}

.container-hero {
    width: 100%;
}
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 24px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 40px;
    border-radius: 4px;

}

.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

.btn-yellow:hover {
    background-color: #e5bb4b;
}

.btn-white {
    background-color: #fff;
    color: var(--text-dark);
}

.btn-white:hover {
    background-color: #eee;
}

#agree {
    accent-color: #FFD400;
}

/* HEADER */
header {
    /* background-color: var(--primary-dark); */
    /*position: sticky;*/
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    color: white;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-mobile {
    display: none;
}
/* Desktop Nav */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-desktop ul {
    display: flex;
    gap: 32px;

    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;

}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    top: -100%;
    width: 100%;
    height: 100vh;
    background-color: #272a3b;
    z-index: 999;
    padding-top: 80px;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
   /* align-items: center;*/
    padding-left:
}

.mobile-menu.active {
    top: 0;
    padding-left: 30px;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 18px;
    color: white;
}

/* Burger animation state */
.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.bg_hero {
    /*background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('../img/hero.jpg');*/
    background: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero {
    /* background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('../img/hero.jpg');
     background-size: cover;
     background-position: center;*/
    height: 793px;
    display: flex;
    align-items: center;
    padding-bottom: 60px;
    color: white;
}

.hero h1 {
    max-width: 700px;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 44px;
    line-height: 52px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    letter-spacing: 0.25px;
}

.features-grid .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.responsive-video {
    height: fit-content;
}
.feature-card {
    padding: 24px;
    background: #FFFFFF;
    background: color(display-p3 1.000 1.000 1.000);
    border: 1px solid #EBEDF9;
    height: 312px !important;
    border-radius: 12px;
    display: flex !important;
    flex-direction: column;
}

.about-text {
    margin-top: auto;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border: 3px solid #4F5A6D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon img {
    position: absolute;
    transition: opacity 0.3s ease;
}

.icon-hover {
    opacity: 0;
}

.feature-icon:hover .icon-default {
    opacity: 0;
}

.feature-icon:hover .icon-hover {
    opacity: 1;
}

.feature-icon:hover {
    background-color: #ffcc33;
    box-shadow: 0 8px 20px rgba(255, 204, 51, 0.4);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;

}

.feature-card p {
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 0.15px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

/* MISSION SECTION */
.mission {
    background: var(--primary-dark, #272a3b);
    color: #fff;
    padding: 0;
    position: relative;
}

.mission-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1640px;
    margin: 0 auto;
    background: url('../img/bg_mission.jpg');
    padding: 100px;
    z-index: 2;
    position: relative;
}

#mission::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50vw;
    height: 100%;
    background: #262a3e;
    z-index: 0;
}

#mission::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 50vw;
    height: 100%;
    background: #ffcc33;
    z-index: 0;
}

.mission-text-block {
    width: 50%;
    /* padding: 80px 60px;*/
    display: flex;
    flex-direction: column;

}

.mission-bottom-block {
    margin-top: auto;
}

.mission h2 {
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.mission h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

/* Tags */
.tags {
    display: flex;
    gap: 15px;
}

.tags span {
    background: #FFC600;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    color: #000;
}

/* ----- Image block ----- */
.mission-image-block {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.mission-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /*padding-right: 100px;*/
    max-height: 505px;
}

.mission-image-block .yellow-shape {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 60%;
    background: #FFC600;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* ========== Mobile version ========== */
@media (max-width: 768px) {

    .features-grid .swiper-wrapper {
        display: flex;
        gap: 0;
    }

    .mission-container {
        flex-direction: column-reverse;
        position: relative;
    }

    .container-hero {
        width: inherit;
    }

    .mission-text-block {
        width: 100%;
        padding: 40px 20px;
    }

    .mission h3 {
        font-size: 22px;
    }

    .mission-image-block {
        width: 100%;
        height: 280px;
    }

    .mission-image-block .yellow-shape {
        width: 70%;
        height: 70%;
    }

    .tags {
        flex-wrap: wrap;
        gap: 10px;
    }
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.digits-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 20px 0;
}

.digit-item {
    width: 394px;
    margin: 0 auto;
}

.digit-item strong {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 42px;
    line-height: 56px;
}

.digit-item span {
    color: var(--text-gray);
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}

.digit-icon {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border: 3px solid #4F5A6D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;

}

.clients-row .swiper-wrapper {
    /* display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 15px;*/
}

.client-logo.swiper-slide {
    background: #FFFFFF;
    border: 1px solid #EBEDF8;
    border-radius: 12px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    width: auto;
}

.client-logo.swiper-slide img {
    max-width: 80%;
    max-height: 60%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.structure {
    background-color: var(--primary-dark);
    color: white;
}

.structure-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
    align-items: flex-end;
}

.structure-header-p {
    text-align: right;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.15px;
    color: rgba(255, 255, 255, 0.8);
}

.structure-grid .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.swiper-slide.structure-card {
    background: var(--secondary-dark);
    padding: 24px;
    min-height: 180px;
    border: 1px solid #4F5A6D;
    border-radius: 12px;
    height: 244px;
}

.structure-card h4 {
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.15px;
}

.structure-card p {
    opacity: 0.7;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;

}

.cta-yellow {
    background-color: var(--primary-yellow);

}

.cta-yellow .cta-yellow-container {
    padding: 100px 0;
    background: url('../img/bg_b2b.jpg');
    background-repeat: no-repeat;
    background-position: bottom;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
}

.cta-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;

    letter-spacing: 0.25px;

img {
    margin-right: 15px;
}

}
.cta-right {
    max-width: 500px;
}

.cta-right p {
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.photo-card {
    position: relative;
    height: 311px;
    border-radius: 8px;
    overflow: hidden;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 30%, transparent);
    color: white;
    padding: 24px;
    padding-top: 90px;
}

.card-overlay h4 {
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
}

.card-overlay p {
    opacity: 0.9;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

.school-layout {
    display: grid;
    grid-template-columns: 0.982fr 2fr;
    gap: 16px;
}

.school-content.swiper {
    width: 100%;
}

.school-content .swiper-wrapper {
    display: block;
    height: auto;
}

.swiper-slide.school-list-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    background: #FFFFFF;
    border: 1px solid #EBEDF8;
    border-radius: 12px;
    padding: 24px;
    height: 128px;
    align-items: center;
}

.swiper-slide.school-list-item h4 {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
}

.school-icon {
    min-width: 80px;
    height: 80px;
    border: 3px solid #4F5A6D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.school-video {
    text-align: right;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.15px;
}

.video-placeholder {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    border-radius: 8px;
    /*border: 1px solid #eee;*/
    font-size: 18px;
}

.gallery-grid .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}

.gallery-img {
    border-radius: 16px; /* Скругление как на макете */
    overflow: hidden;
    position: relative;
    background: #eee;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Картинка заполняет блок, не искажаясь */
    display: block;
    transition: transform 0.3s ease;
}
.gallery-img:hover img {
    transform: scale(1.05); /* Легкий зум при наведении */
}

.g-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.g-item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.g-item-3 {
    grid-column: 1 / 3; /* Занимает 1 и 2 колонку */
    grid-row: 2 / 3;    /* Находится во 2 ряду */
}

.g-item-4 {
    grid-column: 3 / 4; /* Занимает 3 колонку */
    grid-row: 1 / 3;    /* Растягивается на 1 и 2 ряд (на всю высоту) */
}

.g-item-5 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.g-item-6 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

.footer-form-section {
    background: url(../img/bg_footer.jpg);
    background-repeat: no-repeat;

    background-color: var(--primary-dark);
    background-position: bottom;
    color: white;
    padding: 100px 0;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.form-text h1 {
    font-weight: 700;
    font-size: 44px;
    line-height: 52px;
    margin-bottom: 24px;
}

.form-text .subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}

.form-card {
    background: white;
    padding: 36px 32px;
    border-radius: 8px;
    color: var(--text-dark);
    max-width: 590px;
    justify-self: end;
    width: 100%;
}

.form-card-title {
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 26px 0 7px 0;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    background: #fff;
    letter-spacing: 0.15px;

.btn {
    padding: 20px 24px;
}

}

select.form-input {
    background: #fff url("../img/select.svg") no-repeat right 12px center;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #747272;
}

select.form-input:has(option:not([value=""]):checked) {
    color: #000;
}

.file-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 18px;
}

.file-btn {
    flex: 1;
    border: none;
    background: #f1f2f4;
    padding: 18px;
    text-align: left;
    color: #777;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;


i {
    position: absolute;
    height: 24px;
    width: 24px;
    background: url('../img/attach.svg');
    right: 16px;
    top: 11px;
}
}

.checkbox-group {
    color: #777;
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    align-items: flex-start;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0.1px;
}

/* BOTTOM FOOTER */
.bottom-footer {
    background: #eee;
    padding: 60px 0 40px 0;
    text-align: center;
    font-size: 12px;
    color: #888;
}

.bottom-footer .logo, .bottom-footer .bottom-nav {
    margin-bottom: 48px;
}

.bottom-nav {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;

    color: rgba(0, 0, 0, 0.6);


}

.btn-header-desktop {
    padding: 4px 24px;
}
/* ========================================= */
/* MOBILE STYLES (MAX WIDTH 992px & 768px)   */
/* ========================================= */
@media (max-width: 1400px) and (min-width: 993px) {
    .swiper-slide.structure-card{
        height:inherit;
    }

    .feature-card{
        height:inherit !important;
    }
}
@media (max-width: 992px) {
    .structure-grid .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {

    header {
        position: sticky;
        background: #262A3B;
        padding:16px 0;
    }
    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    .burger-btn {
        display: flex;
    }

    .btn-header-desktop {
        display: none;
    }

    .btn{
        background-color: #F0F2F4;
        font-size: 14px;
        padding: 2px 24px;
        width:100%;
    }

    .sticky-mobile .btn-yellow{
        background-color: var(--primary-yellow);
        padding: 8px 24px;
        font-size: 16px;
    }
    /* Hero */
    .hero {
        height: auto;
        min-height: 700px;
        padding: 40px 0;
        align-items: flex-end;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 2%, transparent);
    }

    .hero h1 {
        text-align: center;
        font-weight: 700;
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 20px;
    }

    .bg_hero {
        background-position: 67% center;
    }

    .hero .btn {
        width: 100%;
    }

    .nav-mobile.sticky-mobile {
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
        position:absolute;
    }

    .nav-mobile.sticky-mobile.sticky-btn {
        position: fixed !important;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        margin: 0 !important;
        border-radius: 12px 12px 0 0 !important;
        padding: 16px;
        background: #fff;
        display: block;
        animation: stickyJumpIn 0.35s ease-out forwards;
        opacity: 1;
        pointer-events: auto;

        .btn {
            width: 100%;
        }

        .file-row {
            flex-direction: column;
        }
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        height: 100%;
    }

    .section-padding {
        padding: 40px 0;
        overflow: hidden;
    }

    .section-title {
        margin-bottom: 20px;
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
    }

    .features-grid.swiper {
        overflow: visible;
    }

    .swiper-wrapper .swiper-slide {
        width: auto;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    #about .swiper-wrapper .swiper-slide{
        width: 240px;
    }

    .features-grid {
        grid-template-columns: 1fr;

    }

    .feature-card {
        max-width: 100%;
    }

    .mission-container {
        flex-direction: column-reverse;
        padding: 194px 0 0;
        min-height: 545px;
    }
    .mission h2{
        margin-bottom:12px;
        line-height: 1rem;
    }
    .mission-text-block {
        width: 100%;
        padding: 40px 20px;
        z-index: 1;
    }

    .mission-image-block {
        position: absolute;
        z-index: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        top: 0;

    img {
        padding: 0;
    }

        &:after {
            content: "";
            position: absolute;
            inset: 0;
             background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 14%, transparent);
            z-index: 0;
        }
    }

    .mission h3 {
        font-weight: 500;
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0.25px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 12px;
    }

    .mission-image-block img{
        max-height: inherit;
    }

    .digits-grid {
        flex-direction: column;
        gap: 40px;
    }

    .digit-icon{
        width: 60px;
        height: 60px;

        img{
            height: 37px;
        }
    }

    .digit-item{
        margin 0 auto;
        width: auto;
    }

    .digit-item strong{
        font-size: 24px;
        line-height: 32px;
    }

    .digit-item span{
        font-size: 14px;
        line-height: 20px;
    }

    .client-logo.swiper-slide {
        padding: 0 20px;
        height: 80px;
    }

    .clients-row .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 12px;
    }

    .client-logo {
        padding: 0 20px;
    }

    .structure-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom:20px;
    }

    .swiper-slide.structure-card{
        padding:20px;
    }

    .structure-card h4{
        margin-bottom: 8px;
        font-size: 16px;
        line-height: 24px;
    }

    .structure-card p{
        font-size: 14px;
        line-height: 24px;
    }

    .structure-header p {
        text-align: left;
        opacity: 0.8;
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
    }

    .structure-grid .swiper-wrapper {
        display: flex;
        gap: 0;
    }

    .cta-yellow {
        /*background: #f1f2f4;
        padding: 40px 16px;*/
    }

    .cta-yellow-mobile-gray {
        background: #262A3B;
    }

    .cta-yellow .cta-yellow-container {
        background-color: var(--primary-yellow);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 70px 0 40px 0;
        border-radius: 12px;
        background-position: top;
        background-size: cover;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .cta-left {
        display: block;
        font-style: normal;
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 20px;

        img {
            max-width: 70%;
            display: block;
            margin: 0 auto;
            margin-bottom:16px;
        }

    }
    .cta-right {
        width: 100%;
    }

    .cta-right .btn {
        width: 100%;
        background-color: white;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        margin-bottom:20px;
    }

    .school-layout {
        display: block;
        grid-template-columns: 1fr;
    }

    .card-overlay{
        padding:20px;
    }

    .card-overlay h4{
        margin-bottom:8px;
        font-size: 16px;
        line-height: 24px;
    }

    .card-overlay p{
        font-size: 14px;
        line-height: 20px;
    }

    .school-video {
        text-align: left;
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 24px;
        justify-self: left;
    }

    .swiper-slide.school-list-item h4{
        font-size: 16px;
        line-height: 24px;
    }

    .school-content .swiper-wrapper {
        display: flex;
        height: auto;
    }

    .swiper-slide.school-list-item {
        display: block;
        width: auto;
    }

    .school-content .section-title{
        margin-bottom: 0;
    }

    .school-content .school-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        margin-bottom: 12px;
        border: 2px solid #4F5A6D;
    }

    .school-content .school-icon img{
        height:30px;
    }

    .school-list-item {
        margin-bottom: 0;
    }

    .school-content {
        margin-bottom: 12px;
    }

    .swiper-slide.school-list-item{
        padding:20px;
    }

    .video-placeholder {
        min-height: 200px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 320px;

    }

    .gallery-grid .swiper-wrapper {
        gap: 0px;
        display: flex;
    }


    .swiper-slide.gallery-img {
        height: 230px;
    }

    .form-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-text h1 {
        font-size: 28px;
        line-height: 1.5em;
        margin-bottom:12px;
    }

    .form-text .subtitle{
        font-size: 16px;
        line-height: 24px;
    }

    .form-card {
        padding: 25px;
    }

    .bottom-nav, .file-row {
        flex-direction: column;
        gap: 10px;
    }

    .footer-form-section{
        padding: 40px 0;
        background: #262A3B;
    }
    .bottom-nav{
        margin-bottom: 40px;
    }

    .bottom-footer .container{
        padding-bottom: 90px;
    }

    .bottom-footer .logo {
        margin-bottom: 40px;
    }

    .bottom-nav{
        gap:24px;
    }

    .photo-card {
      height:230px;
    }

}

.form-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.form-popup.hidden {
    display: none;
}

.popup-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.popup-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.popup-close {
    background: #ffcc00;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}
.mobile-menu.active {
    top: 0;
    padding: 0 30px;
    padding-top: 80px;
}
@keyframes stickyJumpIn {
    0% {
        transform: translateY(100%);
    }
    60% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(0);
    }
}