:root {
  --graphite: #0b0d12;
  --midnight: #111827;
  --deep-navy: #071426;
  --panel: rgba(17, 24, 39, 0.72);
  --panel-strong: rgba(10, 16, 28, 0.9);
  --teal: #36f1e5;
  --violet: #9b6dff;
  --rose: #ff5fa8;
  --text: #eef5ff;
  --muted: #aab7cc;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --max-width: 1180px;
  --hero-pad: clamp(7rem, 12vw, 10rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(54, 241, 229, 0.16), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(155, 109, 255, 0.18), transparent 34%),
    radial-gradient(circle at 50% 92%, rgba(255, 95, 168, 0.12), transparent 38%),
    linear-gradient(135deg, var(--graphite), var(--deep-navy) 48%, #05070b);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.035) 18%, transparent 36%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 110px);
  mix-blend-mode: screen;
  opacity: 1;.7;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  line-height: 1.75;
  color: var(--muted);
}

strong {
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem;
  backdrop-filter: blur(20px);
  background: rgba(5, 8, 14, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 64px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.72), rgba(7, 20, 38, 0.56));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1.25rem;
  background: linear-gradient(90deg, var(--teal), var(--violet), var(--rose));
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.section-pad {
  padding: clamp(4.5rem, 8vw, 7.5rem) 1rem;
}

.hero {
  padding-top: var(--hero-pad);
}

.hero-grid,
.two-column,
.footer-inner,
.section-heading,
.intro-copy,
.brief-panel,
.faq-chat {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.glass-panel,
.holo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    var(--panel);
  box-shadow: var(--shadow);
}

.glass-panel::before,
.holo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(54, 241, 229, 0.22), transparent 30%, rgba(155, 109, 255, 0.16) 62%, rgba(255, 95, 168, 0.18));
  opacity: 1;.38;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
}

