
:root {
    /* Desktop sizes */
    --major-headline: 58px;
    --h1: 32px;
    --h2: 29px;
    --h3: 26px;
    --h4: 23px;
    --h5: 20px;
    --h6: 18px;
    --body-large: 18px;
    --body: 16px;
    --body-small: 13px;
    --overline-m: 16px;
    --overline-s: 13px;
    --caption: 10px;
    
    /* Mobile sizes */
    --major-headline-mobile: 32px;
    --h1-mobile: 28px;
    --h2-mobile: 25px;
    --h3-mobile: 22px;
    --h4-mobile: 20px;
    --h5-mobile: 18px;
    --h6-mobile: 16px;
    --body-mobile: 14px;
    --body-small-mobile: 12px;
    --overline-m-mobile: 14px;
    --overline-s-mobile: 12px;
    --caption-mobile: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
 color: #333;
 line-height: 1.6;
 font-family: 'Open Sans', sans-serif;
 font-size: var(--body);
padding-top: 70px; 
}

.container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
  background-color: #f8f9fa;
  padding: 10px 0;
  border-bottom: 1px solid #e1e1e1;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    max-height: 72px;
    margin: 0 auto;
    padding: 0 20px;
}


.logo_img {
width: 160px !important;
}

.logo{
padding-top:24px;
padding-bottom: 24px;
}


.menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0056b3;
}



.btn {
    display: inline-block;
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #003d7a;
}

@media (max-width: 992px) {
    .menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #f8f9fa;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        padding: 10px 20px;
        display: block;
    }
}

.major-headline {
    font-family: 'Calistoga', cursive;
    font-size: var(--major-headline);
    line-height: 1.2;
}

h1, .h1 {
    font-family: 'Calistoga', cursive;
    font-size: var(--h1);
    font-weight: 400;
}

h2, .h2 {
    font-family: 'Open Sans', cursive;
    font-size: var(--h2);
    font-weight: 700;
    line-height: 120%;
    
}

h3, .h3 {
    font-size: var(--h3);
    font-weight: 600;
}

h4, .h4 {
    font-size: var(--h4);
    font-weight: 600;
}

h5, .h5 {
    font-size: var(--h5);
    font-weight: 600;
}

h6, .h6 {
    font-size: var(--h6);
    font-weight: 600;
}

.body-large {
    font-size: var(--body-large);
}

.body-small {
    font-size: var(--body-small);
}

