/* ============================================================
   SMART ENGLISH â€” COURSE HERO
   File: se-hero.css  (Novamira Sandbox)
   Version: 3.5 Clean
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --se-blue-dark:   #0a2885;
  --se-blue-mid:    #1a4fd8;
  --se-blue-light:  #3b82f6;
  --se-blue-soft:   #60a5fa;

  --se-dark:        #1D5FD0;
  --se-main:        #2F80ED;
  --se-light:       #78B9FF;

  --se-gold:        #f59e0b;
  --se-orange:      #f97316;
  --se-white:       #ffffff;
  --se-white-80:    rgba(255,255,255,0.80);
  --se-white-50:    rgba(255,255,255,0.50);
  --se-white-20:    rgba(255,255,255,0.20);
  --se-white-12:    rgba(255,255,255,0.12);
  --se-white-08:    rgba(255,255,255,0.08);

  --se-hero-h:      480px;
  --se-radius-card: 20px;
  --se-radius-btn:  14px;
  --se-ease:        cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================================
   HERO WRAPPER
   ============================================================ */
.se-primary-hero {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  position: relative;
  width: 100%;
  min-height: var(--se-hero-h);
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.10) 0%, transparent 60%),
    linear-gradient(270deg, var(--se-dark) 0%, var(--se-main) 45%, var(--se-light) 100%);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.se-primary-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 280px at 15% -10%, rgba(255,255,255,0.07) 0%, transparent 60%),
    radial-gradient(circle 180px at 5% 90%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.se-primary-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.se-hero-breadcrumb {
  position: absolute;
  top: 20px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--se-white-50);
  z-index: 5;
  font-weight: 500;
}

.se-hero-breadcrumb a {
  color: var(--se-white-50);
  text-decoration: none;
  transition: color .2s ease;
}

.se-hero-breadcrumb a:hover {
  color: var(--se-white);
}

.se-hero-breadcrumb .sep {
  color: var(--se-white-20);
  font-size: 11px;
}

.se-hero-breadcrumb .current {
  color: var(--se-white-80);
}

/* ============================================================
   STAGE BADGE
   ============================================================ */
.se-hero-stage-badge {
  position: absolute;
  top: 20px;
  left: 36px;
  background: var(--se-white-12);
  border: 1px solid var(--se-white-20);
  border-radius: 50px;
  padding: 6px 16px 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--se-white);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 5;
}

.se-hero-stage-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fde68a;
  box-shadow: 0 0 6px rgba(253,230,138,.8);
  flex-shrink: 0;
  animation: se-pulse 2s ease-in-out infinite;
}

@keyframes se-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}

/* ============================================================
   HERO TEXT + CTA
   ============================================================ */
.se-hero-left {
  flex: 1;
  min-width: 0;
  padding: 72px 100px 44px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.se-hero-kicker {
  font-size: 15px;
  font-weight: 700;
  color: #dbeafe;
  margin-bottom: 8px;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.se-hero-kicker::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: #dbeafe;
  border-radius: 2px;
}

.se-hero-title {
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 900;
  color: var(--se-white);
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
  letter-spacing: -0.5px;
  transition: transform .35s ease, text-shadow .35s ease;
}

.se-hero-title:hover {
  transform: translateY(-2px);
  text-shadow:
    0 0 18px rgba(255,255,255,.20),
    0 6px 24px rgba(0,0,0,.20);
}

.se-hero-term {
  display: inline-block;
  width: auto;
  max-width: max-content;
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff !important;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.se-hero-term:hover {
  color: #fff !important;
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.35);
}

.se-hero-title-underline {
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--se-gold), var(--se-orange));
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(245,158,11,.4);
}

.se-hero-subtitle {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--se-white-80);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 420px;
  transition: color .3s ease;
}

.se-hero-subtitle:hover {
  color: #fff;
}

.se-hero-mini-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 30px;
}

.se-hero-mini-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--se-white-80);
  transition: transform .3s ease;
}

.se-hero-mini-feat:hover {
  transform: translateY(-3px);
}

.se-hero-mini-feat .feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--se-white-12);
  border: 1px solid var(--se-white-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: transform .3s ease, background .3s ease;
}

.se-hero-mini-feat:hover .feat-icon {
  transform: scale(1.12);
  background: rgba(255,255,255,.20);
}

.se-hero-cta-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--se-white-12);
  border: 1.5px solid var(--se-white-20);
  border-radius: var(--se-radius-card);
  padding: 18px 22px;
  max-width: 420px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 32px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,255,255,.15);
  transition: box-shadow .3s var(--se-ease), transform .3s var(--se-ease), border-color .3s ease, background .3s ease;
}

.se-hero-cta-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.28);
  box-shadow:
    0 16px 48px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.15);
}

.se-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  padding-left: 22px;
}

.se-price-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--se-white-50);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.se-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.se-price-amount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--se-white);
  line-height: 1;
}

.se-current-price {
  font-size: 34px;
  font-weight: 900;
  color: var(--se-white);
  white-space: nowrap;
}

.se-old-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--se-white-80);
  text-decoration-thickness: 3px;
  white-space: nowrap;
}

.se-price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--se-white-80);
}

.se-price-note {
  font-size: 10.5px;
  color: var(--se-white-50);
  margin-top: 4px;
}

.se-cta-divider {
  width: 1px;
  height: 60px;
  background: var(--se-white-20);
  flex-shrink: 0;
  margin: 0 22px;
}

