* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
    color: #333333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px 0 35px;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: flex-start;
    padding-top: 340px;
    padding-bottom: 60px;
    background-image: url('../assets/images/section_1_pc.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    overflow: hidden;
}

.hero-content {
    max-width: 500px;
    color: #ffffff;
    padding: 0;
    margin-right: auto;
    margin-left: 0;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    margin-bottom: 35px;
    letter-spacing: -0.01em;
}

.hero-content h1 .highlight {
    display: block;
    color: #ff7a38;
    font-weight: 900;
    margin-top: 12px;
    text-shadow: 0 0 12px rgba(255, 122, 56, 0.6),
    0 0 24px rgba(255, 122, 56, 0.3);
}

.btn-primary {
    display: inline-block;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    color: #ff7a38;
    background-color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    animation: buttonPulse 2.5s infinite ease-in-out;
}

.btn-primary:hover {
    background-color: #ff7a38;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 122, 56, 0.4);
    animation-play-state: paused;
}

@keyframes buttonPulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
    50% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2), 0 8px 25px rgba(0, 0, 0, 0.2); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .hero-section {
        background-image: url('../assets/images/section_1_mobile.svg');
        background-position: top center;
        background-size: cover;
        background-repeat: no-repeat;
        height: 100vh;
        height: 100dvh;
        min-height: unset;
        display: flex;
        align-items: stretch;
        padding: 0;
        overflow: hidden;
    }

    .container {
        padding: 220px 20px 40px 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        text-align: right;
        margin-left: auto;
        margin-right: 0;
        background: none;
        backdrop-filter: none;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .hero-content h1 .highlight {
        margin-top: 5px;
    }

    .btn-primary {
        padding: 16px 40px;
        font-size: 16px;
        min-width: 240px;
        text-align: center;
        flex-shrink: 0;
    }
}
/*
Секція 2
 */

.about-section {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/images/section_2_pc.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 80px 40px;
    overflow: hidden;

    /* Підключаємо Montserrat та додаємо апаратне згладжування тексту */
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(74, 90, 40, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.about-container {
    position: relative;
    z-index: 1;
    max-width: 780px;
    width: 100%;
    text-align: center;
}

.about-header {
    margin-bottom: 36px;
}

.about-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800; /* ExtraBold */
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.underline-img {
    width: 300px;
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-text-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 50px;
}

.about-text-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff7a38;
    border-radius: 0 0 4px 4px;
}

.about-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600; /* Medium для гарної читабельності */
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    margin: 0;
}

/* ОРАНЖЕВИЙ ТЕКСТ З ЕФЕКТОМ ПІДСВІЧЕННЯ */
.highlight-orange {
    color: #ff7a38;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: 0.02em;
    display: inline-block; /* Потрібно для коректного відображення тіні */

    /* М'яке неонове світіння, щоб текст "горів" на темному тлі */
    text-shadow: 0 0 10px rgba(255, 122, 56, 0.55),
    0 0 20px rgba(255, 122, 56, 0.3);
}

/* ==========================================================================
   АДАПТИВНІСТЬ ДЛЯ СЕКЦІЇ 2
   ========================================================================== */
@media (max-width: 768px) {
    .about-section {
        background-image: url('../assets/images/section_2_mobile.svg');
        min-height: 50vh;
        padding: 50px 20px;
    }

    .about-header h2 {
        font-size: 34px;
        font-family: 'Montserrat', sans-serif;
    }

    .underline-img {
        width: 200px;
    }

    .about-text-wrapper {
        padding: 28px 24px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.7;
        font-family: 'Montserrat', sans-serif;
    }

    .highlight-orange {
        font-size: 17px;
        /* Легке коригування тіні для менших екранів мобільних */
        text-shadow: 0 0 8px rgba(255, 122, 56, 0.6);
    }
}
/*
section 3
 */
.advantages-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/images/section_3_pc.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 80px 40px;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}
.about-section::before {
    content: '';
    position: absolute;
    inset: 0;

}

.advantages-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.advantages-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #617828;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
    margin-bottom: 10px;
}

.advantages-header h2::before,
.advantages-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #617828 0%, #617828 20%, #a0b060 60%, transparent 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

.advantages-header h2::before {
    background: linear-gradient(270deg, #617828 0%, #617828 20%, #a0b060 60%, transparent 100%);
}


.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 310px);
    grid-template-rows: repeat(2, auto);
    gap: 28px;
    justify-content: center;
}

