/* Material Icons Helper */
.material-icons {
    font-family: 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

:root {
    /* Paleta Azul solicitada */
    --primary: #153275;
    --secondary: #69AFFA;
    --tertiary: #DCDCDC;
    
    /* Variantes y Neutros */
    --bg-light: #f5f7f8;
    --bg-dark: #0f1923;
    --text-main: #0f172a;
    --text-muted: #64748b;
    
    /* Transiciones suaves */
    --transition-base: 0.3s ease;
}

/* Premium Hero Enhancements */
.hero-gradient-overlay {
    background: linear-gradient(
        135deg, 
        rgba(15, 25, 35, 0.9) 0%, 
        rgba(15, 25, 35, 0.6) 40%, 
        rgba(15, 25, 35, 0.3) 100%
    );
}

.hero-text-shadow {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

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

.badge-floating {
    animation: badgeFloat 3s ease-in-out infinite;
}

/* Base Styles */
body {
    transition: background-color var(--transition-base), color var(--transition-base);
}

.layout-container {
    padding-top: 82px; /* Header height offset */
}

/* Mega Menu Styles */
.megamenu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
}

.dark .megamenu {
    background: #0f172a;
}

.group:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    min-width: 280px;
    flex: 1 1 0%;
}

.megamenu-item {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.megamenu-item:hover {
    color: var(--primary);
}

.megamenu-item i, .megamenu-item .material-icons {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
}

.megamenu-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.dark .megamenu-heading {
    border-bottom-color: #1e293b;
}

/* Layout Utilities */
.grid-cols-3-fixed > * {
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-bg-zoom {
    animation: slowZoom 20s infinite alternate ease-in-out;
}

/* Ensure AOS doesn't conflict and elements are hidden before animation */
[data-aos] {
    pointer-events: none;
}
.aos-animate {
    pointer-events: auto;
}
/* Premium Shimmer Effect */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.btn-shimmer {
    background: linear-gradient(90deg, var(--primary) 25%, #2a4c9c 50%, var(--primary) 75%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}
