*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #1b1f4a;
  --violet: #4b2fbf;
  --v2: #6b4fd8;
  --gold: #e8b840;
  --cream: #faf9f6;
  --off: #f0eeff;
  --white: #fff;
  --muted: #6b7090;
  --border: rgba(75, 47, 191, 0.12);
  --glow: rgba(75, 47, 191, 0.22);
  --ease: cubic-bezier(0.77, 0, 0.18, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--violet);
  border-radius: 3px;
}

#pgbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  z-index: 9999;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.06;
  animation: oF 22s ease-in-out infinite;
}

.o1 {
  width: 600px;
  height: 600px;
  background: var(--violet);
  top: -150px;
  left: -150px;
}

.o2 {
  width: 420px;
  height: 420px;
  background: var(--gold);
  bottom: 60px;
  right: -100px;
  animation-delay: -9s;
}

@keyframes oF {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -40px);
  }
}

.bc {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
}

.bc-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.bc-in a {
  color: var(--violet);
  text-decoration: none;
}

.bc-in i {
  font-size: 0.6rem;
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #080a20, #1b1f4a 55%, #2a1b6a);
  padding: 64px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--cream);
  clip-path: polygon(0 72px, 100% 0, 100% 72px);
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 50% 60%,
    rgba(75, 47, 191, 0.3),
    transparent 60%
  );
  pointer-events: none;
}

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

.hero-in {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 3;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 24px;
  padding: 5px 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: rgba(232, 184, 64, 0.12);
  color: var(--gold);
  border: 1px solid rgba(232, 184, 64, 0.25);
}

.hero-h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-rule {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--v2));
  border-radius: 2px;
  margin: 0 auto 18px;
}

.hero-sub {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* SECTION UTILITY */
.sec-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.sec-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px 0;
}

.sd-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.sd-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px 18px;
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(27, 31, 74, 0.05);
  white-space: nowrap;
}

.sd-chip i {
  color: var(--violet);
}

/* MAIN SPLIT */
.testi-submit-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

/* GUIDELINES BLOCK */
.guidelines-block {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: 0 8px 36px rgba(27, 31, 74, 0.07);
}

.gl-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.gl-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet), var(--v2));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px var(--glow);
}

.gl-icon i {
  color: #fff;
  font-size: 1.2rem;
}

.gl-title {
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.gl-sub {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.gl-intro {
  font-size: 0.88rem;
  color: #3a3d5c;
  line-height: 1.75;
  margin-bottom: 22px;
  padding: 14px;
  background: var(--off);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

.gl-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.22s;
}

.gl-item:hover {
  border-color: rgba(75, 47, 191, 0.25);
  background: var(--off);
  transform: translateX(4px);
}

.gl-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), var(--v2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.gl-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #3a3d5c;
}

.gl-text strong {
  color: var(--ink);
}

.gl-final {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--violet), var(--v2));
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gl-final i {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.gl-final span {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

/* TESTIMONY FORM */
.testi-form-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: 0 8px 36px rgba(27, 31, 74, 0.07);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  background: var(--off);
  transition: all 0.22s;
}

.form-input:focus {
  border-color: var(--violet);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(75, 47, 191, 0.08);
}

.form-input::placeholder {
  color: rgba(107, 112, 144, 0.45);
}

select.form-input {
  cursor: pointer;
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Video upload toggle */
.video-toggle-wrap {
  background: var(--off);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 16px;
  margin-bottom: 16px;
}

.vtw-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

.vtw-options {
  display: flex;
  gap: 10px;
}

.vtw-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.vtw-btn:hover,
.vtw-btn.sel {
  border-color: var(--violet);
  background: var(--violet);
  color: #fff;
}

.video-upload-area {
  display: none;
  background: var(--off);
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 12px;
}

.video-upload-area:hover,
.video-upload-area.drag {
  border-color: var(--violet);
  background: rgba(75, 47, 191, 0.04);
}

.video-upload-area i {
  font-size: 2rem;
  color: rgba(75, 47, 191, 0.3);
  margin-bottom: 10px;
  display: block;
}

.video-upload-area p {
  font-size: 0.82rem;
  color: var(--muted);
}

.video-upload-area strong {
  color: var(--violet);
}

.video-upload-area input {
  display: none;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--violet), var(--v2));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: all 0.25s;
  box-shadow: 0 6px 22px var(--glow);
  margin-top: 6px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px var(--glow);
}

