/* --- FOOTER SPECIFIC CSS --- */
.vanguard-footer {
    color: #a1a1a9; /* Soft grey text matching Solar Square */
}

/* Base Background Colors */
.footer-main {
    background-color: #171f13; /* Extremely dark, unnoticeable green tint */
}
.footer-cities {
    background-color: #0c0e1b; /* Deep navy block */
}

/* Logo Adjustments */
.footer-logo {
    height: 50px;
    object-fit: contain;
}
.made-in-india {
    font-size: 15px;
    font-weight: 500;
}

/* --- Text Adjustments --- */
.footer-heading {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* --- Links & Text Utilities --- */
.footer-links li { 
    margin-bottom: 14px; 
}

/* Applied Poppins and rgba color to all footer links, contact info, and city links */
.footer-links a, 
.contact-info a {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: rgb(255 255 255 / 0.7); /* Perfect semi-transparent white */
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.city-links a {
    /* font-family: "Poppins", sans-serif; */
    font-weight: 400;
    color: rgb(255 255 255 / 0.7); /* Perfect semi-transparent white */
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info span {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: rgb(255 255 255 / 0.7);
    font-size: 14px;
    line-height: 1.6;
}

/* Hover effect for top footer links remains Brand Green */
.footer-links a:hover, 
.contact-info a:hover {
    color: #20b038; 
}

/* Hover effect for city links turns pure white */
.city-links a:hover {
    color: #ffffff; 
}
/* Social Icons Layout */
.social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08); /* Subtle circle background */
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}
.social-icons .social-icon:hover {
    background-color: #20b038; /* Fills brand green on hover */
    transform: translateY(-3px);
}

/* --- DESKTOP ONLY --- */
@media (min-width: 992px) {
    /* Adds the vertical lines between columns */
    .border-lg-start {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 45px; 
    }
    /* Disable accordion clicking on desktop */
    .footer-heading {
        pointer-events: none; 
    }
}

/* --- MOBILE & TABLET ONLY (Accordion Mode) --- */
@media (max-width: 991.98px) {
    /* Adds horizontal dividing lines on mobile */
    .border-bottom-mobile {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    /* Makes headers clickable for accordion */
    .footer-heading {
        cursor: pointer;
        padding: 5px 0;
    }
    /* Caret rotation logic */
    .icon-caret {
        font-size: 13px;
        transition: transform 0.3s ease;
    }
    .footer-heading[aria-expanded="true"] .icon-caret {
        transform: rotate(180deg);
        color: #20b038; /* Lights up green when opened */
    }
}

/* --- CITIES DIRECTORY STYLING --- */
.state-heading {
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
}
.city-links li { margin-bottom: 10px; }
.city-links a {
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.city-links a:hover {
    color: #ffffff;
}

/* Copyright Bar Footer Area */
.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff; /* Plain white for the text */
    font-size: 13px;
    font-family: "Poppins", sans-serif;
}
.copyright-link {
    color: #ffffff; /* Plain white for the links */
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.copyright-link:hover {
    color: #ffffff;
    opacity: 0.7; /* Slight fade effect since it's already white */
}
.copyright-separator {
    color: #ffffff; /* Plain white for the | bars */
    font-weight: 300;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-family: "Poppins", sans-serif;
}

.footer-credit a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #20b038;
}
