/* ===================================================
   CBSE Course Detail Page — Premium Styles
   Accent: Amber #D4820A | Hero: Warm Dark #1A1205
   =================================================== */

/* --- Navbar Solid Override --- */
.navbar--solid {
  background: #fff !important;
  border-bottom: 1px solid #EEEEEE;
  box-shadow: none;
}

.navbar--solid .nav-links a,
.navbar--solid .nav-link {
  color: #333 !important;
}

.navbar--solid .nav-links__active {
  color: #D4820A !important;
  font-weight: 600;
}

.navbar--solid .navbar__enroll-btn {
  background: #D4820A;
  color: #fff;
}

.navbar--solid .hamburger .bar {
  background: #333;
}

.navbar--solid #navbar-logo {
  filter: none;
}

/* ===================================================
   HERO PANEL — Warm Dark
   =================================================== */
.cbse-hero {
  background: #1A1205;
  position: relative;
  overflow: hidden;
  padding: 100px 2rem 80px;
}

.cbse-hero__bg-art {
  position: absolute;
  top: -20px;
  right: -30px;
  width: 340px;
  height: 340px;
  opacity: 0.04;
  pointer-events: none;
}

.cbse-hero__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.cbse-hero__content {
  flex: 0 0 55%;
}

.cbse-hero__form-wrap {
  flex: 0 0 45%;
}

/* Breadcrumb */
.cbse-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.75rem;
}

.cbse-hero__breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.cbse-hero__breadcrumb a:hover {
  color: rgba(255,255,255,0.7);
}

.cbse-hero__breadcrumb span {
  color: rgba(255,255,255,0.25);
}

.cbse-hero__breadcrumb-current {
  color: rgba(255,255,255,0.6) !important;
}

