/* Figuras decorativas móviles en el hero (solo móvil) */
@media (max-width: 768px) {
  .mobile-shape {
    position: absolute;
    z-index: 2;
    opacity: 0.7;
    animation: floatShape 4s ease-in-out infinite alternate;
  }
  .mobile-shape-circle {
width: 45px;
        height: 45px;
        border-radius: 50%;
        background: #f59e0b;
        left: 88vw;
        top: 31vw;
        animation-delay: 0.2s;
  }
    .mobile-shape-square {
        width: 45px;
        height: 45px;
        background: #06b6d4;
        left: -3vw;
        top: 45vw;
        border-radius: 8px;
        animation-delay: 0.6s;
    }
  .mobile-shape-diamond {
            width: 45px;
        height: 45px;
        background: #10b981;
        left: -3vw;
        top: 145vw;
        animation-delay: 1.1s;
        border-radius: 6px;
  }
  .mobile-shape-triangle {
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 38px solid #1e3a8a;
    left: 89vw;
    top: 100vw;
    background: transparent;
    border-radius: 2px;
    animation-delay: 1.7s;
  }
  @keyframes floatShape {
    0% { transform: translateY(0) scale(1) rotate(var(--init-rot,0deg)); }
    100% { transform: translateY(-18px) scale(1.08) rotate(var(--end-rot,8deg)); }
  }
}
/********** CASCOL Optimized CSS **********/
:root {
    /* Colores principales basados en la marca CASCOL */
    --primary: #1e3a8a;
    /* Azul institucional profundo */
    --primary-light: #3b82f6;
    /* Azul más claro para hover */
    --primary-dark: #1e40af;
    /* Azul oscuro para contraste */
    --secondary: #64748b;
    /* Gris azulado */
    --accent: #f59e0b;
    /* Dorado/Amarillo para acentos */
    --success: #10b981;
    /* Verde moderno */
    --danger: #ef4444;
    /* Rojo para alertas */
    --warning: #f59e0b;
    /* Amarillo para advertencias */
    --info: #06b6d4;
    /* Cyan para información */

    /* Valores RGB para uso con rgba() */
    --primary-rgb: 30, 58, 138;
    --secondary-rgb: 100, 116, 139;
    --accent-rgb: 245, 158, 11;

    /* Colores de fondo */
    --light: #f8fafc;
    /* Gris muy claro */
    --light-blue: #f0f9ff;
    /* Azul muy claro */
    --dark: #1e293b;
    /* Gris oscuro azulado */
    --white: #ffffff;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);

    /* Tipografía */
    --font-family: 'Nunito', 'Inter', sans-serif;
    --font-size-base: 1rem;

    /* Espaciado */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark);
}

/* Typography */
.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.text-justify {
    text-align: justify;
}

/* Buttons */
.btn {
    font-family: var(--font-family);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    border: 2px solid var(--dark);
    color: var(--dark);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
}

/* Navigation */
.navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 12px 16px !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    overflow: hidden;
    color: var(--white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
    opacity: 0.1;
}