.se-btn-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.se-btn-cart {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: var(--se-radius-btn);
  font-family: 'Tajawal', sans-serif;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .25s var(--se-ease), box-shadow .25s var(--se-ease);
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249,115,22,.45);
}

.se-btn-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(249,115,22,.55);
  color: #fff;
}

.se-btn-cart:active {
  transform: translateY(-1px);
}

.se-btn-preview {
  width: 100%;
  padding: 9px 20px;
  border: 1.5px solid var(--se-white-20);
  border-radius: var(--se-radius-btn);
  background: transparent;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--se-white-80);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.se-btn-preview:hover {
  background: var(--se-white-12);
  border-color: var(--se-white-50);
  color: var(--se-white);
}

/* ============================================================
   HERO IMAGE
   ============================================================ */
.se-hero-right {
  width: 46%;
  max-width: 700px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.se-hero-right::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center 70%, rgba(255,255,255,.25) 0%, rgba(255,255,255,.10) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.se-hero-img {
  width: 100%;
  height: var(--se-hero-h);
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(-12px 0 36px rgba(0,0,0,.22));
  transition: transform .5s var(--se-ease);
}

.se-hero-img:hover {
  transform: scale(1.02) translateY(-4px);
}

/* ============================================================
   FLOATING FEATURE STRIP
   ============================================================ */
.se-feature-strip {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  position: relative;
  z-index: 20;
  width: calc(100% - 80px);
  max-width: 1180px;
  margin: -32px auto 70px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border: none;
  border-radius: 28px;
  overflow: hidden;
  padding: 0;
  box-shadow:
    0 12px 40px rgba(15,23,42,.12),
    0 4px 14px rgba(15,23,42,.06);
}

.se-strip-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 22px 16px;
  border-left: 1px solid #eef2f7;
  cursor: default;
  transition: background .35s ease, transform .35s ease;
}

.se-strip-item:last-child {
  border-left: none;
}

.se-strip-item:hover {
  background: #f8fbff;
  transform: translateY(-4px);
}

.se-strip-icon-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 2px solid #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  transition: transform .25s var(--se-ease), box-shadow .25s;
  box-shadow: 0 8px 18px rgba(59,130,246,.18);
}

.se-strip-item:hover .se-strip-icon-wrap {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(59,130,246,.28);
}

.se-strip-title {
  font-size: 14px;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.2;
  margin: 0;
}

.se-strip-sub {
  font-size: 11.5px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.4;
  margin: -5px 0 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .se-hero-right {
    width: 40%;
  }

  .se-hero-left {
    padding: 64px 28px 36px;
  }

  .se-hero-title {
    font-size: clamp(30px, 5vw, 44px);
  }

  .se-feature-strip {
    width: calc(100% - 40px);
    max-width: 100%;
    margin: -24px auto 54px;
  }
}

@media (max-width: 700px) {
  .se-primary-hero {
    flex-direction: column-reverse;
    min-height: unset;
  }

  .se-hero-right {
    width: 100%;
    max-width: 100%;
    height: 260px;
    overflow: hidden;
  }

  .se-hero-img {
    width: 100%;
    height: 260px;
    object-position: center 15%;
  }

  .se-hero-left {
    padding: 24px 20px 28px;
  }

  .se-hero-breadcrumb {
    right: 20px;
    top: 12px;
    font-size: 11px;
  }

  .se-hero-stage-badge {
    left: 16px;
    top: 12px;
    font-size: 12px;
    padding: 5px 12px 5px 10px;
  }

  .se-hero-title {
    font-size: 30px;
  }

  .se-hero-term {
    font-size: 13px;
    padding: 6px 14px;
  }

  .se-hero-cta-card {
    flex-wrap: wrap;
    gap: 12px;
    max-width: 100%;
  }

  .se-price-block {
    align-items: flex-start;
    padding-left: 0;
  }

  .se-cta-divider {
    display: none;
  }

  .se-btn-wrap {
    width: 100%;
  }

  .se-feature-strip {
    grid-template-columns: repeat(3, 1fr);
    width: calc(100% - 24px);
    margin: -20px auto 42px;
    border-radius: 22px;
  }

  .se-strip-item {
    padding: 18px 10px;
  }

  .se-strip-item:nth-child(3) {
    border-left: none;
  }
}

@media (max-width: 420px) {
  .se-feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .se-strip-item:nth-child(2) {
    border-left: none;
  }

  .se-strip-item:nth-child(3) {
    border-left: 1px solid #eef2f7;
  }
}
/* إخفاء أجزاء Tutor الافتراضية من صفحة الكورس فقط */
.tutor-course-details-page .tutor-course-thumbnail,
.tutor-course-details-page .tutor-course-details-tab,
.tutor-course-details-page aside.tutor-col-xl-4,
.tutor-course-details-page .tutor-course-sidebar {
  display: none !important;
}

/* جعل محتوى الكورس بعرض الصفحة بعد إخفاء السايدبار */
.tutor-course-details-page .tutor-col-xl-8,
.tutor-course-details-page main.tutor-col-xl-8 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* Clean course price display */
.se-price-amount .woocommerce-Price-amount,
.se-price-amount bdi {
  font-size: 34px;
  font-weight: 900;
  white-space: nowrap;
}

.se-price-amount del .woocommerce-Price-amount,
.se-price-amount del bdi {
  font-size: 24px;
  font-weight: 800;
}
