* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navbar */
.navbar{
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.50 ) !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar a{
    color: rgb(0, 0, 0);
}


.navbar .navbar-brand {
    
    margin-left: 15%;
        
}

.navbar .navbar-brand img{
    width: 120px;
       
}

.navbar .navbar-nav{
    padding-left: 5%;
    padding-right: 5%;
    background-color: #e0e0e0;
    border-radius: 50px;
}

/* Banner Section */
.banner {
    height: 100vh;
    background: linear-gradient(135deg, #ba0505 0%, #121a4e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="300" r="100" fill="url(%23grad)"/><circle cx="800" cy="200" r="150" fill="url(%23grad)"/><circle cx="600" cy="700" r="120" fill="url(%23grad)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.banner h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease forwards 0.5s;
}

.banner p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease forwards 0.8s;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease forwards 1.1s;
}

.cta-button:hover {
    background: white;
    color: #ba0505;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Value Proposition */
.value-proposition {
    padding: 5rem 0;
    background: #f8f9fa;
    margin-bottom: 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ba0505 0%, #32409e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ba0505;
}

/* Video Section */
.video-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ba0505 0%, #121a4e 100%);
    margin-top: 20px;
}

.video-section .container .title-video {
     font-size: 3.5rem;
     font-weight: 800;
     background: linear-gradient(45deg, #ffffff, #ffffff);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     margin-bottom: 15px;
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     animation: titlePulse 2s ease-in-out infinite;
     text-align: center;
}

.video-section .container .modals{
    margin-top: 3em;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Convenios Section */
.convenios {
    padding: 5rem 0;
    background: white;
}

.convenios img{
    width: 200px;
}

.convenios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.convenio-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.convenio-card:hover {
    transform: scale(1.05);
    border-color: #ba0505;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #ba0505 0%, #121a4e 100%);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ba0505;
    margin-bottom: 1rem;
}

.stat-text {
    font-size: 1.2rem;
    color: #666;
}

/* Carousel Section */
.carousel-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #121a4e 0%, #1e2951 100%);
    color: white;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-section .container .title-moments{
     font-size: 3.5rem;
     font-weight: 800;
     background: linear-gradient(45deg, #ffffff, #ffffff);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     margin-bottom: 15px;
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     animation: titlePulse 2s ease-in-out infinite;
     text-align: center;
    
}

.carousel-section .container {
    color: white;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 800px;
    background: linear-gradient(135deg, #ba0505 0%, #121a4e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
}

.carousel-slide img{
    height: 750px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
}

/*Reglamentos*/

.reglamentos {
    background-color: #d4d4d4;
    max-width: 100vw;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.reglamentos .accordion {
  width: 550px;
}

.reglamento-lista {
  list-style: none; /* quitamos los bullets */
  padding-left: 0;
  margin: 0;
}

.reglamento-lista li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.reglamento-lista a {
  text-decoration: none;
  color: #000000; /* texto negro */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px; /* espacio entre ícono y texto */
  padding: 4px;
}

/* Efecto hover */
.reglamento-lista a:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
  padding-left: 10px;
}

/* Efecto click */
.reglamento-lista a:active {
  background-color: #000000;
  color: #ffffff;
  padding-left: 14px;
}

.reglamento-lista i {
  font-size: 1.2rem;
  color: #000000;
  transition: color 0.3s ease;
}

.reglamento-lista a:hover i {
  color: #0d6efd; /* cambia ícono a azul en hover */
}


.ubicacion {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  background-color: #f8f9fa;
}

.mapa-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mapa-container p {
  margin-top: 10px;
  font-size: 16px;
}

.mapa-container a {
  color: #0d6efd;
  text-decoration: none;
}

.mapa-container a:hover {
  text-decoration: underline;
}

/*seccion reglamentos*/

.reglamentos-container {
            max-width: 1200px;
            margin: 30px auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            padding: 50px 40px;
            position: relative;
            overflow: hidden;
        }

        .reglamentos-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #ba0505, #121a4e, #ba0505);
            animation: gradientShift 3s ease-in-out infinite;
        }

        @keyframes gradientShift {
            0%, 100% { transform: translateX(-100%); }
            50% { transform: translateX(100%); }
        }

        .section-header {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .section-title {
            font-size: 3.5rem;
            font-weight: 800;
            background: linear-gradient(45deg, #ba0505, #121a4e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            animation: titlePulse 2s ease-in-out infinite;
        }

        @keyframes titlePulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: #666;
            font-weight: 300;
            margin-bottom: 30px;
        }

        .decorative-line {
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #ba0505, #121a4e);
            margin: 0 auto;
            border-radius: 2px;
            position: relative;
            overflow: hidden;
        }

        .decorative-line::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        .reglamento-lista {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .reglamento-lista li {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .reglamento-lista li:nth-child(1) { animation-delay: 0.1s; }
        .reglamento-lista li:nth-child(2) { animation-delay: 0.2s; }
        .reglamento-lista li:nth-child(3) { animation-delay: 0.3s; }
        .reglamento-lista li:nth-child(4) { animation-delay: 0.4s; }
        .reglamento-lista li:nth-child(5) { animation-delay: 0.5s; }
        .reglamento-lista li:nth-child(6) { animation-delay: 0.6s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .reglamento-lista a {
            display: flex;
            align-items: center;
            padding: 25px 30px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: 15px;
            text-decoration: none;
            color: #333;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            border: 2px solid transparent;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .reglamento-lista a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(186, 5, 5, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .reglamento-lista a:hover::before {
            left: 100%;
        }

        .reglamento-lista a:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 40px rgba(186, 5, 5, 0.2);
            border-color: #ba0505;
            background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
        }

        .reglamento-lista a i {
            font-size: 2rem;
            margin-right: 20px;
            color: #ba0505;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .reglamento-lista a:hover i {
            color: #121a4e;
            transform: scale(1.2) rotate(5deg);
        }

        .reglamento-lista a span {
            position: relative;
            z-index: 1;
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 40px;
            padding-top: 40px;
            border-top: 1px solid rgba(186, 5, 5, 0.2);
        }

        .stat-item {
            text-align: center;
            padding: 20px;
            background: linear-gradient(135deg, rgba(186, 5, 5, 0.1) 0%, rgba(18, 26, 78, 0.1) 100%);
            border-radius: 15px;
            transition: transform 0.3s ease;
        }

        .stat-item:hover {
            transform: translateY(-5px);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 820;
            color: #ba0505;
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 1rem;
            color: #666;
            font-weight: 500;
        }

        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }

        .floating-circle {
            position: absolute;
            border-radius: 50%;
            background: linear-gradient(45deg, rgba(186, 5, 5, 0.1), rgba(18, 26, 78, 0.1));
            animation: float 6s ease-in-out infinite;
        }

        .floating-circle:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-circle:nth-child(2) {
            width: 60px;
            height: 60px;
            top: 20%;
            right: 15%;
            animation-delay: 2s;
        }

        .floating-circle:nth-child(3) {
            width: 100px;
            height: 100px;
            bottom: 15%;
            left: 20%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        @media (max-width: 768px) {
            .reglamento-lista {
                grid-template-columns: 1fr;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
            
            .reglamentos-container {
                padding: 30px 20px;
            }
            
            .reglamento-lista a {
                padding: 20px;
                font-size: 1rem;
            }
        }

/*nuestros programas*/

 .programas-container {
            max-width: 1200px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 50px 40px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 800;
            background: linear-gradient(45deg, #ba0505, #121a4e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: #666;
            font-weight: 300;
        }

        .programs-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 40px;
        }

        .program-card {
            background: white;
            border-radius: 15px;
            padding: 40px 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            text-align: center;
        }

        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(186, 5, 5, 0.2);
            border-color: #ba0505;
        }

        .program-icon {
            font-size: 4rem;
            color: #ba0505;
            margin-bottom: 25px;
            transition: transform 0.3s ease;
        }

        .program-card:hover .program-icon {
            transform: scale(1.1);
        }

        .program-title {
            font-size: 2rem;
            font-weight: 700;
            color: #121a4e;
            margin-bottom: 20px;
        }

        .program-description {
            font-size: 1.1rem;
            color: #666;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .program-features {
            margin-bottom: 35px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            font-size: 1rem;
            color: #555;
        }

        .feature-icon {
            color: #ba0505;
            margin-right: 10px;
            font-size: 1.1rem;
        }

        .program-btn {
            display: inline-flex;
            align-items: center;
            padding: 15px 30px;
            background: linear-gradient(135deg, #ba0505, #121a4e);
            color: white;
            text-decoration: none;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(186, 5, 5, 0.3);
        }

        .program-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(186, 5, 5, 0.4);
        }

        .program-btn i {
            margin-left: 10px;
            transition: transform 0.3s ease;
        }

        .program-btn:hover i {
            transform: translateX(5px);
        }

        .age-badge {
            background: linear-gradient(135deg, #ba0505, #121a4e);
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 20px;
            display: inline-block;
        }

        @media (max-width: 768px) {
            .programs-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
            
            .programas-container {
                padding: 30px 20px;
            }
            
            .program-card {
                padding: 30px 20px;
            }
        }



/* Footer */
.footer {
    background: linear-gradient(135deg, #121a4e 0%, #0f1640 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    

    .logo img {
        height: 40px;
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .banner p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .convenios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .convenios-grid {
        grid-template-columns: 1fr;
    }

    .carousel-nav {
        display: none;
    }

   
}


/* Sección de Ubicación - Diseño Moderno */
.ubicacion {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 40px;
    margin: 60px 0;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.ubicacion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ba0505, #121a4e, #ba0505);
    background-size: 200% 100%;
    animation: gradientMove 4s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ubicacion h2 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #ba0505, #121a4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        filter: drop-shadow(0 2px 8px rgba(186, 5, 5, 0.3));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 4px 12px rgba(18, 26, 78, 0.3));
        transform: scale(1.01);
    }
}

.mapa-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.4s ease;
}

.mapa-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.mapa-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(186, 5, 5, 0.1), rgba(18, 26, 78, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.mapa-container:hover::before {
    opacity: 1;
}

.mapa-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 20px 20px 0 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.mapa-container p {
    background: linear-gradient(135deg, #121a4e, #ba0505);
    color: white;
    padding: 20px;
    margin: 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 3;
}

.mapa-container p a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mapa-container p a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mapa-container p a::before {
    content: '📍';
    font-size: 1.2rem;
    animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.mapa-container p a::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.mapa-container p a:hover::after {
    transform: translateX(5px);
}

/* Elementos decorativos */
.ubicacion::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(186, 5, 5, 0.1), rgba(18, 26, 78, 0.1));
    border-radius: 50%;
    animation: floatDecoration 6s ease-in-out infinite;
}

@keyframes floatDecoration {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ubicacion {
        padding: 50px 20px;
        margin: 40px 10px;
        border-radius: 15px;
    }
    
    .ubicacion h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .mapa-container {
        border-radius: 15px;
    }
    
    .mapa-container iframe {
        height: 350px;
        border-radius: 15px 15px 0 0;
    }
    
    .mapa-container p {
        padding: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ubicacion h2 {
        font-size: 1.8rem;
    }
    
    .mapa-container iframe {
        height: 300px;
    }
    
    .mapa-container p a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Animación de entrada */
.ubicacion {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de carga para el mapa */
.mapa-container {
    position: relative;
}

.mapa-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.mapa-container:hover::after {
    display: none;
}

/*seccion objetivos de programas*/
  .levels-section {
            background: linear-gradient(135deg, #e34f4f 0%, #003aa7 100%);
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }
        
        .levels-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            pointer-events: none;
        }
        
        .levels-section .title-levels {
            color: white;
            font-size: 3rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 4rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            position: relative;
            z-index: 1;
        }
        
        .section-subtitle {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.2rem;
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            z-index: 1;
        }
        
        .modern-accordion {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        .accordion-item {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 20px !important;
            margin-bottom: 1.5rem;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            overflow: hidden;
        }
        
        .accordion-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }
        
        .accordion-header {
            border-radius: 20px;
        }
        
        .accordion-button {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            font-size: 1.4rem;
            font-weight: 600;
            padding: 1.5rem 2rem;
            border-radius: 20px;
            position: relative;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }
        
        .accordion-button:not(.collapsed) {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            box-shadow: none;
        }
        
        .accordion-button:focus {
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
            border: none;
        }
        
        .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            transform: scale(1.2);
            transition: transform 0.3s ease;
        }
        
        .accordion-button:not(.collapsed)::after {
            transform: scale(1.2) rotate(180deg);
        }
        
        .accordion-body {
            background: rgba(255, 255, 255, 0.95);
            color: #333;
            padding: 2rem;
            border-radius: 0 0 20px 20px;
            backdrop-filter: blur(20px);
        }
        
        .level-badge {
            display: inline-block;
            background: linear-gradient(45deg, #ff6b6b, #ffa500);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .level-description {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
        
        .level-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        
        .skill-tag {
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.9rem;
            font-weight: 500;
            border: 1px solid rgba(102, 126, 234, 0.3);
        }
        
        .level-icon {
            float: left;
            font-size: 3rem;
            margin-right: 1rem;
            margin-bottom: 1rem;
            color: #667eea;
        }
        
        .competency-section {
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            border-left: 4px solid #667eea;
        }
        
        .competency-title {
            color: #667eea;
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .competency-description {
            color: #333;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 0;
        }
        
        @media (max-width: 768px) {
            .section-title {
                font-size: 2.2rem;
            }
            
            .accordion-button {
                font-size: 1.2rem;
                padding: 1.2rem 1.5rem;
            }
            
            .accordion-body {
                padding: 1.5rem;
            }
        }