/* ============================
   FOOTER - Premium Design
============================ */
.studyexpo-footer {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 80px 5% 0;
    font-family: -apple-system, BlinkMacSystemFont,
        "SF Pro Display", "SF Pro Text",
        Helvetica, Arial, sans-serif;
    overflow: hidden;
}

/* Decorative Background Elements */
.studyexpo-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(245, 197, 66, 0.5) 50%,
            transparent 100%);
}

.studyexpo-footer::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 197, 66, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Main Container */
.footer-container {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 50px;
    z-index: 1;
}

/* Brand Section */
.footer-brand h2 {
    font-size: 32px;
    font-weight: 800;
    color: #f5c542;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.footer-brand>p {
    font-size: 16px;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 400px;
}

/* CTA in Footer - Clean & Minimal */
.footer-cta {
    margin-top: 25px;
}

.footer-cta p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 12px;
    font-weight: 500;
}

.footer-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5c542;
    color: #0f172a;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-cta a:hover {
    background: #e6b532;
    transform: translateX(3px);
}

.footer-cta a i {
    transition: transform 0.3s;
}

.footer-cta a:hover i {
    transform: translateX(3px);
}

/* Links Section */
.footer-links h3,
.footer-contact h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #f5c542;
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a::before {
    content: '→';
    color: #f5c542;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.footer-links ul li a:hover {
    color: #f5c542;
    transform: translateX(5px);
}

.footer-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Section */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    margin-bottom: 15px;
    color: #cbd5e1;
    font-weight: 500;
}

.footer-contact p i {
    color: #f5c542;
    font-size: 16px;
    width: 20px;
}

.footer-contact p a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact p a:hover {
    color: #f5c542;
}

/* Social Icons */
.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-social h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #f5c542;
    border-radius: 2px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #f5c542;
    color: #0f172a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 197, 66, 0.3);
}

@media (max-width: 768px) {
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }
}

/* Trust Signals Bar */
.footer-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 30px 20px;
    background: rgba(245, 197, 66, 0.05);
    border-top: 1px solid rgba(245, 197, 66, 0.1);
    border-bottom: 1px solid rgba(245, 197, 66, 0.1);
    margin-bottom: 40px;
}

.footer-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 600;
}

.footer-trust span i {
    color: #f5c542;
    font-size: 16px;
}

.footer-trust .divider {
    color: rgba(245, 197, 66, 0.3);
    font-size: 18px;
}

/* Bottom Copyright */
.footer-bottom {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
}

.footer-bottom p:first-child {
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-bottom a {
    color: #f5c542;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #e6b532;
}

.footer-bottom i.fa-heart {
    color: #ef4444;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .studyexpo-footer {
        padding: 60px 5% 0;
        margin-top: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand h2 {
        font-size: 28px;
    }

    .footer-brand>p {
        max-width: 100%;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-cta {
        text-align: center;
    }

    .footer-trust {
        flex-direction: column;
        gap: 15px;
    }

    .footer-trust .divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .studyexpo-footer {
        padding: 50px 5% 0;
    }

    .footer-brand h2 {
        font-size: 24px;
    }

    .footer-container {
        gap: 35px;
    }
}