/* I brought font styles from fontshare.com */
/* Primary font is -->   font-family: 'Outfit', sans-serif;
 secondary font  is  --> font-family: 'Switzer', sans-serif; 
*/

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

body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;

}

:root {
    --head-font: 'Outfit', sans-serif;
    --secondary-font: 'Switzer', sans-serif;


    --color1: #202020;
    --color2: #333533;
    --color3: #f9c365;
    --color4: #ffee32;
    --color5: #fef6e4;
    --color6: #d6d6d6;


}

::selection {
    background-color: var(--color1);
    color: var(--color3);
}

::before {
    pointer-events: none;
}

/* main parent element  */
#main {
    width: 100vw;
    overflow: hidden;
    position: relative;

}


/* loading section  */
.loader {
    width: 100vw;
    height: 100vh;
    background-color: var(--color1);
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;


}

/* music bars type animation  in the loader */
.loader .bar-container {
    width: 30%;
    aspect-ratio: 2 / 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    gap: 5px
}

.bar-container .bar {
    background-color: var(--color3);
    width: calc(10% - 5px);
    height: 0%;
    transition: 500ms ease;
}

/* percentage loading in loader */
.loader .percentage {
    font-family: var(--head-font);
    font-size: 3vmax;
    position: absolute;
    bottom: 20%;
    color: var(--color3);
}

button {
    cursor: pointer;
}

/* navigation bar  */
.nav-bar {
    width: 100%;
    height: 75px;
    background-color: var(--color3);

    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

/* logo in nav bar */
.nav-left {
    width: 220px;
    height: 80px;
}

.nav-left .logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* links in nav bar  */
.nav-center {
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.nav-center .nav-links {
    width: 100%;
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.nav-links .link {
    font-family: var(--head-font);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;

}

.nav-right {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

/* signing  */
.log-in,
.sign-up {
    width: 100px;
    height: 40px;
    background-color: transparent;
    border: none;
    border-radius: 50px;

    font-family: var(--head-font);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: capitalize;
    overflow: hidden;
}

.log-in {
    border: 2px solid transparent;
}

.log-in:hover {
    color: #fff;
}

.log-in::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--color1);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 300ms ease;
}

.log-in:hover::before {
    transform: scaleY(1);
    transform-origin: bottom;
}

.sign-up {
    border: 2px solid var(--color1);
    background-color: var(--color1);
    color: #ffffff;
}

.sign-up:hover {
    color: var(--color1);
}

.sign-up::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--color3);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 300ms ease;
}

.sign-up:hover::before {
    transform: scaleY(1);
    transform-origin: bottom;
}

/* hero section  */
.hero-section {
    width: 100vw;
    height: 50vh;
    margin-top: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1%;
    background-color: var(--color3);
}

.hero-section-title {
    width: 40%;
    height: 100%;
    padding: 4%;
    flex-direction: column;
    font-family: var(--head-font);
    font-size: 5vmax;
    font-weight: 600;
    color: var(--color1);
    background-color: var(--color3);
    position: relative;



}

.hero-section-title .extra-line {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 10vmax;
    aspect-ratio: 1;
    background: url("images/fun-extras/extra\ lines\ \(1\).png");
    background-size: contain;
    background-position: center;
}

.fancy {
    font-style: italic;
    padding: 0px 10px;
    border: 2px solid var(--color1);
    border-radius: 50px;
    background-color: #000;
    color: var(--color3);
    font-weight: 400;


}

.hero-section-desc {
    width: 40%;
    height: 100%;
    padding: 4%;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    flex-direction: column;

}

.hero-section-desc p {
    width: 100%;
    font-family: var(--secondary-font);
    font-size: 1.3vmax;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color2);


}

.enroll-now {
    width: fit-content;
    height: 50px;
    padding: 0px 40px;
    border: 2px solid var(--color1);
    background-color: transparent;
    border-radius: 50px;
    font-size: 1rem;

    font-family: var(--head-font);
    font-size: 1.2vmax;
    font-weight: 500;
    letter-spacing: 1px;

}

.enroll-now i {
    font-size: 20px;
    rotate: -45deg;
}

