/* Course Details Redesign */

:root {
    --cd-primary: #1a73e8;
    /* Google Blue style from screenshot */
    --cd-dark-blue: #0d47a1;
    --cd-bg-light: #f8f9fa;
    --cd-text-dark: #202124;
    --cd-text-muted: #5f6368;
    --cd-card-border: #dadce0;
}

/* Hero Section */
.course-hero-section {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.course-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.course-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.course-hero-desc {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.course-hero-actions .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-hero-white {
    background: white;
    color: var(--cd-primary);
    border: none;
}

.btn-hero-white:hover {
    background: #f1f3f4;
    color: var(--cd-dark-blue);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-hero-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Stats Row floating over hero/content junction */
.course-stats-wrapper {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-card-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    color: white;
    transition: transform 0.3s;
}

.stat-card-glass:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Content Layout */
.course-content-section {
    padding-top: 80px;
    background: #f8faff;
}

.content-card-new {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.section-heading-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cd-text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading-new i {
    color: var(--cd-primary);
}

/* Eligibility List */
.eligibility-list-new li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cd-text-dark);
    font-weight: 500;
}

.eligibility-list-new li i {
    color: #00ac47;
    /* Success Green */
    background: #e6f7ed;
    padding: 6px;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Syllabus Grid */
.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.syllabus-year-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eee;
}

.syllabus-title {
    font-weight: 700;
    color: var(--cd-primary);
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(26, 115, 232, 0.1);
    padding-bottom: 10px;
}

.syllabus-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}

.syllabus-topics li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
    position: relative;
    padding-left: 15px;
}

.syllabus-topics li::before {
    content: "•";
    color: var(--cd-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Career Cards */
.career-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.career-card-item {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s;
}

.career-card-item:hover {
    border-color: var(--cd-primary);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.1);
}

.career-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(26, 115, 232, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cd-primary);
    margin-bottom: 15px;
}

.career-role-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
}

.career-salary {
    font-size: 0.85rem;
    color: #00ac47;
    font-weight: 600;
}

/* Sidebar */
.sidebar-cta-card {
    background: linear-gradient(135deg, #1a73e8 0%, #0056b3 100%);
    border-radius: 16px;
    color: white;
    padding: 30px;
    text-align: left;
    margin-bottom: 30px;
}

.sidebar-cta-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.sidebar-cta-btn {
    background: white;
    color: var(--cd-primary);
    font-weight: 700;
    width: 100%;
    border-radius: 8px;
    margin-top: 15px;
    padding: 12px;
}

.top-colleges-list {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.college-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f1f1;
}

.college-list-item:last-child {
    border-bottom: none;
}

.cl-name {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
}

.cl-loc {
    font-size: 0.75rem;
    color: #888;
}

.cl-fee {
    font-size: 0.85rem;
    color: #00ac47;
    background: #e6f7ed;
    padding: 2px 8px;
    border-radius: 4px;
}

.related-courses-box {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.related-link {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    margin-bottom: 8px;
    border-radius: 8px;
    color: var(--cd-text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
}

.related-link:hover {
    background: #e8f0fe;
    color: var(--cd-primary);
}