﻿:root {
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(43, 43, 155, 0.1);
  --section-even: #f8faff;
  --section-odd: #ffffff;
}

/* Course Hero */
.course-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(rgba(14, 14, 53, 0.88), rgba(43, 43, 155, 0.85)), url('https://images.unsplash.com/photo-1526304640581-d334cdbbf45e?q=80&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.course-hero .breadcrumb {
  opacity: 0.8;
  margin-bottom: 20px;
}

.course-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.course-hero h1 span {
  color: var(--accent-gold);
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.h-meta-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.h-meta-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.h-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
  letter-spacing: 1px;
}

.h-meta-val {
  font-size: 15px;
  font-weight: 600;
  border-left: 3px solid var(--accent-gold);
  padding-left: 10px;
}

/* Sticky Course Nav */
.course-nav {
  position: sticky;
  top: 104px;
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 990;
  border-bottom: 3px solid var(--accent-gold);
  display: none;
}

.course-nav.visible {
  display: block;
}

.course-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 65px;
  position: relative;
}

.c-nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.c-nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  height: 65px;
  display: flex;
  align-items: center;
  position: relative;
}

.c-nav-links a:hover,
.c-nav-links a.active {
  color: var(--accent-gold);
}

.c-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.c-nav-links a.active::after {
  width: 100%;
}

/* Content Sections */
.course-section {
  padding: 30px 0;
  position: relative;
}

.course-section:nth-child(even) {
  background: var(--section-even);
}

.course-section:nth-child(odd) {
  background: var(--section-odd);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--primary);
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-title span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  font-size: 26px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

/* Premium Syllabus Design */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Careers & Skills */
.career-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.skill-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gray);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex: 1 1 280px;
  max-width: 380px;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.skill-card img {
  width: 100px;
  height: 100px;
  margin-bottom: 25px;
  object-fit: contain;
}

.skill-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
  font-family: var(--font-heading);
}

.skill-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.career-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--accent-gold);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 280px;
  max-width: 380px;
  height: 100%;
}

.career-card:hover {
  background: var(--primary);
  color: var(--white);
  border-left-color: var(--white);
  transform: scale(1.02);
}

.gallery-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

/* Fee Table Responsive */
.fee-table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.fee-table th,
.fee-table td {
  text-align: left;
  padding: 15px;
  border-bottom: 1px solid var(--border-gray);
}

@media (max-width: 768px) {
  .course-hero {
    padding: 140px 0 60px;
  }

  .course-nav {
    top: 104px;
  }

  .course-nav .container {
    padding: 0 12px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .course-nav .container::-webkit-scrollbar {
    display: none;
  }

  .c-nav-links {
    gap: 0;
    min-width: max-content;
    display: flex !important;
  }

  .c-nav-links li {
    display: block;
  }

  .c-nav-links a {
    font-size: 12px;
    padding: 0 18px;
    height: 52px;
    white-space: nowrap;
    display: flex;
    align-items: center;
  }

  .course-section {
    padding: 60px 0;
  }
}