/* ============================================================
   COURSES PAGE STYLES
   ============================================================ */

/* FILTER TABS */
.course-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.filter-btn {
    padding: 10px 24px;
    background: #fff;
    border: 2px solid #c8102e;
    color: #c8102e;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.filter-btn:hover, .filter-btn.active {
    background: #c8102e;
    color: #fff;
}

/* COURSE DETAIL SECTIONS */
.course-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}
.course-detail-grid.reversed {
    grid-template-columns: 1fr 1.5fr;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.badge-tuition { background: #c8102e; color: #ffc72c; }
.badge-special { background: #8b0a1f; color: #ffc72c; }
.badge-ias { background: #ffc72c; color: #8b0a1f; }
.badge-police { background: #c8102e; color: #fff; }

.course-detail-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 15px;
}
.course-lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}
.course-detail-section[style*="color:#fff"] .course-lead,
.course-detail-section[style*="color: #fff"] .course-lead {
    color: rgba(255,255,255,0.9);
}

.course-subjects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.subject-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.35s;
    border: 2px solid transparent;
}
.subject-card:hover {
    transform: translateY(-5px);
    border-color: #ffc72c;
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.subject-card i {
    font-size: 2.2rem;
    color: #c8102e;
    margin-bottom: 12px;
    display: block;
}
.subject-special i { color: #8b0a1f; }
.subject-ias i { color: #ffc72c; }
.subject-police i { color: #c8102e; }
.subject-card h4 { color: #c8102e; margin-bottom: 8px; font-size: 1.1rem; }
.subject-card p { font-size: 0.85rem; color: #666; margin: 0; }

.course-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.course-features-list li {
    padding: 10px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px dashed #eee;
}
.course-features-list li i {
    color: #c8102e;
    background: #fff8e1;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.course-features-light li { color: rgba(255,255,255,0.9); border-bottom-color: rgba(255,255,255,0.15); }
.course-features-light li i { background: #ffc72c; color: #8b0a1f; }

/* COURSE INFO CARD (sidebar) */
.course-info-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
    border-top: 5px solid #c8102e;
}
.course-info-card h4 {
    color: #c8102e;
    border-bottom: 2px dashed #ffc72c;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.info-row:last-child { border-bottom: none; }
.info-row span {
    color: #777;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-row span i { color: #c8102e; }
.info-row strong { color: #1a1a1a; font-size: 0.95rem; }

.info-card-dark {
    background: linear-gradient(135deg, #c8102e, #8b0a1f);
    color: #fff;
    border-top-color: #ffc72c;
}
.info-card-dark h4 { color: #ffc72c; border-bottom-color: rgba(255,199,44,0.3); }
.info-card-dark .info-row { border-bottom-color: rgba(255,255,255,0.1); }
.info-card-dark .info-row span, .info-card-dark .info-row strong { color: #fff; }
.info-card-dark .info-row span i { color: #ffc72c; }

.info-card-light {
    background: #fff;
    color: #1a1a1a;
}

/* ADMISSION PROCESS */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 50px; left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(to right, #c8102e, #ffc72c, #c8102e);
    z-index: 0;
}
.process-step {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    z-index: 1;
    transition: all 0.35s;
}
.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(200,16,46,0.15);
}
.step-number {
    position: absolute;
    top: -20px; right: 20px;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #c8102e, #8b0a1f);
    color: #ffc72c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    border: 4px solid #fff;
}
.step-icon {
    width: 80px; height: 80px;
    background: #fff8e1;
    color: #c8102e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    border: 3px solid #ffc72c;
}
.process-step h4 { color: #c8102e; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: #666; margin: 0; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .course-detail-grid, .course-detail-grid.reversed { grid-template-columns: 1fr; }
    .course-info-card { position: static; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
}
@media (max-width: 768px) {
    .course-subjects-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
}
