/* ============================================================
   marketplace.css  –  public-facing pages (course display,
   reviews, login, etc.)
   Brand: TheMarketBoss
   Primary #0c359e | Accent #2ad982 | Fonts: Poppins / Inter
   ============================================================ */

/* Footer clearfix — footer children use float:left; without this
   the <footer> collapses to 0 height and body clips the content.
   Using a pseudo-element clearfix instead of overflow:hidden to avoid
   clipping the first-column's negative margin-top (-120px). */
footer::after { content: ''; display: table; clear: both; }

/* ----------------------------------------------------------------
   1. CSS VARIABLES
   ---------------------------------------------------------------- */
:root {
  --accent:        #2ad982;
  --accent-dark:   #1ab86a;
  --primary:       #0c359e;
  --primary-light: #1a4dbe;
  --bg-white:      #ffffff;
  --bg-cream:      #f4f7ff;
  --bg-sage:       #e8f5ee;
  --text-dark:     #111111;
  --text-muted:    #8a8c91;
  --support-clay:  #666888;
  --font-heading:  "Poppins", sans-serif;
  --font-body:     "Inter", serif;
  --radius-card:   20px;
  --shadow-card:   0 4px 24px rgba(0,0,0,.08);
}

/* ----------------------------------------------------------------
   2. HERO / PAGE HEADER
   ---------------------------------------------------------------- */
.hero-section-static {
  background: linear-gradient(135deg, #0c359e 0%, #1a4dbe 60%, #2563d4 100%);
  color: #fff;
  /* topheader=35px + navbar≈56px at y=30px → bottom≈86px; hero starts at 35px,
     so padding-top needs (86-35)=51px just to clear + comfortable breathing room */
  padding: 120px 0 70px;
  margin-top: 0;
}
.hero-section-static h1 {
  color: #fff;
  font-size: 36px;
  line-height: 1.25;
}
.hero-section-static .subtitle,
.hero-section-static p {
  color: rgba(255,255,255,.75);
}
.hero-section-static .breadcrumb-item a {
  color: var(--accent);
  text-decoration: none;
}
.hero-section-static .breadcrumb-item.active {
  color: rgba(255,255,255,.6);
}
.hero-section-static .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.4);
}

/* ----------------------------------------------------------------
   3. SECTION UTILITY
   ---------------------------------------------------------------- */
.section-padding {
  padding: 70px 0;
}
.subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
}

/* ----------------------------------------------------------------
   4. TESTIMONIAL CARDS  (reviews page)
   ---------------------------------------------------------------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card:hover,
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(12,53,158,.14);
}

/* Standalone quote-text class (used in testimonial-page.blade.php) */
.quote-text {
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: #444;
  font-size: 16px;
  line-height: 28px;
  font-style: italic;
  flex: 1;
  width: 100%;
}

/* Quote text inside testimonial card – NOT the icon circle */
.testimonial-card .quote-text,
.testimonial-card p.quote,
.testimonial-card .quote {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #444 !important;
  font-size: 16px;
  line-height: 28px;
  font-style: italic;
  flex: 1;
  width: 100%;
}
.testimonial-card p.name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 16px;
  margin: 16px 0 2px;
  background: transparent;
}
.testimonial-card p.role {
  color: var(--support-clay);
  font-size: 14px;
  margin: 0;
  background: transparent;
}

/* Video testimonial wrapper */
.video-container {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 0;
}
.video-portrait {
  position: relative;
  padding-bottom: 177.78%;
  height: 0;
  overflow: hidden;
}
.video-portrait iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 0;
}

/* ----------------------------------------------------------------
   5. COURSE DISPLAY PAGE  (CDP prefix = Course Display Page)
   ---------------------------------------------------------------- */

