

:root {
  --turquoise: #00bcd4;
  --violet: #673ab7;
  --violet-dark: #4a2b85;
  --background: #ffffff;
  --text-primary: #1f2541;
  --text-muted: #5f6b8a;
  --card-background: rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 20px 45px rgba(15, 35, 95, 0.12);
  --max-width: 1100px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

html {
  overflow-x: clip;
  scrollbar-width: none;
}

body {
  font-family: 'Manrope', 'Poppins', 'Nunito', sans-serif;
  color: var(--text-primary);
  line-height: 1.65;
  background: var(--background);
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

main {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 15px 40px rgba(46, 33, 85, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-120%);
  opacity: 0;
  box-shadow: none;
  pointer-events: none;
}

.logo-animated {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  background: linear-gradient(120deg, var(--violet), var(--turquoise));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.logo-mark {
  font-size: 1.35rem;
  padding: 0.25rem 0;
  white-space: nowrap;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.logo-mark:focus-visible {
  outline: 2px solid rgba(0, 188, 212, 0.45);
  outline-offset: 6px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.2rem;
    cursor: pointer;
    position: relative;
    z-index: 11;
    margin-left: 1rem;
    width: 36px;
    height: 32px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--turquoise), var(--violet));
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.3rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--turquoise), var(--violet));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--violet);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(0, 10, 30, 0.85), rgba(44, 12, 78, 0.92));
  z-index: 12;
  backdrop-filter: blur(12px);
  padding: 3rem 1.5rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__inner {
  position: relative;
  width: min(320px, 80vw);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
}

.nav-close {
  position: absolute;
  top: -36px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-close span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transform: rotate(45deg);
}

.nav-close span:last-child {
  transform: rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  gap: 3rem;
  width: min(100%, var(--max-width));
  margin: 6rem auto 4rem;
  padding: 0 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 520px;
  position: relative;
  z-index: 3;
  align-items: flex-start;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.logo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.85) 45%,
    transparent 60%
  );
  filter: blur(0.5px);
  transform: translateX(-120%) skewX(-12deg);
  animation: swipe 4s infinite;
  pointer-events: none;
}

@keyframes swipe {
  0% {
    transform: translateX(-120%) skewX(-12deg);
  }
  45% {
    transform: translateX(140%) skewX(-12deg);
  }
  100% {
    transform: translateX(140%) skewX(-12deg);
  }
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-mark {
  width: clamp(160px, 24vw, 200px);
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 188, 212, 0.2));
}

.hero-lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
}

.hero-content .btn-primary {
  position: relative;
  align-self: flex-start;
  z-index: 8;
  opacity: 1;
  visibility: visible;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 1.3rem;
}

.stat-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.75));
  border-radius: 20px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 22px 38px rgba(47, 25, 105, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.01em;
}

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

.stat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--violet);
}

.stat-subtext {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--turquoise), var(--violet));
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(0, 188, 212, 0.25);
}

.hero-content .btn-primary {
  position: relative;
  align-self: flex-start;
  z-index: 8;
  opacity: 1 !important;
  visibility: visible;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(103, 58, 183, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--background);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover,
.btn-secondary:focus {
  transform: translateY(-1px);
  opacity: 0.85;
}

.hero-art {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: visible;
}

.hero-media {
  position: relative;
  width: clamp(280px, 40vw, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
  z-index: 2;
}

.media-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 60px rgba(33, 24, 76, 0.2);
  overflow: hidden;
  width: clamp(160px, 26vw, 220px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  --base-rotation: 0deg;
  transform: rotate(var(--base-rotation));
  transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
}

.media-card:hover,
.media-card:focus-within {
  transform: translate3d(10px, -26px, 0) scale(1.1) rotate(calc(var(--base-rotation) - 3deg));
  box-shadow: 0 48px 90px rgba(33, 24, 76, 0.36);
  filter: saturate(1.12);
}

.media-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.media-card:hover img,
.media-card:focus-within img {
  transform: scale(1.14) translateY(-8px);
  filter: brightness(1.08);
}

.media-card figcaption {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-primary {
  top: -24%;
  left: -10%;
  --base-rotation: -5deg;
  z-index: 3;
}

.card-secondary {
  top: -2%;
  left: 32%;
  --base-rotation: 9deg;
  z-index: 2;
}

.card-tertiary {
  top: 18%;
  left: 4%;
  --base-rotation: -12deg;
  z-index: 1;
}

.orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.55;
  mix-blend-mode: screen;
  z-index: 1;
  animation: float 10s ease-in-out infinite;
  box-shadow: 0 30px 60px rgba(25, 22, 78, 0.2);
  pointer-events: none;
}

.orb-1 {
  background: radial-gradient(circle at 30% 30%, #74efff, var(--turquoise));
  top: -70px;
  right: 40px;
  animation-delay: 0s;
}

.orb-2 {
  background: radial-gradient(circle at 20% 20%, #bba8ff, var(--violet));
  bottom: -90px;
  right: -60px;
  animation-delay: -3s;
}

.orb-3 {
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.7), #6ee2f4);
  width: 200px;
  height: 200px;
  top: 45%;
  left: -80px;
  animation-delay: -6s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -14px, 0);
  }
}


.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 5rem 2rem;
}

