/* Markazus Suffah - Footer CSS | Theme: Amber & Charcoal | Premium */
.main-footer {
    background: linear-gradient(160deg, #242424 0%, #1E1E1E 30%, #1A1A1A 60%, #111111 100%);
    color: #ffffff;
    padding: 40px 0 0px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* top amber accent line */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(245,166,35,0.6) 15%, #F5A623 35%, #FFB74D 50%, #F5A623 65%, rgba(245,166,35,0.6) 85%, transparent 100%);
    box-shadow: 0 0 12px rgba(245,166,35,0.5), 0 0 24px rgba(245,166,35,0.25);
    pointer-events: none;
    z-index: 0;
}

/* bottom-left + top-right amber glow */
.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at bottom left, rgba(245, 166, 35, 0.16) 0%, transparent 45%),
        radial-gradient(ellipse at top right, rgba(245, 166, 35, 0.14) 0%, transparent 45%),
        radial-gradient(ellipse at center, rgba(245, 166, 35, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.main-footer .container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.footer-col {
    flex: 1;
    min-width: 0; /* allow shrinking below content's intrinsic size (prevents flex overflow) */
}

/* Logo */
.footer-logo img {
    width: 100%;
    max-width: 230px;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.footer-logo img:hover {
    filter: brightness(1.25) contrast(1.08)
        drop-shadow(0px 0px 16px rgba(245, 166, 35, 0.8))
        drop-shadow(0px 0px 30px rgba(245, 166, 35, 0.45))
        drop-shadow(0px 4px 8px rgba(0,0,0,0.5));
}

/* Headings */
.footer-col h3 {
    font-size: 14px;
    color: #F5A623;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #F5A623;
    border-radius: 2px;
}

/* Quick Links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.80);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a i {
    font-size: 14px;
    color: #F5A623;
    transition: transform 0.3s ease;
}

.footer-col ul li a:hover {
    color: #F5A623;
    padding-left: 4px;
}

.footer-col ul li a:hover i {
    transform: translateX(3px);
}

/* Contact */
.f-contact {
    color: rgba(255, 255, 255, 0.80);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    max-width: 100%;
}

.f-contact span {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.f-contact:hover {
    color: #F5A623;
}

.f-contact i {
    color: #F5A623;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Description text */
.footer-col p {
    margin-top: 12px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.8;
}

/* Social List */
.footer-social-list {
    list-style: none;
    padding: 0;
}

.footer-social-list li {
    margin-bottom: 12px;
}

.footer-social-list li a {
    color: rgba(255, 255, 255, 0.80);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.footer-social-list li a i {
    font-size: 18px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.10);
    border: 1px solid rgba(245, 166, 35, 0.20);
    border-radius: 8px;
    color: #F5A623;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(245,166,35,0.08);
}

.footer-social-list li a:hover {
    color: #F5A623;
}

.footer-social-list li a:hover i {
    background: rgba(245, 166, 35, 0.22);
    border-color: #F5A623;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3), 0 0 10px rgba(245,166,35,0.30), inset 0 1px 0 rgba(245,166,35,0.15);
}

/* Footer Bottom */
.footer-bottom {
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.30);
    margin-top: 30px;
    padding: 18px 0;
    font-size: 13px;
    border-top: 1px solid rgba(245, 166, 35, 0.08);
    box-shadow: inset 0 1px 0 rgba(245,166,35,0.06);
    color: rgba(255, 255, 255, 0.70);
    position: relative;
    z-index: 1;
}

.footer-bottom .container {
    display: block;
    text-align: center;
    width: 100%;
}

.bottom-copyright-text {
    text-align: center;
    display: block;
    width: 100%;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
    .main-footer {
        padding: 30px 0 0;
    }

    .main-footer > .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }

    .footer-logo img {
        max-width: 150px;
        margin-bottom: 10px;
    }

    .footer-col h3 {
        font-size: 12.5px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .footer-col p {
        font-size: 12px;
        margin-top: 8px;
        line-height: 1.6;
    }

    .footer-col ul li {
        margin-bottom: 7px;
    }

    .footer-col ul li a,
    .f-contact {
        font-size: 12.5px;
        gap: 6px;
    }

    .footer-social-list li {
        margin-bottom: 8px;
    }

    .footer-social-list li a {
        font-size: 12.5px;
        gap: 8px;
    }

    .footer-social-list li a i {
        font-size: 14px;
        width: 26px;
        height: 26px;
    }

    .footer-bottom {
        margin-top: 20px;
        padding: 12px 0;
        font-size: 9.5px;
    }

}

@media (max-width: 576px) {
    .main-footer > .container {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
        gap: 24px 15px;
    }

    .footer-col ul li a,
    .f-contact,
    .footer-social-list li a {
        justify-content: flex-start;
    }

    .footer-col h3::after {
        left: 0;
        transform: none;
    }
}