/*** Custom Color Variables ***/
:root {
    --primary-gold: #E5BA07;
    --dark-gold: #B8860B;
    --pure-black: #030413;
    --soft-black: #1a1a1a;
    --pure-white: #FFFFFF;
    --light-gray: #f8f9fa;
    --text-gray: #666666;
    --course-bg: #ffffff;
    --course-shadow: rgba(0,0,0,0.08);
    --course-hover-shadow: rgba(0,0,0,0.15);
    --rating-star: #E5BA07;
    --success-green: #28a745;
    --sidebar-bg: #f8f9fa;
    --border-light: #e9ecef;
}

.text-warning {
    color: #E5BA07;
}

.bg-dark {
    background-color: #000000 !important;
}

/*** Header Text  ***/
.hedText {
    font-size: 50px !important;
    color: #000000;
}

.card-img-top {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
    background: var(--primary-gold) !important;
    color: var(--pure-black) !important;
}

.back-to-top:hover {
    background: var(--dark-gold) !important;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.display-5{
    margin-top: 240px !important;
}

.ent-card {
    background-color: #d7dedf !important;
}

.social {
    /* background: var(--primary-gold) !important; */
    color: var(--pure-black) !important;
    font-family: 'Roboto', sans-serif;
    border: 2px solid var(--primary-gold) !important;
    font-weight: 600;
    transition: 0.5s;
    margin-right: 10px !important;
}

.social:hover {
    background: var(--pure-black) !important;
    color: var(--pure-white) !important;
    border-color: var(--pure-black);
}

.btn.btn-primary {
    background: var(--primary-gold) !important;
    color: var(--pure-black) !important;
    font-family: 'Roboto', sans-serif;
    border: 2px solid var(--primary-gold);
    font-weight: 600;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--pure-black) !important;
    color: var(--primary-gold) !important;
    border-color: var(--primary-gold);
}

.btn.btn-dark {
    background: var(--pure-black) !important;
    color: var(--primary-gold) !important;
    font-family: 'Roboto', sans-serif;
    border: 2px solid var(--pure-black);
    font-weight: 600;
    transition: 0.5s;
}

.btn.btn-dark:hover {
    background: var(--primary-gold) !important;
    color: var(--pure-black) !important;
    border-color: var(--primary-gold);
}

.btn.btn-light {
    background: var(--pure-white) !important;
    color: var(--pure-black) !important;
    font-family: 'Roboto', sans-serif;
    border: 2px solid var(--pure-white);
    font-weight: 600;
    transition: 0.5s;
    margin-right: 5px !important;
}

.btn.btn-light:hover {
    background: var(--primary-gold) !important;
    color: var(--pure-black) !important;
    border-color: var(--primary-gold);
}

/*** Topbar Start ***/
.topbar {
    padding: 8px 10px 8px 20px;
    background: var(--pure-black) !important;
}

.topbar a {
    color: #FFFFFF !important;
}

.topbar a:hover {
    color: var(--primary-gold) !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top,
.sticky-top .container {
    transition: 0.5s !important;
}

.navbar {
    background: var(--pure-white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .navbar-brand h1 {
    color: var(--primary-gold) !important;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--pure-black) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    margin: 0 10px !important;
}

/* Active menu styling */
.navbar .navbar-nav .nav-item.active .nav-link,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary-gold) !important;
    background: var(--pure-black);
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-item:hover .nav-link {
    color: var(--primary-gold) !important;
    transform: translateY(-2px);
}

/* Remove old border effects */
.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    display: none;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    color: var(--primary-gold);
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 2px solid var(--primary-gold);
        border-radius: 10px;
        margin-top: 20px !important;
        transition: .5s;
        opacity: 0;
        z-index: 9;
        background: var(--pure-white) !important;
    }
}

@media (max-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        margin-top: 15px !important;
        transition: 0.5s;
        background: var(--pure-white) !important;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item.nav-link {
        margin: 15px 0 !important;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--primary-gold) !important;
    color: var(--pure-black) !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--pure-white) !important;
    margin-top: 20px !important;
    transition: .5s;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--pure-black);
    background: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .95);
    border: 2px solid var(--primary-gold);
}
/*** Navbar End ***/

