/* ============================================
   CSS VARIABLES (Required for footer styles)
   ============================================ */
:root {
    --primary-red: #fc0404;
    --dark-bg: #1b1f22;
    --light-gray: #212529;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --black: #000000;
}

/* ============================================
   FOOTER WAVE TOP
   ============================================ */
.footer-wave-top {
    width: 100%;
    height: 100px;
    background: var(--primary-red);
    position: relative;
    margin-top: 0; /* Removed gap globally */
    margin-bottom: -50px;
    overflow: hidden;
}

.footer-wave-top::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: var(--light-gray);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    animation: wave 3s ease-in-out infinite;
}

.footer-wave-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: rgba(33, 37, 41, 0.8);
    border-radius: 45% 55% 0 0 / 100% 100% 0 0;
    animation: wave 4s ease-in-out infinite reverse;
}

@keyframes wave {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25%);
    }
}

@media (max-width: 768px) {
    .footer-wave-top {
        margin-top: 0;
        height: 60px; /* Reduce height on mobile for compactness */
        margin-bottom: -30px;
    }
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.footer {
    background: linear-gradient(180deg, var(--light-gray) 0%, #1a1d20 100%);
    padding: 1rem 0 2rem;
    position: relative;
}



.footer .row {
    align-items: flex-start;
}

/* Left Column - Logo & Branding */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
}

.footer-logo-img {
    width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(252, 4, 4, 0.3));
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-gray);
    max-width: 320px;
    margin-top: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, #d60303 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.3rem;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(252, 4, 4, 0.3);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    transition: left 0.4s ease;
}

.social-icon:hover {
    background: var(--text-white);
    color: var(--primary-red);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 25px rgba(252, 4, 4, 0.5);
}

.social-icon:hover::before {
    left: 100%;
}

/* Middle Column - Get In Touch */
.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
    padding-left: 0;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red) 0%, transparent 100%);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-gray);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    padding-left: 10px;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--primary-red);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 4, 4, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--primary-red);
    color: var(--text-white);
    transform: rotate(360deg);
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.contact-item a:hover {
    color: var(--primary-red);
    letter-spacing: 0.5px;
}

/* Right Column - Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links li {
    position: relative;
    padding-left: 0;
}

.footer-links li a {
    color: var(--text-gray);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0.5rem 0;
}

.footer-links li a::before {
    content: '→';
    position: absolute;
    left: -25px;
    opacity: 0;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-red);
    padding-left: 25px;
    letter-spacing: 1px;
}

.footer-links li a:hover::before {
    opacity: 1;
    left: 0;
}

/* Copyright Section */
.footer .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.footer .fw-bold {
    font-weight: 700 !important;
    color: var(--primary-red) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer .fw-bold:hover {
    color: var(--text-white) !important;
    text-shadow: 0 0 10px rgba(252, 4, 4, 0.8);
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP
   ============================================ */
@media (max-width: 992px) {
    .footer-title {
        font-size: 2rem;
    }

    .footer-heading {
        font-size: 1.3rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */
@media (max-width: 768px) {
    .footer-wave-top {
        height: 60px;
        margin-top: 1.5rem;
        margin-bottom: -30px;
    }

    .footer {
        padding: 0.5rem 0 1rem;
    }

    .footer .row {
        margin-bottom: 0;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
        margin-bottom: 1.5rem;
        padding-left: 0;
    }

    .footer-logo-img {
        width: 50px;
        margin-bottom: 0.8rem;
    }

    .footer-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }

    .footer-tagline {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0.8rem;
        font-size: 0.85rem;
        max-width: 280px;
    }

    .social-icons {
        justify-content: center;
        margin-top: 1rem;
        gap: 12px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    /* HIDE FOOTER HEADINGS ON MOBILE */
    .footer-heading {
        display: none;
    }

    /* HIDE QUICK LINKS COLUMN ON MOBILE */
    .footer .col-lg-4:last-child {
        display: none;
    }

    .contact-info {
        align-items: center;
        padding-left: 0;
        gap: 0.8rem;
        margin-top: 0;
    }

    .contact-item {
        justify-content: center;
        padding: 0.3rem 0;
        font-size: 0.9rem;
    }

    .contact-item i {
        width: 26px;
        height: 26px;
        font-size: 1.1rem;
    }

    .footer>.container>.row>div {
        margin-bottom: 1.5rem;
    }

    .footer .mt-5 {
        margin-top: 1.5rem !important;
    }

    .footer .pt-4 {
        padding-top: 1rem !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 576px) {
    /* Extra compact footer for very small screens */
    .footer-wave-top {
        height: 50px;
        margin-top: 1rem;
        margin-bottom: -25px;
    }

    .footer {
        padding: 0.5rem 0 0.8rem;
    }

    .footer-logo-img {
        width: 45px;
        margin-bottom: 0.5rem;
    }

    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
        margin-top: 0.5rem;
        max-width: 250px;
    }

    .social-icons {
        margin-top: 0.8rem;
        gap: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.95rem;
    }

    /* QUICK LINKS ALREADY HIDDEN FROM TABLET BREAKPOINT */

    .contact-info {
        gap: 0.6rem;
    }

    .contact-item {
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }

    .contact-item i {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }

    .footer>.container>.row>div {
        margin-bottom: 1.2rem;
    }

    .footer>.container>.row>div:last-child {
        margin-bottom: 0.5rem;
    }

    .footer .mt-5 {
        margin-top: 1rem !important;
    }

    .footer .pt-4 {
        padding-top: 0.8rem !important;
    }

    .footer .border-top {
        padding-top: 0.8rem !important;
    }

    .footer .text-white-50 {
        font-size: 0.75rem !important;
        text-align: center;
        display: block;
    }
    
    .footer-brand {
        margin-bottom: 2rem;
    }
    
    .social-icons {
        margin-bottom: 1rem;
    }
    
    .footer .border-top {
        margin-top: 1rem !important;
    }
    
    .footer .row {
        flex-direction: column;
        align-items: center;
    }
    
    .footer .col-lg-4, 
    .footer .col-md-6 {
        width: 100%;
        text-align: center;
    }
    
    .contact-info {
        align-items: center; 
    }
}

