/* ═══════════════════════════════════════════════════════════════
   style.css — Ebrahim Italiano ওয়েবসাইটের সম্পূর্ণ স্টাইল
═══════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────
   CSS ভ্যারিয়েবল
────────────────────────────────────────────── */
:root {
  --bg: #050A14;
  --bg2: #0A1628;
  --bg3: #0F1E38;
  --bg4: #122244;
  --blue: #1A6EE8;
  --blue2: #3B8FF5;
  --blue3: #60CFFF;
  --cyan: #00D4FF;
  --parch: #E8F4FF;
  --parch2: rgba(232, 244, 255, 0.6);
  --parch3: rgba(232, 244, 255, 0.25);
  --grey: rgba(232, 244, 255, 0.45);
  --border: rgba(96, 207, 255, 0.15);
  --border2: rgba(96, 207, 255, 0.3);
}


/* ──────────────────────────────────────────────
   গ্লোবাল রিসেট
────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hind Siliguri', sans-serif;
  background: var(--bg);
  color: var(--parch);
  overflow-x: hidden;
}


/* ═══════════════════════════════════════════════════════════════
   নেভিগেশন বার
═══════════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--parch2);
  text-decoration: none;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue3);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--parch); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--blue) !important;
  color: var(--parch) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px !important;
  box-shadow: 0 4px 16px rgba(26, 110, 232, 0.4);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue2) !important; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--parch);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
}


/* ═══════════════════════════════════════════════════════════════
   হিরো সেকশন
═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: meshMove 10s ease-in-out infinite alternate;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(26, 110, 232, 0.2);
  top: 10%;
  left: -5%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(96, 207, 255, 0.1);
  bottom: 15%;
  right: 5%;
  animation-delay: -3s;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: rgba(0, 212, 255, 0.07);
  top: 60%;
  left: 40%;
  animation-delay: -6s;
}

@keyframes meshMove {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}

.hero-ribbon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.hero-ribbon div { flex: 1; }
.hero-ribbon .t { background: var(--blue3); }
.hero-ribbon .m { background: var(--blue); }
.hero-ribbon .b { background: var(--blue2); }

.hero-watermark {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px, 16vw, 200px);
  font-weight: 900;
  color: rgba(96, 207, 255, 0.03);
  letter-spacing: -4px;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-left {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(96, 207, 255, 0.1);
  border: 1px solid rgba(96, 207, 255, 0.3);
  color: var(--blue3);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
  font-family: 'DM Sans', sans-serif;
  animation: fadeUp 0.7s ease both 0.2s;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--parch);
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeUp 0.7s ease both 0.35s;
}

.hero h1 em {
  font-style: italic;
  color: var(--blue3);
  margin-top:5px;
  font-size: clamp(1.8rem, 4vw, 1.5rem);
}

.hero-sub-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue3);
  margin-bottom: 18px;
  animation: fadeUp 0.7s ease both 0.42s;
}

.hero-desc {
  font-size: 1.00rem;
  color: var(--parch2);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease both 0.5s;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease both 0.65s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0F4BAA);
  color: var(--parch);
  padding: 15px 34px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 8px 28px rgba(26, 110, 232, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 110, 232, 0.6);
  background: linear-gradient(135deg, var(--blue2), var(--blue));
}

.btn-ghost {
  background: rgba(96, 207, 255, 0.06);
  border: 1.5px solid rgba(96, 207, 255, 0.25);
  color: var(--parch);
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-ghost:hover {
  background: rgba(96, 207, 255, 0.12);
  border-color: rgba(96, 207, 255, 0.5);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  animation: fadeUp 0.7s ease both 0.8s;
}

.stat { text-align: left; }

.stat-num {
  display: inline;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--parch);
  line-height: 1;
}

.stat-plus {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue3);
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--parch3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 5px;
  font-family: 'DM Sans', sans-serif;
}

.stat-divider {
  width: 1px;
  background: rgba(96, 207, 255, 0.15);
  align-self: stretch;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.8s ease both 0.6s;
}

.video-player-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 280px;
  background: #0a0f1a;
  border-radius: 36px;
  padding: 12px 10px 16px;
  border: 2px solid rgba(96, 207, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(96, 207, 255, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 8px 32px rgba(26, 110, 232, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 2;
}

.phone-notch {
  display: flex;
  justify-content: center;
  padding: 6px 0 10px;
}

.phone-notch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(96, 207, 255, 0.2);
  border: 1px solid rgba(96, 207, 255, 0.1);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s;
  z-index: 3;
  cursor: pointer;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(26, 110, 232, 0.85);
  border: 2px solid rgba(96, 207, 255, 0.4);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(26, 110, 232, 0.5);
  backdrop-filter: blur(8px);
}

.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(26, 110, 232, 0.7);
  background: rgba(26, 110, 232, 1);
}

.video-play-btn i {
  margin-left: 3px;
}

.video-info {
  position: absolute;
  bottom: 60px;
  left: 14px;
  right: 60px;
  z-index: 4;
  pointer-events: none;
}

.video-info-left { display: flex; flex-direction: column; gap: 8px; }

.video-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(96, 207, 255, 0.4);
}

.video-author span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.video-caption {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Hind Siliguri', sans-serif;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  line-height: 1.4;
}

.video-actions {
  position: absolute;
  right: 10px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 4;
}

.video-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all 0.25s;
}

.video-action-btn:hover {
  background: rgba(26, 110, 232, 0.6);
  transform: scale(1.1);
}

.video-action-btn span {
  font-size: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.video-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 5;
}

.video-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue3));
  border-radius: 0 2px 0 0;
  width: 0%;
  transition: width 0.3s linear;
}

.phone-home-indicator {
  width: 100px;
  height: 4px;
  background: rgba(96, 207, 255, 0.2);
  border-radius: 4px;
  margin: 12px auto 4px;
}

.phone-glow {
  position: absolute;
  width: 320px;
  height: 520px;
  background: radial-gradient(
    ellipse at center,
    rgba(26, 110, 232, 0.25) 0%,
    rgba(96, 207, 255, 0.08) 40%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
  animation: phoneGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes phoneGlowPulse {
  from { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--parch3);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  animation: fadeUp 1s ease both 1.2s;
  z-index: 2;
}

.scroll-dot {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(96, 207, 255, 0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot::before {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--blue3);
  border-radius: 2px;
  animation: scrollDown 1.8s ease infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}


/* ═══════════════════════════════════════════════════════════════
   শেয়ার্ড সেকশন স্টাইল
═══════════════════════════════════════════════════════════════ */
section { padding: 100px 5%; }

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue3);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--parch);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title em { font-style: italic; color: var(--blue3); }