/*** Carousel Header Start ***/
.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 75vh; /* Reduced by 25% from 100vh */
}

.header-carousel .header-carousel-item img {
    height: 75vh !important; /* Reduced by 25% */
    object-fit: cover;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 20px;
    border-radius: 40px;
    background: var(--primary-gold);
    color: var(--pure-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    border: 2px solid var(--primary-gold);
}

.owl-prev {
    left: 30px;
}

.owl-next {
    right: 30px;
}

.owl-prev:hover,
.owl-next:hover {
    background: var(--pure-black) !important;
    color: var(--primary-gold) !important;
}

.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
    position: relative;
    overflow: hidden;
}

/* .header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
    border-radius: 300px;
    border: 100px solid rgba(255, 215, 0, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
} */

@keyframes RotateMoveCircle {
    /* 0% {top: -400px;}
    50%   {right: -200px;}
    75%   {top: -200px;}
    100%  {top: -400px;} */
}

/* .header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 70px;
    transform: rotate(-30deg);
    background: rgba(255, 215, 0, 0.3);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
} */

@keyframes RotateMoveRight {
    /* 0%   {left: 0px;}
    50%   {left: 70px;}
    100%  {left: 0px;} */
}

/* .header-carousel .header-carousel-item::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 1200px;
    top: -150px;
    left: -265px;
    transform: rotate(-30deg);
    background: var(--pure-black);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.9;
    z-index: 2 !important;
} */

@keyframes RotateMoveLeft {
    0%   {left: -240px;}
    50%   {left: -300px;}
    100%  {left: -240px;}
}

.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2 !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item {
        height: 60vh; /* Further reduced for mobile */
    }
    
    .header-carousel .header-carousel-item img {
        height: 60vh !important;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 10px;
    }

    .owl-prev,
    .owl-next {
        top: 40px !important;
    }

    .owl-prev {
        left: 65%;
    }
}
/*** Header Carousel End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--primary-gold) !important;
}
/*** Single Page Hero Header End ***/

/*** About Start ***/
.about .text {
    position: relative;
}

.about .text::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-gold);
}

.about .bg-light {
    background: var(--light-gray) !important;
}
/*** About End ***/

/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.5s ease;
}

.service .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(255, 215, 0, 0.3);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(255, 215, 0, 0.8);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
    background: var(--pure-white);
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--pure-black);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--primary-gold) !important;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--primary-gold) !important;
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner a.h4:hover {
    color: var(--pure-white) !important;
}
/*** Service End ***/

/*** Project Start ***/
.project .project-carousel.owl-carousel {
    height: 100%;
}

.project .project-carousel .project-item {
    position: relative;
    overflow: hidden;
}

.project .project-carousel .project-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project .project-carousel .project-item .project-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.8);
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img::after {
    height: 100%;
}

.project .project-carousel .project-item .project-img img {
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img img {
    transform: scale(1.2);
}

.project .project-carousel .project-item .project-content {
    position: relative;
    width: 75%;
    height: 100%;
    bottom: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    box-shadow: 0 0 45px rgba(255, 215, 0, 0.1);
    background: var(--pure-white);
}

.project .project-carousel .project-item .project-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px !important;
    background: var(--pure-black);
    transition: 0.5s;
}

.project .project-carousel .project-item .project-content .project-content-inner {
    position: relative;
    z-index: 2;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner p,
.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4,
.project .project-carousel .project-item:hover .project-content .project-content-inner .project-icon i {
    color: var(--primary-gold) !important;
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4:hover {
    color: var(--pure-white) !important;
}

.project .project-carousel .project-item:hover .project-content::after {
    height: 100%;
}

.project-carousel .owl-dots {
    position: absolute;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -120px;
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    background: var(--pure-black);
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 40px;
    border: 8px solid var(--primary-gold);
}
/*** Project End ***/

/*** Blog Start ***/
.blog .blog-item {
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.blog .blog-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.blog .blog-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .project-img .blog-plus-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 215, 0, 0.8);
    transition: 0.5s;
    opacity: 0;
}

.blog .blog-item:hover .project-img .blog-plus-icon {
    opacity: 1;
}

.blog .blog-item .project-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .project-img img {
    transform: scale(1.3);
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-gold);
    transition: 0.5s;
}

