* {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    background-color: #000; /* Цвет на случай, если картинка не грузится */
}



a {
    text-decoration: none;
}



/* ГЛАВНАЯ ОБЕРТКА ПЕРВОЙ СЕКЦИИ */
.hero-section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative; /* Для правильного позиціонування внутрішніх елементів */

    /* Додаємо фон сюди */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    background-attachment: scroll; 
}


@media (max-width: 767px) {
    .first-container h1 {
        /* Минимум 28px, максимум 40px на мобильных */
        font-size: clamp(28px, 8vw, 40px) !important; 
        line-height: 1.2;
    }
    
    .first-container p {
        font-size: 16px; /* Уменьшаем с 18px */
        margin-top: 15px;
    }
}








/* ЦЕНТРАЛЬНЫЙ КОНТЕНТ ПЕРВОЙ СЕКЦИИ */
.hero-content {
    flex-grow: 1; /* Занимает всё оставшееся место */
    display: flex;
    align-items: center;
    justify-content: center;
}

.first-container {
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
}

.first-container h3 {
    color: white;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.first-container h1 {
    font-size: clamp(36px, 5vw, 66px); /* Адаптивный размер шрифта */
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin: 0;
}

.first-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.6;
    margin-top: 20px;
}

.yellow {
    color: #FFC61A;
}

/* КНОПКИ */
.button-donate, .button-donate2 {
    display: inline-block;
    cursor: pointer;
    border-radius: 50px;
    background-color: #85abba;
    transition: all 0.3s ease;
}

.button-donate:hover, .button-donate2:hover {
    transform: scale(1.1); /* Увеличение на 5% */
    background-color: transparent;
    border: 1px solid #85abba ;
}