.hero,
.section {
  scroll-margin-top: 120px;
}

.contact {
  scroll-margin-top: 150px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.section-subtext {
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.divider {
  width: 70px;
  height: 4px;
  margin: 1.5rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--turquoise), var(--violet));
}

.section-content p {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
}

.about-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(41, 27, 74, 0.18);
}

.icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.12), rgba(103, 58, 183, 0.18));
  display: grid;
  place-items: center;
}

.icon svg,
.icon-circle svg,
.popup-icon svg {
  width: 48px;
  height: 48px;
}

.icon svg path,
.icon-circle svg path,
.icon-circle svg circle,
.popup-icon svg path {
  fill: var(--violet);
}

.icon svg .icon-detail,
.icon-circle svg .icon-detail,
.popup-icon svg .icon-detail {
  fill: var(--turquoise);
}

.icon-circle svg path[stroke-width],
.icon svg path[stroke-width] {
  fill: none;
  stroke: var(--turquoise);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(103, 58, 183, 0.15));
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.product-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 24px;
  background: var(--card-background);
  box-shadow: var(--shadow-soft);
  text-align: left;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(0, 188, 212, 0.12), rgba(103, 58, 183, 0.16));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 28px 55px rgba(62, 36, 114, 0.22);
}

.product-card:hover::after,
.product-card:focus-within::after {
  opacity: 1;
}

.product-photo {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.25), rgba(103, 58, 183, 0.25));
}

.product-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 56, 0) 40%, rgba(14, 29, 74, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-card:hover .product-photo::after,
.product-card:focus-within .product-photo::after {
  opacity: 1;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-info h3 {
  margin: 0;
  font-size: 1.15rem;
}

.product-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(42, 30, 82, 0.2);
}

.why-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.why-card p {
  margin: 0;
  color: var(--text-muted);
}

.clients-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(0, 188, 212, 0.16), rgba(103, 58, 183, 0.18));
  padding: 2.6rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 30px 60px rgba(45, 23, 102, 0.18);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  animation: marquee-slide 32s linear infinite;
  will-change: transform;
}


.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--background), transparent);
}

.fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--background), transparent);
}

.client-card {
  position: relative;
  min-width: 220px;
  padding: 1.7rem 2.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 52px rgba(26, 20, 65, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.client-logo {
  width: 170px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 26px rgba(37, 24, 88, 0.2));
}

.client-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.clients-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .clients-marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

@keyframes marquee-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.contact {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.12), rgba(103, 58, 183, 0.12));
  box-shadow: 0 32px 60px rgba(54, 24, 124, 0.18);
}

.contact-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.background-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.8;
  z-index: 0;
}

.shape-1 {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 188, 212, 0.25), rgba(103, 58, 183, 0.3));
}

.shape-2 {
  width: 420px;
  height: 420px;
  top: 50%;
  right: -180px;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15), rgba(103, 58, 183, 0.28));
}

.shape-3 {
  width: 460px;
  height: 460px;
  bottom: -220px;
  left: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 188, 212, 0.4), rgba(103, 58, 183, 0.25));
}

.shape-4 {
  width: 360px;
  height: 360px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3), rgba(0, 188, 212, 0.35));
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.netlify-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  gap: 0.45rem;
}

input,
textarea {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: none;
  outline: none;
  background: rgba(240, 243, 255, 0.8);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

input:focus,
textarea:focus {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
}

.message-field textarea {
  resize: vertical;
}

.contact-details {
  margin-top: 2.5rem;
  padding: 2rem 2.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  color: var(--text-muted);
}

.contact-details h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--violet);
}

.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, var(--turquoise), var(--violet));
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(103, 58, 183, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-map:hover,
.btn-map:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(103, 58, 183, 0.3);
}