/* hero section image  */
.hero-section-image {
    width: 100vw;
    height: 99vh;
    background-color: var(--color3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

.hero-image {
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
}

.hero-section-image .extra-shape:nth-child(1) {
    position: absolute;
    width: 40%;
    left: -15%;
    top: -20%;
    aspect-ratio: 1;
    background: url("images/fun-extras/Shape\ item\ \(2\).png");
    background-position: center;
    background-size: cover;

}

.hero-section-image .extra-shape:nth-child(2) {
    width: 40%;
    aspect-ratio: 1;
    position: absolute;
    right: -15%;
    bottom: -10%;
    background: url("images/fun-extras/Shape\ item\ \(3\).png");
    background-size: cover;
    background-position: center;
    rotate: -70deg;
}

/* highlights  */
.highlight-topics {
    width: 100vw;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
}

.highlight {
    width: 20%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.highlight-heading {
    font-family: var(--head-font);
    font-size: 4vmax;
    font-weight: 500;
    color: var(--color1);
    letter-spacing: 1px;

}

.highlight-desc {
    font-family: var(--secondary-font);
    font-size: 1.3vmax;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: capitalize;
    color: var(--color2);
}

.highlight::before {
    content: "";
    position: absolute;
    height: 20%;
    width: 100%;
    border-right: 10px solid var(--color3);
    pointer-events: none;
}

.highlight:nth-last-child(1)::before {
    pointer-events: none;
    border: none;
}


.highlight-topics .extra-line {
    position: absolute;
    top: -20%;
    left: 10%;
    rotate: 120deg;
    width: 10%;
    aspect-ratio: 1;
    background: url('images/fun-extras/extra\ lines\ \(2\).png');
    background-size: cover;
    background-position: center;
}

/* second hero section  */

.hero-section-two {
    width: 100vw;
    height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color5);

}

.hero-section-two .left {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left .hero-image-two {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
}

.hero-section-two .right {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    flex-direction: column;
    padding: 5%;
}

.right .second-title {
    font-family: var(--head-font);
    font-size: 5vmax;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color1);
}

.right .second-title .fancy {
    background-color: var(--color4);
    color: var(--color1);
}

.right .second-desc {
    width: 80%;
}

.right .second-desc p {
    font-family: var(--secondary-font);
    font-size: 1.3vmax;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color2);
    text-transform: capitalize;
}


/* features */


.feature-section {
    width: 100vw;
    height: calc(130vh - 75px);


    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    padding: 5% 15%;
    perspective: 1000px;
    perspective-origin: 50% 50%;

    position: relative;
}

.feature-section::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: var(--color3);
    filter: blur(15px);
    opacity: 0.3;
}

.feature {
    background-color: transparent;
    border-radius: 15px;
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 20px 0px #00000025;
    z-index: 3;
    padding: 5% 10%;
    transition: color 200ms ease;
    cursor: pointer;
    background-color: #fff;

}


.feature::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 75px;
    aspect-ratio: 1;
    border-radius: 50%;
    top: 20%;
    right: 50%;
    background-color: var(--color1);
    opacity: 0;
    transition: scale 1000ms ease, opacity 100ms linear;

}

.feature:hover::after {
    scale: 15;
    opacity: 1;
}

.feature-1 {
    grid-area: 1 / 1 / 2 / 3;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
}

.features-title {
    font-family: var(--head-font);
    font-size: 5vmax;
    font-weight: 600;
    position: relative;
}

.features-title .extra-line {
    width: 20%;
    aspect-ratio: 1;
    background: url("images/fun-extras/extra\ lines\ \(1\).png");
    background-size: cover;
    background-position: center;
    position: absolute;
    top: -22%;
    left: -12%;
}

.features-title .fancy {
    background-color: transparent;
    border: none;
}

.feature-1 .features-button {
    width: fit-content;
    height: 50px;
    border-radius: 50px;
    padding: 0px 30px;

    font-family: var(--head-font);
    font-size: 1.2vmax;
    font-weight: 500;
    letter-spacing: 1px;

    background-color: var(--color3);
    border: none;
}

.features-button i {
    margin-left: 10px;
    rotate: -45deg;
}

.feature:hover {

    .features-title,
    .feature-heading,
    .feature-desc {
        color: #fff;
    }

    ;

    .feature-image {
        transform: scale(120%);
    }

}

.feature:not(.feature-1) {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    flex-direction: column;
}


