/* ============================================================
   Binglish — Premium Dark Glassmorphism Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&family=Dancing+Script:wght@700&display=swap');

/* ---------- Custom Fonts ---------- */
@font-face {
    font-family: Franklin;
    src: url('../fonts/Franklin-Gothic-LT-Condensed-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ---------- CSS Variables — Premium Dark Theme ---------- */
:root {
    /* ── Core Palette ── */
    --bg: #050510;
    --bg-secondary: #0a1628;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-strong: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-border-hover: rgba(255, 255, 255, 0.18);

    /* ── Accent Colours ── */
    --accent: #00E5FF;
    --accent-dark: #00B8D4;
    --accent-soft: rgba(0, 229, 255, 0.12);
    --accent-purple: #7b2ff7;
    --accent-green: #00D4AA;
    --accent-pink: #FF6584;
    --accent-blue: #4FC3F7;

    /* ── Gradients ── */
    --gradient-primary: linear-gradient(135deg, #00E5FF, #7b2ff7);
    --gradient-binglish: linear-gradient(135deg, #4A90E2, #2C53B5, #0B3A82);
    --gradient-hero: linear-gradient(135deg, #0C1E36 0%, #1A56B8 50%, #1D78CD 100%);
    --gradient-text: linear-gradient(135deg, #00E5FF 0%, #7b2ff7 50%, #00D4AA 100%);

    /* ── Text ── */
    --text-primary: #e8eaf6;
    --text-secondary: rgba(255, 255, 255, 0.55);
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-on-accent: #ffffff;

    /* ── Shadows & Glows ── */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.25);
    --shadow-glow-strong: 0 0 40px rgba(0, 229, 255, 0.35);

    /* ── Borders ── */
    --border-neon: 1px solid rgba(0, 229, 255, 0.2);

    /* ── Sizes ── */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 50px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* ── Typography ── */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg);
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Welcome Intro Overlay — Premium ---------- */
.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    animation: wFadeOut 0.9s cubic-bezier(0.7, 0, 0.3, 1) 4.4s forwards;
    pointer-events: none;
    overflow: visible;
}

/* Faint radial glow behind text */
.welcome-overlay::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    animation: wPulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    position: relative;
    z-index: 1;
    padding: 2.5rem 3rem;
    width: 100%;
    box-sizing: border-box;
}

/* "Welcome" — Great Vibes, gradient fill */
.w-word {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(80px, 20vw, 175px);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(28px) scale(0.9);
    filter: blur(10px);
    animation: wReveal 2s ease forwards, wGlow 2.2s 1.2s infinite alternate;
    line-height: 1.3;
    padding-top: -0.1em;
    padding-bottom: 0.15em;
    padding-left: 0.4em;
    padding-right: 0.5em;
    display: inline-block;
}

/* "to" — elegant connector */
.w-to {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(20px, 3vw, 32px);
    color: var(--text-secondary);
    letter-spacing: 4px;
    opacity: 0;
    margin-top: clamp(-65px, -8vw, -15px);
    animation: wFadeUp 0.6s ease forwards;
    animation-delay: 1.8s;
}

/* "Binglish" — bold gradient brand name */
.w-brand {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(34px, 7vw, 62px);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    letter-spacing: 2px;
    line-height: 1.2;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
    animation: wFadeUp 0.8s ease forwards;
    animation-delay: 2.3s;
}

/* Decorative line */
.w-line {
    width: 0;
    height: 1px;
    margin-top: 18px;
    background: linear-gradient(90deg, transparent, var(--accent), rgba(123, 47, 247, 0.8), var(--accent), transparent);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
    animation: wLineExpand 0.7s cubic-bezier(0.22, 1, 0.36, 1) 3s forwards;
}

/* ── Keyframes ── */
@keyframes wReveal {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.9);
        filter: blur(10px);
    }

    55% {
        opacity: 1;
        transform: translateY(0) scale(1.02);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes wGlow {
    from {
        filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.3)) drop-shadow(0 0 20px rgba(123, 47, 247, 0.15));
    }

    to {
        filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.85)) drop-shadow(0 0 40px rgba(123, 47, 247, 0.45));
    }
}

