/* ===== FOOTER ===== */
.modal-box form input,
.modal-box form select,
.modal-box form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.site-footer {
    background: #111827; /* Dark background */
    color: #e5e7eb;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-red); /* Uses the orange variable now */
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-col h4 .toggle-icon {
    display: none; /* Hidden on PC by default */
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.footer-col .logo {

    font-size: 1.8rem;
    display: inline-block;
    margin-bottom: 15px;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-col p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

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

.footer-bottom p {
    color: #6b7280;
    font-size: 0.85rem;
}

.footer-legal a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 15px;
}

.footer-legal a:hover {
    color: white;
}


.site-footer .brand-logo .mega-text {
    color: #ffffff; /* White for dark backgrounds */
}

/* =========================================
   FOOTER MOBILE & TEXT COLOR UPDATES
   ========================================= */
.site-footer .footer-col p,
.site-footer .footer-col ul a {
    color: #f3f4f6 !important; /* Lighter white */
}
@media (max-width: 768px) {
    .site-footer {
        text-align: left; /* Left align for accordion rows */
        padding: 40px 0 20px;
    }
    .site-footer .footer-col:first-child {
        text-align: center;
        margin-bottom: 30px;
    }
    .social-links {
        justify-content: flex-start;
        padding-top: 5px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0 !important;
    }
    .footer-col.collapsible h4 {
        cursor: pointer;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 0;
        user-select: none;
    }
    .footer-col h4 .toggle-icon {
        display: block; /* Visible on mobile */
    }
    .footer-col-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .footer-col-content.open {
        max-height: 150px;
        padding-top: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}



.site-footer .footer-col ul a {
    transition: color 0.3s ease !important;
}
.site-footer .footer-col ul a:hover {
    color: var(--primary-red) !important;
}