/* TESTIMONIALS CAROUSEL */
.testi-sec {
  padding: 60px 0;
  background: linear-gradient(180deg, #f0eeff, var(--cream));
  position: relative;
  overflow: hidden;
}

.testi-sec::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 20rem;
  color: rgba(75, 47, 191, 0.04);
  line-height: 1;
  pointer-events: none;
}

.testi-carousel {
  position: relative;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.7s var(--ease);
}

.testi-slide {
  min-width: 100%;
  display: flex;
  gap: 22px;
  padding: 0 32px;
}

.testi-card {
  flex: 1;
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 6px 28px rgba(27, 31, 74, 0.07);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(75, 47, 191, 0.14);
}

.testi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
}

.testi-qi {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--violet), var(--v2));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-qi i {
  color: #fff;
  font-size: 0.82rem;
}

.testi-txt {
  font-style: italic;
  color: var(--ink);
  line-height: 1.72;
  font-size: 0.88rem;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.testi-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 3px 10px var(--glow);
}

.testi-ai .name {
  font-weight: 700;
  font-size: 0.83rem;
  color: var(--ink);
}

.testi-ai .loc {
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.testi-stars {
  display: flex;
  gap: 2px;
  margin-top: 3px;
}

.testi-stars i {
  color: var(--gold);
  font-size: 0.68rem;
}

.testi-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.tc-arr {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--violet);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.tc-arr:hover {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}

.tc-dots {
  display: flex;
  gap: 7px;
}

.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(75, 47, 191, 0.2);
  cursor: pointer;
  transition: all 0.2s;
}

.tc-dot.active {
  background: var(--violet);
  width: 22px;
  border-radius: 4px;
}

/* VIDEO TESTIMONIES */
.video-testi-sec {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, var(--ink), #232867);
}

.video-testi-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.video-testi-slide {
  min-width: 33.333%;
  padding: 8px;
}

.vt-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.vt-card:hover {
  transform: translateY(-6px);
  background: rgba(75, 47, 191, 0.25);
  border-color: rgba(75, 47, 191, 0.5);
}

.vt-screen {
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, #050814, #1b1f4a);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vt-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(232, 184, 64, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.vt-card:hover .vt-play {
  transform: scale(1.12);
}

.vt-play i {
  color: var(--ink);
  font-size: 1.1rem;
  margin-left: 3px;
}

.vt-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.vt-body {
  padding: 14px 16px;
}

.vt-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.vt-type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.vt-loc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* On dark section labels */
.on-dark .sd-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.on-dark .sd-chip i {
  color: var(--gold);
}

.on-dark .sd-line {
  background: rgba(255, 255, 255, 0.08);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

.reveal-l {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.reveal-l.vis {
  opacity: 1;
  transform: translateX(0);
}

.reveal-r {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.reveal-r.vis {
  opacity: 1;
  transform: translateX(0);
}

.d1 {
  transition-delay: 0.12s;
}

.d2 {
  transition-delay: 0.24s;
}

@media (max-width: 900px) {
  .testi-submit-wrap {
    grid-template-columns: 1fr;
  }

  .video-testi-slide {
    min-width: 50%;
  }

  .testi-slide {
    flex-direction: column;
    gap: 16px;
    padding: 0 18px;
  }
}

@media (max-width: 600px) {
  .bc-in,
  .hero-in,
  .sec-wrap,
  .sec-divider,
  .testi-submit-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .video-testi-slide {
    min-width: 100%;
  }
}
