* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.6), rgba(4, 9, 30, 0.6)), url(images/back12.png);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

nav {
    display: flex;
    padding: 2% 4%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 135px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #DEF2F1;
    text-decoration: none;
    font-size: 15px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #DEF2F1;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

nav .fa {
    display: none;
}

.text-box {
    width: 100%;
    color: #DEF2F1;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.social-media a {
    color: #DEF2F1;
    font-size: 30px;
    padding: 20px;
}

.social-media a:hover{
    color: #FFFFFF
}

.text-box h1 {
    font-size: 50px;
}

.text-box p {
    margin: 30px 0 30px;
    font-size: 15px;
    color: #DEF2F1;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #DEF2F1;
    border: 1px solid #3AAFA9;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 1s;
}

.hero-btn:hover {
    border: 1px solid #3AAFA9;
    background: #3AAFA9;
}

@media (max-width: 700px) {
    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: fixed;
        background: #3AAFA9;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }

    .nav-links ul {
        padding: 30px;
    }

    nav .fa {
        display: block;
        color: #DEF2F1;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .text-box h1 {
        font-size: 20px;
    }
}

/*----------Niveles Educativos --------*/

.niveles {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    color: #3AAFA9;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    color: #17252A;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.niveles-col {
    flex-basis: 24%;
    background: #DEF2F1;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 5px 5px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    font-size: 15px;
}

.niveles-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

@media (max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

/*---------- Fundamentos de Estudiantes ------------*/

.plan {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    color: #3AAFA9;
}

.plan-col {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.plan-col img {
    width: 100%;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transition: 0.5s;
}

.layer:hover {
    background: rgba(58, 175, 169, 0.5);
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #FEFFFF;
    font-size: 20px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
}

/*-------------- Servicios ----------------*/

.servicios {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    color: #3AAFA9;
}

.servicios-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.servicios-col img {
    width: 100%;
    border-radius: 10px;
}

.servicios-col p {
    padding: 0;
}

.servicios-col h3 {
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*---------------- testimonials ------------------*/

.testimonials {
    width: 80%;
    margin: auto;
    padding-top: 50px;
    text-align: center;
    color: #3AAFA9;
}

.testimonial-col {
    flex-basis: 41%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #DEF2F1;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonial-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonial-col p {
    padding: 0;
}

.testimonial-col h3 {
    margin-top: 15px;
    text-align: left;
}

.testimonial-col .fa {
    color: #2B7A78;
}

@media (max-width: 700px) {
    .testimonial-col img {
        margin-left: 0px;
        margin-right: 15px;
    }
}

/*-------- Call To Action ----------*/

.cta {
    margin: 50px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/undo.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.cta h1 {
    color: #DEF2F1;
    margin-bottom: 70px;
    padding: 10px;
}

@media (max-width: 700px) {
    .cta h1 {
        font-size: 24px;
    }
}

/*--------------Footer---------------*/

.footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.footer h4 {
    margin-bottom: 20px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 15px;
    padding: 20px;
}

.icons .fa {
    color: #3AAFA9;
    margin: 0 20px;
    cursor: pointer;
    padding: 20px 0;
}

.fa-heart-o {
    color: #3AAFA9;
}

.footer-link {
    text-decoration: none;
    color: #777;
    text-align: center;
}

/*---------------Sobre Mi --------------*/

.sub-header {
    height: 75vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.6), rgba(4, 9, 30, 0.6)), url(images/newhead.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #DEF2F1;
}

.sub-header h1 {
    margin-top: 30px;
}

.about {
    width: 85%;
    margin: auto;
    padding-top: 40px;
    padding-bottom: 50px;
    color: #3AAFA9;
}

.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col h1 {
    padding-top: 0;
}

.about-col p {
    padding: 15px 0 25px;
}

.hero-btn.red-btn {
    border: 1px solid #3AAFA9;
    background: transparent;
    color: #3AAFA9;
}

.hero-btn.red-btn:hover {
    border: 1px solid #3AAFA9;
    background: #3AAFA9;
    color: #FEFFFF;
}

.hero-btn.red-btn::after {
    background: #3AAFA9;
}

.hero-btn.red-btn::before {
    background: #3AAFA9;
}

.content-image {
    flex-basis: 100%;
}

.about-col img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    padding: 10px 0;
    display: flex;
}

@media (min-width: 600px) {
    .content-image {
        flex-basis: 50%;
        box-sizing: border-box;
        padding: 10px;
    }

    .about-col {
        display: block;
        flex-wrap: wrap;
    }
}

/*---- contact ----*/

.contact-us .container {
    max-width: 800px;
    margin: auto;
    padding: 40px;
}

.contact-us h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.contact-us p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: #333;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #3AAFA9;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
}

.show-more {
    display: block;
    background: #17252a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
}

.additional-fields {
    display: none;
    margin-top: 10px;
}

.show-more-checkbox:checked + .additional-fields {
    display: block;
}

.submit-btn {
    background: #3AAFA9;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}


/*----Donate Section-----*/

.buy-button-section,
.calendly-section,
.footer {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
}

.buy-button-section {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ffffff;
    margin: 20px;
}

.buy-button-section h2,
.calendly-section h2 {
    color: #3aafa9;
    margin-bottom: 20px;
}

.buy-button-section p,
.calendly-section p {
    color: #555;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.calendly-section {
    padding: 20px 60px;
}

.calendly-inline-widget {
    border: 0px solid #3aafa9;
    border-radius: 10px;
    overflow: hidden;
}

.buy-button-section h2,
.calendly-section h2 {
    color: #3aafa9;
    margin-bottom: 10px;
}

.buy-button-section p,
.calendly-section p {
    color: #555;
    margin-bottom: 40px;
    font-size: 1.1em;
}

/*---------- Blog Page -------------*/

.blog-content {
    width: 80%;
    margin: auto;
    padding: 30px 0;
}

.blog-left {
    flex-basis: 65%;
}

.blog-right {
    flex-basis: 32%;
}

.blog-left img {
    width: 100%;
}

.blog-left h2 {
    color: #3AAFA9;
    font-weight: 600;
    margin: 30px 0;
}

.blog-left p {
    color: #17252A;
    padding: 0;
}

.blog-right h3 {
    background: #3AAFA9;
    color: #FEFFFF;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}

.blog-right div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

/*---------- Recursos -------------*/

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #FEFFFF;
    color: #17252A;
}

.recursos {
    background-color: #FEFFFF;
    margin: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.recursos h1 {
    color: #3AAFA9;
    text-align: center;
    margin-bottom: 20px;
}

.resource-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.resource-section,
.video,
.faq-section {
    padding: 5px;
    margin: 10px 0;
}

.resource-section h3,
.video h1,
.faq-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.resource {
    background: #DEF2F1;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
}

.resource h3 a {
    color: #3AAFA9;
    text-decoration: none;
}

.resource p,
.faq-section details p {
    font-size: 14px;
    line-height: 1.5;
}

.faq-section details {
    background: #DEF2F1;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

details summary {
    font-weight: bold;
    cursor: pointer;
}

.video {
    position: relative;
    background-color: #DEF2F1;
    padding: 5px;
    margin: 20px;
    max-width: 10000px;
    border-radius: 20px;
}

.video h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.video iframe {
    display: block;
    width: 100%;
    max-width: 590px;
    height: 400px;
    border: 0;
    margin: 20px auto;
}

.video p {
    color: #17252A;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 20px;
    text-align: justify;
}

.book {
    background: #FEFFFF;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.book h2 {
    color: #3AAFA9;
    text-align: center;
    margin-bottom: 20px;
}

.book-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.book-details {
    flex: 1;
}

.book-details p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.book .extra-image {
    max-width: 2000px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.book p {
    font-size: 14px;
    line-height: 1.5;
}

.tiktok-link {
    display: block;
    margin-top: 10px;
    color: #3AAFA9;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .book-container {
        flex-direction: column;
        text-align: center;
    }

    .book .extra-image {
        max-width: 100%;
        margin: 0 auto;
    }
}

/*---------------Becas-------------*/

.becas {
    max-width: 1000px;
    margin: 1px auto;
    padding: 40px;
    background-color: #FEFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.0);
}

.becas h1,
.becas h2 {
    color: #3AAFA9;
    text-align: center;
}

.becas p {
    padding-bottom: 20px;
    font-size: 15px;
}

.becas ul {
    list-style-type: none;
    padding: 20px;
}

.becas li {
    background-color: #DEF2F1;
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.becas li strong {
    color: #3AAFA9;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.beca-col {
    flex-basis: 31%;
    background: #DEF2F1;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 10px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

.beca-col h3 {
    color: #3AAFA9;
    font-size: 20px;
}

iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 1%;
}

@media (max-width: 768px) {
    .becas h2 {
        font-size: 25px;
    }
}

/*---------------Niveles-------------*/

.tab {
    text-align: center;
    padding: 20px;
}

.tab button {
    background-color: #3AAFA9;
    color: white;
    padding: 20px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin: 9px 5px;
    border-radius: 10px;
    transition: background-color 0.3s;
    flex-grow: 1;
    flex: calc(25% - 20%);
}

.tab button:hover {
    background-color: #DEF2F1;
}

.tab button.active {
    background-color: #DEF2F1;
    color: #3AAFA9;
}

.tabcontent {
    display: none;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.subjects-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px 0;
}

.subject-col {
    flex: 1 1 calc(0% - 20px);
    background: #DEF2F1;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.subject-col:hover {
    transform: translateY(-5px);
}

.subject-col img {
    width: 50%;
    border-radius: 10px;
}

.subject-col h4 {
    margin-top: 16px;
    margin-bottom: 15px;
    font-size: 20px;
    color: #3AAFA9;
}

.subject-col p,
.subject-col ul {
    padding: 0;
    font-size: 16px;
    color: #555;
    text-align: left;
}

.subject-col ul {
    list-style: none;
    padding-left: 0;
}

.subject-col ul li {
    padding: 5px 0;
}

.extra-image {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

ul li {
    padding: 10px 0;
    font-size: 16px;
    color: #555;
}

ul li::before {
    content: "";
    color: #3AAFA9;
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -25px;
    margin-right: 5px;
}

@media (max-width: 1200px) {
    .subject-col {
        flex: 1 1 calc(25% - 20px);
    }
}

@media (max-width: 992px) {
    .subject-col {
        flex: 1 1 calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .subject-col {
        flex: 1 1 calc(50% - 20px);
    }

    .tab button {
        flex-basis: 100%;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .subject-col {
        flex: 1 1 100%;
    }
}

.faq-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px;
}

.faq-info details {
    background: #DEF2F1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.faq-info details:hover {
    background-color: #B2DFDB;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

details summary {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    outline: none;
    list-style: none;
}

details summary:hover {
    color: #3AAFA9;
}

details[open] summary {
    color: #3AAFA9;
}

.faq-info details p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

details summary::marker {
    display: none;
}

/*----new----*/

section.universidad {
    padding: 20px;
    background-color: #FEFFFF;
    border-radius: 10px;
    max-width: 1200px;
    margin: 20px auto;
}

.uni-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.uni-section {
    flex: 1 1 calc(25% - 20px);
    background: #FFF;
    border-radius: 10px;
    padding: 10px;
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.uni-section:hover {
    transform: translateY(-5px);
}

details {
    background: #DEF2F1;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

details:hover {
    background-color: #B2DFDB;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

summary {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    outline: none;
}

summary:hover {
    color: #3AAFA9;
}

details[open] summary {
    color: #3AAFA9;
}

details p,
details ul {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

details ul {
    list-style: none;
    padding-left: 0;
}

details ul li {
    padding: 10px 0;
}

details ul li::before {
    content: "";
    color: #3AAFA9;
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -25px;
    margin-right: 5px;
}

@media (max-width: 992px) {
    .uni-section {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .uni-section {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    section.universidad {
        padding: 15px;
    }
}