@keyframes wFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wLineExpand {
    0% {
        width: 0;
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: clamp(120px, 30vw, 220px);
        opacity: 0.85;
    }
}

@keyframes wPulse {
    from {
        transform: scale(0.9);
        opacity: 0.6;
    }

    to {
        transform: scale(1.15);
        opacity: 1;
    }
}

@keyframes wFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}





h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-dark);
}

/* ── Vanta.js Background ───────────────────────────────────── */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ── Global Content Layer ──────────────────────────────────── */
.hero-section,
.section-padding,
.stats-section,
.contact-section,
.footer-binglish {
    position: relative;
    z-index: 1;
}

/* ============================================================
   NAVBAR — Dark Glassmorphism
   ============================================================ */
.navbar-binglish {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 0.8rem 0;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    z-index: 1030;
}

.navbar-binglish.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-binglish .navbar-brand {
    text-decoration: none;
}

.brand-title {
    font-family: 'Franklin', 'Impact', sans-serif;
    font-weight: normal;
    font-size: 2.0rem;
    line-height: 0.9;
    background: var(--gradient-binglish);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    display: inline-block;
}

.brand-subtitle {
    font-family: 'Franklin', 'Impact', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.2;
    color: #ff4757;
    margin-top: 1px;
    text-align: center;
    display: block;
    width: 100%;
}

.navbar-binglish .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: color 320ms ease-in, background 320ms ease-in, transform 320ms ease-in;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.navbar-binglish .nav-link:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.navbar-binglish .nav-link.active {
    color: #fff;
}

/* Sliding indicator bar */
.nav-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
    transition: left 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
        width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

#navMenu {
    position: relative;
}

/* Círculo para iconos de Login y Dashboard */
.nav-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: var(--gradient-primary);
    color: #ffffff !important;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin-left: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.25);
    text-decoration: none;
    transition: var(--transition);
}

.nav-icon-circle i {
    font-size: 1.15rem;
    line-height: 0;
    display: flex;
}

.nav-icon-circle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-glow);
    color: #ffffff !important;
}

/* ---------- Menú Móvil Premium ---------- */
@media (max-width: 991.98px) {
    .navbar-binglish .navbar-collapse {
        transition: height 0.2s ease !important;
        background: rgba(5, 5, 16, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        margin-top: 0.5rem;
        padding: 0.5rem;
        border: 1px solid var(--glass-border);
        border-top: none;
    }

    .navbar-binglish .nav-indicator {
        display: none !important;
    }

    .navbar-binglish .navbar-nav .nav-link {
        padding: 0.7rem 1rem;
        margin: 2px 0;
        border-radius: var(--radius-sm);
        font-size: 0.95rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        transition: background 0.15s ease, transform 0.15s ease;
        border-left: 3px solid transparent;
    }

    .navbar-binglish .navbar-nav .nav-link:hover {
        background: rgba(0, 229, 255, 0.08);
        color: var(--accent);
        transform: translateX(4px);
        border-left-color: var(--accent);
    }

    .navbar-binglish .navbar-nav .nav-link.active {
        background: rgba(0, 229, 255, 0.1);
        color: #fff;
        border-left-color: var(--accent);
        font-weight: 700;
    }

    .navbar-binglish .navbar-nav .nav-link i {
        width: 22px;
        text-align: center;
        font-size: 1rem;
        opacity: 0.7;
    }

    .navbar-binglish .navbar-nav .nav-link:hover i,
    .navbar-binglish .navbar-nav .nav-link.active i {
        opacity: 1;
    }

    .navbar-binglish .navbar-nav .nav-item:not(:last-child) .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    padding-top: 120px;
    /* Incrementado para el navbar + promo banner */
}

/* ---------- Glass Hero Wrapper ---------- */
.glass-hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    overflow: visible;
}


