@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
}


body,
html {
    margin: 0;
    padding: 0;
    height: 100vh;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: "poppins", sans-serif;
    /* background: #F5F5F5; */
    color: #F15A29;
}

header#header {
    background: #fff;

}

.dasboard-section-parant {
    max-width: 1200px;
    display: block;
    margin: auto;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(rgb(255 255 255 / 40%), rgb(185 188 250 / 40%)), url(../background.jpeg);
    background-size: cover;
    /* backdrop-filter: blur(20); */
}


/* Main */
.main {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: transparent;
    backdrop-filter: blur(20px);
}

.main h1 {
    color: #FF561F;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

/* .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
} */

.card {
    background: #ffe6f0;
    /* border: 1px solid #fcb6d6; */
    border-radius: 14px;
    padding: 1rem 1.2rem;
    box-shadow: 0 10px 25px rgba(105, 158, 255, 0.15);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 14px 35px rgba(255, 105, 180, 0.3);
}

.card h3 {
    color: #555;
    margin-bottom: 1rem;
    font-weight: 600;
}


.image-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    user-select: none;
    /* border: 1px solid #fcb6d6; */
}

.image-card p {
    color: #7a3360;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Circular stats cards container */
.stats-cards {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
    background: lightcoral;
    justify-content: space-evenly;
}

/* .stat-card {
    background: white;
    color: #000;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #FF561F;
    font-weight: 700;
    user-select: none;
    transition: all 0.3s ease;
    border: 1px solid #fcb6d6;
    transition: box-shadow 0.5s ease;
} */

/* .stat-card:hover {
    background: #fff2f0;
    color: #FF561F;
    box-shadow: 0 0 5px #FF561F, 0 8px 5px #FF561F;
    transform: translateY(-2px);
} */

.stat-number {
    font-size: 2rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    margin-top: 0.25rem;
}



.dash_username {
    background: #00A6FF;
    color: #fff;
    padding: 0 5px;
    text-transform: capitalize;
    border-radius: 7px;
}

.overlay.active {
    display: block;
}


/*event card*/

.event-card-vertical {
    background: #fff0f5;
    border: 1.5px solid #f7c9dd;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(214, 51, 132, 0.1);
    overflow: hidden;
    max-width: 600px;
    margin: 1.5rem auto;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.event-card-vertical:hover {
    box-shadow: 0 10px 24px rgba(214, 51, 132, 0.2);
}

.event-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #f8c3db;
}

.event-body {
    padding: 1.2rem;
}

.event-title {
    font-size: 1.4rem;
    color: #FF561F;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.event-table {
    width: 100%;
    font-size: 0.95rem;
    border-spacing: 0;
    margin-bottom: 1.2rem;
}

.event-table th {
    text-align: left;
    padding: 0.3rem 0.6rem 0.3rem 0;
    color: #666;
    width: 100px;
}

.event-table td {
    padding: 0.3rem 0;
    color: #333;
}

.event-button {
    background: #d63384;
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 0 auto;
}

.event-button:hover {
    background-color: #c02675;
}

.btnDashboardType1 {
    margin-top: 0.75rem;
    background: #f15a29;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    height: 40px;
}

.disabled-event-button {
    background-color: #f8d7e0;
    border: 1px solid #fcb6d6;
    cursor: not-allowed;
}

.disabled-event-button:hover {
    background-color: silver;
}


.courseStat {
    position: relative;
    font-size: 2rem;
    /* background-color: white; */
    border-radius: 10px;
    /* padding: 10px 10px 0; */
    /* border: 1px solid #00A6FF; */
    color: #555;
    text-transform: capitalize;
    display: grid;
    /* gap: 20px; */
    background-image: linear-gradient(to right, transparent 0%, lightyellow 50%, transparent 100%);
    background-repeat: no-repeat;
    background-position: -100vw;
    animation: shine 4s infinite;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom: none;
}

.statLevels {
    color: rgb(209, 209, 209);
    margin: auto;
}

.courseStat>div:nth-child(1) {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 5px 0px;
}

.userStats {
    /* display: grid;
    grid-template-columns: repeat(4, 1fr); */
    gap: 10px;
    overflow-y: auto;
    padding: 10px 5px;
}

.userStats>div {
    background: #fff;
    /* border: 2px solid #F15A29; */
    border-radius: 20px;
    /* width: 95%; */
    /* padding: 10px 0px 0px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
    box-shadow: 0 0 15px #00afef3b;
}

.statCourseName {
    font-size: 1rem;
    margin: auto;
}

.statLevelDesc {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #F15A29;
    border-radius: 10px;
    padding: 2px 10px;
    font-size: 12px;
    color: #fff;
}

.courseStatPending {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background: #f15a29;
    border: 1px solid #f3b8a4;
    border-top: none;
    /* margin-bottom: 10px; */
    text-align: center;
    font-size: 12px;
    padding: 5px;
    color: white;
}

.courseStatPending a {
    color: white;
}

@keyframes shine {
    0% {
        background-position: -100vw;
    }

    100% {
        background-position: 100vw;
    }
}

.shortcut-header {
    font-size: 20px;
    font-weight: 600;
    color: #d63384;
    margin-bottom: 16px;
}

.shortcut-grid {
    display: grid;
    gap: 20px;
    overflow-y: auto;
    padding: 10px 0;
}

.shortcut-card {
    /* flex: 1 1 100px; */
    display: flex;
    width: 98%;
    align-items: center;
    background-color: white;
    border: 2px solid #F15A29;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    transition: 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(214, 51, 132, 0.1);
    background-image: linear-gradient(to right, transparent 0%, lightyellow 50%, transparent 100%);
    background-repeat: no-repeat;
    background-position: -100vw;
    animation: shine 5s infinite;
    height: 100px;
}

.shortcut-card:hover {
    box-shadow: 0 4px 10px rgba(214, 51, 132, 0.2);
    transform: translateY(-4px);
}

.shortcut-icon {
    font-size: 32px;
    color: #F15A29;
    width: 50%;
}

.shortcut-title {
    font-size: 16px;
    font-weight: 500;
    color: #F15A29;
}

.shortcut-grid>.shortcut-card>.shortcut-icon>img {
    height: 40px;
    width: 40px;
    margin: 0px;
    border: none;
    margin: auto;
}





.main {
    /* background: #fff; */
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* GIGHZ CODING */


/* DASHBOARD POINT CERICLE DESIGN */
.dashboard_points_circles {
    display: grid;
    grid-template-rows: 30% 80%;
    align-items: center;
    justify-content: center;
    height: 35vh;
}

.dashboard_points_circles h1 {
    margin: auto;
    background: #FF561F;
    border-radius: 10px;
    padding: 10px 25px;
    color: #ffffff;
    width: fit-content;

}

.dashboard_points_circles_container {
    display: flex;
    gap: 20PX;
    justify-content: center;
}

.about-gighz-card {
    background: #C4EAFF;
    padding: 0 40px 20px;
    border-radius: 25px;
    border: 1px solid #55C0FA;
}

.loopbtn {
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    z-index: 6;
    width: 150px;
    border-radius: 30px;
}


/* ----------- Rotating Cards ----------------- */

/* === Rotating Carousel === */
.carousel {
    position: relative;
    width: 100%;
    /* margin: 50px auto; */
    display: flex;
    /* background: red; */
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.carousel .cards {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.carousel .userLevelContainer {
    background: #ffffff00;
    /* width: 100%; */
    color: #222;
    padding: 40px;
    box-shadow: none;
    border: none;
}


.carousel .card h3 {
    font-weight: 600;
    display: block;
    text-align: center;
}

.videoImage {
    width: 100%;
    width: 20vw;
    border-radius: 12px;
    border: 1px solid #fcb6d6;
}



/* =======================
   Media Queries
======================= */

/* Tablets / small desktops */
/* @media (max-width: 1024px) {
    .carousel {
        width: 90vw;
        height: 500px;
    }

    .card {
        width: 280px;
        height: 500px;
    }

    .btn.left {
        left: 300px;
    }

    .btn.right {
        right: 300px;
    }
} */

@media (max-width:1040px) {
    .userLevelContainer {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .userLevelContainer {
        /* width: 80vw !important; */
        min-width: 100% !important;
        border-radius: 24px;
    }
}

@media (max-width: 992px) {
    .carousel {
        width: 100%;
        /* margin: 500px auto 50px; */
        overflow: hidden;
    }

    .carousel .userLevelContainer {
        width: 100% !important;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .carousel {
        width: 90%;
        /* height: 400px; */
        /* margin: 500px auto 50px; */
        overflow: hidden;
    }


    .carousel .card {
        width: 50%;
        /* height: 350px; */
    }

    .carousel .card img {
        height: 150px;
    }

    .carousel .btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel .btn.left {
        left: 17%;
    }

    .carousel .btn.right {
        right: 17%;
    }

    .carousel .courseStat {
        font-size: 1rem;
        /* background-color: white; */
        padding: 5px;
        /* border: 1px solid #00A6FF; */
        display: grid;
        gap: 10px;
    }

    .videoImage {
        width: 100%;
    }

    .userStats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small mobile */
@media (max-width: 480px) {

    .carousel .card {
        padding: 20px;
    }

    .carousel .card img {
        height: 120px;
    }

    .carousel .btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .carousel .btn.left {
        left: 10%;
    }

    .carousel .btn.right {
        right: 10%;
    }

    .courseStat {
        font-size: 1rem;
        /* background-color: white; */
        padding: 5px;
        /* border: 1px solid #00A6FF; */
        display: grid;
        gap: 10px;
    }

    .videoImage {
        width: 100%;
    }

    .dashboard_points_circles h1 {
        font-size: 18px;
    }

    .userStats {
        grid-template-columns: repeat(1, 1fr);
    }


}

/*------------- COURSE CONTAINER ---------------- */
.course_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
    width: 100%;
    justify-content: start;
}

.course_cards .card {
    position: static;
    /* avoid stacking */
    padding: 20px 20px 40px;
    width: 280px;
    height: 45vh;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    background: linear-gradient(140deg, #00A6FF, #FFFFFF);
    display: grid;
    grid-template-rows: 20% 60% 20%;
    margin: auto;
}

.course_cards .card img {
    max-width: 100%;
    height: 160px;
    display: block;
}

.course_cards .card button {
    position: absolute;
    bottom: -5px;
    /* or 0 if you prefer */
    left: 50%;
    transform: translateX(-50%);
    /* centers horizontally */
    z-index: 3;
    padding: 0px 25px;
    height: 30px;
}

.course_cards .card h3 {
    background: #fff;
    padding: 3px 15px;
    border-radius: 10px;
    width: fit-content;
    margin: auto;
}

/* default for non-center */
.cards .card.is-center {
    overflow: visible;
}

@media (max-width: 768px) {
    .course_cards {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding: 0 10px;
    }

    .course_cards .card {
        width: 80%;
    }
}

@media (max-width: 480px) {}


/* Simple rounded scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f15a29, #f1295c);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f15a29, #f1295c);
}

.dashboard-event-section {
    width: 90%;
    margin: auto;
    width: 90%;
    /* background: #ffffff75; */
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
}

.dashboard-event-section h3 {
    display: block;
    /* text-align: center; */
}

.dashboard-event-section .event-container {
    padding: 10px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: auto;
}

.dashboard-event-section .event-container .events {
    width: 100%;
    /* height: fit-content; */
    color: #000;
    border-radius: 20px;
    /* border: 2px solid #f15a29; */
    box-shadow: 0 0 15px #00a6ff2b;
    transition: all .5s ease-in-out;
    position: relative;
    cursor: pointer;
    height: 200px;
}

.dashboard-event-section .event-container .events .event-content .event-details {
    font-size: 16px;
    opacity: 1;
}

.dashboard-event-section .event-container .events:hover {
    transform: translateY(-10px);
}

.dashboard-event-section .event-container .events .event-extend-button {
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    margin: auto;
    right: 20px;
    top: 40%;
}

.dashboard-event-section .event-container .events .event-header {
    position: relative;
    /* background: linear-gradient(90deg, #f87294, #fe9774); */
    background: #fff;
    /* border: 2px solid #f15a29; */
    /* border: 1px solid #FF561F; */
    /* padding: 10px 20px; */
    display: flex;
    border-radius: 20px;
    cursor: pointer;
    color: #2c2c2c;
    transition: all 0.2s ease-out;
    /* color: #f15a29; */
}

.dashboard-event-section .event-container .events.active .event-header {
    border-radius: 20px 20px 0 0;
}

.dashboard-event-section .event-container .events .event-header h4 {
    /* background: linear-gradient(90deg, #f15b29, #f1295c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    color: #444;
    text-align: center;
}

/* .dashboard-event-section .event-container .events .event-content {
    padding: 7px 5px;
    display: flex;
        flex-direction: column;
        gap: 10px;
} */

.dashboard-event-section .event-container .events .event-content .event_datetime {
    margin: 0;
    font-size: 12px;
    opacity: .8;
    font-weight: 300;
    /* text-align: right; */
    /* color: #555; */
}

.dashboard-event-section .event-container .events .event-content h4 {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-weight: 600;
    padding: 5px 0;
}

.dashboard-event-section .event-container .events .event-content i {
    color: #f15a29;
    font-size: 20px;
}

.dashboard-event-section .event-container .events .event-content h5 {
    display: flex;
    align-items: center;
    gap: 05px;
}

.dashboard-event-section .event-container .events .event-extend-button i {
    font-size: 20px;
    font-weight: 600;
    transition: .5s;
    color: #f15a29;
}

.dashboard-event-section .event-container .events.active .event-extend-button i {
    transform: rotate(180deg);
}

.dashboard-event-section .event-container .events .event-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    max-height: 0px;
    overflow-y: auto;
    color: #555;
    transition: all 0.4s ease;
    padding: 7px 10px;
    background: #fcfcfcfd;
    border-radius: 0 0 20px 20px;
    opacity: 0;
}

.dashboard-event-section .event-container .events.active .event-content {
    max-height: 200px;
    opacity: 1;
}

.dashboard-events {
    opacity: 0;
    transform: scale(0.5);
    /* max-width: 300PX; */
    overflow: hidden;
}

.dashboard-events.show {
    opacity: 1;
    transform: scale(1);
}

.dashboard-events img {
    width: 100%;
    height: 200px;
}

.dash-event-btn-cont {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.dashboard-event-section a {
    text-decoration: none;
}

.dash-event-btn {
    /* margin: auto; */
    /* display: block; */
    width: 150px;
    border-radius: 30px;
}

@media (max-width:1300px) {

    .dashboard-event-section .event-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:1020px) {
    .dashboard-event-section .event-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .dashboard-event-section .event-container .events {
        height: 350px;
    }

    .dashboard-events img {
        /* width: 100%; */
        height: 350px;
    }
}

@media (max-width:480px) {
    .dashboard-event-section {
        width: 100%;
        margin: 20px auto;
        padding: 20px;
    }

    .dashboard-event-section .event-container .events {
        height: 200px;
    }

    .dashboard-events img {
        /* width: 100%; */
        height: 200px;
    }
}



/* -------------- new Code --------- */

.dashboard-header {
    width: 100%;
    /* max-height: 350px; */
}

.dashboard-header>div {
    width: 98%;
    background: #ffffff73;
    backdrop-filter: blur(15px);
    display: flex;
    max-height: 300px;
    border-radius: 20px;
    justify-content: space-between;
    align-items: center;
    /* flex-wrap: wrap; */
    padding: 40px;
    margin: auto;
}

.dashboard-header>div h1,
.dashboard-header>div p {
    padding: 0;
    margin: 0;
}

/* .dashboard-header .dashboard-courses-cards{
    display: flex;
} */


.dashboard-header .dashboard-left {
    display: grid;
    width: 50%;
    gap: 10px;
    grid-template-rows: 50% 50%;
}

.dashboard-header .dashboard-left>div:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.dashboard-header .dashboard-left>div>h1 {
    /* color: #F15A29; */
    color: #555;
    font-size: 40px;
    font-weight: bolder;
}

.dashboard-header .dashboard-left>div>p {
    color: #555;
    font-size: 16px;
    height: 50px;
}

.dashboard-header .dashboard-left .dasbord-score-cards {
    display: flex;
    gap: 10px;
    /* transform: translateY(35px); */
}

.dashboard-header .dashboard-left .dasbord-score-cards .stat-card {
    height: 180px;
    width: 150px;
    font-size: 16px;
    color: #555;
    background: #fff;
    box-shadow: 0 0 15px #00a6ff2b;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0 0 10px #3e3e3e2f; */
    transition: all .5s ease;
}

.dashboard-header .dashboard-left .dasbord-score-cards .stat-card:hover {
    transform: translateY(-15px);
}

.dashboard-header .dashboard-left .dasbord-score-cards .stat-card .stat-number {
    font-size: 50px;
    font-weight: 700;
    color: #555;
}

.dashboard-header .dashboard-right {
    width: 50%;
}

.dashboard-header .dashboard-right .dashboard-courses-cards {
    width: 70%;
    display: flex;
    justify-content: center;
    position: relative;
    /* background: red; */
    margin: auto;
    cursor: pointer;
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card {
    width: calc(100%/3);
    height: 90%;
    min-width: 100px;
    padding: 0 0 10px;
    display: flex;
    flex-direction: column;
    background: #eff7ff;
    transition: all .9s ease;
    opacity: 0;
    transform: scale(0.5);
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card h3 {
    background: none;
    margin: 0px auto;
    font-size: 16px;
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card p {
    margin: auto;
    padding: 2px 10px;
    color: #555;
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card:nth-child(1),
.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card:nth-child(3) {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 200px;
    width: calc(90% / 2);
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card:nth-child(1) img,
.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card:nth-child(3) img {
    height: 70%;
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card:nth-child(2) {
    z-index: 10;
    width: 250px;
    animation: course-card 2.5s ease-in-out infinite;
    margin: 0;
    min-width: 100px;
    /* animation-delay: 10s;
    animation-iteration-count: 3; */
}

@keyframes course-card {
    0% {
        transform: translateY(-2px);
    }

    50% {
        transform: translateY(2px);
    }

    100% {
        transform: translateY(-2px);
    }
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card.show:nth-child(2):hover {
    transform: translateY(-10px);
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card:nth-child(1) {
    left: 0;
    transform: scaleX(0.1);
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card:nth-child(3) {
    right: 0;
    transform: scaleX(0.1);
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card.course-card.show {
    transform: scale(1);
    opacity: 1;
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card.course-card.show:nth-child(1) {
    transform: translateY(-50%);
}

.dashboard-header .dashboard-right .dashboard-courses-cards .card.image-card.course-card.show:nth-child(3) {
    transform: translateY(-50%);
}

@media (max-width: 1410px) {
    .dashboard-header .dashboard-left>div>h1 {
        font-size: 35px;
    }
}

@media (max-width: 1020px) {
    .dashboard-header>div {
        width: 98%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-height: 600px;
        padding: 40px;
        gap: 25px;
    }



    .dashboard-header .dashboard-right {
        width: 100%;
    }

    .dashboard-header .dashboard-left {
        width: 100%;
        gap: 20px;
    }

    .dashboard-header .dashboard-left .dasbord-score-cards {
        align-items: center;
    }

    .dashboard-header .dashboard-left .dasbord-score-cards .stat-card {
        height: 70px;
        width: calc(100% / 3);
    }

    .dashboard-header .dashboard-left .dasbord-score-cards .stat-card .stat-number {
        font-size: 30px;
        font-weight: 500;
    }
}

@media (max-width:480px) {
    .dashboard-header .dashboard-left .dasbord-score-cards .stat-card {
        height: 70px;

    }

    .dashboard-header .dashboard-left .dasbord-score-cards .stat-card .stat-label {
        font-size: 12px;
    }

    .dashboard-header .dashboard-right .dashboard-courses-cards {
        width: 100%;
    }
}

/* --------------------------------- */

.courseSection {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    /* IMPORTANT */
    align-items: stretch;
    /* IMPORTANT */
    background: #ffffff60;
    border-radius: 20px;
    padding: 20px;
}

.courseSection>h3 {
    flex: 0 0 100%;
    margin: auto;
    display: block;
    text-align: center;
}

.courseSection .carousel,
.courseSection .courseProgressSection {
    flex: 1 1 calc(50% - 10px);
    /* perfect two-column layout */
}




/* --------------------------------- */







/* JOB CARD */
.dashboard-jobportal-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: scroll;
    padding: 20px 0;
}

.dashboard-jobportal-container .job-card {
    width: 98%;
    background: #fff;
    margin: auto;
    border-radius: 20px;
    color: #f15a29;
    box-shadow: 0 0 15px #00aeef4d;
}

.dashboard-jobportal-container .job-card p {
    color: #555;
}

.job-portal-card {
    padding: 10px 0;
    display: flex;
    gap: 20px;
}

.job-portal-card .job-card .job-title,
.job-portal-card .job-card p {
    padding: 0;
    margin: 0;
}

.job-portal-card .job-card {
    padding: 10px;
    transition: all .5s ease;
}

.job-portal-card .job-card:hover {
    transform: translateY(-10px);
}

.job-portal-card .job-card .job-package {
    text-align: end;
    padding: 10px;
}


/* Erasing Para */
#word {
    font-weight: 600;
    font-size: 20px;
    color: #f15a29;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #f15a29;
    margin-left: 4px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.sidebar nav a i {
    width: 30px;
    height: 30px;
    background: #f15a29;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fae6e6;
    border-radius: 50%;
}

/* USER LEVELUP */
.levelinfocontainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.levelinfoimg {
    width: 50%;
    position: relative;
}

.levelinfoimg>img {
    position: absolute;
    left: -70px;
    bottom: -150px;
    /* width: 250px; */
    height: 450px;
}

.leavelinfocontent {
    width: 50%;
}

.leavelinfocontent h3 {
    margin: 5px auto;
    width: fit-content;
}

.leaveuppopup {
    overflow: visible;
    width: 650px;
    height: 300px;
}

.levelinfocontent>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px;
    width: 90%;
    border-radius: 10px;
    background: #00A6FF;
    margin: 10px auto;
    color: #fff;
}

@media(max-width:480px) {
    .levelinfoimg {
        display: none;

    }

    .leavelinfocontent {
        width: 100%;
    }
}


/* Courses Container */
/* -------- Progress Bar -------- */
.progress-group {
    /* margin-bottom: 1rem; */
    padding: 5px 0;
}

.progress-label {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.progress-bar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 14px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(30deg, #F24822, #F71A4D);
    transition: width 0.5s ease;
}

.progress-fill-grace {
    height: 100%;
    background-color: tomato;
    transition: width 0.5s ease;
}

.progress-fill-paid-grace {
    height: 100%;
    background-color: darkgoldenrod;
    transition: width 0.5s ease;
}

/* -------- Image Card Header -------- */
.image-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    background: #fff;
    top: 10px;
    left: -5px;
    padding: 0 5px;
    height: 40px;
    border-radius: 10px;
}

.image-card-header-stars {
    font-size: 1.5rem;
    padding: 10px;
    color: #b4b4b4;
}

.image-card-header h3 {
    padding: 3px 10px;
    border-radius: 5px;
    color: #000;
}

/* -------- GIGHZ COURSE CARDS -------- */
.courses_heading {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgba(255, 214, 214, 0.8);
    margin: 0 auto 40px;
    background: #fff;
}

.course_main_container .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 90%;
    margin: auto;
    padding: 40px 0;
}

.course_main_container .cards .card {
    display: flex;
    flex-direction: column;
    padding: 0 0 20px;
    background: #ffffff69;
    border: none;
    border-radius: 12px;
    box-shadow: 10px 10px 10px #00afef1a;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.course_main_container .cards .card:hover {
    transform: translateY(-6px) scale(1.02);
}

.course_main_container .cards .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.course_main_container .cards .card p {
    height: 70px;
    max-height: 70px;
    overflow: hidden;
    padding: 5px 10px;
    margin: 0;
    color: #444;
    display: flex;
    align-items: center;
}

.course_main_container .cards .card p .speaker-inline {
    display: flex;
    align-items: center;
    justify-content: center;
}

.course_main_container .cards .card .course-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.course_main_container .cards .card .course-btn-container>button {
    flex: 1;
    padding: 8px 0;
    /* background: linear-gradient(30deg, #F24822, #F71A4D); */
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.course_main_container .cards .card .course-btn-container>button:hover {
    background: #c44a21;
}

.course-progress-container {
    padding: 5px 20px;
}

.explore-course .card img {
    margin: 0;
}

/* -------- Responsive Design -------- */

/* Tablets (<= 1024px) */
@media (max-width: 1024px) {
    .course_main_container .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        width: 95%;
    }

    .course_main_container .cards .card img {
        height: 180px;
    }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
    .course_main_container .cards {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
        gap: 25px;
    }

    .course_main_container .cards .card {
        width: 80%;
        box-shadow: 6px 6px 15px rgba(255, 210, 210, 0.6);
    }

    .course_main_container .cards .card img {
        height: 160px;
    }

    .courses_heading {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* Very Small Devices (<= 480px) */
@media (max-width: 480px) {
    .course_main_container .cards {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course_main_container .card {
        margin: auto;
    }

    .course_main_container .cards .card img {
        height: 140px;
    }

    .course_main_container .cards .card p {
        font-size: 0.85rem;
    }

    .course_main_container .cards .card .course-btn-container>button {
        font-size: 0.85rem;
        border-radius: 12px;
    }
}

h3 {
    text-transform: capitalize;
}



/* 
.card {
    opacity: 1;
    transform: translateY(50px);
    transition: all .5s ease;
} */
.courseProgressSection {
    /* width: 100%; */
    padding: 40px;
}

.courseProgressSection #courseCardsTitle {

    display: block;
    margin: auto;
    padding: 20px;
    /* text-align: center !important; */
}

.courseProgressSection .cards {
    /* display: grid;
    grid-template-columns: repeat(3, 1fr); */
}

.courseProgressSection .card {
    padding: 0 0 30px;
    background: #ffffff60;
    border: none;
    margin: auto;
}

.courseProgressSection .card p {
    padding: 10px;
    color: #444;
}

.courseProgressSection .card h3 {
    margin: auto 0;
    font-size: 16px;
}


.explore-course-section {
    width: 90%;
    display: grid;
    gap: 20px;
    margin: 40px auto;
    background: #ffffff00;
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 25px #00aeef29;
}

.explore-course-section h3 {
    text-align: center;
    color: #555;
    font-size: 2em;
    margin: 0 0 20px;
    font-weight: 700;
}

.explore-course-section .explore-course {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* ✅ allows wrapping on small screens */
}

.explore-course-section .explore-course .card {
    background: #fff;
    border-radius: 12px;
    width: calc(80% / 3);
    padding: 0 0 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.explore-course-section .explore-course .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.explore-course-section .explore-course .card img {
    width: 100%;
    height: 25vh;
    object-fit: cover;
}

.explore-course-section .explore-course .card h3 {
    margin: 5px 0 5px;
    padding: 5px 20px;
    font-size: 1.1rem;
    color: #fb5c7e;
}

.explore-course-section .explore-course .card p {
    margin: 0 0 10px;
    padding: 5px 20px;
    display: flex;
    overflow: hidden;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    align-items: center;
}

.explore-course-section button {
    margin: auto;
    width: 180px;
    display: block;
    border: none;
    background: #f26638;
    color: #fff;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-course-section button:hover {
    background: #89391f;
    transform: scale(1.05);
}

/* ✅ Responsive Breakpoints */

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .explore-course-section .explore-course .card {
        width: calc(90% / 2);
        /* 2 cards per row */
    }

    .explore-course-section h2 {
        font-size: 1.8em;
    }

    .explore-course-section {
        padding: 30px;
    }
}

@media(max-width:786px) {
    .courseProgressSection .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens (mobiles) */
@media (max-width: 600px) {
    .courseProgressSection .cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .courseProgressSection .cards .progress-label,
    .courseProgressSection .cards p {
        font-size: 12px;
    }

    .explore-course-section {
        width: 95%;
        padding: 20px;
    }

    .explore-course-section h2 {
        font-size: 1.5em;
    }

    .explore-course-section .explore-course {
        flex-direction: column;
        align-items: center;
    }

    .explore-course-section .explore-course .card {
        width: 90%;
        /* full width */
    }

    .explore-course-section .explore-course .card img {
        height: 200px;
    }

    .explore-course-section button {
        width: 60%;
        font-size: 0.95rem;
    }
}

@media (max-width:320px) {

    .courseSection .carousel,
    .courseSection .courseProgressSection {
        flex: 1 1 calc(100% - 10px);
        /* perfect two-column layout */
    }

    .courseProgressSection {
        /* width: 100%; */
        padding: 10px;
    }
}