/* ═══════════════════════════════════════════════════════════
   SCHOOLEDGE FOOTER - PREMIUM DESIGN
   ═══════════════════════════════════════════════════════════ */

.schooledge-footer {
    position: relative;
    margin-top: 80px;
}

/* ── Animated Wave ── */
.footer-wave {
    position: absolute;
    top: -119px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 120px;
    animation: waveFloat 6s ease-in-out infinite;
}

@keyframes waveFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ── Main Footer Background ── */
.footer-main {
    background: linear-gradient(135deg, #0F2E7A 0%, #0F2E7A 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* ── Floating Particles ── */
.footer-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.7; }
}

/* ── Brand Section ── */
.footer-brand {
    position: relative;
    z-index: 1;
}

.brand-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0F2E7A 0%, #0F2E7A 50%, #D9A11E 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6); }
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* ── Social Buttons ── */
.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn.facebook::before { background: linear-gradient(135deg, #1877f2, #0d5cb3); }
.social-btn.twitter::before { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.social-btn.instagram::before { background: linear-gradient(135deg, #e4405f, #c13584, #833ab4); }
.social-btn.linkedin::before { background: linear-gradient(135deg, #0077b5, #005885); }
.social-btn.youtube::before { background: linear-gradient(135deg, #ff0000, #cc0000); }

.social-btn:hover::before { opacity: 1; }
/* Keep colored backgrounds visible always */
.social-btn.facebook { background: linear-gradient(135deg, #1877f2, #0d5cb3); }
.social-btn.twitter { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.social-btn.instagram { background: linear-gradient(135deg, #e4405f, #c13584, #833ab4); }
.social-btn.linkedin { background: linear-gradient(135deg, #0077b5, #005885); }
.social-btn.youtube { background: linear-gradient(135deg, #ff0000, #cc0000); }

/* Add glow effect on hover */
.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.social-btn:hover {
    transform: translateY(-5px) rotate(5deg);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-btn i { position: relative; z-index: 1; }

/* ── Footer Links ── */
.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0F2E7A, #D9A11E);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-links:hover .footer-title::after,
.footer-contact:hover .footer-title::after {
    width: 60px;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links ul li a i {
    font-size: 0.7rem;
    color: #0F2E7A;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-links ul li a:hover i {
    color: #D9A11E;
    transform: scale(1.3);
}

/* ── Contact Items ── */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(5px);
}

.contact-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0F2E7A 0%, #0F2E7A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-text .value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ── Newsletter Section ── */
.footer-newsletter {
    margin-top: 50px;
    padding: 35px 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 20px;
    font-size: 0.95rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    background: transparent;
    color: white;
}

.btn-subscribe {
    background: linear-gradient(135deg, #0F2E7A 0%, #D9A11E 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* ── Footer Bottom ── */
.footer-bottom {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 100%);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: white;
    font-weight: 700;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0F2E7A, #D9A11E);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-bottom-links .divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 12px;
}

.animate-pulse {
    animation: heartPulse 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .footer-wave { top: -59px; }
    .footer-wave svg { height: 60px; }
    .footer-main { padding: 40px 0 30px; }
    .footer-newsletter { padding: 25px; margin-top: 30px; }
    .social-links { flex-wrap: wrap; }
    .footer-bottom { text-align: center; }
    .footer-bottom-links { margin-top: 15px; text-align: center !important; }
}