.site-footer {
  width: min(100%, var(--max-width));
  margin: 4rem auto 2rem;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.12), rgba(103, 58, 183, 0.18));
  box-shadow: 0 24px 50px rgba(41, 27, 74, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  font-weight: 500;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.social-links svg {
  width: 26px;
  height: 26px;
}

.social-links svg path {
  fill: var(--violet);
}

.social-links a:hover,
.social-links a:focus {
  transform: translateY(-3px);
  filter: drop-shadow(0 10px 16px rgba(103, 58, 183, 0.25));
}

.form-popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 24, 54, 0.35);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.form-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  border-radius: 28px;
  padding: 2.5rem;
  min-width: min(360px, 90vw);
  text-align: center;
  color: var(--text-primary);
  box-shadow: 0 28px 58px rgba(34, 21, 62, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.form-popup.active .popup-content {
  transform: translateY(0);
}

.popup-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.2), rgba(103, 58, 183, 0.3));
  display: grid;
  place-items: center;
}

.popup-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.fade-section {
  opacity: 0;
  transform: translateY(60px);
}

.no-js .fade-section {
  opacity: 1;
  transform: none;
}

.no-js .marquee-track {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-section {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
    transform: none !important;
  }
}


@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0.9rem clamp(1rem, 5vw, 1.9rem);
    margin: 0;
    width: 100%;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 15px 40px rgba(46, 33, 85, 0.08);
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 26px;
    margin-left: auto;
  }

  .logo-mark {
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    letter-spacing: 0.08em;
    text-align: left;
    margin: 0;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
  }

  main {
    padding-top: clamp(80px, 18vw, 112px);
  }

  .mobile-nav {
    padding-top: clamp(6rem, 20vw, 8rem);
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 clamp(1rem, 5vw, 1.9rem);
  }

  .hero-content {
    align-items: center;
    text-align: center;
    gap: 1.8rem;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .hero-identity {
    justify-content: center;
  }

  .hero-mark {
    width: clamp(180px, 46vw, 240px);
  }

  .hero-tagline {
    font-size: 1.25rem;
    padding-inline: clamp(0.3rem, 3.5vw, 1rem);
  }

  .hero-lede {
    max-width: 100%;
    padding-inline: clamp(0.3rem, 3.5vw, 1rem);
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    width: 100%;
    gap: 1rem;
    padding-inline: clamp(1rem, 6vw, 2rem);
  }

  .hero-content .btn-primary {
    align-self: center;
    margin-inline: auto;
  }

  .hero-art {
    margin-top: 2rem;
  }

  .shape-1,
  .shape-2 {
    width: clamp(220px, 70vw, 320px);
    height: clamp(220px, 70vw, 320px);
  }

  .shape-1 {
    top: -140px;
    left: 50%;
    transform: translateX(-65%);
  }

  .shape-2 {
    top: 45%;
    right: 50%;
    transform: translateX(65%);
  }

  .hero-media {
    aspect-ratio: auto;
    width: min(380px, 85vw);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
  }

  .media-card {
    position: relative;
    transform: none !important;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .media-card + .media-card {
    margin-top: 1.4rem;
  }

  .orb {
    display: none;
  }

  .stat-card {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .client-card {
    min-width: 180px;
    padding: 1.4rem 1.6rem;
  }

  .client-logo {
    width: 140px;
    height: 60px;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .hero,
  .section {
    scroll-margin-top: 96px;
  }

  .contact {
    scroll-margin-top: 120px;
  }
}

@media (max-width: 540px) {
  .hero {
    margin-top: 3.5rem;
    padding: 0 clamp(0.6rem, 4vw, 1.1rem);
  }

  .hero-tagline {
    font-size: 1.35rem;
    padding-inline: clamp(0.4rem, 4.5vw, 1.2rem);
  }

  .hero-lede {
    font-size: 1.15rem;
    line-height: 1.75;
    padding-inline: clamp(0.4rem, 4.5vw, 1.2rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-inline: clamp(0.4rem, 4.5vw, 1.2rem);
  }

  .marquee-track {
    animation-duration: 24s;
  }

  .client-card {
    min-width: 160px;
    padding: 1rem 1.2rem;
    gap: 0.5rem;
  }

  .contact-form,
  .contact-details {
    padding: 1.5rem;
  }

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

  .site-footer {
    border-radius: 20px;
  }

  .hero,
  .section {
    scroll-margin-top: 80px;
  }

  .contact {
    scroll-margin-top: 96px;
  }
}