/* ── Hero ── */
.cdp-hero {
  position: relative;
  background: linear-gradient(135deg, #061d6e 0%, #0c359e 45%, #1a4dbe 100%);
  color: #fff;
  padding: 120px 0 64px;
  overflow: hidden;
}
.cdp-hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(42,217,130,.15) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,.06) 0%, transparent 40%);
  pointer-events: none;
}
.cdp-breadcrumb .breadcrumb-item a {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
}
.cdp-breadcrumb .breadcrumb-item.active {
  color: rgba(255,255,255,.55);
  font-size: 13px;
}
.cdp-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.3);
}
.cdp-hero__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(42,217,130,.18);
  border: 1px solid rgba(42,217,130,.4);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.cdp-hero__title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
  max-width: 680px;
}
.cdp-hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 24px;
}
.cdp-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cdp-hero__stat {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
}
.cdp-hero__stat i {
  color: var(--accent);
  font-size: 14px;
}
.cdp-hero__stat--share { background: transparent; border: 0; padding: 0; }
.cdp-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.cdp-share-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

/* ── Body wrapper ── */
.cdp-body {
  background: #f2f5fc;
  padding: 40px 0 80px;
}

/* ── Main card ── */
.cdp-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 20px rgba(12,53,158,.08);
  overflow: hidden;
}

/* ── Tabs nav ── */
.cdp-tabs {
  background: #fff;
  border-bottom: 2px solid #eef1f9;
  padding: 0 28px;
}
.cdp-tabs__nav {
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.cdp-tabs__nav::-webkit-scrollbar { display: none; }
.cdp-tabs__btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 18px 13px;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  margin-bottom: -2px;
}
.cdp-tabs__btn:hover { color: var(--primary); }
.cdp-tabs__btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: transparent;
}
.cdp-tabs__btn i { opacity: .7; }
.cdp-tabs__btn.active i { opacity: 1; }

/* ── Tab body ── */
.cdp-card__body {
  padding: 32px 30px 36px;
}

/* ── Section titles ── */
.cdp-section { margin-bottom: 32px; }
.cdp-section:last-child { margin-bottom: 0; }
.cdp-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef1f9;
}
.cdp-description {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}
.cdp-description h2,
.cdp-description h3,
.cdp-description h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* ── What you'll learn ── */
.cdp-learn-box {
  background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
  border: 1.5px solid #dce6ff;
  border-radius: 16px;
  padding: 24px 28px;
}
.cdp-learn-box .cdp-section__title {
  border-bottom-color: #dce6ff;
}
.cdp-learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.cdp-learn-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}
.cdp-learn-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.cdp-learn-item__icon i {
  color: #111;
  font-size: 12px;
}

