/* ==========================================================================
   COURSES CATALOG & POSTER LISTING (Shiksha Prasar)
   ========================================================================== */

.courses-hero-banner {
    background: linear-gradient(135deg, #001f3f 0%, #002b5b 50%, #03396c 100%);
    color: #ffffff;
    padding: 60px 0 50px;
    text-align: center;
}

.courses-hero-banner h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: var(--font-heading, sans-serif);
}

.courses-hero-banner p {
    color: #e2e8f0;
    font-size: 16px;
    max-width: 680px;
    margin: 0 auto;
}

.courses-wrapper {
    padding: 60px 0 80px;
    background: #f8fafc;
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.courses-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.course-poster-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-poster-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.poster-header {
    background: linear-gradient(135deg, #001f3f 0%, #002b5b 100%);
    color: #ffffff;
    padding: 24px 20px;
    position: relative;
}

.poster-header.gda-theme {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
}

.poster-header.fire-theme {
    background: linear-gradient(135deg, #991b1b 0%, #b91c1c 100%);
}

.poster-header.tech-theme {
    background: linear-gradient(135deg, #001f3f 0%, #03396c 100%);
}

.poster-code-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #ffb703;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.poster-title {
    font-size: 20px;
    font-weight: 800;
    margin-right: 60px;
    line-height: 1.3;
}

.poster-body {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meta-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #475569;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.poster-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.poster-footer {
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.btn-view-course-only {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #002244;
    color: #ffffff;
    text-align: center;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view-course-only:hover {
    background: #ffb703;
    color: #002244;
}

/* Single Course Details Page */
.course-detail-header {
    background: linear-gradient(135deg, #001f3f 0%, #002b5b 50%, #03396c 100%);
    color: #ffffff;
    padding: 60px 0 50px;
}

.cd-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.cd-tag {
    background: #ffb703;
    color: #002244;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.cd-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.25;
    font-family: var(--font-heading, sans-serif);
}

.cd-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.cd-pill {
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cd-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
    padding: 50px 0 80px;
}

.cd-content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.cd-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #002244;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.cd-body-text {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 15px;
}

.cd-sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 90px;
}

.sidebar-action-title {
    font-size: 18px;
    font-weight: 800;
    color: #002244;
    margin-bottom: 15px;
}

.btn-cd-enquiry {
    background: #ffb703;
    color: #002244;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-cd-enquiry:hover {
    background: #e09f00;
}

.btn-cd-wa {
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-cd-wa:hover {
    background: #1ebc59;
}

@media (max-width: 800px) {
    .cd-main-grid {
        grid-template-columns: 1fr;
    }
}

