/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  padding: 10px 0;
}

.site-header.scrolled {
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-header);
}

.site-header.scrolled .nav-link,
.site-header.scrolled .logo-text {
  color: var(--text-primary) !important;
}

.site-header.scrolled .logo-sub {
  color: var(--text-secondary) !important;
}

.logo-wrap {
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  overflow: hidden;
}

.logo-img {
  width: 100%;
  object-fit: contain;
  max-width: 75px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.site-header.scrolled .logo-img {
  max-width: 60px;
}
.site-header.scrolled .nav-link.active::after,
.site-header.scrolled .nav-link:hover::after {
  background: var(--primary) !important;
}

.logo-icon img {
  width: 100%;
  max-width: 220px;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: white;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 700;
  font-size: clamp(1rem, 0.847rem + 0.2388vw, 1.05rem);
  padding: 8px 16px !important;
  position: relative;
  transition: color 0.3s;
  -webkit-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -o-transition: color 0.3s;
  font-family: var(--normal-font);
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 16px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
  -webkit-transition: width 0.3s ease;
  -moz-transition: width 0.3s ease;
  -ms-transition: width 0.3s ease;
  -o-transition: width 0.3s ease;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
  width: calc(100% - 32px);
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--secondary) !important;
}
.site-header .nav-link.active::after {
  background: var(--secondary);
}

.site-header.scrolled .nav-link {
  color: var(--text-primary) !important;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--primary) !important;
}

.btn-login {
  border: 1.5px solid var(--primary-light);
  color: var(--primary-light);
  background: transparent;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  font-weight: 800;
}

.btn-login:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.02);
  -webkit-transform: scale(1.02);
  -moz-transform: scale(1.02);
  -ms-transform: scale(1.02);
  -o-transform: scale(1.02);
}

.btn-register {
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.btn-register:hover {
  color: var(--white-color);
  background: var(--primary-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 94, 184, 0.3);
  -webkit-transform: scale(1.02);
  -moz-transform: scale(1.02);
  -ms-transform: scale(1.02);
  -o-transform: scale(1.02);
}

.site-header.scrolled .btn-login {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== HERO ===== */
.hero-section {
  background: linear-gradient(135deg, #012a4a 0%, #005eb8 50%, #003d7a 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(196, 163, 90, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(196, 163, 90, 0.08) 0%,
      transparent 40%
    );
  pointer-events: none;
}
.hero-section-content {
}

.hero-content-left {
  min-height: calc(100dvh - 150px);
  align-content: center;
}
.hero-content-right {
  position: relative;
  height: 100%;
}
.hero-character-img {
  position: absolute;
  bottom: -3%;
  left: -20%;
  width: 140%;
  height: auto;
  max-width: 140%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  z-index: 2;
  -webkit-filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  pointer-events: none;
  user-select: none;
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
}
.hero-content-right-overlay {
  position: absolute;
  background: var(--secondary);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  width: 195%;
  height: 150%;
  right: -158%;
  top: -46%;
  border-radius: 100px;
  -webkit-border-radius: 144px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  transform: rotate(58deg);
}

.hero-left-background-overlay {
  position: absolute;
  left: -50%;
  top: -20%;
  width: 70%;
  height: 92%;
  background: var(--secondary);
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  transform: rotate(47deg);
  -webkit-transform: rotate(47deg);
  -moz-transform: rotate(47deg);
  -ms-transform: rotate(47deg);
  -o-transform: rotate(47deg);
  border-radius: 220px;
  -webkit-border-radius: 220px;
  -moz-border-radius: 220px;
  -ms-border-radius: 220px;
  -o-border-radius: 220px;
  filter: blur(7px);
  -webkit-filter: blur(7px);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 1.0077rem + 2.4615vw, 3.1rem);
  font-weight: 800;
  color: var(--white-color);
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-title .gold {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn-gold {
  background: var(--secondary);
  color: var(--white-color);
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  text-transform: capitalize;
}

.btn-gold:hover {
  background: var(--primary-dark);
  color: var(--white-color);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  text-transform: capitalize;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}
.icon-check {
  padding-top: 3px;
}
/* Hero floating image */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.footer-contact iconify-icon {
  color: var(--secondary);
  padding-top: 5px;
  padding-right: 5px;
  transform: translateY(3px);
  -webkit-transform: translateY(3px);
  -moz-transform: translateY(3px);
  -ms-transform: translateY(3px);
  -o-transform: translateY(3px);
}

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

/* Decorative floating circles */
.hero-deco-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
  z-index: 1;
}

.circle-1 {
  width: 120px;
  height: 120px;
  background: var(--white-color);
  top: 10%;
  left: 5%;
  animation: floatCircle 5s ease-in-out infinite;
}

.circle-2 {
  width: 80px;
  height: 80px;
  background: var(--primary-dark);
  top: 5%;
  right: 15%;
  animation: floatCircle 6s ease-in-out infinite 1s;
}

.circle-3 {
  width: 60px;
  height: 60px;
  background: var(--white-color);
  bottom: 25%;
  left: 0%;
  animation: floatCircle 4.5s ease-in-out infinite 0.5s;
  -webkit-animation: floatCircle 4.5s ease-in-out infinite 0.5s;
}

.circle-4 {
  width: 100px;
  height: 100px;
  background: var(--primary-dark);
  bottom: 10%;
  right: 5%;
  animation: floatCircle 5.5s ease-in-out infinite 1.5s;
}

.circle-5 {
  width: 50px;
  height: 50px;
  background: var(--white-color);
  top: 40%;
  right: 0%;
  animation: floatCircle 4s ease-in-out infinite 2s;
}

@keyframes floatCircle {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.05);
  }
}

