/* ==========================================================================
   HB Skill Development Institute Bangladesh - Official Stylesheet
   Theme: Obsidian Cyber Dark with Brand Red & Graphite Accents
   Matches Official Logo: Crimson Red (#e43135), Graphite (#4a4d57), Pure White
   ========================================================================== */

:root {
  /* Core Brand Colors matching Official Logo */
  --brand-red: #e43135;
  --brand-red-bright: #ff3840;
  --brand-red-deep: #b5151a;
  --brand-red-glow: rgba(228, 49, 53, 0.45);
  --brand-red-glow-soft: rgba(228, 49, 53, 0.16);
  --brand-red-subtle: rgba(228, 49, 53, 0.08);

  /* Background Dark Tones */
  --bg-dark-900: #07080a; /* Obsidian Deep */
  --bg-dark-800: #0c0e12; /* Canvas Base */
  --bg-dark-700: #12141a; /* Section Alternate */
  --bg-card: #171922;     /* Surface Card */
  --bg-card-hover: #1e212d;
  --bg-elevated: #242736;

  /* Logo Slate & Graphite Accents */
  --slate-dark: #2a2e3a;
  --slate-mid: #4d5466;
  --slate-light: #7b8499;
  --slate-silver: #9aa4b8;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-light: #e8ecf4;
  --text-muted: #9aa4b8;
  --text-dim: #647087;

  /* Borders & Dividers */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-light: rgba(255, 255, 255, 0.14);
  --border-red: rgba(228, 49, 53, 0.35);

  /* Gradients */
  --grad-red: linear-gradient(135deg, #ff3840 0%, #d61820 100%);
  --grad-red-hover: linear-gradient(135deg, #ff5259 0%, #e43135 100%);
  --grad-hero-badge: linear-gradient(135deg, rgba(228, 49, 53, 0.22), rgba(228, 49, 53, 0.04));
  --grad-card: linear-gradient(160deg, #181a24 0%, #11131a 100%);
  --grad-card-featured: linear-gradient(160deg, #201a24 0%, #15141d 100%);
  --grad-cta: linear-gradient(135deg, #170d10 0%, #2a1014 45%, #b5151a 100%);

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.65);
  --shadow-red-sm: 0 6px 20px rgba(228, 49, 53, 0.28);
  --shadow-red-lg: 0 12px 35px rgba(228, 49, 53, 0.45);

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark-800);
  color: var(--text-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--trans-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-900);
}
::-webkit-scrollbar-thumb {
  background: var(--slate-dark);
  border-radius: 999px;
  border: 2px solid var(--bg-dark-900);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red);
}

/* Container */
.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ==========================================================================
   Top Notification / Announcement Bar
   ========================================================================== */
.topbar {
  background: var(--bg-dark-900);
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.86rem;
  color: var(--text-muted);
  position: relative;
  z-index: 101;
}

.topbar-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-item i,
.topbar-item .icon {
  color: var(--brand-red-bright);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar a:hover {
  color: var(--brand-red-bright);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--trans-fast);
}

.social-pill:hover {
  background: var(--brand-red-soft);
  border-color: var(--border-red);
  color: var(--text-white);
  transform: translateY(-1px);
}

.social-pill.fb-pill:hover {
  background: rgba(24, 119, 242, 0.15);
  border-color: rgba(24, 119, 242, 0.4);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--trans-normal), box-shadow var(--trans-normal);
}

.site-header.scrolled {
  background: rgba(7, 8, 10, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(228, 49, 53, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

/* Brand & Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  transition: transform var(--trans-normal), filter var(--trans-normal);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.brand:hover .brand-logo-img {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px var(--brand-red-glow));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 0.4rem 0.2rem;
  transition: color var(--trans-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
  transition: width var(--trans-fast);
  box-shadow: 0 0 8px var(--brand-red-bright);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: all var(--trans-fast);
}

.menu-toggle:hover {
  border-color: var(--border-red);
  background: var(--bg-card-hover);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--trans-fast);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--trans-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-red);
  color: var(--text-white);
  box-shadow: var(--shadow-red-sm);
}

.btn-primary:hover {
  background: var(--grad-red-hover);
  box-shadow: var(--shadow-red-lg);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-white);
  border: 1px solid var(--border-glass-light);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-red);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-glass-light);
}

.btn-outline:hover {
  background: var(--brand-red-soft);
  border-color: var(--brand-red);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-red {
  background: var(--brand-red-subtle);
  color: var(--brand-red-bright);
  border: 1px solid var(--border-red);
}

.btn-outline-red:hover {
  background: var(--brand-red);
  color: var(--text-white);
  box-shadow: var(--shadow-red-sm);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-white {
  background: #ffffff;
  color: #0b0c0f;
  font-weight: 700;
}
.btn-white:hover {
  background: #f1f3f9;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Badges & Eyebrows */
.badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--grad-hero-badge);
  border: 1px solid var(--border-red);
  color: var(--brand-red-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 16px rgba(228, 49, 53, 0.12);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red-bright);
  box-shadow: 0 0 10px var(--brand-red-bright);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(228, 49, 53, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(228, 49, 53, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(228, 49, 53, 0); }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  background: rgba(228, 49, 53, 0.12);
  border: 1px solid rgba(228, 49, 53, 0.25);
  color: var(--brand-red-bright);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.8rem 0 5.4rem;
  background-color: var(--bg-dark-800);
  background-image: 
    radial-gradient(circle at 18% 22%, rgba(228, 49, 53, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 82% 50%, rgba(228, 49, 53, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(26, 29, 39, 0.5) 0%, transparent 60%);
}

.hero-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.3;
}

.hero-glow-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  left: -80px;
  background: var(--brand-red);
}

.hero-glow-2 {
  width: 380px;
  height: 380px;
  bottom: 0;
  right: -50px;
  background: #3b1418;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
  color: var(--text-white);
}

.text-gradient-red {
  background: linear-gradient(135deg, #ffffff 10%, #ff4d55 50%, #e43135 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.hero-copy p {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-glass);
}

.stat-pill {
  background: rgba(23, 25, 34, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 0.9rem 0.8rem;
  text-align: center;
  transition: all var(--trans-fast);
  backdrop-filter: blur(10px);
}

.stat-pill:hover {
  border-color: var(--border-red);
  transform: translateY(-3px);
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.stat-pill strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff, #ff4f56);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-pill span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
  display: block;
}

/* Hero Right Visuals */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--grad-card);
  border: 1px solid var(--border-glass-light);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(228, 49, 53, 0.1);
  position: relative;
  z-index: 2;
  transition: transform var(--trans-normal), border-color var(--trans-normal);
}

.hero-card:hover {
  border-color: var(--border-red);
  box-shadow: var(--shadow-lg), 0 0 45px rgba(228, 49, 53, 0.2);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-red-soft);
  color: var(--brand-red-bright);
  border: 1px solid var(--border-red);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #ffb800;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
  color: var(--text-white);
}

.hero-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.55;
}

.hero-feature-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-light);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-red-soft);
  color: var(--brand-red-bright);
  border: 1px solid var(--border-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-glass);
}