.hero-inner-content {
    padding: 3rem 3rem 2.5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    min-height: 160px;
}

.hero-title span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 4s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-soft);
    border: var(--border-neon);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.8rem;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
    }
}

.btn-hero {
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-glow-strong);
    color: #fff;
}

.btn-hero-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 2px solid var(--glass-border);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
}

/* ── Botón Start Test (Premium Electric Border) ── */
.btn-start {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-electric {
    background: linear-gradient(#0B1E4B, #0B1E4B) padding-box,
        linear-gradient(90deg, #FF003C, #00E5FF, #0055FF, #FF003C) border-box;
    border: 3px solid transparent;
    background-size: 300% 300%;
    animation: electricBorder 4s linear infinite;
    color: var(--white);
    z-index: 1;
    overflow: visible;
    /* so the glow can be seen outside */
}

@keyframes electricBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-electric::before {
    content: '';
    position: absolute;
    inset: -3px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(90deg, #FF003C, #00E5FF, #0055FF, #FF003C);
    background-size: 300% 300%;
    animation: electricBorder 4s linear infinite;
    filter: blur(10px);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.btn-electric:hover {
    transform: translateY(-3px) scale(1.03);
    color: var(--white);
}

.btn-electric:hover::before {
    opacity: 1;
    filter: blur(15px);
}

.btn-start svg {
    transition: transform 0.3s;
}

.btn-start:hover svg {
    transform: translateX(4px);
}

/* ---------- Hero: Logo flotante & Ilustración ---------- */
.hero-logo-float {
    position: absolute;
    top: -10px;
    right: 0;
    z-index: 5;
}

.hero-logo-float img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 30px rgba(0, 229, 255, 0.4));
    transition: transform 0.3s ease;
}

.hero-logo-float:hover img {
    transform: scale(1.08) rotate(3deg);
}

.hero-illustration-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
    padding: 2rem;
}

.hero-illustration-wrapper img {
    position: relative;
    z-index: 2;
    max-width: 400px;
    width: 100%;
}

.hero-illustration-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    background: radial-gradient(circle,
            rgba(0, 229, 255, 0.15) 0%,
            rgba(123, 47, 247, 0.08) 40%,
            transparent 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(30px);
}

/* ---------- Responsive Hero ---------- */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 130px;
        /* Ajuste para móviles con el nuevo header más alto */
    }

    .hero-logo-float {
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .hero-logo-float img {
        width: 158px;
        height: auto;
    }

    .hero-illustration-wrapper {
        min-height: 280px;
        padding: 4rem 1.5rem 1.5rem 1.5rem;
        /* extra padding p/ logo */
    }

    .hero-illustration-wrapper img {
        max-width: 280px;
    }

    .hero-inner-content .col-lg-5.position-relative {
        padding-top: 3.5rem !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 140px;
        /* Un poco más de espacio en pantallas pequeñas */
    }

    .hero-title {
        font-size: 2.2rem;
        min-height: auto;
    }

    .hero-inner-content {
        padding: 3rem 1.5rem;
    }

    .hero-logo-float {
        top: -50px;
    }

    .hero-logo-float img {
        width: 150px;
        height: auto;
    }

    .hero-illustration-wrapper img {
        max-width: 240px;
    }
}

/* ============================================================
   SECTION COMMON — Dark Theme
   ============================================================ */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(0, 229, 255, 0.15);
}

/* ============================================================
   FEATURE CARDS — Glassmorphism
   ============================================================ */
.feature-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 229, 255, 0.08);
    border-color: var(--glass-border-hover);
    background: var(--surface-hover);
}

.feature-card h5,
.feature-card h6 {
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #fff;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-3deg);
}

.feature-icon.purple {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(123, 47, 247, 0.3));
    border: 1px solid rgba(123, 47, 247, 0.3);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.15);
}

.feature-icon.green {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 212, 170, 0.3));
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: #80cbc4;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
}