.section-sub {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.7;
  max-width: 480px;
}


/* ═══════════════════════════════════════════════════════════════
   ফিচার্স সেকশন
═══════════════════════════════════════════════════════════════ */
.features-section { background: var(--bg2); }

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.features-left { position: sticky; top: 100px; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.feature-card {
  background: var(--bg3);
  border-radius: 16px;
  padding: 26px 22px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border2);
  box-shadow: 0 16px 40px rgba(26, 110, 232, 0.2);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(26, 110, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--blue3);
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--parch);
  margin-bottom: 7px;
  font-family: 'DM Sans', sans-serif;
}

.feature-card p { font-size: 12px; color: var(--grey); line-height: 1.65; }


/* ═══════════════════════════════════════════════════════════════
   Lavoro সেকশন
═══════════════════════════════════════════════════════════════ */
.lavoro-section { background: var(--bg4); padding: 100px 5%; }
.lavoro-inner { max-width: 1100px; margin: 0 auto; }

.lavoro-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.lavoro-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.lavoro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.lavoro-card:hover {
  transform: translateY(-7px);
  border-color: var(--border2);
  box-shadow: 0 16px 40px rgba(26, 110, 232, 0.2);
}

.lavoro-card:hover::before { transform: scaleX(1); }

.lavoro-card.active {
  border-color: var(--blue3);
  background: rgba(96, 207, 255, 0.08);
  transform: translateY(-7px);
  box-shadow: 0 0 0 2px var(--blue3), 0 16px 40px rgba(26, 110, 232, 0.35);
}