.hero-meta-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-meta-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
}

.hero-media-card {
  position: relative;
  margin-top: -2.5rem;
  margin-left: auto;
  max-width: 88%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.hero-media-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform var(--trans-smooth), filter var(--trans-smooth);
}

.hero-media-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.95);
}

.hero-media-chip {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass-light);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Trust / Advantage Strip
   ========================================================================== */
.trust-strip {
  padding: 2.8rem 0 1rem;
  background: var(--bg-dark-900);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  transition: all var(--trans-normal);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-red);
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-md), 0 0 25px rgba(228, 49, 53, 0.15);
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-red-soft);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-red-bright);
  margin-bottom: 1.1rem;
}

.trust-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--text-white);
}

.trust-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   General Section Styles
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-dark-700);
}

.section-head {
  margin-bottom: 3.2rem;
  max-width: 720px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  transition: all var(--trans-fast);
}

.about-feat-item:hover {
  border-color: var(--border-red);
  transform: translateY(-2px);
}

.about-feat-icon {
  color: var(--brand-red-bright);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feat-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 0.15rem;
}

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

.about-visual {
  position: relative;
}

.about-img-box {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-glass-light);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img-box img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

.about-img-box:hover img {
  transform: scale(1.03);
}

.about-glass-badge {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-light);
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-red-soft);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-red-bright);
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  font-size: 0.96rem;
  color: var(--text-white);
}

