.footer {
    margin-top: 80px; 
    color: #fff;
    font-family: 'Poppins', sans-serif;
    padding-top: 70px;

    background: linear-gradient(135deg,
        #bfd5f0,
        #f4d0d0,
        rgba(124, 58, 237, 0.12),
        #cd91f3
    );
}


.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: start;
}


.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    color: #4a235a;
}


.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
    color: #411E59;
}


.footer-contact {
    margin-top: 18px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 6px;
}


.footer-col h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #4a235a;
    font-family: 'Playfair Display', serif;
}


.footer-col ul {
    list-style: none;
    padding: 0;
    color: #411E59;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: #411E59;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    color: #411E59;
}

.footer-col ul li a:hover {
    color: #ef6013;
    padding-left: 6px;
}


.footer-map iframe {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.25);
}

.footer-map-text {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
    color: #411E59;
    font-weight: 700;
}


.footer-middle {
    margin-top: 60px;
    padding: 35px 20px;
    background: #ffffff;
    text-align: center;
}

.middle-title {
    font-size: 22px;
    font-weight: 700;
    color: #240046;
    margin-bottom: 22px;
    font-family: 'Playfair Display', serif;
}


.course-marquee {
    overflow: hidden;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.course-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: marquee 18s linear infinite;
}

.course-track span {
   background: linear-gradient(135deg,
        #bfd5f0,
        #f4d0d0,
        rgba(124, 58, 237, 0.12),
        #cd91f3
    );
    color: #240046;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0px 6px 16px rgba(0,0,0,0.12);
    white-space: nowrap;
    transition: 0.3s;
     margin-right: 25px;
}

.course-track span:hover {
    background: #411E59;
    color: #fff;
    transform: translateY(-4px);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.footer-bottom {
    background: linear-gradient(to right, #43265f, #4a235a);
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom span {
    color: #ffd166;
    font-weight: 700;
}


.footer-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

.social-icon:hover {
    background: #ffd166;
    color: #240046;
    transform: scale(1.12);
}


.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #fff;
    font-size: 26px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 999;
    cursor: pointer;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}


.whatsapp-popup {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 320px;
    height: 420px;
    background: #f5f5f5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
    z-index: 999;
    display: none;
    flex-direction: column;
    animation: popupFade 0.3s ease;
}

@keyframes popupFade {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}


.popup-header {
    background: #4a235a;
    color: white;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
}

.popup-title i {
    font-size: 20px;
}

.popup-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}


.popup-body {
    flex: 1;
    padding: 14px;
    background: #e5ddd5;
    overflow-y: auto;
}

.popup-msg {
    background: white;
    padding: 12px;
    border-radius: 12px;
    width: fit-content;
    max-width: 85%;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.popup-msg p {
    margin: 4px 0 0;
    font-size: 13px;
}

/* Footer */
.popup-footer {
    display: flex;
    padding: 10px;
    gap: 8px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}

.popup-footer input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    border-radius: 30px;
    outline: none;
    font-size: 13px;
}

.popup-footer button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #25D366;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.popup-footer button:hover {
    transform: scale(1.05);
}


@media(max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-map iframe {
        height: 200px;
    }

    .course-track {
        animation: marquee 22s linear infinite;
        gap: 25px;
        
    }
    .course-track span {
    margin-right: 15px;
}
}