/* Tag */
.cbse-hero__tag {
  display: inline-block;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

/* Headline */
.cbse-hero__headline {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

/* Subtext */
.cbse-hero__subtext {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Stat Pills */
.cbse-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cbse-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.45rem 0.9rem;
  border-radius: 99px;
}

.cbse-hero__pill .ti {
  font-size: 14px;
  color: #D4820A;
}

/* ===================================================
   HERO FORM CARD
   =================================================== */
.cbse-hero__form-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.cbse-hero__form-title {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0D0D0D;
  margin-bottom: 0.2rem;
}

.cbse-hero__form-sub {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 1.5rem;
}

.cbse-hero__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cbse-hero__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cbse-hero__input-wrap .ti {
  position: absolute;
  left: 14px;
  font-size: 18px;
  color: #aaa;
  pointer-events: none;
}

.cbse-hero__input-wrap input,
.cbse-hero__input-wrap select {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 44px;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.875rem;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  background: #fff;
  color: #333;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.cbse-hero__input-wrap input:focus,
.cbse-hero__input-wrap select:focus {
  border-color: #D4820A;
  box-shadow: 0 0 0 3px rgba(212,130,10,0.08);
}

.cbse-hero__input-wrap--select::after {
  content: '';
  position: absolute;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #aaa;
  border-bottom: 2px solid #aaa;
  transform: rotate(45deg);
  pointer-events: none;
  margin-top: -3px;
}

.cbse-hero__error {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: #DC2626;
  display: none;
  align-items: center;
  gap: 0.3rem;
  padding-left: 4px;
}

.cbse-hero__error .ti { font-size: 13px; }

.cbse-hero__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: #D4820A;
  color: #fff;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.4rem;
}

.cbse-hero__submit:hover {
  background: #B97008;
}

.cbse-hero__privacy {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.72rem;
  color: #aaa;
  text-align: center;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.cbse-hero__privacy .ti { font-size: 12px; }

/* ===================================================
   COURSE INFORMATION
   =================================================== */
.cbse-info {
  background: #fff;
  padding: 4rem 2rem;
}

.cbse-info__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.cbse-info__content { min-width: 0; }

.cbse-info__section { margin-bottom: 2.5rem; }

.cbse-info__heading {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #0D0D0D;
  border-left: 3px solid #D4820A;
  padding-left: 12px;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.cbse-info__section p {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 0.8rem;
}

.cbse-info__section h3 {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #D4820A;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

/* Highlight Box */
.cbse-info__highlight-box {
  background: #FFF8EE;
  border-left: 4px solid #D4820A;
  border-radius: 12px;
  padding: 1.5rem;
}

.cbse-info__highlight-box p { color: #444; }

.cbse-info__check-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.cbse-info__check-list li {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: #444;
  line-height: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cbse-info__check-list .ti {
  color: #D4820A;
  font-size: 16px;
  flex-shrink: 0;
}

/* List */
.cbse-info__list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
}

.cbse-info__list li {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: #666;
  line-height: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cbse-info__list .ti {
  color: #D4820A;
  font-size: 8px;
  flex-shrink: 0;
}

/* Feature Grid */
.cbse-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.cbse-info__grid-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cbse-info__grid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.cbse-info__grid-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(212,130,10,0.1);
  color: #D4820A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cbse-info__grid-card h4 {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0D0D0D;
  margin-bottom: 0.15rem;
}

.cbse-info__grid-card p {
  font-size: 0.8rem !important;
  color: #777 !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
}

/* Subject Cards — 2x2 grid */
.cbse-info__subjects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.cbse-info__subject-card {
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.2s;
}

.cbse-info__subject-card:hover { transform: translateY(-2px); }

.cbse-info__subject-card--science { background: #EEFAF4; }
.cbse-info__subject-card--math { background: #FFF8EE; }
.cbse-info__subject-card--english { background: #EEF2FF; }
.cbse-info__subject-card--social { background: #FFF0F0; }

.cbse-info__subject-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 0.8rem;
}

.cbse-info__subject-card--science .cbse-info__subject-icon { background: rgba(15,110,86,0.12); color: #0F6E56; }
.cbse-info__subject-card--math .cbse-info__subject-icon { background: rgba(212,130,10,0.12); color: #D4820A; }
.cbse-info__subject-card--english .cbse-info__subject-icon { background: rgba(10,25,49,0.08); color: #0A1931; }
.cbse-info__subject-card--social .cbse-info__subject-icon { background: rgba(180,60,60,0.1); color: #B43C3C; }

.cbse-info__subject-card h3 {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0D0D0D !important;
  margin-bottom: 0.4rem;
  margin-top: 0 !important;
}

.cbse-info__subject-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cbse-info__subject-card ul li {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #666;
  line-height: 2;
  padding-left: 0.8rem;
  position: relative;
}

.cbse-info__subject-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.cbse-info__subject-card--science ul li::before { background: #0F6E56; }
.cbse-info__subject-card--math ul li::before { background: #D4820A; }
.cbse-info__subject-card--english ul li::before { background: #0A1931; }
.cbse-info__subject-card--social ul li::before { background: #B43C3C; }

/* Faculty Cards */
.cbse-info__faculty {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.cbse-info__faculty-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
}

.cbse-info__faculty-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #FFF8EE;
  color: #D4820A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.cbse-info__faculty-card h4 {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0D0D0D;
  margin-bottom: 0.1rem;
}

.cbse-info__faculty-card span {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #D4820A;
}

/* Callout */
.cbse-info__callout {
  background: #FFF8EE;
  border-left: 4px solid #D4820A;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.cbse-info__callout h3 {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #D4820A !important;
  margin-bottom: 0.5rem;
  margin-top: 0 !important;
}

.cbse-info__callout p {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.cbse-info__callout-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #D4820A;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}

.cbse-info__callout-cta:hover { background: #B97008; }

/* ===================================================
   STICKY SIDEBAR
   =================================================== */
.cbse-sidebar {
  position: sticky;
  top: 90px;
}

.cbse-sidebar__card {
  background: #fff;
  border: 1px solid #EEEEEE;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.cbse-sidebar__title {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0D0D0D;
  margin-bottom: 1.2rem;
}

.cbse-sidebar__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.cbse-sidebar__row-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: rgba(212,130,10,0.1);
  color: #D4820A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cbse-sidebar__label {
  display: block;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.72rem;
  color: #999;
  margin-bottom: 0.1rem;
}

.cbse-sidebar__value {
  display: block;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0D0D0D;
}

.cbse-sidebar__divider {
  height: 1px;
  background: #F0F0F0;
  margin: 0.3rem 0;
}

.cbse-sidebar__enroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: #D4820A;
  color: #fff;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 1.2rem;
}

.cbse-sidebar__enroll:hover { background: #B97008; }

.cbse-sidebar__phone {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #D4820A;
  text-align: center;
  margin-top: 0.8rem;
}

.cbse-sidebar__phone a {
  color: #D4820A;
  text-decoration: none;
  font-weight: 500;
}

.cbse-sidebar__phone a:hover { color: #B97008; }

/* ===================================================
   OTHER COURSES
   =================================================== */
.cbse-other {
  background: #F8F8F6;
  padding: 4rem 2rem;
}

.cbse-other__container {
  max-width: 1100px;
  margin: 0 auto;
}

.cbse-other__headline {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0D0D0D;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.cbse-other__subtext {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #888;
  text-align: center;
  margin-bottom: 2.5rem;
}

.cbse-other__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cbse-other__card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #EBEBEB;
}

.cbse-other__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.cbse-other__img-wrap {
  height: 180px;
  overflow: hidden;
}

.cbse-other__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.cbse-other__card:hover .cbse-other__img-wrap img {
  transform: scale(1.05);
}

.cbse-other__card-body { padding: 1.5rem; }

.cbse-other__card-tag {
  display: inline-block;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.cbse-other__card-tag--teal { background: #EEFAF4; color: #0F6E56; }
.cbse-other__card-tag--purple { background: #F5EEFF; color: #6B3FA0; }
.cbse-other__card-tag--navy { background: #EEF2FF; color: #0A1931; }

.cbse-other__card-title {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0D0D0D;
  margin-bottom: 0.15rem;
  letter-spacing: -0.01em;
}

.cbse-other__card-sub {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.72rem;
  color: #999;
  margin-bottom: 0.6rem;
}

.cbse-other__card-desc {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #777;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cbse-other__card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  height: 44px;
  border-radius: 10px;
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s;
}

.cbse-other__card-cta--teal { background: #0F6E56; }
.cbse-other__card-cta--teal:hover { background: #0B5A46; }
.cbse-other__card-cta--purple { background: #6B3FA0; }
.cbse-other__card-cta--purple:hover { background: #573388; }
.cbse-other__card-cta--navy { background: #0A1931; }
.cbse-other__card-cta--navy:hover { background: #0D2247; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .cbse-hero__container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .cbse-hero__content,
  .cbse-hero__form-wrap {
    flex: none;
    width: 100%;
    max-width: 560px;
  }
  .cbse-hero__headline { font-size: 2.2rem; }
  .cbse-info__container { grid-template-columns: 1fr; }
  .cbse-sidebar { position: static; order: -1; }
  .cbse-info__subjects { grid-template-columns: 1fr 1fr; }
  .cbse-info__faculty { grid-template-columns: 1fr 1fr; }
  .cbse-other__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .cbse-hero { padding: 90px 1.25rem 3rem; }
  .cbse-hero__headline { font-size: 1.8rem; }
  .cbse-hero__subtext { max-width: 100%; }
  .cbse-hero__pills { flex-direction: column; }
  .cbse-hero__breadcrumb { display: none; }
  .cbse-info { padding: 2.5rem 1.25rem; }
  .cbse-info__grid { grid-template-columns: 1fr; }
  .cbse-info__subjects { grid-template-columns: 1fr; }
  .cbse-info__faculty { grid-template-columns: 1fr; }
  .cbse-other__grid { grid-template-columns: 1fr; }
  .cbse-other { padding: 2.5rem 1.25rem; }
  .cbse-other__headline { font-size: 1.6rem; }
  .cbse-other__card-body { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .cbse-hero { padding: 80px 1rem 2.5rem; }
  .cbse-hero__headline { font-size: 1.5rem; }
  .cbse-hero__form-card { padding: 1.5rem; border-radius: 18px; }
  .cbse-hero__content { max-width: 100%; }
  .cbse-info { padding: 2rem 1rem; }
  .cbse-info__heading { font-size: 1.3rem; }
  .cbse-info__section p { font-size: 0.875rem; }
  .cbse-other { padding: 2rem 1rem; }
  .cbse-other__headline { font-size: 1.4rem; }
  .cbse-other__card-title { font-size: 1.1rem; }
}
