:root {
    --red: #d2232a;
    --dark: #212121;
    --white: #ffffff;
    --yellow: #f2ca8c;
    --gray: #5f6774;
    --off-white: #fcfbf9;
    --nav-bg: #fcfbf9;
    --radius: 6px;
    --border-color: rgba(33, 33, 33, 0.1);
}

.course_details img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

input {
    border: none;
    outline: none;
}

.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100 dvh;
    max-height: 100 dvh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.5s;
    z-index: 10;

.modal-inner {
    position: relative;
    width: 500px;
    height: max-content;
    background-color: var(--white);
    box-shadow: 0px 100px 100px var(--border-color);
    border-radius: calc(var(--radius) * 2);
    transform: scale(0);
    transition: transform 0.5s ease-in-out;
    transition-delay: 0.2s;
    padding: 3rem 2rem;

.modal-footer {
    margin-top: 2rem;
    /* border: 1px solid; */
}

.modal-close-icon {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

}
}
.modal-open {
    transform: translateY(0%);

.modal-inner {
    transform: scale(1);
}

}
.modal-close {
    transform: translateY(100%);

.modal-inner {
    transform: scale(0);
}

}

.poppins-regular {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", serif;
    font-weight: 900;
    font-style: normal;
}

button {
    border: none;
    outline: none;
    font-family: "Poppins", serif;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;

&
:hover {
    transform: translateY(-2px);
}

}
.primary-btn {
    background-color: var(--red);
    border: 1px solid transparent;
    color: var(--white);
}

.secondary-btn {
    background-color: transparent;
    border: 1px solid var(--red);
    color: var(--red);
}

.hero_section {
    background-color: var(--dark);
    color: var(--nav-bg);
    padding: 40px 0;
}

.breadcrumb {
    color: var(--gray);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero_section_inner_content {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}

.text-gray {
    color: var(--gray);
}

.text-dark {
    color: var(--dark);
}

.text-red {
    color: var(--red);
}

.text-white {
    color: var(--white);
}

.bg-black {
    background-color: var(--dark);
}

.bg-red {
    background-color: var(--red);
}

.text-yellow {
    color: var(--yellow);
}

.cursor-pointer {
    cursor: pointer;
}

.p-20 {
    padding: 20px;
}

.hero_section_inner_content .hero_title {
    font-size: 30px;
    font-weight: 600;
    max-width: 620px;
    line-height: 37.5px;
    color: var(--white);
}

.hero-section-right-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero_section_inner_content .hero_description {
    max-width: 584px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #fcfbf9;
}

.hero_section_inner_content .tag_and_rating {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero_section_inner_content .best-seller-tag {
    background-color: var(--nav-bg);
    border-radius: 4px;
    padding: 4px 10px;
    color: var(--dark);
    font-size: 12px;
    font-weight: 500;
}

.hero_section_inner_content .rating {
    display: flex;
    gap: 10px;
}

.hero_section_inner_content .rating .active-star-icon {
    color: var(--yellow);
}

.hero_section_inner_content .created-by {
    font-size: 12px;

a {
    text-decoration: underline;
}

}
.hero-section-left-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: end;
    justify-content: end;



.price {
    font-size: 34px;
    color: var(--white);
    line-height: 42.5px;
    font-weight: 700;
    font-family: Quicksand;
}

.offers .og-price {
    text-decoration: line-through;
}


button {
    width: 280px;
    padding-block: 12px;
    font-weight: 700;
}

}

.course-detail {
    max-width: 1075px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-block: 2.5rem;
    gap: 20px;

.course-detail-description {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1rem 2rem;
    border-left: 2px solid var(--border-color);

h4 {
    font-weight: 800;
    font-family: Quicksand;
    font-size: 20px;
}

}
}
.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.about-and-learnings {
    background-color: var(--off-white);
    padding-block: 3rem;
}

.about-course {

article {
    background-color: var(--white);
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 2rem;
    box-shadow: 0px 4px 20px var(--border-color);
    border-radius: calc(var(--radius) * 2);
}

}
.flex {
    display: flex;
}

.gap-20 {
    gap: 20px;
}

.gap-10 {
    gap: 10px;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.w-full {
    width: 100%;
}

.items-center {
    align-items: center;
}

.learnings {
    margin-top: 2rem;

.learning-content-container {
    background-color: var(--white);
    box-shadow: 0px 4px 20px var(--border-color);
    border-radius: calc(var(--radius) * 2);
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.learnings-content {
    display: flex;
    gap: 20px;
    flex-shrink: 0;

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

p {
    max-width: 396px;
    flex: 1;
    color: var(--gray);
    font-family: Quicksand;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

}
}

.navbar .menu {
    display: none;
}

@media (max-width: 1080px) {
    .navbar {

    .nav_inner_content {
        display: none;
    }

    .menu {
        display: block;
    }
}

.hero_section {

.hero_section_inner_content {
    flex-direction: column;

.hero-section-left-section {
    text-align: start;
}

}
}

.learnings {

.learning-content-container {
    grid-template-columns: repeat(1, 1fr);
}

}
}

@media (max-width: 720px) {
    .course-detail {
        grid-template-columns: repeat(2, 1fr);

    .course-detail-description {
        padding: 1rem;
    }
}

}

/* Course Content */

.course_content {
    background-color: #ffffff;
    padding: 70px 0;

.course-section {
    margin: 0;
    margin-bottom: 30px;
    box-shadow: 0px 4px 20px 0px #5f67741a;
    padding: 30px 24px;
    background-color: #fff;

.course_item {
    padding: 20px 0;
}

.course_item:not(:first-child) {
    border-top: 1px solid #2121212b;
}

}

h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 37.5px;
    color: #212121;
    margin-bottom: 30px;

span {
    color: #d2232a;
}

}

p {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #212121;
    margin-bottom: 20px;
}

h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    color: #212121;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
    color: #6c757d;
    justify-content: space-between;

div {
    display: flex;

div {
    display: flex;
    align-items: center;

span {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
}

span:nth-child(1) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    padding: 5px;
    border-radius: 50%;
}

}
div:nth-child(1) {
    margin-right: 40px;

span:nth-child(1) {
    background-color: #000;
}

}
div:nth-child(2) {

span:nth-child(1) {
    background-color: #d2232a;
}

}
}
}

.course-meta span {
    margin-right: 12px;
}

.course-meta a {
    margin-left: auto;
    text-decoration: underline !important;
    color: #e63946;
    font-weight: bold;
}

.course-meta a:hover {
    text-decoration: none !important;
}

.course-meta a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    padding:

40px

0;

    h3 {
        margin-bottom: 10px;
    }

    .course-section {
        padding: 0;

    .course_item {
        padding: 10px 0;
    }
}

.course-meta {
    gap: 10px;

div {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

div {
    align-items: center;
    flex-direction: row;
}

}
}
}
}

