@import url('https://fonts.googleapis.com/css2?family=Kodchasan:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
}

:root {
    --bgcolor: #f4f4f4;
    --textcolor: #143737;
    --maincolor: #038C8C;
    --secondcolor: #8C0368;

    --htfont: 3rem;
    --tfont:2.5rem;
    --sbfont: 1.2rem;
    --pfont: 1rem;

    --tfamily: 'Kodchasan', sans-serif;
    --pfamily: 'Montserrat', sans-serif;
}

@keyframes to-top {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

html, body {
    background-color: var(--bgcolor);
}

main {
    height: 100vh;
}

header {
    position: fixed;
    background-color: var(--bgcolor);
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 85px;
    padding-bottom: 10px;
}

.logo img{
    width: 100px;
    height: auto;
}

.navbar {
    display: flex;
}

.navbar a {
    display: inline-block;
    margin: 0 35px;
    color: var(--maincolor);
    font-size: var(--pfont);
    transition: all 0.6s ease;
    text-transform: uppercase;
}

.navbar a:hover {
    color: var(--secondcolor);
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-right #menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 45px;
    color: var(--maincolor);
    font-size: 20px;
    transition: all 0.5s ease;
    z-index: 10001;
    display: none;
}

.ri-user-line {
    font-size: 25px;
    color: var(--maincolor);
    padding: 10px;
    border-radius: 16px;
}

.nav-right i:hover{
    color: var(--bgcolor);
    background-color: var(--maincolor);
    transition: all 0.5s ease-in-out;
}

.Highlight {
    color: var(--secondcolor);
}

section {
    padding: 35px 85px;
}

.Hero {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.Hero-inner {
    display: flex;
    gap: 10px;
    margin-top: 2px;
}

.Hero-CTA {
    width: 650px;
    align-self: center;
}

h1 {
    line-height: 52px;
    font-family: var(--tfamily);
    font-size: var(--htfont);
    color: var(--maincolor);
    margin-bottom: 25px;
}

h2 {
    line-height: 52px;
    font-family: var(--tfamily);
    font-size: var(--tfont);
    color: var(--maincolor);
    margin-bottom: 25px;
}

h5 {
    line-height: 30px;
    font-size: var(--sbfont);
    margin-bottom: 25px;
}

p {
    line-height: 25px;
    font-size: var(--pfont);
}

.Hero-list {
    line-height: 28px;
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.Hero-list i {
    color: var(--maincolor);
    width: 18px;
    height: 18px;
}

.btn {
    font-weight: bold;
    display: inline-block;
    padding: 10px 40px;
    background: var(--secondcolor);
    color: var(--bgcolor);
    border-radius: 16px;
    font-size: var(--pfont);
    transition: all 0.5s ease;
}

.btn:hover {
    background: var(--bgcolor);
    color: var(--secondcolor);
}

.Hero-img {
    width: calc(100% - 20px);
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.Hero-img img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.S-title{
    align-items: center;
    align-content: center;
    text-align: center;
}

.banner-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: active;
    width: 800px;
}

.slider {
    display: flex;
    overflow: hidden;
    width: 100%;;
    border-radius: 16px;
    scroll-behavior: smooth;
}

.slides {
    display: flex;
    width: max-content;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 800px;
    height: auto;
}

.control {
    position: absolute;
    background-color: var(--secondcolor);
    color: var(--bgcolor);
    cursor: pointer;
    object-fit: cover;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: 10;
}

.control.prev {
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
}

.control.prev:hover {
    transform: scale(1.1) translate(-50%, -50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.236);
}

.control.next {
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
}

.control.next:hover {
    transform: scale(1.1) translate(50%, -50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.236);
}

/* Calendar */
.calendar {
    height: max-content;
    width: max-content;
    background-color: var(--textcolor);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.calendar-title {
    text-align: center;
    padding: 10px;
    color: var(--maincolor);
    font-family: var(--tfamily);
    font-size: 1.7rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    color: var(--bgcolor);
    padding: 10px;
}

.calendar-body {
    padding: 10px;
}

.calendar-week-day {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-week-day div {
    display: grid;
    place-content: center;
    color: var(--bgcolor);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    color: var(--bgcolor);
}

.calendar-days div {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    position: relative;
    cursor: default;
    animation: to-top 1s forwards;
}

.month-picker {
    padding: 5px 10px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.month-picker:hover {
    background-color: var(--maincolor);
}

.year-picker {
    display: flex;
    align-items: center;
}

.year-change {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.year-change:hover {
    background-color: var(--maincolor);
}

.calendar-days div.current-date {
    background-color: var(--maincolor);
    color: var(--bgcolor);
    border-radius: 50%;
}

.calendar-days div.current-date span {
    display: none;
}

.month-list {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--textcolor);
    padding: 20px;
    color: var(--bgcolor);
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 5px;
    transform: scale(1.5);
    visibility: hidden;
    pointer-events: none;
}

.month-list.show {
    transform: scale(1);
    visibility: visible;
    pointer-events: visible;
    transition: all 0.2s ease-in-out;
}

.month-list > div {
    display: grid;
    place-items: center;
}

.month-list > div > div {
    width: 100%;
    padding: 5px 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.month-list > div > div:hover {
    background-color: var(--maincolor);
}

.calendar-footer {
    padding: 10px;
}

.date {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 10fr;
    column-gap: 0.5px;
}

.active-icon {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondcolor);
}

.date p{
    font-size: 1rem;
    color: var(--bgcolor);
}

.ProS-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.WhyUs-CTA {
    display: flex;
    width: 100%;
    align-self: center;
    align-items: center;
    gap: 20px;
}

.WhyUs-img {
    width: calc(100% - 70%);
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.WhyUs-img img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.fixed-footer{
    display: grid;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
}

/* Footer */
footer{
    width: 100%;
    height: fit-content;
    padding: 35px 85px;
    padding-bottom: 1%;
}

.Footer-content {
    display: inline;
}

.Footer-media {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.Footer-media img {
    width: 150px;
    height: auto;
}

.Icons {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 10px;
}

.Icons i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--maincolor);
    font-size: 25px;
}

.Footer-info {
    display: flex;
    margin-top: 20px;
}

.Footer-info p {
    font-size: 1rem;
    color: var(--maincolor);
}

.Footer-line {
    width: 100%;
    height: 2px;
    background-color: var(--maincolor);
    margin: 10px 0px;
}

.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}


.parallax-container video {
    width: 100%;
    height: 120vh; /* Ajusta según el tamaño de la pantalla */
    object-fit: cover;
}

.Banner {
    display: flex;
    align-items: center;
    margin-top: 30%;
    width: 100%;
    height: 100%;
}

.Banner-Programs {
    display: flex;
    align-items: center;
    margin-top: 30%;
}

.Banner-content {
    width: 100%;
    height: 100%;
}

.Banner-txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    width: 100%;
    height: 100%;
}

.Banner-txt h1 {
    color: var(--maincolor);
    font-size: var(--tfont);
    margin-bottom: 5px;
}

.Banner-txt h5 {
    color: var(--textcolor);
    font-size: var(--sbfont);
}

.Program-title {
    margin-bottom: 15px;
}

.Program-title h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.Programs-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}

.Programs-text {
    align-items: center;
}

.Programs-img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.Programs-img img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.AboutUs {
    align-items: center;
    margin-top: 50px;
}

.Us-Phy {
    width: 80%;
}

.Us-Phy h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.Us-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.Us-img {
    width: 70%;
    height: 100%;
    object-fit: cover;
}

.Us-img img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* Contact Form */ 
.form-container {
    width: 100%;
    background: var(--bgcolor);
    border: 2px solid transparent;
    padding: 32px 24px;
    font-size: 14px;
    font-family: inherit;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    border-radius: 16px;
}

.form-container button:active {
    scale: 0.95;
}

.form-container .form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-container .form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.form-container .form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--secondcolor);
    font-weight: 600;
    font-size: 12px;
}

.form-container .form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    background-color: transparent;
    border: 1px solid var(--maincolor);
}

