/**
 * EIBO Career Hub - Course Detail Stylesheet
 */

/* ==========================================
   Hero Section
   ========================================== */
.cd-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at 10% 20%, rgba(26,115,232,0.08) 0%, rgba(0,0,0,0) 60%),
              radial-gradient(circle at 90% 80%, rgba(0,212,255,0.05) 0%, rgba(0,0,0,0) 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cd-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media(min-width: 992px) {
  .cd-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.cd-hero-content h1 {
  font-size: 2.8rem;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  margin-top: 16px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

@media(min-width: 768px) {
  .cd-hero-content h1 {
    font-size: 3.5rem;
  }
}

.cd-hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 32px;
}

.cd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 0.95rem;
}

.cd-hero-meta span {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
}

.cd-hero-meta strong {
  color: #ffffff;
  margin-left: 6px;
}

.cd-stack-visual {
  width: min(100%, 760px);
  margin-top: 38px;
}

.cd-stack-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(96, 180, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(30, 144, 255, 0.09), rgba(0, 207, 255, 0.025) 48%, rgba(249, 115, 22, 0.055)),
    rgba(255, 255, 255, 0.018);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cd-stack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.75), transparent 72%);
  pointer-events: none;
}

.cd-stack-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -88px;
  background: radial-gradient(circle, rgba(0, 207, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.cd-stack-topline,
.cd-stack-flow,
.cd-browser-preview,
.cd-stack-outcomes {
  position: relative;
  z-index: 1;
}

.cd-stack-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.cd-stack-topline span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cd-stack-topline strong {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
}

.cd-stack-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.cd-stack-flow::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 34px;
  height: 2px;
  background: linear-gradient(90deg, rgba(71, 162, 72, 0.45), rgba(97, 218, 251, 0.62), rgba(51, 153, 51, 0.45));
  opacity: 0.6;
}

.cd-stack-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  animation: stackFloat 4.5s ease-in-out infinite;
  animation-delay: var(--node-delay);
}

.cd-stack-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid color-mix(in srgb, var(--tool-color), transparent 48%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--tool-color), transparent 72%), rgba(255, 255, 255, 0.035) 70%);
  color: var(--tool-color);
  font-size: 1.85rem;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--tool-color), transparent 88%);
}

.cd-stack-node span {
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-browser-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 12%, rgba(96, 180, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(8, 16, 27, 0.98), rgba(4, 8, 12, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 36px rgba(0, 0, 0, 0.32);
}

.cd-stack-card.roadmap-open .cd-browser-preview {
  display: none;
}

.cd-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
}

.cd-browser-dots {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-shrink: 0;
}

.cd-browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--eibo-orange);
}

.cd-browser-dots span:nth-child(2) {
  background: #facc15;
}

.cd-browser-dots span:nth-child(3) {
  background: var(--eibo-green);
}

.cd-browser-address {
  width: min(58%, 320px);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.cd-browser-body {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 14px;
  min-height: 164px;
  padding: 18px;
  align-items: stretch;
}

.cd-preview-panel {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cd-preview-app {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
}

.cd-preview-app-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(96, 180, 255, 0.22), rgba(0, 207, 255, 0.08));
  color: var(--eibo-blue-light);
  font-size: 1.35rem;
}

.cd-preview-app strong,
.cd-preview-app span {
  display: block;
}

.cd-preview-app strong {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  margin-bottom: 3px;
}

.cd-preview-app span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.cd-preview-code {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(96, 180, 255, 0.08), transparent),
    rgba(0, 0, 0, 0.2);
}

.cd-preview-code span {
  position: relative;
  display: block;
  padding-left: 18px;
  color: #b8c6dd;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.76rem;
  line-height: 1.2;
  white-space: nowrap;
}

.cd-preview-code span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--eibo-orange-2);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.5);
}

.cd-preview-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  padding: 0;
}

.cd-preview-stats div {
  padding: 14px 16px;
  background: rgba(249, 115, 22, 0.07);
}

.cd-preview-stats strong,
.cd-preview-stats span {
  display: block;
}

.cd-preview-stats strong {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 4px;
}

.cd-preview-stats span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cd-stack-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cd-stack-outcomes span,
.cd-roadmap-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.cd-roadmap-toggle {
  font-family: var(--font-body);
  transition: all 0.25s ease;
}

.cd-roadmap-toggle:hover,
.cd-roadmap-toggle.active {
  border-color: rgba(249, 115, 22, 0.42);
  background: rgba(249, 115, 22, 0.12);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.14);
}

.cd-stack-outcomes i,
.cd-roadmap-toggle i {
  color: var(--eibo-blue-light);
}

.cd-roadmap-toggle.active i {
  color: var(--eibo-orange-2);
}

.cd-roadmap-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, margin-top 0.25s ease;
}