.advantage-card {
    width: 310px;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    text-align: center;
    cursor: default;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    box-shadow: 0 4px 20px rgba(97, 120, 40, 0.10);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(97, 120, 40, 0.20);
}

.advantage-icon-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: rgba(97, 120, 40, 0.10);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease, transform 0.35s ease;
}

.advantage-card:hover .advantage-icon-wrap {
    background: rgba(97, 120, 40, 0.16);
    transform: scale(1.08);
}

.advantage-icon-wrap img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.advantage-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    color: #617828;
    margin: 0;
}

.advantage-text .accent {
    color: #ff7a38;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 310px);
    }
}

@media (max-width: 768px) {
    .advantages-section {
        background-image: url('../assets/images/section_3_mobile.svg');
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        min-height: unset;
        padding: 60px 20px;
    }

    .advantages-header h2 {
        font-size: 32px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .advantage-card {
        width: 100%;
        min-height: unset;
        padding: 22px 16px;
        gap: 14px;
    }

    .advantage-icon-wrap {
        width: 58px;
        height: 58px;
    }

    .advantage-icon-wrap img {
        width: 34px;
        height: 34px;
    }

    .advantage-text p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .advantage-icon-wrap {
        flex-shrink: 0;
    }
}
/*
секція 4
 */
.slider-section {
    position: relative;
    width: 100%;
    background-image: url('../assets/images/section_2_pc.svg');
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 80px 40px;
    overflow: hidden;
}

.slider-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(74, 90, 40, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.slider-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.slider-header {
    margin-bottom: 40px;
}

.slider-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 46px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.slider-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ff7a38;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
    text-shadow: 0 0 10px rgba(255, 122, 56, 0.55),
    0 0 20px rgba(255, 122, 56, 0.3);
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-track-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.slider-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.slide img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.slide:hover img {
    transform: scale(1.03);
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0) 30%,
            rgba(0,0,0,0.65) 100%
    );
    pointer-events: none;
}

.slide-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 28px 32px;
    text-align: left;
}

.slide-label-accent {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #ff7a38;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.slide-label-main {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.slider-btn {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 122, 56, 0.15);
    color: #ff7a38;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 122, 56, 0.3);
}

.slider-btn:hover {
    background: rgba(255, 122, 56, 0.35);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.96);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
    border: none;
}

.slider-dot.active {
    background: #ff7a38;
    width: 28px;
    border-radius: 4px;
    transform: none;
}

@media (max-width: 768px) {
    .slider-section {
        padding: 60px 16px;
    }

    .slider-title {
        font-size: 26px;
    }

    .slider-subtitle {
        font-size: 14px;
    }

    .slide img {
        height: 280px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slide-label-main {
        font-size: 15px;
    }

    .slider-wrapper {
        gap: 12px;
    }
}
/* ==========================================================================
   СЕКЦІЯ: ЧОМУ БАТЬКИ ОБИРАЮТЬ (FEATURES SECTION)
   ========================================================================== */
.features-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/images/section_3_pc.svg'); /* Використовує той самий фон */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 80px 40px;
    overflow: hidden;
}

/* Напівпрозорий оверлей як у секції 3 */
.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.features-container {
    position: relative;
    z-index: 1;
    max-width: 1100px; /* Співпадає з максом секції 3 */
    width: 100%;
    text-align: center;
}

/* ЗАГОЛОВОК З ГРАДІЄНТНИМИ ЛІНІЯМИ */
.features-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #617828; /* Точний колір із секції 3 */
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
    margin-bottom: 45px;
    text-transform: uppercase;
}

/* Лінії праворуч та ліворуч */
.features-header h2::before,
.features-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #617828 0%, #617828 20%, #a0b060 60%, transparent 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

.features-header h2::before {
    background: linear-gradient(270deg, #617828 0%, #617828 20%, #a0b060 60%, transparent 100%);
}

/* ВЕЛИКА КАРТКА-ОБГОРТКА ДЛЯ ТРЬОХ БЛОКІВ */
.features-card-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.88); /* Точний колір фону картки з секції 3 */
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 4px 20px rgba(97, 120, 40, 0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

/* Ефект наведення на всю велику картку */
.features-card-wrapper:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(97, 120, 40, 0.18);
}

