:root {
    --primary-color: #f68b32;
    --secondary-color: #ab66fd;
    --text-color: #333;
    --background-light: #fff;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px; /* Reducimos padding para mobile */
    background-color: var(--background-light);
    box-shadow: 0 2px 4px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar-logo img {
    width: 100px;
}

.navbar-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.title {
    font-size: 1.5em;
    font-weight: 500;
    color: var(--text-color);
}

.logo-subtitle {
    margin-right: 10px;
    letter-spacing: 2.5px;
    font-size: large;
}

.navbar-buttons {
    display: flex;
    gap: 20px;
}

.navbar-buttons a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 25px;
}

.navbar-buttons a:hover {
    background-color: var(--primary-color);
    color: var(--background-light);
}

/* Responsive Navbar */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar-logo img {
        width: 60px;
    }

    .title {
        font-size: 1em;
    }

    .logo-subtitle {
        font-size: 0.8em;
    }

    .navbar-buttons {
        display: none; /* Hide buttons on mobile, consider adding a hamburger menu */
    }
}

/* Hero Section */
.hero {
   position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 50px;
    margin-top: -10px;
    scroll-margin-top: 100px;

}

.hero-box {
    background-color: var(--primary-color);
    padding: 30px 30px 100px;
    padding-right: 100px;
    border-radius: 0 0 15px 15px;
    max-width: 1000px;
    color: var(--background-light);
    box-shadow: 0px 4px 10px var(--shadow-color);
    margin-top: 10px;
}

.hero-box h1 {
    font-size: 3.5em;
    margin: 50px 0 0;
    line-height: 1.5;
}

.hero-buttons {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-buttons .black-text {
    text-decoration: none;
    color: var(--background-light);
    background-color: var(--secondary-color);
    padding: 20px 100px 20px 90px;
    border-radius: 0px 55px 55px 0px;
    margin-right: 10px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0px;
    box-shadow: 0 4px 10px var(--shadow-color);
    display: flex;
    align-items: center;
}

.hero-buttons a .icon {
    width: 90px;
    height: 60px;
    object-fit: contain;
    margin-left: 20px;
    margin-right: 20px;
}

.hero-buttons {
    font-size: 1.8em;
    color: #111;
}
.hero-buttons .black-text {
    color: #111;
}

.black-text {
    color: #000;
    font-weight: bold;
    font-size: 1em;
}

.highlight {
    color: var(--background-light);
    font-weight: bold;
}

/* Responsive Hero */
@media screen and (max-width: 768px) {
    .hero {
        height: 60vh; /* Smaller height on mobile */
        padding-left: 15px;
    }

    .hero-box {
        padding: 15px 15px 40px;
    }

    .hero-box h1 {
        font-size: 1.5em;
    }

    .hero-buttons a {
        padding: 10px 50px 10px 40px;
        font-size: 1em;
    }

    .hero-buttons a .icon {
        width: 50px;
        height: 30px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .hero-buttons {
        font-size: 1em;
        margin-top: 40px;

    }

    .black-text{
        font-size: 1.5em;
    }

    .highlight{
        font-size: 1.5em;
    }

}

@media screen and (max-width: 480px) {
    .hero {
        height: 50vh;
    }

    .hero-box h1 {
        font-size: 1.2em;
    }

    .hero-buttons a {
        padding: 8px 30px 8px 20px;
        font-size: 0.9em;
    }

    .hero-buttons a .icon {
        width: 40px;
        height: 25px;
    }
}

/* Nuestra Misión Section */
.nuestra-mision {
    background-color: #f9f9f9;
    scroll-margin-top: 100px;
    font-size: 1.5em; 
}

.nuestra-mision-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.text-box {
    flex: 1;
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    color: var(--background-light);
    box-shadow: 0 4px 10px var(--shadow-color);
}

.text-box h2 {
    font-size: 2em;
    color: var(--secondary-color); 
    margin-bottom: 1rem;
}

.text-box ul {
    list-style: none;
    padding-left: 0;
}

.text-box ul li {
    font-size: 1em;
    margin-bottom: 15px;
    line-height: 1.5;
}

.image-section {
    flex: 1;
}

.image-section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px var(--shadow-color);
}

/* Nuestra Misión Section (Desktop) */
.mission-section {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0; 
    background-color: #f9f9f9; 
    margin: 0; 
    width: 100vw;
    scroll-margin-top: 100px;
    font-size: 25px
}

.mission-container {
    display: flex;
    width: 100%; 
    max-width: none; 
    margin: 0; 
    background-color: #f9f9f9;

}

.mission-text {
    flex: 1; /* Toma el 50% del ancho del desktop */
    background-color: var(--primary-color);
    padding: 2rem;
    padding-left: 5.5rem;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 

}

.mission-text h2 {
    font-size: 2em;
    color: #000;
    margin-bottom: 1rem;
    position: relative;
    font-weight: bold;
}

.mission-text h2::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 40px;
    background-color: var(--secondary-color);
    margin-right: 10px;
}