.team .team-item:hover {
    border: 2px solid var(--dark-gold) !important;
    transform: translateY(-10px);
}

.team .team-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    border: 1px solid;
    border-color: var(--primary-gold) transparent transparent var(--primary-gold) !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 10px;
    border: 1px solid;
    border-color: transparent var(--primary-gold) var(--primary-gold) transparent !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item:hover:after,
.team .team-item:hover::before {
    width: 100% !important;
    height: 100% !important;
    opacity: 1;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(255, 215, 0, 0.8);
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 8;
    transition: 0.5s;
}

.team .team-item .team-img .team-icon .team-icon-share {
    position: relative;
    margin-top: -200px;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon .team-icon-share {
    margin-top: 0 !important;
}

.team .team-item .team-content {
    position: relative;
    background: var(--pure-black);
}

.team .team-item .team-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-gold) !important;
    transition: 0.5s;
}

.team .team-item .team-content::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--primary-gold) !important;
    transition: 0.5s;
}

.team .team-item:hover .team-content::after,
.team .team-item:hover .team-content::before {
    width: 100% !important;
    height: 50% !important;
}

.team .team-item:hover .team-content .team-content-inner {
    position: relative;
    color: var(--pure-black);
    z-index: 2;
}

.team .team-item .team-content .team-content-inner h4,
.team .team-item .team-content .team-content-inner p {
    transition: 0.5s;
}

.team .team-item:hover .team-content .team-content-inner p {
    color: var(--pure-black) !important;
}

.team .team-item:hover .team-content .team-content-inner h4 {
    color: var(--pure-black) !important;
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--light-gray);
    border: 2px solid var(--primary-gold);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 40px;
    background: var(--primary-gold);
}
/*** Testimonial End ***/

/*** FAQ'S Start ***/
.faq {
    position: relative;
    overflow: hidden;
}

.faq::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/bg.png);
    object-fit: cover;
    z-index: -1;
}

.faq .faq-img {
    position: relative;
}

.faq .faq-img .faq-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.accordion-button {
    background: var(--pure-black) !important;
    color: var(--pure-white) !important;
    font-weight: 700 !important;
}

.accordion-button:not(.collapsed) {
    background: var(--pure-black) !important;
    color: var(--primary-gold) !important;
}
/*** FAQ'S End ***/

/*** Footer Start ***/
.footer {
    background: var(--pure-black);
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--pure-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
    color: var(--pure-white);
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--primary-gold);
}

.footer .footer-item-post a {
    transition: 0.5s;
    color: var(--pure-white);
}

.footer .footer-item-post a:hover {
    color: var(--primary-gold) !important;
}

.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
    color: var(--pure-white);
}

.footer .footer-item-post .footer-btn a:hover {
    color: var(--pure-black);
    background: var(--primary-gold);
}

.footer h4 {
    color: var(--primary-gold) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    background: var(--pure-black) !important;
}

.copyright .text-body {
    color: var(--pure-white) !important;
}

.copyright a {
    color: var(--primary-gold) !important;
}
/*** copyright end ***/

/*** Custom Dechomai Sections ***/
.stats-section {
    background: var(--pure-black);
    color: var(--pure-white);
}

.stats-section .counter-value {
    color: var(--pure-black) !important;
}

.impact-card {
    background: var(--pure-white);
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    transition: all 0.3s ease;
}

/*** Learning Platform Styles - Udemy Inspired ***/

/* Course Grid Styles */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.course-card {
    background: var(--course-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--course-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--course-hover-shadow);
}

.course-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-level-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.course-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.course-content {
    padding: 20px;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--soft-black);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-instructor {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rating-stars {
    color: var(--rating-star);
    font-size: 14px;
}

.rating-number {
    font-weight: 600;
    color: var(--soft-black);
    font-size: 14px;
}

.rating-count {
    color: var(--text-gray);
    font-size: 12px;
}

.course-price {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-top: 16px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--soft-black);
}

