/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Grid lines removed - created unwanted vertical bars */
.hero-radial {
  position: absolute;
  top: -30%;
  left: -15%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(4,159,217,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-radial-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255,107,53,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--cisco-blue);
  opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.4; }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-100px) scale(1); }
}
.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 20px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4,159,217,0.08);
  border: 1px solid rgba(4,159,217,0.25);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--cisco-blue);
  font-weight: 600;
  margin-bottom: 1.8rem;
  letter-spacing: 0.5px;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(4,217,100,0.4); }
  50% { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(4,217,100,0); }
}
.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title .highlight {
  color: var(--cisco-blue);
  position: relative;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cisco-blue), var(--accent));
  border-radius: 2px;
  opacity: 0.5;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}
.hero-trust-item i { color: var(--green); font-size: 0.75rem; }
.hero-divider-v {
  width: 1px;
  height: 16px;
  background: var(--border);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-stat-num .suffix { color: var(--cisco-blue); font-size: 1.3rem; }
.hero-stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.hero-card-main {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: var(--transition);
}
.hero-card-main:hover { transform: rotateY(0deg) rotateX(0deg); }
.hero-card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cisco-blue), var(--accent), var(--cisco-blue));
  background-size: 200%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  from { background-position: 0% 0%; }
  to { background-position: 200% 0%; }
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.hch-title {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.hch-live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(4,217,100,0.1);
  border: 1px solid rgba(4,217,100,0.25);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.cert-grid-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.cert-cell {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.cert-cell:hover {
  border-color: var(--cisco-blue);
  background: rgba(4,159,217,0.06);
  transform: translateY(-2px);
}
.cert-cell-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.cert-cell-name { font-size: 0.82rem; font-weight: 700; color: var(--white); }
.cert-cell-code { font-size: 0.68rem; color: var(--cisco-blue); margin-top: 2px; }
.hero-instructor-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.inst-avatar-hero {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cisco-blue), var(--cisco-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(4,159,217,0.4);
}
.inst-info-name { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.inst-info-role { font-size: 0.72rem; color: var(--muted); }
.rating-stars { display: flex; gap: 2px; margin-left: auto; }
.star { color: #ffd700; font-size: 0.75rem; }

/* ── FLOATING CARDS ── */
.float-card {
  position: absolute;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatUpDown 4s ease-in-out infinite;
  box-shadow: var(--shadow);
  z-index: 2;
}
.float-card-2 { animation-delay: -2s; animation-duration: 5s; }
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.float-card-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(4,159,217,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cisco-blue);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.fc-title { font-size: 0.78rem; font-weight: 700; color: var(--white); }
.fc-sub { font-size: 0.68rem; color: var(--muted); margin-top: 1px; }

/* ============================================
   FEATURES STRIP
   ============================================ */
.features-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.features-strip-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(4,159,217,0.1);
  border: 1px solid rgba(4,159,217,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cisco-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-title { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.feature-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

/* ============================================
   COURSE CARDS
   ============================================ */
.course-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  border-color: var(--border2);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(4,159,217,0.12);
}
.course-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.course-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(7,13,26,0.6));
}
.thumb-1 { background: linear-gradient(135deg, #071524, #08294c, #0a3a62); }
.thumb-2 { background: linear-gradient(135deg, #0c1a2e, #1a3050, #1e406a); }
.thumb-3 { background: linear-gradient(135deg, #160a08, #3a1208, #4a1a0a); }
.thumb-4 { background: linear-gradient(135deg, #081a0a, #0f3015, #143d1c); }
.thumb-5 { background: linear-gradient(135deg, #14100a, #352a12, #46381a); }
.thumb-6 { background: linear-gradient(135deg, #0e0c1a, #1e1840, #282050); }
.course-level-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.level-beginner { background: rgba(4,217,100,0.15); color: var(--green); border: 1px solid rgba(4,217,100,0.3); }
.level-intermediate { background: rgba(4,159,217,0.15); color: var(--cisco-blue); border: 1px solid rgba(4,159,217,0.3); }
.level-advanced { background: rgba(255,107,53,0.15); color: var(--accent); border: 1px solid rgba(255,107,53,0.3); }
.course-thumb-icon { position: relative; z-index: 1; filter: drop-shadow(0 4px 12px rgba(4,159,217,0.3)); }
.course-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.course-cat {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cisco-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.course-title {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.course-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}
.course-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.course-meta span { display: flex; align-items: center; gap: 5px; }
.course-meta i { color: var(--cisco-blue); }
.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.course-price {
  font-family: 'Orbitron', monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}
.course-price.free { color: var(--green); }
.course-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--muted);
}
.course-rating .stars { color: #ffd700; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: var(--transition);
  position: relative;
}
.testi-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  font-family: 'Orbitron', monospace;
  color: rgba(4,159,217,0.1);
  font-weight: 800;
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.testi-stars i { color: #ffd700; font-size: 0.8rem; }
.testi-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.4rem;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-family: 'Orbitron', monospace;
}
.testi-name { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.testi-cert { font-size: 0.72rem; color: var(--cisco-blue); margin-top: 2px; }

/* ============================================
   STATS / COUNTER SECTION
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, rgba(4,159,217,0.06) 0%, rgba(8,41,76,0.2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}
.stat-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(4,159,217,0.1);
  border: 1px solid rgba(4,159,217,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cisco-blue);
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-number .suffix { color: var(--cisco-blue); }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

/* ============================================
   ABOUT PREVIEW (homepage)
   ============================================ */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  position: relative;
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background: linear-gradient(transparent, rgba(7,13,26,0.95));
  padding: 2rem 1.5rem 1.5rem;
}
.about-cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.cert-chip {
  background: rgba(4,159,217,0.1);
  border: 1px solid rgba(4,159,217,0.2);
  color: var(--cisco-blue);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.about-floating-badge {
  position: absolute;
  right: -1.5rem;
  top: 2rem;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}
.afb-num {
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}
.afb-label { font-size: 0.72rem; color: var(--muted); }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section { background: var(--bg2); }
.newsletter-card {
  background: linear-gradient(135deg, rgba(4,159,217,0.08) 0%, rgba(8,41,76,0.15) 100%);
  border: 1px solid rgba(4,159,217,0.2);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.newsletter-text { flex: 1; min-width: 280px; }
.newsletter-form { display: flex; gap: 0.8rem; flex: 1; min-width: 280px; }
.newsletter-form input {
  flex: 1;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--cisco-blue); }
.newsletter-form input::placeholder { color: var(--muted2); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .features-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap { max-width: 400px; overflow: hidden; }
}

/* ════════════════════════════════════════════════════════════════════
   HERO MOBILE RESPONSIVE FIXES
   ════════════════════════════════════════════════════════════════════ */

/* ──── LARGE PHONE (390px–480px) ──── */
@media (max-width: 425px) {
  .hero-title { font-size: 1.5rem; }
  .hero-subtitle { font-size: 0.93rem; }
  .newsletter-card { padding: 1.5rem !important; }
}

@media (max-width: 768px) {
  /* Hero inner gap reduction */
  .hero-inner {
    gap: 1.5rem;
    padding-top: 50px;
  }

  /* Hero heading responsive sizing */
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { max-width: 100%; font-size: 0.95rem; }

  /* Newsletter card padding at 768px */
  .newsletter-card {
    padding: 2rem !important;
  }
}

@media (max-width: 480px) {
  /* ── HERO PADDING & LAYOUT ── */
  .hero { padding: 0 1rem; }

  .hero-inner {
    gap: 1rem;
    padding-top: 40px;
  }

  /* ── HERO TEXT SIZING ── */
  .hero-title {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  /* ── HERO STATS COLLAPSE ── */
  .hero-stats {
    grid-template-columns: 1fr !important;
    gap: 0.8rem;
  }

  .hero-stat {
    padding: 0.8rem 0;
    text-align: center;
  }

  .hero-stat-num {
    font-size: 1.4rem;
  }

  .hero-stat-label {
    font-size: 0.65rem;
  }

  /* ── ACTIONS & BUTTONS ── */
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-actions .btn,
  .hero-actions button {
    width: 100%;
    min-height: 44px;
  }

  /* ── FEATURES STRIP ── */
  .features-strip-inner {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .feature-badge {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }

  /* ── NEWSLETTER SECTION ── */
  .newsletter-card {
    padding: 1.5rem !important;
    gap: 1rem;
  }

  .newsletter-text {
    min-width: 0 !important;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    min-width: 0 !important;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    min-width: 0 !important;
    min-height: 44px;
  }

  /* ── FLOATING ELEMENTS ── */
  .float-card,
  .float-card-2,
  .about-floating-badge {
    display: none !important;
  }
}

@media (max-width: 425px) {
  /* Tight mid-point between 480px and 375px */
  .hero { padding: 0 0.9rem; }
  .stat-number { font-size: 1.8rem; }
  .newsletter-card { padding: 1.5rem !important; }
}

@media (max-width: 390px) {
  /* iPhone 14/15 - standard width */
  .hero { padding: 0 0.85rem; }
  .hero-inner { padding-top: 35px; }
  .hero-title { font-size: 1.35rem; }
}

@media (max-width: 375px) {
  /* Ultra-compact hero */
  .hero { padding: 0 0.75rem; }

  .hero-inner { padding-top: 30px; }

  .hero-title {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-stats {
    gap: 0.5rem;
  }

  .hero-stat-num {
    font-size: 1.2rem;
  }

  .stat-number { font-size: 1.5rem; }

  .newsletter-card {
    padding: 1.2rem !important;
  }
}

@media (max-width: 320px) {
  /* Extreme compact for older small Android phones */
  .hero { padding: 0 0.5rem; }
  .hero-inner { gap: 0.75rem; padding-top: 25px; }
  .hero-title { font-size: 1.1rem; }
  .hero-subtitle { font-size: 0.8rem; }
  .about-img-wrap { overflow: hidden; }
}