.button-donate a {
    display: block;
    padding: 12px 35px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

 .button-donate2 a {
    display: block;
    padding: 12px 60px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: white;
 }



.button-donate2 {
    margin-top: 40px;
}



/* СЕКЦІЯ АКТИВНІ ЗБОРИ - СТИЛЬ ЯК У FUNDRAISING */
.urgent-collect {
    background-color: #ffffff;
    padding: 60px 20px;
    font-family: "Manrope", sans-serif;
    width: 100%;
}

.akt-zbory {
    font-size: 56px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 60px;
    color: #262625;
}


.collect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Стиль картки - такий самий як у fundraising */
.collect-container {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.collect-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



/* Мітка терміново (якщо потрібна) */
.urgent-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    animation: pulse 1.5s infinite;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.card-body {
    padding: 20px;
    flex: 1;
}

.card-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.collect-container:hover .card-body h2 {
    color: #85abba;
}

.card-body p {
    font-size: 15px;
    color: #6b7a8a;
    line-height: 1.5;
    margin: 0;
}

.card-footer {
    padding: 0 20px 20px 20px;
}

/* Прогрес-бар з хмаркою */
.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e5e7eb;
    border-radius: 20px;
    position: relative;
    margin: 20px 0 15px 0;
}

.progress-fill {
    height: 100%;
    background-color: #374151;
    border-radius: 20px;
    position: relative;
}

.percent-badge {
    position: absolute;
    right: 0;
    top: -32px;
    transform: translateX(50%);
    background-color: #374151;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.percent-badge::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #374151;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.info-block {
    display: flex;
    flex-direction: column;
}

.info-block .label {
    font-size: 12px;
    color: #8a9aaa;
    margin-bottom: 4px;
}

.info-block strong {
    font-size: 18px;
    font-weight: 700;
    color: #262625;
}

.goal-value {
    font-size: 16px;
    font-weight: 600;
    color: #4a5b6b;
}

.align-right {
    text-align: right;
}

/* Кнопка як у fundraising */
.button-donate-zbir {
    display: block;
    background-color: #85abba;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.button-donate-zbir a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.button-donate-zbir:hover {
    background-color: #6c9aab;
    transform: scale(1.02);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.button-donate-zbir:hover .arrow-icon {
    transform: translateX(4px);
}

.arrow-icon path {
    stroke: white;
}


/* Кнопка "Всі збори" */
.all-collect-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.all-collect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background-color: #85abba;
    color: white;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 18px;
    border: 2px solid #85abba;
    transition: all 0.3s ease;
}

.all-collect-btn:hover {
    background-color: transparent;
    color: #85abba;
    transform: scale(1.02);
}

.all-collect-btn .arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.all-collect-btn:hover .arrow-icon {
    transform: translateX(4px);
}

.all-collect-btn .arrow-icon path {
    stroke: white;
    transition: stroke 0.3s ease;
}

.all-collect-btn:hover .arrow-icon path {
    stroke: #85abba;
}

/* Адаптація для мобільних */
@media (max-width: 768px) {
    .all-collect-btn-wrapper {
        padding: 0 15px;
    }
    
    .all-collect-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Адаптація для мобільних */
@media (max-width: 768px) {
    .all-collect-btn {
        padding: 12px 28px;
        font-size: 16px;
    }
}

/* Адаптація */
@media (max-width: 1024px) {
    .collect-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .urgent-collect {
        padding: 40px 15px;
    }
    
    .akt-zbory {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .collect-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .card-body h2 {
        font-size: 18px;
    }
    
    .info-block strong {
        font-size: 16px;
    }
}
/* Кнопка */
.button-donate2 {
    margin-top: auto;
    background-color: #85abba;
    border: 2px solid #85abba;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

.button-donate2 a {
    display: block;
    padding: 12px 65px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

.button-donate2:hover {
    background-color: transparent;
}

.button-donate2:hover a {
    color: #85abba;
}













/* ВТОРАЯ СЕКЦИЯ (О НАС) */
.misia {
    background-color: white;
    position: relative;
    z-index: 1;
    padding: 50px 20px 40px 20px;
}

.misia-content {
    background: #fff;
    padding: 60px 40px;
}

.mission-vision {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.prapor-img {
    display: flex;
}

.prapor-img img {
    width: 360px;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.mission-vision > div {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.item {
    padding: 36px 40px;
    flex: 1;
}

.item:first-child {
    position: relative;
}

.item:first-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 40px;
    right: 40px;
    height: 1px;
    background: #e5e7eb;
}

.item h3 {
    color: #262625;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 14px;
}

.item p {
    font-size: 18px !important;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.my-virymo {
    color: black;
    font-size: 27px;
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
}



.misia p {
    font-size: 20px;
    line-height: 1.7;
    color: #555;
}

/* --- ПРОЄКТИ ТРАНСФОРМАЦІЇ --- */

.misia-transformation {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.misia-transform-intro {
    margin-bottom: 40px;
}

.misia-transform-intro h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    color: #262625;
    margin-bottom: 18px;
    line-height: 1.2;
}

.misia-transform-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: #4a5568;
    max-width: 820px;
}

.misia-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.misia-principle {
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    border-left: 4px solid #85abba;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.misia-principle h4 {
    font-size: 17px;
    font-weight: 700;
    color: #262625;
    margin: 0 0 10px;
}

.misia-principle p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.misia-cta-wrap {
    text-align: center;
    margin-top: 36px;
}

.misia-cta-outline {
    display: inline-block;
    background: #85abba;
    color: #fff;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    font-family: "Manrope", sans-serif;
    transition: all 0.3s ease;
}

.misia-cta-outline:hover {
    background: #6c9aab;
    transform: translateY(-2px);
}

/* --- АРХІТЕКТУРА ВІДНОВЛЕННЯ (ГОСТОМЕЛЬ) --- */

.misia-reconstruction {
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 0 20px 60px;
}

.misia-reconstruction-header {
    margin-bottom: 40px;
}

.misia-badge {
    display: inline-block;
    background: #262625;
    color: #fff;
    border: 1px solid #262625;
    padding: 5px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.misia-reconstruction-header h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: #262625;
    margin: 0 0 16px;
    line-height: 1.2;
}

.misia-reconstruction-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #4a5568;
    max-width: 820px;
    margin: 0;
}

.misia-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.misia-fact {
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.misia-fact--wide {
    grid-column: 1 / -1;
}

.misia-fact h4 {
    font-size: 16px;
    font-weight: 700;
    color: #262625;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.misia-fact p {
    font-size: 15px;
    line-height: 1.65;
    color: #4a5568;
    margin: 0;
}

.misia-cta-primary {
    display: inline-block;
    background: #85abba;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    font-family: "Manrope", sans-serif;
    transition: all 0.3s ease;
}

.misia-cta-primary:hover {
    background: #6c9aab;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .misia-content {
        padding: 40px 20px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .prapor-img img {
        width: 100%;
        max-width: 100%;
        height: 220px;
    }

    .item {
        padding: 24px 20px;
    }

    .misia-principles {
        grid-template-columns: 1fr;
    }

    .misia-facts {
        grid-template-columns: 1fr;
    }

    .misia-fact--wide {
        grid-column: auto;
    }

    .misia-transform-intro h2 {
        font-size: 22px;
    }

    .misia-reconstruction-header h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .misia-principle,
    .misia-fact {
        padding: 22px 18px;
    }
}


.about-content {
    background: #fff;
    padding: 70px 40px;
    text-align: center;
}

.about-content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-badge {
    background: #262625 !important;
    color: #fff !important;
    border-color: #262625 !important;
}

.about-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 760px;
    margin: 0 auto 48px;
}

.about-statements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.about-statement {
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    border-left: 4px solid #85abba;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.about-statement-title {
    font-size: 17px;
    font-weight: 800;
    color: #262625;
    margin: 0 0 10px;
    line-height: 1.3;
}

.about-statement p {
    font-size: 15px !important;
    line-height: 1.65;
    color: #555;
    font-weight: 400;
    margin: 0;
}

@media (max-width: 900px) {
    .about-content {
        padding: 50px 20px;
    }
    .about-statements {
        grid-template-columns: 1fr;
    }
}

.about-h2-accent {
    color: #85abba;
}

.about-content h2 {
    font-size: clamp(28px, 4vw, 50px);
    color: #262625;
    text-align: center;
    margin: 16px 0 24px;
    font-weight: 800;
    line-height: 1.15;
}

@media (max-width: 767px) {
    .about-content h2 {
        font-size: 32px !important; /* Вместо 50px */
        margin-bottom: 20px;
    }

    .about-content p {
        font-size: 18px !important; /* Вместо 20px */
        line-height: 1.5;
    }

    .misia h3 {
        font-size: 24px !important; /* Заголовки "Місія" и "Візія" */
    }

    .my-virymo {
        font-size: 18px !important; /* Цитата внизу секции */
        margin-top: 20px;
    }
}


/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

/* ========== СЕКЦІЯ ПРИЄДНУЙТЕСЬ ========== */
.join-section {
    background: #fff;
    padding: 80px 20px;
}

.join-container {
    max-width: 900px;
    margin: 0 auto;
}

.join-header {
    text-align: center;
    margin-bottom: 48px;
}

.join-header h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    color: #262625;
    margin: 0 0 16px;
    line-height: 1.2;
}

.join-header > p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(38, 38, 37, 0.55);
    max-width: 620px;
    margin: 0 auto 36px;
}

.join-tabs {
    display: inline-flex;
    background: rgba(38, 38, 37, 0.07);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.join-tab {
    background: transparent;
    border: none;
    color: rgba(38, 38, 37, 0.5);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.join-tab.active {
    background: #85abba;
    color: #fff;
}

.join-tab:not(.active):hover {
    color: #262625;
}

.join-content {
    background: #f8f9fa;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    padding: 48px;
    transition: opacity 0.2s ease;
}

.join-content.hidden {
    display: none;
}

.join-card-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #262625;
    margin: 0 0 16px;
    line-height: 1.25;
}

.join-card-text p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(38, 38, 37, 0.55);
    margin: 0 0 32px;
    max-width: 680px;
}

.join-btn {
    display: inline-block;
    background: #85abba;
    color: #fff;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    font-family: "Manrope", sans-serif;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: #6c9aab;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .join-section {
        padding: 60px 20px;
    }

    .join-content {
        padding: 30px 24px;
    }
}








/* ========== НАПРЯМКИ ДОПОМОГИ (як на фото) ========== */
.directions-section {
    padding: 10px 0 70px; 
    background-color: #ffffff;
}

.directions-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.directions-header {
    text-align: center;
    margin-bottom: 50px;
}

.directions-header .badge {
    display: inline-block;
    background: #262625;
    color: white;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.directions-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 20px;
}

.directions-header p {
    font-size: 18px;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
}

/* Сітка карток */
.directions-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Карточка — як на фото: картинка зверху на всю ширину */
.direction-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}



/* Картинка — на всю ширину, фіксована висота */
.direction-img {
    width: 100%;
    height: 320px;
    overflow: hidden;
    flex-shrink: 0;
}

.direction-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}



/* Контент всередині карточки */
.direction-content {
    padding: 20px 24px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.direction-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.direction-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 12px;
}

.direction-content p {
    font-size: 15px;
    line-height: 1.55;
    color: #4a5568;
    margin-bottom: 20px;
}

.direction-link {
    color: #85abba;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.direction-link:hover {
    color: #6c9aab;
}

/* Адаптивність */
@media (max-width: 768px) {
    .directions-section {
        padding: 50px 0;
    }
    
    .directions-header h2 {
        font-size: 28px;
    }
    
    .directions-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .direction-img {
        height: 200px;
    }
    
    .direction-content {
        padding: 18px 20px 25px;
    }
    
    .direction-content h3 {
        font-size: 20px;
    }
}


/* ========== ПОРТФОЛІО ПРОЄКТІВ ========== */
.portfolio-section {
    background: #ffffff;
    padding: 80px 0 20px;
    overflow-x: hidden;
}

.portfolio-header {
    max-width: 1200px;
    margin: 0 auto 52px;
    padding: 0 40px;
    text-align: center;
}

.portfolio-badge {
    display: inline-block;
    background: #262625;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 40px;
    margin-bottom: 20px;
}

.portfolio-header h2 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    color: #262625;
    margin: 0 0 18px;
    line-height: 1.15;
}

