/* =============================================
   VIVID — style.css | Homepage
============================================= */

:root {
  --navy:        #0b0a2e;
  --navy-mid:    #13124a;
  --indigo:      #2d27b0;
  --indigo-v:    #3d35d4;
  --indigo-lt:   #6c63ff;
  --indigo-pale: #eef0ff;
  --indigo-ultra:#f5f6ff;
  --accent:      #818cf8;
  --white:       #ffffff;
  --page-bg:     #f3f4f8;
  --text-dark:   #0d0c2b;
  --text-mid:    #4b4882;
  --text-soft:   #9692c8;
  --border:      rgba(61, 53, 212, .10);
  --border-hover:rgba(61, 53, 212, .22);
  --nav-height:  72px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --ease:        cubic-bezier(.4, 0, .2, 1);
  --ease-out:    cubic-bezier(.0, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--page-bg);
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Labels ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--indigo-v);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-label::before {
  display: none;
}

/* ── Headings ── */
.section-title {
  margin-bottom: 14px;
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.section-title span { color: var(--indigo-v); }

.section-desc {
  max-width: 540px;
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.78;
}
.center-desc { margin: 0 auto; text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s;
}
.btn-primary {
  background: var(--indigo-v);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(45, 39, 176, .30);
}
.btn-outline {
  background: transparent;
  color: var(--indigo-v);
  border: 1.5px solid var(--indigo-v);
}
.btn-outline:hover {
  background: var(--indigo-pale);
  transform: translateY(-2px);
}
.btn-dark {
  background: #fff;
  color: var(--navy);
}
.btn-dark:hover {
  background: #e8e8f8;
  transform: translateY(-2px);
}
.btn-ghost-dark {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}
.full-btn { width: 100%; }


/* =============================================
   HERO CAROUSEL
============================================= */

.hero {
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--navy);
}

.carousel {
  position: relative;
  width: 100%;
  height: clamp(520px, calc(100vh - var(--nav-height)), 780px);
  min-height: 520px;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .78s cubic-bezier(.76, 0, .17, 1);
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.slide-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

/* Even, consistent filter across the WHOLE photo on every slide */
.slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Light, even filter over the complete image */
  background: rgba(5, 5, 28, .18);
  pointer-events: none;
}

/* No full-slide darkening — replaced by the text-only scrim below */
.carousel-slide::before,
.carousel-slide::after {
  display: none;
}

.slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 104px) 76px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* No additional filter behind the text: keep the full photo visible */
.slide-content::before {
  display: none;
}

.slide-title {
  position: relative;
  max-width: 820px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.35rem, 5.4vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.055em;
  text-shadow: 0 12px 34px rgba(0,0,0,.45);
}

.slide-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(74px, 8vw, 120px);
  height: 3px;
  border-radius: 999px;
  background: var(--indigo-lt);
  box-shadow: 0 0 20px rgba(108, 99, 255, .65);
}

.slide-title em {
  color: #fff;
  font-style: normal;
}

.slide-sub {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 500;
  line-height: 1.75;
  text-shadow: 0 8px 24px rgba(0,0,0,.40);
}

/* Removed slide badges and buttons after your carousel update */
.slide-eyebrow,
.slide-actions,
.slide-cta-primary {
  display: none !important;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: rgba(5, 5, 28, .30);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: background .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
  font-size: 2rem;
  line-height: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(61, 53, 212, .70);
  border-color: rgba(255,255,255,.60);
  transform: translateY(-50%) scale(1.06);
}

.carousel-prev { left: 28px; }
.carousel-next { right: 28px; }

.carousel-dots {
  position: absolute;
  bottom: clamp(18px, 3vw, 34px);
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(5, 5, 28, .22);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease), transform .25s var(--ease);
}

.carousel-dot:hover {
  transform: scale(1.15);
  background: rgba(255,255,255,.85);
}

.carousel-dot.active {
  width: 28px;
  background: var(--indigo-lt);
}

@media (max-width: 1100px) {
  .carousel {
    height: clamp(500px, 72vh, 680px);
  }

  .slide-content {
    padding-left: 7%;
    padding-right: 7%;
  }
}

@media (max-width: 1024px) {
  .carousel {
    height: 72vh;
    min-height: 560px;
  }

  .slide-content {
    padding: 0 54px 82px;
  }
}