.lavoro-card.active::before { transform: scaleX(1); }
.lavoro-card.active .lavoro-icon { background: rgba(96, 207, 255, 0.22); color: var(--cyan); }

.lavoro-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(26, 110, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue3);
  margin: 0 auto 16px;
  transition: all 0.3s;
}

.lavoro-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--parch);
  margin-bottom: 8px;
}

.lavoro-card p { font-size: 11px; color: var(--grey); line-height: 1.6; }

.lavoro-player-wrap { margin-top: 40px; display: none; animation: fadeUp 0.4s ease both; }
.lavoro-player-wrap.visible { display: block; }

.mp-shell {
  background: #0a0f1a;
  border: 1px solid var(--border2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(96, 207, 255, 0.08);
}

.mp-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(90deg, #0d1525, #111d35);
  border-bottom: 1px solid var(--border);
}

.mp-titlebar-left { display: flex; align-items: center; gap: 10px; }
.mp-dots { display: flex; gap: 6px; }
.mp-dot { width: 11px; height: 11px; border-radius: 50%; }
.mp-dot.r { background: #FF5F57; }
.mp-dot.y { background: #FEBC2E; }
.mp-dot.g { background: #28C840; }
.mp-title-text { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 1.5px; color: var(--parch3); }

.mp-active-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--blue3);
}

.mp-active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue3);
  animation: blink 1.2s ease infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.mp-screen { position: relative; background: #000; aspect-ratio: 16/9; }

.mp-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.mp-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #070c18;
  border-top: 1px solid var(--border);
}

.mp-ctrl-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(96, 207, 255, 0.07);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--blue3);
  cursor: default;
}

.mp-progress {
  flex: 1;
  height: 4px;
  background: rgba(96, 207, 255, 0.12);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.mp-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue3));
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s;
}

.mp-topic-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue3);
  padding: 5px 12px;
  background: rgba(96, 207, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 4px;
  white-space: nowrap;
}


/* ═══════════════════════════════════════════════════════════════
   Speaking Practice সেকশন
═══════════════════════════════════════════════════════════════ */
.speaking-section { background: var(--bg2); padding: 100px 5%; }
.speaking-inner { max-width: 1100px; margin: 0 auto; }

.speaking-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.sc-tab-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg3);
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.25s;
  color: var(--parch);
}

.sc-tab-btn:last-of-type { border-bottom: none; }
.sc-tab-btn:hover { background: var(--bg4); }
.sc-tab-btn.active { background: var(--bg4); border-left: 3px solid var(--blue3); }

.sc-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(26, 110, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--blue3);
  flex-shrink: 0;
  transition: all 0.25s;
}

.sc-tab-btn.active .sc-tab-icon { background: rgba(26, 110, 232, 0.3); }
.sc-tab-info { flex: 1; }
.sc-tab-info h4 { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--parch); margin-bottom: 3px; }
.sc-tab-info p { font-size: 12px; color: var(--grey); }
.sc-tab-arrow { color: var(--parch3); font-size: 12px; transition: all 0.25s; flex-shrink: 0; }
.sc-tab-btn.active .sc-tab-arrow { color: var(--blue3); transform: rotate(90deg); }

.sc-panel { display: none; background: var(--bg); border-top: 1px solid var(--border); padding: 28px; animation: fadeIn 0.3s ease; }
.sc-panel.open { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.sc-panel-title {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-panel-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.dialogue-list { display: flex; flex-direction: column; gap: 14px; }

.dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  align-items: center;
  transition: border-color 0.2s;
}

.dl:hover { border-color: var(--border2); }
.dl-texts { flex: 1; }
.dl-it { font-size: 15px; font-weight: 600; color: var(--parch); margin-bottom: 5px; font-family: 'DM Sans', sans-serif; }
.dl-bn { font-size: 13px; color: var(--grey); font-family: 'Hind Siliguri', sans-serif; }

.speak-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(26, 110, 232, 0.4);
}