/* Колонки всередині великої картки */
.feature-item {
    flex: 1;
    padding: 0 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

/* Вертикальні лінії-роздільники між трьома колонками */
.feature-item:not(:last-child) {
    border-right: 2px solid rgba(97, 120, 40, 0.25);
}

/* Обгортка для іконок */
.feature-icon-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease, transform 0.35s ease;
}

/* Мікроанімація іконки при наведенні на загальну картку */
.features-card-wrapper:hover .feature-icon-wrap {
    background: rgba(97, 120, 40, 0.16);
    transform: scale(1.05);
}

.feature-icon-wrap img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

/* Стиль тексту */
.feature-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    color: #617828; /* Текст зелений, як у перевагах */
    margin: 0;
}

/* Стиль для підкреслення тез */
.feature-underline {
    color: #617828;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #ff7a38; /* Лінія підкреслення фірмова помаранчева */
    text-underline-offset: 2px;
}

/* ==========================================================================
   АДАПТИВНІСТЬ ДЛЯ СЕКЦІЇ (ОБИРАЮТЬ БАТЬКИ)
   ========================================================================== */
@media (max-width: 1024px) {
    .feature-item {
        padding: 0 15px;
    }
    .features-header h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .features-section {
        background-image: url('../assets/images/section_3_mobile.svg');
        min-height: unset;
        padding: 60px 20px;
    }

    .features-header h2 {
        font-size: 26px;
        white-space: normal; /* Дозволяє тексту переноситись на мобільних */
        text-align: center;
    }

    /* Ховаємо лінії біля заголовку на мобільних, щоб не стискали текст */
    .features-header h2::before,
    .features-header h2::after {
        display: none;
    }

    /* Перетворюємо флекс-стовпчики у вертикальний ряд */
    .features-card-wrapper {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .feature-item {
        padding: 0 0 30px 0;
        width: 100%;
    }

    /* Перетворюємо вертикальні бордюри на горизонтальні роздільні лінії */
    .feature-item:not(:last-child) {
        border-right: none;
        border-bottom: 2px solid rgba(97, 120, 40, 0.15);
    }

    .feature-icon-wrap {
        width: 64px;
        height: 64px;
    }

    .feature-icon-wrap img {
        width: 36px;
        height: 36px;
    }

    .feature-text p {
        font-size: 14px;
    }
}
/* ==========================================================================
   СЕКЦІЯ ФОРМИ "ДОСІ ВАГАЄТЕСЬ?" (CONTACT SECTION)
   ========================================================================== */
.contact-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Займає екран, щоб форма виглядала просторо */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/images/section_2_pc.svg'); /* Точно такий самий фон */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 80px 40px;
    overflow: hidden;

    /* Шрифти та якісне згладжування літер */
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Оливковий напівпрозорий оверлей з розмиттям (копія секції 2) */
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(74, 90, 40, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 780px; /* Ідентична ширина з контейнером секції 2 */
    width: 100%;
    text-align: center;
}

.contact-header {
    margin-bottom: 36px;
}

/* Білий великий заголовок (копія секції 2) */
.contact-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

/* Зображення підкреслення під заголовком */
.underline-img {
    width: 300px;
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.contact-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700; /* Жирний, як на скріншоті */
    line-height: 1.5;
    color: #ffffff; /* Білий колір */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
    max-width: 650px; /* Обмежуємо ширину, щоб текст гарно розбивався на мобілці */
    margin: 25px auto 0 auto; /* Відступ зверху від лінії та центрування */
    text-align: center;
}

/* МАТОВА НАПІВПРОЗОРА КАРТКА ФОРМИ (стилізована під .about-text-wrapper) */
.contact-form-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.07); /* Такий самий легкий матовий ефект */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 50px 60px;
    text-align: left; /* Контент форми вирівнюємо по лівому краю */
}

/* Помаранчева смужка зверху на картці форми (як у секції 2) */
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff7a38;
    border-radius: 0 0 4px 4px;
}

/* Внутрішній заголовок форми */
.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Блоки для полів введення */
.form-group {
    margin-bottom: 22px;
}

/* Білі підписи до полів, що добре читаються */
.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

/* СТИЛІЗАЦІЯ ІНПУТІВ ТА СЕЛЕКТІВ */
.form-group input,
.form-group select {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 20px;
    /* Напівпрозорі інпути, які пасують до матового стилю */
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    color: #333333;
    outline: none;
    transition: all 0.3s ease;
}

