/* ==========================================
   COURSE DETAILS PAGE CSS
   ========================================== */

/* --- Hero Section --- */
.course-hero {
    position: relative;
    padding: 12px 5% 80px;
    background-color: #0b0f19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.course-hero-glow {
    position: absolute;
    top: -20%;
    left: 20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(34, 211, 238, 0.1) 40%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
}

.hero-content-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

.course-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.cyan-badge { color: #22d3ee; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.2); }

.course-title {
    font-size: 48px;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.course-subtitle {
    font-size: 18px;
    color: #9ca3af;
    max-width: 700px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.course-quick-stats {
    display: flex;
    gap: 30px;
    color: #d1d5db;
    font-size: 15px;
    
}

/* --- 2-Column Body Layout --- */
.course-body-section {
    background-color: #0b0f19;
    padding: 60px 5%;
}

.container.course-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr; /* Left bada, Right chhota */
    gap: 50px;
    align-items: start; /* Sticky ke liye zaroori */
}

/* --- Left Column Content --- */
.content-box h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.learning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.learning-grid li {
    color: #d1d5db;
    display: flex;
    align-items: start;
    gap: 10px;
    line-height: 1.5;
}

.check { color: #22d3ee; font-weight: bold; }

.mt-40 { margin-top: 50px; }

/* Curriculum Modules */
.module-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    transition: background 0.3s ease;
}
.module-item:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(34, 211, 238, 0.3); }
.module-time { color: #9ca3af; font-size: 14px; }

/* --- Right Column (Sticky Pricing Card) --- */
.course-sidebar {
    position: sticky;
    top: 100px; /* Scroll karne par upar se kitni door rukega */
}

.glass-panel {
    background: #141a24;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-video-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    margin-bottom: 25px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.price-container { margin-bottom: 25px; display: flex; align-items: baseline; gap: 10px; }
.current-price { color: #fff; font-size: 36px; font-weight: 800; }
.old-price { color: #9ca3af; text-decoration: line-through; font-size: 18px; }
.discount-tag { color: #fb923c; font-size: 14px; font-weight: bold; }

.btn-enroll-large {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #a855f7, #22d3ee);
    color: #ffffff;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
}
.btn-enroll-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 211, 238, 0.3);
}

.guarantee-text { color: #9ca3af; font-size: 13px; text-align: center; margin-bottom: 30px; }

.card-features-list h4 { color: #fff; margin-bottom: 15px; }
.card-features-list ul { list-style: none; padding: 0; color: #d1d5db; font-size: 14px; }
.card-features-list li { margin-bottom: 12px; }

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .container.course-layout {
        grid-template-columns: 1fr; /* Mobile par sidebar niche aa jayega */
    }
    .course-quick-stats { flex-direction: column; gap: 10px; }
    .learning-grid { grid-template-columns: 1fr; }
    .course-sidebar { position: relative; top: 0; }
}


/* ==========================================
   DOTTED VIDEO PREVIEW CSS
   ========================================== */

/* Main Container: Dotted Line aur Box */
.card-video-placeholder.dotted-box {
    position: relative;
    width: 100%;
    height: 180px;
    border: 2px dashed rgba(255, 255, 255, 0.3); /* 🔥 यही वो डॉटेड/डैश लाइन है 🔥 */
    border-radius: 12px;
    overflow: hidden; /* इमेज को गोल किनारों के अंदर रखने के लिए */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0b0f19; /* Dark base color */
    margin-bottom: 25px;
    cursor: pointer;
}

/* Thumbnail Image Settings */
.bg-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5; /* थंबनेल को थोड़ा डार्क रखा है ताकि टेक्स्ट साफ़ दिखे */
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1;
}

/* Hover Effect: हल्का सा ज़ूम और डार्क होना */
.card-video-placeholder.dotted-box:hover .bg-thumbnail {
    transform: scale(1.08);
    opacity: 0.3; /* Hover पर इमेज थोड़ी और डार्क होगी ताकि Play बटन हाईलाइट हो */
}

/* Overlay Text & Icon (सबसे ऊपर रहेगा) */
.play-overlay {
    position: relative;
    z-index: 2; /* इमेज के ऊपर रखने के लिए */
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Glassmorphism Play Icon */
.play-overlay .play-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding-left: 3px; /* Play icon को सेंटर में बैलेंस करने के लिए */
    transition: all 0.3s ease;
}

/* Hover on Play Icon */
.card-video-placeholder.dotted-box:hover .play-icon {
    background: #22d3ee;
    border-color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}