/* Variables CSS */
:root {
    --primary-color: #38b6ff;
    --secondary-color: #87ceeb;
    --accent-color: #ffd166;
    --dark-color: #1e3a5f;
    --light-color: #f0f9ff;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 8px 25px rgba(56, 182, 255, 0.15);
    --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --border-radius: 12px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color), #0a2540);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-description {
    margin-bottom: 25px;
    opacity: 0.85;
    line-height: 1.7;
}

.footer-links h3,
.footer-newsletter h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-newsletter h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:before {
    content: '→';
    margin-right: 10px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.newsletter-form {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border: none;
    padding: 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 182, 255, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        gap: 40px;
    }
}