/* Floating template cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  z-index: 3;
  pointer-events: none;
  animation: floatCard 4s ease-in-out infinite;
}

.float-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}

.float-card-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.float-card-1 {
  top: 15%;
  left: 0%;
  animation-delay: 0s;
}
.float-card-1 .float-card-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.float-card-2 {
  top: 8%;
  right: 0%;
  animation-delay: 0.8s;
}
.float-card-2 .float-card-icon {
  background: linear-gradient(135deg, var(--success), #059669);
}

.float-card-3 {
  bottom: 30%;
  left: -2%;
  animation-delay: 1.6s;
}
.float-card-3 .float-card-icon {
  background: linear-gradient(135deg, var(--warning), #d97706);
}

.float-card-4 {
  bottom: 18%;
  right: 0%;
  animation-delay: 2.4s;
}
.float-card-4 .float-card-icon {
  background: linear-gradient(135deg, var(--secondary), #b4913f);
}

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

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 5;
}

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

/* ===== STATS ===== */
.stats-section {
  padding: 50px 0;
  background: var(--bg-color);
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 32px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 94, 184, 0.08);
  border-color: var(--border-active);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-card:nth-child(2) .stat-number {
  color: var(--secondary);
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
  font-size: 20px;
}

/* ===== SECTION HEADERS ===== */
.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ===== FEATURES ===== */
.features-section {
  padding: 80px 0;
  background: var(--white-color);
}

.features-section-header {
  margin-bottom: 70px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 55px 28px 15px;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  text-align: left;
  min-height: 160px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-active);
}

.feature-icon-wrapper {
  margin-bottom: 20px;
  position: absolute;
  top: -40px;
}
.feature-icon-wrapper img {
  max-width: 80px;
  height: 80px;
  object-fit: contain;
}
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  animation: featureFloat 3s ease-in-out infinite;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.feature-card:nth-child(2) .feature-icon {
  animation-delay: 0.5s;
}
.feature-card:nth-child(3) .feature-icon {
  animation-delay: 1s;
}
.feature-card:nth-child(4) .feature-icon {
  animation-delay: 1.5s;
}

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

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  font-size: clamp(1.25rem, 1.2038rem + 0.2308vw, 1.4rem);
  font-weight: 800;
  color: rgb(37, 59, 112);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 15px;
  color: rgb(37, 59, 112);
  opacity: 0.8;
  line-height: 1.6;
}

/* ===== EXAM TYPES ===== */
.exam-section {
  padding: 80px 0;
  background: var(--bg);
}

.exam-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.exam-card-blue:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 48px rgba(0, 94, 184, 0.12);
}

.exam-card-gold:hover {
  border-color: var(--secondary);
  box-shadow: 0 16px 48px rgba(196, 163, 90, 0.15);
}

.exam-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  width: fit-content;
}

.exam-badge-blue {
  background: var(--primary);
  color: white;
}

.exam-badge-gold {
  background: var(--secondary);
  color: var(--white-color);
}

.exam-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.exam-features {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
  flex-grow: 1;
}

.exam-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}
.exam-features li iconify-icon {
  color: var(--success);
}
.exam-features li i {
  color: var(--success);
  margin-top: 3px;
  font-size: 14px;
  flex-shrink: 0;
}

.exam-img {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  transition: transform 0.4s ease;
}

.exam-card:hover .exam-img {
  transform: scale(1.05);
}

.exam-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== 3D ISOMETRIC SVG EFFECTS ===== */
.exam-img-3d {
  perspective: 800px;
  transform-style: preserve-3d;
}

.exam-svg-3d {
  transform: rotateX(10deg) rotateY(-15deg) scale(1.1);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(8px 12px 16px rgba(0, 0, 0, 0.12));
  animation: examFloat 4s ease-in-out infinite;
}

.exam-card:hover .exam-svg-3d {
  transform: rotateX(5deg) rotateY(-10deg) scale(1.18);
  filter: drop-shadow(12px 20px 24px rgba(0, 0, 0, 0.18));
}

@keyframes examFloat {
  0%,
  100% {
    transform: rotateX(10deg) rotateY(-15deg) scale(1.1) translateY(0);
  }
  50% {
    transform: rotateX(10deg) rotateY(-15deg) scale(1.1) translateY(-6px);
  }
}