.badge-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Courses Section
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.course-card {
  background: var(--grad-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
  position: relative;
  overflow: hidden;
}

.course-card.featured {
  background: var(--grad-card-featured);
  border-color: rgba(228, 49, 53, 0.4);
  box-shadow: var(--shadow-md), 0 0 35px rgba(228, 49, 53, 0.12);
  grid-column: span 1;
}

.course-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-red);
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(228, 49, 53, 0.18);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.course-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
}

.course-tag.featured-tag {
  background: var(--grad-red);
  color: var(--text-white);
  border: none;
  box-shadow: 0 0 14px var(--brand-red-glow);
}

.course-duration {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.course-card h3 {
  font-size: 1.42rem;
  margin-bottom: 0.65rem;
  color: var(--text-white);
}

.course-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.3rem;
  flex-grow: 1;
}

.course-features {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.course-features li span {
  color: var(--brand-red-bright);
  font-weight: bold;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-glass);
}

.course-meta strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-white);
}

.course-meta span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Curriculum / Accordion Section
   ========================================================================== */
.curriculum-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.2rem;
  align-items: start;
}

.curriculum-sidebar {
  display: grid;
  gap: 1.2rem;
  position: sticky;
  top: 100px;
}

.curr-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
}

.curr-summary-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-glass);
}

.curr-meta-list {
  display: grid;
  gap: 0.85rem;
}

.curr-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.curr-meta-item span {
  color: var(--text-muted);
}

.curr-meta-item strong {
  color: var(--text-white);
}

.curr-banner-card {
  background: linear-gradient(145deg, #2b1115 0%, #151016 100%);
  border: 1px solid var(--border-red);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow-md);
}

.curr-banner-card h4 {
  font-size: 1.15rem;
  color: var(--brand-red-bright);
  margin-bottom: 0.5rem;
}

.curr-banner-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

/* Accordion */
.accordion-group {
  display: grid;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--trans-fast);
}

.accordion-item:hover {
  border-color: rgba(228, 49, 53, 0.3);
}

.accordion-header {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  transition: color var(--trans-fast), background var(--trans-fast);
  user-select: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mod-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-red-soft);
  color: var(--brand-red-bright);
  border: 1px solid var(--border-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.mod-tag-pill {
  font-size: 0.76rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-left: 0.6rem;
}

.acc-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-red-bright);
  transition: transform var(--trans-fast);
  flex-shrink: 0;
}

.accordion-item[open] .acc-icon {
  transform: rotate(45deg);
  background: var(--brand-red);
  color: var(--text-white);
}

.accordion-item[open] {
  border-color: var(--border-red);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.accordion-body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.2rem;
  color: var(--text-light);
}

.material-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.material-columns.one-col {
  grid-template-columns: 1fr;
}

.material-col h4 {
  font-size: 0.98rem;
  color: var(--brand-red-bright);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.syllabus-list {
  display: grid;
  gap: 0.45rem;
}

.syllabus-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.syllabus-list li::before {
  content: '▸';
  color: var(--brand-red);
  font-size: 0.85rem;
}

/* ==========================================================================
   Student Success & Statistics
   ========================================================================== */
.success-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.success-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 2rem 1.4rem;
  text-align: center;
  transition: all var(--trans-normal);
  position: relative;
  overflow: hidden;
}

.success-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(228, 49, 53, 0.15);
}

