@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #0077B6;
    --secondary-teal: #48CAE2;
}

body {
    font-family: 'Inter', sans-serif;
}

.bg-primary { background-color: var(--primary-blue); }
.text-primary { color: var(--primary-blue); }
.border-primary { border-color: var(--primary-blue); }

.bg-secondary { background-color: var(--secondary-teal); }

/**
 * +EDUCACION Design System
 */

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

@keyframes revealLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.reveal-grid > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.reveal-grid.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay Utilities */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

.hover-innovative:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Team Section Enhancements */
.team-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.team-avatar-container {
    position: relative;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    border-radius: 2rem;
    overflow: hidden;
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(2rem - 4px);
    transition: transform 0.7s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.team-tag-primary {
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--primary-blue);
}

.team-tag-secondary {
    background-color: rgba(72, 202, 226, 0.1);
    color: var(--secondary-teal);
}

.team-card:hover .team-tag {
    transform: scale(1.05);
}

/* Service Section Enhancements */
.service-card-premium {
    position: relative;
    background: white;
    padding: 3rem;
    border-radius: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.service-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px -20px rgba(0, 119, 182, 0.15);
}

.service-num {
    position: absolute;
    top: -1rem;
    right: 2rem;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: all 0.6s ease;
    opacity: 0.6; /* Default opacity for the inline color */
}

.service-card-premium:hover .service-num {
    opacity: 1;
    transform: scale(1.1) rotate(-5deg);
}

.service-icon-premium {
    width: 4.5rem;
    height: 4.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 20px -5px rgba(0, 119, 182, 0.3);
    transition: all 0.4s ease;
}

.service-card-premium:hover .service-icon-premium {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px -5px rgba(0, 119, 182, 0.5);
}

.service-title-premium {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.service-text-premium {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    z-index: 10;
}
/* --- HIGH-IMPACT TRUST SECTION (DARK MODE) --- */

.dark-trust-section {
    background: #fbfcfe;
    position: relative;
    overflow: hidden;
}

.dark-trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 119, 182, 0.1), transparent);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    overflow: hidden;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    gap: 2rem;
    padding: 1rem 0;
}

.animate-marquee {
    animation: marquee 40s linear infinite;
    display: flex;
    width: max-content;
}

.animate-marquee-reverse {
    animation: marquee-reverse 35s linear infinite;
    display: flex;
    width: max-content;
}

.glass-pill {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 119, 182, 0.1);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 10px -5px rgba(0, 119, 182, 0.1);
}

.glass-pill:hover {
    background: white;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px -10px rgba(0, 119, 182, 0.2);
}

.glass-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary-teal);
    border-radius: 50%;
    opacity: 0.5;
}

.featured-bento {
    background: white;
    border: 1px solid rgba(0, 119, 182, 0.08);
    border-radius: 3rem;
    padding: 3rem;
    transition: all 0.5s ease;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.05);
}

.featured-bento:hover {
    border-color: rgba(0, 119, 182, 0.3);
    transform: scale(1.02);
}

.text-gradient-trust {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