.speak-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(26, 110, 232, 0.6); }
.speak-btn.playing { background: var(--blue3); animation: pulse 1s ease infinite; }

@keyframes pulse { 0%, 100% { box-shadow: 0 4px 14px rgba(96, 207, 255, 0.4); } 50% { box-shadow: 0 4px 22px rgba(96, 207, 255, 0.8); } }

.sc-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(96, 207, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--parch3);
}

.sc-hint i { color: var(--blue3); font-size: 12px; }


/* ═══════════════════════════════════════════════════════════════
   Courses সেকশন
═══════════════════════════════════════════════════════════════ */
.courses-section { background: var(--bg3); padding: 100px 5%; }
.courses-inner { max-width: 1100px; margin: 0 auto; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.cc {
  background: var(--bg2);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.cc:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(26, 110, 232, 0.2); border-color: var(--border2); }

.cc-banner { height: 175px; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.cc-banner-bg { position: absolute; inset: 0; }
.cc:nth-child(1) .cc-banner-bg { background: linear-gradient(135deg, #071428, #040C1E); }
.cc:nth-child(2) .cc-banner-bg { background: linear-gradient(135deg, #081430, #050E22); }
.cc:nth-child(3) .cc-banner-bg { background: linear-gradient(135deg, #061228, #03091A); }
.cc-blob { position: absolute; border-radius: 50%; }
.cc-banner-content { position: relative; z-index: 2; padding: 16px 20px; width: 100%; }

.cc-badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid;
  margin-bottom: 8px;
}

.cc-name-top { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 600; color: rgba(232, 244, 255, 0.45); letter-spacing: 3px; text-transform: uppercase; line-height: 1; }
.cc-name-big { font-family: 'Playfair Display', serif; font-size: 1.85rem; font-weight: 900; line-height: 1.05; letter-spacing: -0.5px; margin-top: 2px; }
.cc-livello { font-family: 'DM Sans', sans-serif; font-size: 11px; font-style: italic; color: rgba(232, 244, 255, 0.38); margin-top: 5px; }
.cc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cc-title { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--parch); margin-bottom: 5px; }
.cc-desc { font-size: 12px; color: var(--grey); line-height: 1.7; flex: 1; margin-bottom: 6px; }

.cc-goal {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--blue3);
  margin-bottom: 14px;
  padding: 8px 12px;
  background: rgba(96, 207, 255, 0.06);
  border-radius: 6px;
  border-left: 2px solid var(--blue3);
}

.cc-footer { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }

.cc-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.cc-teacher { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--grey); flex: 1; }

.cc-enroll {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue3);
  text-decoration: none;
  border: 1.5px solid rgba(96, 207, 255, 0.4);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.25s;
  white-space: nowrap;
}

.cc-enroll:hover { background: var(--blue); color: var(--parch); border-color: var(--blue); }


/* ═══════════════════════════════════════════════════════════════
   📚 Book Store সেকশন
═══════════════════════════════════════════════════════════════ */
.book-section { background: var(--bg); }

.book-hero {
  padding: 80px 5% 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.book-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(26, 110, 232, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.book-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue3);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.book-kicker::before, .book-kicker::after { content: ''; display: block; width: 22px; height: 1px; background: var(--blue3); }

.book-hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--parch);
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.book-hero h2 em { font-style: italic; color: var(--blue3); font-weight: 300; }
.book-hero p { font-size: 14px; color: var(--parch2); line-height: 1.8; max-width: 460px; margin: 0 auto; position: relative; z-index: 1; }

.book-mq { background: var(--blue); padding: 12px 0; overflow: hidden; }

.book-mqi {
  display: flex;
  gap: 0;
  animation: bmq 18s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.book-mqi span { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 4px; color: rgba(255, 255, 255, 0.85); padding: 0 32px; }
.book-mqi .s { color: rgba(255, 255, 255, 0.35); padding: 0; }

@keyframes bmq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.book-grid-wrap { padding: 60px 5% 80px; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.bcard {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  /* overflow: visible দরকার — 3D book pop-out যাতে clip না হয় */
  overflow: visible;
  transition: all 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
/*
.bcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue3), var(--cyan));
  border-radius: 16px 16px 0 0;
}*/

.bcard:hover { transform: translateY(-7px); border-color: var(--border2); box-shadow: 0 24px 60px rgba(26, 110, 232, 0.25); }

/* perspective — 3D animation এর জন্য essential */
.bcard-visual {
  padding: 30px 26px 22px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: linear-gradient(160deg, rgba(26, 110, 232, 0.06) 0%, transparent 100%);
  perspective: 1400px;
  border-radius: 16px 16px 0 0;
}

.bcard-info { flex: 1; }
.badge-row { display: flex; gap: 7px; margin-bottom: 10px; flex-wrap: wrap; }
.badge { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.badge.disc { background: rgba(26, 110, 232, 0.2); color: var(--blue3); border: 1px solid rgba(26, 110, 232, 0.3); }
.badge.hot { background: rgba(96, 207, 255, 0.1); color: var(--blue3); border: 1px solid rgba(96, 207, 255, 0.25); }
.badge.new { background: rgba(0, 212, 255, 0.12); color: var(--cyan); border: 1px solid rgba(0, 212, 255, 0.3); }
.bcard-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; color: var(--parch); line-height: 1.15; margin-bottom: 5px; }
.bcard-author { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--parch3); margin-bottom: 8px; }
.bstars { display: flex; gap: 2px; margin-bottom: 6px; }
.bstars i { font-size: 10px; color: var(--blue3); }
.bcard-desc { font-size: 12px; color: var(--parch2); line-height: 1.7; opacity: 0.7; }

.bcard-footer { padding: 16px 26px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 14px; margin-top: auto; }
.price-block { display: flex; flex-direction: column; }
.price-lbl { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--parch3); margin-bottom: 3px; }
.price-now { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; color: var(--blue3); line-height: 1; }
.price-now sup { font-size: 0.85rem; vertical-align: super; color: var(--blue2); }
.price-old { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--parch3); text-decoration: line-through; margin-top: 2px; }
.vdiv { width: 1px; height: 44px; background: var(--border); }

.btn-buy {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--blue);
  color: var(--parch);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.35s;
}

.btn-buy::before { content: ''; position: absolute; inset: 0; background: var(--blue2); transform: translateX(-101%); transition: transform 0.35s; }
.btn-buy:hover::before { transform: translateX(0); }
.btn-buy span, .btn-buy i { position: relative; z-index: 1; }
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26, 110, 232, 0.5); }