.feature-icon.pink {
    background: linear-gradient(135deg, rgba(255, 101, 132, 0.2), rgba(255, 101, 132, 0.3));
    border: 1px solid rgba(255, 101, 132, 0.3);
    color: #ef9a9a;
    box-shadow: 0 0 20px rgba(255, 101, 132, 0.15);
}

.feature-icon.blue {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2), rgba(79, 195, 247, 0.3));
    border: 1px solid rgba(79, 195, 247, 0.3);
    color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.15);
}

/* ============================================================
   TEAM CARDS — Premium Glassmorphism
   ============================================================ */
.team-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: var(--radius-xl);
    padding: 0;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-card-featured {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.team-card-featured:hover {
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.3);
}

.team-card-featured .team-img-overlay {
    background: linear-gradient(to top, rgba(11, 30, 75, 0.95) 0%, rgba(11, 30, 75, 0.7) 60%, transparent 100%);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    background: var(--surface-hover);
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    margin: 0;
    border-radius: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Efecto de sombra oscura degradada en la parte inferior de la foto */
.team-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

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

.team-img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: top center;
    border: none;
    transition: transform 0.4s ease;
}

.team-watermark {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    /* Logo más grande */
    height: auto;
    opacity: 0.65;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    transition: var(--transition);
}

.team-card:hover .team-watermark {
    opacity: 0.9;
}

/* Overlay text inside the image wrapper */
.team-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem 0.5rem;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.team-img-overlay h5 {
    color: #ffffff;
    margin-bottom: 0.3rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 4px 20px rgba(0, 0, 0, 0.9);
}

.team-desc-overlay {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.team-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.team-card h5 {
    /* Removed, moved to .team-img-overlay h5 */
}

.team-role {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50px;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-card-email {
    width: 100%;
    display: flex;
    justify-content: center;
}

.team-card-email .team-text-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.team-card-email .team-text-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.team-card-email .team-text-link i {
    color: var(--accent);
    font-size: 1.1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.team-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

.team-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: var(--transition);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.team-contact-badge:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.2);
}

.team-contact-badge i {
    color: var(--accent);
}

.team-text-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.team-text-link:hover {
    color: var(--accent);
}

.team-text-link i {
    color: var(--accent);
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* ============================================================
   GROUP PHOTO CARDS
   ============================================================ */
.group-photo-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.group-photo-card:hover {
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    background: var(--surface-hover);
}

.group-photo-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    max-height: 500px;
}

/* Transición ultra-suave para el carrusel de fotos */
#teamCarousel.carousel-fade .carousel-item {
    transition: opacity 1.5s ease-in-out;
}

/* Sombra oscura persistente sobre el carrusel grupal */
.group-photo-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* ============================================================
   STATS SECTION — Premium Glass Strip
   ============================================================ */
.stats-section {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    vertical-align: top;
    margin-left: 2px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

/* ============================================================
   GLASS LOGIN MODAL
   ============================================================ */
.glass-login {
    background: #0d121c !important;
    /* Base oscura para neumorfismo */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 24px !important;
    border: none !important;
    box-shadow:
        12px 12px 24px rgba(0, 0, 0, 0.6),
        -12px -12px 24px rgba(255, 255, 255, 0.03) !important;
    position: relative;
    padding-top: 1rem;
}

.glass-login::before,
.glass-login::after {
    display: none;
}

.glass-login-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #0d121c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    font-size: 1.5rem;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.5),
        -8px -8px 16px rgba(255, 255, 255, 0.03);
}

.glass-login-title {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.glass-login-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.glass-login-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    margin-left: 0.4rem;
}

/* Aplicamos Neumorfismo al contenedor del input */
.glass-login .input-group {
    background: #0d121c;
    border-radius: 50px;
    box-shadow:
        inset 6px 6px 12px rgba(0, 0, 0, 0.6),
        inset -6px -6px 12px rgba(255, 255, 255, 0.03);
    padding: 0.2rem 0.5rem;
}