.btn-exam-blue {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
  width: fit-content;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-exam-blue:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

.btn-exam-gold {
  background: var(--secondary);
  color: var(--white-color);
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
  width: fit-content;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-exam-gold:hover {
  background: #d4b76a;
  transform: scale(1.02);
}

/* ===== GRADE SELECTOR ===== */
.grade-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 24px;
}

.grade-pill {
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  user-select: none;
}

.grade-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.exam-card-gold .grade-pill:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: var(--secondary-light);
}

.grade-pill.active-blue {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 94, 184, 0.25);
}

.grade-pill.active-gold {
  background: var(--secondary);
  color: var(--white-color);
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(196, 163, 90, 0.25);
}

.grade-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 80px 0;
  background: white;
}

.step-item {
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 100%;
  height: 2px;
  border-top: 2px dashed var(--border);
  z-index: 1;
}

.step-item:last-child .step-connector {
  display: none;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  height: 100%;
  transition: all 0.35s ease;
}

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

.testimonial-quote-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.testimonial-quote-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.testimonial-text {
  font-size: 16px;
  color: #334155;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 18px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  overflow: hidden;
}

.testimonial-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
}

.testimonial-info {
  font-size: 13px;
  color: #64748b;
}

.testimonial-stars {
  color: var(--warning);
  font-size: 13px;
  margin-top: 2px;
}

/* Swiper Testimonials */
.knv-testimonials-swiper {
  padding-bottom: 48px;
  margin-top: 40px;
}

.knv-testimonials-swiper .swiper-slide {
  height: auto;
}

.knv-testimonials-swiper .testimonial-card {
  height: 100%;
}

.knv-testimonials-pagination {
  bottom: 0 !important;
}

.knv-testimonials-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--border);
  opacity: 1;
  transition: all 0.3s ease;
}

.knv-testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 24px;
  border-radius: 5px;
}

.knv-testimonials-prev,
.knv-testimonials-next {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.knv-testimonials-prev::after,
.knv-testimonials-next::after {
  font-size: 14px;
  font-weight: 700;
}

.knv-testimonials-prev:hover,
.knv-testimonials-next:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.08);
}

.knv-testimonials-prev {
  left: -20px;
}

.knv-testimonials-next {
  right: -20px;
}

/* Carousel controls */
.carousel-control-custom {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-control-custom:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== NEWS ===== */
.news-section {
  padding: 80px 0;
  background: white;
}

.news-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.35s ease;
  height: 100%;
}

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

.news-img-wrap {
  overflow: hidden;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrap img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}

.news-body {
}

.news-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.news-title:hover {
  color: var(--primary);
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Swiper News */
.knv-news-swiper {
  padding-bottom: 48px;
  margin-top: 40px;
}

.knv-news-swiper .swiper-slide {
  height: auto;
}

.knv-news-swiper .news-card {
  height: 100%;
}

.knv-news-pagination {
  bottom: 0 !important;
}

.knv-news-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--border);
  opacity: 1;
  transition: all 0.3s ease;
}

.knv-news-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 24px;
  border-radius: 5px;
}

/* ===== CTA BANNER ===== */
/* Base / legacy (centered) */
.cta-section {
  padding: 100px 0;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* decorative grid overlay */

/* ambient orbs */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-orb--1 {
  width: 280px;
  height: 280px;
  background: rgba(196, 163, 90, 0.15);
  top: -80px;
  right: 10%;
}

.cta-orb--2 {
  width: 200px;
  height: 200px;
  background: rgba(0, 94, 184, 0.2);
  bottom: -60px;
  left: 5%;
}

/* --- Legacy classes (keep for backward compat) --- */
.cta-trophy {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  animation: trophyPulse 3s ease-in-out infinite;
}

.cta-trophy img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(196, 163, 90, 0.4));
  -webkit-filter: drop-shadow(0 8px 24px rgba(196, 163, 90, 0.4));
  pointer-events: none;
  user-select: none;
}

@keyframes trophyPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 32px;
}

.btn-cta-gold {
  background: var(--secondary);
  color: var(--white-color);
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-gold:hover {
  background: #d4b76a;
  transform: scale(1.03);
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
}

.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
}

/* --- Split layout overrides --- */
.cta-section--split {
  padding: 150px 0 90px;
  text-align: left;
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.hero-section .wave-divider {
  bottom: -3px;
  z-index: 2;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-divider--top {
  top: 0;
  height: 80px;
}

.wave-divider--footer-top {
  top: 0;
  height: 100px;
}

.wave-divider--footer-top .wave-back {
  opacity: 0.4;
}

.cta-section--split .cta-title {
  text-align: left;
  margin-left: 0;
  line-height: 1.35;
  font-family: var(--title-font);
}

.cta-section--split .cta-subtitle {
  text-align: left;
  margin-left: 0;
  max-width: 540px;
}

/* badge */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--white-color);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(196, 163, 90, 0.3);
}

.cta-badge iconify-icon {
  font-size: 16px;
  color: inherit;
}

/* accent text */
.cta-title-accent {
  color: var(--secondary);
}

/* feature list */
.cta-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 20px 0;
}

.cta-features li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-features li iconify-icon {
  color: var(--secondary);
  font-size: 18px;
  flex-shrink: 0;
}

/* actions row */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ghost button */
.btn-cta-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: white;
  padding: 13px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary);
  color: white;
}

