@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');

:root {
    --primary-orange: #FF5C2A;
    --secondary-orange: #F84007;
    --primary-red: #E63946;
    --footer-col: #050517;
    --light-yellow: #FFFC34;
    --yellow: #E6A83E;
    --dark-ass: #8E8D87;
    --light-ass: #C3C3C3;
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Lexend Deca", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.55;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
    display: block;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.container {
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
.col70 {
    max-width: 70%;
    flex: 0 0 70%;
    padding: 0 15px;
}

.col30 {
    max-width: 30%;
    flex: 0 0 30%;
    padding: 0 15px;
}

.col60 {
    max-width: 60%;
    flex: 0 0 60%;
    padding: 0 15px;
}

.col25 {
    max-width: 25%;
    flex: 0 0 25%;
    padding: 0 25px;
}

.col40 {
    max-width: 40%;
    flex: 0 0 40%;
    padding: 0 15px;
}

.col50 {
    max-width: 50%;
    flex: 0 0 50%;
    padding: 0 15px;
}

.col33 {
    max-width: 33.333%;
    flex: 0 0 33.333%;
    padding: 0 15px;
}

h1 {
    font-family: "Lexend Deca", sans-serif;
    font-size: 90px;
    font-weight: 400;
    line-height: 1;
    color: var(--white);
}

h2 {
    font-family: "Lexend Deca", sans-serif;
    font-size: 57px;
    font-weight: 400;
    line-height: 1;
    color: var(--black);
}

.header {
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-links {
    margin-left: auto;
}

.navlinks {
    display: flex;
    align-items: center;
}

.navlinks li {
    padding: 0 30px;
}

.navlinks li a {
    text-transform: capitalize;
    color: var(--black);
}

.navlinks li a:hover {
    color: var(--secondary-orange);
}

.cmn-btn {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white);
    padding: 20px 48px;
    transition: 0.5s ease;
    border-radius: 0;
    text-transform: capitalize;
}

.cmn-btn:hover {
    background: var(--primary-red);
}

.hamburger {
    position: absolute;
    right: 100px;
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.hamburger .bar {
    width: 30px;
    height: 3px;
    background-color: #000;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.footer {
    background: var(--footer-col);
    color: var(--light-ass);
    padding: 80px 100px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 120px;
}

.footer-col {
    flex: 1;
    max-width: 100%;
}

.footer-brand {
    max-width: 100%;
}

.footer-logo img {
    max-width: 100%;
    margin-bottom: 17px;
}

.footer-brand p {
    font-size: 19px;
    line-height: 29px;
    margin-bottom: 44px;
}

.footer-socials a {
    margin-right: 15px;
    font-size: 13px;
    color: var(--light-ass);
    text-transform: uppercase;
}

.footer-socials a:hover {
    color: var(--white);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li {
    color: var(--white);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: var(--light-ass);
    font-size: 13px;
}

.footer ul li a:hover {
    color: var(--white);
}


.footer-email {
    color: var(--white);
    margin-bottom: 5px;
}

.footer small {
    font-size: 12px;
    color: var(--white);
}


.footer-bottom {
    border-top: 1px solid var(--light-ass);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--light-ass);
}

.footer-bottom a {
    color: var(--light-ass);
}

.footer-bottom a:hover {
    color: white;
}

.course-hero {
    background: var(--white);
    padding: 60px 0;
}

.course-content {
    width: 100%;
}

.course-content h1 {
    font-size: 57px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

.course-desc {
    color: var(--dark-ass);
    font-size: 18px;
    margin-bottom: 50px;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 26px;
}

.rating {
    font-size: 13px;
}

.rating span {
    color: var(--black);
}

.students {
    display: flex;
    padding-left: 198px;
}

.avatars {
    display: flex;
}

.avatars img {
    margin-left: 10px;
    width: 36px;
    height: 36px;
    border: 2px solid var(--white);
}

.students small {
    font-size: 13px;
    color: var(--black);

}

.enroll-btn {
    font-size: 25px;
    padding: 10px 36px;
    border-radius: 30px;
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    cursor: pointer;
    transition: 0.3s;
}

.enroll-btn:hover {
    background: var(--secondary-orange);
    color: var(--white);
}

.course-details {
    background: var(--white);
    padding: 100px 0;
}

.course-main-img img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 50px;
}

.course-section {
    margin-bottom: 74px;
    background-color: var(--white);
}

.course-section h3 {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--black);
}
.course-section p{
    font-size: 20px;
    color: var(--dark-ass);
}

.course-section ul li {
    margin-bottom: 25px;
}

.content-box {
    margin-bottom: 25px;
}
.col50 .content-box h4{
    font-size: 20px;
    color: var(--black);
}

.course-sidebar {
    position: sticky;
    top: 120px;
}

.box{
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.price-card,
.info-card {
    background: var(--white);
    padding: 30px 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.price-card h2 {
    margin: 20px 0;
}

.price-card p{
    color: var(--light-ass);
}
.price-card strong{
    color: var(--black);
}
.info-card h4{
    margin-bottom: 30px;
}
.info-card p{
    margin-left: 25px;
}
.box2{
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 0 20px;
}
.information{
    padding: 35px 0;
    margin-bottom: 40px;
}
.information h4{
    font-size: 35px;
    color: var(--black);
}
.information ul li{
    font-size: 22px;
    padding: 10px 10px;
}
.start-btn {
    display: block;
    text-align: center;
    background: var(--secondary-orange);
    color: var(--white);
    padding: 10px;
    border-radius: 20px;
    transition: 0.5s ease;
    border: 1px solid var(--primary-orange);
}
.start-btn:hover{
    background: var(--white);
    color: var(--secondary-orange);
    
}

@media (max-width: 768px){
        .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 565px){
        .footer {
        padding: 50px 20px;
    }
}

@media (max-width: 320px){
        .footer-socials a {
        display: block;
        margin-bottom: 10px;
    }
}

@media (max-width: 1024px) {

    .course-content h1 {
        font-size: 48px;
    }

    .course-desc {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .students {
        padding-left: 0;
    }
}

@media (max-width: 767px) {

    .course-hero {
        padding: 50px 0;
    }

    .course-content h1 {
        font-size: 40px;
        line-height: 1.2;
    }

    .course-desc {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .course-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .students {
        padding-left: 0;
    }
}

@media (max-width: 575px) {

    .course-content h1 {
        font-size: 34px;
    }

    .course-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .avatars img {
        width: 32px;
        height: 32px;
    }

    .enroll-btn {
        font-size: 22px;
        padding: 10px 30px;
    }
}

@media (max-width: 420px) {

    .course-content h1 {
        font-size: 30px;
    }

    .course-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .course-meta {
        gap: 12px;
    }

    .enroll-btn {
        font-size: 20px;
        padding: 9px 26px;
    }
}

@media (max-width: 375px) {

    .course-content h1 {
        font-size: 27px;
    }

    .course-desc {
        font-size: 13px;
    }

    .avatars img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 320px) {

    .course-hero {
        padding: 40px 0;
    }

    .course-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .course-desc {
        font-size: 13px;
    }

    .enroll-btn {
        font-size: 18px;
        padding: 8px 22px;
    }
}

@media (max-width: 1024px) {

    .col70 {
        max-width: 65%;
        flex: 0 0 65%;
    }

    .col30 {
        max-width: 35%;
        flex: 0 0 35%;
    }

    .course-section h3 {
        font-size: 34px;
    }

    .course-section p {
        font-size: 18px;
    }

    .information h4 {
        font-size: 30px;
    }

    .information ul li {
        font-size: 20px;
    }
}

@media (max-width: 767px) {

    .course-details {
        padding: 80px 0;
    }

    .col70,
    .col30 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .course-sidebar {
        position: static;
        margin-top: 60px;
    }

    .course-section h3 {
        font-size: 30px;
    }

    .course-section p {
        font-size: 17px;
    }

    .information h4 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {

    .course-main-img img {
        margin-bottom: 35px;
    }

    .course-section {
        margin-bottom: 50px;
    }

    .course-section h3 {
        font-size: 26px;
    }

    .course-section p {
        font-size: 16px;
        line-height: 1.6;
    }

    .col50 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .content-box {
        margin-bottom: 20px;
    }

    .information h4 {
        font-size: 24px;
    }

    .information ul li {
        font-size: 18px;
    }
}

@media (max-width: 420px) {

    .course-details {
        padding: 60px 0;
    }

    .course-section h3 {
        font-size: 24px;
    }

    .course-section p {
        font-size: 15px;
    }

    .price-card,
    .info-card {
        padding: 25px;
        margin-bottom: 40px;
    }

    .information {
        padding: 25px 0;
    }

    .information ul li {
        font-size: 17px;
    }
}

@media (max-width: 375px) {

    .course-section h3 {
        font-size: 22px;
    }

    .course-section p {
        font-size: 14px;
    }

    .information h4 {
        font-size: 22px;
    }

    .information ul li {
        font-size: 16px;
    }

    .start-btn {
        font-size: 16px;
        padding: 9px;
    }
}

@media (max-width: 320px) {

    .course-details {
        padding: 50px 0;
    }

    .course-section h3 {
        font-size: 20px;
    }

    .course-section p {
        font-size: 13px;
    }

    .information h4 {
        font-size: 20px;
    }

    .information ul li {
        font-size: 15px;
        padding: 8px 0;
    }

    .price-card h2 {
        font-size: 22px;
    }

    .start-btn {
        font-size: 15px;
        padding: 8px;
    }
}

@media (max-width: 995px) {

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        transition: 0.4s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .navbar-links.active {
        right: 0;
    }

    .navlinks {
        flex-direction: column;
    }

    .navlinks li {
        padding: 20px 0;
    }

    .headerbtn {
        display: none;
    }
}