.glass-login-icon,
.glass-login-prefix {
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary) !important;
    box-shadow: none !important;
}

/* Select o Botón de prefijo en login (BTRM / ADM / TCH) */
select.glass-login-prefix,
button.glass-login-prefix {
    background: transparent !important;
    border: none !important;
    color: #00E5FF !important;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    max-width: 95px;
    padding: 0.5rem 0.4rem 0.5rem 0.6rem;
    cursor: pointer;
    box-shadow: none !important;
}

select.glass-login-prefix {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath fill='%234FC3F7' d='M0 0l4 6 4-6z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.4rem center !important;
    background-size: 8px !important;
}

/* Evitamos que el botón tenga el borde grisáceo al presionarlo */
button.glass-login-prefix:active,
button.glass-login-prefix.show {
    color: #00E5FF !important;
    border: none !important;
}

select.glass-login-prefix:focus,
button.glass-login-prefix:focus {
    outline: none;
    box-shadow: none !important;
}

select.glass-login-prefix option {
    background: #0d121c;
    color: #e0e0e0;
    font-weight: 600;
}

/* Guión separador entre prefijo y código */
.login-dash {
    color: #00E5FF !important;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0 0.1rem !important;
    min-width: auto !important;
    background: transparent !important;
    border: none !important;
}

.glass-login-input {
    background: transparent !important;
    border: none !important;
    color: #e0e0e0 !important;
    padding: 0.8rem 1rem;
    box-shadow: none !important;
}

.glass-login-input:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
}

.glass-login-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.glass-login-btn {
    background: #0d121c !important;
    color: var(--accent);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    padding: 0.9rem 2rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.6),
        -8px -8px 16px rgba(255, 255, 255, 0.03) !important;
}

.glass-login-btn:hover {
    transform: translateY(0);
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.7),
        -6px -6px 12px rgba(255, 255, 255, 0.02) !important;
    color: #fff;
}

.glass-login-btn:active {
    box-shadow:
        inset 6px 6px 12px rgba(0, 0, 0, 0.7),
        inset -6px -6px 12px rgba(255, 255, 255, 0.02) !important;
    transform: scale(0.98);
    color: var(--accent);
}

.glass-login-btn:disabled {
    opacity: 0.6;
    transform: none;
    box-shadow: none !important;
}

/* Dark backdrop for glass effect */
#loginModal .modal-backdrop,
#loginModal {
    --bs-backdrop-opacity: 0.85;
}

/* ---------- Custom Modal Animation ---------- */
.modal-animated.fade .modal-dialog,
.modal-dashboard.fade .modal-dialog {
    transform: scale(0.92) translateY(-25px);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
    opacity: 0;
}

.modal-animated.show .modal-dialog,
.modal-dashboard.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ============================================================
   GLASS BECAS MODAL
   ============================================================ */
.glass-becas {
    background: rgba(5, 5, 16, 0.9) !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 20px !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.glass-becas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 229, 255, 0.4),
            transparent);
    z-index: 1;
}

.becas-info-col {
    background: linear-gradient(145deg, rgba(5, 5, 16, 0.9) 0%, rgba(123, 47, 247, 0.15) 60%, rgba(5, 5, 16, 0.95) 100%);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    border-radius: 20px 0 0 20px;
}

.becas-info-content {
    position: relative;
    z-index: 2;
}

.becas-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
    font-size: 1.8rem;
    color: #fff;
}

.becas-title {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.becas-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    text-align: justify;
}

.becas-features {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.becas-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
}

.becas-feature-item i {
    color: var(--accent);
    font-size: 1rem;
}

.becas-form-col {
    background: rgba(5, 5, 16, 0.8);
    padding: 2rem 2.5rem;
    border-radius: 0 20px 20px 0;
    max-height: 85vh;
    overflow-y: auto;
}

.becas-form-title {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--glass-border);
}