.form-container .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    resize: none;
    height: 150px;
    border: 1px solid var(--maincolor);
    background-color: transparent;
    font-family: inherit;
}

.form-container .form-group input::placeholder {
    opacity: 0.5;
}

.form-container .form-group input:focus {
    outline: none;
    border-color: var(--secondcolor);
}

.form-container .form-group textarea:focus {
    outline: none;
    border-color: var(--secondcolor);
}

.form-container .form-submit-btn {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-self: flex-start;
    font-family: inherit;
    color: var(--bgcolor);
    font-weight: 600;
    width: 40%;
    background: var(--secondcolor);
    border: none;
    padding: 12px 16px;
    font-size: inherit;
    gap: 8px;
    margin-top: 8px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.5s ease;
}

.form-container .form-submit-btn:hover {
    background-color: var(--bgcolor);
    color: var(--secondcolor);
}

/* Join Us Form */ 
.joinus-form-container {
    position: relative;
    left: 50%;
    top: 50%;
    width: 40vw;
    transform: translate(-50%, -50%);
    background: var(--bgcolor);
    border: 2px solid transparent;
    padding: 32px 24px;
    font-size: 14px;
    font-family: inherit;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    border-radius: 16px;
}

.joinus-form-container button:active {
    scale: 0.95;
}

