/* Container and Section Base */
.footer-area-modern {
    /* background: #090e16; */
    color: #a0aec0;
    padding: 80px 0 0 0;
    font-family: "Hind Siliguri", "Inter", sans-serif;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.2fr;
    gap: 20px;
    padding-bottom: 60px;
}

/* Typography & Titles */
.footer-label {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.footer-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: #3182ce;
}

/* Links Styling */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    display: inline-block;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Brand HTML (Logo & Hotline) */
.brand-raw-html img,
.footer-logo {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    max-width: 180px;
    width: auto;
    height: auto;
    display: block;
}

.footer-logo {
    max-width: 190px;
}

.brand-raw-html h5 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

/* Social Media Section */
.modern-social-icons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 18px;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-5px);
    color: #fff;
}

/* Brand Colors */
.social-btn.hover-facebook:hover {
    background: #1877f2 !important;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}
.social-btn.hover-youtube:hover {
    background: #ff0000 !important;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}
.social-btn.hover-whatsapp:hover {
    background: #25d366 !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.social-btn.hover-instagram:hover {
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    ) !important;
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.4);
}
.social-btn.hover-twitter:hover {
    background: #1da1f2 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.social-btn.hover-linkedin:hover {
    background: #0077b5 !important;
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}
.social-btn.hover-tiktok:hover {
    background: #000000 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Footer Bottom */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    margin-top: 40px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright-text {
    font-size: 14px;
    color: #718096;
}

/* --- Responsive & Centering Logic --- */

@media (max-width: 1200px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-area-modern {
        padding: 40px 0 0 0;
    }

    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .brand-column {
        grid-column: span 2;
        margin-bottom: 30px;
        /* Force internal content to center */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Specifically center the logo/html area */
    .brand-raw-html {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .footer-label::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .modern-social-icons,
    .footer-bottom-flex > div {
        justify-content: center;
        width: 100%;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
    }
    .brand-column {
        grid-column: span 1;
    }
}