.becas-form-col .form-select.glass-login-input {
    background: #0d121c !important;
    border: none !important;
    color: #e0e0e0 !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem;
    border-radius: 12px;
    box-shadow:
        inset 4px 4px 8px rgba(0, 0, 0, 0.6),
        inset -4px -4px 8px rgba(255, 255, 255, 0.02) !important;
}

.becas-form-col .form-select.glass-login-input:focus {
    box-shadow:
        inset 6px 6px 12px rgba(0, 0, 0, 0.8),
        inset -6px -6px 12px rgba(255, 255, 255, 0.03) !important;
    color: #fff !important;
}

.becas-form-col .form-select.glass-login-input option {
    background: #0d121c;
    color: #fff;
}

.becas-form-col textarea.glass-login-input {
    resize: none;
}

.becas-form-col .glass-login-input {
    background: #0d121c !important;
    border: none !important;
    color: #e0e0e0 !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem;
    border-radius: 12px;
    box-shadow:
        inset 4px 4px 8px rgba(0, 0, 0, 0.6),
        inset -4px -4px 8px rgba(255, 255, 255, 0.02) !important;
    transition: all 0.3s ease;
}

.becas-form-col .glass-login-input:focus {
    box-shadow:
        inset 6px 6px 12px rgba(0, 0, 0, 0.8),
        inset -6px -6px 12px rgba(255, 255, 255, 0.03) !important;
    color: #fff !important;
    outline: none;
}

.becas-form-col .glass-login-label {
    font-size: 0.78rem;
    margin-bottom: 0.2rem;
}

/* Becas modal scroll bar */
.becas-form-col::-webkit-scrollbar {
    width: 6px;
}

.becas-form-col::-webkit-scrollbar-track {
    background: transparent;
}

.becas-form-col::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.2);
    border-radius: 3px;
}

@media (max-width: 991.98px) {
    .becas-info-col {
        border-radius: 20px 20px 0 0;
        padding: 2rem;
    }

    .becas-form-col {
        border-radius: 0 0 20px 20px;
        padding: 1.5rem;
        max-height: 60vh;
    }
}

/* ============================================================
   CONTACT SECTION — Dark Theme
   ============================================================ */
.contact-section {
    background: transparent;
}

.contact-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--glass-border-hover);
}

.contact-card h5 {
    color: #fff;
}

.contact-card h6 {
    color: var(--text-primary);
}

.contact-card hr {
    border-color: var(--glass-border);
}

.contact-card .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.85rem;
}

.contact-card .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: #fff;
    transition: var(--transition);
}

.contact-card .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
    color: #fff;
}

.contact-card .form-control::placeholder {
    color: var(--text-muted);
}

.contact-card strong {
    color: #fff;
}

.contact-card .small,
.contact-card p {
    color: var(--text-secondary);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.contact-info-item i {
    font-size: 1.3rem;
    color: var(--accent);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.contact-info-item:hover i {
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* ============================================================
   SOCIAL ICONS — Modern Circles
   ============================================================ */
.social-row {
    display: flex;
    gap: 0.75rem;
}

.social-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-circle:hover {
    transform: translateY(-3px);
    color: #fff;
}

.social-circle.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.social-circle.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);
}

.social-circle.tiktok:hover {
    background: #25F4EE;
    border-color: #25F4EE;
    color: #000;
    box-shadow: 0 6px 20px rgba(37, 244, 238, 0.35);
}

/* ============================================================
   MAP
   ============================================================ */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* ============================================================
   FOOTER — Premium Dark
   ============================================================ */
.footer-binglish {
    background: rgba(5, 5, 16, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-secondary);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
}

/* Línea decorativa neón superior */
.footer-binglish::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 229, 255, 0.4),
            rgba(123, 47, 247, 0.3),
            transparent);
}