.overline-m {
    font-size: var(--overline-m);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overline-s {
    font-size: var(--overline-s);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.caption {
    font-size: var(--caption);
}

.hero {
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero h1 {
    color: #0056b3;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 30px;
    font-size: var(--body-large);
}

/* Estilos para la sección de objetivo */
.objective-section {
    position: relative;
    padding: 80px 0;
  }
  
  .objective-container {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 544px; /* Altura de la imagen */
  }
  
  /* Imagen */
  .objective-image {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 526px;
    height: 544px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
  }
  
  .objective-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Contenido */
  .objective-content {
    width: 100%; /* Ocupará todo el ancho disponible */
    margin-left: auto; /* Empuja hacia la derecha */
    background-color: #0c4d8a;
    color: white;
    padding: 40px 40px 40px 600px; /* Padding izquierdo amplio para dar espacio a la imagen */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 488px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* Resto del CSS igual */
  
  /* Estilos de texto */
  .objective-content .overline-s {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 600;
    color: white;
  }
  
  .objective-content .h3 {
    font-size: 28px;
    margin: 10px 0 20px;
    color: white;
  }
  
  .objective-content .body-large {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  /* Detalles del programa */
  .program-details {
    margin-top: 30px;
  }
  
  .detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .detail-icon {
    margin-right: 15px;
    color: white;
    width: 20px;
    text-align: center;
  }

  .detail-text .body {
    margin: 0;
    font-size: 15px;
  }
  
  .detail-text strong {
    font-weight: 600;
  }

.modules {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #0056b3;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.module {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.module-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.module-icon-container {
    margin-bottom: 15px;
}

.module-icon {
    font-size: 2.5rem;
    color: #0056b3;
}

.module-title {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: space-between;
}

.module h3 {
    color: #000;
    margin-bottom: 0;
    flex-grow: 1;
    text-align: center;
    font-weight: 700;
}

.module-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.module.active .module-arrow {
    transform: rotate(180deg);
}

.module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.module.active .module-content {
    max-height: 500px;
    margin-top: 20px;
}

.module ul {
    list-style-position: inside;
    margin-left: 10px;
}

.module li {
    margin-bottom: 10px;
    font-size: var(--body);
    font-weight: 600;
}

.commitment-section {
    padding: 100px 0;

}

.commitment-container {
    display: flex;
    align-items: center;
    gap: 50px;
}



.commitment-content {
    flex: 1;
}

.commitment-image {
    flex: 1;
    text-align: center;
}

.commitment-image img {
    max-width: 100%;
    height: auto;
}

.commitment-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.objectives {
    padding: 60px 0;
}

.objectives-image {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
    
  }

.objectives-image img {
    width: 100%; /* Toma el ancho completo del container */
    height: 320px; /* Puedes ajustar esta altura manualmente */
    object-fit: cover; /* Mantiene la proporción y cubre el área */
    object-position: center 30%;
    border-radius: 8px; /* Opcional: para bordes redondeados */
    
  }

.objective-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.objective-card{
    
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card-1{
    border:solid 1px #E7E7E7;
}

.card-2{
    border:solid 1px #81C4F8;  
}

.objective-card h3 {
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
}

.testimonials {
    padding: 60px 0;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    flex: 1 1 300px;
    background-color: white;
    border:solid 1px #E7E7E7;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card .author {
    font-weight: bold;
    color: #0056b3;
}
.testimonial-text{
    min-height: 3.5em; 
}

.testimonial-sub-text{
    min-height: 3em; 
}

.course-includes {
    padding: 60px 0;
}

.course-includes .section-title {
    color: white;
}

.container-course{
    
    background-color: #0c4d8a;
    border-radius: 12px;
    padding: 150px 90px;
    text-align: center;
}

.includes-grid {
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.include-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.include-item:hover {
    transform: translateY(-5px);
}

.include-item i {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.include-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.include-item p {
    color: #666;
}

.e-learning {
    padding: 60px 0;
}

.e-learning-card-title{
    min-height: 3.5em; /* Ajusta este valor dependiendo del tamaño de la fuente */
}

.e-learning-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.e-learning-card {
    flex: 1 1 250px;
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact {
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.payment{
    margin-bottom: 60px;
    margin-top: 60px;
}

.payment-methods, .contact-form {
    flex: 1 1 400px;
}

.payment-methods {
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: var(--body);
    font-family: 'Open Sans', sans-serif;
}

.contact-form textarea {
    min-height: 120px;
}

footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #fff;
    font-size: var(--h4);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: var(--body);
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: var(--body-small);
}

@media (max-width: 1200px) {
    .objective-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content, .objective-container, .commitment-container {
        flex-direction: column;
    }
    
    .hero-text, .hero-image, .objective-content, 
    .commitment-content, .commitment-image {
        width: 100%;
    }
    
    .hero-image, .commitment-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .hero h1, .section-title {
        text-align: center;
    }
    
    .hero p, .objective-content p, .commitment-content p {
        text-align: center;
    }
    
    .hero .btn, .commitment-buttons {
        justify-content: center;
    }
    
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --major-headline: var(--major-headline-mobile);
        --h1: var(--h1-mobile);
        --h2: var(--h2-mobile);
        --h3: var(--h3-mobile);
        --h4: var(--h4-mobile);
        --h5: var(--h5-mobile);
        --h6: var(--h6-mobile);
        --body: var(--body-mobile);
        --body-small: var(--body-small-mobile);
        --overline-m: var(--overline-m-mobile);
        --overline-s: var(--overline-s-mobile);
        --caption: var(--caption-mobile);
    }
    
    .modules-grid, .includes-grid, .objective-cards {
        grid-template-columns: 1fr;
    }
    
    .testimonial-cards, .e-learning-cards {
        flex-direction: column;
    }
    
    .testimonial-card, .e-learning-card {
        flex: 1 1 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .commitment-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .commitment-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