.hero-copy {
  padding: clamp(1.6rem, 4vw, 3.1rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Exo 2", "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  letter-spacing: -0.06em;
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.anchor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.anchor-button:hover,
.anchor-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.anchor-button.primary,
.anchor-button.centered {
  color: #041015;
  background: linear-gradient(90deg, var(--teal), #b5fff8);
  box-shadow: 0 14px 40px rgba(54, 241, 229, 0.2);
}

.anchor-button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.anchor-button.centered {
  width: fit-content;
  margin: 1.5rem auto 0;
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.hero-stats li {
  display: grid;
  gap: 0.2rem;
}

.hero-stats strong {
  font-size: 1.45rem;
  font-family: "Exo 2", sans-serif;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  min-height: 520px;
}

.hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
}

.hero-visual figcaption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 1rem;
  border-radius: 20px;
  color: var(--text);
  background: rgba(5, 8, 14, 0.68);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.section-heading {
  text-align: center;
  max-width: 900px;
  margin-bottom: 2rem;
}

.intro-copy {
  max-width: 930px;
  margin-bottom: 2rem;
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.4rem;
}

.text-block,
.stat-panel,
.brief-panel,
.faq-chat {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.plain-list {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.plain-list.compact {
  font-size: 0.94rem;
}

.stat-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-kicker {
  color: var(--rose);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.78rem;
}

.mega-stat {
  margin: 0.2rem 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  color: var(--text);
}

.card-grid {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.feature-card,
.gallery-item,
.testimonial-card {
  padding: 1.35rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover,
.gallery-item:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(54, 241, 229, 0.45);
}

.tab-buttons {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tab-button {
  cursor: pointer;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font-weight: 800;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.tab-button.active,
.tab-button:hover,
.tab-button:focus-visible {
  color: #061016;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  border-color: transparent;
  outline: none;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeUp 0.45s ease both;
}

.gallery-grid {
  align-items: stretch;
}

.zoom-frame {
  margin: 0 0 1rem;
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel-strong);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.zoom-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
  will-change: transform;
}

.team-carousel {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem;
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.team-card {
  min-width: 100%;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.035);
}

.team-card img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--line);
}

.role {
  margin: 0.5rem 0 0;
  color: var(--teal);
  font-weight: 800;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(5, 8, 14, 0.78);
  backdrop-filter: blur(14px);
  padding: 0.85rem 1rem;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  background: rgba(54, 241, 229, 0.18);
  outline: none;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.dot.active {
  background: linear-gradient(90deg, var(--teal), var(--rose));
}

.testimonial-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.quote {
  color: var(--text);
  font-size: 1.03rem;
}

.name {
  margin: 1rem 0 0;
  color: var(--teal);
  font-weight: 800;
}

.meta {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
}

.brief-panel {
  max-width: 980px;
}

.brief-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.brief-highlights p {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.faq-chat {
  max-width: 940px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 1rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 1.15rem 1.25rem;
  font-family: "Exo 2", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-question:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -4px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
}

.faq-answer p {
  margin: 0;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding: 0 1.25rem 1.15rem;
}

.site-footer {
  padding: 3rem 1rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 14, 0.74);
}

.footer-inner {
  text-align: center;
  max-width: 820px;
}

.footer-brand {
  display: inline-block;
  margin: 0;
  font-size: 1.5rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--teal);
  outline: none;
}

@keyframes fadeUp {
  from {
    opacity: 1;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5, 8, 14, 0.95);
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    text-align: center;
  }

  .hero-grid,
  .two-column,
  .team-card {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: auto;
    height: auto;
  }

  .card-grid,
  .brief-highlights {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .team-card img {
    width: 100%;
    height: 320px;
  }

  .slider-btn {
    top: auto;
    bottom: 4rem;
    transform: none;
  }

  .slider-btn.prev {
    left: 1rem;
  }

  .slider-btn.next {
    right: 1rem;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .hero-grid,
  .two-column,
  .footer-inner,
  .section-heading,
  .intro-copy,
  .brief-panel,
  .faq-chat,
  .card-grid,
  .tab-buttons,
  .team-carousel {
    width: calc(100% - 1rem);
  }

  .hero-copy,
  .text-block,
  .stat-panel,
  .brief-panel,
  .faq-chat {
    padding: 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .anchor-button {
    width: 100%;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .tab-button {
    width: 100%;
  }

  .team-card img {
    height: 240px;
  }

  h1 {
    font-size: 2.45rem;
  }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Universal Icon Fixes for Buttons */
button svg, .carousel-next svg, .carousel-prev svg, .slider-next svg, .slider-prev svg,
.next svg, .prev svg, .tab-button svg, .tab-btn svg {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

button i, .carousel-next i, .carousel-prev i, .slider-next i, .slider-prev i,
.next i, .prev i, .tab-button i, .tab-btn i {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    font-style: normal;
}

button .icon, .carousel-next .icon, .carousel-prev .icon,
.slider-next .icon, .slider-prev .icon, .tab-button .icon {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
}

/* Ensure carousel buttons are clickable even with icons */
.carousel-next, .carousel-prev, .slider-next, .slider-prev,
.next, .prev, .next-btn, .prev-btn {
    cursor: pointer;
    position: relative;
}

.carousel-next *, .carousel-prev *, .slider-next *, .slider-prev *,
.next *, .prev *, .next-btn *, .prev-btn * {
    pointer-events: none;
}

/* Tab button icon fixes */
.tab-button, .tab-btn, .tab {
    cursor: pointer;
    position: relative;
}

.tab-button *, .tab-btn *, .tab * {
    pointer-events: none;
}

/* Ensure icons don't block clicks */
button > svg, button > i, button > .icon,
.carousel-next > svg, .carousel-prev > svg,
.tab-button > svg, .tab-button > i {
    pointer-events: none !important;
}

/* Enhanced: Missing animation classes from JS */
.reveal-on-scroll {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
