/* ============================================
   FOOTER WITH RADIAL GRADIENT + MATRIX RAIN
   ============================================ */

.site-footer {
    position: relative;
    min-height: 500px;
    
    /* Radial Gradient Background */
    background: radial-gradient(
        circle at 50% 30%,
        #1e2f8f 0%,
        #0f1e4a 30%,
        #070f2a 55%,
        #020617 100%
    );
    
    overflow: hidden;
    isolation: isolate;
}

/* Canvas Background - Matrix Rain */
.footer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    opacity: 0.7;
    pointer-events: none;
}

/* Footer Content Overlay - Transparent to see animation */
.footer-overlay {
    position: relative;
    z-index: 10;
    padding: 60px 0 20px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(36, 132, 198, 0.3);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}



/* Footer Brand - Semi-transparent for readability */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    height: 58px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(1.1);
    margin-top: -24px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(36, 132, 198, 0.2);
    border: 1px solid rgba(36, 132, 198, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.social-link:hover {
    background: #2484c6;
    border-color: #2484c6;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(36, 132, 198, 0.6);
}

/* Footer Links */
.footer-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #2484c6, transparent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-links a i {
    font-size: 0.8rem;
    color: #6db3ff;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 15px rgba(109, 179, 255, 0.5);
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: #aad0ff;
}

/* Newsletter */
.footer-newsletter p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid rgba(36, 132, 198, 0.4);
    background: rgba(2, 6, 23, 0.3);
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.newsletter-form input:focus {
    border-color: #2484c6;
    background: rgba(36, 132, 198, 0.2);
    box-shadow: 0 0 20px rgba(36, 132, 198, 0.3);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    background: #2484c6;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #3a9bdc;
    box-shadow: 0 0 25px rgba(36, 132, 198, 0.5);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(36, 132, 198, 0.25);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-legal a:hover {
    color: #aad0ff;
    text-shadow: 0 0 15px rgba(109, 179, 255, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        min-height: auto;
    }
    
    .footer-overlay {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
        display: block;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-newsletter {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Newsletter Form */
.footer-newsletter p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid rgba(36, 132, 198, 0.3);
    background: rgba(2, 6, 23, 0.5);
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.newsletter-form input:focus {
    border-color: #2484c6;
    background: rgba(36, 132, 198, 0.15);
    box-shadow: 0 0 15px rgba(36, 132, 198, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 14px 20px;
    border-radius: 30px;
    border: none;
    background: #2484c6;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #3a9bdc;
    box-shadow: 0 0 20px rgba(36, 132, 198, 0.4);
}

/* Success Message */
.form-success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(76, 217, 100, 0.15);
    border: 1px solid rgba(76, 217, 100, 0.3);
    border-radius: 30px;
    color: #4cd964;
    font-size: 0.85rem;
}

.form-success-message.show {
    display: flex;
}

.form-success-message i {
    font-size: 1rem;
}


/* Footer Contact Button */
.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2484c6, #1a5fa6);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(36, 132, 198, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact-btn:hover {
    background: linear-gradient(135deg, #3a9bdc, #2484c6);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(36, 132, 198, 0.4);
    color: white;
}

.footer-contact-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.footer-contact-btn:hover i {
    transform: translateX(3px);
}

/* Center on mobile */
@media (max-width: 768px) {
    .footer-contact-btn {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}