.portfolio-header p {
    font-size: 17px;
    line-height: 1.72;
    color: rgba(38, 38, 37, 0.55);
    max-width: 760px;
    margin: 0 auto;
}

/* ---- Swiper-обгортка (стрілки по боках) ---- */
.portfolio-swiper-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 72px 0;
    position: relative;
}

.portfolio-swiper {
    clip-path: inset(0 0 -16px 0);
    user-select: none;
}

.portfolio-swiper img {
    pointer-events: none;
    -webkit-user-drag: none;
}

/* ---- Картка ---- */
.portfolio-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.32s ease;
    height: 360px;
}



.portfolio-card-img {
    height: 210px;
    flex-shrink: 0;
    overflow: hidden;
    background: #e8eef1;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-card-body {
    padding: 22px 24px 26px;
}

.portfolio-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #85abba;
    margin-bottom: 10px;
}

.portfolio-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #262625;
    margin: 0;
    line-height: 1.38;
}

/* ---- Стрілки — абсолютно по боках слайдера ---- */
.portfolio-prev,
.portfolio-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    color: #262625;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-prev { left: 12px; }
.portfolio-next { right: 12px; }

.portfolio-prev svg,
.portfolio-next svg {
    width: 20px;
    height: 20px;
}

.portfolio-prev:hover,
.portfolio-next:hover {
    background: #85abba;
    color: #fff;
    box-shadow: 0 6px 18px rgba(133, 171, 186, 0.35);
}

