/* 
Elite Futbol - Professional Soccer Training Programs
CSS Styles 
*/

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

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #1a3a7e;
    --secondary-color: #e4b528;
    --accent-color: #d63031;
    --dark-color: #222831;
    --light-color: #f8f9fa;
    --gray-color: #a0a0a0;
    --success-color: #28a745;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 100px;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.left-align {
    text-align: left;
    margin-left: 0;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    margin-bottom: 1.5rem;
}

.section-header h2:after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(228, 181, 40, 0.3);
}

.section-header.left-align h2:after {
    left: 0;
    transform: none;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(26, 58, 126, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 181, 40, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    transform: translateY(0);
}

header.hidden {
    transform: translateY(-100%);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}

.logo h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--primary-color);
}

.logo h1 span {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle i {
    transition: all 0.3s ease;
}

/* Navegación */
nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a:after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
}

nav ul li a.cta-button:hover {
    background-color: var(--secondary-color);
}

nav ul li a.cta-button:after {
    display: none;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 30px;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    margin-left: 8px;
    border-radius: 4px;
    color: var(--dark-color);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.language-option:hover, 
.language-option.active {
    border-color: var(--secondary-color);
    background-color: rgba(228, 181, 40, 0.1);
}

.flag-icon {
    width: 20px;
    height: 14px;
    margin-right: 4px;
    border: 1px solid #e0e0e0;
    object-fit: cover;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    /* Reposicionamiento de elementos en móvil */
    .logo-language-wrapper {
        display: flex;
        width: 100%;
        position: relative;
        padding: 10px 0;
        justify-content: center;
    }
    
    /* Logo centrado */
    .logo {
        text-align: center;
        margin: 0 auto;
    }
    
    .logo h1 {
        font-size: 1.6rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.3;
    }
    
    .logo h1 span:last-child {
        display: block;
        margin-top: 3px;
        font-size: 1.3rem;
    }
    
    /* Banderas a la izquierda una debajo de otra */
    .language-selector {
        position: absolute;
        left: 10px;
        top: 22px;
        flex-direction: column;
        margin: 0;
    }
    
    .language-option {
        margin: 2px 0;
        padding: 3px 6px;
    }
    
    .flag-icon {
        width: 18px;
        height: 12px;
    }
    
    /* Menú de navegación */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    /* Fondo oscuro al abrir menú */
    .main-nav.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: -20%;
        width: 20%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav ul li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 8px 0;
        font-size: 1.1rem;
        color: var(--dark-color);
    }
    
    .main-nav ul li a.active {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .main-nav ul li a:hover {
        color: var(--primary-color);
    }
    
    .main-nav ul li a.cta-button {
        display: inline-block;
        margin-top: 10px;
        text-align: center;
        background-color: var(--primary-color);
        color: white !important;
    }
    
    .main-nav ul li a.cta-button:hover {
        background-color: var(--secondary-color);
        color: var(--dark-color) !important;
    }
    
    /* Animación para el icono hamburguesa */
    .mobile-menu-toggle i {
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-toggle i.fa-times {
        transform: rotate(90deg);
    }
}

@media (max-width: 576px) {
    header {
        padding-top: 20px;
    }
    /* Estilo para que "Scouting" aparezca debajo de "Elite Futbol" */
    .logo h1 {
        font-size: 1.6rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.3;
        margin-top: 6px;
    }
    
    .logo h1 span:last-child {
        display: block;
        margin-top: 3px;
        font-size: 1.3rem;
    }
    
    .mobile-menu-toggle {
        top: 25px;
    }
    
    .language-selector {
        top: 25px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    padding: 0;
    overflow: hidden;
    margin-top: -100px;
    padding-top: 100px;
    width: 100%;
    box-sizing: border-box;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparente para permitir ver la imagen */
    z-index: 1;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 80px;
    width: 100%;
    box-sizing: border-box;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6);
    animation: fadeInDown 1s ease-out;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8), 0 1px 5px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Program Cards */
.programs {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.program-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.featured {
    border: 2px solid var(--secondary-color);
}

.featured-tag {
    position: absolute;
    top: 20px;
    right: -5px;
    background: linear-gradient(135deg, var(--secondary-color), #f5c842);
    color: var(--dark-color);
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(228, 181, 40, 0.4);
    border-radius: 4px;
    transform: rotate(5deg);
    letter-spacing: 1px;
}

.featured-tag::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #f5c842;
}

@media (max-width: 576px) {
    .featured-tag {
        top: 10px;
        right: -3px;
        padding: 6px 15px;
        font-size: 0.7rem;
    }
}

.premium {
    position: relative;
}

.premium-tag {
    display: none;
}

.program-image {
    position: relative;
}

.program-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.program-duration {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    font-weight: 600;
}

.program-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.program-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.program-content .price {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.program-content .program-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.program-content .note {
    font-size: 14px;
    font-style: italic;
    color: #777;
    margin-top: 10px;
    margin-bottom: 15px;
}

.program-content .educational-requirements {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.program-content .educational-requirements h4 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.program-content .requirements-list p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.program-content .requirements-list i {
    color: var(--primary-color);
    margin-right: 8px;
    margin-top: 2px;
    flex-shrink: 0;
}

.program-content ul {
    margin-bottom: 15px;
}

.program-content ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: baseline;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.program-content ul li:hover {
    padding-left: 5px;
    background-color: rgba(26, 58, 126, 0.02);
    border-radius: 4px;
}

.program-content ul li:last-child {
    border-bottom: none;
}

.program-content ul li i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.program-content ul li:hover i {
    transform: scale(1.2);
}

.program-content .btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/foto-facha-caminando.JPG') no-repeat center center/cover;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

@media (max-width: 768px) {
    .why-us {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
}

.why-us .section-header h2 {
    color: white;
}

.why-us .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(228, 181, 40, 0.1), transparent);
    transition: left 0.5s;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    background-color: rgba(0, 0, 0, 0.6);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
    position: relative;
    z-index: 1;
}

.feature p {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.feature-icon {
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.about-content {
    gap: 50px;
}

.about-image {
    position: relative;
    margin: 0 auto;
    max-width: 800px;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
    width: 100%;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--secondary-color);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.about-image:hover::after {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .about-image::after {
        top: 10px;
        left: 10px;
        right: -10px;
        bottom: -10px;
    }
}

@media (max-width: 576px) {
    .about-image::after {
        display: none;
    }
}

.about-text p {
    margin-bottom: 1rem;
}

.about-text .btn {
    margin-top: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('images/exito-casos.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

@media (max-width: 768px) {
    .testimonials {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 300px;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.testimonial::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 6rem;
    color: rgba(228, 181, 40, 0.2);
    line-height: 1;
    font-weight: 700;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
    border-color: var(--secondary-color);
    background-color: rgba(0, 0, 0, 0.7);
}

.testimonial-content {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: white;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.author-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Facilities Section */
.facilities {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.facility-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.facility-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.facility-image:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.facility-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.facility-image:hover img {
    transform: scale(1.15);
}

.facility-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 58, 126, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    color: var(--gray-color);
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.info-item {
    display: flex;
    margin-bottom: 35px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.info-item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
    padding-top: 5px;
    transition: all 0.3s ease;
}

.info-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .info-item {
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .info-item:hover {
        transform: none;
    }
    
    .info-item i {
        font-size: 1.5rem;
        margin-right: 15px;
        min-width: 35px;
    }
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-box {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.info-box h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-box ol {
    padding-left: 20px;
    list-style-type: decimal;
}

.info-box ol li {
    padding: 8px 0;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 58, 126, 0.95), rgba(34, 40, 49, 0.95)), url('images/stadium-background-new.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    opacity: 0.9;
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta .btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 700;
}

.cta .btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 2;
    min-width: 250px;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-logo h3 span {
    color: var(--secondary-color);
}

.footer-logo p {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.footer-links,
.footer-programs,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

footer h4 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.2rem;
}

footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
}

footer ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom ul {
    display: flex;
    gap: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Scroll animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Fade in on scroll */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

.scroll-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
    z-index: 2;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 15px;
        font-size: 0.7rem;
    }
    
    .scroll-indicator i {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding-bottom: 80px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 30px;
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 2rem !important;
        padding: 0;
        width: 100%;
        margin-top: 15px;
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
        padding: 0;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0;
        align-items: center;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.scroll-indicator span {
    font-size: 0.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scroll-indicator i {
    font-size: 1.5rem;
    animation: scrollDown 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 20px;
        width: 100%;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom ul {
        justify-content: center;
    }
    
    .language-selector {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    @media (max-width: 576px) {
        header .container {
            flex-direction: column;
        }
        
        .logo-language-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 80px;
    }
    
    .section-header {
        margin-bottom: 2rem;
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .hero {
        min-height: 500px;
        padding-top: 120px;
        margin-top: -80px;
    }
    
    .hero-content {
        padding-bottom: 100px;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 40px;
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 20px;
        margin-top: 20px;
        padding: 0;
        width: 100%;
    }
    
    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 30px;
        padding: 0;
        width: 100%;
    }
    
    .hero-buttons {
        padding: 0;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .program-card {
        min-width: 100%;
    }
    
    .program-content {
        padding: 18px 12px;
    }
    
    .program-content ul li {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form,
    .contact-info {
        min-width: 100%;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature {
        padding: 25px 20px;
    }
    
    .testimonial {
        min-width: 100%;
        padding: 25px 20px;
    }
    
    .facility-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-text {
        padding: 0 15px;
    }
    
    .about-image {
        padding: 0 15px;
    }
    
    .why-us,
    .testimonials {
        padding: 60px 0;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .cta {
        padding: 60px 0;
    }
    
    .cta h2 {
        font-size: 1.8rem;
        padding: 0 15px;
    }
    
    .cta p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    footer {
        padding: 60px 0 0;
    }
    
    .footer-content {
        gap: 30px;
        padding: 0 15px;
    }
    
    .footer-logo,
    .footer-links,
    .footer-programs,
    .footer-contact {
        min-width: 100%;
    }
    
    .scroll-indicator {
        bottom: 20px;
        font-size: 0.65rem;
    }
    
    .scroll-indicator i {
        font-size: 1rem;
    }
}

/* Update header container for language selector */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Make logo smaller to accommodate language selector */
.logo {
    flex: 0 0 auto;
}

/* Media query updates for language selector */
@media (max-width: 768px) {
    .language-selector {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    header .container {
        flex-direction: column;
    }
    
    /* Keep language selector on same row as logo on smaller screens */
    @media (max-width: 576px) {
        header .container {
            flex-direction: column;
        }
        
        .logo-language-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }
    }
}

/* Estilos para validación de formularios */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #d63031 !important;
    box-shadow: 0 0 0 1px rgba(214, 48, 49, 0.2);
    background-color: rgba(214, 48, 49, 0.05);
}

.error-message {
    color: #d63031;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    animation: slideInRight 0.3s ease-out;
    max-width: calc(100% - 40px);
}

@media (max-width: 576px) {
    .success-message {
        top: 15px;
        right: 15px;
        left: 15px;
        max-width: calc(100% - 30px);
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

.success-message i {
    margin-right: 10px;
    font-size: 1.3rem;
}

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

/* Estilos para el indicador de carga */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1200px) {
    .program-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .programs {
        padding: 60px 0;
    }
    
    .program-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .program-card {
        min-height: auto;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .program-content {
        padding: 20px 15px;
    }
    
    .program-content .price {
        font-size: 24px;
    }
    
    .program-content h3 {
        font-size: 1.1rem;
    }
}

/* Programs Logo Section */
.programs-logo-section {
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    height: 0;
}

.programs-logo {
    position: absolute;
    top: -610px;
    left: 12%;
    width: 33.33%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.programs-logo img {
    max-width: 550px;
    height: auto;
    transition: all 0.3s ease;
    background: transparent;
}

/* Media Queries for Programs Logo */
@media (max-width: 1200px) {
    .programs-logo {
        top: -500px;
        left: 8%;
    }
    
    .programs-logo img {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .programs-logo-section {
        height: auto;
        margin-top: 30px;
        position: static;
        padding: 0 15px;
    }
    
    .programs-logo {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin: 20px 0;
        text-align: center;
    }
    
    .programs-logo img {
        max-width: 280px;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .programs-logo {
        margin: 15px 0;
    }
    
    .programs-logo img {
        max-width: 220px;
    }
    
    .programs-logo-section {
        padding: 0 15px;
    }
}

/* Force equal height for first 3 program cards - Desktop only */
@media (min-width: 769px) {
    .programs .program-cards .program-card:first-child,
    .programs .program-cards .program-card:nth-child(2),
    .programs .program-cards .program-card:nth-child(3) {
        height: 950px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .programs .program-cards .program-card:first-child .program-content,
    .programs .program-cards .program-card:nth-child(2) .program-content,
    .programs .program-cards .program-card:nth-child(3) .program-content {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        flex-grow: 1 !important;
    }

    .programs .program-cards .program-card:first-child .program-content ul,
    .programs .program-cards .program-card:nth-child(2) .program-content ul {
        flex-grow: 2 !important;
        margin-bottom: 30px !important;
    }

    .programs .program-cards .program-card:nth-child(3) .program-content ul {
        flex-grow: 1 !important;
        margin-bottom: 20px !important;
    }

    .programs .program-cards .program-card:first-child .btn,
    .programs .program-cards .program-card:nth-child(2) .btn,
    .programs .program-cards .program-card:nth-child(3) .btn {
        margin-top: auto !important;
    }
}

/* Mobile: Remove fixed height, let cards be auto height */
@media (max-width: 768px) {
    .programs .program-cards .program-card:first-child,
    .programs .program-cards .program-card:nth-child(2),
    .programs .program-cards .program-card:nth-child(3) {
        height: auto !important;
    }

    .programs .program-cards .program-card:first-child .program-content,
    .programs .program-cards .program-card:nth-child(2) .program-content,
    .programs .program-cards .program-card:nth-child(3) .program-content {
        height: auto !important;
        justify-content: flex-start !important;
    }

    .programs .program-cards .program-card:first-child .program-content ul,
    .programs .program-cards .program-card:nth-child(2) .program-content ul,
    .programs .program-cards .program-card:nth-child(3) .program-content ul {
        flex-grow: 0 !important;
        margin-bottom: 15px !important;
    }

    .programs .program-cards .program-card:first-child .btn,
    .programs .program-cards .program-card:nth-child(2) .btn,
    .programs .program-cards .program-card:nth-child(3) .btn {
        margin-top: 10px !important;
    }
}