* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ********************* */
/* HEADER SECTION */
/* ********************* */

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
    padding: 0 5.2rem;
}

.header-center {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    gap: 3.6rem;
}

.home-button {
    cursor: pointer;
    text-decoration: none;
}

.home-button:link,
.home-button:visited {
    color: #33281d;
}

.home-button:hover,
.home-button:active {
    color: #b18d66;
}

.lang-btn {
    width: 3.6rem;
    height: 2.4rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.5s;
}

.lang-btn:hover {
    box-shadow: 0 0 3px 1px #33281d;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    gap: 2rem; /* adjust spacing as you like */
}

/* MOBILE */
.btn-mobile-nav {
    border: none;
    background: none;
    cursor: pointer;
    display: none;
}

#btn-mobile-icon {
    height: 4.8rem;
    width: 4.8rem;
    color: #33281d;
}

ion-icon[name="close-outline"] {
    display: none;
}

/* ********************* */
/* STICKY NAVIGATION */
/* ********************* */

.sticky {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 999;
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

/* ********************* */
/* HERO SECTION */
/* ********************* */

.section-hero {
    padding: 5.2rem;
    margin-bottom: 4.4rem;
}

.hero {
    max-width: 120rem;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 9.6rem;
    align-items: center;
}

.hero-heading {
    font-family: "Dancing Script", "Noto Sans", sans-serif;
    line-height: 1.05;
    font-weight: 700;
    font-size: 4.4rem;
    color: #33281d;
    margin-bottom: 2.4rem;
    text-align: center;
}

.hero-heading-secondary {
    font-family: "Dancing Script", "Noto Sans", sans-serif;
    line-height: 1.6;
    font-weight: 700;
    font-size: 3rem;
    color: #33281d;
    margin-bottom: 2.4rem;
    text-align: center;
}

.hero-description {
    color: #33281d;
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.btn-container {
    margin-top: 4.4rem;
    display: flex;
    justify-content: center;
    gap: 9.8rem;
}

.hero-img {
    border-radius: 11px;
    width: 110%;

    height: auto;
    object-fit: contain;
}

/* ********************* */
/* COURSES SECTION */
/* ********************* */

.section-courses {
    padding: 3rem 5.2rem;
    margin: 6.2rem 0 4.4rem;
    background-color: #fffaf4;
}

.student-course {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    margin-top: 4.4rem;
    box-shadow: 0 2.4rem 4.8rem hsla(30, 28%, 16%, 0.15);
    border-radius: 11px;
    transition: all 0.7s;
    background-color: #fff;
}

.student-course:hover {
    transform: translateY(-0.7rem);
}

.card-text {
    padding: 0 1.6rem;
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 9; /* or 4/3, 1/1, etc. */
    overflow: hidden;

    border-radius: 11px 11px 0 0;
}

.course-description {
    font-size: 1.3rem;
    line-height: 1.6rem;
    margin-bottom: 2.4rem;
}

.course-benefits {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin-bottom: 2.4rem;
    gap: 1.2rem;
}

.course-benefit {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 1.3rem;
    line-height: 1.4rem;
}

.course-icon {
    color: #b18d66;
    height: 1.8rem;
    width: 1.8rem;
    --ionicon-stroke-width: 48px;
    flex-shrink: 0;
}

.courses-image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.btn-card {
    margin-bottom: 4.8rem;
    margin-top: auto;
}

/* ********************* */
/* ABOUT SECTION */
/* ********************* */

.section-about {
    padding: 3rem 5.2rem;
    margin: 6.2rem 0 4.4rem;
}

.about-content {
    background-color: #fffaf4;
    padding: 2.4rem;
    border-radius: 11px;
}

.about-content .subheading {
    margin-top: 2.4rem;
}

.about-text {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 1.2rem 0;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 1.4rem;
    cursor: pointer;
}

.about-images .btn {
    align-self: start;
    text-align: center;
}

.about-image {
    overflow: hidden;
}
.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s;
}

.about-image img:hover {
    transform: scale(1.1);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

/* ********************* */
/* PRICES SECTION */
/* ********************* */

.section-pricing {
    padding: 3rem 5.2rem;
    margin: 6.2rem 0 4.4rem;
}

.pricing-option {
    margin-top: 4.4rem;
    text-align: center;
    border-radius: 13px;
    width: 75%;
}

.pricing-option--first {
    justify-self: end;
    border: 2px solid #feefde;
    box-sizing: border-box;
}

.pricing-option--second {
    background-color: #feefde;
    position: relative;
    overflow: hidden;
}

.pricing-option--second--ko {
    background-color: #feefde;
    position: relative;
    overflow: hidden;
}

.pricing-option--second::after {
    top: 5%;
    right: -8%;
    content: "Best value";
    position: absolute;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    color: #33281d;
    background-color: #ffa94d;
    padding: 0.8rem 3.2rem;
    transform: rotate(45deg);
}

.pricing-option--second--ko::after {
    top: 5%;
    right: -8%;
    content: "최고의 가치";
    position: absolute;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    color: #33281d;
    background-color: #ffa94d;
    padding: 0.8rem 3.2rem;
    transform: rotate(45deg);
}

.pricing-heading {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #b18d66;
    text-transform: uppercase;
    margin: 3.6rem 0 2.4rem;
    text-align: center;
}

.pricing-details {
    font-weight: 600;
    font-size: 3rem;
    margin-bottom: 5.2rem;
}

.currency {
    font-size: 2rem;
    margin-right: 0.4rem;
}

.currency-small {
    font-size: 1.2rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.05rem; /* optional fine spacing */
}

.package-benefits {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0 0 5.2rem 6.2rem;
    gap: 3rem;
}

.package-benefit {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 1.8rem;
    line-height: 1.4;
}

.package-icon {
    color: #b18d66;
    height: 2.4rem;
    width: 2.4rem;
    --ionicon-stroke-width: 48px;
    flex-shrink: 0;
}

.btn--pricing:link,
.btn--pricing:visited {
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    padding: 1rem;
    border-radius: 9px;
    font-weight: 600;
    transition: all 0.5s;
    color: #fffaf4;
    background-color: #33281d;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn--pricing:hover,
.btn--pricing:active {
    color: #33281d;
    background-color: #fffaf4;
    box-shadow: inset 0 0 0 2px #33281d;
}

/* ********************* */
/* CTA SECTION */
/* ********************* */

.section-cta {
    margin: 0 5.4rem 5.4rem 5.4rem;
}

.cta {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background-color: #fdca91;
    border-radius: 9px;
    box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
    background-image: linear-gradient(to bottom right, #fdca91, #fedab2);
}

.cta-form *:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem hsla(31, 28%, 16%, 0.4);
}

.cta-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
    row-gap: 1.2rem;
}

.cta-textbox {
    color: #33281d;
    padding: 1.8rem;
}

.cta-textbox heading {
    display: flex;
    justify-content: center;
    text-align: center;
}

.cta .heading-secondary {
    text-align: center;
    color: #33281d;
    margin-bottom: 2rem;
    font-size: 2.4rem;
}

.cta-text {
    font-size: 1.4rem;
    line-height: 1.2rem;
    text-align: center;
    margin-bottom: 1.6rem;
}

.cta-form label {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1.4rem 0;
}

.cta-form input,
.cta-form select {
    width: 100%;
    padding: 1rem;
    font-size: 1.4rem;
    color: inherit;
    border: none;
    background-color: #fffaf4;
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-form input::placeholder {
    color: #e4b683;
}

.cta-form button {
    display: inline-block;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;

    border-radius: 9px;
    transition: all 0.5s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: #fffaf4;
    background-color: #33281d;
    align-self: end;
    padding: 1rem;
}

.cta-form button:hover {
    background-color: #fffaf4;
    color: #33281d;
    box-shadow: inset 0 0 0 1px #33281d;
}

.cta-image {
    border-radius: 0 9px 9px 0;
    background-image:
        linear-gradient(
            to right bottom,
            hsla(32, 96%, 78%, 0.349),
            hsla(32, 97%, 85%, 0.349)
        ),
        url("../img/miguel-bruna-unsplash.webp");
    background-size: cover;
    background-position: center;
}

/* ********************* */
/* FOOTER */
/* ********************* */

.footer {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 5.2rem;
    margin: 4.4rem auto;
}

.copyright {
    display: inline-block;
    color: #33281d;
    font-size: 1.8rem;
}

.contact {
    display: flex;
    flex-direction: row;
    color: #33281d;
    font-size: 1.8rem;
}

.contact-icon {
    color: #b18d66;
    height: 1.8rem;
    width: 1.8rem;
    --ionicon-stroke-width: 48px;
    flex-shrink: 0;
}

.contact-text {
    padding: 0 0 0 1rem;
}