.joinus-form-container .form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.joinus-form-container .form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.joinus-form-container .form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--secondcolor);
    font-weight: 600;
    font-size: 12px;
}

.joinus-form-container .form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    background-color: transparent;
    border: 1px solid var(--maincolor);
}

.joinus-form-container select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    background-color: transparent;
    border: 1px solid var(--maincolor);
}

.joinus-form-container select option {
    background-color: var(--bgcolor);
    color: var(--textcolor);
    padding: 12px 16px;
    border-radius: 8px;
}

.joinus-form-container select:focus{
    outline: none;
    border-color: var(--secondcolor);
}

.joinus-form-container .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    resize: none;
    height: 100px;
    border: 1px solid var(--maincolor);
    background-color: transparent;
    font-family: inherit;
}

.joinus-form-container .form-group input::placeholder {
    opacity: 0.5;
}

.joinus-form-container .form-group input:focus {
    outline: none;
    border-color: var(--secondcolor);
}

.joinus-form-container .form-group textarea:focus {
    outline: none;
    border-color: var(--secondcolor);
}

.joinus-form-container .form-submit-btn {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-self: flex-start;
    font-family: inherit;
    color: var(--bgcolor);
    font-weight: 600;
    width: 40%;
    background: var(--secondcolor);
    border: none;
    padding: 12px 16px;
    font-size: inherit;
    gap: 8px;
    margin-top: 8px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.5s ease;
}

.joinus-form-container .form-submit-btn:hover {
    background-color: var(--bgcolor);
    color: var(--secondcolor);
}

.contact {
    align-items: center;
    margin-top: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-data {
    position: relative;
    width: 100%;
    align-items: center;
    margin-top: 0px;;
}

.contact-text p {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 15px;
}

.ben-content {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

.ben-txt {
    display: inline;
    align-items: center;
}

.ben-txt h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    justify-self: center;
}

.ben-img {
    width: calc(100% - 50%);
    height: auto;
    object-fit: cover;
}

.ben-img img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.general-info {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center
}

.block-title {
    display: flex;
    padding: 10px 160px;
    background-color: var(--bgcolor);
    border-radius: 16px;
    border: solid 2px var(--maincolor);
    color: var(--maincolor);
    justify-content: center;
}

.block-title p {
    font-size: 1.2rem;
    line-height: 30px;
}

.block-txt {
    display: flex;
    padding: 15px 175px;
    border-radius: 16px;
    justify-content: center;
}

.general-plan {
    display: flex;
    gap: 100px;
    justify-content: center;
}

.plan-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.plan-content strong {
    font-weight: 550;
}

.plan-content ul {
    margin-bottom: 10px;
}

.plan-content ul li {
    list-style: disc;
    margin-left: 20px;
}

.certificates {
    display: flex;
    gap: 25px;
    align-items: center;
}

.certificates p {
    font-size: 1.3rem;
    line-height: 30px;
}

.certificates img {
    width: 250px;
    height: auto;
}

/* Postgrade menu */
.plan-menu {
    justify-content: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    display: flex;
    background-color: var(--secondcolor);
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.236);
}