@media (max-width: 900px) {
  .carousel {
    height: 72vh;
    min-height: 500px;
  }

  .slide-title {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: var(--nav-height);
  }

  .carousel {
    height: calc(100svh - var(--nav-height));
    min-height: 560px;
  }

  .slide-bg img {
    object-position: center;
  }

  .slide-content {
    justify-content: flex-end;
    padding: 0 24px 104px;
  }

  .slide-content::before {
    top: 45%;
    left: -16px;
    right: -16px;
  }

  .slide-title {
    max-width: 100%;
    margin-bottom: 22px;
    padding-bottom: 20px;
    font-size: clamp(2rem, 10vw, 3.15rem);
    line-height: 1.08;
  }

  .slide-sub {
    max-width: 100%;
    font-size: .98rem;
    line-height: 1.68;
  }

  .carousel-prev,
  .carousel-next {
    display: none;
  }

  .carousel-dots {
    bottom: 32px;
    gap: 7px;
    padding: 8px 10px;
  }

  .carousel-dot {
    width: 7px;
    height: 7px;
  }

  .carousel-dot.active {
    width: 22px;
  }
}

@media (max-width: 520px) {
  .carousel {
    min-height: 520px;
  }

  .slide-content {
    padding: 0 18px 94px;
  }

  .slide-title {
    font-size: clamp(1.85rem, 11vw, 2.65rem);
    letter-spacing: -.04em;
  }

  .slide-sub {
    font-size: .92rem;
    line-height: 1.62;
  }
}

@media (max-width: 380px) {
  .carousel {
    min-height: 500px;
  }

  .slide-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .slide-title {
    font-size: 1.78rem;
  }

  .slide-sub {
    font-size: .88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slides,
  .slide-bg img,
  .carousel-dot,
  .carousel-prev,
  .carousel-next {
    transition: none;
  }
}


/* =============================================
   EXPLORE VIVID / QUICK ACCESS CARDS
============================================= */

.categories {
  padding: 105px 0;
  background:
    radial-gradient(circle at top left, rgba(61, 53, 212, .07), transparent 34%),
    linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
}

.categories-header {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.categories-header .section-label {
  justify-content: center;
}

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

.nav-card {
  position: relative;
  display: flex;
  min-height: 205px;
  padding: 34px 24px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(61, 53, 212, .10);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  text-align: center;
  box-shadow: 0 12px 34px rgba(11, 10, 46, .05);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
}

.nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

.nav-card::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(108, 99, 255, .08);
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}

.nav-card:hover {
  border-color: rgba(61, 53, 212, .22);
  background: #fff;
  box-shadow: 0 22px 58px rgba(45, 39, 176, .13);
  transform: translateY(-7px);
}

.nav-card:hover::before {
  transform: scaleX(1);
}

.nav-card:hover::after {
  opacity: .9;
  transform: scale(1.15);
}

.nav-card-line {
  display: none;
}

.nav-card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(61, 53, 212, .08);
  border-radius: 20px;
  background: var(--indigo-pale);
  color: var(--indigo-v);
  font-size: 1.9rem;
  box-shadow: 0 10px 24px rgba(45, 39, 176, .08);
  transition: transform .28s var(--ease), background .28s var(--ease), color .28s var(--ease), box-shadow .28s var(--ease);
}

.nav-card:hover .nav-card-icon {
  background: var(--indigo-v);
  color: #fff;
  box-shadow: 0 14px 30px rgba(61, 53, 212, .26);
  transform: translateY(-3px) scale(1.06) rotate(-4deg);
}

.nav-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.04rem, 1.5vw, 1.24rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.nav-card p {
  display: none;
}

.nav-card-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--indigo-v);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .86rem;
  font-weight: 800;
}

.nav-card-cta::after {
  content: '→';
  transition: transform .22s var(--ease);
}

.nav-card:hover .nav-card-cta::after {
  transform: translateX(5px);
}

.featured-card {
  border-color: rgba(61, 53, 212, .16);
  background: linear-gradient(180deg, #fff 0%, var(--indigo-ultra) 100%);
}

.contact-card {
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

@media (max-width: 1100px) {
  .nav-card-grid {
    gap: 20px;
  }

  .nav-card {
    min-height: 190px;
    padding: 30px 20px;
  }
}

@media (max-width: 900px) {
  .nav-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .categories { padding: 60px 0; }
  .categories-header { margin-bottom: 36px; }
}

@media (max-width: 600px) {
  .categories {
    padding: 62px 0;
  }

  .categories-header {
    margin-bottom: 32px;
  }

  .nav-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav-card {
    min-height: 150px;
    padding: 26px 18px;
    border-radius: 18px;
    gap: 12px;
  }

  .nav-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.55rem;
  }

  .nav-card-cta {
    font-size: .8rem;
  }
}


/* =============================================
   ABOUT PREVIEW
============================================= */

.about-preview {
  padding: 100px 0;
  background: var(--white);
}

.about-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, var(--indigo-ultra) 0%, var(--indigo-pale) 100%);
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(61,53,212,.10) 1px, transparent 1px);
  background-size: 26px 26px;
}
.about-visual::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(61,53,212,.07);
}

