/* ================================================
   footer.css — ScienceUtsav Footer Component Styles
   Extracted from assets/style.css (Section 13)
   Included by: loader.js or directly in <head>
   ================================================ */

/* ============================================== 
   FOOTER SECTION 
   ============================================== */

.site-footer {
    background-color: #0d3c75; /* Brand Dark Blue */
    color: #ffffff;
    padding: 70px 0 0 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 10;
}

.site-footer .container {
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

/* --- Brand Column --- */
.brand-col {
    flex: 1.2; /* Slightly wider */
}

.footer-logo {
    width: 160px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Makes logo white */
}

.footer-desc {
    font-size: 14px;
    color: #dbeafe; /* Light Blue-White */
    line-height: 1.7;
    margin-bottom: 25px;
    padding-right: 20px;
}

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

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

.social-icons a:hover {
    background-color: #f7941d; /* Brand Orange */
    transform: translateY(-3px);
}

/* --- Headings & Links --- */
.footer-heading {
    color: #f7941d; /* Brand Orange */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Small underline for headings */
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #dbeafe;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 10px;
    color: #f7941d;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px; /* Subtle slide effect */
}

/* --- Contact & Offices --- */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #fff;
}

.contact-item i {
    color: #f7941d;
    font-size: 16px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* Office Locations Styling */
.office-locations {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.office-block h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    border-left: 3px solid #f7941d; /* Orange accent line */
    padding-left: 8px;
}

.office-block p {
    font-size: 12px;
    color: #dbeafe;
    line-height: 1.5;
    padding-left: 11px; /* Align with text above */
}

/* --- Footer Bottom --- */
.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #f7941d;
}

.legal-links span {
    margin: 0 10px;
}

/* --- Responsive for Footer --- */
@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-col {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 20px;
    }
    
    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ============================================== 
   FLOATING WHATSAPP BUTTON (Standard across site)
   ============================================== */
.floating-whatsapp-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp-btn i {
    animation: ring 2s ease infinite;
    transform-origin: center;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(30deg); }
    20% { transform: rotate(-28deg); }
    30% { transform: rotate(34deg); }
    40% { transform: rotate(-32deg); }
    50% { transform: rotate(30deg); }
    60% { transform: rotate(-28deg); }
    70% { transform: rotate(34deg); }
    80% { transform: rotate(-28deg); }
    90% { transform: rotate(30deg); }
    100% { transform: rotate(0); }
}
