﻿/* ───────────────────────────────────────────
   DARK FOOTER SECTION
─────────────────────────────────────────── */
.footer-dark {
    background: var(--neutral-292929);
    padding: 120px 0 120px 0;
    position: relative;
    overflow:hidden;
}

    .footer-dark::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 100%;
        height:129px;
        background: url('../../img/wave.svg') no-repeat;
        background-size: cover;
        background-position: bottom;
    }

/* ─── NAV LINKS ──────────────────────────── */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

    .footer-nav li a,
    .footer-a_link
    {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--neutral-858585);
        font-size: var(--df-text-fs-16);
        transition: color 0.2s ease;
    }

    .footer-nav .social-icon {
        width: 28px;
        height: 28px;
    }



    .footer-nav li a:hover,
    .footer-a_link:hover,
    .footer-nav svg:hover {
        color: var(--neutral-FFFFFF);
        cursor: pointer;
    }

    .footer-nav li a.active,
    .footer-a_link.active,
    .footer-nav a.active svg {
        color: var(--red-D11019);
    }
    .footer-nav li a:active,
    .footer-a_link:active,
    .footer-nav a:active svg {
        color: var(--red-D11019);
    }

    .footer-nav li a.disabled,
    .footer-a_link.disabled,
    .footer-nav a.disabled svg {
        opacity: .7;
        user-select: none;
        pointer-events: none;
    }

    .footer-nav li a .arrow-icon {
        font-size: 0.8rem;
        color: var(--neutral-858585);
        flex-shrink: 0;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .footer-nav li a:hover .arrow-icon {
        transform: translateX(4px);
        color: #fff;
    }

    .footer-bottom .footer-nav li a:hover,
    .footer-bottom .footer-nav svg:hover {
        color: var(--neutral-E2E2E2);
    }

    .footer-bottom .footer-nav li a:hover .arrow-icon {
        color: var(--neutral-E2E2E2);
    }


/* ─── FOOTER DESCRIPTION TEXT ─────────────── */
.footer-desc {
    font-size: var(--df-text-fs-14);
    line-height: 18px;
    color: var(--neutral-666666);
}

/* ─── CARDS ──────────────────────────────── */
.footer-card {
    background: var(--neutral-E0E0E0);
    border-radius: 4px;
    overflow: visible;
    z-index: 1;
    padding: 20px;
    position: relative;
    display:flex;
    flex-direction:column;  
    height:100%;
    max-height:380px;
}

    .footer-card:before {
        content: "";
        position: absolute;
        inset: -6px;
        z-index: -1;
        border-radius: 4px;
        background: linear-gradient(90deg, #FCC5C8 0%, #FFFFFF 100%);
        filter: blur(1px) opacity(0.2);
    }

/* Image placeholder */
.card-img-placeholder {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

    .card-img-placeholder img {
        width: 100%;
        border-radius: 8px;
        object-fit: cover;
    }

.footer-card .card-body-text {
    font-size: 0.82rem;
    color: var(--neutral-4E4E4E);
    line-height: 1.5;
    margin: 0;
}

/* ─── RIGHT COLUMN (two small cards) ─────── */
.cards-right-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

    .cards-right-col .footer-card {
        flex: 1;
    }

/* ─── BOTTOM DARK STRIP ──────────────────── */
.tagline a {
    color: var(--neutral-858585);
    text-decoration: underline;
}

    .tagline a:hover {
        color: #fff;
    }

.tagline.tag-lg{
    display:block;
}

.tagline.tag-sm{
    display:none !important;
}

/* ─── WAVE SVG ───────────────────────────── */
.footer-wave {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: -2px;
}

/* ─── WHITE SECTION ──────────────────────── */
.footer-white {
    background: var(--neutral-FFFFFF);
}

.footer-bottom {
    margin-top: -80px;
}

/* ───────────────────────────────────────────
   LEFT COLUMNS DESKTOP LAYOUT
   Two sub-columns inside the left col
─────────────────────────────────────────── */
.left-inner {
    gap: 2.5rem;
}

/* ───────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────── */


@media (max-width: 1020px) {
    .footer-dark {
        padding: 60px 0 120px 0;
    }
    .footer-dark::after{
        width:120%;
    }
    .footer-card {
        padding: 12px 12px 18px 12px;
    }
    .footer-nav {
        gap: 20px;
    }

    .left-inner {
        gap: 0;
    }

    .cards-right-col {
        flex-direction: row;
        flex-wrap: wrap;
    }

        .cards-right-col .footer-card {
            flex: 1 1 calc(50% - 0.5rem);
            min-width: 200px;
        }

    .footer-bottom{
        margin-top:-60px;
    }
}

@media (max-width: 768.98px) {
    .footer-nav {
        gap: 16px;
    }

    .footer-card{
        max-width:260px;
    }

    .left-inner {
        grid-template-columns: 1fr;
    }

    .cards-right-col {
        flex-direction: column;
        gap: 3rem;
    }

        .cards-right-col .footer-card {
            flex: unset;
        }

    .footer-nav li a {
        display: inline-flex;
        gap: 8px;
    }

}

@media (max-width:576px){
    .footer-card {
        max-width: 240px;
    }

    .footer-dark::after {
        width: 150%;
        height: 60px;
    }

    .footer-bottom {
        margin-top: 0px;
    }

    .cards-right-col {
        gap: 3rem;
    }

    .tagline.tag-lg {
        display: none !important;
    }

    .tagline.tag-sm {
        display: block !important;
        max-width: 240px;
    }
    .tagline.tag-sm.d-flex {
        display: flex !important;
    }

    .footer-max-w {
        max-width: 240px;
    }
    .footer-nav li a {
        display: flex;
        gap: 0px;
    }

}