.feature .feature-image {
    width: 40%;
    min-width: 75px;
    aspect-ratio: 1;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 300ms ease;

}



.feature-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}


.feature .feature-heading {
    font-family: var(--head-font);
    font-size: 2vmax;
    font-weight: 500;
    color: var(--color1);
    text-transform: capitalize;

}

.feature .feature-desc {
    height: 30%;
    font-family: var(--secondary-font);
    font-size: 1.2vmax;
    color: var(--color2);
    font-weight: 400;
    text-transform: capitalize;
}

/* courses  */
.course-section {
    width: 100vw;
    height: 120vh;
    background-color: var(--color2);
    padding: 5% 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;

}

.course-section-title {
    width: 100%;
    text-align: center;
    height: fit-content;
    font-family: var(--head-font);
    font-size: 5vmax;
    color: #fff;
    font-weight: 700;
}

.course-section-title .fancy {
    background-color: transparent;
    border-color: var(--color3);
    padding: 0px 30px;

}

.course-container {
    width: 80vw;
    height: 70%;

    display: flex;
    align-items: center;
    justify-content: space-between;

}

.course {
    width: 30%;
    height: 100%;
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
    cursor: pointer;

}

.course .course-image {
    width: 100%;
    height: 50%;
    background-color: #fff;
    overflow: hidden;
}

.course-image img {
    height: 100%;
    width: 100%;
    object-position: center;
    object-fit: contain;
    transition: transform 300ms ease;
}

.course .course-details {
    width: 100%;
    height: 50%;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    position: relative;
    z-index: 5;
}

.course-details::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color1);
    z-index: -1;
    transform: scaleY(0%);
    transition: transform 300ms ease;
    transform-origin: top;

}

.course:hover {

    .review,
    .duration,
    .review-count,
    .course-heading {
        color: #fff;
    }
    .course-image img {
        transform: scale(120%);
    }
}

.course:hover > .course-details::before {
    transform-origin: bottom;
    transform: scaleY(100%);
}

.course-details .review-duration {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-duration .review,
.review-duration .duration {
    font-family: var(--head-font);
    font-weight: 500;
    transition: color 200ms ease;

}

.review .review-count {
    color: #1e1e1e;
    transition: color 200ms ease;

}

.review i,
.duration i {
    color: var(--color3)
}

.course-details .course-heading {
    width: 100%;
    height: 50%;
    font-family: var(--head-font);
    font-size: 2.2vmax;
    font-weight: 500;
    text-transform: capitalize;
    transition: color 200ms ease;

}

.course-details .view-course {
    width: fit-content;
    height: 50px;
    padding: 0px 20px;
    border-radius: 50px;
    font-family: var(--head-font);
    font-size: 1.2vmax;
    font-weight: 500;
    border: 2px solid var(--color1);
    position: relative;
    overflow: hidden;
    background-color: var(--color6);
    transition: all 300ms ease;

}

.view-course::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #000;
    transform: scaleY(0);
    transform-origin: top;
    z-index: -1;
    transition: transform 500ms ease;
}

.view-course:hover {
    color: #fff;
    background-color: transparent;
    border-color: var(--color3);

}

.view-course:hover::before {
    transform-origin: bottom;
    transform: scaleY(1);
}

/* process steps */
.process {
    width: 100vw;
    height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 30vh;

}

.process .left {
    width: 40%;
    height: 100%;
    padding: 5% 0%;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    flex-direction: column;
}

.process-title {
    font-family: var(--head-font);
    font-size: 4vmax;
    font-weight: 600;

}

.process-title .fancy {
    background-color: var(--color3);
    color: #000;
}

.process-desc {
    width: 80%;
    font-family: var(--secondary-font);
    font-size: 1.3vmax;
    font-weight: 500;
    color: var(--color2);
    text-transform: capitalize;
}