/* ОБГОРТКА ДЛЯ ТЕЛЕФОНУ (Код країни + Номер в один рядок) */
.phone-select-wrapper {
    display: flex;
    gap: 12px;
}

/* Селект вибору коду країни */
#phone-prefix {
    width: 115px;
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
    padding-right: 10px; /* Трохи місця для стрілочки селекту */
}

/* Інпут самого номера займає весь вільний простір */
.phone-select-wrapper input[type="tel"] {
    flex: 1;
}

/* ЕФЕКТ ФОКУСУ ТА ПІДСВІЧУВАННЯ ДЛЯ ВСІХ ПОЛІВ */
.form-group input:focus,
.form-group select:focus {
    background: #ffffff; /* Стає повністю білим при кліку */
    border-color: #ff7a38; /* Помаранчевий контур */
    /* М'яке свічення навколо активного інпуту */
    box-shadow: 0 0 14px rgba(255, 122, 56, 0.35);
}

/* ПОМАРАНЧЕВА КНОПКА З АНІМАЦІЄЮ (Копія стилю першої секції) */
.btn-submit {
    display: block;
    width: 100%;
    margin-top: 30px;
    padding: 18px 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background-color: #ff7a38; /* Фірмовий помаранчевий */
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 122, 56, 0.4);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    animation: buttonPulseForm 2.5s infinite ease-in-out;
}

.btn-submit:hover {
    background-color: #e66d30;
    transform: translateY(-3px); /* Підстрибування */
    box-shadow: 0 8px 25px rgba(255, 122, 56, 0.55);
    animation-play-state: paused; /* Зупинка анімації при наведенні */
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Анімація пульсації помаранчевої кнопки */
@keyframes buttonPulseForm {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 122, 56, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.15),
        0 8px 25px rgba(255, 122, 56, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 122, 56, 0.4);
    }
}

/* ==========================================================================
   АДАПТИВНІСТЬ ДЛЯ СЕКЦІЇ КОНТАКТІВ (МОБІЛКА)
   ========================================================================== */
@media (max-width: 768px) {
    .contact-section {
        background-image: url('../assets/images/section_2_mobile.svg'); /* Мобільний фон */
        padding: 50px 20px;
        min-height: auto;
    }

    .contact-header h2 {
        font-size: 34px; /* Точний розмір з мобільної секції 2 */
    }

    .contact-container .underline-img {
        width: 200px; /* Точний розмір з мобільної секції 2 */
    }

    .contact-form-wrapper {
        padding: 35px 20px; /* Зменшені компактні падінги */
        border-radius: 20px;
    }

    .contact-form-wrapper h3 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select {
        padding: 13px 16px;
        font-size: 15px;
    }

    #phone-prefix {
        width: 100px; /* Трохи компактніший вибір прапорця на мобільних */
        padding: 13px 8px;
    }

    .btn-submit {
        padding: 16px 40px;
        font-size: 16px;
    }
}
/* ==========================================================================
   СЕКЦІЯ СОЦМЕРЕЖ (SOCIALS SECTION)
   ========================================================================== */
.socials-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/images/section_3_pc.svg'); /* Бекграунд як у секції 3 */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 60px 40px 80px 40px; /* Акуратні відступи */
    overflow: hidden;
}

/* Напівпрозорий білий оверлей для легкого матового ефекту (як у секції 3) */
.socials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.socials-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

/* ЗАГОЛОВОК З ГРАДІЄНТНИМИ ЛІНІЯМИ (копія стилю секції 3) */
.socials-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px; /* Трохи компактніший для блоку соцмереж */
    font-weight: 800;
    color: #617828; /* Твій фірмовий оливковий колір */
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Створення ліній праворуч та ліворуч */
.socials-header h2::before,
.socials-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #617828 0%, #617828 20%, #a0b060 60%, transparent 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

.socials-header h2::before {
    background: linear-gradient(270deg, #617828 0%, #617828 20%, #a0b060 60%, transparent 100%);
}

/* БЛОК ІКОНОК */
.socials-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px; /* Простір між інстою та фейсбуком */
}