/* Floating Decorative Elements */
.floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-decoration {
    position: absolute;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.floating-decoration i {
    color: white;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Individual decorations with different colors and sizes */
.decoration-1 {
    top: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    animation-name: floatDecoration1;
    animation-delay: 0s;
}

.decoration-1 i {
    font-size: 1.5rem;
    color: white;
}

.decoration-2 {
    top: 20%;
    right: 8%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation-name: floatDecoration2;
    animation-delay: 1s;
}

.decoration-2 i {
    font-size: 1rem;
    color: white;
}

.decoration-3 {
    top: 50%;
    left: 2%;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    animation-name: floatDecoration3;
    animation-delay: 2s;
}

.decoration-3 i {
    font-size: 1.2rem;
    color: white;
}

.decoration-4 {
    top: 80%;
    left: 10%;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation-name: floatDecoration4;
    animation-delay: 3s;
}

.decoration-4 i {
    font-size: 0.9rem;
    color: white;
}

.decoration-5 {
    top: 15%;
    left: 50%;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation-name: floatDecoration5;
    animation-delay: 4s;
}

.decoration-5 i {
    font-size: 1.1rem;
    color: white;
}

.decoration-6 {
    top: 60%;
    right: 5%;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    animation-name: floatDecoration6;
    animation-delay: 0.5s;
}

.decoration-6 i {
    font-size: 1.3rem;
    color: white;
}

.decoration-7 {
    top: 30%;
    right: 20%;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    animation-name: floatDecoration7;
    animation-delay: 1.5s;
}

.decoration-7 i {
    font-size: 1rem;
    color: white;
}

.decoration-8 {
    top: 70%;
    right: 15%;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
    animation-name: floatDecoration8;
    animation-delay: 2.5s;
}

.decoration-8 i {
    font-size: 1.2rem;
    color: white;
}

.decoration-9 {
    top: 40%;
    left: 15%;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    animation-name: floatDecoration9;
    animation-delay: 3.5s;
}

.decoration-9 i {
    font-size: 0.95rem;
    color: white;
}

.decoration-10 {
    top: 85%;
    right: 30%;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    animation-name: floatDecoration10;
    animation-delay: 4.5s;
}

.decoration-10 i {
    font-size: 1.25rem;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-stats {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.hero-stats .stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0;
    color: var(--primary);
}

.hero-stats .stat-item small {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.main-hero-img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.floating-element {
    position: absolute;
    z-index: 2;
    animation: floatSlow 8s ease-in-out infinite;
}

.floating-element-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-element-2 {
    top: 60%;
    right: -15%;
    animation-delay: 2s;
}

.floating-element-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

.floating-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.floating-card small {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Button styles for floating cards */
.card-button-container {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
}

.btn-card-info {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.btn-card-info:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-card-info:active {
    transform: translateY(0);
}

/* Specific button styles for each card color */
.card-blue .btn-card-info:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 20px rgba(125, 211, 252, 0.3);
}

.card-orange .btn-card-info:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 20px rgba(254, 215, 170, 0.3);
}

.card-purple .btn-card-info:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 20px rgba(233, 213, 255, 0.3);
}

/* Floating Cards Podia Style - Large Format */
.floating-cards-podia-container {
    position: absolute;
    top: 115%;
    left: 49.5%;
    transform: translateX(-50%);
    width: 1200px;
    height: 500px;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
}

/* Dome Mask Overlay */
.dome-mask-overlay {
    position: absolute;
    bottom: 129px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 245px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 119;
}

.floating-card-podia-large {
    position: absolute;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    animation: floatPodiaLarge 8s ease-in-out infinite;
    pointer-events: auto;
    cursor: pointer;
    width: 336px;
    min-height: 260px;
    z-index: 20;
}

.floating-card-podia-large:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

/* Card Color Themes - Circular arrangement with more spacing */
.floating-card-podia-large.card-blue {
    background: linear-gradient(135deg, #a9cf47 0% 100%);
    bottom: 200px;
    left: 137px;
    animation-delay: 0s;
    transform: rotate(-5deg);
    position: relative;
}

.floating-card-podia-large.card-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    pointer-events: none;
}

.floating-card-podia-large.card-orange {
    background: linear-gradient(135deg, #03aff0 0% 100%);
    bottom: 470px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation-delay: 2.5s;
    z-index: 30;
    position: relative;
}

.floating-card-podia-large.card-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    pointer-events: none;
    z-index: 30 !important;
}

.floating-card-podia-large.card-purple {
    background: linear-gradient(135deg, #f7b756 0% 100%);
    bottom: 712px;
    left: 728px;
    animation-delay: 5s;
    transform: rotate(8deg);
    position: relative;
}

.floating-card-podia-large.card-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    pointer-events: none;
}

/* Card Content Styling */
.card-header-podia {
    margin-bottom: 20px;
}

.card-header-podia h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-content-podia p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Content positioning to be above overlay */
.card-header-podia,
.card-content-podia {
    position: relative;
    z-index: 10;
}

/* Features Grid */
.card-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 14px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 14px;
}

.feature-item span {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Platform Mockup */
.card-mockup {
    margin-top: 16px;
}

.mockup-window {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(10px);
}

.window-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.window-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-block {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 8px 12px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

/* Support Stats */
.support-stats {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.stat-item-podia {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    flex: 1;
    backdrop-filter: blur(10px);
}

.stat-number {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover effects maintaining rotation */
.floating-card-podia-large.card-blue:hover {
    transform: rotate(-5deg) translateY(-8px) scale(1.02);
}

.floating-card-podia-large.card-orange:hover {
    transform: translateX(-50%) rotate(0deg) translateY(-8px) scale(1.02);
}

.floating-card-podia-large.card-purple:hover {
    transform: rotate(8deg) translateY(-8px) scale(1.02);
}

.hero-cta .btn {
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    margin-top: -60px;
    padding-top: 60px !important;
}

.about-section .position-relative img {
    min-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Academic Offer Section */
.academic-offer {
    background: #ffffff;
}

/* Modern Program Cards */
.program-card-modern {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    border: 1px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.program-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(68, 70, 152, 0.05) 0%, rgba(68, 70, 152, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.program-card-modern:hover::before {
    opacity: 1;
}

.program-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(68, 70, 152, 0.15);
    border-color: var(--primary);
}

/* Featured Card */
.program-card-modern.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.program-card-modern.featured:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(68, 70, 152, 0.2);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #3a3f7a 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(68, 70, 152, 0.3);
}

/* Program Header */
.program-header {
    padding: 30px 30px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.program-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #5a5fcf 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(68, 70, 152, 0.2);
}

.program-card-modern:hover .program-icon-modern {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(68, 70, 152, 0.3);
}

.program-icon-modern i {
    font-size: 2rem;
    color: white;
}

.program-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.program-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Program Body */
.program-body {
    padding: 0 30px 20px;
    position: relative;
    z-index: 2;
}

.program-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid #dee2e6;
}

.highlight-text {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    color: #495057;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.program-card-modern:hover .program-features li {
    transform: translateX(5px);
}

.program-features i {
    color: #28a745;
    font-size: 0.9rem;
    margin-right: 12px;
    width: 16px;
    text-align: center;
}

/* Program Footer */
.program-footer {
    padding: 20px 30px 30px;
    position: relative;
    z-index: 2;
}

.btn-program {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-program::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #3a3f7a 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-program:hover::before {
    left: 0;
}

.btn-program:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(68, 70, 152, 0.3);
}

.btn-program.featured {
    background: linear-gradient(135deg, var(--primary) 0%, #3a3f7a 100%);
    color: white;
    border-color: var(--primary);
}

.btn-program.featured::before {
    background: linear-gradient(135deg, #3a3f7a 0%, var(--primary) 100%);
}

.btn-program i {
    transition: transform 0.2s ease;
}

.btn-program:hover i {
    transform: translateX(4px);
}

/* Responsive Design for Programs */
@media (max-width: 768px) {
    .program-card-modern {
        margin-bottom: 20px;
    }

    .program-header,
    .program-body,
    .program-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .program-icon-modern {
        width: 70px;
        height: 70px;
    }

    .program-icon-modern i {
        font-size: 1.8rem;
    }

    .program-title {
        font-size: 1.2rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--surface);
}

.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
}

.author-avatar .avatar-placeholder {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author h6 {
    font-weight: 600;
    color: var(--dark);
}

.testimonial-author small {
    color: var(--text-secondary);
}

/* Benefits Section */
.benefits-section {
    background: var(--light);
}

.benefits-section i {
    font-size: 1.3rem;
    width: 30px;
}

.benefits-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Contact Form */

.contact-section {
    background: var(--white);
}

/* Contact Section Responsive Side-by-Side Layout */
.contact-section .row {
    display: flex;
    flex-wrap: wrap;
}
.contact-section .form-container,
.contact-section .contact-info-cards {
    min-width: 0;
}
.contact-section .form-container {
    flex: 1 1 0;
}
.contact-section .contact-info-cards {
    flex: 0 0 370px;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .contact-section .row {
        flex-direction: column;
    }
    .contact-section .form-container,
    .contact-section .contact-info-cards {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    .contact-section .contact-info-cards {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .contact-section .contact-card iframe {
        height: 220px !important;
    }
}

.contact-form .card {
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    overflow: hidden;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: var(--border-radius);
    border: 2px solid var(--border);
    padding: 12px 16px;
    transition: all 0.3s ease;
    background: var(--surface);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.15);
    background: var(--white);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

/* Final CTA Section */
.final-cta-section {
    background: var(--gradient-hero);
    position: relative;
    color: var(--white);
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
    opacity: 0.1;
}

.final-cta-section h2 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
}

.final-cta-section .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn {
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-features small {
    font-weight: 600;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    background-color: var(--success) !important;
    border: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-float a:hover {
    background-color: #20c458 !important;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }

    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
    opacity: 0.05;
}

.footer h4,
.footer h5 {
    color: var(--white);
    font-weight: 600;
    position: relative;
}

.footer .btn-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    text-align: left;
    border: none;
    background: none;
    font-size: 0.95rem;
}

.footer .btn-link:hover {
    color: var(--accent);
    text-decoration: none;
    transform: translateX(5px);
    background: none;
}

.footer .btn-link i {
    width: 20px;
    color: var(--accent);
    transition: color 0.3s ease;
}

.footer .btn-link:hover i {
    color: var(--white);
}

/* Quick Links Container */
.quick-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Approvals Vertical Layout */
.approvals-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    /* Sin espaciado entre elementos */
}

.approval-item {
    width: 120px;
    /* Ancho fijo para todos */
    height: 50px;
    /* Altura fija para todos */
    transition: transform 0.3s ease;
    margin-bottom: 0;
    /* Sin margen inferior */
}

.approval-item:hover {
    transform: scale(1.05);
}

.approval-item img {
    width: 100%;
    /* Ocupa todo el contenedor */
    height: 50px;
    /* Altura fija */
    object-fit: contain;
    /* Mantiene proporciones */
    background: var(--white) !important;
}

.footer .btn-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.footer .btn-social:hover {
    color: var(--white);
    background: var(--gradient-primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    position: relative;
}

.footer .copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer .copyright a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .copyright a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Utility Classes */
.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.rounded {
    border-radius: 10px !important;
}

/* Responsive Design */
@media (max-width: 992px) and (min-width: 769px) {

    /* Tablet adjustments for Large Podia cards */
    .floating-cards-podia-container {
        width: 1000px;
        height: 350px;
        bottom: -30px;
    }

    .dome-mask-overlay {
        bottom: -40px;
        width: 115%;
        height: 170px;
    }

    .floating-card-podia-large {
        width: 300px;
        min-height: 220px;
        padding: 22px;
    }

    .card-header-podia h3 {
        font-size: 1.2rem;
    }

    .card-content-podia p {
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    /* Adjust positioning for tablets with circular arrangement */
    .floating-card-podia-large.card-blue {
        left: 120px;
        bottom: 60px;
    }

    .floating-card-podia-large.card-orange {
        bottom: 160px;
    }

    .floating-card-podia-large.card-purple {
        right: 120px;
        bottom: 60px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        margin-bottom: 2rem;
    }

    .hero-stats .stat-item h3 {
        font-size: 1.5rem;
    }

    .footer .btn-social {
        height: 30px;
    }

    a.btn.btn-primary.py-2.px-4 {
        position: relative;
        left: 23%;
        margin-bottom: 1rem;
    }

    .floating-card-podia-large.card-blue {
        left: 12px;
    }

    .floating-element {
        display: none;
    }

    /* Hide decorative elements on mobile for better performance */
    .floating-decorations {
        display: none;
    }

    .floating-cards-podia-container {
        left: 0%;
        width: 0px;
    }

    .hero-image-container {
        display: none;
    }

    .floating-card-podia-large.card-purple {
        bottom: 296px;
        left: 46px;
        transform: rotate(3deg);
        z-index: 35;
    }

    .floating-card-podia-large.card-orange {
        bottom: 246px;
        left: 204px !important;
        transform: translateX(-50%) rotate(0deg);
    }

    section {
        padding: 60px 0;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float i {
        font-size: 1.5rem !important;
    }

    .sections-hero-movil {
        padding-top: 500px !important;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-form .card-body {
        padding: 2rem !important;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }

    /* Footer responsive */
    .footer .col-lg-3 {
        margin-bottom: 2rem;
    }

    .approval-item {
        max-width: 100px;
    }

    .approval-item img {
        height: 35px;
    }

    .quick-links .btn-link {
        padding: 6px 0;
        font-size: 0.9rem;
    }
}

/* Animaciones y efectos adicionales para la galería */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.media-collage-container-full {
    animation: slideInUp 0.8s ease-out;
}

.collage-item {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.collage-item:nth-child(1) {
    animation-delay: 0.1s;
}

.collage-item:nth-child(2) {
    animation-delay: 0.2s;
}

.collage-item:nth-child(3) {
    animation-delay: 0.3s;
}

.collage-item:nth-child(4) {
    animation-delay: 0.4s;
}

.collage-item:nth-child(5) {
    animation-delay: 0.5s;
}

.collage-item:nth-child(6) {
    animation-delay: 0.6s;
}

.collage-item:nth-child(7) {
    animation-delay: 0.7s;
}

.collage-item:nth-child(8) {
    animation-delay: 0.8s;
}

.floating-stats {
    animation: slideInUp 1s ease-out 0.7s both;
}

/* Efecto de pulso para indicadores de video */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.collage-item[data-bs-target*="videoModal"]::before {
    animation: pulse 2s infinite ease-in-out;
}


.collage-item:hover::before {
    opacity: 1;
    transform: translateX(100%);
}

/* Sombras dinámicas según el contenido */
.main-video:hover {
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.3),
        0 0 0 1px rgba(var(--primary-rgb), 0.2);
}

.collage-item:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(var(--secondary-rgb), 0.3);
}

/* Efecto de brillo en las etiquetas */
.media-label span {
    position: relative;
    overflow: hidden;
}

.media-label span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.collage-item:hover .media-label span::before {
    left: 100%;
}

/* Mejora del título de sección */
.gallery-section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.gallery-section-title::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.gallery-section-title h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.gallery-section-title p {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
    margin-bottom: 0;
}

/* Media Collage Gallery */
.media-collage-container {
    width: 100%;
    height: 500px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.collage-item:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collage-item:hover img {
    transform: scale(1.1);
}

/* Media Collage Gallery Full Width */
.media-collage-container-full {
    width: 100vw;
    max-width: 100vw;
    height: 700px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

/* Grid positioning para galería full width */
.media-collage-container-full .main-video {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.media-collage-container-full .photo-1 {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.media-collage-container-full .photo-2 {
    grid-column: 5 / 7;
    grid-row: 1 / 3;
}

.media-collage-container-full .photo-3 {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
}

.media-collage-container-full .photo-8 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

/* Responsive design para full width gallery */
@media (max-width: 1200px) {
    .media-collage-container-full {
        height: 550px;
        grid-template-columns: repeat(4, 1fr);
        padding: 15px;
        gap: 10px;
    }

    .media-collage-container-full .main-video {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .media-collage-container-full .photo-1 {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }

    .media-collage-container-full .photo-2 {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }

    .media-collage-container-full .photo-3 {
        grid-column: 4 / 5;
        grid-row: 2 / 4;
    }

    .media-collage-container-full .photo-8 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .media-collage-container-full .video-2 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .media-collage-container-full .photo-4 {
        grid-column: 1 / 3;
        grid-row: 3 / 5;
    }

    .media-collage-container-full .photo-5,
    .media-collage-container-full .photo-6,
    .media-collage-container-full .photo-7 {
        display: none;
    }

    .floating-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        padding: 10px 15px;
    }

    .stat-number {
        font-size: 24px;
    }
}

/* Responsive para móviles - Solo galería */
@media (max-width: 768px) {

    /* Galería principal responsive */
    .media-collage-container-full {
        height: 550px;
        grid-template-columns: 1fr;
        grid-template-rows: 2fr 1fr 1fr 1fr 1fr;
        gap: 10px;
        padding: 15px;
        margin-left: -5vw;
        margin-right: -5vw;
        width: 110vw;
    }

    /* Video principal ocupa todo el ancho en móvil */
    .media-collage-container-full .main-video {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        height: 100%;
        min-height: 220px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    /* Asegurar que el video se vea bien en móvil */
    .media-collage-container-full .main-video img,
    .media-collage-container-full .main-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }

    /* Elementos restantes en una columna debajo del video */
    .media-collage-container-full .photo-1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .media-collage-container-full .photo-2 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .media-collage-container-full .photo-3 {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .media-collage-container-full .video-2 {
        grid-column: 1 / 2;
        grid-row: 5 / 6;
    }

    /* Ocultar elementos secundarios en móvil para mejor rendimiento */
    .media-collage-container-full .photo-4,
    .media-collage-container-full .photo-5,
    .media-collage-container-full .photo-6,
    .media-collage-container-full .photo-7,
    .media-collage-container-full .photo-8 {
        display: none;
    }

    /* Ajustar botones de reproducción */
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .play-button-small {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    /* Ajustar estadísticas flotantes */
    .floating-stats {
        position: relative;
        top: 15px;
        left: 15px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }

    .stat-item {
        padding: 8px 12px;
        flex: 0 1 auto;
        min-width: 80px;
    }

    .stat-number {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 9px;
        line-height: 1.2;
    }

    /* Ajustar etiquetas de medios */
    .media-label {
        padding: 12px 8px 6px;
        font-size: 11px;
    }

    .media-label i {
        font-size: 12px;
    }

    /* Título de galería en móvil */
    .gallery-section-title h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .gallery-section-title .lead {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* Responsive para móviles muy pequeños */
@media (max-width: 480px) {
    .media-collage-container-full {
        grid-template-columns: none !important;
    }
}

@media (max-width: 480px) {
    .media-collage-container-full {
        height: 420px;
        grid-template-rows: repeat(4, 1fr);
        gap: 8px;
        padding: 10px;
    }

    /* Simplificar aún más en pantallas muy pequeñas */
    .media-collage-container-full .main-video {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .media-collage-container-full .photo-1 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .media-collage-container-full .photo-2 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .media-collage-container-full .photo-3 {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .media-collage-container-full .photo-8 {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    /* Ocultar elementos adicionales */
    .media-collage-container-full .video-2,
    .media-collage-container-full .photo-4 {
        display: none;
    }

    /* Estadísticas más compactas */
    .floating-stats {
        gap: 6px;
        top: 10px;
        left: 10px;
    }

    .stat-item {
        padding: 6px 10px;
        min-width: 70px;
    }

    .stat-number {
        font-size: 16px;
    }

    .stat-label {
        font-size: 8px;
    }

    /* Título más pequeño */
    .gallery-section-title h1 {
        font-size: 1.8rem;
    }

    .gallery-section-title .lead {
        font-size: 0.9rem;
    }

    /* Etiquetas más pequeñas */
    .media-label {
        padding: 10px 6px 4px;
        font-size: 10px;
    }

    .media-label i {
        font-size: 10px;
    }
}

/* Título de sección para galería full width */
.gallery-section-title {
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
}

.gallery-section-title h1 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
}

.gallery-section-title .lead {
    font-size: 1.2rem;
    color: var(--secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Media Overlays and Play Buttons */
.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.collage-item:hover .media-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.play-button-small {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.play-button-small:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.media-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 25px 20px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 3;
}

.collage-item:hover .media-label {
    opacity: 1;
    transform: translateY(0);
}

.media-label i {
    color: var(--secondary);
    font-size: 16px;
}

/* Mejorar la apariencia general de la galería */
.media-collage-container-full {
    width: 100vw;
    max-width: 100vw;
    height: 700px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 20px;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.collage-item:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 20;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-color: var(--secondary);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.95) contrast(1.1);
}

.collage-item:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.2);
}

/* Efectos especiales para diferentes elementos */
.main-video {
    border: 3px solid var(--primary);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.2);
}

.main-video:hover {
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.3);
}

/* Indicador de video en esquina */
.collage-item[data-bs-target*="videoModal"]::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 5;
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.collage-item[data-bs-target*="videoModal"]::after {
    content: '\f04b';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 25px;
    right: 28px;
    color: white;
    font-size: 14px;
    z-index: 6;
}

/* Estadísticas flotantes mejoradas */
.floating-stats {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    gap: 20px;
    z-index: 15;
}

.stat-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Partículas móviles - Solo visible en dispositivos móviles */
.mobile-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    display: none;
    /* Oculto por defecto */
}

.particle {
    position: absolute;
    background: rgba(30, 58, 138, 0.4);
    border-radius: 50%;
    animation: floatParticles 4s ease-in-out infinite;
}

/* Diferentes tamaños y posiciones para las partículas */
.particle-1 {
    width: 8px;
    height: 8px;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.particle-2 {
    width: 12px;
    height: 12px;
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
    animation-duration: 4s;
    background: rgba(59, 130, 246, 0.3);
}

.particle-3 {
    width: 6px;
    height: 6px;
    top: 35%;
    left: 25%;
    animation-delay: 1s;
    animation-duration: 3.5s;
}

.particle-4 {
    width: 10px;
    height: 10px;
    top: 50%;
    right: 15%;
    animation-delay: 1.5s;
    animation-duration: 4.5s;
    background: rgba(245, 158, 11, 0.4);
}

.particle-5 {
    width: 14px;
    height: 14px;
    top: 65%;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 3.8s;
    background: rgba(16, 185, 129, 0.3);
}

.particle-6 {
    width: 7px;
    height: 7px;
    top: 80%;
    right: 25%;
    animation-delay: 2.5s;
    animation-duration: 3.2s;
}

.particle-7 {
    width: 9px;
    height: 9px;
    top: 15%;
    left: 5%;
    animation-delay: 0.8s;
    animation-duration: 4.2s;
    background: rgba(139, 69, 19, 0.3);
}

.particle-8 {
    width: 11px;
    height: 11px;
    top: 40%;
    right: 5%;
    animation-delay: 1.2s;
    animation-duration: 3.7s;
    background: rgba(168, 85, 247, 0.4);
}

.particle-9 {
    width: 5px;
    height: 5px;
    top: 25%;
    left: 45%;
    animation-delay: 1.8s;
    animation-duration: 3.3s;
}

.particle-10 {
    width: 13px;
    height: 13px;
    top: 70%;
    right: 45%;
    animation-delay: 2.2s;
    animation-duration: 4.1s;
    background: rgba(236, 72, 153, 0.3);
}

.particle-11 {
    width: 8px;
    height: 8px;
    top: 55%;
    left: 10%;
    animation-delay: 2.8s;
    animation-duration: 3.6s;
}

.particle-12 {
    width: 10px;
    height: 10px;
    top: 30%;
    right: 35%;
    animation-delay: 0.3s;
    animation-duration: 4.3s;
    background: rgba(34, 197, 94, 0.4);
}

/* Animación de flotación para las partículas */
@keyframes floatParticles {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-15px) translateX(-10px) scale(0.9);
        opacity: 1;
    }

    75% {
        transform: translateY(-25px) translateX(15px) scale(1.05);
        opacity: 0.7;
    }
}

/* Mostrar partículas solo en móviles */
@media (max-width: 768px) {
    .mobile-particles {
        display: block;
    }

    /* Ajustar algunas partículas para móviles */
    .particle-1,
    .particle-3,
    .particle-6,
    .particle-9 {
        animation-duration: 2.5s;
    }

    .particle-2,
    .particle-5,
    .particle-8,
    .particle-11 {
        animation-duration: 3.2s;
    }

    .particle-4,
    .particle-7,
    .particle-10,
    .particle-12 {
        animation-duration: 3.8s;
    }
}

/* Para móviles muy pequeños, reducir el número de partículas */
@media (max-width: 480px) {

    .particle-7,
    .particle-8,
    .particle-9,
    .particle-10 {
        display: none;
    }
}