

/* ------------------------------------------------------------
   .footer-section main wrapper
   ------------------------------------------------------------ */
.footer-section {
    position: relative;
    background-color: var(--brand-color);
    color: var(--white);
    margin-top: 0px;
    padding-bottom: 10px;
    z-index: 0;

    /* ✅ FIX: prevent clipping */
    overflow-x: hidden;
    overflow-y: visible;

    width: 100%;
}

/* Pattern overlay */
.footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        url('../images/footer-pattern.png'),
        url('assets/images/footer-pattern.png'),
        url('/assets/images/footer-pattern.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.50;
    pointer-events: none;

    /* ✅ FIX: keep pattern behind content */
    z-index: 0;
}

/* Top wave divider */
.footer-section .custom-shape-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 70px;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
}

.footer-section .wave-container {
    display: flex;
    width: 200%;
    animation: waveMarquee 25s linear infinite;
}

.footer-section .wave-container svg {
    display: block;
    width: 50%;
    height: 70px;
}

@keyframes waveMarquee {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.footer-section .custom-shape-divider-top .shape-fill {
    fill: var(--page-bg);
}

/* ------------------------------------------------------------
   Footer content layout
   ------------------------------------------------------------ */
.footer-section .container {
    max-width: 100%;
    margin: 0;
    padding: 75px 40px 25px 40px;
    position: relative;
    z-index: 2; /* ✅ FIX */
}

.footer-section .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    position: relative;
    z-index: 2; /* ✅ FIX */
}

/* Footer columns */
.footer-section .footer-col,
.footer-section .contact-col {
    position: relative;
    z-index: 2; /* ✅ FIX */
}

/* Typography scoped */
.footer-section h2 { font-size: 26px; font-weight: 700; margin-bottom: 5px; }
.footer-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 25px; }
.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--footer-text-muted);
    margin-bottom: 20px;
}
.footer-section a {
    text-decoration: none;
    color: var(--white);
    transition: 0.3s;
}
.footer-section a:hover { color: #ffd700; }

/* Brand & logo */
.footer-section .logo-area { display: block; margin-bottom: 20px; }
.footer-section .footer-logo {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Social row */
.footer-section .social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-section .social-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: white !important;
    font-size: 14px;
    background: rgba(255,255,255,0.1);
    transition: transform 0.2s;
}
.footer-section .social-btn:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.3);
}

/* Links list */
.footer-section .nav-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.footer-section .nav-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}
.footer-section .nav-links li::before {
    content: '\25B6';
    font-size: 9px;
    margin-right: 12px;
    margin-top: 5px;
    color: rgba(255,255,255,0.7);
}

/* Map wrapper */
.footer-section .map-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
}
.footer-section .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact lines */
.footer-section .contact-line {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--footer-text-muted);
    font-size: 14px;
    align-items: flex-start;
}
.footer-section .contact-line i {
    margin-top: 4px;
    width: 16px;
    font-size: 14px;
    color: #ffcc00;
}
.footer-section .contact-line a { color: var(--footer-text-muted); }
.footer-section .contact-line a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Copyright area */
.footer-section .copyright-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 16px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--footer-text-muted);
    position: relative;
    z-index: 2; /* ✅ FIX */
}

/* Developer logo */
.footer-section .dev-logo {
    height: 25px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
    display: block;
}
.footer-section .dev-logo:hover { opacity: 1; }

/* Responsive */
@media (max-width: 992px) {
    .footer-section .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-section .container {
        padding: 60px 24px 20px 24px;
    }
}

@media (max-width: 576px) {
    .footer-section .container {
        padding: 45px 20px 16px;
    }
    .footer-section .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .footer-section .logo-area,
    .footer-section .social-row,
    .footer-section .nav-links li,
    .footer-section .contact-line {
        justify-content: center;
        align-items: center;
    }
    .footer-section .custom-shape-divider-top svg {
        height: 40px;
    }
}

/* ============================================================
   ====================  FOOTER CSS END  =======================
   ============================================================ */

   