/* trust row */
.cta-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta-trust-avatars {
  display: flex;
  align-items: center;
}

.cta-trust-avatars span {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white-color);
  border: 2px solid var(--border);
  margin-left: -10px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.cta-trust-avatars span:first-child {
  margin-left: 0;
}

.cta-trust-more {
  background: var(--secondary) !important;
  color: var(--white-color) !important;
  margin-left: -10px;
  border: 2px solid var(--border);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  position: relative;
  z-index: 3;
}

.cta-trust-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.cta-trust-text strong {
  color: white;
}

.cta-trust-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.cta-trust-stars iconify-icon {
  color: var(--secondary);
  font-size: 14px;
}

.cta-trust-stars strong {
  margin-left: 4px;
  font-size: 14px;
}

/* --- Glass card --- */
.cta-glass-card {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  text-align: center;
}

/* subtle gold glow in top-right corner */
.cta-glass-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(196, 163, 90, 0.25) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-glass-tag {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(6deg);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
  z-index: 2;
}

.cta-glass-title {
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin: 16px 0 24px;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.cta-stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-stat:last-child {
  border-right: none;
}

.cta-stat-num {
  font-family: var(--title-font);
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}

.cta-stat-num span {
  font-size: 20px;
  opacity: 0.8;
}

.cta-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}

.cta-glass-card .cta-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0;
}

.cta-glass-card .cta-note iconify-icon {
  color: var(--secondary);
  font-size: 16px;
  flex-shrink: 0;
}

/* ===== CTA BANNER — ANIMATION INITIAL STATES ===== */
.js-knv-cta.knv-anim-ready .cta-grid-overlay,
.js-knv-cta.knv-anim-ready .cta-orb {
  opacity: 0;
}

.js-knv-cta.knv-anim-ready .cta-badge {
  opacity: 0;
  transform: translateX(-30px);
}

.js-knv-cta.knv-anim-ready .cta-title,
.js-knv-cta.knv-anim-ready .cta-subtitle,
.js-knv-cta.knv-anim-ready .cta-trust {
  opacity: 0;
  transform: translateY(24px);
}

.js-knv-cta.knv-anim-ready .cta-features li {
  opacity: 0;
  transform: translateX(-20px);
}

.js-knv-cta.knv-anim-ready .cta-actions .btn-cta-gold,
.js-knv-cta.knv-anim-ready .cta-actions .btn-cta-ghost {
  opacity: 0;
  transform: scale(0.85);
}

.js-knv-cta.knv-anim-ready .cta-glass-card {
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transform-origin: center center;
}

.js-knv-cta.knv-anim-ready .cta-glass-tag {
  opacity: 0;
  transform: scale(0.4);
}

.js-knv-cta.knv-anim-ready .cta-trophy {
  opacity: 0;
  transform: scale(0.6) rotate(-10deg);
}

.js-knv-cta.knv-anim-ready .cta-glass-title,
.js-knv-cta.knv-anim-ready .cta-glass-card .cta-note {
  opacity: 0;
  transform: translateY(16px);
}

.js-knv-cta.knv-anim-ready .cta-stat {
  opacity: 0;
  transform: translateY(20px);
}