.cd-roadmap-panel.active {
  max-height: 620px;
  margin-top: 0;
  margin-bottom: 16px;
  opacity: 1;
  transform: translateY(0);
}

.cd-roadmap-panel[hidden] {
  display: block;
}

.cd-roadmap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(96, 180, 255, 0.14);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, rgba(96, 180, 255, 0.1), rgba(249, 115, 22, 0.055));
}

.cd-roadmap-header span,
.cd-roadmap-week {
  display: block;
  color: var(--eibo-orange-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cd-roadmap-header strong {
  display: block;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  margin-top: 4px;
}

.cd-roadmap-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.cd-roadmap-close:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.cd-roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-height: 390px;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid rgba(96, 180, 255, 0.14);
  border-radius: 0 0 16px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.28);
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 180, 255, 0.5) rgba(255, 255, 255, 0.04);
}

.cd-roadmap-track::-webkit-scrollbar {
  width: 7px;
}

.cd-roadmap-track::-webkit-scrollbar-thumb {
  background: rgba(96, 180, 255, 0.5);
  border-radius: 999px;
}

.cd-roadmap-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.cd-roadmap-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.cd-roadmap-marker::after {
  content: "";
  position: absolute;
  top: 42px;
  bottom: -16px;
  width: 1px;
  background: linear-gradient(180deg, rgba(96, 180, 255, 0.55), transparent);
}

.cd-roadmap-marker span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(96, 180, 255, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 180, 255, 0.24), rgba(0, 0, 0, 0.7));
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(96, 180, 255, 0.16);
}

.cd-roadmap-content h4 {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.3;
  margin: 4px 0 8px;
}

.cd-roadmap-content ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  list-style: none;
}

.cd-roadmap-content li {
  position: relative;
  padding-left: 14px;
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.38;
}

.cd-roadmap-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--eibo-orange-2);
}

@keyframes stackFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media(max-width: 768px) {
  .cd-stack-visual {
    margin-top: 30px;
  }

  .cd-stack-card {
    padding: 18px;
  }

  .cd-stack-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .cd-stack-flow::before {
    display: none;
  }

  .cd-browser-body {
    grid-template-columns: 1fr;
  }

  .cd-browser-address {
    width: 54%;
  }

  .cd-roadmap-track {
    grid-template-columns: 1fr;
    max-height: 430px;
  }
}

@media(max-width: 480px) {
  .cd-stack-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .cd-stack-icon {
    width: 58px;
    height: 58px;
    font-size: 1.55rem;
  }

  .cd-browser-body {
    grid-template-columns: 1fr;
  }

  .cd-browser-address {
    display: none;
  }

  .cd-preview-app {
    align-items: flex-start;
    flex-direction: column;
  }

  .cd-preview-code span {
    white-space: normal;
  }

  .cd-roadmap-header,
  .cd-roadmap-track {
    padding: 16px;
  }

  .cd-roadmap-step {
    grid-template-columns: 36px 1fr;
    padding: 12px;
  }

  .cd-roadmap-marker span {
    width: 34px;
    height: 34px;
  }
}

/* ==========================================
   Quick Specs Grid
   ========================================== */
.cd-specs-section {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cd-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media(min-width: 768px) {
  .cd-specs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cd-spec-card {
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cd-spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 115, 232, 0.2);
  background: rgba(26, 115, 232, 0.02);
}

.cd-spec-icon {
  font-size: 1.5rem;
  color: var(--eibo-blue-light);
  margin-bottom: 10px;
}

.cd-spec-card strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
  margin-top: 4px;
}

.cd-spec-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   Page Layout (Main & Sidebar)
   ========================================== */
.cd-main-section {
  padding: 60px 0 100px;
}

.cd-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media(min-width: 992px) {
  .cd-main-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.cd-content-area {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cd-section-title {
  font-size: 2rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.cd-section-title span {
  color: var(--eibo-blue-light);
}

/* Timeline Highlights */
.highlights-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlights-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Tools Covered Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}

.tool-card {
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.15);
  border-color: rgba(26, 115, 232, 0.3);
}

.tool-icon {
  font-size: 2.2rem;
}

.tool-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
}

/* Dynamic Accordion Syllabus */
.syllabus-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active {
  border-color: rgba(26, 115, 232, 0.25);
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.accordion-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.module-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--eibo-blue-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100px;
  flex-shrink: 0;
}

.module-title {
  font-size: 1.15rem;
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-weight: 600;
  flex-grow: 1;
}

.accordion-icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--eibo-blue-light);
}