.card-title {
    font-size: 1.2rem;
    color: var(--bgcolor);
}

.card h2 {
    font-family: var(--pfamily );
    margin-bottom: 0;
    text-align: center;
}

.details {
    margin-top: 25px;
    padding: 20px;
    background-color: var(--bgcolor);
}

.hidden {
    display: none;
}

.details-title {
    font-family: var(--pfamily);
    justify-self: center;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: center;
}

.details-grid div {
    display: flex;
    line-height: 25px;
    font-size: var(--sbfont);
    color: var(--textcolor);
    background-color: #e3e3e3;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.finalCTA-img {
    width: calc(100% - 10%);
    height: auto;
    object-fit: cover;
}

.finalCTA-img img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.finalCTA-txt {
    margin-bottom: 25px;
    max-width: 1000px;
}

.finalCTA-txt p {
    font-size: 1.1rem;
    line-height: 30px;
}

.hero2{
    background-color: var(--maincolor);
    position: relative;
    width: 100vw;
    height: 100vh;
}

/* Login */
.login-form-container {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    border-radius: 16px;
    background-color: var(--maincolor);
    padding: 2rem;
    color: var(--bgcolor);
}

.title {
    text-align: center;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}

.form {
    margin-top: 1.5rem;
}

.input-group {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.input-group label {
    display: block;
    color: var(--bgcolor);
    margin-bottom: 4px;
}

.input-group input {
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid var(--maincolor);
    outline: 0;
    background-color: var(--bgcolor);
    padding: 0.75rem 1rem;
    color: var(var(--textcolor));
}

.input-group input:focus {
    border-color: var(--bgcolor);
}

.forgot {
    display: flex;
    justify-content: flex-end;
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(255, 255, 255);
    margin: 8px 0 14px 0;
}

.forgot a,.signup a {
    color: rgba(243, 244, 246, 1);
    text-decoration: none;
    font-size: 14px;
}

.forgot a:hover, .signup a:hover {
    text-decoration: underline var(--bgcolor);
}

.sign {
    display: block;
    width: 100%;
    background-color: var(--secondcolor);
    padding: 0.75rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--bgcolor);
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sign:hover {
    background-color: var(--bgcolor);
    color: var(--secondcolor);
}

.social-message {
    display: flex;
    align-items: center;
    padding-top: 1rem;
}

.line {
    height: 1px;
    flex: 1 1 0%;
    background-color: var(--bgcolor);
}

.social-message .message {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(197, 197, 197);
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons .icon {
    border-radius: 0.125rem;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--secondcolor);
    margin-bottom: 10px;
}

.social-icons .icon:hover {
    background-color: var(--bgcolor);
    color: var(--secondcolor);
    transition: all 0.3s ease;
}

.social-icons .icon svg {
    height: 1.25rem;
    width: 1.25rem;
    fill: var(--bgcolor);
}

.social-icons .icon:hover svg {
    fill: var(--secondcolor);
    transition: all 0.3s ease;
}

.signup {
    text-align: center;
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(197, 197, 197);
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 20px;
        padding-bottom: 10px;
    }

    .navbar {
        display: none; /* Ocultamos la barra de navegación */
        width: 100%;
        text-align: center;
        position: absolute;
        top: 50px; /* Ajusta según el tamaño del header */
        left: 0;
        background-color: var(--bgcolor);
        padding: 5px 0px;
    }

    .navbar.active {
        display: block; /* Mostramos la barra cuando está activa */
    }

    .navbar a {
        display: block;
        margin: 20px 0;
    }

    /* Mostramos el ícono del menú solo en móviles */
    .nav-right #menu-toggle {
        display: flex;
    }

    .nav-right i:hover{
        color: var(--maincolor);
        background-color: var(--bgcolor);
    }

    /* Logo siempre visible en móviles */
    .logo img {
        width: 80px;
    }

    .ri-user-line {
        font-size: 20px;
    }

    section {
        padding: 20px 20px;
    }

    .Hero {
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    .Hero .Hero-list {
        justify-content: center;
    }

    .Hero h1 {
        line-height: 35px;
    }

    .Hero-inner {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .Hero-CTA {
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .Hero-txt {
        position: relative;
        top: 15%;
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
        z-index: 1;
    }

    .Hero-list {
        width: 100%;
        height: auto;
        text-align: left;
        align-items: center;
        margin-bottom: 10px;
    }

    ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .Hero-list li {
        width: 100%;
        height: 35px;
        display: flex;
        align-items: center;
        font-size: 0.8rem;
        line-height: 20px;
    }

    .Hero-list li i {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.8rem;
        line-height: 45px;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 1.2rem;
        line-height: 30px;
        margin-bottom: 8px;
    }

    h5 {
        font-size: 0.9rem;
        line-height: 25px;
        margin-bottom: 10px;
    }

    p {
        font-size: 0.8rem;
        line-height: 20px;
        margin-bottom: 10px;
    }


    .btn {
        font-size: 0.8rem;
    }

    .WhyUs-CTA {
        display: flex;
        flex-direction: column;
    }

    .WhyUs-img {
        width: calc(100% - 20px);
        height: auto;
    }

    main {
        height: 100%;
    }

    footer {
        padding: 20px 20px;
    }

    .Footer-media img {
        width: calc(100% - 75%);
    }

    .Icons i {
        font-size: 25px;
    }

    .Footer-info {
        margin-top: 10px;
    }

    .Footer-info p {
        font-size: 0.8rem;
    }

    .Programs {
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    .ProS-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    .banner-container {
        width: 100%;
    }

    .control {
        padding: 5px;
    }

    .slides {
        width: max-content;
        height: auto;
        flex: 100%;
    }

    .slides img {
        width: 100%;
        height: auto;
    }

    .calendar {
        width: 100%;
        height: auto;
    }

    .calendar-title {
        font-size: 1.2rem;
    }

    .calendar-header {
        font-size: 1rem;
    }

    .calendar-body {
        padding: 5px;
        font-size: 0.8rem;
    }

    .calendar-days div{
        width: 100%;
        height: 40px;
    }

    .Dipl-date p {
        font-size: 1rem;
        margin-bottom: 0px;
    }

    .Banner-Programs {
        margin-top: 55%;
    }

    .parallax-container video {
        height: 40vh;
    }

    .Banner {
        width: 100%;
        height: auto;
        margin-top: 50%;
    }

    .Banner-content {
        position: relative;
        width: 100%;
        height: auto;
    }

    .Banner-txt {
        width: 100%;
        height: auto;
    }

    .Banner-txt h1 {
        font-size: 1.8rem;
        line-height: 35px;
        margin-bottom: 5px;
    }

    .Banner-txt h5 {
        font-size: 0.9rem;
        line-height: 25px;
        margin-bottom: 10px;
    }

    .Program-title h2 {
        font-size: 1.2rem;
        line-height: 25px;
        margin-bottom: 8px;
    }

    .Programs-content {
        display: flex;
        flex-direction: column-reverse;
    }

    .ben-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: center;
    }

    .ben-img {
        width: 100%;
        height: auto;
    }

    .ben-txt h2 {
        font-size: 1.2rem;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .ben-info {
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .general-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .block {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .block-title {
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 5px;
        border-radius: 10px;
    }

    .block-title p {
        font-size: 1rem;
        line-height: 25px;
        margin-bottom: 0;
    }

    .block-txt {
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 5px;
        border-radius: 10px;
    }

    .block-txt p {
        margin-bottom: 0;
    }

    .plan-menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .details {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        margin-top: 15px;
    }

    .details-title {
        font-size: 1.2rem;
        line-height: 30px;
        margin-bottom: 8px;
        align-items: center;
        text-align: center;
    }

    .details-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .details-grid div {
        width: 100%;
        font-size: 1rem;
    }

    .study-plan {
        width: 100%;
    }

    .general-plan {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .plan-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .plan-content ul {
        align-items: flex-start;
        font-size: 0.9rem;
    }

    .certificates {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .certificates p {
        font-size: 1rem;
        line-height: 25px;
        margin-bottom: 0;
    }

    .finalCTA-txt {
        margin-bottom: 10px;
    }

    .finalCTA-txt p {
        font-size: 1rem;
        line-height: 25px;
        margin-bottom: 10px;
    }

    .finalCTA-img {
        width: 100%;
        height: auto;
    }

    .Us-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .Us-Phy {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .Us-Phy h2 {
        font-size: 1.2rem;
        line-height: 30px;
        margin-bottom: 4px;
    }

    .Us-img {
        width: 100%;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .form-container {
        width: 100%;
        padding: 0;
    }

    .joinus-form-container {
        left: 50%;
        top: 45%;
        width: 90vw;
    }
}

@media (min-width: 768px) and (max-width: 962px) {
    header {
        padding: 10px 20px;
        padding-bottom: 10px;
    }

    .navbar {
        display: none; /* Ocultamos la barra de navegación */
        width: 100%;
        text-align: center;
        position: absolute;
        top: 50px; /* Ajusta según el tamaño del header */
        left: 0;
        background-color: var(--bgcolor);
        padding: 5px 0px;
    }

    .navbar.active {
        display: block; /* Mostramos la barra cuando está activa */
    }

    .navbar a {
        display: block;
        margin: 20px 0;
    }

    /* Mostramos el ícono del menú solo en móviles */
    .nav-right #menu-toggle {
        display: flex;
    }
    
    .nav-right i:hover{
        color: var(--maincolor);
        background-color: var(--bgcolor);
    }
    
    /* Logo siempre visible en móviles */
    .logo img {
        width: 90px;
    }

    section {
        padding: 20px 35px;
    }

    .Hero {
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    .Hero .Hero-list {
        justify-content: center;
    }

    .Hero .Hero-list li {
        height: 30px;
    }

    .Hero h1 {
        line-height: 35px;
    }

    .Hero-inner {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .Hero-CTA {
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .Hero-txt {
        position: relative;
        top: 15%;
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
        z-index: 1;
    }

    .Hero-list {
        width: 100%;
        height: auto;
        text-align: left;
        align-items: center;
        margin-bottom: 10px;
    }

    ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .Hero-list li {
        width: 100%;
        height: 45px;
        display: flex;
        align-items: center;
        font-size: 0.9rem;
        line-height: 20px;
    }

    .Hero-list li i {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 2.2rem;
        line-height: 50px;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 40px;
        margin-bottom: 10px;
    }

    h5 {
        font-size: 1.1rem;
        line-height: 30px;
        margin-bottom: 10px;
    }

    p {
        font-size: 1rem;
        line-height: 25px;
        margin-bottom: 10px;
    }

    .btn {
        font-size: 0.9rem;
    }

    .WhyUs-CTA {
        display: flex;
    }

    .WhyUs-img {
        width: calc(100% - 20px);
        height: auto;
    }

    footer {
        padding: 20px 20px;
    }

    .Footer-media img {
        width: calc(100% - 80%);
    }

    .Icons i {
        font-size: 25px;
    }

    .Footer-info {
        margin-top: 10px;
    }

    .Footer-info p {
        font-size: 0.8rem;
    }

    .Programs {
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    .ProS-content {
        display: flex;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    .banner-container {
        width: 60%;
    }

    .control {
        padding: 10px;
    }

    .control.prev {
        left: 0.8%;
    }

    .control.next {
        right: 0.8%;
    }

    .slides {
        width: max-content;
        height: auto;
    }

    .slides img {
        width: 100%;
        height: auto;
    }

    .calendar {
        width: 100%;
        height: max-content;
    }

    .calendar-title {
        font-size: 1.5rem;
        padding: 0;
    }

    .calendar-header {
        font-size: 1rem;
        padding: 5px;
    }

    .calendar-body {
        padding: 5px;
        font-size: 0.8rem;
    }

    .calendar-days div{
        width: 100%;
        height: 30px;
    }

    .date {
        gap: 10px;
    }

    .Dipl-date p {
        font-size: 0.8rem;
        margin-bottom: 0px;
    }

    .Banner-Ozono {
        margin-top: 30%;
    }

    .parallax-container video {
        height: 40vh;
    }

    .Banner {
        width: 100%;
        height: auto;
        margin-top: 30%;
    }

    .Banner-content {
        position: relative;
        width: 100%;
        height: auto;
    }

    .Banner-txt {
        width: 500px;
        height: auto;
    }

    .Banner-txt h1 {
        font-size: 1.8rem;
        line-height: 35px;
        margin-bottom: 5px;
    }

    .Banner-txt h5 {
        font-size: 1rem;
        line-height: 25px;
        margin-bottom: 10px;
    }

    .Program-title h2 {
        font-size: 1.8rem;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .Programs-content {
        display: flex;
    }

    .Programs-img {
        width: 100%;
    }

    .Programs-img img {
        width: 294.25px;
        height: auto;
    }

    .Programs-text .Hero-list li {
        height: 30px;
    }

    .ben-content {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: center;
    }

    .ben-img {
        width: 100%;
        height: auto;
    }

    .ben-txt h2 {
        font-size: 1.2rem;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .ben-info {
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .general-info {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .block {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .block-title {
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 5px;
        border-radius: 12px;
    }

    .block-title p {
        font-size: 1rem;
        line-height: 25px;
        margin-bottom: 0;
    }

    .block-txt {
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: 5px;
        border-radius: 10px;
    }

    .block-txt p {
        margin-bottom: 0;
    }

    .plan-menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .grid {
        width: 100%;
    }

    .details {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        margin-top: 15px;
    }

    .details-title {
        font-size: 1.2rem;
        line-height: 30px;
        margin-bottom: 8px;
        align-items: center;
        text-align: center;
    }

    .details-grid {
        width: 100%;
        justify-content: center;
    }

    .details-grid div {
        height: 125px;
    }

    .details-grid div {
        width: 100%;
        font-size: 1rem;
    }

    .study-plan {
        width: 100%;
    }

    .general-plan {
        width: 80%;
        display: flex;
        gap: 60px;
        justify-self: center;
    }

    .plan-content {
        width: max-content;
    }

    .plan-content ul {
        align-items: flex-start;
        font-size: 0.9rem;
    }

    .certificates {
        width: 100%;
        display: flex;
        gap: 10px;
    }

    .certificates img {
        width: 25%;
        height: auto;
    }

    .certificates p {
        font-size: 1rem;
        line-height: 25px;
        margin-bottom: 0;
    }

    .finalCTA-txt {
        margin-bottom: 10px;
    }

    .finalCTA-txt p {
        font-size: 1rem;
        line-height: 25px;
        margin-bottom: 10px;
    }

    .finalCTA-img {
        width: 100%;
        height: auto;
    }

    .Us-content {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .Us-Phy {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .Us-Phy h2 {
        font-size: 1.2rem;
        line-height: 30px;
        margin-bottom: 4px;
    }

    .Us-img {
        width: 100%;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .form-container {
        width: 100%;
        padding: 0;
    }
}

@media (min-width: 1920px) {
    section {
        padding: 20px 280px;
    }

    .Banner {
        margin-top: 25%;
    }
}