@media (prefers-reduced-motion: reduce) {
  .js-knv-cta .cta-grid-overlay,
  .js-knv-cta .cta-orb,
  .js-knv-cta .cta-badge,
  .js-knv-cta .cta-title,
  .js-knv-cta .cta-subtitle,
  .js-knv-cta .cta-features li,
  .js-knv-cta .cta-actions .btn-cta-gold,
  .js-knv-cta .cta-actions .btn-cta-ghost,
  .js-knv-cta .cta-trust,
  .js-knv-cta .cta-glass-card,
  .js-knv-cta .cta-glass-tag,
  .js-knv-cta .cta-trophy,
  .js-knv-cta .cta-glass-title,
  .js-knv-cta .cta-glass-card .cta-note,
  .js-knv-cta .cta-stat {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* iconify spin animation */
.icon-spin {
  animation: iconSpin 1s linear infinite;
}

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

/* ===== FOOTER ===== */
.site-footer {
  background: #0f172a;
  padding: 160px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-desc {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0;
  max-width: 320px;
}

.footer-contact {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact i {
  color: var(--secondary);
  margin-right: 8px;
  width: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding: 24px 0;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ===== ORBITAL PILLS ===== */
.orbital-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--primary-dark);
  min-height: 450px;
}

.orbital-container {
  position: relative;
  height: 450px;
}

.floating-pill {
  position: absolute;
  white-space: nowrap;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-weight: 700;
  color: var(--primary);
  box-shadow:
    0 8px 32px rgba(0, 94, 184, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 1;
  font-size: 14px;
  letter-spacing: 0.3px;
  animation: float ease-in-out infinite;
  transform: translateX(-100vw);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
  will-change: transform;
}

.floating-pill:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 188, 255, 0.5);
  box-shadow:
    0 12px 40px rgba(0, 188, 255, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

@keyframes float {
  0% {
    transform: translateX(-100vw);
  }
  100% {
    transform: translateX(100vw);
  }
}

@keyframes float-reverse {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100vw);
  }
}

.floating-pill.reverse {
  animation-name: float-reverse;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  padding: 4px;
}

.site-header.scrolled .mobile-menu-btn {
  color: var(--text-primary);
}

/* ===== HEADER DB MENU ===== */
.knv-header-nav-item {
  position: relative;
}

.knv-header-nav-item.has-submenu .nav-link {
  display: inline-flex;
  align-items: center;
}

.knv-header-nav-item.has-submenu .nav-link i {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.knv-header-nav-item.has-submenu:hover .nav-link i,
.knv-header-nav-item.has-submenu:focus-within .nav-link i {
  transform: rotate(180deg);
}
.knv-header-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 100%;
  height: 20px;
  background: transparent;
  z-index: -1;
}
.knv-header-submenu {
  position: absolute;
  top: 45px;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  -ms-transform: translateY(10px);
  -o-transform: translateY(10px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.site-header.scrolled .knv-header-submenu {
  top: 45px;
}

.knv-header-nav-item.has-submenu:hover .knv-header-submenu,
.knv-header-nav-item.has-submenu:focus-within .knv-header-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
}

.knv-header-submenu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.knv-header-submenu-link i {
  color: var(--primary);
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.knv-header-submenu-link:hover,
.knv-header-submenu-link.active {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
}

.knv-header-submenu-link:hover i,
.knv-header-submenu-link.active i {
  opacity: 1;
  transform: translateX(0);
}

.knv-mobile-offcanvas {
  width: 320px;
  border-left: 1px solid var(--border);
  background: var(--surface);
}

.knv-mobile-offcanvas-header {
  background: linear-gradient(135deg, var(--navy), var(--primary));
  padding: 20px 24px;
  border-bottom: none;
}

.knv-mobile-offcanvas-brand {
  font-family: var(--title-font, 'Playfair Display', serif);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.knv-mobile-offcanvas-body {
  padding: 20px;
  background: var(--surface);
}

.knv-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.knv-mobile-nav-link,
.knv-mobile-nav-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  background: transparent;
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.knv-mobile-nav-link:hover,
.knv-mobile-nav-toggle:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateX(3px);
}

.knv-mobile-nav-link.active,
.knv-mobile-nav-toggle.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.knv-mobile-nav-link iconify-icon,
.knv-mobile-nav-toggle iconify-icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.knv-mobile-nav-link:hover iconify-icon,
.knv-mobile-nav-toggle:hover iconify-icon {
  color: var(--primary);
}

.knv-mobile-nav-link.active iconify-icon,
.knv-mobile-nav-toggle.active iconify-icon {
  color: #fff;
}

.knv-mobile-nav-toggle iconify-icon[icon="fa6-solid:angle-down"] {
  margin-left: auto;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.knv-mobile-nav-toggle[aria-expanded="true"] iconify-icon[icon="fa6-solid:angle-down"] {
  transform: rotate(180deg);
}

.knv-mobile-submenu {
  margin: 4px 0 8px 8px;
  padding: 6px 0 6px 16px;
  border-left: 2px solid var(--primary-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.knv-mobile-submenu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.25s ease;
}

.knv-mobile-submenu-link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-active);
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.knv-mobile-submenu-link:hover,
.knv-mobile-submenu-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.knv-mobile-submenu-link:hover::before,
.knv-mobile-submenu-link.active::before {
  background: var(--primary);
}

.knv-age-groups {
  background: var(--bg-color);
  padding: 80px 0;
}

.knv-age-title {
  font-family: var(--title-font);
  font-size: clamp(2.2rem, 1.9538rem + 1.2308vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.knv-age-title span {
  color: var(--secondary);
}

.knv-age-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
}

.knv-age-row {
  padding-top: 60px;
}

.knv-age-card {
  background: var(--surface);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  padding: 90px 24px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  height: 100%;
  box-shadow: var(--shadow-card);
}

.knv-age-card:hover {
  transform: translateY(-6px);
  background: var(--primary);
  -webkit-transform: translateY(-6px);
  -moz-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  -o-transform: translateY(-6px);
  color: var(--white-color);
}
.knv-age-card:hover .knv-age-desc,
.knv-age-card:hover .knv-age-name {
  color: var(--white-color);
}

.knv-age-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--secondary);
  overflow: hidden;
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.knv-age-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.knv-age-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--black-color);
  margin-bottom: 10px;
}

.knv-age-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.orbital-section-background-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background-image: var(--background-orbital);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 1;
}

/* ===== STEPS TIMELINE ===== */
.knv-steps-track {
  position: relative;
}

.knv-steps-row {
  position: relative;
}

.knv-steps-line {
  position: absolute;
  top: 55px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--border) 0%,
    var(--primary) 50%,
    var(--border) 100%
  );
  z-index: 0;
  transform-origin: left center;
  pointer-events: none;
}

.knv-step-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.knv-step-item:hover .knv-step-icon-wrap {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 94, 184, 0.12);
}