/* ═══════════════════════════════════════════════════════════════
   🎬 3D BOOK CARD ANIMATION — নতুন সেকশন
   
   Hover করলে laptop image থেকে book image pop-out হবে (3D tilt সহ)
   এটা পুরনো .mini-book replace করেছে
═══════════════════════════════════════════════════════════════ */

/* মূল 3D কার্ড কন্টেইনার */
.book-3d-card {
  position: relative;
  flex-shrink: 0;
  width: 150px;
  height: 200px;
  border-radius: 18px;
  background: linear-gradient(145deg, #1a2332, #0f1824);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(96, 207, 255, 0.18) inset;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

/* HOVER — 3D tilt effect */
.book-3d-card:hover {
  transform: rotateY(-18deg) rotateX(8deg) scale(1.06);
  box-shadow:
    -20px 28px 55px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(26, 110, 232, 0.35),
    0 0 0 1px rgba(96, 207, 255, 0.5) inset;
}

/* কার্ডের ভেতরের content — overflow visible যাতে book pop-out হতে পারে */
.book-3d-inner {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: visible;
  transform-style: preserve-3d;
}

/* Background glow */
.book-3d-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(26, 110, 232, 0.22) 0%,
    transparent 65%
  );
  opacity: 0.6;
  transition: all 0.7s ease;
  z-index: 1;
  pointer-events: none;
}