/* ---- Кнопка ---- */
.portfolio-cta {
    text-align: center;
    margin-top: 32px;
    padding-bottom: 8px;
}

/* ---- Пагінація — знизу по центру ---- */
.portfolio-controls {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    padding-bottom: 16px;
}

.portfolio-pagination {
    display: flex !important;
    align-items: center;
    gap: 6px;
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
}

.portfolio-pagination .swiper-pagination-bullet {
    background: #262625;
    opacity: 0.2;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    transition: opacity 0.25s, width 0.25s;
    margin: 0 !important;
}

.portfolio-pagination .swiper-pagination-bullet-active {
    background: #85abba;
    opacity: 1;
    width: 22px;
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 60px 0 70px;
    }

    .portfolio-header {
        padding: 0 20px;
        margin-bottom: 36px;
    }

    .portfolio-swiper-wrap {
        padding: 8px 16px 0;
    }

    .portfolio-prev,
    .portfolio-next {
        display: none;
    }

    .portfolio-card {
        height: 320px;
    }

    .portfolio-card-img {
        height: 170px;
    }
}













/* --- СЕКЦІЯ КОМАНДА (ФИНАЛЬНЫЙ ИСПРАВЛЕННЫЙ) --- */
/* --- СЕКЦІЯ КОМАНДА --- */
.team-section {
    background-color: #ffffff;
    padding: 40px 0 80px;
    font-family: "Manrope", sans-serif;
    overflow: hidden; /* Скрывает вылетающие за экран слайды */
}

