/* ===== COUNTER ANIMATION ===== */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--gradient-primary);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 30s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.3px;
}
.ticker-item i {
  color: var(--accent);
  font-size: 12px;
}
.ticker-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-block;
  margin: 0 8px;
}

/* ===== HERO ENHANCEMENTS ===== */
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-light);
}
.stat-divider {
  width: 1px;
  background: var(--gray-light);
  align-self: stretch;
}
.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
  background: linear-gradient(180deg, var(--light) 0%, white 100%);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.program-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.program-header {
  padding: 28px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.program-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.prog-blue {
  background: #dbeafe;
  color: #2563eb;
}
.prog-teal {
  background: #ccfbf1;
  color: #0d9488;
}
.prog-amber {
  background: #fef3c7;
  color: #d97706;
}
.prog-purple {
  background: #ede9fe;
  color: #7c3aed;
}
.program-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}
.badge-popular {
  background: #fef3c7;
  color: #92400e;
}
.badge-new {
  background: #d1fae5;
  color: #065f46;
}
.badge-certified {
  background: #dbeafe;
  color: #1e40af;
}
.badge-hot {
  background: #fee2e2;
  color: #991b1b;
}
.program-content {
  padding: 20px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.program-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.program-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}
.meta-item i {
  color: var(--secondary);
}
.program-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.program-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.program-price span {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

/* ===== ACHIEVEMENT STRIP ===== */
.achievement-strip {
  background: white;
  padding: 60px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.achievement-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--gray-light);
  position: relative;
}
.achievement-item:last-child {
  border-right: none;
}
.achievement-number {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.achievement-label {
  font-size: 15px;
  color: var(--gray);
  font-weight: 500;
}
.achievement-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--secondary);
  margin: 0 auto 16px;
}

/* ===== CERTIFICATION SECTION ===== */
.certification {
  background: var(--dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.certification::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.certification .section-title {
  color: white;
}
.certification .section-desc {
  color: #94a3b8;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.cert-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: var(--secondary);
}
.cert-logo {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
}
.cert-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cert-org {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}
.cert-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--gray-light);
  transition: all 0.3s;
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 80px;
  font-weight: 800;
  color: var(--gray-light);
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonial-stars i {
  color: var(--accent);
  font-size: 14px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.author-info p {
  font-size: 13px;
  color: var(--gray);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: white;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--gray-light);
  z-index: 0;
}
.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--gray);
  margin: 0 auto 24px;
  transition: all 0.3s;
}
.step-item.active .step-number {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.3);
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: 40px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.cta-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
}
.cta-checklist li i {
  color: #34d399;
  font-size: 16px;
  flex-shrink: 0;
}
.cta-buttons {
  display: flex;
  gap: 14px;
}
.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}
.cta-image-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.cta-card-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}
.cta-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== PARTNERS ===== */
.partners {
  background: var(--light);
  padding: 60px 0;
}
.partners-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.partner-logo:hover {
  opacity: 1;
}
.partner-logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.partner-logo-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .steps-grid::before {
    display: none;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid,
  .testimonials-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .partners-logos {
    gap: 24px;
  }
  .cta-title {
    font-size: 30px;
  }
  .cta-buttons {
    flex-direction: column;
  }
}