.footer-brand {
    font-family: 'Franklin', 'Impact', sans-serif;
    font-weight: normal;
    font-size: 2rem;
    line-height: 0.9;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.footer-brand-subtitle {
    font-family: 'Franklin', 'Impact', sans-serif;
    font-size: 0.80rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.footer-binglish p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-binglish h6 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

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

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

.footer-links li a {
    color: var(--text-secondary);
    transition: color 0.25s ease, padding-left 0.25s ease, text-shadow 0.25s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-links li a i {
    width: 20px;
    font-size: 0.85rem;
    opacity: 0.5;
    transition: opacity 0.25s ease;
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 6px;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.footer-links li a:hover i {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    overflow: hidden;
    transition-duration: .3s;
    animation: whatsappPulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float .wa-sign {
    width: 100%;
    transition-duration: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float .wa-text {
    position: absolute;
    right: -5%;
    width: 0%;
    opacity: 0;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    transition-duration: .3s;
}

.whatsapp-float:hover {
    width: 160px;
    border-radius: 40px;
    transition-duration: .3s;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    background: #25D366;
    color: #fff;
}

.whatsapp-float:hover .wa-sign {
    width: 30%;
    transition-duration: .3s;
    padding-left: 20px;
}

.whatsapp-float:hover .wa-text {
    opacity: 1;
    width: 70%;
    transition-duration: .3s;
    padding-right: 18px;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}


/* ============================================================
   APLICACION CEL BUTTON
   ============================================================ */
.app-cel {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #00C2FF, #0085FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 133, 255, 0.4);
    z-index: 9999;
    overflow: hidden;
    transition-duration: .3s;
    text-decoration: none;
    animation: appPulse 2s infinite;
}

.app-cel .app-cel-sign {
    width: 100%;
    transition-duration: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-cel .app-cel-text {
    position: absolute;
    right: -5%;
    width: 0%;
    opacity: 0;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    transition-duration: .3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-cel:hover {
    width: 130px;
    border-radius: 40px;
    transition-duration: .3s;
    box-shadow: 0 6px 25px rgba(0, 133, 255, 0.5);
    background: linear-gradient(135deg, #00D4FF, #00A3FF);
    color: #fff;
}

.app-cel:hover .app-cel-sign {
    width: 30%;
    transition-duration: .3s;
    padding-left: 15px;
}

.app-cel:hover .app-cel-text {
    opacity: 1;
    width: 70%;
    transition-duration: .3s;
    padding-right: 15px;
}

@keyframes appPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 133, 255, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(0, 133, 255, 0.6);
    }
}



/* ============================================================
   BURGER MENU ANIMADO
   ============================================================ */
.navbar-toggler.animated-burger {
    position: relative;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none !important;
    cursor: pointer;
    display: block;
    padding: 0;
    margin-right: 0.5rem;
}

@media (min-width: 992px) {
    .navbar-toggler.animated-burger {
        display: none !important;
    }
}

.navbar-toggler.animated-burger:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler.animated-burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--accent);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.navbar-toggler.animated-burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.navbar-toggler.animated-burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.navbar-toggler.animated-burger span:nth-of-type(3) {
    bottom: 0px;
    transform-origin: left center;
}

.navbar-toggler.animated-burger:not(.collapsed) span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 4px;
}

.navbar-toggler.animated-burger:not(.collapsed) span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

.navbar-toggler.animated-burger:not(.collapsed) span:nth-of-type(3) {
    transform: rotate(-45deg);
    bottom: -1px;
    left: 4px;
}

/* ============================================================
   SWEETALERT2 — Global Dark Glassmorphism Overrides
   ============================================================ */
div:where(.swal2-container) div:where(.swal2-popup) {
    background: rgba(10, 15, 30, 0.95) !important;
    backdrop-filter: blur(24px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    color: #ffffff !important;
}

div:where(.swal2-container) div:where(.swal2-html-container) {
    color: rgba(255, 255, 255, 0.75) !important;
}

div:where(.swal2-container) button:where(.swal2-confirm),
div:where(.swal2-container) button:where(.swal2-cancel) {
    border-radius: 10px !important;
}

/* ======================================
   NUEVO EQUIPO DINAMICO - GLASSMORPHISM
   ====================================== */
.filters-container {
    gap: 8px;
    margin-bottom: 20px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.count-badge {
    font-size: 11px;
    opacity: 0.8;
    margin-left: 6px;
}

.team-featured-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    transition: var(--transition);
}

.team-featured-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-featured-photo {
    width: 320px;
    height: auto;
    aspect-ratio: 4/5;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--accent-color);
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.team-featured-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.team-featured-photo img:not(.team-watermark) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.team-featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.featured-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
    width: fit-content;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid var(--accent-color);
}

.featured-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 4px;
}

.featured-role {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin: 0 0 8px;
}

.featured-bio {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 12px;
}

.featured-email {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0;
}

.team-featured-card:hover .featured-email {
    max-height: 40px;
    opacity: 1;
    margin-top: 8px;
}

.featured-email i {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .team-featured-card {
        flex-direction: column;
        text-align: center;
    }

    .team-featured-info {
        align-items: center;
        text-align: center;
    }

    /* Reducir el tamaño de las superposiciones en móviles para no tapar la foto */
    .team-img-overlay {
        padding: 1rem 0.5rem 0.25rem !important;
    }

    .team-img-overlay h5 {
        font-size: 1.15rem;
        margin-bottom: 0.1rem;
    }

    .team-desc-overlay {
        font-size: 0.8rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        /* Limita a 3 líneas de texto */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .group-photo-img {
        min-height: 220px;
        /* Evita que la foto grupal se encoja mucho a lo alto */
    }
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 2rem 0 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.no-results {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

/* ============================================================
   FEATURED NEWS CARD — Noticia Destacada (Index + Noticias)
   ============================================================ */
.featured-news-card {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 229, 255, 0.05);
    backdrop-filter: blur(12px);
    min-height: 280px;
    /* Reducido para que la foto no sea tan gigante */
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.featured-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 229, 255, 0.3);
    border-color: rgba(0, 229, 255, 0.4);
}

.featured-news-img-col {
    width: 35%;
    /* La foto ocupa menos ancho, dándole más espacio al texto */
    min-width: 250px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-news-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.featured-news-card:hover .featured-news-img-col img {
    transform: scale(1.05);
}

.featured-news-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 22, 40, 0.8);
}

.featured-news-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(8, 12, 24, 0.95));
    pointer-events: none;
}

.featured-news-body {
    flex: 1;
    padding: 1.8rem 2rem;
    /* Menos padding para que no empuje tanto hacia abajo */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.featured-news-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 185, 0, 0.2), rgba(255, 140, 0, 0.15));
    border: 1px solid rgba(255, 185, 0, 0.4);
    color: #FFD700;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    width: fit-content;
    animation: featuredGlow 2.5s ease-in-out infinite;
}

@keyframes featuredGlow {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(255, 185, 0, 0.25);
    }

    50% {
        box-shadow: 0 0 18px rgba(255, 185, 0, 0.5);
    }
}

.featured-news-category {
    color: var(--accent, #00E5FF);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-news-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    /* Titulo ligeramente mas pequeno */
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.featured-news-extract {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.97rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.featured-news-meta {
    display: flex;
    gap: 1.2rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

.featured-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(123, 47, 247, 0.15));
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 50px;
    color: #00E5FF;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.featured-news-btn:hover,
.featured-news-btn:focus {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(123, 47, 247, 0.25));
    border-color: rgba(0, 229, 255, 0.6);
    color: #fff;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}

@media (max-width: 767px) {
    .featured-news-card {
        flex-direction: column;
        min-height: unset;
    }

    .featured-news-img-col {
        width: 100%;
        height: 220px;
    }

    .featured-news-img-overlay {
        top: auto;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(to bottom, transparent, rgba(8, 12, 24, 0.95));
    }

    .featured-news-body {
        padding: 1.5rem;
    }
}