.book-3d-card:hover .book-3d-inner::before {
  opacity: 1;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(96, 207, 255, 0.4) 0%,
    rgba(26, 110, 232, 0.2) 50%,
    transparent 70%
  );
}

/* ── Italian flag stripe — উপরের accent ── 
.b3d-flag-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  display: flex;
  z-index: 5;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.b3d-flag-stripe div { flex: 1; }
.b3d-flag-stripe .green { background: #009246; }
.b3d-flag-stripe .white { background: #ffffff; }
.b3d-flag-stripe .red { background: #ce2b37; }

/* ── IT Badge — top left ── 
.b3d-it-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #009246, #ce2b37);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 9px;
  color: white;
  z-index: 5;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}*/

/* ── Decorative corners ── */
.b3d-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 5;
  transition: all 0.7s ease;
}
.b3d-corner.top-right {
  top: 10px;
  right: 10px;
  border-top: 2px solid #60CFFF;
  border-right: 2px solid #60CFFF;
  border-radius: 0 6px 0 0;
}
.b3d-corner.bottom-left {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid #60CFFF;
  border-left: 2px solid #60CFFF;
  border-radius: 0 0 0 6px;
}
.book-3d-card:hover .b3d-corner {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}

/* ── Image wrapper — দুই ছবি ── */
.b3d-image-wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transform-style: preserve-3d;
  pointer-events: none;
}

/* ছবি ১: Laptop (default state) */
.b3d-image-default {
  position: absolute;
  width: 78%;
  opacity: 1;
  transform: scale(1) translateZ(0) rotate(0deg);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
}

/* ছবি ২: Book (hover state — pops out) */
.b3d-image-action {
  position: absolute;
  width: 72%;
  opacity: 0;
  transform: scale(0.4) translateZ(0) rotate(-15deg);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.7));
}

/* HOVER — image swap with pop-out effect */
.book-3d-card:hover .b3d-image-default {
  opacity: 0;
  transform: scale(0.7) translateZ(-50px) rotate(10deg);
}

.book-3d-card:hover .b3d-image-action {
  opacity: 1;
  /* translateZ দিয়ে book কার্ড থেকে বের হয়ে সামনে আসবে */
  transform: scale(1.25) translateZ(80px) translateY(-10px) rotate(5deg);
}


/* ═══════════════════════════════════════════════════════════════
   Testimonials সেকশন
═══════════════════════════════════════════════════════════════ */
.testimonials-section { background: var(--bg3); padding: 100px 5%; }
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials-header { margin-bottom: 52px; }

.tslider-wrap { position: relative; }

.ttrack {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ttrack::-webkit-scrollbar { display: none; }

.tcard {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.tcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.tcard:hover { border-color: var(--border2); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(26, 110, 232, 0.18); }
.tcard:hover::before { transform: scaleX(1); }

.tcard-qmark { position: absolute; top: 14px; right: 18px; font-family: 'Playfair Display', serif; font-size: 72px; line-height: 1; color: rgba(96, 207, 255, 0.06); pointer-events: none; user-select: none; }
.tcard-top { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }

.tavatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  border: 1.5px solid rgba(96, 207, 255, 0.2);
}

.tav-a { background: rgba(26, 110, 232, 0.2); color: var(--blue3); }
.tav-b { background: rgba(0, 212, 255, 0.15); color: var(--cyan); }
.tav-c { background: rgba(96, 207, 255, 0.12); color: var(--blue3); }
.tav-d { background: rgba(59, 143, 245, 0.18); color: var(--blue2); }
.tav-e { background: rgba(26, 110, 232, 0.25); color: var(--blue3); }
.tav-f { background: rgba(0, 212, 255, 0.2); color: var(--cyan); }

.tname { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--parch); margin: 0 0 2px; }
.tlocation { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 1px; color: var(--parch3); }
.tstars { display: flex; gap: 3px; }
.tstars i { font-size: 11px; color: var(--blue3); }

