:root {
  --white: #FFFFFF;
  --black: #F5F5F5;
  --orange: #FF6B1A;
  --orange-soft: #FF7A24;
  --grey: #9A9AA0;
  --grey-soft: #1E1F26;
  --glass: rgba(23, 24, 30, 0.85);
  --glass-border: rgba(37, 38, 44, 0.6);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #111217;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--black);
  background: #111217;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container-xl {
  max-width: 97%;
  margin: 0 auto;
}

.sub-header {
  width: 100%;
  background: #0b0e14;
}

.sub-header .sub-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
}

.sub-header-left,
.sub-header-right {
  display: flex;
  align-items: center;
  flex: 1 1 0;
}

.sub-header-left { justify-content: flex-start; }
.sub-header-right { justify-content: flex-end; }

.sub-header .info-list,
.sub-header .social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sub-header .info-list li,
.sub-header .social-links li { margin: 0; }
.sub-header .info-list a,
.sub-header .social-links a { color: #fff; }
.sub-header .info-list .divider { margin: 0 8px; color: rgba(255,255,255,0.4); }

@media (max-width: 680px) {
  .sub-header .sub-header-inner {
    padding: 6px 12px;
    flex-direction: column;
  }
  .sub-header-left,
  .sub-header-right {
    flex: 1 1 50%;
    justify-content: center;
  }
  .sub-header .info-list .divider { display: flex; }
}

.hero-section {
  min-height: calc(88vh - 80px);
  display: grid;
  align-items: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: #111217;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  right: -6%;
  top: -8%;
  width: 66%;
  height: 120%;
  background: radial-gradient(circle at 30% 20%, rgba(255,107,26,0.15), rgba(255,122,36,0.05) 25%, transparent 45%), linear-gradient(180deg, #17181E, #111217);
  border-radius: 48px;
  transform: rotate(6deg);
  filter: blur(10px);
  z-index: 0;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #FF6B1A;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: 2.5rem;
  line-height: 1.02;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-copy p {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #FF6B1A, #FF7A24);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(255,107,26,0.4);
}

.btn-secondary,
.btn-outline {
  background: transparent;
  border: 1px solid #25262C;
  color: #ffffff;
}

.btn-hero,
.btn-cta {
  min-width: 180px;
}

.btn-outline:hover,
.btn-secondary:hover {
  background: rgba(255,107,26,0.15);
  border-color: #FF6B1A;
  color: #FF7A24;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.badge-card {
  padding: 18px 20px;
  border-radius: 24px;
  background: #17181E;
  border: 1px solid #25262C;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255,107,26,0.2);
  border-color: #FF6B1A;
}

.badge-card strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.badge-card span {
  color: var(--grey);
  font-size: 0.98rem;
}

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

.hero-mini-card {
  position: absolute;
  width: 220px;
  padding: 18px 20px;
  border-radius: 24px;
  background: #17181E;
  border: 1px solid #25262C;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  z-index: 1;
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #ffffff;
}

.hero-mini-card p {
  margin: 0;
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-mini-card.hero-mini-card--top {
  top: -18px;
  right: 16px;
}

.hero-mini-card.hero-mini-card--bottom {
  bottom: -18px;
  right: 16px;
}

.hero-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 68px rgba(255,107,26,0.3);
}

.hero-icon-ring {
  position: absolute;
  border-radius: 50%;
  opacity: 0.28;
  z-index: 0;
}

.hero-icon-ring--one {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,107,26,0.3);
  top: 26%;
  right: -18%;
}

.hero-icon-ring--two {
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(255,122,36,0.3);
  bottom: -18%;
  right: 8%;
}

.glass-card {
  padding: 28px 44px;
  backdrop-filter: blur(22px);
  border: 1px solid #25262C;
  background: rgba(23, 24, 30, 0.85);
}

.hero-card {
  padding: 36px 34px;
  border-radius: 28px;
  background: #17181E;
  border: 1px solid #25262C;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5);
  z-index: 2;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-card-top span {
  font-size: 0.9rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-copy {
  z-index: 2;
  max-width: 720px;
}

.hero-highlights {
  margin-top: 10px;
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 68px;
  height: 6px;
  background: linear-gradient(90deg, #FF6B1A, #FF7A24);
  border-radius: 6px;
  margin-top: 18px;
}

.hero-tag {
  background: rgba(255,107,26,0.2);
  color: #FF6B1A;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

.hero-card h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-visual .hero-card {
  opacity: 0;
  animation: floatUp 0.9s ease-out forwards;
}

.hero-mini-card {
  opacity: 0;
  transform: translateY(12px);
  animation: floatUp 0.9s ease-out forwards;
}

.hero-mini-card.hero-mini-card--top {
  animation-delay: 0.22s;
}

.hero-mini-card.hero-mini-card--bottom {
  animation-delay: 0.28s;
}

.hero-icon-ring--one {
  animation: ringSpin 12s linear infinite;
}

.hero-icon-ring--two {
  animation: ringSpinReverse 18s linear infinite;
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.hero-card p {
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats div {
  min-width: 120px;
  padding: 16px;
  border-radius: 22px;
  background: #1E1F26;
  border: 1px solid #25262C;
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  color: #ffffff;
}

.hero-stats small {
  color: var(--grey);
}

.section-surface {
  margin: 50px auto;
  padding: 0 16px;
  width: 100%;
  max-width: 1240px;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: #ffffff;
}

.section-header p {
  color: var(--grey);
  line-height: 1.8;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-inline: 0;
}

.course-card {
  padding: 18px 20px;
  border-radius: 28px;
  border: 1px solid #25262C;
  background: #17181E;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transition: transform 0.35s ease, border-color 0.35s ease;
  opacity: 1;
  transform: translateY(0);
  animation-duration: 0.84s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28);
  animation-name: floatIn;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatInLeft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatInRight {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: #FF6B1A;
}

.course-card:nth-child(odd) {
  animation-name: floatInLeft;
}

.course-card:nth-child(even) {
  animation-name: floatInRight;
}

.card-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: rgba(255,107,26,0.15);
  margin-bottom: 10px;
  color: #FF6B1A;
  font-size: 1.75rem;
}

.course-card h3 {
  margin-bottom: 5px;
  font-size: 1.35rem;
  color: #ffffff;
}

.course-card p {
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 2px;
}

.course-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  color: var(--grey);
  display: grid;
  gap: 5px;
}

.course-card ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.course-card ul li strong {
  color: #ffffff;
}

.btn-register {
  width: 100%;
}

.form-details {
  max-width: 100%;
  width: 100%;
  padding: 36px;
  position: relative;
  border-radius: 34px;
  background: #17181E;
  border: 1px solid #25262C;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
}

.feature-grid,
.compare-grid,
.timeline-grid,
.certificate-grid,
.faq-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid #25262C;
  background: #17181E;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #FF6B1A;
}

.feature-card i {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  background: rgba(255,107,26,0.15);
  color: #FF6B1A;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin-bottom: 14px;
  color: #ffffff;
}

.compare-section .compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-card {
  padding: 32px;
  border-radius: 30px;
  background: #17181E;
  border: 1px solid #25262C;
  box-shadow: var(--shadow);
}

.compare-tag {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FF6B1A;
  background: rgba(255,107,26,0.15);
  margin-bottom: 24px;
}

.compare-tag-dark {
  background: #1E1F26;
  color: #fff;
  border: 1px solid #25262C;
}

.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.compare-card li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--grey);
}

.compare-card li i {
  color: #FF6B1A;
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step {
  padding: 28px 24px;
  background: #17181E;
  border-radius: 26px;
  border: 1px solid #25262C;
  text-align: center;
}

.step-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255,107,26,0.15);
  color: #FF6B1A;
  font-weight: 700;
  margin-bottom: 18px;
}

.timeline-step h4 {
  margin-bottom: 10px;
  color: #ffffff;
}

.certificate-grid {
  grid-template-columns: 1.7fr 1fr;
  align-items: center;
}

.certificate-copy {
  background-color: #17181E;
  border: 1px solid #25262C;
  padding: 25px 25px;
  border-radius: 24px;
}

.certificate-copy h2 {
  margin-bottom: 22px;
  color: #ffffff;
}

.certificate-copy ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.certificate-copy li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--grey);
}

