/* ============================================================
   UDDAN COMPUTER EDUCATION — COURSE LANDING PAGE CSS
   Shared styles for all individual course pages
   ============================================================ */

/* ---- Course Page Hero / Banner ---- */
.course-page-hero {
  background: linear-gradient(135deg, #0b1f3b 0%, #1a3a6b 50%, #2a569f 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.course-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.course-page-hero .container { position: relative; z-index: 2; }
.course-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,152,0,0.15); border: 1px solid rgba(255,152,0,0.4);
  color: #ff9800; padding: 5px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.course-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px;
}
.course-hero-title span { color: #ff9800; }
.course-hero-subtitle {
  font-size: 1rem; color: rgba(255,255,255,0.82);
  max-width: 620px; margin-bottom: 24px; line-height: 1.7;
}
.course-hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.hero-tag {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9);
  padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-tag i { font-size: 11px; color: #ff9800; }
.breadcrumb-nav { display: flex; align-items: center; gap: 6px; margin-top: 20px; }
.breadcrumb-nav a { color: rgba(255,255,255,0.6); font-size: 12px; }
.breadcrumb-nav a:hover { color: #ff9800; }
.breadcrumb-nav span { color: rgba(255,255,255,0.35); font-size: 12px; }
.breadcrumb-nav .current { color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 600; }

/* ---- Course Highlights Bar ---- */
.course-highlights {
  background: #fff; padding: 0;
  box-shadow: 0 4px 20px rgba(42,86,159,0.1);
  position: sticky; top: 72px; z-index: 500;
  border-bottom: 1px solid #dde3f0;
}
.highlights-inner {
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
}
.highlight-item {
  padding: 16px 12px; text-align: center;
  border-right: 1px solid #dde3f0;
  display: flex; flex-direction: column; gap: 3px;
}
.highlight-item:last-child { border-right: none; }
.highlight-item i { font-size: 18px; color: #2a569f; margin-bottom: 3px; }
.highlight-val { font-size: 15px; font-weight: 800; color: #1a2238; }
.highlight-label { font-size: 11px; color: #5a6a8a; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- Main 2-col Layout ---- */
.course-main-grid {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 36px; max-width: 1320px; margin: 0 auto;
  padding: 48px 20px;
  align-items: start;
}
@media (max-width: 1024px) { .course-main-grid { grid-template-columns: 1fr; } }

/* ---- Left Content ---- */
.course-content-left {}
.content-card {
  background: #fff; border-radius: 16px; padding: 32px;
  box-shadow: 0 4px 20px rgba(42,86,159,0.08);
  margin-bottom: 24px; border: 1px solid #dde3f0;
}
.content-card-title {
  font-size: 1.2rem; font-weight: 800; color: #1a2238;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid #eef2ff;
  display: flex; align-items: center; gap: 10px;
}
.content-card-title i { color: #2a569f; font-size: 1.1rem; }
.course-intro-text { font-size: 15px; color: #5a6a8a; line-height: 1.85; }
.course-intro-text p { margin-bottom: 14px; }
.course-intro-text p:last-child { margin-bottom: 0; }

/* Career Scope Box */
.career-scope-box {
  background: #eef2ff; border-left: 4px solid #2a569f;
  border-radius: 0 12px 12px 0; padding: 22px 24px; margin-top: 20px;
}
.career-scope-box h5 { font-size: 1rem; font-weight: 700; color: #1a2238; margin-bottom: 14px; }
.scope-items { display: flex; flex-direction: column; gap: 10px; }
.scope-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #374151; }
.scope-item strong { color: #1a2238; min-width: 140px; flex-shrink: 0; }

/* ---- Syllabus Accordion ---- */
.syllabus-accordion { display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
  border: 1px solid #dde3f0; border-radius: 10px; overflow: hidden;
  transition: all 0.3s ease;
}
.accordion-item.open { border-color: #2a569f; box-shadow: 0 4px 12px rgba(42,86,159,0.1); }
.accordion-header {
  background: #f8f9ff; padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: background 0.3s ease;
  user-select: none;
}
.accordion-header:hover { background: #eef2ff; }
.accordion-item.open .accordion-header { background: #2a569f; color: #fff; }
.accordion-header h4 {
  font-size: 14.5px; font-weight: 700; color: #1a2238;
  display: flex; gap: 10px; align-items: center; margin: 0;
}
.accordion-item.open .accordion-header h4 { color: #fff; }
.accordion-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: #2a569f; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.accordion-item.open .accordion-num { background: rgba(255,255,255,0.25); }
.accordion-icon {
  font-size: 14px; color: #5a6a8a; transition: transform 0.3s ease; flex-shrink: 0;
}
.accordion-item.open .accordion-icon { transform: rotate(180deg); color: #fff; }
.accordion-body {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  background: #fff;
}
.accordion-body.open { max-height: 500px; }
.accordion-topics {
  padding: 16px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (max-width: 600px) { .accordion-topics { grid-template-columns: 1fr; } }
.topic-item {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13.5px; color: #374151;
}
.topic-item::before { content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---- Career Benefits ---- */
.career-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 600px) { .career-grid { grid-template-columns: 1fr; } }
.career-card {
  background: #f8f9ff; border-radius: 12px; padding: 20px;
  border: 1px solid #dde3f0; transition: all 0.3s ease;
}
.career-card:hover { background: #fff; box-shadow: 0 4px 16px rgba(42,86,159,0.12); transform: translateY(-3px); }
.career-card-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.career-card h4 { font-size: 13.5px; font-weight: 700; color: #1a2238; margin-bottom: 8px; }
.career-card ul { list-style: none; padding: 0; margin: 0; }
.career-card ul li { font-size: 13px; color: #5a6a8a; padding: 3px 0; display: flex; gap: 6px; align-items: center; }
.career-card ul li::before { content: '›'; color: #2a569f; font-weight: 700; font-size: 16px; }

/* ---- Why Choose Uddan (course page) ---- */
.why-course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 600px) { .why-course-grid { grid-template-columns: 1fr; } }
.why-course-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; background: #f8f9ff; border-radius: 12px;
  border: 1px solid #dde3f0; transition: all 0.3s ease;
}
.why-course-item:hover { background: #eef2ff; transform: translateX(4px); }
.why-course-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: linear-gradient(135deg, #2a569f, #0b1f3b);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px;
}
.why-course-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: #1a2238; }
.why-course-text p { font-size: 13px; color: #5a6a8a; line-height: 1.6; margin: 0; }

/* ---- Sticky Enquiry Sidebar ---- */
.course-sidebar { position: sticky; top: 140px; }
.sidebar-card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 32px rgba(42,86,159,0.15);
  overflow: hidden; border: 1px solid #dde3f0;
  margin-bottom: 20px;
}
.sidebar-header {
  background: linear-gradient(135deg, #0b1f3b, #2a569f);
  padding: 20px 22px;
}
.sidebar-header h3 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.sidebar-header p { font-size: 12.5px; color: rgba(255,255,255,0.75); margin: 0; }
.sidebar-body { padding: 20px 22px; }
.sidebar-form-group { margin-bottom: 14px; }
.sidebar-form-group label { font-size: 12.5px; font-weight: 600; color: #1a2238; display: block; margin-bottom: 5px; }
.sidebar-input {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  border: 2px solid #dde3f0; font-size: 13.5px;
  font-family: inherit; outline: none; transition: border-color 0.3s ease; color: #1a2238;
}
.sidebar-input:focus { border-color: #2a569f; box-shadow: 0 0 0 3px rgba(42,86,159,0.1); }
.btn-sidebar-submit {
  width: 100%; padding: 12px; border-radius: 8px;
  background: linear-gradient(135deg, #2a569f, #0b1f3b);
  color: #fff; border: none; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.3s ease; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-sidebar-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42,86,159,0.4); }
.sidebar-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.sidebar-divider::before, .sidebar-divider::after { content: ''; flex: 1; height: 1px; background: #dde3f0; }
.sidebar-divider span { font-size: 12px; color: #8a9bb5; font-weight: 500; }
.btn-sidebar-wa {
  width: 100%; padding: 11px; border-radius: 8px;
  background: #25d366; color: #fff; border: none; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.3s ease; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.btn-sidebar-wa:hover { background: #128c51; transform: translateY(-2px); }
.sidebar-info-card {
  background: #fff; border-radius: 12px; padding: 18px;
  box-shadow: 0 4px 16px rgba(42,86,159,0.08);
  border: 1px solid #dde3f0;
}
.sidebar-info-card h4 { font-size: 14px; font-weight: 700; color: #1a2238; margin-bottom: 14px; }
.sidebar-info-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 13px; }
.sidebar-info-row:last-child { margin-bottom: 0; }
.sidebar-info-row i { color: #2a569f; margin-top: 2px; flex-shrink: 0; width: 16px; }
.sidebar-info-row span { color: #5a6a8a; line-height: 1.5; }
.sidebar-info-row strong { color: #1a2238; }

/* ---- Related Courses ---- */
.related-courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .related-courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .related-courses-grid { grid-template-columns: 1fr; } }
.related-card {
  background: #fff; border-radius: 12px; padding: 20px;
  border: 1px solid #dde3f0; transition: all 0.3s ease;
  text-align: center;
}
.related-card:hover { box-shadow: 0 6px 20px rgba(42,86,159,0.12); transform: translateY(-4px); border-color: #2a569f; }
.related-icon { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.related-name { font-size: 14px; font-weight: 700; color: #1a2238; margin-bottom: 8px; }
.related-link {
  font-size: 12.5px; color: #2a569f; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.related-link:hover { color: #ff9800; }

/* ---- Course CTA Banner ---- */
.course-cta-banner {
  background: linear-gradient(135deg, #0b1f3b, #2a569f);
  padding: 56px 0; text-align: center; position: relative; overflow: hidden;
}
.course-cta-banner h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.course-cta-banner h2 span { color: #ff9800; }
.course-cta-banner p { color: rgba(255,255,255,0.8); font-size: 15px; max-width: 560px; margin: 0 auto 28px; }
.cta-course-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Highlights bar responsive ---- */
@media (max-width: 768px) {
  .highlights-inner { grid-template-columns: repeat(3, 1fr); }
  .highlight-item:nth-child(4), .highlight-item:nth-child(5) { border-top: 1px solid #dde3f0; }
  .course-highlights { position: relative; top: auto; }
}
@media (max-width: 480px) {
  .highlights-inner { grid-template-columns: repeat(2, 1fr); }
}
