/* =========================================================
   Zyobix — style.css
   Mobile-first. Values were measured from a 412 px-wide
   phone recording; tablet/desktop layouts are extrapolated.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --c1: #f7a00a;                 /* gradient start (orange)   */
  --c2: #ec174b;                 /* gradient end (crimson)    */
  --grad: linear-gradient(90deg, var(--c1), var(--c2));

  --accent: #f5a623;             /* links / active nav        */
  --bg-dark: #2d2d2d;            /* services, projects, footer*/
  --bg-mid: #3a3a3a;             /* about, contact            */
  --card: #444444;               /* service cards             */
  --card-dark: #343434;          /* testimonial cards         */
  --form-card: #2f2f2f;
  --field: #3d3d3d;

  --text: #e1e1e1;
  --muted: #abaab2;
  --white: #ffffff;

  --font-sans: "Segoe UI", Arial, Helvetica, sans-serif;
  --pad-x: 1.75rem;
  --max: 1200px;
  --radius: 12px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--bg-dark);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
p { text-align: center; }

.nowrap { white-space: nowrap; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border: 0;
  border-radius: 6px;
  background: var(--grad);
  color: #fff;
  font: 700 16px/1.2 var(--font-sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(236, 23, 75, .35); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-block { display: block; width: 100%; padding: .6rem 1rem; font-weight: 500; }

/* ---------- Shared section heading ---------- */
.section-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.section-head p {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #e0e0e0;
}

/* =========================================================
   Header / navigation (transparent, fixed — as in the recording)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.1rem;
}

.logo {
  display: inline-block;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  background: var(--bg-mid);
  border-radius: 10px 0 0 10px;
  overflow: hidden;
}
.nav-menu.open { display: block; }
.nav-menu ul { margin: 0; padding: 0; list-style: none; }
.nav-menu a {
  display: block;
  padding: 0 1.25rem 0 1.25rem;
  font-size: 1.2rem;
  line-height: 3.3rem;
  color: #fff;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--accent); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 5.5rem 0 3rem;
  text-align: center;
  background-color: #050505;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .72));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 .25rem;
  text-align: center;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15em;
  width: min(100%, 1400px);
  margin: 0 auto 1.2rem;
  font-weight: 700;
  line-height: .88;
  text-align: center;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .55));
}

.hero-line {
  display: block;
  letter-spacing: -.06em;
}

.hero-line-pink {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 72px;
}

.hero-line-white {
  color: #f5f4f1;
  font-size: 48px;
  text-shadow:
    0 0 10px rgba(255, 191, 112, .9),
    0 0 18px rgba(255, 191, 112, .8),
    0 0 30px rgba(255, 143, 61, .75),
    0 0 52px rgba(255, 140, 70, .4);
}

.hero .heading-secondary {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.3vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: #f3f3f3;
  text-shadow: 0 0 12px rgba(255, 196, 94, .15);
}

.neon-glow-orange {
  color: #fff1c7;
  text-shadow:
    0 0 6px rgba(247, 160, 10, 1),
    0 0 14px rgba(247, 160, 10, .9),
    0 0 28px rgba(247, 160, 10, .7),
    0 0 46px rgba(247, 160, 10, .45);
}

.hero-tagline {
  margin-top: 1.5rem;
  padding: 0 .15rem;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  color: #f2f2f2;
}

@media (min-width: 768px) {
  .hero-title {
    gap: .08em;
  }

  .hero .heading-secondary {
    font-size: clamp(1.4rem, 2vw, 2.6rem);
    line-height: 1.2;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .hero-title {
    width: 100%;
    max-width: 1300px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 7rem;
  }

  .hero .heading-secondary {
    max-width: 650px;
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
    line-height: 1.35;
  }

  .hero-tagline {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

/* =========================================================
   About
   ========================================================= */
.about {
  padding: 0 .5rem 2.5rem;
  background: var(--bg-mid);
}
.about-inner { max-width: var(--max); margin: 0 auto; }
.about-visual img {
  display: block;
  width: min(312px, 100%);
  height: auto;
  margin: 0 auto;
}
.about-text .section-title { margin: 1.7rem 0 1.5rem; }
.about-text p {
  margin-bottom: 1.4rem;
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text);
}
.about-text p:last-of-type { margin-bottom: 1.5rem; }

/* =========================================================
   Services
   ========================================================= */
.services {
  padding: 2.5rem var(--pad-x);
  background: var(--bg-dark);
}
.services .section-head h2,
.projects .section-head h2,
.contact .section-head h2 { text-align: center; }
.services .section-head h2 { margin-bottom: 1.4rem; }
.services .section-head p  { margin-bottom: 2rem; }

.services-grid {
  display: grid;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 1.95rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  margin-bottom: .4rem;
}
.service-icon img { display: block; max-width: 100%; height: auto; }

.service-card h3 {
  margin: .5rem 0 .6rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.service-card p {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}
.learn-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}
.learn-more:hover { color: #f43f5e; opacity: 1; text-decoration: underline; }

/* =========================================================
   Stats
   ========================================================= */
.stats {
  padding: 3rem 1rem;
  background: linear-gradient(90deg, #211d1e 0%, #2d2d2d 50%, #0d0b0c 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  column-gap: .9rem;
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 3.7rem;
  font-weight: 700;
  line-height: 1.15;
}
.stat-label {
  display: block;
  font-size: 1.2rem;
  line-height: 1.25;
  color: #aaaab4;
}

/* =========================================================
   Projects
   ========================================================= */
.projects {
  padding: 2.5rem var(--pad-x) 2.75rem;
  background: var(--bg-dark);
}
.projects .section-head h2 { margin-bottom: 1.4rem; }
.projects .section-head p  { margin-bottom: 2rem; }

.projects-grid {
  display: grid;
  gap: 1.1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: .45rem;
}

.project-card {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
}

/* Fixed-height image area. Wide screenshots show at their natural
   height from the top (as in the recording); the tag sits on its bottom edge. */
.project-media { position: relative; height: 144px; }
.project-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-tag {
  position: absolute;
  left: 1rem;
  top: 100%;
  z-index: 1;
  padding: .35rem .75rem;
  font-size: .9rem;
  line-height: 1.2;
  color: #fffdf6;
  background: #654a35;
  border-radius: 999px;
  white-space: nowrap;
}

.project-body { padding: 4.2rem 4rem 3.2rem 1.4rem; }
.project-body h3 {
  margin-bottom: .6rem;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.project-body p {
  font-size: 16px;
  line-height: 1.7;
  color: #dddce2;
}

/* =========================================================
   Call to action
   ========================================================= */
.cta {
  padding: 4rem var(--pad-x) 2.5rem;
  text-align: center;
  background: linear-gradient(115deg, #231a1b 0%, #3e2b27 42%, #191315 100%);
}
.cta h2 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.cta p {
  max-width: 25rem;
  margin: 0 0 2.2rem;
  font-size: 1.55rem;
  line-height: 1.45;
  text-align: left;
  color: #e9dce3;
}

/* =========================================================
   Testimonials (continuous infinite marquee)
   ========================================================= */
.testimonials {
  padding: 2.3rem 0 2.5rem;
  background: var(--bg-dark);
  overflow: hidden;
}
.testimonials .section-head { padding: 0 var(--pad-x); max-width: var(--max); margin: 0 auto; }
.testimonials .section-head h2 { margin-bottom: 1.4rem; line-height: .9; text-align: center; }
.testimonials .section-head p { margin-bottom: 1.6rem; text-align: center; }

.slider-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  overflow: hidden;
}
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider::-webkit-scrollbar { display: none; }
.slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 80s linear infinite;
}

.marquee-group {
  display: flex;
  flex: 0 0 min(72vw, 380px);
  width: min(72vw, 380px);
  gap: 1rem;
  padding-right: 1rem;
}

/* Each cloned group contains exactly one card. The track moves by 50% so
   the next group replaces the current group without a visible gap. */
.testimonial {
  flex: 0 0 100%;
  width: 100%;
  padding: 1.15rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 184, 46, .5);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .34), 0 0 24px rgba(244, 184, 46, .08);
}
.testimonial-head {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-placeholder { background: #4a4a4a; }
.t-name { font-size: .95rem; font-weight: 700; line-height: 1.4; color: #fff; }
.t-role { font-size: .95rem; line-height: 1.4; color: #b7b7b9; }
.stars {
  margin-top: 1.8rem;
  font-size: .9rem;
  letter-spacing: 1px;
  line-height: 1;
  color: #f4b82e;
}
.testimonial blockquote {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: #b3b2b7;
}

/* The two groups have equal width, so translating exactly half the track
   creates a seamless loop without a visible scrollbar or jump. */
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  padding: 3rem 2.3rem 6rem;
  background: var(--bg-mid);
}
.contact .section-head { max-width: 640px; margin: 0 auto; }
.contact .section-head h2 { margin-bottom: 1.4rem; }
.contact .section-head p { margin-bottom: 2rem; font-size: 14px; color: #dcdcde; }

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--form-card);
  border-radius: var(--radius);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-group { margin-bottom: 1.4rem; }
.contact-form label {
  display: block;
  margin-bottom: .45rem;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #d7d7d9;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: .65rem .9rem;
  font: 400 14px/1.4 var(--font-sans);
  color: #fff;
  background: var(--field);
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color .2s ease;
}
.contact-form select {
  cursor: pointer;
  font-size: 16px;
}
.contact-form textarea {
  height: 130px;
  padding-top: .7rem;
  line-height: 1.5;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: #d27ba8;
}
.contact-form .invalid { border-color: #ec174b; }
.contact-form .btn-block { margin-top: 2.4rem; }

.form-status {
  min-height: 0;
  margin-top: 0;
  font-size: 14px;
  text-align: center;
  color: #d7d7d9;
}
.form-status:not(:empty) { margin-top: 1rem; }
.form-status.error { color: #ff7a93; }

@media (max-width: 599px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 3rem .9rem 2rem;
  background: #2d2d2f;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-brand { margin-bottom: .5rem; }
.footer-brand .logo { font-size: 36px; }
.footer-brand p {
  margin-top: .9rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #adacb1;
}
.footer-col h4 {
  margin-bottom: 1.15rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: .5rem; line-height: 1.5; }
.footer-col a {
  font-size: 1rem;
  color: #a7a6ae;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 3.4rem;
  font-size: .95rem;
  text-align: center;
  color: #a9aaaf;
}

/* =========================================================
   Floating WhatsApp button
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* =========================================================
   Small phones
   ========================================================= */
@media (max-width: 359px) {
  :root { --pad-x: 1.25rem; }
  .services-grid { padding-inline: 0; }
  .projects-grid { padding-inline: 0; }
  .stat-number { font-size: 2.4rem; }
}

/* =========================================================
   Large phones / small tablets  (>= 600px)
   ========================================================= */
@media (min-width: 600px) {
  :root { --pad-x: 2.5rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); padding-inline: 0; gap: 1.5rem; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); padding-inline: 0; gap: 1.5rem; }
  .project-body { padding: 4.2rem 1.4rem 2.5rem; }

  .about { padding: 1rem 2.5rem 3rem; }

  .marquee-group {
    flex-basis: min(80%, 380px);
    width: min(80%, 380px);
  }
  .contact { padding-inline: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .site-footer { padding-inline: 2.5rem; }
}

/* =========================================================
   Tablets / small laptops  (>= 900px)
   ========================================================= */
@media (min-width: 900px) {
  :root { --pad-x: 3rem; }

  .site-header { padding: 1.25rem 3rem; }
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    display: block;
    background: none;
    border-radius: 0;
    overflow: visible;
  }
  .nav-menu ul { display: flex; gap: 2.25rem; }
  .nav-menu a { padding: 0; font-size: 1rem; line-height: 1.5; }

  .hero-tagline { font-size: 1.5rem; }
  .hero-text { font-size: 1.35rem; margin-top: 2.2rem; }

  .about { padding: 3rem var(--pad-x) 4rem; }
  .about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
  .about-visual img { width: min(420px, 100%); }
  .about-text .section-title { margin-top: 0; }
  .about-text p { font-size: 1.05rem; }

  .cta p { margin-inline: auto; }
  .services, .projects { padding-top: 4rem; padding-bottom: 4rem; }
  .services .section-head p,
  .projects .section-head p {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .stats { padding: 4rem 2rem; }
  .stats-grid { grid-template-columns: repeat(4, auto); column-gap: 4.5rem; }
  .stat-number { font-size: 3.5rem; }

  .cta { padding: 5rem var(--pad-x) 4rem; }
  .cta p { max-width: 640px; font-size: 1.3rem; line-height: 1.5; text-align: center; }

  .testimonials { padding: 4rem 0; }
  .marquee-group {
    flex-basis: min(66%, 420px);
    width: min(66%, 420px);
  }

  .contact { padding: 4rem var(--pad-x) 6rem; }
  .contact .section-head p { text-align: center; }
  .contact-form { padding: 2rem; }

  .site-footer { padding: 4rem var(--pad-x) 2rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

/* =========================================================
   Desktops  (>= 1200px)
   ========================================================= */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: var(--max);
  }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.hero h1 { font-size: 60px; }
h2 { font-size: 48px; }