/* =========================================================
   [Institute Name] — Main Stylesheet
   Theme: Bright Orange / Deep Black / White / Light Cream
   ========================================================= */


:root {
  --color-primary: #FF6A00;
  --color-primary-dark: #D95500;
  --color-primary-light: #FF9A4D;
  --color-secondary: #14110F;
  --color-black: #0E0C0B;
  --color-white: #FFFFFF;
  --color-cream: #FFF8F2;
  --color-cream-dark: #F7E1D1;
  --color-text: #201914;
  --color-text-muted: #645B54;
  --color-border: #F0DDD0;
  --shadow-soft: 0 14px 36px -18px rgba(14, 12, 11, 0.18);
  --shadow-card: 0 12px 28px -16px rgba(14, 12, 11, 0.14);
  --shadow-lift: 0 24px 44px -20px rgba(255, 106, 0, 0.36);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: #FFFFFF;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-black);
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
}

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

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  background: var(--color-black);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ---------------- Utility container ---------------- */
.container-xl {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------------- Section label ---------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-cream);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--color-cream-dark);
}

.section-label i,
.section-label svg {
  width: 14px;
  height: 14px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all .3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn i,
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-black);
  color: #fff;
}

.btn-dark:hover {
  background: #241B16;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn-outline:hover {
  background: var(--color-black);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--color-black);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--color-black);
}

.btn-white:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: .6rem 1.1rem;
  font-size: .85rem;
}

.btn-block {
  width: 100%;
}

.btn-whatsapp {
  background: var(--color-black);
  color: #fff;
  border-color: var(--color-black);
  box-shadow: var(--shadow-card);
}

.btn-whatsapp i {
  color: #25D366;
}

.btn-whatsapp:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-whatsapp:hover i {
  color: #fff;
}

/* ---------------- Backgrounds & patterns ---------------- */
.bg-cream {
  background-color: var(--color-cream);
}

.bg-black-section {
  background-color: var(--color-black);
  color: #fff;
}

.pattern-dots {
  background-image: radial-gradient(var(--color-primary) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: .18;
}

.pattern-grid {
  background-image:
    linear-gradient(rgba(217, 107, 43, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 107, 43, .12) 1px, transparent 1px);
  background-size: 42px 42px;
}

.pattern-diagonal {
  background-image: repeating-linear-gradient(45deg, rgba(14, 12, 11, .05) 0 2px, transparent 2px 14px);
}

.blob-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  background: radial-gradient(circle at 30% 30%, rgba(217, 107, 43, .22), rgba(217, 107, 43, 0) 70%);
  animation: floatSlow 8s ease-in-out infinite;
}

.blob-shape.dark {
  background: radial-gradient(circle at 30% 30%, rgba(14, 12, 11, .15), rgba(14, 12, 11, 0) 70%);
}

.curve-divider {
  display: block;
  width: 100%;
  line-height: 0;
}

.curve-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-18px) translateX(10px);
  }
}

/* ---------------- Top bar ---------------- */
.topbar {
  background: var(--color-black);
  color: #d8d3cd;
  font-size: .82rem;
}

.topbar a {
  color: #d8d3cd;
}

.topbar a:hover {
  color: var(--color-primary);
}

/* ---------------- Header ---------------- */
.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(231, 216, 198, .9);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s ease, background-color .3s ease;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.logo-text-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-black);
  line-height: 1.1;
}

.logo-text-sub {
  font-size: .68rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.main-nav>.has-mega {
  position: relative;
}

.main-nav>.has-mega:first-of-type {
  position: static;
}

.nav-link {
  position: relative;
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-text);
  padding: .5rem 0;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-primary);
  transition: width .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-dark);
}

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

/* Mega menu */
.has-mega {
  position: static;
}

.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 24px 48px -20px rgba(14, 12, 11, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 90;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

.has-mega:hover .mega-panel,
.has-mega.mega-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.mega-link {
  display: block;
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--color-text-muted);
  border-radius: 6px;
}

.mega-link:hover {
  color: var(--color-primary-dark);
  padding-left: .35rem;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + .9rem);
  left: 50%;
  min-width: 240px;
  background: #fff;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 24px 48px -20px rgba(14, 12, 11, .25);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: all .25s ease;
  z-index: 90;
  border-radius: 18px;
  overflow: hidden;
}

.has-mega:hover .dropdown-panel,
.has-mega.mega-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.2rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-text);
}

.dropdown-panel a:hover {
  background: var(--color-cream);
  color: var(--color-primary-dark);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 380px);
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform .35s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 12, 11, .55);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: .95rem 0;
  font-weight: 700;
  text-align: left;
}

.mobile-accordion-btn i {
  transition: transform .3s ease;
}

.mobile-accordion-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.mobile-submenu.open {
  max-height: 2000px;
}

/* ---------------- Hero / Carousel ---------------- */
.hero-editor-strip-wrap {
  position: relative;
  z-index: 7;
  padding-top: 1rem;
}

