/* ============================================================
   FOOTER — FULLY RESPONSIVE
   ============================================================ */

.footer-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 40px;
    background-color: #007e76;
    font-family: "Poppins", sans-serif;
    color: #19212b;
    height: auto;
    padding: 40px 60px;         /* FIX: symmetric horizontal padding */
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
}

/* ── Row One ─────────────────────────────────────────────── */

.row-one {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 30px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

/* ── Columns ─────────────────────────────────────────────── */

.column-1,
.column-2,
.column-3,
.column-4 {
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    flex: 1 1 220px; /* responsive base */
    min-width: 200px;
}

.column-1 {
    flex: 1.5;
    border-right: 2px dashed #e5e7eb;
}

.column-2 {
    flex: 1.3;              /* FIX: was 20% — services list is long */
}

.column-3 {
     flex: 0.8;
}

.column-4 {
     flex: 1.2;
}

/* ── Column content ──────────────────────────────────────── */

.column-1 h2 {
    font-size: 2.5rem;          /* FIX: was 3rem — too large, overflows on mid screens */
    font-family: "Changa One", sans-serif;
    color: #e5e7eb;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;        /* FIX: prevent logo text from wrapping */
}

.column-1 p {
    font-size: 0.95rem;
    margin: 0;
    border-left: 2.5px solid #19212b;
    padding-left: 10px;
}

.column-2 h3,
.column-3 h3,
.column-4 h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #e5e7eb;
}

.column-2 ul,
.column-3 ul,
.column-4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.column-2 ul li,
.column-3 ul li,
.column-4 ul li {
    font-size: 0.9rem;
    line-height: 1.5;
}

.column-2 a,
.column-3 a,
.row-two a {
    text-decoration: none;
    color: #19212b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.column-2 a:hover,
.column-3 a:hover,
.row-two a:hover {
    color: #e5e7eb;
}

.column-4 ul li:last-of-type {
    border-left: 2.5px solid #19212b;
    padding-left: 10px;
    color: #19212b;
    margin-top: 20px;
}

/* ── CTA Button ──────────────────────────────────────────── */

.column-1 button {
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: #0f172a;
    color: #e5e7eb;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    transition: 0.3s ease-in-out;
    white-space: nowrap;        /* FIX: prevent button text from wrapping */
    max-width: 100%;
    margin-top: 20px;
}

.column-1 button:hover {
    background: #e5e7eb;
    box-shadow: 0 8px 40px 0px #4a4a4a9e;
    color: #007e76;
    transform: scale(1.03);
}

/* ── Logo row ────────────────────────────────────────────── */

.logo-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;                   /* FIX: add gap between logo and text */
}

.logo-row img {
    width: auto;
    height: 60px;               /* FIX: was 80px — caused logo to be too tall */
    object-fit: contain;        /* FIX: was cover — distorts the logo */
}

/* ── Row Two ─────────────────────────────────────────────── */

.row-two {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-top: 1px solid #19212b;
    gap: 30px;
    padding-top: 16px;
    box-sizing: border-box;
 
    /* FIX: allow items to wrap if they don't fit side by side */
    flex-wrap: wrap;
 
    /* FIX: ensure it's never squished to zero height */
    min-height: 48px;
}
 
.row-two p {
    margin: 0;
    font-size: 0.85rem;
    white-space: nowrap;        /* prevent copyright text from breaking mid-word */
}
 
.row-two a {
    font-size: 0.85rem;
    white-space: nowrap;
    text-decoration: none;
    color: #19212b;
    transition: color 0.3s ease;
}
 
.row-two a:hover {
    color: #e5e7eb;
}

.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.privacy-content {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    font-family: "Poppins", sans-serif;
}

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

#closePrivacy {
    font-size: 24px;
    cursor: pointer;
}

.privacy-body {
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
    font-size: 14px;
}

.privacy-footer {
    margin-top: 15px;
    text-align: right;
}

.privacy-footer button {
    background: #007e76;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.privacy-footer button:hover {
    background: #0f172a;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}


@media (min-width: 992px) and (max-width: 1199px) {


    .footer-container {
        padding: 30px 25px;
    }

    .row-one {
        gap: 20px;
    }

    /* Stack first column full width */
    .column-1 {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 2px dashed #e5e7eb;
        padding-bottom: 20px;
    }

    /* Other columns balance nicely */
    .column-2,
    .column-3,
    .column-4 {
        flex: 1 1 45%;
    }

    .column-1 h2 {
        font-size: 2rem;
    }
}

@media (min-width: 576px) and (max-width: 991px) {

    .column-2,
    .column-3 {
        flex: 1 1 100%;
    }

    .column-4 {
        flex: 1 1 100%;
        border-top: 1px solid rgba(229, 231, 235, 0.3);
        padding-top: 16px;
    }

    .row-two {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .column-1{
        border-right: none;
        border-bottom: 2px dashed #e5e7eb;
        padding-bottom: 20px;
    }

}

/* =========================
   MOBILE (575px ↓)
========================= */

@media (max-width: 575px) {

    .footer-container {
        padding: 25px 18px;
    }

    .row-one {
        flex-direction: column;
        gap: 0;
    }

    .column-1,
    .column-2,
    .column-3,
    .column-4 {
        width: 100%;
        flex: unset;
        padding: 18px 0;
        border-bottom: 1px solid rgba(229, 231, 235, 0.25);
    }

    .column-4 {
        border-bottom: none;
    }

    .column-1 h2 {
        font-size: 1.5rem;
    }

    .column-1 button {
        width: 100%;
        max-width: 100%;
    }

    .logo-row img {
        height: 45px;
    }

    .row-two {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .row-two p,
    .row-two a {
        white-space: normal;
        font-size: 0.8rem;
    }
    .column-1{
        border-right: none;
         border-bottom: 2px dashed #e5e7eb;
    }
}