.certificate-copy li i {
  color: #FF6B1A;
  min-width: 18px;
}

.certificate-card {
  padding: 40px 30px;
  border-radius: 30px;
  display: grid;
  gap: 24px;
  align-items: center;
  background-color: #17181E;
  border: 1px solid #25262C;
}

.certificate-badge {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: rgba(255,107,26,0.15);
  display: grid;
  place-items: center;
  color: #FF6B1A;
  font-size: 2rem;
}

.testimonial-carousel {
  display: grid;
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  border-radius: 30px;
  background: #17181E;
  border: 1px solid #25262C;
  box-shadow: var(--shadow);
  opacity: 0.6;
  transform: scale(0.98);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: #FF6B1A;
}

.testimonial-card p {
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 24px;
}

.testimonial-card span {
  color: #FF6B1A;
  font-weight: 700;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  background: #17181E;
  border-radius: 24px;
  border: 1px solid #25262C;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 24px 28px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
}

.faq-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,107,26,0.15);
  color: #FF6B1A;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 28px;
}

.faq-answer p {
  margin: 0 0 24px;
  color: var(--grey);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 180px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, #17181E, #1E1F26);
  border: 1px solid #25262C;
}

.cta-card h2 {
  margin-bottom: 14px;
  color: #ffffff;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.75);
  padding: 24px;
  z-index: 2000;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  max-width: 840px;
  width: 100%;
  padding: 36px;
  position: relative;
  border-radius: 34px;
  background: #17181E;
  border: 1px solid #25262C;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
}

