/* Variables CSS */
:root {
    --primary-color: #08addffc;
    --secondary-color: #1a1a1a;
    --accent-color: #4A90A8;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #0066cc);
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #3A7A8F);
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: #08addffc;
    font-size: 16px;
}

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

/* Hero Section */
.hero-section {
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-img img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero-img img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--white);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    background: var(--gradient-accent);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Misión Section */
.mision-section {
    padding: 100px 0;
}

.mision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mision-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.mision-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
}

.mision-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.feature-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.mision-img img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mision-img img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Visión Section */
.vision-section {
    padding: 100px 0;
}

.vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.vision-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
}

.vision-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vision-img img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.vision-img img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Valores Section */
.valores-section {
    padding: 100px 0;
}

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

.valor-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.valor-card:hover::before {
    transform: scaleX(1);
}

.valor-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.valor-icon i {
    font-size: 2rem;
    color: var(--white);
}

.valor-card:hover .valor-icon {
    transform: scale(1.1);
    background: var(--gradient-accent);
}

.valor-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.valor-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn1, .btn2 {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn1 {
    background: var(--white);
    color: var(--primary-color);
}

.btn1:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn2 {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn2:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mision-container,
    .vision-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-container {
        grid-template-areas: 
            "text"
            "image";
    }
    
    .vision-img {
        grid-area: image;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .mision-text h2,
    .vision-text h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn1, .btn2 {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .valor-card {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* Animaciones */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    padding: 12px 20px;
}
.logo img {
    width: auto;
    height: 65px;
}
.menu {display: flex;}
.menu li {padding-left: 30px;}
.menu li a {
    display: inline-block;
    text-decoration: none;
    color: white;
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
}
.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    transition: 0.15s ease-in-out;
}
.menu li a:hover:after {width: 100%;}
.open-menu , .close-menu {
    position: absolute;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}
.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.close-menu {
    top: 20px;
    right: 20px;
}

@media (min-width: 768px) {
    body{
        margin-left: 10%;
        margin-right: 10%;

    }
    
    .contact-container {
        display: flex;
        flex-direction: row; /* Asegura que los elementos estén en línea */
        align-items: center;
        justify-content: space-between;
        text-align: center;
        margin: 10%;
        
    }

    .contact-text {
        width: 100%;
    }

    .contact-text h1 {
        font-size: 4vw;
        
    }

    .contact-text p {
        margin: 2%;
        font-size: 1vw;
    }
    .contact-text a {
        margin: 2%;
        font-size: 1vw;
    }

    

    .button-container {
        margin-top: 50px; /* Ajusta el valor según sea necesario */
    }

    .btn1 {
        padding: 10px 20px;
        background-color: black;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin: 20px 0;
    }
    
    .btn1:hover {
        background-color: black;
    }
    
    .btn1:active {
    background-color: #3e698e;
    }

    .btn2 {
        background-color: #1c95e5;
    }
    
    .contact-img img {
        display: flex;
        width: 100%;
        height: 100%;
        border-radius: 5px;
    }

    .mision-container,
    .vision-container {
        display: flex; /* Invierte el orden: imagen a la izquierda, texto a la derecha */
        align-items: center;
        justify-content: space-between;
        margin-top: 10%;
        
    }
    .vision-container{
        flex-direction: row-reverse;
        margin-bottom: 10%;
    }
    .mision-text,
    .vision-text {
        width: 60%;
        order: 2;
        text-align: center;
    }

    .mision-img,
    .vision-img {
        width: 40%;
        order: 1;

    }
    .mision-img img,
    .vision-img img {
        display: flex;
        width: 500px;
        height: 100%;
        border-radius: 5px;
    }
    .mision-text h1,
    .vision-text h1 {
        font-size: 2.5vw;
        
    }
    .mision-text p,
    .vision-text p {
        margin: 2%;
        font-size: 1vw;
    }


    .mision-img,
    .vision-img {
        width: 50%;
        display: flex;
        justify-content: flex-end;
    }
    
    

    .footer {
        background-color:white; /* Color de fondo similar al de la imagen */
        color: #1c95e5;
        padding : 40px 0;
        text-align: center;
        position: relative;
        margin-left: -12.5%;
        margin-right: -12.5%;
    }
    
    .footer-container {
        display: flex;
        justify-content: space-around;
        max-width: 1200px;
        margin: 0 auto;
        flex-wrap: wrap;
        
    }
    
    .footer-column {
        width: 20%;
        min-width: 200px;
        text-align: left;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        line-height: 2;
    }
    
    .footer-column p {
        font-size: 1vw;
    }
    
    .footer-column ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-column ul li {
        margin: 5px 0;
    }
    
    .footer-column ul li a {
        text-decoration: none;
        font-size: 1rem;
        color: #1c95e5;
    }
    
    .footer-column ul li a:hover {
        text-decoration: underline;
    }
}


#check {display: none ;}
@media(max-width: 768px){
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: black;
        transition: all 0.2s ease-in-out;
    }
    .menu li {margin-top: 40px;}
    .menu li a {padding: 10px;}
    .open-menu{background-color: none;}
    .open-menu , .close-menu {display: block;}
    #check:checked ~ .menu {right: 0;}
    
    .contact-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        margin: 20px;
        text-align: center;
    }

    
    .contact-container h1 {
        text-align: center;
        font-size: 2.5rem;
        margin: 20px 0;
    }



    .button-container {
        margin-top: 50px; /* Ajusta el valor según sea necesario */
    }
    
    .btn1 {
        padding: 10px 20px;
        background-color: black;
        color: white;
        border: 5px;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 20px;
    }
    
    .btn1:hover {
        background-color: black;
    }
    
    .btn1:active {
    background-color: #3e698e;
    }
    
    
    .contact-img img {
        display: flex;
        width: 100%;
        height: 100%;
        border-radius: 5px;
        margin: 20px 0;
    }
    
    .mision-container,
    .vision-container {
        display: flex; /* Invierte el orden: imagen a la izquierda, texto a la derecha */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 10%;
        
    }
    .mision-text,
    .vision-text {
        text-align: center;
    }



    .mision-text h1,
    .vision-text h1 {
        font-size: 2.5rem;
        
    }
    .mision-text p,
    .vision-text p {
        margin: 2%;
        font-size: 1rem;
    }

    .mision-img,
    .vision-img {
        display: none;
    }
    

    .footer-container {
        flex-direction: column;
        text-align: center;
        background-color: white;
        color: #1c95e5;
        text-decoration: none;
        margin: 0%;
        padding: 10%;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-column h3 {
        line-height: 3;
    }

    .footer-column a {
        text-decoration: none;
        line-height: 2;
        color: #1c95e5;
    }
    
    
}