:root {
    --dark-blue: #153866;
    --main-yellow: #f5b400;
}

body {
    font-family: Inter, Arial, sans-serif;
    color: #1a1a1a;
}

/* ================= HEADER ================= */
.header {
    position: absolute;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    opacity: 0.8;
}

.btn-header {
    background: var(--dark-blue);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid #ffffff;
}

.btn-header:hover {
    background: var(--main-yellow);
}

.navbar-toggler {
    border: 1px solid #fff;
}

/* ================= HERO ================= */
.hero {
    background:
        linear-gradient(rgba(9, 30, 60, 0.85), rgba(9, 30, 60, 0.95)),
        url('https://picsum.photos/1600/900') center/cover no-repeat;

    color: #fff;
    padding: 180px 0 100px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    opacity: 0.85;
}

.btn-yellow {
    background: #FFC107;
    border: none;
    font-weight: 600;
    padding: 12px 22px;
}

.btn-outline-light {
    padding: 12px 22px;
}

.stats {
    margin-top: 50px;
}

.stats h3 {
    font-size: 28px;
    font-weight: 700;
}

/* ================= SECTIONS ================= */
section {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 40px;
}

/* ================= CARDS ================= */
.who-section {
    background: #f8f9fb;
}

/* LEFT */
.who-left {
    padding-right: 40px;
}

.who-left p {
    margin-bottom: 20px;
}

/* GRID */
.who-grid {
    border-left: 1px solid #e5e7eb;
}

.who-item {
    padding: 25px;
}

.who-item.border-bottom {
    border-bottom: 1px solid #e5e7eb;
}

.who-item.border-end {
    border-right: 1px solid #e5e7eb;
}

/* CONTENT */
.who-box {
    gap: 15px;
}

.who-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.who-icon img {
    width: 100%;
}

.who-content h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.who-content p {
    margin: 0;
    color: #6b7280;
}

/* ================= DARK ================= */
.dark {
    background: #0d2a4a;
    color: #fff;
}

/* ================= BENEFITS ================= */
.benefits-box {
    background: #0d2a4a;
    color: #fff;
    border-radius: 12px;
    padding: 30px;
}

/* ================= TIMELINE ================= */
.timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ffffff30;
    top: 50%;
    left: 0;
}

.step {
    position: relative;
    text-align: center;
    z-index: 1;
}

/* .step-circle {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #0d2a4a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-weight: bold;
} */

/* ================= NEWS ================= */
/* ================= NEWS ================= */

.news-section {
    padding: 60px 0;
}

/* CARD */
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: 0.25s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* IMAGE */
.news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* CONTENT */
.news-content {
    padding: 15px;
}

/* DATE */
.news-date {
    font-size: 12px;
    color: #8a94a6;
    margin-bottom: 8px;
}

/* TITLE */
.news-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1b2b44;
}

/* LINK */
.news-link {
    font-size: 14px;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.news-link:hover {
    text-decoration: underline;
}

.btn-close {
    opacity: 1;
    width: 24px;
    height: 24px;

    background: none;
    position: relative;
}

.btn-close::before,
.btn-close::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 4px;
    width: 2px;
    height: 16px;
    background: #fff;
}

.btn-close::before {
    transform: rotate(45deg);
}

.btn-close::after {
    transform: rotate(-45deg);
}


/* ================= PARTNERS ================= */
.partners img {
    opacity: 0.7;
}

/* ================= CTA ================= */
.cta {
    background:
        linear-gradient(rgba(9, 30, 60, 0.8), rgba(9, 30, 60, 0.9)),
        url('https://picsum.photos/1600/500') center/cover;
    color: #fff;
}

/* ================= FOOTER ================= */
footer {
    background: #0d2a4a;
    color: #fff;
    padding: 50px 0;
}

.footer {
    background: #0d2a4a;
    color: #fff;
    padding: 50px 0 30px;
}

.social {
    width: 36px;
    height: 36px;
    background: #ffffff20;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--dark-blue);
    font-weight: 700;
    /* text-transform: uppercase; */
    font-size: 25px;
    letter-spacing: .08em;
}

.section-text {
    font-size: 17px;
    line-height: 1.7;
    opacity: .85;
}

.mission-section {
    background: linear-gradient(135deg, #0f2a4d, #163b6b);
    color: #fff;
    padding: 60px 0;
}

/* LEFT */
.mission-left {
    padding-right: 30px;
}

.section-label {
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}

.section-label::after {
    content: '';
    width: 40px;
    height: 3px;
    background: #ffc107;
    display: block;
    margin-top: 8px;
}

/* ITEMS */
.mission-item {
    margin-bottom: 20px;
}

/* ICON */
.mission-icon {
    height: 50px;
    margin-bottom: 10px;
}

.mission-icon img {
    height: 100%;
    filter: brightness(0) invert(1);
}

/* TEXT */
.mission-item h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.mission-item p {
    font-size: 14px;
    opacity: 0.8;
}


.benefits-section {
    background: #f8f9fb;
    padding: 60px 0;
}

/* CARD */
.benefit-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    background: #fff;
    transition: 0.2s;
}

.benefit-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* ICON */
.benefit-icon {
    height: 50px;
    margin-bottom: 15px;
}

.benefit-icon img {
    height: 100%;
}