.process-steps {
    width: 100%;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.process-steps .step {
    font-family: var(--head-font);
    font-size: 1.5vmax;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    font-weight: 600;
    position: relative;
    padding: 15px 0px;
    cursor: pointer;

}

.process-steps .step i {
    height: 100%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background-color: var(--color3);
    border-radius: 50%;
    font-size: 18px;
}


.process .right {
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-image {
    height: 80%;
    aspect-ratio: 1;

}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* footer */

.footer {
    width: 100vw;
    height: 150vh;
    background-color: var(--color5);
    position: relative;
    padding-top: 40vh;

}

.footer .extra-shape:nth-child(1) {
    width: 30%;
    aspect-ratio: 1;
    background: url("images/fun-extras/Shape\ item\ \(1\).png");
    background-size: cover;
    background-position: center;
    position: absolute;
    left: -10%;
    rotate: -40deg;
}

.footer .extra-shape:nth-child(2) {
    width: 30%;
    aspect-ratio: 1;
    position: absolute;
    right: -5%;
    rotate: 210deg;
    background: url("images/fun-extras/Shape\ item\ \(4\).png");
}


/* get started  */

.get-started {
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    background-color: var(--color3);

    width: 80vw;
    height: 60vh;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

}

.get-started .left {
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.get-started .left .get-started-image {
    height: 100%;
    aspect-ratio: 1;

}

.get-started .left .get-started-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;

}


.get-started .right {
    height: 100%;
    width: 50%;
    padding: 5% 0%;
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    flex-direction: column;

}

.get-started-title {
    font-family: var(--head-font);
    font-size: 4vmax;
    font-weight: 600;
    text-transform: capitalize;

}

.get-started-desc {
    width: 80%;
    height: 20%;
    font-family: var(--secondary-font);
    font-size: 1.2vmax;
    text-transform: capitalize;
}


.order-now {
    width: fit-content;
    height: 50px;
    padding: 0px 20px;
    border: none;
    border-radius: 50px;
    background-color: var(--color1);
    color: var(--color3);
    font-family: var(--head-font);
    font-size: 1.3vmax;
}

.order-now i {
    rotate: -45deg;
    margin-left: 10px;
}

/* download in mobile section  */
.mobile-app-section {
    width: 100vw;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10%;
}

.mobile-app {
    width: 40%;
    height: fit-content;
    font-family: var(--head-font);
    font-size: 5vmax;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.mobile-app .fancy {
    background-color: var(--color3);
    color: var(--color1);
}

.download-links {
    width: 50%;
    height: fit-content;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%;
}

.play-store,
.apple-store {
    height: 70px;
    width: fit-content;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 15px;
    background-color: #000000;
    color: #ffffff;
}

.play-store i,
.apple-store i {
    margin: 0 10px;
    font-size: 40px;
}

.play-store .link,
.apple-store .link {
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    font-family: var(--head-font);
}

.play-store .link .small,
.apple-store .link .small {
    font-size: 14px;

}

.play-store .link .large,
.apple-store .link .large {
    font-size: 22px;
}




/* main footer  */
.footer-container {
    width: 85vw;
    height: 50vh;
    background-color: var(--color1);
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 50px 50px 0px 0px;

    overflow: hidden;
}

.footer-container .left {
    width: 40%;
    height: 100%;
    padding: 0px 5%;
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    flex-direction: column;
}

.footer-container .left .logo {
    width: 260px;
    height: 90px;
}

.left .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.footer-desc {
    font-family: var(--secondary-font);
    font-size: 1.2vmax;
    font-weight: 400;
    text-transform: capitalize;
}

.copy-right {
    font-family: var(--head-font);
    font-size: 1vmax;
    font-weight: 400;

    letter-spacing: 1px;
}

.footer-container .right {
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}

.footer-container .right .link-container {
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.link-container .link-set {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    text-transform: capitalize;

}

.link-set .top-link {
    font-family: var(--head-font);
    font-size: 1.6vmax;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;

}

.link-set .link {
    font-family: var(--secondary-font);
    font-size: 1vmax;
    font-weight: 400;
    color: var(--color5);
    position: relative;
    padding: 5px;
}

.link-set li::before,
.process-steps .step::before {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 3px solid var(--color3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms ease;


}

.link-set li:hover::before,
.process-steps .step:hover::before {
    transform: scaleX(1);
    transform-origin: left;

}

.footer-container .right .terms {
    width: 80%;
    text-align: right;
    font-family: var(--head-font);
    font-size: 1vmax;
    letter-spacing: 1px;
}


/* credits giving to designer and illustrations provider */
.credits {
    width: 100vw;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%;
    flex-direction: column;
    background-color: var(--color3);
}

.inspiration {
    font-family: var(--head-font);
    font-size: 1.5vmax;
    font-weight: 500;
    color: #fff;

}

.inspiration a {
    color: var(--color1);
    margin: 0 20px;
}

.illustrations {
    font-family: var(--head-font);
    font-size: 1.3vmax;
    font-weight: 400;
    color: #fff;

}

.illustrations a {
    font-weight: 500;
    margin: 0 10px;
    color: var(--color1);

}

/* Extra background images for fun animations  */

.extra-shape {
    animation: float 3s ease-in-out infinite alternate;
}

.extra-line {
    animation: shake 1s ease infinite alternate;

}

@keyframes float {
    from {
        transform: translatey(100px);
    }

    to {
        transform: translatey(0px);
    }

}

@keyframes shake {
    from {
        transform: rotate(10deg) scale(100%);
    }

    to {
        transform: rotate(-10deg) scale(110%);
    }

}

/* all link selecting */
a {
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 5px;
    z-index: 2;

}

a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 3px solid #000000;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms ease;
}

a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

button i {
    transition: all 300ms ease;
}

button:hover i {
    transform: rotate(45deg);
    margin-left: 30px;
}

/* custom scrollbar  */

::-webkit-scrollbar {
    width: 12px;
    background-color: var(--color1);
}

::-webkit-scrollbar-thumb {
    scroll-behavior: smooth;
    background-color: var(--color3);
    border-radius: 20px;
}

@media (max-width: 1024px) {
  .feature-section {
    padding: 5% 5%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
  .course-container {
    width: 95vw;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .course {
    width: 80vw;
    margin-bottom: 24px;
  }
}

@media (max-width: 800px) {
  .nav-bar {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }
  .nav-left {
    margin-bottom: 10px;
  }
  .hero-section {
    flex-direction: column;
    height: auto;
    padding: 30px 0;
    gap: 20px;
  }
  .hero-section-title, .hero-section-desc {
    width: 100vw !important;
    max-width: 100vw;
    font-size: 2rem !important;
    padding: 4vw 2vw 2vw 2vw !important;
    text-align: center;
    margin: 0 auto;
    line-height: 1.2;
  }
  .hero-section-title h1 {
    font-size: 2.2rem !important;
    line-height: 1.2;
    text-align: center;
    margin: 0 auto;
  }
  .hero-section-image {
    height: 50vw;
    min-height: 220px;
  }
  .highlight-topics {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 20px 0;
  }
  .highlight {
    width: 90vw;
    height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }
  .feature-section {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 20px;
    padding: 5% 2%;
  }
  .feature {
    padding: 6% 6%;
  }
  .course-section {
    height: auto;
    padding: 8% 0;
  }
  .course-section-title {
    font-size: 2.5rem;
  }
  .course {
    width: 95vw;
    margin-bottom: 18px;
  }
  .process {
    flex-direction: column;
    height: auto;
    margin-bottom: 10vh;
    padding: 20px 0;
  }
  .process .left, .process .right {
    width: 90vw;
    height: auto;
    padding: 0;
  }
  .get-started {
    flex-direction: column;
    width: 95vw;
    height: auto;
    border-radius: 30px;
    padding: 20px 0;
    gap: 20px;
    position: static;
    transform: none;
  }
  .get-started .left, .get-started .right {
    width: 100%;
    padding: 0;
  }
  .footer {
    height: auto;
    padding-top: 10vh;
  }
  .footer-container {
    flex-direction: column;
    width: 98vw;
    height: auto;
    border-radius: 30px 30px 0 0;
    padding: 20px 0;
    gap: 20px;
    position: static;
    transform: none;
  }
  .footer-container .left, .footer-container .right {
    width: 100%;
    padding: 0 2%;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer {
    background: #fff9f2;
    border-top: 2px solid #f9c365;
    box-shadow: 0 -4px 24px 0 rgba(249, 195, 101, 0.08);
    padding-top: 32px;
    padding-bottom: 18px;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 12px 18px 12px;
    gap: 22px;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }
  .footer-container .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
  }
  .footer-container .left .logo {
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(249,195,101,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .footer-container .left .logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
  }
  .footer-desc {
    text-align: center;
    font-size: 1.08rem;
    margin-bottom: 8px;
    color: #333533;
    font-weight: 500;
    letter-spacing: 0.01em;
  }
  .footer-brand {
    font-family: var(--head-font);
    font-size: 1.18rem;
    font-weight: 700;
    color: #202020;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
    text-align: center;
  }
  .footer-container .right {
    width: 100%;
    align-items: center;
    margin-bottom: 10px;
  }
  .footer-container .right .link-container {
    width: 100%;
    gap: 14px;
    padding: 0;
  }
  .footer-container .right .link-set {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 12px 0 8px 0;
    margin-bottom: 8px;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s;
  }
  .footer-container .right .link-set:active,
  .footer-container .right .link-set:focus-within {
    box-shadow: 0 4px 16px rgba(249,195,101,0.13);
  }
  .footer-container .right .link-set .top-link {
    font-weight: 700;
    color: #202020;
    margin-bottom: 6px;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
  }
  .footer-container .right .link-set .link {
    margin: 6px 0;
    font-size: 1.01rem;
    transition: color 0.2s;
  }
  .footer-container .right .link-set .link a {
    color: #f9c365;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
  }
  .footer-container .right .link-set .link a:active,
  .footer-container .right .link-set .link a:focus,
  .footer-container .right .link-set .link a:hover {
    color: #202020;
    text-decoration: underline;
  }
  .footer-divider {
    width: 80%;
    height: 1.5px;
    background: #f9c365;
    margin: 18px auto 10px auto;
    border-radius: 1px;
    opacity: 0.7;
  }
  .copy-right {
    text-align: center;
    font-size: 1.01rem;
    color: #888;
    margin-bottom: 4px;
    margin-top: 0;
    font-weight: 400;
  }
  .terms {
    text-align: center;
    font-size: 0.98rem;
    color: #888;
    margin-top: 6px;
    margin-bottom: 0;
    font-weight: 400;
  }
}

@media (max-width: 600px) {
  /* --- Sliding Courses and Highlights only --- */
  .course-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 16px;
    padding-left: 12px;
    padding-right: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .course {
    min-width: 260px;
    max-width: 80vw;
    flex: 0 0 auto;
    scroll-snap-align: start;
    margin-bottom: 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 12px 8px;
  }
  .course-container::-webkit-scrollbar {
    display: none;
  }
  .course-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .highlight-topics {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-left: 12px;
    padding-right: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 18px;
  }
  .highlight {
    min-width: 140px;
    max-width: 60vw;
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 10px 6px;
  }
  .highlight-topics::-webkit-scrollbar {
    display: none;
  }
  .highlight-topics {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* --- Features, Process, Footer: Stack vertically --- */
  .feature-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0 8px;
  }
  .feature {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 12px 8px;
  }

  .process-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 8px;
  }
  .process-steps .step {
    min-width: unset;
    max-width: unset;
    flex: 1 1 100%;
    scroll-snap-align: unset;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 10px 8px;
  }

  .footer-container .right .link-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 8px;
    overflow-x: unset;
    scroll-snap-type: unset;
  }
  .footer-container .right .link-set {
    min-width: unset;
    max-width: unset;
    flex: 1 1 100%;
    scroll-snap-align: unset;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    padding: 8px 6px;
  }

  /* --- General mobile improvements --- */
  .hero-section, .feature-section, .course-section, .process, .footer, .get-started, .footer-container {
    margin-bottom: 18px;
  }
  .hero-section-title, .hero-section-desc, .second-title, .second-desc {
    font-size: 1.1rem;
    padding: 0 2vw;
    line-height: 1.3;
  }
  button, .enroll-now, .sign-up {
    font-size: 1rem;
    padding: 10px 18px;
    border-radius: 24px;
    margin: 8px 0;
    width: 100%;
    max-width: 260px;
    box-sizing: border-box;
  }
}

.contact-section {
  width: 100vw;
  background: linear-gradient(135deg, #f9c365 60%, #ffee32 100%);
  padding: 60px 0 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, #fffbe6 0%, #f9c36533 80%, transparent 100%);
  opacity: 0.7;
  z-index: -1;
}

.contact-container {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  padding: 48px 36px 36px 36px;
  max-width: 440px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2.5px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.contact-container::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 32px;
  z-index: -1;
  background: linear-gradient(120deg, #f9c365, #ffee32, #fff6e4);
  opacity: 0.7;
}

.contact-title {
  font-family: var(--head-font);
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--color1);
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 1px;
}

.contact-desc {
  font-family: var(--secondary-font);
  font-size: 1.15rem;
  color: var(--color2);
  margin-bottom: 28px;
  text-align: center;
}

.contact-info {
  width: 100%;
  margin-bottom: 28px;
  background: linear-gradient(90deg, #ffee32 60%, #f9c365 100%);
  border-radius: 14px;
  padding: 20px 20px 12px 20px;
  box-shadow: 0 2px 16px 0 rgba(31,38,135,0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--secondary-font);
  font-size: 1.08rem;
  color: var(--color2);
  border-left: 5px solid var(--color3);
}

.info-item {
  margin-bottom: 6px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9c365 60%, #ffee32 100%);
  color: var(--color1);
  font-size: 1.2rem;
  box-shadow: 0 2px 8px #f9c36533;
  margin-right: 6px;
}

.info-item a {
  color: var(--color1);
  text-decoration: underline;
  transition: color 0.2s;
}

.info-item a:hover {
  color: var(--color3);
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.7px solid var(--color3);
  border-radius: 10px;
  font-family: var(--secondary-font);
  font-size: 1.08rem;
  background: #fef6e4;
  color: var(--color1);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px #f9c36522;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 2px solid var(--color1);
  box-shadow: 0 2px 8px #f9c36544;
}

.contact-submit {
  background: linear-gradient(90deg, var(--color1) 60%, var(--color3) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-family: var(--head-font);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px #f9c36533;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  margin-top: 10px;
  letter-spacing: 1px;
}

.contact-submit:hover {
  background: linear-gradient(90deg, var(--color3) 60%, var(--color1) 100%);
  color: var(--color1);
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .contact-container {
    padding: 24px 8px 16px 8px;
    max-width: 98vw;
  }
  .contact-title {
    font-size: 2rem;
  }
  .contact-info {
    padding: 12px 8px 8px 8px;
    font-size: 0.98rem;
  }
}

/* --- HERO SECTION TITLE & DESC --- */
@media (max-width: 800px) {
  .hero-section-title, .hero-section-desc {
    width: 100vw !important;
    max-width: 100vw;
    font-size: 2rem !important;
    padding: 4vw 2vw 2vw 2vw !important;
    text-align: center;
    margin: 0 auto;
    line-height: 1.2;
  }
  .hero-section-title h1 {
    font-size: 2.2rem !important;
    line-height: 1.2;
    text-align: center;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .hero-section-title, .hero-section-desc {
    font-size: 1.2rem !important;
    padding: 3vw 1vw 1vw 1vw !important;
  }
  .hero-section-title h1 {
    font-size: 1.3rem !important;
  }
}

/* --- HERO SECTION TITLE FIXES --- */
.hero-section-title {
  max-width: 600px;
  min-width: 260px;
  width: 45vw;
  white-space: normal;
  word-break: break-word;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  margin: 0 0 0 2vw;
}
.hero-section-title h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
  word-break: break-word;
  white-space: normal;
  text-align: left;
}
@media (max-width: 1200px) {
  .hero-section-title {
    max-width: 90vw;
    width: 90vw;
    margin: 0 auto;
    align-items: center;
    text-align: center;
  }
  .hero-section-title h1 {
    font-size: 2.2rem;
    text-align: center;
  }
}
@media (max-width: 800px) {
  .hero-section-title {
    max-width: 98vw;
    width: 98vw;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    padding: 2vw 0;
  }
  .hero-section-title h1 {
    font-size: 1.5rem;
    text-align: center;
  }
}

/* --- FOOTER PHONE NUMBER --- */
.footer-contact {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px 0 8px 0;
}
.footer-contact a {
  color: #f9c365 !important;
  background: #202020;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(249,195,101,0.10);
  transition: background 0.2s, color 0.2s;
}
.footer-contact a:hover {
  background: #f9c365;
  color: #202020 !important;
  text-decoration: none;
}
@media (max-width: 600px) {
  .footer-contact a {
    font-size: 1rem;
    padding: 10px 10vw;
    width: 90vw;
    box-sizing: border-box;
  }
}
