﻿/* vems-footer.css - Vedanta English Medium School Footer - Clear Background */
/* All classes prefixed with 'vems-' to prevent conflicts */

/* ========== FOOTER CONTAINER - ISOLATED ========== */
.vems-footer {
    position: relative;
    font-family: 'Segoe UI', 'Roboto', 'Poppins', -apple-system, sans-serif;
    margin-top: auto;
    width: 100%;
    overflow: hidden;
    min-height: 380px;
    clear: both;
    display: block;
}

/* Clear Background Image Container */
.vems-footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.vems-footer-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Light Overlay for Better Text Readability - Reduced Opacity */
.vems-footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.vems-footer-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem 1.5rem;
}

/* ========== FOOTER GRID ========== */
.vems-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ========== FOOTER SECTIONS ========== */
.vems-footer-section {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

    .vems-footer-section:hover {
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(10px);
        transform: translateY(-5px);
        border-color: rgba(255, 217, 102, 0.6);
    }

/* Section Titles - Big & Bold */
.vems-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #ffffff;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 0.6rem;
    text-transform: uppercase;
}

    .vems-section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #ffd966, #ffb347);
        border-radius: 2px;
    }

/* ========== BRAND SECTION - BIG & BOLD ========== */
.vems-brand-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vems-brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.vems-logo-circle {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #ffd966, #ffb347);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.vems-logo-letter {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
}

.vems-brand-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.vems-brand-title p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.vems-brand-details {
    display: flex;
    gap: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.vems-detail-item {
    display: flex;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.vems-detail-label {
    font-weight: 800;
    color: #ffd966;
}

.vems-detail-item span:last-child {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.vems-school-address {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    padding-top: 0.3rem;
}

    .vems-school-address svg {
        width: 14px;
        height: 14px;
        stroke: #ffd966;
    }

/* ========== QUICK LINKS - BOLD TEXT ========== */
.vems-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

    .vems-links-list li {
        margin: 0;
        padding: 0;
    }

        .vems-links-list li a {
            color: rgba(255, 255, 255, 0.95);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            transition: all 0.2s ease;
            padding: 0.3rem 0;
        }

            .vems-links-list li a:hover {
                color: #ffd966;
                transform: translateX(8px);
            }

/* ========== PROGRAMS SECTION - BOLD TAGS ========== */
.vems-programs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.vems-program-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .vems-program-tag:hover {
        background: #ffd966;
        color: #1a1a1a;
        transform: translateY(-2px);
        border-color: #ffd966;
    }

.vems-program-link {
    color: #ffd966;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

    .vems-program-link:hover {
        gap: 0.8rem;
        color: #ffb347;
    }

/* ========== CONTACT SECTION ========== */
.vems-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.vems-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

    .vems-contact-item svg {
        width: 18px;
        height: 18px;
        stroke: #ffd966;
        flex-shrink: 0;
    }

.vems-slogan-box {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    border-left: 4px solid #ffd966;
}

.vems-marathi-slogan {
    font-size: 0.9rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.vems-vasudhaiva-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffd966;
    font-style: italic;
    letter-spacing: 0.5px;
}

.vems-direction-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
}

    .vems-direction-button:hover {
        background: #ffd966;
        color: #1a1a1a;
        border-color: #ffd966;
    }

    .vems-direction-button svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
    }

/* ========== FOOTER BOTTOM ========== */
.vems-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 1.5rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.vems-hosted-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    backdrop-filter: blur(5px);
}

.vems-hosted-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.vems-hosted-link {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    color: #ffd966;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

    .vems-hosted-link:hover {
        color: #ffb347;
        transform: scale(1.05);
    }

.vems-copyright-wrapper {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

    .vems-copyright-wrapper strong {
        color: #ffd966;
        font-weight: 800;
    }

/* ========== RESPONSIVE DESIGN ========== */
@media (min-width: 768px) {
    .vems-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .vems-footer-container {
        padding: 3rem 2rem 1.5rem;
    }

    .vems-footer {
        min-height: 420px;
    }
}

@media (min-width: 1024px) {
    .vems-footer-grid {
        grid-template-columns: 1.2fr 1fr 1.2fr 1.4fr;
        gap: 1.5rem;
    }

    .vems-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .vems-brand-title h2 {
        font-size: 2rem;
    }

    .vems-footer {
        min-height: 450px;
    }
}

@media (max-width: 640px) {
    .vems-footer-container {
        padding: 2rem 1rem 1rem;
    }

    .vems-footer-section {
        padding: 1.2rem;
    }

    .vems-section-title {
        font-size: 1.1rem;
    }

    .vems-brand-title h2 {
        font-size: 1.4rem;
    }

    .vems-logo-circle {
        width: 50px;
        height: 50px;
    }

    .vems-logo-letter {
        font-size: 1.6rem;
    }

    .vems-links-list li a {
        font-size: 0.9rem;
    }

    .vems-program-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .vems-footer {
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .vems-footer-grid {
        gap: 1rem;
    }

    .vems-brand-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .vems-hosted-wrapper {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }

    .vems-copyright-wrapper {
        text-align: center;
    }

    .vems-footer {
        min-height: 420px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes vemsFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vems-footer-section {
    animation: vemsFadeInUp 0.5s ease-out forwards;
}

    .vems-footer-section:nth-child(1) {
        animation-delay: 0.1s;
    }

    .vems-footer-section:nth-child(2) {
        animation-delay: 0.2s;
    }

    .vems-footer-section:nth-child(3) {
        animation-delay: 0.3s;
    }

    .vems-footer-section:nth-child(4) {
        animation-delay: 0.4s;
    }