.accordion-panel {
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content {
  padding: 0 24px 24px 124px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

@media(max-width: 576px) {
  .accordion-trigger {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .module-number {
    width: auto;
  }
  .accordion-content {
    padding: 0 20px 20px 20px;
  }
}

.syllabus-topics {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.syllabus-topics li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.syllabus-topics li i {
  color: var(--eibo-blue-light);
  margin-top: 5px;
  font-size: 0.8rem;
}

/* Projects Timeline */
.projects-showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-timeline-card {
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.project-timeline-card:hover {
  border-color: rgba(26, 115, 232, 0.2);
  transform: translateX(4px);
}

.project-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--eibo-blue-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.project-timeline-card h3 {
  font-size: 1.4rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 12px;
}

.project-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* ==========================================
   Sticky Conversion Sidebar
   ========================================== */
.cd-sidebar-container {
  position: relative;
}

.cd-sidebar-sticky {
  position: sticky;
  transition: top 0.3s ease;
}

.cd-lead-card {
  padding: 36px 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cd-lead-card h3 {
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 12px;
  text-align: center;
}

.cd-lead-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}

.cd-lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cd-input-group {
  position: relative;
}

.cd-input-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.cd-input-group input,
.cd-input-group select,
.cd-input-group textarea {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

.cd-input-group input:focus,
.cd-input-group select:focus,
.cd-input-group textarea:focus {
  border-color: var(--eibo-blue-light);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(26, 115, 232, 0.2);
}

.cd-input-group select {
  cursor: pointer;
  appearance: none;
}

/* Custom dropdown chevron for select */
.cd-input-group-select::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.8rem;
}

.cd-sidebar-benefits {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cd-sidebar-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cd-sidebar-benefit-item i {
  color: var(--eibo-blue-light);
}

/* Success lead modal overlay */
.success-lead-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
  animation: fadeIn 0.3s ease forwards;
}

.slm-content {
  max-width: 550px;
  width: 100%;
  padding: 40px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.slm-content h2 {
  font-size: 2rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 12px;
}

.slm-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==========================================
   Sticky Sub-Navigation Bar
   ========================================== */
.cd-subnav {
  position: sticky;
  top: 72px; /* Offset below primary fixed navbar */
  z-index: 99;
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.cd-subnav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.cd-subnav-inner::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.cd-subnav-inner a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.cd-subnav-inner a:hover {
  color: #ffffff;
  background: rgba(26, 115, 232, 0.05);
}

.cd-subnav-inner a.active {
  color: #ffffff;
  background: rgba(26, 115, 232, 0.15);
  border-color: rgba(26, 115, 232, 0.4);
  box-shadow: 0 0 15px rgba(26, 115, 232, 0.25);
}

/* ==========================================
   Success Stories & Placements Section
   ========================================== */
.placement-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media(min-width: 768px) {
  .placement-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.placement-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.placement-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 115, 232, 0.25);
  box-shadow: 0 10px 25px rgba(26, 115, 232, 0.1);
}

.placement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--eibo-blue-light), transparent);
}

.placement-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.placement-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--eibo-blue-light);
  box-shadow: 0 0 10px rgba(26, 115, 232, 0.2);
}

.placement-info h4 {
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.placement-info .alumni-desg {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.placement-package {
  position: absolute;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.1);
}

.placement-transition {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.transition-from, .transition-to {
  font-size: 0.82rem;
  font-weight: 500;
}

.transition-from {
  color: var(--text-muted);
}

.transition-to {
  color: var(--eibo-blue-light);
}

.transition-arrow {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.placement-quote {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* ==========================================
   Google verified Alumni Reviews list
   ========================================== */
.reviews-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media(min-width: 768px) {
  .reviews-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.reviewer-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.reviewer-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.reviewer-info strong {
  font-size: 0.95rem;
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

.reviewer-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-source-google {
  color: #f59e0b; /* Google star color */
  font-size: 0.85rem;
}

.review-rating-stars {
  color: #f59e0b;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   Relocated Hero Form Container Styling
   ========================================== */
.cd-hero-form-container {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
}

@media(min-width: 992px) {
  .cd-hero-form-container {
    margin-left: auto;
    margin-right: 0;
  }
}

/* ==========================================
   Sidebar Admissions Counselling Card
   ========================================== */
.cd-sidebar-info-card {
  padding: 36px 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cd-sidebar-info-card h3 {
  font-size: 1.4rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 12px;
  text-align: center;
  color: #ffffff;
}

.cd-sidebar-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.sidebar-status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(26, 115, 232, 0.06);
  border: 1px solid rgba(26, 115, 232, 0.2);
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--eibo-blue-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--eibo-blue-light);
}

.animate-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(26, 115, 232, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
  }
}

.sidebar-slots-warning {
  text-align: center;
  font-size: 0.85rem;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 500;
}

.sidebar-slots-warning i {
  margin-right: 6px;
}

.sidebar-features-list {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sfl-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sfl-icon {
  font-size: 1.25rem;
  color: var(--eibo-blue-light);
  margin-top: 2px;
}

.sfl-text strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.sfl-text span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}