.tquote {
  font-size: 13px;
  color: var(--parch2);
  line-height: 1.72;
  flex: 1;
  position: relative;
  z-index: 1;
}

.tquote::before { content: '\201C'; font-family: 'Playfair Display', serif; font-size: 18px; color: var(--blue3); margin-right: 2px; vertical-align: -2px; }
.tquote::after { content: '\201D'; font-family: 'Playfair Display', serif; font-size: 18px; color: var(--blue3); margin-left: 2px; vertical-align: -2px; }

.tcard-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue3);
  padding: 5px 12px;
  background: rgba(96, 207, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 4px;
  align-self: flex-start;
}

.tcontrols { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }

.tarr {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(96, 207, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--blue3);
  cursor: pointer;
  transition: all 0.25s;
}

.tarr:hover { background: rgba(96, 207, 255, 0.14); border-color: var(--border2); transform: scale(1.08); }
.tdots { display: flex; gap: 7px; align-items: center; }

.tdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(96, 207, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}

.tdot.on { background: var(--blue3); transform: scale(1.4); }


/* ═══════════════════════════════════════════════════════════════
   Levels সেকশন
═══════════════════════════════════════════════════════════════ */
.levels-section { background: var(--bg2); position: relative; overflow: hidden; }

.levels-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(26, 110, 232, 0.12) 0%, transparent 60%);
}

.levels-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.levels-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 52px; }