/* КОНТЕЙНЕР-ОГРАНИЧИТЕЛЬ (Белая область, где лежит всё) */
.team-container {
    max-width: 1200px; /* Фиксируем ширину контента */
    margin: 0 auto;
    position: relative; /* Чтобы стрелки привязались к этому блоку, а не к слайдеру */
    padding: 0 80px; /* Создаем "карманы" для стрелок слева и справа */
}

/* САМ СЛАЙДЕР */
.team-swiper {
    width: 100%;
    /* ВАЖНО: возвращаем hidden, чтобы лишние карточки не лезли на поля */
    overflow: hidden !important; 
    position: static !important; /* Отключаем привязку стрелок к этому блоку */
}
.section-team-title {
    font-size: 56px;
    text-align: center;
    margin-bottom: 70px;
}
/* КАРТОЧКА (фиксируем размер) */
.team-card {
    max-width: 350px; 
    margin: 0 auto;
    background: #fff;
}

.team-photo-placeholder  {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #dfdfdf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo {
    width: 100%;        /* Растягивается на всю ширину контейнера */
    max-width: 320px; /* Максимальная ширина фото */
    aspect-ratio: 1 / 1; /* Делает блок идеально квадратным */
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: #333;
    border-radius: 0;    /* Полностью убираем скругление */
    border: none;        /* Убираем бордер */
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Фото заполняет квадрат без искажений */
    display: block;
    border: none;        /* На всякий случай убираем рамку у самой картинки */
}

.team-card {
    text-align: left;  /* Текст остается по центру под фото */
    max-width: 320px;    /* Чтобы текст не был шире фотографии */
    margin: 0 auto;
}

/* Удалите старый стиль .team-photo span, он больше не нужен */



.team-info {
    padding: 0px 10px;
}

.team-info h3 {
    font-size: 26px;
    margin: 0;
}

.team-info p {
    font-size: 17px;
    margin: 8px 0;
    font-weight: bold;
}

@media (max-width: 767px) {
    .section-team-title {
        font-size: 32px !important; /* Заголовок "Наша команда" */
        margin-bottom: 30px;
    }

    .team-info h3 {
        font-size: 20px !important; /* Имя сотрудника */
    }

    .team-info p {
        font-size: 14px !important; /* Должность */
    }
}

/* --- СТРЕЛКИ: ТЕПЕРЬ ОНИ ТОЧНО БУДУТ СНАРУЖИ --- */
.team-next, .team-prev {
    position: absolute !important; /* Привязываем к .team-container */
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    z-index: 100;
    color: black; /* Синий цвет стрелок */
}

.team-next:after, 
.team-prev:after {
    color: black !important; /* Твой цвет (сейчас черный) */
}

/* Цвет при наведении (опционально) */
.team-next:hover:after, 
.team-prev:hover:after {
    color: #7c7c7c !important; /* Цвет при наведении (желтый) */
}

/* Левая стрелка — в левый "карман" контейнера */
.team-prev {
    left: 10px !important; 
}

/* Правая стрелка — в правый "карман" контейнера */
.team-next {
    right: 10px !important;
}

/* Увеличиваем сами иконки стрелок */
.team-next:after, .team-prev:after {
    font-size: 35px !important;
    font-weight: bold;
}

/* АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ */
/* Планшеты: показываем 2 слайда, стрелки оставляем */
@media (max-width: 1024px) {
    .team-container {
        padding: 0 60px; /* Оставляем место для стрелок */
    }
    
    .team-next, .team-prev {
        display: flex !important; /* Убеждаемся, что они видны */
        top: 35% !important; /* Немного корректируем высоту под размер фото */
    }

    .team-card {
        max-width: 100%; /* Позволяем Swiper самому считать ширину для 2-х колонок */
    }
}

