        :root {
            --primary-color: #1e3a8a;
            --secondary-color: #3b82f6;
            --text-dark: #1f2937;
            --text-gray: #6b7280;
            --border-color: #e5e7eb;
        }

        /* Container Variants */
        .nav-container,
        .header-container,
        .hero-container,
        .category-container,
        .courses-container,
        .featured-container,
        .recent-container,
        .instructor-section-container,
        .instructors-container,
        .companies-container,
        .stats-container,
        .footer-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* ── Hero Section ───────────────────────────────────────── */
        .hero-section {
            background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #1d4ed8 100%);
            padding: 4.5rem 0 5rem;
            position: relative;
            overflow: hidden;
        }
        .hero-section::before {
            content: '';
            position: absolute; inset: 0;
            background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(99,102,241,.18) 0%, transparent 70%);
            pointer-events: none;
        }

        /* Badge */
        .hero-badge {
            display: inline-flex; align-items: center; gap: .55rem;
            background: rgba(255,255,255,.12);
            border: 1px solid rgba(255,255,255,.22);
            color: #fff;
            padding: .35rem 1rem; border-radius: 50px;
            font-size: .78rem; font-weight: 600; letter-spacing: .04em;
            backdrop-filter: blur(6px);
        }
        .hero-badge-dot {
            width: 8px; height: 8px; border-radius: 50%;
            background: #4ade80;
            box-shadow: 0 0 0 3px rgba(74,222,128,.3);
            animation: pulse-dot 2s infinite;
            flex-shrink: 0;
        }
        @keyframes pulse-dot {
            0%,100% { box-shadow: 0 0 0 3px rgba(74,222,128,.3); }
            50%      { box-shadow: 0 0 0 6px rgba(74,222,128,.1); }
        }

        /* Title */
        .hero-title {
            font-size: 3.25rem;
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 1.25rem;
            color: #fff;
            letter-spacing: -.02em;
        }
        .hero-title-accent { color: #fcd34d; }

        /* Subtitle */
        .hero-text {
            font-size: 1.05rem;
            color: rgba(255,255,255,.78);
            margin-bottom: 1.75rem;
            line-height: 1.75;
            max-width: 520px;
        }

        /* Search */
        .hero-search-form { max-width: 540px; }
        .hero-search-wrap {
            display: flex; align-items: center;
            background: #fff;
            border-radius: 12px;
            padding: .35rem .35rem .35rem 1rem;
            box-shadow: 0 8px 32px rgba(0,0,0,.18);
        }
        .hero-search-icon { color: #9ca3af; font-size: .9rem; flex-shrink: 0; margin-right: .6rem; }
        .hero-search-input {
            flex: 1; border: none; outline: none;
            font-size: .92rem; color: #111827;
            background: transparent;
            min-width: 0;
        }
        .hero-search-input::placeholder { color: #9ca3af; }
        .hero-search-btn {
            background: #1e3a8a; color: #fff;
            border: none; border-radius: 8px;
            padding: .6rem 1.4rem;
            font-size: .88rem; font-weight: 700;
            cursor: pointer; flex-shrink: 0;
            transition: background .2s;
        }
        .hero-search-btn:hover { background: #1d4ed8; }

        /* CTA Buttons */
        .hero-btn-primary {
            display: inline-flex; align-items: center;
            background: #fff; color: #1e3a8a;
            padding: .7rem 1.6rem; border-radius: 10px;
            font-size: .9rem; font-weight: 700;
            text-decoration: none; white-space: nowrap;
            transition: all .2s; box-shadow: 0 4px 16px rgba(0,0,0,.15);
        }
        .hero-btn-primary:hover { background: #fcd34d; color: #1e3a8a; transform: translateY(-2px); }
        .hero-btn-outline {
            display: inline-flex; align-items: center;
            background: rgba(255,255,255,.12); color: rgba(255,255,255,.92);
            padding: .7rem 1.6rem; border-radius: 10px;
            font-size: .9rem; font-weight: 600;
            text-decoration: none; white-space: nowrap;
            border: 1.5px solid rgba(255,255,255,.3);
            backdrop-filter: blur(6px);
            transition: all .2s;
        }
        .hero-btn-outline:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }

        /* Stats */
        .hero-stats {
            display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
        }
        .hero-stat-item { text-align: left; }
        .hero-stat-num { font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1.1; }
        .hero-stat-label { font-size: .72rem; color: rgba(255,255,255,.65); margin-top: 2px; }
        .hero-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,.2); }

        /* Image Wrap */
        .hero-img-wrap { position: relative; }
        .hero-image {
            width: 100%; height: auto;
            border-radius: 20px;
            box-shadow: 0 30px 80px rgba(0,0,0,.35);
            display: block;
            position: relative; z-index: 2;
        }

        /* Floating Cards */
        .hero-float {
            position: absolute; z-index: 5;
            background: #fff;
            border-radius: 12px;
            padding: .65rem 1rem;
            display: flex; align-items: center; gap: .7rem;
            box-shadow: 0 8px 32px rgba(0,0,0,.15);
            white-space: nowrap;
            animation: float-y 4s ease-in-out infinite;
        }
        .hero-float-tl { top: -18px; left: -20px; }
        .hero-float-br { bottom: 28px; right: -20px; animation-delay: 2s; }
        .hero-float-cert {
            position: absolute; z-index: 5;
            bottom: -16px; left: 24px;
            background: #ecfdf5; color: #059669;
            border-radius: 50px; padding: .4rem 1rem;
            font-size: .75rem; font-weight: 700;
            display: flex; align-items: center; gap: .4rem;
            box-shadow: 0 4px 16px rgba(0,0,0,.12);
            animation: float-y 4s ease-in-out infinite;
            animation-delay: 1s;
        }
        @keyframes float-y {
            0%,100% { transform: translateY(0); }
            50%      { transform: translateY(-8px); }
        }
        .hero-float-icon {
            width: 36px; height: 36px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
        }
        .hero-float-num { font-size: .92rem; font-weight: 800; color: #111827; }
        .hero-float-lbl { font-size: .68rem; color: #6b7280; }

        /* Decorative blobs */
        .hero-blob {
            position: absolute; border-radius: 50%;
            filter: blur(60px); pointer-events: none; z-index: 1;
        }
        .hero-blob-1 { width: 260px; height: 260px; background: rgba(99,102,241,.2); top: -40px; right: 30px; }
        .hero-blob-2 { width: 180px; height: 180px; background: rgba(251,191,36,.15); bottom: 20px; left: 20px; }

        /* Responsive */
        @media (max-width: 1199px) {
            .hero-title { font-size: 2.75rem; }
        }
        @media (max-width: 991px) {
            .hero-section { padding: 3rem 0 4rem; }
            .hero-title { font-size: 2.4rem; }
            .hero-text { max-width: 100%; }
        }
        @media (max-width: 767px) {
            .hero-section { padding: 2.5rem 0 3rem; }
            .hero-title { font-size: 2rem; }
            .hero-text { font-size: .95rem; }
            .hero-search-btn { padding: .6rem .9rem; font-size: .8rem; }
        }
        @media (max-width: 575px) {
            .hero-title { font-size: 1.75rem; }
            .hero-text { font-size: .9rem; }
            .hero-stats { gap: 1rem; }
            .hero-stat-num { font-size: 1.1rem; }
        }

        /* Category Section */
        .section-title {
            font-size: 2rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--text-dark);
        }

        .category-card {
            background: white;
            /* padding: 1.5rem;
            margin-bottom: 1.5rem; */
            /* border: 1px solid var(--border-color); */
            transition: all 0.3s;
            cursor: pointer;
        }

        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .category-icon {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin: 1rem;
        }

        .category-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .category-count {
            font-size: 0.875rem;
            color: var(--text-gray);
        }

        /* Course Card */
        .course-card {
            background: #fff;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid #eef0f3;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }

        .course-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
        }

        .become_course-card {
            background: white;
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: all 0.3s;
            height: 100%;
        }


        .course-image {
            width: 100%;
            height: 190px;
            object-fit: cover;
        }

        @media (max-width: 768px) {
            .course-image {
                height: 160px;
            }
        }


        .course-body {
            padding: 16px;
        }


        .course-category {
            font-size: 11px;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 6px;
            letter-spacing: 0.4px;
        }


        .course-title {
            font-size: 16px;
            font-weight: 600;
            line-height: 1.4;
            margin-top: 6px;
            color: var(--text-dark);

            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        @media (max-width: 768px) {
            .course-title {
                font-size: 15px;
            }
        }

        .course-rating {
            color: #fbbf24;
            font-size: 0.875rem;
        }

        .course-meta {
            font-size: 13px;
            color: #6b7280;
        }

        @media (max-width: 768px) {
            .course-meta {
                font-size: 12px;
            }
        }

        .course-price {
            font-size: 15px;
            font-weight: 700;
            color: #2563eb;
        }

        @media (max-width: 768px) {
            .course-price {
                font-size: 14px;
            }
        }


        /* Feature Course Card */
        .feature-course-card {
            background: white;
            /* padding: 1.25rem; */
            border: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
            display: flex;
            gap: 1.5rem;
            transition: all 0.3s;
        }

        .feature-course-card:hover {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .feature-course-image {
            width: 200px;
            /* height: 140px; */
            object-fit: cover;
            flex-shrink: 0;
        }

        .feature-course-content {
            flex: 1;
        }

        .feature-course-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--secondary-color);
        }

        .course-info-item {
            display: inline-flex;
            align-items: center;
            margin-right: 1.5rem;
            color: var(--text-gray);
            font-size: 0.875rem;
        }

        .course-info-item i {
            margin-right: 0.25rem;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            padding: 2.7rem;
            color: white;
            /* margin: 4rem 0; */
        }

        .cta-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .cta-text {
            font-size: 1.125rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        /* Steps Section */
        .steps-section {
            background: white;
            padding: 3rem;
            border: 1px solid var(--border-color);
        }

        .step-item {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .step-number {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.25rem;
            margin-right: 1rem;
            flex-shrink: 0;
        }

        .step-text {
            font-size: 1rem;
            font-weight: 500;
        }

        /* Instructor Card */
        .instructor-card {
            text-align: center;
            /* padding: 1.5rem; */
        }

        .instructor-image {
            width: 120px;
            height: 120px;
            object-fit: cover;
            /* margin: 0 auto 1rem; */
        }

        .instructor-name {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .instructor-title {
            font-size: 0.875rem;
            color: var(--text-gray);
            margin-bottom: 0.5rem;
        }

        .instructor-rating {
            color: #fbbf24;
            font-size: 0.875rem;
        }

        /* Company Logos */
        .company-logo {
            height: 40px;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s;
        }

        .company-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
        }

        /* Stats Section */
        .stats-section {
            background-color: #111827;
            color: white;
            padding: 4rem 0;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.8;
        }

        /* Footer */
        .footer-newsletter {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            padding: 3rem 0;
        }

        .footer-newsletter h3 {
            font-size: 1.6rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.4rem;
        }

        .footer-newsletter p {
            color: rgba(255,255,255,0.8);
            margin-bottom: 0;
            font-size: 0.95rem;
        }

        .footer-newsletter-form {
            display: flex;
            gap: 0.5rem;
            max-width: 480px;
        }

        .footer-newsletter-form input {
            flex: 1;
            padding: 0.75rem 1.2rem;
            border-radius: 50px;
            border: none;
            font-size: 0.9rem;
            outline: none;
            color: var(--text-dark);
        }

        .footer-newsletter-form button {
            padding: 0.75rem 1.6rem;
            border-radius: 50px;
            border: 2px solid #fff;
            background: transparent;
            color: #fff;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }

        .footer-newsletter-form button:hover {
            background: #fff;
            color: var(--primary-color);
        }

        .footer {
            background: linear-gradient(160deg, #0a0f1e 0%, #111827 50%, #0d1117 100%);
            color: white;
            padding: 4rem 0 0;
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            display: none;
        }

        .footer-glow {
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
            top: -100px;
            right: -100px;
            pointer-events: none;
        }

        .footer-title {
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #fff;
            margin-bottom: 1.25rem;
            position: relative;
            padding-bottom: 0.6rem;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 32px;
            height: 2px;
            background: linear-gradient(90deg, var(--secondary-color), #8b5cf6);
            border-radius: 2px;
        }

        .footer-desc {
            color: rgba(255,255,255,0.55);
            font-size: 0.9rem;
            line-height: 1.75;
            margin-bottom: 1.5rem;
        }

        .footer-link {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-bottom: 0.65rem;
            font-size: 0.9rem;
            transition: all 0.25s;
        }

        .footer-link::before {
            content: '›';
            font-size: 1.1rem;
            color: var(--secondary-color);
            opacity: 0;
            transform: translateX(-6px);
            transition: all 0.25s;
        }

        .footer-link:hover {
            color: #fff;
            padding-left: 6px;
        }

        .footer-link:hover::before {
            opacity: 1;
            transform: translateX(0);
        }

        .footer-ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-ul li a {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-bottom: 0.65rem;
            font-size: 0.9rem;
            transition: all 0.25s;
        }

        .footer-ul li a::before {
            content: '›';
            font-size: 1.1rem;
            color: var(--secondary-color);
            opacity: 0;
            transform: translateX(-6px);
            transition: all 0.25s;
        }

        .footer-ul li a:hover {
            color: #fff;
            padding-left: 6px;
        }

        .footer-ul li a:hover::before {
            opacity: 1;
            transform: translateX(0);
        }

        .social-icons-wrap {
            display: flex;
            gap: 0.6rem;
            flex-wrap: wrap;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.05);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        }

        .social-icon:hover {
            background: linear-gradient(135deg, var(--secondary-color), #8b5cf6);
            border-color: transparent;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(59,130,246,0.35);
        }

        .app-badge-wrap {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .app-badge-btn {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 10px;
            padding: 0.55rem 1rem;
            color: #fff;
            text-decoration: none;
            transition: all 0.3s;
        }

        .app-badge-btn:hover {
            background: rgba(255,255,255,0.14);
            border-color: rgba(255,255,255,0.25);
            color: #fff;
            transform: translateX(4px);
        }

        .app-badge-btn i {
            font-size: 1.6rem;
            color: rgba(255,255,255,0.85);
        }

        .app-badge-btn .btn-text small {
            display: block;
            font-size: 0.68rem;
            color: rgba(255,255,255,0.55);
            line-height: 1;
            margin-bottom: 2px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .app-badge-btn .btn-text strong {
            font-size: 0.95rem;
            font-weight: 600;
        }

        .footer-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            margin: 3rem 0 0;
        }

        .copyright {
            padding: 1.25rem 0;
            text-align: center;
            color: rgba(255, 255, 255, 0.45);
            font-size: 0.82rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
        }

        .copyright i {
            color: #ef4444;
            font-size: 0.75rem;
        }

        .copyright-bar {
            padding: 1rem 0;
            text-align: center;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.82rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
        }

        .copyright-brand {
            color: #a78bfa;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .footer-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(109,40,217,0.15);
            border: 1px solid rgba(109,40,217,0.3);
            color: #a78bfa;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 50px;
            margin-bottom: 12px;
        }

        .footer-newsletter-input {
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.15);
            color: #fff;
            border-radius: 8px 0 0 8px;
            padding: 10px 14px;
            font-size: 0.85rem;
            outline: none;
            width: 100%;
            transition: border-color 0.2s;
        }

        .footer-newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
        .footer-newsletter-input:focus { border-color: rgba(109,40,217,0.6); background: rgba(255,255,255,0.1); }

        .footer-newsletter-btn {
            background: linear-gradient(135deg, #6d28d9, #7c3aed);
            color: #fff;
            border: none;
            border-radius: 0 8px 8px 0;
            padding: 10px 16px;
            font-size: 0.88rem;
            font-weight: 600;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.3s;
        }

        .footer-newsletter-btn:hover { background: linear-gradient(135deg, #5b21b6, #6d28d9); }

        .bg_selling {
            background-color: #e9ecef !important;
        }

        @media (max-width: 768px) {
            .feature-course-card {
                flex-direction: column;
            }

            .feature-course-image {
                width: 100%;
                height: 200px;
            }

            .cta-section {
                padding: 2rem;
            }

            .section-title {
                font-size: 1.75rem;
            }
        }

        @media (max-width: 576px) {
            .stat-number {
                font-size: 2rem;
            }
        }

        .category-text {
            padding: 10px;
            margin: inherit;
        }

        .instructor-section {
            background-color: #f1f5f9;
        }

        .bg-light {
            --bs-bg-opacity: 1;
            background-color: rgb(241 245 249) !important;
        }

        .st_dash_tody {
            background-color: rgb(255 238 232) !important;

        }



        .instructors-container {
            background-color: white;
            /* margin-top: 5px; */
            padding: 34px;
        }

        .recent-container {
            background-color: white;
        }

        .featured-container {

            background-color: white;
            padding: 55px;
        }

        .main_logo {
            max-width: 100px;
        }

        .browse_all {
            background-color: #35353b;
            color: white;
        }

        .logo-card {
            background: #fff;
            padding: 30px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            /* Slight round corners */
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            /* Soft shadow like image */
            height: 120px;
            transition: transform 0.3s ease;
        }

        .logo-card:hover {
            transform: translateY(-5px);
        }

        .logo-card img {
            max-width: 100%;
            height: auto;
            max-height: 50px;
            /* Logos ki height ek jaisi rakhta hai */
            object-fit: contain;
        }

        .bg-white {
            background-color: white;
        }



        /* detail page */

        .breadcrumb {
            font-size: 0.875rem;
            background: transparent;
            padding: 1rem 0;
        }

        .breadcrumb-item+.breadcrumb-item::before {
            content: ">";
            color: var(--text-light);
        }



        .course-subtitle {
            font-size: 1.125rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }

        .instructor-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .instructor-avatars {
            display: flex;
            margin-right: 0.5rem;
        }

        .instructor-avatars img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid white;
            margin-left: -10px;
        }

        .instructor-avatars img:first-child {
            margin-left: 0;
        }

        .instructor-names {
            font-size: 0.875rem;
            color: var(--text-dark);
        }

        .rating-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #fef3c7;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.875rem;
        }

        .star-rating {
            color: #f59e0b;
        }

        .video-container {
            position: relative;
            background: linear-gradient(135deg, #ffc0cb 0%, #ffc0cb 50%, #e0b0d5 50%, #e0b0d5 100%);
            border-radius: 8px;
            overflow: hidden;
            margin: 2rem 0;
        }

        .video-placeholder {
            position: relative;
            padding-top: 56.25%;
            background-size: cover;
            background-position: center;
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .play-button i {
            font-size: 2rem;
            color: var(--primary-color);
            margin-left: 5px;
        }

        .nav-tabs {
            border-bottom: 2px solid #e2e8f0;
        }

        .nav-tabs .nav-link {
            color: var(--text-light);
            border: none;
            padding: 1rem 1.5rem;
            font-weight: 500;
        }

        .nav-tabs .nav-link.active {
            color: var(--primary-color);
            border-bottom: 3px solid var(--primary-color);
            background: transparent;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 2rem 0 1rem 0;
        }

        .learning-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 1rem;
            padding: 0.75rem;
            background: #f7fafc;
            border-radius: 6px;
        }

        .learning-item i {
            color: #10b981;
            font-size: 1.25rem;
            flex-shrink: 0;
        }



        .curriculum-section {
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin-bottom: 1rem;
        }

        .curriculum-header {
            background: #f7fafc;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #e2e8f0;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .curriculum-stats {
            display: flex;
            gap: 2rem;
            font-size: 0.875rem;
            color: var(--text-light);
        }

        .sidebar-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 1.5rem;
            position: sticky;
            top: 20px;
        }

        .price-section {
            margin-bottom: 1.5rem;
        }

        .current-price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-dark);
        }

        .original-price {
            font-size: 1.125rem;
            color: var(--text-light);
            text-decoration: line-through;
            margin-left: 0.5rem;
        }

        .discount-badge {
            display: inline-block;
            background: #fef3c7;
            color: #92400e;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-left: 0.5rem;
        }

        .time-left {
            color: #ef4444;
            font-size: 0.875rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .btn-add-cart {
            width: 100%;
            padding: 0.875rem;
            font-size: 1rem;
            font-weight: 600;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 6px;
            margin-bottom: 0.75rem;
        }

        .btn-buy-now {
            width: 100%;
            padding: 0.875rem;
            font-size: 1rem;
            font-weight: 600;
            background: white;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            border-radius: 6px;
            margin-bottom: 1.5rem;
        }

        .guarantee-text {
            text-align: center;
            font-size: 0.875rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }

        .course-includes {
            margin-bottom: 1.5rem;
        }

        .course-includes h6 {
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .includes-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            font-size: 0.875rem;
        }

        .includes-item i {
            color: var(--text-dark);
            font-size: 1rem;
        }

        .share-section h6 {
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .social-links {
            display: flex;
            gap: 0.75rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            color: var(--text-dark);
            text-decoration: none;
        }

        .social-link:hover {
            background: var(--secondary-color);
        }

        .btn-wishlist {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            color: var(--text-dark);
            text-decoration: none;
            font-size: 0.875rem;
        }

        .course-img {
            max-width: 82px;
            max-height: 73px;
        }

        .payment-option {
            border: 1px solid #e9ecef;
            border-radius: 4px;
            padding: 15px 20px;
            margin-bottom: 12px;
            background-color: #fff;
            transition: all 0.2s ease-in-out;
        }

        /* Active state with green border */
        .payment-option.active {
            border: 1.5px solid #2ecc71 !important;
        }

        .payment-text {
            font-size: 15px;
            color: #495057;
        }

        .payment-meta {
            font-size: 14px;
            color: #6c757d;
        }

        .paypal-info {
            font-size: 13px;
            color: #adb5bd;
        }

        /* Main Section Styling */
        .watch_course_comment_section {
            background-color: #fff;
            padding: 20px 0;
        }

        /* Header */
        .watch_course_comment_title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 25px;
            color: #1e293b;
        }

        /* User Avatar */
        .watch_course_comment_avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
        }

        /* Comment Body */
        .watch_course_comment_name {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            margin-right: 10px;
        }

        .watch_course_comment_time {
            font-size: 12px;
            color: #94a3b8;
        }

        .watch_course_comment_text {
            font-size: 14px;
            color: #475569;
            margin-top: 5px;
            line-height: 1.6;
        }

        /* Reply Link & Box */
        .watch_course_comment_reply_btn {
            font-size: 12px;
            font-weight: 600;
            color: #64748b;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 8px;
            cursor: pointer;
        }

        .watch_course_comment_reply_btn:hover {
            color: #0f172a;
        }

        /* Nested Replies (Thread) */
        .watch_course_comment_thread {
            border-left: 2px solid #f1f5f9;
            margin-left: 22px;
            padding-left: 25px;
            margin-top: 15px;
        }

        /* Badge for Admin */
        .watch_course_comment_badge {
            font-size: 10px;
            background-color: #4f46e5;
            color: #fff;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: bold;
            text-transform: uppercase;
        }

        /* Input Area */
        .watch_course_comment_input_wrapper {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            display: flex;
            align-items: center;
            padding: 5px 15px;
            margin-top: 15px;
        }

        .watch_course_comment_input {
            border: none;
            flex-grow: 1;
            padding: 10px;
            font-size: 14px;
            outline: none;
        }

        .watch_course_comment_submit {
            background-color: #0f172a;
            color: #fff;
            border: none;
            padding: 8px 20px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 14px;
        }

        /* Load More Button */
        .watch_course_comment_load_more {
            background-color: #fff1f0;
            color: #1e293b;
            border: none;
            padding: 12px 30px;
            border-radius: 4px;
            font-weight: 600;
            width: 150px;
            display: block;
            margin: 40px 0;
        }

        .watch_course_container {
            background-color: #fcfcfc;
            padding-top: 30px;
        }

        /* Video Section */
        .watch_course_video_wrapper {
            background: #000;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }

        /* Navigation Tabs */
        .watch_course_nav_tabs {
            border-bottom: 1px solid #eee;
            margin-top: 20px;
        }

        .watch_course_nav_link {
            color: #666;
            text-decoration: none;
            padding: 10px 20px;
            display: inline-block;
            font-size: 14px;
        }

        .watch_course_nav_link.active {
            color: #000;
            border-bottom: 2px solid #000;
            font-weight: bold;
        }

        /* Payment Option Box */
        .watch_course_payment_item {
            border: 1px solid #eee;
            border-radius: 4px;
            padding: 15px 20px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            background: #fff;
        }

        .watch_course_payment_item.active {
            border: 1.5px solid #4ade80;
        }

        .watch_course_card_info {
            color: #555;
            font-size: 15px;
        }

        .watch_course_meta_text {
            color: #888;
            font-size: 14px;
        }

        /* Sidebar Course Content */
        .watch_course_sidebar {
            background: #fff;
            border-left: 1px solid #eee;
            height: 100%;
        }

        .watch_course_accordion_btn {
            font-weight: 600;
            font-size: 14px;
            color: #333;
            text-decoration: none;
        }

        .watch_course_lesson_item {
            font-size: 13px;
            padding: 8px 0;
            color: #555;
        }

        /* Navbar Main Wrapper */
        .watch_course_navbar {
            background-color: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
            padding: 12px 20px;
        }

        /* Back Button Circle */
        .watch_course_navbar_back {
            width: 45px;
            height: 45px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #334155;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            transition: 0.3s;
        }

        .watch_course_navbar_back:hover {
            background: #eee;
        }

        /* Course Info Styling */
        .watch_course_navbar_title {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 4px;
        }

        .watch_course_navbar_meta {
            font-size: 13px;
            color: #64748b;
        }

        .watch_course_navbar_meta i {
            color: #6366f1;
            /* Icon color from image */
            margin-right: 4px;
        }

        /* Dashboard Button */
        .watch_course_dashboard_btn {
            display: inline-flex;
            align-items: center;
            padding: 8px 18px;
            background: #0f172a;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            border-radius: 6px;
            text-decoration: none;
            transition: 0.2s;
            white-space: nowrap;
        }

        .watch_course_dashboard_btn:hover {
            background: #1e293b;
            color: #fff;
        }

        /* Buttons */
        .watch_course_btn_review {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            border: none;
            padding: 9px 20px;
            font-weight: 600;
            font-size: 13px;
            border-radius: 8px;
            transition: 0.3s;
            box-shadow: 0 3px 10px rgba(102, 126, 234, 0.35);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
        }

        .watch_course_btn_review:hover:not(:disabled) {
            background: linear-gradient(135deg, #5a6fd6 0%, #6a3d92 100%);
            box-shadow: 0 5px 16px rgba(102, 126, 234, 0.5);
            color: #fff;
            transform: translateY(-1px);
        }

        .watch_course_btn_review:disabled {
            background: #e2e8f0;
            color: #94a3b8;
            box-shadow: none;
            cursor: not-allowed;
        }

        .watch_course_btn_next {
            background: #0f172a;
            /* Dark navy color */
            color: #fff;
            border: none;
            padding: 8px 18px;
            font-weight: 600;
            font-size: 14px;
            border-radius: 4px;
            transition: 0.3s;
        }

        .watch_course_btn_next:hover {
            background: #1e293b;
            color: #fff;
        }

        /* ==============================
           STUDENT DASHBOARD
        ============================== */

        /* Hero banner */
        .header-bg {
            background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 60%, #7c3aed 100%);
            padding-top: 48px;
            padding-bottom: 110px;
            width: 100%;
            position: relative;
            overflow: hidden;
        }

        .header-bg::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
        }

        /* Profile card */
        .profile-card {
            background: #fff;
            border-radius: 16px;
            padding: 0;
            margin-top: -80px;
            box-shadow: 0 8px 40px rgba(0,0,0,0.10);
            position: relative;
            z-index: 10;
            overflow: hidden;
        }

        .profile-card-top {
            padding: 1.5rem 1.75rem 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .profile-avatar-wrap {
            position: relative;
            flex-shrink: 0;
        }

        .profile-avatar-wrap img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #fff;
            box-shadow: 0 0 0 3px var(--secondary-color);
        }

        .profile-online-dot {
            position: absolute;
            bottom: 4px;
            right: 4px;
            width: 14px;
            height: 14px;
            background: #22c55e;
            border-radius: 50%;
            border: 2px solid #fff;
        }

        .profile-name {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 2px;
        }

        .profile-role-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            background: linear-gradient(135deg, #eff6ff, #eef2ff);
            color: var(--primary-color);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 3px 10px;
            border-radius: 20px;
            border: 1px solid #c7d2fe;
        }

        .profile-balance-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #f0fdf4, #dcfce7);
            color: #15803d;
            font-size: 0.85rem;
            font-weight: 700;
            padding: 8px 16px;
            border-radius: 50px;
            border: 1px solid #bbf7d0;
        }

        /* Tabs */
        .dash-tabs-outer {
            position: relative;
            display: flex;
            align-items: stretch;
            border-top: 1px solid #f1f5f9;
            margin-top: 1rem;
        }

        .dash-tabs-outer .dash-tabs-wrap {
            border-top: none;
            margin-top: 0;
        }

        .dash-tab-arrow {
            display: none;
            flex: 0 0 auto;
            align-items: center;
            justify-content: center;
            width: 32px;
            border: none;
            background: linear-gradient(90deg, #fff 60%, rgba(255,255,255,0));
            color: #64748b;
            cursor: pointer;
            z-index: 2;
        }

        .dash-tab-arrow-right {
            background: linear-gradient(270deg, #fff 60%, rgba(255,255,255,0));
        }

        .dash-tab-arrow:hover {
            color: var(--primary-color);
        }

        .dash-tabs-outer.has-overflow .dash-tab-arrow {
            display: flex;
        }

        .dash-tabs-wrap {
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            border-top: 1px solid #f1f5f9;
            margin-top: 1rem;
            flex: 1 1 auto;
            min-width: 0;
        }

        .dash-tabs-wrap::-webkit-scrollbar {
            height: 3px;
        }

        .dash-tabs-wrap::-webkit-scrollbar-thumb {
            background: #e2e8f0;
            border-radius: 10px;
        }

        .dash-tabs-wrap .nav-tabs {
            flex-wrap: nowrap !important;
            white-space: nowrap;
            border-bottom: none;
            padding: 0 0.5rem;
        }

        .dash-tabs-wrap .nav-tabs .nav-item {
            flex: 0 0 auto;
        }

        .dash-tabs-wrap .nav-tabs .nav-link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: #64748b;
            font-weight: 500;
            font-size: 0.875rem;
            padding: 14px 16px;
            border: none !important;
            border-bottom: 3px solid transparent !important;
            border-radius: 0;
            transition: all 0.2s;
        }

        .dash-tabs-wrap .nav-tabs .nav-link i {
            font-size: 0.8rem;
            opacity: 0.7;
        }

        .dash-tabs-wrap .nav-tabs .nav-link:hover {
            color: var(--primary-color);
            background: #f8faff;
        }

        .dash-tabs-wrap .nav-tabs .nav-link.active {
            color: var(--primary-color) !important;
            border-bottom: 3px solid var(--secondary-color) !important;
            background: transparent !important;
            font-weight: 600;
        }

        .dash-tabs-wrap .nav-tabs .nav-link.active i {
            opacity: 1;
        }

        /* Stat cards */
        .sd-stat-card {
            background: #fff;
            border-radius: 14px;
            padding: 1.25rem 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            border: 1px solid #f1f5f9;
            box-shadow: 0 2px 12px rgba(0,0,0,0.05);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .sd-stat-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.10);
        }

        .sd-stat-icon {
            width: 52px;
            height: 52px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            flex-shrink: 0;
        }

        .sd-stat-icon.enrolled  { background: linear-gradient(135deg,#eff6ff,#dbeafe); color: #2563eb; }
        .sd-stat-icon.active    { background: linear-gradient(135deg,#f5f3ff,#ede9fe); color: #7c3aed; }
        .sd-stat-icon.completed { background: linear-gradient(135deg,#f0fdf4,#dcfce7); color: #16a34a; }
        .sd-stat-icon.teachers  { background: linear-gradient(135deg,#fff7ed,#fed7aa); color: #ea580c; }

        .sd-stat-num {
            font-size: 1.6rem;
            font-weight: 800;
            line-height: 1;
            color: var(--text-dark);
        }

        .sd-stat-label {
            font-size: 0.78rem;
            color: #94a3b8;
            font-weight: 500;
            margin-top: 2px;
        }

        /* Course cards inside dashboard */
        .sd-course-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #f1f5f9;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            transition: transform 0.2s, box-shadow 0.2s;
            height: 100%;
        }

        .sd-course-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 28px rgba(0,0,0,0.10);
        }

        .sd-course-card img {
            width: 100%;
            height: 155px;
            object-fit: cover;
        }

        .sd-course-card .card-body {
            padding: 1rem;
        }

        .sd-course-title {
            font-size: 0.82rem;
            color: #64748b;
            margin-bottom: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .sd-lesson-count {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
        }

        .sd-watch-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            background: linear-gradient(135deg,#fff5f0,#ffe4d9);
            color: #ea580c;
            font-size: 0.78rem;
            font-weight: 600;
            padding: 6px 12px;
            border-radius: 6px;
            text-decoration: none;
            transition: all 0.2s;
            border: 1px solid #fed7b8;
        }

        .sd-watch-btn:hover {
            background: linear-gradient(135deg,#ea580c,#dc2626);
            color: #fff;
            border-color: transparent;
        }

        .sd-complete-badge {
            font-size: 0.72rem;
            font-weight: 700;
            white-space: nowrap;
        }

        .sd-progress {
            height: 5px;
            border-radius: 10px;
            background: #f1f5f9;
            margin-top: 0.6rem;
        }

        .sd-progress .progress-bar {
            border-radius: 10px;
            background: linear-gradient(90deg,#22c55e,#16a34a);
        }

        /* Legacy */
        .circle_course { background-color: antiquewhite; }
        .teacher_button { background-color: antiquewhite !important; margin: 18px; }

        /* Old selectors kept for compatibility */
        .student_dashboard .nav-link { color: #64748b; }
        .student_dashboard .stat-card { background: white; padding: 15px; display: flex; align-items: center; }
        .student_dashboard .icon-box { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; }
        .bg-enrolled  { background-color: #E9F2FF; }
        .bg-active    { background-color: #EDE7F6; }
        .bg-completed { background-color: #E8F5E9; }
        .bg-instructors { background-color: #FFF3E0; }
        .student_dashboard .course-card { border: 1px solid #eee; border-radius: 0; transition: 0.3s; }
        .student_dashboard .btn-watch { background-color: #FFEEE8; color: #FF6636; border: none; font-weight: 600; width: 100%; padding: 8px; }

        /* Dashboard responsive */
        @media (max-width: 767px) {
            .header-bg { padding-top: 28px; padding-bottom: 90px; }
            .profile-card-top { padding: 1.1rem 1rem 0; }
            .profile-avatar-wrap img { width: 64px; height: 64px; }
            .profile-name { font-size: 1rem; }
            .dash-tabs-wrap .nav-tabs .nav-link { font-size: 0.8rem; padding: 12px 12px; }
            .sd-stat-card { padding: 1rem 0.75rem; }
            .sd-stat-num { font-size: 1.3rem; }
        }

        @media (max-width: 480px) {
            .profile-card-top { flex-direction: column; align-items: flex-start; }
            .profile-balance-badge { align-self: flex-end; }
        }

        /* studnet chat  */
        /* Messenger Layout */
        .student_message_wrapper {
            display: flex;
            height: 600px;
            background: #fff;
            border: 1px solid #E9EAF0;
        }

        /* Sidebar Styling */
        .student_message_sidebar {
            width: 350px;
            border-right: 1px solid #E9EAF0;
            display: flex;
            flex-direction: column;
        }

        .student_message_sidebar_header {
            padding: 20px;
        }

        .student_message_search_group {
            position: relative;
            margin-top: 15px;
        }

        .student_message_search_group i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #8C94A3;
        }

        .student_message_search_input {
            padding-left: 40px !important;
            height: 45px;
            background-color: #F5F7FA !important;
        }

        /* Chat List */
        .student_message_chat_list {
            overflow-y: auto;
            flex-grow: 1;
        }

        .student_message_user_item {
            padding: 15px 20px;
            display: flex;
            align-items: center;
            cursor: pointer;
            border-left: 3px solid transparent;
            transition: all 0.2s;
        }

        .student_message_user_item.active {
            background-color: #FFEEE8;
            border-left-color: #FF6636;
        }

        .student_message_avatar_wrapper {
            position: relative;
            margin-right: 12px;
        }

        .student_message_status_dot {
            position: absolute;
            bottom: 2px;
            right: 2px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 2px solid #fff;
            background-color: #23BD33;
            /* Online Color */
        }

        .student_message_user_info h6 {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .student_message_user_info p {
            font-size: 13px;
            color: #6E7485;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 180px;
        }

        /* Chat Body */
        .student_message_main {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .student_message_header {
            padding: 15px 25px;
            border-bottom: 1px solid #E9EAF0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .student_message_area {
            flex-grow: 1;
            padding: 25px;
            overflow-y: auto;
            background-color: #fff;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* Message Bubbles */
        .student_message_bubble_left {
            align-self: flex-start;
            max-width: 70%;
        }

        .student_message_bubble_right {
            align-self: flex-end;
            max-width: 70%;
        }

        .student_message_text_left {
            background: #FFEEE8;
            color: #1D2026;
            padding: 12px 16px;
            border-radius: 0px 8px 8px 8px;
            font-size: 14px;
        }

        .student_message_text_right {
            background: #1D2026;
            color: #fff;
            padding: 12px 16px;
            border-radius: 8px 0px 8px 8px;
            font-size: 14px;
        }

        .student_message_time {
            font-size: 11px;
            color: #8C94A3;
            margin-top: 5px;
            display: block;
        }

        .student_message_footer {
            padding: 20px 24px;
            border-top: 1px solid #E9EAF0;
            background: #fff;
        }

        .student_message_input_box {
            display: flex;
            gap: 16px;
            /* Button aur input ke darmiyan gap */
            align-items: center;
        }

        /* Input Wrapper to hold the icon inside */
        .student_message_input_wrapper {
            position: relative;
            flex-grow: 1;
        }

        .student_message_input_icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #4E5566;
            /* Grey icon color */
            font-size: 18px;
            pointer-events: none;
        }

        .student_message_input_field {
            padding: 12px 12px 12px 45px !important;
            /* Left padding for icon space */
            border: 1px solid #E9EAF0 !important;
            border-radius: 4px !important;
            font-size: 16px;
            color: #8C94A3;
        }

        .student_message_input_field::placeholder {
            color: #8C94A3;
        }

        /* Send Button Styling */
        .student_message_send_btn {
            background-color: #1D2026 !important;
            /* Dark navy color */
            color: #fff !important;
            padding: 12px 24px !important;
            font-weight: 600 !important;
            font-size: 14px !important;
            border-radius: 4px !important;
            text-transform: uppercase;
            /* Image ke mutabiq uppercase */
            border: none !important;
            display: flex;
            align-items: center;
        }

        .student_message_send_btn:hover {
            background-color: #333 !important;
        }

        .studnet_dashboard_become_instructor_btn {
            background-color: #fff2f0;
            border: none;
            color: black;
        }

        .istructor-profile-card {
            background: #ffffff;
            border-radius: 8px;
            padding: 20px;
            margin-top: -167px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            position: relative;
            z-index: 10;
        }

        .about_hero_section {
            background-color: #f3f9fa;
        }

        /* Image design ko clean aur proportional banane ke liye */
        .year-text {
            font-size: 4rem;
            /* Bada size jaisa image mein hai */
            color: #e9ecef;
            /* Light gray color */
            line-height: 1;
        }

        .custom-img-container img {
            height: 450px;
            /* Ek fixed height taaki dono images barabar dikhein */
            width: 100%;
            object-fit: cover;
            border-radius: 4px;
            /* Slight rounded corners */
        }

        .mission-section {
            background-color: #FDF0EA;
        }





        section.gallery-section {
            background-color: #F4F7FA;
        }

        .testimonial-card {
            background-color: #F4F7FA;
        }

        .testimonial-text {
            font-size: 16px;
            line-height: 1.8;
            color: #4a4a4a;
        }




        .wishlist-btn.inList i {
            color: #ef4444;
            /* red */
        }

        .wishlist-btn i {
            transition: color 0.3s ease, transform 0.2s ease;
        }

        .wishlist-btn.inList i {
            transform: scale(1.2);
        }

        .wishlist-badge {
            position: absolute;
            top: -5px;
            right: -8px;
            background: #ef4444;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 50%;
        }

        .cart-badge {
            position: absolute;
            top: -5px;
            right: -8px;
            background: #ef4444;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 50%;
        }



        /* ================================
   FEATURED COURSES UI
================================ */

        .feature-course-card {
            background: #fff;
            border-radius: 12px;
            padding: 16px;
            gap: 16px;
            align-items: center;
            border: 1px solid #eef0f3;
            transition: all 0.3s ease;
        }

        .feature-course-card:hover {
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
            transform: translateY(-4px);
        }

        /* Thumbnail */
        .feature-course-thumb {
            width: 140px;
            flex-shrink: 0;
        }

        .feature-course-thumb img {
            width: 100%;
            height: 110px;
            object-fit: cover;
            border-radius: 10px;
        }

        /* Content */
        .feature-course-content {
            display: flex;
            flex-direction: column;
        }

        /* Category */
        .course-category {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.4px;
            color: #2563eb;
            background: #eef2ff;
            padding: 4px 8px;
            border-radius: 6px;
            width: fit-content;
        }

        /* Title */
        .feature-course-content .course-title {
            font-size: 16px;
            font-weight: 700;
            color: #1f2937;
            margin: 6px 0 4px;
            line-height: 1.4;
        }

        /* Rating */
        .course-rating {
            color: #f59e0b;
            font-weight: 700;
            font-size: 14px;
        }

        /* Price */
        .feature-course-price {
            font-size: 18px;
            font-weight: 800;
            color: #2563eb;
        }

        /* Meta */
        .feature-course-meta {
            display: flex;
            gap: 18px;
            font-size: 13px;
            color: #6b7280;
            margin-top: 6px;
        }

        .feature-course-meta i {
            margin-right: 4px;
            color: #9ca3af;
        }

        /* ================================
          MOBILE RESPONSIVE
        ================================ */
        @media (max-width: 768px) {

            .feature-course-card {
                flex-direction: column;
                align-items: flex-start;
            }

            .feature-course-thumb {
                width: 100%;
            }

            .feature-course-thumb img {
                height: 180px;
            }

            .feature-course-price {
                font-size: 16px;
            }

            .feature-course-content .course-title {
                font-size: 15px;
            }
        }

        /* ===============================
   BRANCHES SECTION
================================ */
.branch-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-6px);
}

.branch-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* Info box */
.branch-info {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 14px 16px;
    width: 85%;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.branch-type {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2563eb;
}

/* Mobile */
@media (max-width: 768px) {
    .branch-image {
        height: 280px;
    }
}

/* ═══════════════════════════════════════════════════════
   GLOBAL DESIGN IMPROVEMENTS
═══════════════════════════════════════════════════════ */

/* ── Smooth section transitions ────────────────────── */
section { overflow: hidden; }

/* ── Improved course card across all sizes ─────────── */
.course-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eef0f3;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.09);
}
.course-image {
    width: 100%;
    height: 185px;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}
.course-card:hover .course-image { transform: scale(1.05); }

/* ── Pagination improvement ─────────────────────────── */
.pagination .page-link {
    border-radius: 8px !important;
    margin: 0 2px;
    color: #1e3a8a;
    border-color: #e5e7eb;
    font-size: .85rem;
    padding: .4rem .75rem;
}
.pagination .page-item.active .page-link {
      background-color: #ffffff;
    border-color: #1e3a8a;
}
.pagination .page-link:hover { background: #eff6ff; border-color: #bfdbfe; }

/* ── Offcanvas filter improvements ─────────────────── */
#filterOffcanvas .form-check-input:checked { background-color: #1e3a8a; border-color: #1e3a8a; }
#filterOffcanvas .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(30,58,138,.2); }
.filter-item:hover { background: rgba(30,58,138,.04); border-radius: 6px; }

/* ── Mobile: general ─────────────────────────────────── */
@media (max-width: 768px) {
    .section-title { font-size: 1.5rem; margin-bottom: 2rem; }
    .stats-section .h1, .stat-number { font-size: 1.75rem !important; }
}

/* ── Mobile: course detail hero ─────────────────────── */
@media (max-width: 576px) {
    .cd-hero { padding: 1.25rem 0 1.75rem; }
    .cd-hero h1 { font-size: 1.2rem; }
    .cd-meta-pill { font-size: .72rem; padding: .22rem .6rem; }
    .cd-sidebar-card { margin-top: 1.5rem; }
}

/* ── Fix: featured course image overflow ─────────────── */
.feat-img-wrap { overflow: hidden; }
.feat-img { transition: transform .35s ease; }

/* ── Fix: section spacing consistency ────────────────── */
@media (max-width: 768px) {
    section.py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
}

/* ── Breadcrumb separator ───────────────────────────── */
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── Badge refinement ───────────────────────────────── */
.badge { font-weight: 600; }

/* ── Instructor CTA section ─────────────────────────── */
@media (max-width: 768px) {
    .instructor-section .col-lg-6:first-child { min-height: 220px !important; }
    .instructor-section .col-lg-6:first-child img { display: none !important; }
}

/* ── Stats section dark bg text ─────────────────────── */
.stats-section .stat-number { color: #fff; }
.stats-section .stat-label  { color: rgba(255,255,255,.75); }

/* ── Suggestion chip on courses page ────────────────── */
.suggestion-chip { white-space: nowrap; }

/* ── Offcanvas backdrop z-index fix ─────────────────── */
.offcanvas-backdrop { z-index: 1040; }
.offcanvas { z-index: 1050; }

/* ══════════════════════════════════════════════════
   COURSE PLAYER
   The player shell (topbar, video, tabs, curriculum sidebar) now ships
   its own stylesheet: assets/frontend/default/css/course-player.css.
   Only the quiz/assessment tab (shared with other pages) stays here.
   ══════════════════════════════════════════════════ */

/* ── Quiz / Assessment buttons ── */
@media (max-width: 767px) {
    .quiz-starter .col-md-6 {
        margin-bottom: 0;
    }

    .quiz-starter .col-12.d-flex {
        flex-wrap: wrap;
        gap: 10px !important;
        justify-content: center;
    }

    .quiz-starter .eBtn {
        padding: 10px 18px;
        font-size: 13px;
        min-width: 120px;
        text-align: center;
    }

    .gradient-border {
        color: #212529 !important;
        background: #fff !important;
    }
}