.price-original {
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: line-through;
    margin-left: 8px;
}

.course-progress {
    background: var(--light-gray);
    height: 6px;
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-gold);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Course Detail Page Styles */
.course-hero {
    background: #140d48;
    color: white;
    padding: 40px 0;
}

.course-hero .container {
    position: relative;
}

.course-sidebar {
    position: sticky;
    top: 100px;
    background: var(--course-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--course-shadow);
    overflow: hidden;
}

.sidebar-video {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--soft-black);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.sidebar-content {
    padding: 24px;
}

.price-section {
    margin-bottom: 24px;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--soft-black);
}

.original-price {
    font-size: 18px;
    color: var(--text-gray);
    text-decoration: line-through;
    margin-left: 8px;
}

.discount-badge {
    background: var(--success-green);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
}

.course-includes {
    margin: 24px 0;
}

.course-includes h6 {
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--soft-black);
}

.course-includes ul {
    list-style: none;
    padding: 0;
}

.course-includes li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.course-includes li i {
    color: var(--success-green);
    width: 16px;
}

/* Course Curriculum Styles */
.curriculum-section {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.curriculum-header {
    background: var(--light-gray);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.curriculum-stats {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-gray);
}

.module-item {
    border-bottom: 1px solid var(--border-light);
}

.module-header {
    padding: 16px 20px;
    background: var(--sidebar-bg);
    cursor: pointer;
    display: flex;
    justify-content: between;
    align-items: center;
    font-weight: 600;
}

.module-header:hover {
    background: #f0f0f0;
}

.lesson-list {
    display: none;
}

.lesson-list.show {
    display: block;
}

.lesson-item {
    padding: 12px 20px 12px 40px;
    display: flex;
    justify-content: between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.lesson-item:hover {
    background: var(--light-gray);
}

.lesson-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lesson-icon {
    width: 20px;
    text-align: center;
    color: var(--text-gray);
}

.lesson-title {
    font-size: 14px;
    color: var(--soft-black);
}

.lesson-duration {
    font-size: 12px;
    color: var(--text-gray);
}

.lesson-preview {
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Learning Interface Styles */
.learning-interface {
    min-height: 100vh;
    background: var(--light-gray);
}

.learning-sidebar {
    background: white;
    border-right: 1px solid var(--border-light);
    height: 100vh;
    overflow-y: auto;
}

.course-progress-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.progress-info {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-percentage {
    font-weight: 600;
    color: var(--soft-black);
}

.lesson-sidebar {
    padding: 0;
}

.sidebar-lesson-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-lesson-item:hover {
    background: var(--light-gray);
}

.sidebar-lesson-item.active {
    background: var(--primary-gold);
    color: var(--pure-black);
}

.sidebar-lesson-item.completed {
    background: #e8f5e8;
}

.sidebar-lesson-item.completed .lesson-icon {
    color: var(--success-green);
}

.video-container {
    background: var(--pure-black);
    position: relative;
}

.video-player {
    width: 100%;
    height: 60vh;
    background: var(--pure-black);
}

.lesson-content {
    padding: 24px;
    background: white;
}

.lesson-header {
    margin-bottom: 24px;
}

.lesson-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--soft-black);
    margin-bottom: 8px;
}

.lesson-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-gray);
}

.lesson-description {
    line-height: 1.6;
    color: var(--text-gray);
}

.lesson-navigation {
    display: flex;
    justify-content: between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .course-sidebar {
        position: relative;
        top: auto;
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .course-hero {
        padding: 24px 0;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .learning-sidebar {
        height: auto;
    }
    
    .video-player {
        height: 250px;
    }
    
    .lesson-content {
        padding: 16px;
    }
    
    .lesson-navigation {
        flex-direction: column;
        gap: 12px;
    }
}

/* Filter and Search Styles */
.course-filters {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-item label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 14px;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 10px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-gold);
}

/* My Courses Specific Styles */
.enrolled-badge {
    background: var(--success-green);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.continue-learning-btn {
    background: var(--primary-gold);
    color: var(--pure-black);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.continue-learning-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-1px);
}

/* Loading and Empty States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--border-light);
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--soft-black);
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 24px;
}