/* ================= ROOT ================= */
:root {
    --primary-color: #7e00a7;
    --light-color: #fcf5ff;
    --title-color: #000000;
    --text-color: #6e7380;
    --border-color: #e0e0e0;
    --font: "Poppins", sans-serif;
}

/* ================= COMMON ================= */
body {
    font-family: var(--font);
    background: linear-gradient(to bottom, #ffffff, #f4d6ff);
}

/* ================= NAVBAR ================= */

.profile-name {
    font-weight: 700;
    font-size: 18px;
    /* margin-left: 20px; */
    margin-top: -50px;
}

/* trd */

/* .nav-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--title-color);
    white-space: nowrap;
    font-weight: 700;
    font-size: 18px;
    margin-left: 20px;
    margin-top: -50px;
} */

.nav-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--title-color);
    white-space: nowrap;
}

/* ================= BUTTON ================= */
.btn-purple {
    font-weight: 500;
}

/* ================= LEFT PROFILE CARD ================= */
.course-card1 {
    /* width: 270px; */
    max-width: 516px;

    border-radius: 10px;
    box-shadow: 0px 0px 5px 1px #00000040;
    border: none;
}

.teacher-image {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
}

.gender-box {
    display: grid;
    justify-content: flex-start;
    background: #f9fafb;
    border-radius: 5px;
    padding: 8px 12px;
    margin: 8px auto;
}

.gender-text {
    font-size: 14px;
    color: #000;
}

.gender-content {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 21px;
}

.profile-card-name {
    margin-top: -20px;
    margin-bottom: 20px;
}

.profile-card {
    position: relative;
    top: -43px;
    left: 50px;
    margin-right: 100px;
    font-weight: 500;
}

/* ================= LEFT PROFILE CARD ================= */
.course-card1 {
    /* width: 270px; */
    max-width: 516px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 1px #00000040;
    border: none;
}

.teacher-image {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
}

.gender-box {
    display: grid;
    justify-content: flex-start;
    background: #f9fafb;
    border-radius: 5px;
    padding: 8px 12px;
    margin: 8px auto;
}

.gender-text {
    font-size: 14px;
    color: #000;
}

.gender-content {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 21px;
}

.profile-card-name {
    margin-top: -20px;
    margin-bottom: 20px;
}

.profile-card {
    position: relative;
    top: -43px;
    left: 50px;
    margin-right: 100px;
}

/* ================= ABOUT ================= */
.card-about {
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
    /* max-width: 876px; */
    position: relative;
    top: 0px;
    margin-bottom: 50px;
}

/* ================= MY COURSES ================= */

a {
    text-decoration: none;
}

.my-course-card {
    /* max-width: 876px; */
    border-radius: 10px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
}

.course-box {
    background: radial-gradient(circle, #ffffff 0%, #f5dcfe 100%);
    border-radius: 10px;
}

.course-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--title-color);
}

.name-text {
    font-size: 14px;
    color: var(--text-color);
}

.number-text {
    font-size: 11px;
    color: #363942;
}

.rupee-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    color: var(--title-color);
    white-space: nowrap;
    /* position: relative; */
    /* left: 50px; */
}

/* ================= COURSE HORIZONTAL CARD ================= */

.course-card-horizontal {
    background: radial-gradient(circle, #ffffff 0%, #f5dcfe 100%);
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
    /* max-width: 876px; */
    position: relative;
    top: 0px;
    /* margin-bottom: 50px; */
}

/* ================= MY COURSES ================= */

a {
    text-decoration: none;
}

.my-course-card {
    /* max-width: 876px; */
    border-radius: 10px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
}

.course-box {
    background: radial-gradient(circle, #ffffff 0%, #f5dcfe 100%);
    border-radius: 10px;
}

.course-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--title-color);
}

.name-text {
    font-size: 14px;
    color: var(--text-color);
}

.number-text {
    font-size: 11px;
    color: #363942;
}

.rupee-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    color: var(--title-color);
    white-space: nowrap;
    /* position: relative; */
    /* left: 50px; */
}

/* ================= COURSE HORIZONTAL CARD ================= */

.course-card-horizontal {
    background: radial-gradient(circle, #ffffff 0%, #f5dcfe 100%);

    border-radius: 5px;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.course-card-horizontal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image */
.course-thumb-horizontal {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Text */
.course-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
}

.name-text {
    font-size: 13px;
    color: #6e7380;
    line-height: 1.4;
}

.number-text {
    font-size: 11px;
    color: #363942;
}

/* Price */
.price-text {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}

/* ================= ONE LINE WITH ... ================= */

.one-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 576px) {
    .course-thumb-horizontal {
        width: 50px;
        height: 50px;
    }

    .course-title {
        font-size: 13px;
    }

    .name-text {
        font-size: 12px;
    }

    .price-text {
        font-size: 13px;
    }
}

/* ================= TEXT ================= */
.exploring-text {
    font-size: 16px;
    font-weight: 700;
    color: #363942;
}

.popular-text {
    font-size: 15px;
    color: #363942;
}

/* ================= FOOTER ================= */
/* Footer intentionally untouched */
.footer-section {
    background: #fcf5ff;
}

.fw-text {
    font-size: 18px;
    font-weight: 700;
}

.bg-text {
    font-size: 15px;
    color: var(--title-color);
}

.copyright-bar {
    background: var(--primary-color);
    font-size: 14px;
    color: #fff;
}

/* ================= RESPONSIVE (INDUSTRY STANDARD) ================= */

/* ---------- LARGE LAPTOPS ---------- */
@media (max-width: 1200px) {
    .card-about,
    .my-course-card {
        width: 100%;
    }

    .profile-card {
        left: 0;
        margin-right: 0;
    }

    .rupee-text {
        left: 0;
    }
}

/* ---------- TABLETS ---------- */
@media (max-width: 991px) {
    .left-section {
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    .profile-card {
        top: 0;
    }

    .card-about {
        height: auto;
        margin-bottom: 40px;
    }

    .my-course-card {
        margin-bottom: 40px;
    }
}

/* ---------- MINI TABLET ---------- */
@media (max-width: 768px) {
    .gender-box {
        display: grid;
        justify-content: center;
    }
}

/* ---------- MOBILE ---------- */
/* ---------- MOBILE ---------- */
@media (max-width: 575px) {
    .gender-box {
        display: grid;
        justify-content: center;
    }

    .exploring-text {
        font-size: 14px;
    }

    .nav-link {
        font-size: 14px;
    }

    .course-card1 {
        width: 100%;
    }

    .rupee-text {
        position: static;
    }
}
