/* ==========================================================================
   INDEX.CSS - selectors used exclusively on this page.
   ========================================================================== */

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

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6C63FF, transparent);
  top: -100px;
  right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #FF6B6B, transparent);
  bottom: -80px;
  left: -80px;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #FFD93D, transparent);
  top: 40%;
  left: 30%;
  animation: floatShape 6s ease-in-out infinite 2s;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
}

.typing-wrapper {
  min-height: 1.3em;
  display: block;
}

.hero-description {
  list-style: none;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0 0 32px;
  padding: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-description li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-description li strong {
  color: var(--text-primary);
  background: rgba(108, 99, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.hero-description li::before {
  content: "\2714";
  flex-shrink: 0;
  color: var(--success);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stat .num {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(108,99,255,0.3), transparent 70%);
  border-radius: 50%;
  animation: glowBreath 4s ease-in-out infinite;
}

@keyframes glowBreath {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-image-container {
  position: relative;
  z-index: 1;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 2;
}

.hero-card-1 {
  top: 10%;
  left: -60px;
  animation: cardFloat1 5s ease-in-out infinite;
}

.hero-card-2 {
  bottom: 15%;
  right: -50px;
  animation: cardFloat2 6s ease-in-out infinite 1s;
}

.hero-card-3 {
  top: 55%;
  left: -70px;
  animation: cardFloat1 7s ease-in-out infinite 0.5s;
}

.hero-deco-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.deco-1 {
  width: 80px; height: 80px;
  background: var(--primary);
  top: 5%; right: 5%;
  animation: rotateSlow 20s linear infinite;
}

.deco-2 {
  width: 50px; height: 50px;
  background: var(--secondary);
  bottom: 10%; left: 10%;
  animation: rotateSlow 15s linear infinite reverse;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.service-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}

.service-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(108,99,255,0.4);
}

.service-btn-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(108,99,255,0.05));
  color: var(--primary);
}

.service-btn-title {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-btn-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.service-btn:hover .service-btn-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

.batch-tech-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.batch-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.batch-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.batch-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.batch-info-item i { color: var(--primary); width: 14px; }

.batch-card.active-batch {
  border-color: rgba(255,65,108,0.4);
  box-shadow: 0 0 20px rgba(255,65,108,0.15);
}

.community-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
  transition: var(--transition);
}

.whatsapp .community-icon { background: linear-gradient(135deg, #25D366, #128C7E); color: white; }

.youtube .community-icon { background: linear-gradient(135deg, #FF0000, #CC0000); color: white; }

.telegram .community-icon { background: linear-gradient(135deg, #0088cc, #0066aa); color: white; }

.instagram .community-icon { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }

.community-card:hover .community-icon { transform: scale(1.1) rotate(5deg); }

.community-platform {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.community-count {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  margin-bottom: 16px;
}

.whatsapp .community-count { color: #25D366; }

.youtube .community-count { color: #FF0000; }

.telegram .community-count { color: #0088cc; }

.instagram .community-count { color: #e1306c; }

@media (max-width: 991px) {
  .hero-image-wrapper { margin-top: 40px; }

  .hero-card-1, .hero-card-2, .hero-card-3 { display: none; }

  .service-btn-title { font-size: 0.9rem; }
}

@media (max-width: 767px) {
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-stat {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 14px 8px;
    gap: 4px;
  }

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

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

  .service-btn { padding: 16px 18px; }

  .community-card .community-info {
      flex: 1;
      min-width: 0;
    }

  .community-card .community-icon {
      font-size: 1.6rem;
      width: 44px;
      height: 44px;
      margin: 0;
      flex-shrink: 0;
    }

  .community-card .community-platform { font-size: 0.7rem; margin-bottom: 2px; }

  .community-card .community-count { font-size: 0.75rem; margin-bottom: 0; }
}

.hero-codebox {
  position: relative;
  z-index: 1;
  width: 340px;
  background: #0d1117;
  border-radius: 16px;
  border: 1px solid rgba(108, 99, 255, 0.35);
  box-shadow: 0 30px 80px rgba(108, 99, 255, 0.28), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  font-family: "Fira Code", "Courier New", monospace;
  animation: hcbFloat 6s ease-in-out infinite;
}

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

.hero-codebox-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #161b22;
  border-bottom: 1px solid rgba(108, 99, 255, 0.2);
}

.hero-codebox-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.hero-codebox-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.hero-codebox-dot--red { background: #ff5f57; }

.hero-codebox-dot--yellow { background: #febc2e; }

.hero-codebox-dot--green { background: #28c840; }

.hero-codebox-filename {
  flex: 1;
  font-size: 0.78rem;
  color: #8b949e;
  text-align: center;
  letter-spacing: 0.01em;
}

.hero-codebox-lang {
  font-size: 0.7rem;
  color: #3fb950;
  background: rgba(63, 185, 80, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(63, 185, 80, 0.2);
}

.hero-codebox-body {
  padding: 16px 0 12px;
}

.hero-codebox-line {
  display: flex;
  align-items: baseline;
  padding: 3px 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  white-space: nowrap;
}

.hero-codebox-ln {
  width: 20px;
  margin-right: 16px;
  color: #3d444d;
  font-size: 0.72rem;
  text-align: right;
  flex-shrink: 0;
  user-select: none;
}

.hero-codebox-indent { display: inline-block; width: 20px; flex-shrink: 0; }

.hero-codebox-indent2 { display: inline-block; width: 40px; flex-shrink: 0; }

.hero-codebox-kw { color: #ff7b72; }

.hero-codebox-cls { color: #79c0ff; }

.hero-codebox-fn { color: #d2a8ff; }

.hero-codebox-method { color: #e6edf3; }

.hero-codebox-str { color: #a5d6ff; }

.hero-codebox-pun { color: #8b949e; }

.hero-codebox-comment { color: #3d444d; font-style: italic; }

.hero-codebox-line--typed {
  opacity: 0;
  transform: translateX(-6px);
}

#hcb-line-4 { animation: hcbReveal 0.5s ease forwards 1.0s; }

#hcb-line-5 { animation: hcbReveal 0.5s ease forwards 1.8s; }

#hcb-line-6 { animation: hcbReveal 0.5s ease forwards 2.6s; }

@keyframes hcbReveal {
  to { opacity: 1; transform: translateX(0); }
}

.hero-codebox-cursor-line {
  margin-top: 2px;
}

.hero-codebox-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: #6C63FF;
  border-radius: 1px;
  vertical-align: middle;
  animation: hcbBlink 1s step-end infinite;
}

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

.hero-codebox-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #161b22;
  border-top: 1px solid rgba(108, 99, 255, 0.15);
}

.hero-codebox-avatars {
  display: flex;
}

.hero-codebox-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #0d1117;
  background: linear-gradient(135deg, #6C63FF, #8B85FF);
  margin-left: -6px;
}

.hero-codebox-avatar:first-child { margin-left: 0; background: linear-gradient(135deg, #FF6B6B, #ff8e8e); }

.hero-codebox-avatar:nth-child(2) { background: linear-gradient(135deg, #FFD93D, #ffc107); }

.hero-codebox-footer-text {
  font-size: 0.72rem;
  color: #8b949e;
  font-family: "Inter", sans-serif;
}

.hero-codebox-footer-text strong {
  color: #e6edf3;
}

@media (max-width: 991px) {
  .hero-codebox {
      width: 300px;
    }

  .hero-codebox-line {
      font-size: 0.76rem;
    }
}

@media (max-width: 480px) {
  .hero-codebox {
      width: 270px;
    }

  .hero-codebox-line {
      font-size: 0.7rem;
      padding: 2px 12px;
    }

  .hero-codebox-indent2 { width: 28px; }
}

.batch-tech-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(128, 128, 128, 0.15);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    overflow: hidden;
    flex-shrink: 0;
}

.batch-tech-image {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   LIVE BATCHES — NOTIFICATION STRIP (left description + right mini cards)
   ========================================================================== */

   #online-batches {
  background: var(--bg-section);
}

.lbn-panel {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 44px 48px;
    position: relative;
    overflow: hidden;
}

.lbn-panel::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.07;
    pointer-events: none;
}

.lbn-info {
    flex: 0 0 36%;
    max-width: 36%;
    position: relative;
    z-index: 1;
}

.lbn-title {
    margin-bottom: 12px;
}

.lbn-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 420px;
    margin-bottom: 22px;
}

.lbn-cta {
    white-space: nowrap;
}

.lbn-cards {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    gap: 26px 18px;
    padding-top: 16px;
    position: relative;
    z-index: 1;
}

.lbn-card {
    position: relative;
    width: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 16px 20px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.lbn-card:hover,
.lbn-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(108, 99, 255, 0.4);
    text-decoration: none;
}

/* Badge — sits on top of the card, half overlapping the top edge */
.lbn-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* Status 1: Starting Soon — upcoming batch, about to begin */
.badge-starting-soon {
    background: linear-gradient(135deg, #0fb0fa, #322acb);
}

/* Status 2: Ongoing Batch — currently running */
.badge-ongoing {
    background: linear-gradient(135deg, #1e7129, #086d28);
}

.badge-ongoing::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    animation: blink 1.2s infinite;
}

/* Status 3: Batch Full — no seats left */
.badge-full {
    background: linear-gradient(135deg, #ab3737, #b10d0d);
}

.lbn-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.08);
    overflow: hidden;
    flex-shrink: 0;
}

/* Common live-class icon (fits every technology) */
.lbn-icon i {
    font-size: 1.7rem;
    color: var(--primary);
    line-height: 1;
}

.lbn-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

@media (max-width: 991px) {
    .lbn-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        padding: 36px 32px;
    }

    .lbn-info,
    .lbn-cards {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .lbn-desc { max-width: 100%; }

    .lbn-cards {
        justify-content: flex-start;
        padding-top: 6px;
    }
}

@media (max-width: 767px) {
    .lbn-panel {
        padding: 28px 22px;
        border-radius: var(--radius-md);
    }

    .lbn-cards {
        gap: 24px 16px;
        justify-content: center;
    }

    .lbn-card {
        width: 170px;
    }
}

@media (max-width: 480px) {
    .lbn-panel {
        padding: 24px 16px;
    }

    .lbn-cards {
        gap: 22px 12px;
    }

    .lbn-card {
        width: 46%;
        min-width: 140px;
        padding: 26px 12px 16px;
    }

    .lbn-desc {
        font-size: 0.92rem;
    }
}

/* ==========================================================================
   4B. ABOUT SMART PROGRAMMING SECTION
   ========================================================================== */
#about-smart-programming {
  background: var(--bg-section);
}

.asp-visual {
  position: relative;
  width: 220px;
  height: 220px;
  max-width: 100%;
  margin: 0 auto;
}

.asp-icon-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(108,99,255,0.05));
  color: var(--primary);
  font-size: 4rem;
  box-shadow: var(--shadow-md);
  animation: heroFloat 5s ease-in-out infinite;
}

.asp-deco {
  position: absolute;
  border-radius: 50%;
}

.asp-deco-1 {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  top: 0;
  right: 10px;
  animation: rotateSlow 15s linear infinite;
}

.asp-deco-2 {
  width: 26px;
  height: 26px;
  background: var(--accent);
  bottom: 10px;
  left: 0;
  animation: rotateSlow 12s linear infinite reverse;
}

.asp-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.asp-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .asp-visual {
    margin-bottom: 10px;
  }
}

/* Status 4: Upcoming Batch — date not announced yet */
.badge-upcoming {
    background: linear-gradient(135deg, #f0a500, #d48806);
}