.hero-editor-strip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px 18px 0 0;
  background: var(--color-cream);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-card);
}

.hero-editor-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.hero-editor-copy {
  color: var(--color-text-muted);
  font-size: .93rem;
  line-height: 1.7;
}

.hero-slide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: min(700px, 88vh);
  max-height: 88vh;
  min-height: 500px;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(14, 12, 11, .92) 0%, rgba(14, 12, 11, .78) 46%, rgba(14, 12, 11, .46) 100%);
}

.hero-slide .blob-shape {
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding-block: 5.5rem 4rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, 320px);
  align-items: center;
  gap: 1.8rem;
  width: 100%;
}

.hero-copy {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 106, 0, .14);
  border: 1px solid rgba(255, 106, 0, .44);
  color: #FFD5B3;
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  margin-block: .85rem 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
  color: rgb(217, 214, 214);
}

.hero-text {
  font-size: clamp(.98rem, 1.45vw, 1.08rem);
  color: #F3EDE8;
  max-width: 540px;
  line-height: 1.72;
}

.hero-note-card {
  justify-self: end;
  width: 100%;
  max-width: 320px;
  padding: 1.2rem 1.15rem;
  border-radius: 22px;
  background: rgba(14, 12, 11, .58);
  border: 1px solid rgba(255, 106, 0, .22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.hero-note-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FFD9BE;
  margin-bottom: .7rem;
}

.hero-note-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: .55rem;
}

.hero-note-text {
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: .85rem;
}

.hero-note-list {
  display: grid;
  gap: .55rem;
}

.hero-note-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: #fff;
  font-size: .86rem;
  line-height: 1.5;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.hero-note-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-note-list i {
  color: #FFD3B3;
  margin-top: .15rem;
  flex-shrink: 0;
}

.hero-swiper {
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

.swiper-button-next.hero-nav,
.swiper-button-prev.hero-nav {
  color: #fff;
  background: rgba(18, 16, 15, .38);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .16);
}

.swiper-button-next.hero-nav:after,
.swiper-button-prev.hero-nav:after {
  font-size: 18px;
}

.swiper-button-next.hero-nav:hover,
.swiper-button-prev.hero-nav:hover {
  background: var(--color-primary);
}

.hero-pagination {
  bottom: 28px !important;
}

.hero-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: .5;
  width: 10px;
  height: 10px;
}

.hero-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--color-primary);
  width: 28px;
  border-radius: 6px;
}

/* ---------------- Cards ---------------- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid #F3ECE1;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.course-card.card:hover {
  transform: translateY(-4px);
}

.course-card .course-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.course-card .course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.course-card:hover .course-media img {
  transform: scale(1.08);
}

.course-card .p-5 {
  padding: 1rem !important;
}

.course-card h3 {
  font-size: 1rem !important;
  line-height: 1.35;
  margin-bottom: .4rem !important;
}

.course-card .text-sm {
  line-height: 1.55;
}

.course-card .font-heading.font-extrabold.text-lg {
  font-size: 1rem !important;
  margin-bottom: .75rem !important;
}

.course-card .btn-sm {
  padding: .52rem .9rem;
  font-size: .8rem;
}

.course-card .btn-outline.btn-sm {
  min-width: 42px;
  padding-inline: .75rem;
}

.badge-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .28rem .62rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.badge-level {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(14, 12, 11, .75);
  color: #fff;
  font-size: .66rem;
  font-weight: 600;
  padding: .26rem .56rem;
  border-radius: 999px;
}

.gallery-helper {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-card);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .28s ease, box-shadow .28s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.gallery-card-link {
  display: block;
  color: inherit;
}

.gallery-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #111;
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-card:hover .gallery-card-media img {
  transform: scale(1.06);
}

.gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 12, 11, .78);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .34rem .7rem;
  border-radius: 999px;
}

.gallery-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: .85rem 1rem;
  background: linear-gradient(180deg, rgba(14, 12, 11, 0), rgba(14, 12, 11, .78));
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
}

.gallery-card-body {
  padding: 1rem 1rem 1.05rem;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-black);
  margin-bottom: .35rem;
}

.gallery-card-text {
  color: var(--color-text-muted);
  font-size: .88rem;
  line-height: 1.65;
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .85rem;
}

.gallery-card-meta span {
  color: var(--color-primary-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gallery-card-meta strong {
  color: var(--color-black);
  font-size: .86rem;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(14, 12, 11, .86);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.gallery-modal.open {
  opacity: 1;
  visibility: visible;
}

.gallery-modal-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .28);
}

.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(14, 12, 11, .82);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.gallery-modal-close:hover {
  background: var(--color-primary);
}

.gallery-modal-image-wrap {
  background: #111;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.gallery-modal-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #111;
}

.gallery-modal-content {
  padding: 1.15rem 1.2rem 1.35rem;
}

.gallery-modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: .45rem;
}

.gallery-modal-text {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: .94rem;
}

.icon-chip {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Topper cards */
.topper-card {
  text-align: center;
  padding: 2rem 1.4rem 1.6rem;
  position: relative;
}

