@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.container {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f6ff;
    color: #353535;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.text-primary-black {
    color: #000000;
}

.bg-primary-black {
    background-color: #000000;
}

.bg-primary-black-dark {
    background-color: #00406E;
}

.border-light-border-gray {
    border-color: #E0E0E0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.glass-card {
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.glass-card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.hero-section {
    background: linear-gradient(135deg, #005A9C 0%, #0077BE 50%, #4A90A4 100%);
}

.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 64, 110, 0.4);
}

a.hover\:text-primary-black:hover {
    color: #000000;
}

a.bg-primary-black:hover {
    background-color: #00406E;
}

button[type="submit"]:hover {
    background-color: #00406E;
}

a.border-2.border-white:hover {
    background-color: white;
    color: #000000;
}

.primary-black {
    color: #353535;
}

.medium-gray {
    color: #666666;
}

.soft-lavender {
    background-color: #CBAACB;
}

.whatsapp-button {
    position: fixed;
    left: 1.5rem;
    bottom: 3rem;
    z-index: 1000;
    background-color: #25D366;
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, 
                transform 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 3rem;
    z-index: 1000;
    background-color: #2d3748;
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, 
                visibility 0.3s ease, 
                transform 0.3s ease,
                background-color 0.3s ease;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: #1a202c;
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .whatsapp-button {
        left: 1rem;
        bottom: 4rem;
        padding: 0.875rem;
    }
    
    .back-to-top {
        right: 1rem;
        bottom: 4rem;
        padding: 0.875rem;
    }
    
    .whatsapp-button svg {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .back-to-top svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.whatsapp-button:active,
.back-to-top:active {
    transform: scale(0.95);
}

.whatsapp-button:focus,
.back-to-top:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .whatsapp-button {
        border: 2px solid #fff;
    }
    
    .back-to-top {
        border: 2px solid #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-button,
    .back-to-top {
        transition: none;
    }
    
    .whatsapp-button:hover,
    .back-to-top:hover {
        transform: none;
    }
}

@media print {
    .whatsapp-button,
    .back-to-top {
        display: none;
    }
}

footer p.italic a {
    color: #cbd5e0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer p.italic a:hover {
    color: #ffffff;
    text-decoration: none;
}