.about-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 64px;
  border: 1px solid rgba(61,53,212,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 20px 60px rgba(45,39,176,.12);
  backdrop-filter: blur(10px);
}

.about-logo-text {
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  letter-spacing: .12em;
  line-height: .9;
}

.about-logo-sub {
  margin-top: 14px;
  color: var(--text-mid);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.about-badge {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--indigo-v);
  color: #fff;
  box-shadow: 0 12px 36px rgba(45,39,176,.34);
}
.about-badge-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge-lbl {
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: .82;
}

.about-points {
  display: none !important;
}

.about-text {
  max-width: 620px;
}

.about-text .section-desc {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-text .btn {
  margin-top: 30px;
  padding: 16px 34px;
  font-size: .95rem;
}


/* =============================================
   CONTACT STRIP
============================================= */

.contact-strip {
  padding: 80px 0;
  background: var(--page-bg);
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(11,10,46,.22);
}

.contact-strip-left {
  background: var(--navy);
  padding: 80px 70px;
  position: relative;
  overflow: hidden;
}
.contact-strip-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.contact-strip-left::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(61,53,212,.18);
}
.contact-strip-left .section-label {
  color: rgba(255,255,255,.45);
  position: relative;
  z-index: 1;
}
.contact-strip-left .section-label::before { background: rgba(255,255,255,.35); }
.contact-strip-left .section-title {
  color: #fff;
  position: relative;
  z-index: 1;
}
.contact-strip-left .section-title span { color: var(--accent); }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ci-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  font-size: 1.35rem;
}

.contact-item-text strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}
.contact-item-text small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.38);
  font-size: .9rem;
}

.contact-strip-right {
  background: var(--navy-mid);
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.contact-strip-right .section-label {
  color: rgba(255,255,255,.4);
  margin-bottom: 6px;
}
.contact-strip-right .section-label::before { background: rgba(255,255,255,.3); }
.contact-strip-right p {
  color: rgba(255,255,255,.66);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.contact-strip-right .btn {
  padding: 15px 24px;
  font-size: .92rem;
}


/* =============================================
   RESPONSIVE
============================================= */

@media (max-width: 1100px) {
  .about-preview-inner { gap: 48px; }
}

@media (max-width: 1024px) {
  .about-preview-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { min-height: 360px; }
  .contact-strip-inner { grid-template-columns: 1fr; }
  .contact-strip-left,
  .contact-strip-right { padding: 60px 48px; }
  .categories    { padding: 72px 0; }
  .about-preview { padding: 80px 0; }
  .contact-strip { padding: 60px 0; }
}

@media (max-width: 900px) {
  .about-panel { padding: 44px 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .about-preview { padding: 64px 0; }
  .about-visual  { min-height: 300px; }
  .about-panel   { padding: 40px 36px; }
  .about-badge   { right: 16px; bottom: 16px; padding: 14px 18px; gap: 10px; }
  .about-badge-num { font-size: 1.9rem; }
  .about-text .section-desc { font-size: 1rem; line-height: 1.8; }
  .about-text .btn { width: 100%; padding: 15px 24px; }
  .contact-strip { padding: 48px 0; }
  .contact-strip-left,
  .contact-strip-right { padding: 46px 30px; }
  .contact-strip-inner { border-radius: 20px; }
  .contact-items { gap: 22px; margin-top: 30px; }
  .ci-icon { width: 50px; height: 50px; font-size: 1.2rem; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .about-preview { padding: 52px 0; }
  .about-preview-inner { gap: 28px; }
  .about-visual  { min-height: 260px; }
  .about-panel   { padding: 32px 24px; }
  .about-logo-text { font-size: clamp(2.6rem, 12vw, 4rem); }
  .about-badge   { right: 12px; bottom: 12px; padding: 10px 14px; gap: 8px; border-radius: 10px; }
  .about-badge-num { font-size: 1.6rem; }
  .about-badge-lbl { font-size: .68rem; }
}

@media (max-width: 480px) {
  .contact-strip-left,
  .contact-strip-right { padding: 38px 22px; }
  .contact-item { gap: 12px; }
  .ci-icon { width: 44px; height: 44px; border-radius: 13px; font-size: 1.05rem; }
  .contact-item-text strong { font-size: .92rem; }
  .contact-item-text small { font-size: .78rem; }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .about-panel { padding: 28px 18px; }
  .nav-card { padding: 22px 18px; }
}