/* TEXT */
.benefit-card h6 {
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.for-section {
    padding: 60px 0;
}

/* LEFT ITEMS */
.for-item img {
    height: 40px;
    margin-bottom: 10px;
}

.for-item p {
    font-size: 14px;
    margin: 0;
}

/* RIGHT CARD */
.features-card {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.features-overlay {
    background: rgb(15 42 77 / 42%);
    color: #fff;
    padding: 30px;
    height: 100%;
}

.features-overlay h5 {
    font-weight: bold;
}

/* LIST */
.features-overlay ul {
    list-style: none;
    padding: 0;
}

.features-overlay li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.features-overlay li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ffc107;
}

/* ================= STEPS FLOW ================= */

.timeline-section {
    padding: 60px 0;
}

/* BOX */
.timeline-box {
    background: linear-gradient(135deg, #1b3a63, #244a7c);
    border-radius: 16px;
    padding: 40px;
    color: #fff;
    overflow: hidden;
}

/* WRAP */
.timeline-box-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: nowrap;
}

/* TITLE */
.timeline-title {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
}

/* INNER FLOW */
.timeline-inner {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

/* STEP */
.timeline-step {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 260px;
}

/* CIRCLE */
.step-circle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    border: 1px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

/* TEXT */
.step-text {
    text-align: left;
}

.step-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.step-text span {
    display: block;
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
}

/* ARROW */
.timeline-arrow {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.6);
}

/* BUTTON */
.timeline-btn {
    flex-shrink: 0;
}

/* BUTTON STYLE */
.btn-yellow {
    background: #ffc107;
    border: none;
    padding: 12px 22px;
    font-weight: 600;
    border-radius: 6px;
    color: #000;
    transition: 0.2s;
    white-space: nowrap;
    align-content: center;
}

.btn-yellow:hover {
    background: #e0a800;
}

/* ================= MOBILE ================= */

@media (max-width: 992px) {

    .hero h1 {
        font-size: 27px;
    }

    .navbar-brand img {
        max-width: 190px;
    }

    .who-left {
        margin-bottom: 40px;
    }

    .mission-left {
        margin-bottom: 40px;
    }

    .for-section-left {
        margin-bottom: 40px;
    }

    .timeline-box-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .timeline-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .timeline-step {
        max-width: 100%;
    }

    .timeline-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    .timeline-btn {
        margin-top: 20px;
    }
}

.partners-slider {
    margin-top: 40px;
}

.partner-item {
    padding: 10px;
}

.partner-item img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: 0.3s;
}

.partner-item img:hover {
    filter: none;
    opacity: 1;
}

.cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    color: #fff;
}

/* ФОН */
.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 30, 60, 0.9) 0%, rgba(10, 30, 60, 0.6) 50%, rgba(10, 30, 60, 0.2) 100%),
        url('/wp-content/uploads/your-bg.jpg') center/cover no-repeat;
    z-index: 1;
}

/* КОНТЕНТ */
.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    max-width: 520px;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* КНОПКИ */
.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn-yellow {
    background: #f5b400;
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
}

/* ПРАВА КАРТИНКА */
.cta-image img {
    max-height: 260px;
    width: auto;
}

/* АДАПТИВ */
@media (max-width: 992px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .cta-image img {
        max-height: 200px;
    }
}

.navbar-brand img {
    max-width: 250px;
}

.footer-social .social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    text-decoration: none;

    transition: 0.2s;
}

.footer-social .social i {
    font-size: 16px;
}

/* hover */
.footer-social .social:hover {
    background: #ffc107;
    color: #000;
}

#legalModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#form-success {
    font-weight: 600;
}

.btn-header {
    text-decoration: none;
}

.who-link {
    text-decoration: none;
    font-weight: bold;
    color: #153866;
}

.mission-section .section-label,
.partner-section .section-label {
    color: #ffffff;
    text-align: left;
}

.timeline-title.section-label {
    color: #ffffff;
}

#load-more-news {
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

#load-more-news:hover {
    color: #fff !important;
    background: var(--dark-blue) !important;
}


.footer-logo img {
    max-width: 90%;
}

footer a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

footer a:hover {
    color: var(--main-yellow);
}

/* .news-item{
    border: 1px solid #ccc;
    border-radius: 40px;
} */

.news-item {
    cursor: pointer;
}

.menu-close {
    display: none;
}

/* ================= FULLSCREEN MENU ================= */
 .footer-social{
    margin: 0;
 }
@media (max-width: 992px) {

    #menu {

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;

        background: rgba(9, 30, 60, 0.98);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        z-index: 999;

        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    #menu.show {
        opacity: 1;
        visibility: visible;
    }

    /* меню по центру */
    #menu .navbar-nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #menu .nav-link {
        font-size: 22px;
        color: #fff;
    }

    /* кнопка */
    #menu .d-flex {
        margin-top: 30px;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 28px;
        color: #fff;
        background: none;
        border: none;
    }

    .footer-social{
            margin: 30px 0;
    }
    .after-footer{

    }

}

.custom-close {
    width: 28px;
    height: 28px;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
}

.custom-close::before,
.custom-close::after {
    content: '';
    position: absolute;
    top: 0;
    left: 13px;
    width: 2px;
    height: 28px;
    background: #000;
    /* або #fff якщо темний фон */
}

.custom-close::before {
    transform: rotate(45deg);
}

.custom-close::after {
    transform: rotate(-45deg);
}

/*  */

/* ================= ANIMATION ================= */

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease;
}

.animate.show {
    opacity: 1;
    transform: translateY(0);
}