* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: 'Fredoka One', cursive;
    color: #a4d233;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0px;
    display: block;
}

.logo-group {
    font-family: 'Poppins', sans-serif;
    color: #00b4d8;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 6px;
    margin-top: 2px;
    display: block;
}

.header.scrolled .logo-group {
    color: #00b4d8;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav > ul > li {
    position: relative;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header.scrolled .nav a {
    color: #333;
}

.nav a:hover {
    color: #00b4d8;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    color: #333 !important;
    padding: 10px 20px;
    display: block;
    font-size: 13px;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #00b4d8 !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.social-icons a {
    color: white;
    font-size: 14px;
    transition: color 0.3s ease;
}

.header.scrolled .social-icons a {
    color: #333;
}

.social-icons a:hover {
    color: #00b4d8;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.header.scrolled .language-selector {
    color: #333;
    border-color: rgba(0, 0, 0, 0.2);
}

.language-selector {
    position: relative;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    list-style: none;
    min-width: 80px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 5px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 8px 15px;
    cursor: pointer;
    color: #333;
    font-size: 13px;
    transition: background 0.2s ease;
}

.lang-dropdown li:hover {
    background: #f5f5f5;
    color: #00b4d8;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.header.scrolled .mobile-menu-btn {
    color: #333;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('nina_hamaca_gemini_aun_mas_alejada.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 35px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    opacity: 0.95;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #a4d233, #8bc22a);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(164, 210, 51, 0.4);
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.video-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #0077b6;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    border-radius: 15px;
    padding: 120px 40px;
    text-align: center;
    color: white;
}

.video-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.video-placeholder p {
    font-size: 18px;
    opacity: 0.9;
}

/* Pilares Section */
.pilares-section {
    padding: 80px 0;
    background: white;
}

.section-pretitle {
    text-align: center;
    font-size: 42px;
    color: #0077b6;
    font-weight: 700;
    margin-bottom: 10px;
}

.pilares-section h2 {
    text-align: center;
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    color: #a4d233;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pilar-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pilar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.pilar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pilar-icon i {
    font-size: 32px;
    color: white;
}

.pilar-icon i + i {
    margin-left: 5px;
    font-size: 24px;
}

.pilar-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.pilar-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Referentes Section */
.referentes-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.referentes-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #0077b6;
}

.referentes-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.referente-placeholder {
    background: white;
    border: 3px dashed #00b4d8;
    border-radius: 15px;
    padding: 100px 40px;
    text-align: center;
    color: #0077b6;
}

.referente-placeholder i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.referente-placeholder p {
    font-size: 18px;
    opacity: 0.7;
}

/* Motricidad Section */
.motricidad-section {
    padding: 80px 0;
    background: white;
}

.motricidad-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: #0077b6;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

.deportes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.deporte-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.deporte-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.deporte-card:hover .deporte-image {
    transform: scale(1.1);
}

.deporte-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,119,182,0.9));
    color: white;
}

.deporte-content h3 {
    font-size: 24px;
    font-weight: 600;
}

/* Publico Section */
.publico-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: white;
}

.publico-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.publico-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.publico-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: background 0.3s ease;
}

.publico-card:hover {
    background: rgba(255,255,255,0.2);
}

.publico-card i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #a4d233;
}

.publico-icon-group {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 20px;
    gap: 2px;
}

.publico-icon-group i {
    margin-bottom: 0;
    font-size: 48px;
}

.publico-icon-group i.fa-child-size {
    font-size: 32px;
}

.publico-card h3 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

/* Mision Vision Valores Section */
.mvv-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.mvv-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #a4d233, #8bc22a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mvv-icon i {
    font-size: 28px;
    color: white;
}

.mvv-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0077b6;
}

.mvv-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.mvv-list {
    text-align: left;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    padding-left: 20px;
    margin-top: 10px;
}

.mvv-list li {
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background: #0077b6;
    position: relative;
    padding-top: 80px;
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: #f8f9fa;
    clip-path: ellipse(55% 100% at 50% 0%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    color: white;
}

.footer-info h4,
.footer-sections h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-info ul,
.footer-sections ul {
    list-style: none;
}

.footer-info li,
.footer-sections li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
}

.footer-info i,
.footer-sections i {
    width: 20px;
    color: #a4d233;
}

.footer-sections a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-sections a:hover {
    color: #a4d233;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    width: 100px;
    height: auto;
    opacity: 0.5;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.footer-brand {
    font-family: 'Fredoka One', cursive;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0px;
}

.footer-group {
    font-family: 'Poppins', sans-serif;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    font-size: 9px;
    letter-spacing: 5px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom strong {
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .nav ul {
        gap: 15px;
    }

    .nav a {
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .pilares-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deportes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .publico-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-logo {
        display: none;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav.active ul {
        flex-direction: column;
        gap: 0;
    }

    .nav.active a {
        color: #333;
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .pilares-grid,
    .deportes-grid,
    .publico-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .video-section h2,
    .pilares-section h2,
    .referentes-section h2,
    .motricidad-section h2,
    .publico-section h2 {
        font-size: 28px;
    }
}