.mission-text ul {
    list-style: disc;
    padding-left: 25px;
    padding-right: 40px;
}

.mission-text ul li {
    font-size: 1.15em;
    margin-bottom: 15px;
    line-height: 1.1;
    padding-right: 50px;
}

.mission-image {
    flex: 1.1; /*  Toma el 50% del ancho del desktop*/
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Nuestra Misión (Tablets and Mobile) */
@media screen and (max-width: 768px) {
    .mission-section {
        padding: 2rem 1rem;
    }

    .mission-container {
        flex-direction: column; /* Verticalmente en tablets*/
        gap: 1.5rem; 
    }

    .mission-text, .mission-image {
        flex: none;
        width: 100%; 
        margin: 0; 
    }

    .mission-text {
        padding: 1.5rem;
    }

    .mission-text h2 {
        font-size: 1.5em;
    }

    .mission-text h2::before {
        width: 15px; 
        height: 30px;
    }

    .mission-text ul li {
        font-size: 0.9em;
        padding-right: 0;
    }
}

@media screen and (max-width: 480px) {
    .mission-section {
        padding: 1.5rem 0.5rem;
    }

    .mission-text {
        padding: 1rem;
    }

    .mission-text h2 {
        font-size: 1.2em;
    }

    .mission-text h2::before {
        width: 10px; 
        height: 25px;
    }

    .mission-text ul li {
        font-size: 0.8em;
    }
}
/* Contact Section */
.contact {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px;/* Reducimos padding para mobile */
    text-align: center;
    color: #fff;
}

.contact h2 {
    color: #000;
    margin-top: 0px;
    margin-bottom: 20px;
    font-size: 3em; /* Más pequeño en mobile */
    font-weight: bold;
}

.contact form {
    max-width: 500px;
    min-height: 500px;
    margin: 0 auto;
    background-color: var(--primary-color);
    padding: 30px; /* Reducimos en mobile*/
    border-radius: 20px;
    box-shadow: 0px 4px 10px var(--shadow-color);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.contact form input,
.contact form textarea {
    width: 90%;
    max-width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 1em;
    color: var(--text-color);
    font-weight: bold;
}

.contact form input::placeholder,
.contact form textarea::placeholder {
    color: var(--text-color);
    font-weight: bold;
    opacity: 1;
}

.contact form textarea {
    height: 100px; 
    resize: none;
}

.contact form button {
    background-color: var(--secondary-color);
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2em;
    font-weight: bold;
    width: 90%;
}

.contact form button:hover {
    background-color: #4b0082;
}

/* Responsive Contact */
@media screen and (max-width: 768px) {
    .contact {
        padding: 30px 15px;
    }

    .contact h2 {
        font-size: 2em;
    }

    .contact form {
        padding: 15px;
    }

    .contact form button {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    .contact h2 {
        font-size: 1.5em;
    }

    .contact form input,
    .contact form textarea {
        padding: 10px;
    }

    .contact form button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
}

/* Estilos para el Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease-in-out;
}

.modal-content {
    background-color: #fff;
    margin: 20% auto; 
    padding: 15px; 
    border: 1px solid #888;
    width: 80%; 
    max-width: 400px; 
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    color: #155724;
    margin-bottom: 10px;
    font-size: 1.2em; 
}

.modal-content p {
    font-size: 1em;
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px; 
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}