/* ── Curriculum ── */
.cdp-badge-pill {
  display: inline-block;
  background: var(--bg-cream);
  border: 1px solid #dce6ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  padding: 4px 14px;
}
.cdp-curriculum {
  border: 1.5px solid #eef1f9;
  border-radius: 14px;
  overflow: hidden;
}
.cdp-lecture {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #f0f3fb;
  transition: background .15s;
  gap: 12px;
}
.cdp-lecture:last-child { border-bottom: 0; }
.cdp-lecture:hover { background: #f8faff; }
.cdp-lecture__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.cdp-lecture__play {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(12,53,158,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s;
}
.cdp-lecture__play:hover { background: var(--primary); }
.cdp-lecture__play i {
  color: var(--primary);
  font-size: 14px;
  margin-left: 2px;
}
.cdp-lecture__play:hover i { color: #fff; }
.cdp-lecture__info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cdp-lecture__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.cdp-lecture__title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cdp-lecture__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cdp-lecture__preview {
  font-size: 11px;
  font-weight: 700;
  background: rgba(42,217,130,.15);
  color: var(--accent-dark);
  border-radius: 10px;
  padding: 2px 10px;
}
.cdp-lecture__locked {
  color: var(--text-muted);
  font-size: 14px;
}
.cdp-lecture__dur {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.cdp-lecture__level {
  font-size: 11px;
  color: var(--text-muted);
  background: #f0f0f0;
  border-radius: 8px;
  padding: 2px 8px;
}

/* ── Instructor stats ── */
.cdp-instructor-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cdp-instructor-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-cream);
  border: 1.5px solid #dce6ff;
  border-radius: 14px;
  padding: 18px 22px;
  flex: 1;
  min-width: 160px;
}
.cdp-instructor-stat__icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cdp-instructor-stat__icon i {
  color: #fff;
  font-size: 20px;
}
.cdp-instructor-stat__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.cdp-instructor-stat__label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Buy box / sidebar ── */
.cdp-buybox {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 40px rgba(12,53,158,.13);
  overflow: hidden;
  position: sticky;
  top: 100px;
  border: 1.5px solid #e8eeff;
}
.cdp-buybox__preview {
  position: relative;
  overflow: hidden;
  background: #111;
}
.cdp-buybox__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.cdp-buybox:hover .cdp-buybox__img { transform: scale(1.04); }
.cdp-buybox__iframe {
  width: 100%;
  height: 210px;
  border: 0;
  display: block;
}
.cdp-buybox__preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.25);
  opacity: 0;
  transition: opacity .25s;
}
.cdp-buybox:hover .cdp-buybox__preview-overlay { opacity: 1; }
.cdp-buybox__play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.cdp-buybox__play-btn i {
  font-size: 22px;
  color: var(--primary);
  margin-left: 3px;
}
.cdp-buybox__body {
  padding: 22px 22px 18px;
}
.cdp-buybox__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cdp-buybox__price {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-dark);
  font-family: var(--font-heading);
  line-height: 1;
}
.cdp-buybox__currency {
  font-size: 20px;
  font-weight: 700;
  vertical-align: super;
  margin-right: 2px;
}
.cdp-buybox__original {
  font-size: 16px;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 500;
}
.cdp-buybox__save-badge {
  background: #fff0e6;
  color: #d6600a;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 10px;
  letter-spacing: .3px;
}
.cdp-buybox__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #18c96a 100%);
  color: #111;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -.3px;
  padding: 15px 20px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(42,217,130,.45), 4px 4px #111;
  transition: transform .2s, box-shadow .2s;
  margin-bottom: 10px;
}
.cdp-buybox__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,217,130,.5), 4px 4px #111;
  color: #111;
}
.cdp-buybox__enrolled {
  display: flex;
  align-items: center;
  background: #edfaf5;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
}
.cdp-buybox__guarantee {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin: 6px 0 16px;
}
.cdp-buybox__guarantee i { color: var(--accent-dark); }
.cdp-buybox__includes {
  border-top: 1.5px solid #f0f3fb;
  padding-top: 16px;
  margin-bottom: 14px;
}
.cdp-buybox__includes-title {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 10px;
}
.cdp-buybox__includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cdp-buybox__includes ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #444;
}
.cdp-buybox__includes ul li i {
  color: var(--primary);
  font-size: 15px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.cdp-buybox__share {
  border-top: 1.5px solid #f0f3fb;
  padding-top: 14px;
  text-align: center;
}
.cdp-buybox__share-btn {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 7px 20px;
  transition: background .2s, color .2s;
}
.cdp-buybox__share-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Social share icon grid (inside modal) ── */
.share-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.share-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: opacity .18s, transform .18s;
  line-height: 1;
}
.share-icon-btn i { font-size: 22px; }
.share-icon-btn:hover { opacity: .88; transform: translateY(-2px); color: #fff; }
.share-fb { background: #1877f2; }
.share-tw { background: #000000; }
.share-li { background: #0a66c2; }
.share-wa { background: #25d366; }
.share-pi { background: #e60023; }
.share-em { background: var(--primary); }

/* Copy-link row */
.copy-link-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.copy-link-input {
  flex: 1;
  background: var(--bg-cream);
  border: 1.5px solid #d0d8ef;
  border-radius: 8px;
  font-size: 12px;
  color: #555;
  cursor: text;
}
.copy-link-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 13px;
  font-size: 14px;
  cursor: pointer;
  transition: background .18s;
}
.copy-link-btn.copied { background: var(--accent-dark); }
.copy-link-btn:hover { background: var(--primary-light); }

/* ── Responsive ── */
@media (max-width: 991px) {
  .cdp-hero { padding: 110px 0 48px; }
  .cdp-hero__title { font-size: 28px; }
  .cdp-buybox { position: static; }
  .cdp-learn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cdp-hero { padding: 100px 0 40px; }
  .cdp-hero__title { font-size: 24px; }
  .cdp-card__body { padding: 20px 16px 24px; }
  .cdp-tabs { padding: 0 16px; }
  .cdp-instructor-stats { flex-direction: column; }
  .cdp-instructor-stat { min-width: 0; }
  .share-icon-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
  .cdp-hero__title { font-size: 20px; }
  .cdp-learn-grid { grid-template-columns: 1fr; }
  .cdp-lecture__meta { display: none; }
}

/* ----------------------------------------------------------------
   6. LOGIN PAGE
   ---------------------------------------------------------------- */
.userlogin {
  float: left;
  width: 100%;
  background-size: cover !important;
  background-position: center !important;
  min-height: 100vh;
}
.login-wrapper {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 20px 20px;
}
.login {
  width: 44%;
  margin: 0 auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 60px rgba(12,53,158,.18);
  padding: 44px 56px 36px;
  position: relative;
  z-index: 10;
}
.login-text {
  color: #fff;
}
.login-text h1.main-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.login-text .tagline {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 380px;
}
.login-text .badge-pill {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: .5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.logining {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
}
.loginlogo img {
  height: auto !important;
  width: 50%;
  position: static !important;
  margin-bottom: 12px;
}
.loginstart h3 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.loginbtn .btn.btn-default {
  width: 100%;
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
  box-shadow: 4px 4px #111;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 40px;
  font-family: var(--font-heading);
  letter-spacing: -.5px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.loginbtn .btn.btn-default:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 4px 4px #111;
}
.lost a, .account a {
  font-size: 14px;
  color: #777;
  text-decoration: none;
}
.lost a:hover, .account a:hover {
  color: #333;
  text-decoration: underline;
}

/* ----------------------------------------------------------------
   7. COURSE LISTING CARDS
   ---------------------------------------------------------------- */
.course-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(12,53,158,.14);
}
.course-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.course-card-placeholder {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a4dbe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-card-placeholder i {
  font-size: 52px;
  color: rgba(255,255,255,.35);
}
.course-card-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 10px;
  letter-spacing: .3px;
}
.course-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}
.course-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 0;
}
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.course-card-price .price-main,
.course-card-price .price-special {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}
.course-card-price .price-free {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-dark);
}
.course-card-price .price-strike {
  font-size: 13px;
  color: #aaa;
  text-decoration: line-through;
  margin-left: 5px;
}
.btn-view-course {
  background: var(--accent);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -.3px;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 3px 3px #111;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-view-course:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 3px 3px #111;
}

/* ----------------------------------------------------------------
   8. RESPONSIVE OVERRIDES
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .login { width: 65%; }
  .logining { display: none !important; }
  .hero-section-static h1 { font-size: 28px; }
}
@media (max-width: 768px) {
  .login { width: 90%; padding: 36px 28px 28px; }
  .section-padding { padding: 50px 0; }
  .hero-section-static { padding: 100px 0 48px; }
  .share-icon-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .share-icon-btn { padding: 10px 6px; font-size: 12px; }
  .share-icon-btn i { font-size: 20px; }
}
@media (max-width: 480px) {
  .login { width: 94%; margin: 24px auto; }
  .hero-section-static h1 { font-size: 22px; }
  .hero-section-static { padding: 90px 0 36px; }
  .share-icon-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-pills .nav-link { font-size: 13px; padding: 6px 10px; }
}

/* ----------------------------------------------------------------
   9. GLOBAL NAV OFFSET — keeps every first-section below fixed navbar
   ---------------------------------------------------------------- */
/* Blog / generic common-header after fixed navbar */
.common-header {
  padding-top: 86px !important;  /* clears topheader(35) + navbar(~56 at y=30) */
}

/* cdp-hero handles its own top offset */
.cdp-hero + * { margin-top: 0; }
