
/* Footer Styling */
.footer {
    background: linear-gradient(135deg, #0a0d1e 0%, #1a1d35 100%);
    color: #f5f7ff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #f5f7ff;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.95rem;
    color: #b0b3cc;
    line-height: 1.6;
}

.footer-desc-sm {
    font-size: 0.85rem;
    color: #b0b3cc;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b0b3cc;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #6688ff;
    text-decoration: underline;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 136, 255, 0.1);
    border: 1px solid rgba(102, 136, 255, 0.2);
    border-radius: 50%;
    color: #6688ff;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: #6688ff;
    color: #fff;
    transform: translateY(-2px);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #6688ff;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: #3a2cc3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.newsletter-form button:hover {
    background: #6688ff;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #b0b3cc;
}

.footer-bottom a {
    color: #6688ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #3a2cc3;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(58, 44, 195, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #6688ff;
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .footer-content {
        padding: 2rem 1rem !important;
    }
    
    .footer-title {
        font-size: 1.25rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }
}