.knv-step-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.knv-step-title {
  font-size: clamp(1.05rem, 1.0038rem + 0.2308vw, 1.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.knv-step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.knv-step-icon {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* ===== STEPS TIMELINE — ANIMATION INITIAL STATES ===== */
.js-knv-hiw.knv-anim-ready .section-label,
.js-knv-hiw.knv-anim-ready .section-title,
.js-knv-hiw.knv-anim-ready .section-subtitle {
  opacity: 0;
  transform: translateY(24px);
}

.js-knv-hiw.knv-anim-ready .knv-steps-line {
  transform: scaleX(0);
}

.js-knv-hiw.knv-anim-ready .knv-step-item {
  opacity: 0;
  transform: translateY(32px) scale(0.92);
}

.js-knv-hiw.knv-anim-ready .knv-step-number {
  opacity: 0;
  transform: scale(0.4);
}

.js-knv-hiw.knv-anim-ready .knv-step-icon {
  transform: rotate(-8deg);
}

@media (prefers-reduced-motion: reduce) {
  .js-knv-hiw .section-label,
  .js-knv-hiw .section-title,
  .js-knv-hiw .section-subtitle,
  .js-knv-hiw .knv-step-item,
  .js-knv-hiw .knv-step-number,
  .js-knv-hiw .knv-step-icon {
    opacity: 1 !important;
    transform: none !important;
  }
  .js-knv-hiw .knv-steps-line {
    transform: scaleX(1) !important;
  }
}

.cta-trust-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  overflow: hidden;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border: 2px solid var(--border);
  margin-left: -10px;
}
.cta-trust-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== INLINE-STYLE CLEANUP (moved from testimonials.php) ===== */
.section-label--primary {
  color: var(--primary);
}

.testimonial-quote-iconify {
  color: var(--primary);
  opacity: 0.35;
}

.footer-mobile-divider {
  display: none;
}

/* ===== AUTH PAGES ===== */

/* Section Container */
.knv-auth-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
  min-height: calc(100vh - var(--header-height, 80px));
  padding: clamp(60px, 8vw, 60px) 0;
  display: flex;
  align-items: center;
}

/* Main Auth Card - Flex layout, NOT grid */
.knv-auth-card {
  display: flex;
  max-width: 1140px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  min-height: 600px;
}

/* Form Side - 55% */
.knv-auth-form-side {
  flex: 1 1 55%;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
}

/* Back Link */
.knv-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color var(--transition-base);
}

.knv-auth-back:hover {
  color: var(--primary);
}

.knv-auth-back iconify-icon {
  font-size: 14px;
}

/* Logo */
.knv-auth-logo {
  margin-bottom: 32px;
}

.knv-auth-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* Form Heading */
.knv-auth-title {
  font-family: var(--title-font);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.knv-auth-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Form Fields - Reuse sknest-figma-form with modifications */
.knv-auth-form .sknest-figma-form-group {
  position: relative;
  margin-bottom: 20px;
}

.knv-auth-field.has-icon-left .sknest-figma-form-control {
  padding-left: 48px;
}

.knv-auth-field.has-icon-right .sknest-figma-form-control {
  padding-right: 48px;
}

.field-icon-left {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
  pointer-events: none;
  z-index: 2;
}

/* sknest-figma-form-control base styles (if not defined elsewhere) */
.sknest-figma-form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.sknest-figma-form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.1);
}

.sknest-figma-form-control::placeholder {
  color: var(--text-muted);
}

/* Eye Toggle Button */
.knv-auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-base);
  z-index: 2;
}

.knv-auth-eye:hover {
  color: var(--primary);
}

.knv-auth-eye iconify-icon {
  font-size: 18px;
}

/* Meta Row - Remember + Forgot */
.knv-auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Custom Checkbox */
.knv-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
}

.knv-auth-check input[type="checkbox"] {
  display: none;
}

.knv-auth-check .check-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.knv-auth-check input[type="checkbox"]:checked + .check-box {
  background: var(--primary);
  border-color: var(--primary);
}