.success-card strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 30%, #ff4d55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.success-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text-white);
}

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

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-md), 0 0 25px rgba(228, 49, 53, 0.12);
}

.test-stars {
  color: #ffb800;
  font-size: 1rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.15em;
}

.testimonial-card p {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  flex-grow: 1;
  font-style: italic;
}

.test-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-red);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.test-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
}

.test-info span {
  font-size: 0.82rem;
  color: var(--brand-red-bright);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-box {
  background: var(--grad-cta);
  border: 1px solid var(--border-red);
  border-radius: 32px;
  padding: 3.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(228, 49, 53, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(228, 49, 53, 0.3) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 0.65rem;
}

.cta-copy p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Contact & Admission Form Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-panel {
  display: grid;
  gap: 1.4rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.3rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-glass);
}

.info-list {
  display: grid;
  gap: 1.1rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-red-soft);
  color: var(--brand-red-bright);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.info-details strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.info-details p,
.info-details a {
  font-size: 0.98rem;
  color: var(--text-white);
  font-weight: 500;
  margin: 0;
}

.info-details a:hover {
  color: var(--brand-red-bright);
}

/* Form Card */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-light);
  border-radius: 26px;
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.form-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(12, 14, 18, 0.7);
  border: 1px solid var(--border-glass-light);
  border-radius: 12px;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: all var(--trans-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  background: rgba(18, 20, 27, 0.95);
  box-shadow: 0 0 0 4px rgba(228, 49, 53, 0.15);
}

.form-select option {
  background: var(--bg-dark-800);
  color: var(--text-white);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1rem;
  line-height: 1.4;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark-900);
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 1.5rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 2.8rem;
  margin-bottom: 3rem;
}

.footer-brand-box {
  display: grid;
  gap: 1.1rem;
}

.footer-logo-img {
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.footer-about-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--brand-red);
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: all var(--trans-fast);
}

.footer-links a:hover {
  color: var(--brand-red-bright);
  transform: translateX(3px);
}

.footer-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
  transition: all var(--trans-fast);
}

.social-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red-bright);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--brand-red-glow);
}

.footer-copyright {
  border-top: 1px solid var(--border-glass);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-copyright a {
  color: var(--text-muted);
}
.footer-copyright a:hover {
  color: var(--brand-red-bright);
}

/* ==========================================================================
   Floating WhatsApp Button with Bling/Pulse Effect
   ========================================================================== */
.whatsapp-float-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-label {
  background: var(--bg-dark-900);
  color: var(--text-white);
  border: 1px solid var(--border-glass-light);
  box-shadow: var(--shadow-lg);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  animation: floatLabel 4s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.whatsapp-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
}

.whatsapp-float {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform var(--trans-fast);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

/* Bling / Pulse Ripple Ring */
.whatsapp-float::before,
.whatsapp-float::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whatsappBling 2.2s infinite;
  pointer-events: none;
}

.whatsapp-float::after {
  animation-delay: 1.1s;
}

@keyframes whatsappBling {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.6); opacity: 0; }
}

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

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .hero-grid,
  .about-grid,
  .curriculum-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .curriculum-sidebar {
    position: static;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.2rem;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 1rem;
    right: 1rem;
    background: rgba(12, 14, 18, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass-light);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--trans-normal);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 0.6rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-glass);
  }

  .nav-cta-group {
    width: 100%;
    flex-direction: column;
  }

  .nav-cta-group .btn {
    width: 100%;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-stats-row,
  .trust-grid,
  .success-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-features,
  .material-columns,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.4rem 1.8rem;
  }

  .topbar-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 1.8rem);
  }

  .brand-logo-img {
    height: 42px;
    max-width: 165px;
  }

  .courses-grid,
  .testimonial-grid,
  .trust-grid,
  .success-grid,
  .hero-stats-row {
    grid-template-columns: 1fr;
  }

  .hero-media-card {
    max-width: 100%;
    margin-top: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .whatsapp-label {
    display: none;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.55rem;
  }

  .form-card {
    padding: 1.5rem;
  }
}