/* Top Reviews */

.top_reviews {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #fcfbf9;

h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 37.5px;
    color: #212121;
    margin-bottom: 30px;

span {
    color: #d2232a;
}

}
.top_reviews_body {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.top_reviews_item {
    padding: 24px;
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0px 4px 20px 0px #5f67741a;

.tri_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;

h4 {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #212121;
    margin: 0;
}

.tri_star {
    display: flex;
    gap: 6px;
    align-items: center;
}

}
p {
    font-size: 10px;
    font-weight: 400;
    line-height: 18px;
    color: #212121;
}

}
}

/* FAQ */

.faq-container {
    padding-top: 70px;
    padding-bottom: 70px;
    background-color: #fff;

h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 37.5px;
    color: #212121;
    margin-bottom: 30px;

span {
    color: #d2232a;
}

}

.faq-item {
    border: 1px solid #5f6774;
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
}

.faq-question {
    padding: 21px 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #212121;
}

.faq-toggle {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
}

.faq-answer-wrapper {
    color: #212121;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.5px;
    padding: 21px 24px;
}

.faq-item.active .faq-toggle {
    transform: rotate(90deg);
}

.faq-footer {
    margin-top: 20px;
    text-align: center;
}

.faq-footer a {
    color: #e63946;
    text-decoration: none;
    font-weight: bold;
}

.faq-footer a:hover {
    text-decoration: underline;
}

}

.svg-inline--fa.fa-chevron-right {
    width: 6px;
}

.about-course {
    margin: 70px 0;
}

.about-course-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.about-course-container h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #212121;
    margin: 20px auto;
}

.about-course-container h2 span {
    color: #d2232a;
}

.about-course-description {
    background: #ffffff;
    box-shadow: 0 4px 20px #5f67741a;
    border-radius: 12px;
    padding: 30px 25px;
    font-size: 14px !important;
}

.about-course-block {
    padding: 50px 0;
    font-size: 16px;
}

.section-heading {
    font-size: 30px;
    font-weight: 700;
    font-family: Quicksand, sans-serif;
    margin-bottom: 30px;
}

.section-heading span {
    color: #d2232a;
}

.section-hr-gap {
    margin-bottom: 50px;
}

.ShadowBox,
.shadowBox {
    box-shadow: 0 4px 20px #5f67741a !important;
}

.white-bg-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
}

.white-bg-box p {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #212121;
    letter-spacing: 0;
}

.available-tutors {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto;
}

.available-tutors h2 {
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.available-tutors-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.at-item {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.at-item > div {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.at-item > div img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
}

.at-item h3 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.2;
}

.at-item a {
    text-align: center;
    color: #d2232a;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    line-height: 1.2;
    padding: 10px 20px;
    border: 1px solid #d2232a;
    border-radius: 6px;
    transition: all 0.3s ease;

&
:hover {
    background: #d2232a;
    color: #fff;
}

}

@media all and (max-width: 768px) {
    .hero_section_inner_content {
        padding: 0 20px;
    }

    .hero_section_inner_content .hero_title {
        margin: 0;
        font-size: 25px;
    }

    .hero-section-left-section {

    .top-section {
        margin: 0;
    }

    .top-section {

    .price {
        font-size: 20px;
        margin: 0;
    }
}

}
.hero_section {
    padding: 20px 0;
}

.about-course {
    margin: 20px 0;
}

.about-course-container h2 {
    margin: 0;
}

.about-course-description {
    padding: 0;
}

.about-course-block {
    padding: 20px 0;
}

.section-heading {
    margin: 0;
    font-size: 20px;
}

.white-bg-box {
    padding: 20px 15px;
}

}