.modal-close {
  position: absolute;
  right: 24px;
  top: 24px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}

.modal-info .modal-label {
  color: #FF6B1A;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.modal-info h2 {
  font-size: 2rem;
  color: #ffffff;
}

.modal-info p {
  color: var(--grey);
  line-height: 1.75;
  max-width: 680px;
}

.registration-form {
  margin-top: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.registration-form label {
  display: grid;
  gap: 10px;
  font-weight: 600;
  color: #9A9AA0;
}

.registration-form input,
.registration-form textarea,
.registration-form select {
  width: 100%;
  border: 1px solid #25262C;
  border-radius: 16px;
  padding: 14px 16px;
  background: #1E1F26;
  color: #ffffff;
}

.registration-form input:focus,
.registration-form textarea:focus,
.registration-form select:focus {
  outline: none;
  border-color: #FF6B1A;
}

.registration-form textarea {
  min-height: 112px;
  resize: vertical;
}

.full-width {
  grid-column: span 2; 
}

.toast-notification {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 320px;
  padding: 16px 20px;
  border-radius: 22px;
  background: rgba(15,20,32,0.96);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2500;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification.success {
  background: linear-gradient(135deg, #16a34a, #059669);
}

.toast-notification.error {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}

.btn-submit {
  grid-column: span 2;
  justify-self: start;
  min-width: 220px;
}

/* -------------------------------------------------
   ADDITIONAL MOBILE RESPONSIVE STYLES FOR AI TRAINING PAGE
   ------------------------------------------------- */
@media (max-width: 768px) {
  /* Hero section adjustments */
  .hero-section {
    padding: 16px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: 1.8rem;
  }
  .hero-copy p {
    font-size: 0.9rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* Course grid and cards */
  .course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .course-card {
    padding: 16px 12px;
  }
  /* Section container spacing */
  .section-surface {
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 1.5rem;
  }
  .hero-copy p {
    font-size: 0.8rem;
  }
  .hero-badges {
    grid-template-columns: 1fr;
  }
  .course-card {
    padding: 12px 8px;
  }
}

/* ==============================
   MOBILE RESPONSIVE ADJUSTMENTS
   ============================== */
@media (max-width: 768px) {
  /* Grid adjustments */
  .hero-grid,
  .badge-grid,
  .feature-grid,
  .course-grid,
  .compare-grid,
  .timeline-grid,
  .certificate-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .compare-grid{
    display: flex;
    flex-direction: column;
  }
  /* Hero section */
  .hero-section {
    padding: 20px;
  }
  .hero-copy h1 {
    font-size: 2rem;
  }
  .hero-copy p {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  /* Course grid spacing */
  .course-grid {
    gap: 20px;
  }
  /* Badge grid for tablets */
  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .timeline-grid {
    /* grid-template-columns: repeat(2, 1fr); */
    display: flex;
    flex-direction: column;
  }
  .cta-card{
    display: flex;
    flex-direction: column;
  }
  .certificate-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 12px;
  }
  .hero-copy h1 {
    font-size: 1.6rem;
  }
  .hero-copy p {
    font-size: 0.85rem;
  }
  .hero-actions {
    gap: 8px;
  }
  .badge-grid {
    grid-template-columns: 1fr;
  }
}