/* Мобильные: 1 слайд, прячем стрелки (там удобнее свайпать пальцем) */
@media (max-width: 767px) {
    /* Общие отступы секции */
    .team-section {
        padding: 40px 0 60px;
    }

    .team-container {
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* КОНТЕЙНЕР ДЛЯ КНОПОК */
.team-controls {
        display: flex;
        /* ИЗМЕНЕНИЕ: разворачиваем порядок элементов в ряду */
        flex-direction: row-reverse; 
        
        justify-content: center;
        align-items: center;
        gap: 40px;
        margin-top: 30px;
        width: 100%;
    }

    /* СТИЛИ КНОПОК */
    .team-next, .team-prev {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 0 !important;
        width: 50px !important;
        height: 50px !important;
        display: flex !important;
    }
    /* Иконки внутри кнопок */
    .team-next:after, .team-prev:after {
        font-size: 28px !important;
        font-weight: bold;
    }

    /* Чтобы слайдер на мобилках не ломался */
    .team-swiper {
        overflow: hidden !important;
        width: 100%;
    }
}




.docs-section {
    padding: 30px 20px 70px;
    text-align: center;
    background-color: white;
}
.docs-section-container {
    margin: 0 auto;
    max-width: 1200px;
}

.docs-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 40px;
}

.docs-grid {
    display: grid;
    /* Создаем 4 колонки одинаковой ширины */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.doc-card {
    text-decoration: none;
    transition: transform 0.3s ease;
}


.doc-image {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1 / 1.4; /* Пропорция листа А4 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Изображение заполнит карточку */
}



/* Адаптив для планшетов */
@media (max-width: 992px) {
    .docs-title {
        font-size: 40px; /* Уменьшаем заголовок чуть раньше */
    }
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Адаптив для телефонов */
@media (max-width: 480px) {
    .docs-section {
        padding: 20px 15px 40px; /* Уменьшаем отступы секции */
    }

    .docs-title {
        font-size: 28px; /* Заголовок становится еще меньше */
        margin-bottom: 25px;
    }

    .docs-grid {
        grid-template-columns: 1fr; /* 1 колонка */
        gap: 20px;
        /* Центрируем карточки, если они будут иметь max-width */
        justify-items: center; 
    }

    .doc-card {
        width: 100%;
        max-width: 280px; /* Ограничиваем ширину, чтобы фото не растягивалось на весь экран */
    }

    .doc-image {
        /* aspect-ratio: 1 / 1.4; можно оставить, если max-width у .doc-card задан */
        box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* На мобилках тени лучше делать мягче */
    }
}


/* ========== СЕКЦІЯ ЧАСТІ ПИТАННЯ (ГОЛОВНА) ========== */
.index-faq {
    background: #262625;
    padding: 0 20px 80px;
}

.index-faq-inner {
    max-width: 900px;
    margin: 0 auto;
}

.index-faq-header {
    text-align: center;
    padding: 64px 0 48px;
}

.index-faq-header h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}

.index-faq-header p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.6;
}

.index-faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.index-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.index-faq-q {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    cursor: pointer;
    text-align: left;
    font-family: "Manrope", sans-serif;
}

.index-faq-q span {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.index-faq-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #85abba;
    transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.index-faq-item.open .index-faq-icon {
    transform: rotate(180deg);
}

.index-faq-q:hover span {
    color: #85abba;
}

.index-faq-a {
    height: 0;
    overflow: hidden;
    transition: height 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.index-faq-a-inner {
    padding-bottom: 24px;
}

.index-faq-a p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.58);
    margin: 0 0 10px;
}

.index-faq-a p:last-child {
    margin-bottom: 0;
}

.index-faq-a ul {
    list-style: none;
    margin: 4px 0 10px;
    padding: 0;
}

.index-faq-a li {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.58);
    padding-left: 18px;
    position: relative;
    margin-bottom: 4px;
}

.index-faq-a li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #85abba;
}

.index-faq-a a {
    color: #85abba;
    text-decoration: none;
}

.index-faq-a a:hover {
    text-decoration: underline;
}

.index-faq-more {
    text-align: center;
    padding-top: 48px;
}

@media (max-width: 768px) {
    .index-faq {
        padding: 0 20px 60px;
    }

    .index-faq-header {
        padding: 48px 0 36px;
    }

    .index-faq-q span {
        font-size: 15px;
    }

    .index-faq-a p,
    .index-faq-a li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .index-faq-q {
        padding: 20px 0;
        gap: 14px;
    }

    .index-faq-q span {
        font-size: 14px;
    }
}