/* Картка однієї соцмережі (посилання) */
.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Обгортка зображення */
.social-icon-wrap {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.social-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Текстовий підпис під іконкою */
.social-card span {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #617828;
    transition: color 0.3s ease;
}

/* ЕФЕКТИ НАВЕДЕННЯ (HOVER) */
.social-card:hover {
    transform: translateY(-5px); /* Картка плавно підводиться вгору */
}

.social-card:hover .social-icon-wrap {
    transform: scale(1.08); /* Іконка злегка збільшується */
    /* Додаємо м'яку тінь, щоб іконка стала об'ємнішою при наведенні */
    filter: drop-shadow(0 8px 15px rgba(97, 120, 40, 0.25));
}

.social-card:hover span {
    color: #ff7a38; /* Текст підпису стає помаранчевим при наведенні */
}

/* ==========================================================================
   АДАПТИВНІСТЬ ДЛЯ СЕКЦІЇ СОЦМЕРЕЖ (МОБІЛКА)
   ========================================================================== */
@media (max-width: 768px) {
    .socials-section {
        background-image: url('../assets/images/section_3_mobile.svg'); /* Мобільний фон */
        padding: 50px 20px 60px 20px;
    }

    .socials-header h2 {
        font-size: 28px;
    }

    /* Ховаємо лінії на маленьких екранах, щоб не стискали заголовок */
    .socials-header h2::before,
    .socials-header h2::after {
        display: none;
    }

    .socials-grid {
        gap: 40px; /* Трохи зменшуємо відступ між кнопками */
    }

    .social-icon-wrap {
        width: 75px; /* Компактніший розмір іконок для телефонів */
        height: 75px;
    }

    .social-card span {
        font-size: 14px;
    }
}
/* ==========================================================================
   ФУТЕР САЙТУ (MAIN FOOTER)
   ========================================================================== */
.main-footer {
    position: relative;
    width: 100%;
    background-image: url('../assets/images/section_3_pc.svg'); /* Такий самий фон, як у минулому компоненті */
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    padding-top: 50px;
    overflow: hidden;
    border-top: 1px solid rgba(97, 120, 40, 0.15);

    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Легкий білий напівпрозорий шар для відповідності загальному матовому стилю */
.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

/* Контейнер вмісту футера */
.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* БЛОК БРЕНДУ (ЛОГО + НАЗВА) */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.footer-logo {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* "Міжнародна українсько-польська школа" */
.footer-title .school-type {
    font-size: 18px;
    font-weight: 700;
    color: #4a5a28; /* Темно-зелений колір тексту */
    line-height: 1.3;
}

/* "ТЕПЛИЦЯ" */
.footer-title .school-name {
    font-size: 32px;
    font-weight: 800;
    color: #ff7a38; /* Твій фірмовий помаранчевий колір */
    text-shadow: 0 0 6px rgba(255, 122, 56, 0.6),
    0 0 8px rgba(255, 122, 56, 0.3);
    line-height: 1.1;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* БЛОК КОНТАКТІВ */
.footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Круглі іконки перед текстом контактів */
.footer-contacts .contact-icon {
    width: 24px;
    height: 24px;
    color: #617828; /* Оливковий колір для SVG */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contacts .contact-icon svg {
    width: 100%;
    height: 100%;
}

/* Посилання в контактах */
.footer-contacts a {
    font-size: 15px;
    font-weight: 600;
    color: #617828;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: #ff7a38; /* Плавна зміна кольору на помаранчевий при наведенні */
}

/* СМУЖКА АВТОРСЬКИХ ПРАВ (COPYRIGHT) */
.footer-bottom {
    position: relative;
    z-index: 1;
    width: 100%;
    background-color: #617828; /* Фірмовий глибокий зелений колір, як на макеті */
    padding: 16px 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85); /* Світлий білий текст */
    margin: 0;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   АДАПТИВНІСТЬ ДЛЯ ФУТЕРА (МОБІЛКА)
   ========================================================================== */
@media (max-width: 768px) {
    .main-footer {
        background-image: url('../assets/images/section_3_mobile.svg'); /* Мобільний варіант фону */
        padding-top: 40px;
    }

    /* Перебудовуємо елементи у вертикальний стовпчик та центруємо */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
        padding: 0 20px 35px 20px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-logo {
        width: 80px;
        height: 80px;
    }

    .footer-title .school-type {
        font-size: 16px;
    }

    .footer-title .school-name {
        font-size: 28px;
    }

    /* Центруємо контакти на мобільних пристроях */
    .footer-contacts ul {
        align-items: center;
        gap: 16px;
    }

    .footer-contacts li {
        flex-direction: column;
        gap: 6px;
    }

    .footer-contacts a {
        font-size: 14px;
        text-align: center;
    }
}