.knv-auth-check input[type="checkbox"]:checked + .check-box::after {
  content: "";
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.knv-auth-check .check-label {
  user-select: none;
}

/* Forgot Password Link */
.knv-auth-forgot {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.knv-auth-forgot:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Submit Button */
.knv-auth-submit {
  width: 100%;
  height: 52px;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.knv-auth-submit iconify-icon {
  font-size: 16px;
}

/* Divider */
.knv-auth-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.knv-auth-divider::before,
.knv-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.knv-auth-divider span {
  padding: 0 16px;
  white-space: nowrap;
}

/* Social Buttons */
.knv-auth-social {
  display: flex;
  gap: 12px;
}

.knv-auth-social-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.knv-auth-social-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.knv-auth-social-btn .social-icon {
  font-size: 18px;
}

.knv-auth-social-google .social-icon {
  color: #ea4335;
}

.knv-auth-social-facebook .social-icon {
  color: #1877f2;
}

/* Signup Link */
.knv-auth-signup {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.knv-auth-signup a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.knv-auth-signup a:hover {
  text-decoration: underline;
}

/* Brand Side - 45% */
.knv-auth-brand-side {
  flex: 1 1 45%;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
  padding: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Decorative Blobs */
.knv-auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.knv-auth-blob--gold {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  opacity: 0.25;
  top: -100px;
  right: -100px;
}

.knv-auth-blob--blue {
  width: 250px;
  height: 250px;
  background: var(--primary-light);
  opacity: 0.15;
  bottom: -80px;
  left: -80px;
}

/* Brand Content */
.knv-auth-brand-content {
  position: relative;
  z-index: 1;
}

.knv-auth-brand-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.knv-auth-brand-title {
  font-family: var(--title-font);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 32px;
}

/* Brand Media Image */
.knv-auth-brand-media {
  aspect-ratio: 4/3;
  margin: 0 auto 32px;
  max-width: 250px;
  pointer-events: none;
  user-select: none;
}

.knv-auth-brand-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* Brand Perks */
.knv-auth-brand-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.knv-auth-brand-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 15px;
  margin-bottom: 12px;
}

.knv-auth-brand-perks li iconify-icon {
  color: var(--secondary);
  font-size: 18px;
  flex-shrink: 0;
}

/* Brand Quote Card */
.knv-auth-brand-quote {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 24px;
  color: white;
}

.knv-auth-brand-quote p {
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.95;
}

.knv-auth-brand-quote .quote-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.knv-auth-brand-quote .quote-author strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
}

.knv-auth-brand-quote .quote-author span {
  font-size: 13px;
  opacity: 0.8;
}

/* ===== UTILITY OVERRIDES ===== */

/* Hide/show utilities for auth page */
.knv-auth-section .d-none {
  display: none !important;
}

/* ===== REGISTER PAGE MODIFIERS ===== */

/* Meta row single column (no forgot password) */
.knv-auth-meta--single {
  justify-content: flex-start;
}

/* Terms link inside checkbox label */
.knv-auth-check .check-label a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.knv-auth-check .check-label a:hover {
  text-decoration: underline;
}

/* Promo card modifier */
.knv-auth-brand-promo {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.knv-auth-brand-promo .promo-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 20px;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}

.knv-auth-brand-promo p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.knv-auth-brand-promo p strong,
.knv-auth-brand-promo div strong,
.knv-auth-brand-promo div b {
  color: var(--secondary);
  font-weight: 600;
}
/* ===== HEADER ACCOUNT PILL & DROPDOWN ===== */
.knv-header-account-wrap {
  position: relative;
}

.knv-header-account-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 6px 14px 6px 6px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.site-header.scrolled .knv-header-account-pill {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-primary);
}

.knv-header-account-pill:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-header.scrolled .knv-header-account-pill:hover {
  background: var(--bg);
}

.knv-header-account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary-light);
}

.knv-header-account-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  min-width: 0;
}

.knv-header-account-name {
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.knv-header-account-role {
  display: inline-block;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--white-color);
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.knv-header-account-role--member {
  background: var(--primary);
}

.knv-header-account-role--mod {
  background: var(--info);
}

.knv-header-account-role--admin {
  background: var(--danger);
}

.knv-header-account-code {
  font-size: 11px;
  opacity: 0.75;
  font-weight: 500;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.knv-header-account-chevron {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.knv-header-account-wrap.is-open .knv-header-account-chevron {
  transform: rotate(180deg);
}

.knv-header-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow-float);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.knv-header-account-wrap.is-open .knv-header-account-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.knv-header-account-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.knv-header-account-dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.knv-header-account-dropdown-item--danger {
  color: var(--danger);
}

.knv-header-account-dropdown-item--danger:hover {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
}

.knv-header-account-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ===== MOBILE ACCOUNT CARD ===== */
.knv-mobile-account-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
}

.knv-mobile-account-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--secondary);
  padding: 2px;
  background: #fff;
}

.knv-mobile-account-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.knv-mobile-account-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.knv-mobile-account-code {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.knv-mobile-auth-divider {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.knv-mobile-nav-link--danger {
  color: var(--danger) !important;
}

.knv-mobile-nav-link--danger:hover {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger) !important;
  transform: translateX(3px);
}

.knv-mobile-nav-link--danger iconify-icon {
  color: var(--danger);
}

.knv-mobile-btn-login,
.knv-mobile-btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.knv-mobile-btn-login {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
}

.knv-mobile-btn-login:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--navy));
  color: #fff;
  transform: translateY(-1px);
}

.knv-mobile-btn-register {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.knv-mobile-btn-register:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

body.dang-nhap .site-header,
body.dang-ky .site-header,
body.dang-nhap .site-footer,
body.dang-ky .site-footer,
body.dashboard-page .site-footer,
body.dashboard-page .site-header,
body.dashboard-page #toTop {
  display: none !important;
}