.level-card {
  background: rgba(96, 207, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 14px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.level-card:hover { background: rgba(26, 110, 232, 0.1); border-color: rgba(96, 207, 255, 0.4); transform: translateY(-8px); box-shadow: 0 16px 40px rgba(26, 110, 232, 0.2); }

.level-card.featured { background: linear-gradient(135deg, var(--blue), #0F4BAA); border-color: transparent; box-shadow: 0 16px 40px rgba(26, 110, 232, 0.45); }
.level-badge { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--parch); line-height: 1; margin-bottom: 10px; }
.level-name { font-size: 11px; color: var(--parch3); text-transform: uppercase; letter-spacing: 1px; font-family: 'DM Sans', sans-serif; }
.level-card.featured .level-name { color: rgba(232, 244, 255, 0.8); }

.level-tag {
  display: inline-block;
  margin-top: 14px;
  background: rgba(96, 207, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  color: var(--blue3);
  font-family: 'DM Sans', sans-serif;
  border: 1px solid rgba(96, 207, 255, 0.2);
}

.level-card.featured .level-tag { background: rgba(255, 255, 255, 0.15); color: var(--parch); border-color: transparent; }


/* ═══════════════════════════════════════════════════════════════
   Social সেকশন
═══════════════════════════════════════════════════════════════ */
.social-section { background: var(--bg3); text-align: center; }
.social-inner { max-width: 700px; margin: 0 auto; }

.social-cards { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 22px;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 155px;
  justify-content: center;
}

.social-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(26, 110, 232, 0.2); border-color: var(--border2); }
.social-card i { font-size: 20px; }
.social-card span { font-weight: 600; font-size: 14px; color: var(--parch); font-family: 'DM Sans', sans-serif; }
.social-card.fb { border-top: 2px solid #1877F2; }
.social-card.fb i { color: #1877F2; }
.social-card.yt { border-top: 2px solid #FF0000; }
.social-card.yt i { color: #FF0000; }
.social-card.tt { border-top: 2px solid var(--blue3); }
.social-card.tt i { color: var(--blue3); }
.social-card.ig { border-top: 2px solid #E1306C; }
.social-card.ig i { color: #E1306C; }


/* ═══════════════════════════════════════════════════════════════
   CTA সেকশন
═══════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg2) 100%);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(26, 110, 232, 0.18) 0%, transparent 70%); }
.cta-section .section-title { position: relative; z-index: 1; }
.cta-section .section-sub { color: var(--grey); margin: 0 auto 36px; position: relative; z-index: 1; }
.cta-btn { position: relative; z-index: 1; }

.cta-philosophy {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--blue3);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════
   Modal ও Toast
═══════════════════════════════════════════════════════════════ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open { display: flex; }

.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  position: relative;
  animation: popIn 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes popIn { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: scale(1); } }

.modal-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue3), var(--cyan)); border-radius: 20px 20px 0 0; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 18px; color: var(--parch3); cursor: pointer; padding: 4px; transition: color 0.2s; }
.modal-close:hover { color: var(--parch); }
.modal-kicker { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--blue3); margin-bottom: 10px; display: block; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--parch); margin-bottom: 6px; }

.modal-book {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--parch3);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.modal-book span { color: var(--blue3); }
.mfield { margin-bottom: 14px; }
.mfield label { display: block; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--parch3); margin-bottom: 7px; }

.mfield input, .mfield textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(96, 207, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--parch);
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  box-sizing: border-box;
}

.mfield input::placeholder, .mfield textarea::placeholder { color: var(--parch3); }
.mfield input:focus, .mfield textarea:focus { border-color: rgba(96, 207, 255, 0.5); background: rgba(96, 207, 255, 0.08); }
.mfield textarea { resize: none; min-height: 72px; }

.btn-send {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: var(--parch);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s;
  margin-top: 20px;
}

.btn-send::before { content: ''; position: absolute; inset: 0; background: var(--blue2); transform: translateX(-101%); transition: transform 0.35s; }
.btn-send:hover::before { transform: translateX(0); }
.btn-send span, .btn-send i { position: relative; z-index: 1; }
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26, 110, 232, 0.5); }

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--blue);
  color: var(--parch);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.4s;
  z-index: 3000;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(26, 110, 232, 0.5);
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


/* ═══════════════════════════════════════════════════════════════
   Footer
═══════════════════════════════════════════════════════════════ */
.footer-bar { height: 3px; display: flex; }
.footer-bar .t { flex: 1; background: var(--blue); }
.footer-bar .m { flex: 1; background: var(--blue3); }
.footer-bar .b { flex: 1; background: var(--cyan); }

footer {
  background: #020712;
  color: var(--parch3);
  text-align: center;
  padding: 28px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

footer a { color: var(--blue3); text-decoration: none; font-weight: 600; transition: color 0.2s; }
footer a:hover { color: var(--blue2); }


/* ═══════════════════════════════════════════════════════════════
   অ্যানিমেশন — fadeUp (scroll reveal)
═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }


/* ═══════════════════════════════════════════════════════════════
   রেসপন্সিভ ডিজাইন
═══════════════════════════════════════════════════════════════ */

/* ট্যাবলেট (900px এর নিচে) */
@media (max-width: 900px) {
  .features-layout { grid-template-columns: 1fr; gap: 48px; }
  .levels-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 28px; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .lavoro-grid { grid-template-columns: repeat(3, 1fr); }

  .hero-content { gap: 36px; }
  .phone-frame { width: 240px; }
}

/* মোবাইল (768px এর নিচে) */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 10, 20, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.active { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero-btns { justify-content: center; }

  .hero-stats {
    justify-content: center;
    gap: 24px;
  }

  .hero-right { order: 2; }

  .phone-frame { width: 260px; }
}

/* ছোট মোবাইল (600px এর নিচে) */
@media (max-width: 600px) {
  nav { padding: 0 20px; }

  .features-grid { grid-template-columns: 1fr; }
  .levels-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .stat { text-align: center; }

  .courses-grid { grid-template-columns: 1fr; }

  /* মোবাইলে bcard-visual এ content center হবে */
  .bcard-visual {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* 3D card মোবাইলে একটু ছোট ও center */
  .book-3d-card {
    width: 150px;
    height: 200px;
    margin: 0 auto;
  }

  footer { flex-direction: column; }
  .lavoro-grid { grid-template-columns: repeat(2, 1fr); }

  .dl { grid-template-columns: 1fr; }
  .speak-btn { justify-self: flex-start; }

  .tcard { min-width: 260px; max-width: 260px; }

  .phone-frame { width: 240px; }

  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { width: 100%; justify-content: center; }
}