.topper-photo-wrap {
  width: 96px;
  height: 96px;
  margin: -3.6rem auto 1rem;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: #fff;
}

.topper-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topper-rank {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--color-primary);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

/* Logo slider */
.logo-slide-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.logo-slide-box span {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #9c948a;
  filter: grayscale(1);
  transition: all .3s ease;
  text-align: center;
  font-size: .95rem;
}

.logo-slide-box:hover span {
  color: var(--color-primary-dark);
  filter: grayscale(0);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255,154,77,.24), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255,106,0,.18), transparent 34%),
    linear-gradient(135deg, #17110D 0%, #24160F 42%, #3B1E0D 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,106,0,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.cta-band::before {
  width: 280px;
  height: 280px;
  top: -120px;
  right: -70px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 68%);
}

.cta-band::after {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(255,106,0,.18) 0%, rgba(255,106,0,0) 72%);
}

.cta-band .container-xl {
  position: relative;
  z-index: 1;
}

.cta-band .cta-pattern {
  position: absolute;
  inset: 0;
  opacity: .08;
}

.cta-band h2 {
  color: #fff;
  text-shadow: 0 10px 24px rgba(0,0,0,.24);
}

.cta-band p,
.cta-band .text-gray-300 {
  color: rgba(255,244,235,.82) !important;
}

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-black);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  transition: transform .3s ease;
  color: var(--color-primary);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer-inner {
  padding: 0 1.4rem 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Stats counters */
.stat-box {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--color-primary);
}

.stat-label {
  font-size: .88rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 3px dashed var(--color-cream-dark);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.42rem;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--color-primary);
}

/* Forms */
.form-field label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--color-black);
  margin-bottom: .4rem;
  display: block;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(217, 107, 43, .12);
  outline: none;
}

.form-field .error-msg {
  color: #D1332C;
  font-size: .8rem;
  margin-top: .35rem;
  display: none;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #D1332C;
}

.form-field.has-error .error-msg {
  display: block;
}

.form-success {
  background: #FFF4EA;
  border: 1.5px solid #FFD3B3;
  color: var(--color-primary-dark);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  display: none;
  align-items: center;
  gap: .6rem;
}

.form-success.show {
  display: flex;
}

/* Page hero / breadcrumb */
.page-hero {
  position: relative;
  padding: 6.5rem 0 4rem;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 12, 11, .92), rgba(14, 12, 11, .68));
}

.page-hero .content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: #E6C9AE;
}

.breadcrumb-nav a,h1 {
  color: #fff;
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  color: var(--color-primary-light);
}

/* Result / Admit card / Certificate */
.doc-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.doc-header {
  background: var(--color-black);
  color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
}

.doc-table th,
.doc-table td {
  border: 1px solid var(--color-border);
  padding: .65rem .8rem;
  text-align: left;
  font-size: .92rem;
}

.doc-table th {
  background: var(--color-cream);
  font-family: var(--font-heading);
}

.status-pass {
  color: #1F7A3F;
  font-weight: 800;
}

.status-fail {
  color: #D1332C;
  font-weight: 800;
}

.status-verified {
  color: #1F7A3F;
}

.status-invalid {
  color: #D1332C;
}

.qr-placeholder {
  width: 110px;
  height: 110px;
  background: repeating-conic-gradient(#0E0C0B 0% 25%, #fff 0% 50%) 50% / 14px 14px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 300;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: transparent;
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  transition: transform .25s ease;
}

.whatsapp-float::before {
  content: none;
}

.whatsapp-float-icon,
.whatsapp-float img,
.whatsapp-float svg {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .2));
  animation: whatsappIconWave 1.8s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
}

@keyframes whatsappIconWave {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  20% {
    transform: scale(1.08) rotate(-8deg);
  }

  40% {
    transform: scale(1.08) rotate(8deg);
  }

  60% {
    transform: scale(1.04) rotate(-4deg);
  }

  80% {
    transform: scale(1.04) rotate(4deg);
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-black);
  color: #fff;
  padding: .5rem .9rem;
  border-radius: 8px;
  font-size: .82rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 72px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  z-index: 299;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
}

/* AOS fallback (in case CDN fails) */
[data-aos] {
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {

  .site-header,
  .topbar,
  .mobile-nav,
  .mobile-overlay,
  .whatsapp-float,
  .back-to-top,
  .site-footer,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .doc-card {
    box-shadow: none;
    border: 1px solid #999;
  }

  a[href]::after {
    content: "";
  }
}

/* Course detail tabs */
.tab-btn {
  padding: .85rem 1.3rem;
  font-weight: 700;
  border-radius: 999px;
  color: var(--color-text-muted);
}

.tab-btn.active {
  background: var(--color-black);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* misc */
.divider-orange {
  width: 64px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 999px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .6rem;
}

.checklist i,
.checklist svg {
  color: var(--color-primary);
  width: 20px;
  height: 20px;
  margin-top: .15rem;
  flex-shrink: 0;
}