/* Modal Bank (Phase 2) */
.knv-adtbank-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
}
.knv-adtbank-modal.is-open {
  display: flex;
}
.knv-adtbank-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.knv-adtbank-modal__dialog {
  position: relative;
  width: min(960px, 96vw);
  max-height: 92vh;
  background: var(--surface, #fff);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}
.knv-adtbank-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.knv-adtbank-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy, #0f172a);
}
.knv-adtbank-modal__close {
  background: none;
  border: 0;
  padding: 6px;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
}
.knv-adtbank-modal__filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.knv-adtbank-input,
.knv-adtbank-select {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  background: #fff;
  min-width: 160px;
}
.knv-adtbank-input {
  flex: 1 1 220px;
}
.knv-adtbank-modal__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0 20px;
}
.knv-adtbank-table {
  width: 100%;
  border-collapse: collapse;
}
.knv-adtbank-table th,
.knv-adtbank-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.9rem;
  vertical-align: top;
  text-align: left;
}
.knv-adtbank-table thead th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  font-weight: 600;
  color: #334155;
}
.knv-adtbank-table__check {
  width: 34px;
}
.knv-adtbank-table__contenttext {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.knv-adtbank-empty,
.knv-adtbank-loading {
  padding: 32px;
  text-align: center;
  color: #64748b;
}
.knv-adtbank-modal__pager {
  padding: 8px 20px;
  display: flex;
  justify-content: flex-end;
}
.knv-adtbank-pager {
  display: flex;
  align-items: center;
  gap: 10px;
}
.knv-adtbank-pager__btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
}
.knv-adtbank-pager__btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.knv-adtbank-modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border, #e5e7eb);
  background: #f8fafc;
}
.knv-adtbank-modal__count strong {
  color: var(--primary, #0ea5e9);
}
.knv-adtbank-modal__footactions {
  display: flex;
  gap: 8px;
}
iframe {
  pointer-events: all !important;
}
@media (max-width: 768px) {
  .knv-adtbank-modal__filterbar {
    flex-direction: column;
  }
  .knv-adtbank-input,
  .knv-adtbank-select {
    min-width: 0;
    width: 100%;
  }
}
.knv-adtf-btn.is-locked {
  opacity: 0.55;
  cursor: help;
  position: relative;
}
.knv-adtf-btn.is-locked::after {
  content: "🔒";
  margin-left: 6px;
  font-size: 0.85em;
}
.knv-exam-types-btn-label {
  display: flex;
  align-items: center;
  gap: 5px;
}
/* ===== Exam types quick-start loading state ===== */
.knv-exam-types-card-busy {
    position: relative;
    pointer-events: none;
    transition: opacity 220ms ease;
    opacity: .55;
}
.knv-exam-types-card-busy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .35);
    border-radius: inherit;
    pointer-events: none;
}
.knv-exam-types-btn-loading {
    position: relative;
    cursor: progress !important;
    pointer-events: none;
}
.knv-exam-types-btn-loading > * {
    visibility: hidden;
}
.knv-exam-types-btn-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.05rem;
    height: 1.05rem;
    margin: -.525rem 0 0 -.95rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: knvExamTypesSpin .7s linear infinite;
}
.knv-exam-types-btn-loading::after {
    content: "Đang setup phòng thi…";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-left: 1.5rem;
    font-weight: 600;
    color: currentColor;
    white-space: nowrap;
}
@keyframes knvExamTypesSpin {
    to { transform: rotate(360deg); }
}
@media (max-width: 576px) {
    .knv-exam-types-btn-loading::after {
        font-size: .85rem;
    }
}

/* ===== FEATURES SECTION — ANIMATION INITIAL STATES ===== */
.js-knv-features.knv-anim-ready .section-label,
.js-knv-features.knv-anim-ready .section-title,
.js-knv-features.knv-anim-ready .section-subtitle {
  opacity: 0;
  transform: translateY(24px);
}

.js-knv-features.knv-anim-ready .feature-card {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
}

.js-knv-features.knv-anim-ready .feature-icon-wrapper {
  transform: scale(0.5);
  opacity: 0;
}

.js-knv-features.knv-anim-ready .feature-text {
  opacity: 0;
  transform: translateY(12px);
}

@media (prefers-reduced-motion: reduce) {
  .js-knv-features .section-label,
  .js-knv-features .section-title,
  .js-knv-features .section-subtitle,
  .js-knv-features .feature-card,
  .js-knv-features .feature-icon-wrapper,
  .js-knv-features .feature-text {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== AGE GROUPS — ANIMATION INITIAL STATES ===== */
.js-knv-age.knv-anim-ready .knv-age-title,
.js-knv-age.knv-anim-ready .knv-age-subtitle {
  opacity: 0;
  transform: translateY(24px);
}

.js-knv-age.knv-anim-ready .knv-age-card {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.js-knv-age.knv-anim-ready .knv-age-img img {
  transform: scale(0.92);
}

@media (prefers-reduced-motion: reduce) {
  .js-knv-age .knv-age-title,
  .js-knv-age .knv-age-subtitle,
  .js-knv-age .knv-age-card,
  .js-knv-age .knv-age-img img {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== GSAP ANIMATING GATE — disable CSS transitions while GSAP tween is running ===== */
/* Tránh đua giữa CSS transition và GSAP transform → loại bỏ jank/khựng */
.gsap-animating,
.gsap-animating * {
  transition: none !important;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
}
