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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #111;
  overflow-x: hidden;
  background: #fff;
}

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

ul {
  list-style: none;
}

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
.navbar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1200px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 40px;
  /* background-color: #F7F7F7; */
/* From https://css.glass */
background: rgba(255, 255, 255, 0.21);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8.6px);
-webkit-backdrop-filter: blur(8.6px);
border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  transition: all 0.3s ease-in-out;
}

.navbar.fixed {
  position: fixed;
  top: 15px;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.nav-logo img {
  width: auto;
  height: 38px;
}

/* Nav pill */
.nav-pill {
  display: flex;
  align-items: center;
  background: rgb(121 121 121 / 21%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(27, 29, 30, 0.015);
  border-radius: 999px;
  padding: 7px 30px;
  gap: 35px;
}

.nav-pill a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  letter-spacing: 0.25px;
  font-weight: 400;
  color: rgba(27, 29, 30, 0.6);
  padding: 6px 12px 5.5px;
  border-radius: 999px;
  transition: color .2s;
  white-space: nowrap;
  letter-spacing: 0.25px;
}

.nav-pill a:hover {
  color: #111;
}

.nav-pill a.active {
  background: #FFFFFF;
  color: #111;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);

}

/* CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  font-size: 14.5px;
  font-weight: 300;
  padding: 8px 20px 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}

.nav-cta:hover {
  opacity: .85;
}

.nav-cta-arrow {
  width: 25px;
  height: 25px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-cta-arrow svg {
  width: 10px;
  height: 10px;
}


/* ════════════════════════════════
   HERO SECTION
════════════════════════════════ */
.hero {
  min-height: 100vh;
  /* Blue top-left to warm peach/cream top-right gradient, white at bottom */
  background:
    radial-gradient(ellipse 75% 85% at 0% 45%, #b8d9f0 0%, transparent 80%),
    radial-gradient(ellipse 75% 85% at 100% 45%, #f5ddb8 0%, transparent 80%),
    radial-gradient(ellipse 80% 50% at 50% 100%, #f8f6f2 0%, #fff 30%);
  background-color: #f8f6f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 48px 100px;
  position: relative;
}

.hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(56px, 7.5vw, 100px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0px;
  color: #111;
  margin-bottom: 24px;
  max-width: 1000px;
}

.hero-headline strong {
  font-weight: 700;
}

.hero-headline .italic-serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  letter-spacing: -5px;
}

/* "with" on second line stays DM Sans regular */
.hero-headline .line2 {
  display: block;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14.4px;
  color: #1B1D1E99;
  line-height: 1.7;
  max-width: 680px;
  letter-spacing: 0.4px;
  margin: 0 auto 40px;
}

/* Purple CTA */
.hero-btn {
  display: inline-flex;
  font-family: 'Inter', sans-serif;
  align-items: center;
  gap: 10px;
  background: #4F35F5;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  padding: 14px 18px 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  font-family: 'DM Sans', sans-serif;
  border: none;
}

.hero-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.hero-btn-arrow {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-btn-arrow svg {
  width: 14px;
  height: 14px;
}

/* ════════════════════════════════
   LOVED BY / LOGOS
════════════════════════════════ */
.logos-section {
  background: #fff;
  padding: 56px 48px 64px;
  text-align: center;
}

.logos-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 15px;
  color: rgba(27, 29, 30, 0.6);
  margin-bottom: 40px;
}

.logos-label::before,
.logos-label::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  /* background: #e0e0e0; */
  background: #FFF;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(95, 97, 97, 0.6) 100%);
}

.logos-label::after {
  background: linear-gradient(90deg, rgba(95, 97, 97, 0.6) 0%, rgba(255, 255, 255, 1) 100%);

}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.company-logo img {
  height: auto;
}

.logo-item:hover {
  opacity: .8;
}

.logo-item svg {
  flex-shrink: 0;
}

.logo-item span {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  letter-spacing: -0.3px;
}

.logo-item .sub {
  font-size: 10px;
  font-weight: 400;
  display: block;
  line-height: 1;
  color: #555;
  letter-spacing: 0;
}

/* ════════════════════════════════
   ABOUT / TAGLINE
════════════════════════════════ */
.about-section {
  background: #fff;
  padding: 60px 48px 60px;
  text-align: center;
}

.about-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 34.6px;
  font-weight: 400;
  color: #222;
  max-width: 840px;
  margin: 0 auto 24px;
  line-height: 1.5;
  letter-spacing: 0px;
}

.about-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.atag {
  display: inline-flex;
  font-family: 'Instrument Serif', serif;
  align-items: center;
  font-style: italic;
  gap: 6px;
  padding: 3px 20px 4px;
  border-radius: 999px;
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 200;
}

.atag-c {
  background: rgba(186, 129, 238, 0.2);
  color: rgba(186, 129, 238, 1);
}

.atag-i {
  background: rgba(112, 181, 255, 0.2);
  color: rgba(112, 181, 255, 1);
}

.atag-s {
  background: rgba(255, 175, 104, 0.2);
  color: rgba(255, 175, 104, 1);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 120px;
  flex-wrap: wrap;
}

.logos-marquee {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 0 35px;
}

.logos-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}
.logos-track2 {
  display: flex;
  width: max-content;
  animation: scroll2 25s linear infinite;
}

.company-logo {
  flex: 0 0 auto;
  margin: 0 40px;
}

.company-logo img {
  height: auto;
  width: 125px;
}

.logos-marquee:hover .logos-track {
  animation-play-state: paused;

}.logos-marquee:hover .logos-track2 {
  animation-play-state: paused;
}

/* LEFT → RIGHT (change direction here) */
@keyframes scroll {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }

}
@keyframes scroll2 {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(-0%);
  }
}

.stat-box {
  text-align: left;
}

.stat-n {
  font-family: 'DM Sans', sans-serif;
  font-size: 90px;
  font-weight: 400;
  letter-spacing: -2px;
  color: #111;
  line-height: 1;
  position: relative;

}

.stat-n sup {
  font-size: 30px;
  vertical-align: super;
  font-weight: 600;
  position: absolute;
  top: -5px;
  left: -20px;
  color: #111;
}

.stat-l {
  font-size: 11px;
  color: rgba(27, 29, 30, 0.6);
  margin-top: 6px;
  letter-spacing: 0.5px;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;

}

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
.services-section {
  background: #fff;
  padding: 72px 0px;
  max-width: 1200px;
  margin: 0 auto;
}

.sec-head {
  text-align: center;
  margin-bottom: 52px;
}

.sec-head h2 {
  font-size: 30px;
  font-weight: 400;
  color: rgba(27, 29, 30, 1);
  letter-spacing: 1px;
}

.sec-head h2 span {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -1px;
}

.svc-row {
  display: grid;
  grid-template-columns: 200px 1fr 56px;
  align-items: start;
  gap: 32px;
  padding: 28px 16px;
  border-top: 1px solid #eee;
  cursor: pointer;
  border-radius: 10px;
  transition: background .2s;
}

.svc-row:last-child {
  border-bottom: 1px solid #eee;
}

.svc-row:hover {
  background: #fafafa;
}

.svc-name {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(27, 29, 30, 1);
}

.svc-desc {
  font-size: 14.43px;
  color: rgba(86, 86, 86, 1);
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0.23px;
  padding: 0px 50px;
}

.svc-num {
  font-size: 40px;
  color: rgba(62, 38, 112, 1);
  text-align: right;
  padding-top: 2px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-num span {
  font-weight: 300;
  color: #111;
  font-size: 18px;
  transform: rotate(45deg);
  margin-left: 5px;

}

.pill-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.pill-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F6F1FD;
  padding: 10px 20px;
  border-radius: 999px;
  color: rgba(145, 142, 160, 1);
  font-size: 12px;
}

.pill-list li:hover {
  background: #f6f1fdcb;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(186, 129, 238, 1);
  border-radius: 50%;
}

/* ════════════════════════════════
   PORTFOLIO
════════════════════════════════ */
.portfolio-section {
  background: #fff;
  padding: 0px 0px;
  text-align: center;
}

.portfolio-section>h2 {
  font-size: 30px;
  font-weight: 400;
  color: rgba(27, 29, 30, 1);
  letter-spacing: 1px;
  margin: 30px 0 0px;
}

.portfolio-section>h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -1.2px;
}

.pgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1200px;
  padding: 72px 0px;
  margin: 0 auto;
}

.pcard {
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s;
}

.pcard:hover {
  transform: scale(1.015);
}

.pcard-info {
  position: absolute;
  bottom: 14px;
  left: 16px;
  text-align: left;
}

.pcard-info h4 {
  font-size: 12px;
  font-weight: 600;
}

.pcard-info small {
  font-size: 10px;
  opacity: .6;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 40px 0px;
}

/* Card */
.pcard {
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  height: 100%;
}

/* Image */
.pcard img {
  width: 100%;
  object-fit: cover;
  display: block;
  height: 320px;
  border-radius: 20px;
}

/* Content */
.pcard h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 15px 0px 10px;
  color: rgba(51, 51, 51, 1);
}

/* Tags */
.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 0px 20px;
}

.tags span {
  font-size: 11px;
  padding: 6px 15px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(27, 29, 30, 0.1);
  color: rgba(27, 29, 30, 1);
}

/* Hover effect (like modern UI) */
.pcard:hover {
  transform: translateY(-8px);
}


/* phone mockup */
.phone-grp {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.ph {
  width: 62px;
  height: 110px;
  background: #fff;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6px;
  position: relative;
}

.ph::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  background: #eee;
  border-radius: 2px;
}

.tb {
  width: 90px;
  height: 62px;
  background: #fff;
  border-radius: 6px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 8px;
}

.ml {
  height: 4px;
  background: #eee;
  border-radius: 2px;
  width: 80%;
}

.ml.s {
  width: 55%;
}

.ml.g {
  background: #c8e870;
  width: 42%;
}

.pbadge {
  position: absolute;
  bottom: 28px;
  right: 6px;
  background: #111;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 5px;
}

/* laptop */
.lp {
  display: flex;
  flex-direction: column;
}

.lpscr {
  width: 140px;
  height: 88px;
  background: #2a2a2a;
  border-radius: 6px 6px 0 0;
  border: 2px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lpbase {
  height: 8px;
  background: #333;
  border-radius: 0 0 4px 4px;
}

.lpbase::after {
  content: '';
  display: block;
  height: 3px;
  background: #222;
  border-radius: 2px;
  margin: 0 -10px;
}

/* victura */
.vic {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
}

.vic-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

/* grndbee laptop */
.lp2 {
  display: flex;
  flex-direction: column;
}

.lpscr2 {
  width: 150px;
  height: 94px;
  background: #fff;
  border-radius: 6px 6px 0 0;
  border: 2px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px;
}

.lpbase2 {
  height: 8px;
  background: #e0ddd6;
  border-radius: 0 0 4px 4px;
}

/* ════════════════════════════════
   TECH STACK
════════════════════════════════ */
.stack-section {
  background: #fff;
  padding: 35px 45px;
  text-align: center;
}

.stack-section h2 {
  font-size: 30px;
  font-weight: 400;
  color: rgba(27, 29, 30, 1);
  letter-spacing: 1px;
}

.stack-section h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -1.2px;
}

.srow {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px 5px;
  padding: 32px 48px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.srow img {
  height: auto;
  width: 150px;
}


/* ════════════════════════════════
   TESTIMONIALS
════════════════════════════════ */
.test-section {
  background: #fff;
  text-align: center;
  max-width: 1200px;
  padding: 0px 0px;

  margin: 0 auto;
}

.test-section>h2 {
  font-size: 30px;
  font-weight: 400;
  color: rgba(27, 29, 30, 1);
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 30px;

}

.test-section>h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -1.2px;
}

.tgrid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  width: 100%;

}

.second-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  gap: 12px;
  width: 100%;
}

/* ── shared tag ── */
.tag {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ── BIG VIDEO CARD ── */
.tc-video {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}

.tc-video .vid-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.tc-video .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 6%) 40%, rgba(0, 0, 0, 0.25) 100%);
}

.tc-video .vid-content {
  position: relative;
  z-index: 1;
  padding: 24px 26px;
  color: #fff;
  text-align: start;

}

.tc-video .tag {
  color: rgba(255, 255, 255, 0.65);
  z-index: 1;
}

.tc-video .quote {
  font-size: 20px;
  margin-bottom: 24px;
  letter-spacing: 1.1px;
  font-weight: 400;

}

.tc-video .author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tc-video .author strong {
  font-size: 13px;
  font-weight: 600;
}

.tc-video .author small {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* ── YELLOW CARD ── */
.tc-yellow {
  background: rgba(246, 230, 131, 1);
  border-radius: 16px;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.tc-yellow .tag {
  color: rgba(27, 29, 30, 0.6);
  left: 22px;
}

.tc-yellow h2 {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgb(27, 29, 30);
  line-height: 1;
  margin-bottom: 10px;
  text-align: start;
}

.tc-yellow p {
  font-size: 16px;
  line-height: 1.5;
  color: rgb(27, 29, 30);
  max-width: 200px;
  text-align: start;
}

.author span {
  font-size: 13px;
  margin-bottom: 2px;
}

/* ── DARK CARD ── */
.tc-dark {
  background: rgba(27, 29, 30, 1);
  border-radius: 16px;
  padding: 24px 24px 0 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.tc-dark .tag {
  color: #555;
  left: 22px;
}

.tc-dark p {
  font-size: 17px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 1);
  font-weight: 400;
  flex: 1;
  margin-top: 32px;
  margin-bottom: 44px;
  text-align: start;
  max-width: 260px;
  letter-spacing: 1px;
}

.tc-dark img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  height: 220px;
  margin-bottom: 20px;
}

/* ── LIGHT CARD ── */
.tc-light {
  background: rgba(27, 29, 30, 0.05);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.tc-light .tag {
  color: rgba(27, 29, 30, 0.6);
  left: 22px;
}

.tc-light p {
  font-size: 22px;
  line-height: 1.2;
  color: #1a1a1a;
  font-weight: 400;
  flex: 1;
  margin-top: 62px;
  margin-bottom: 28px;
  text-align: start;
  letter-spacing: 1px;
}

.tc-light .author {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 3px;
}

.tc-light .author strong {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.tc-light .author small {
  font-size: 11.5px;
  color: #888;
}

/* ── PLACEHOLDER image fallback ── */
.img-placeholder {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, #e8d5c0 0%, #f4c58a 50%, #a8c4d4 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.vid-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #2d3748 100%);
}

/* ════════════════════════════════
   FAQ
════════════════════════════════ */
.faq-section {
  background: #fff;
  padding: 38px 48px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.faq-section>h2 {
  font-size: 30px;
  font-weight: 400;
  color: rgba(27, 29, 30, 1);
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.faq-section>h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -1.2px;
}


.fq {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 17px;
  font-weight: 400;
  color: rgba(27, 29, 30, 1);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  user-select: none;
  border: 1px solid #E8E8E9;
  border-radius: 8px;
  margin: 10px 0;
}

.fq:hover {
  background: #e8e8e94e;
}

.fic {
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(27, 29, 30, 1);
  transition: transform .3s, border-color .3s;
}

.fitem.open .fic {
  transform: rotate(180deg);
}

.fans {
  font-size: 12.5px;
  color: rgba(27, 29, 30, 1);
  line-height: 1.65;
  text-align: left;
  max-height: 0;
  overflow: hidden;
    padding: 0 20px;

  transition: max-height .35s ease, padding .3s;
}

.fitem.open .fans {
  max-height: 160px;
  padding-bottom: 14px;
}

/* ════════════════════════════════
   CONTACT
════════════════════════════════ */
.contact-section {
  min-height: 100vh;
  /* Blue top-left to warm peach/cream top-right gradient, white at bottom */
  background:
    radial-gradient(ellipse 75% 85% at 0% 60%, #b8d9f0 0%, transparent 80%),
    radial-gradient(ellipse 75% 85% at 100% 70%, #f5ddb8 0%, transparent 80%),
    radial-gradient(ellipse 80% 50% at 50% 100%, #f8f6f2 0%, #fff 30%);
  background-color: #f8f6f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0px 48px 00px;
  position: relative;
}

.contact-box{
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
}
.contact-section .contact-box h2 {
  font-size: 30px;
  font-weight: 400;
  color: rgba(27, 29, 30, 1);
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.contact-section .contact-box h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -1.2px;
}

.cform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 auto 22px;
width: 100%;
}

.cform input,
.cform textarea {
  padding: 13px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: transparent;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: #333;
  outline: none;
  transition: border-color .2s;
}

.cform input::placeholder,
.cform textarea::placeholder {
  color: #ccc;
}

.cform input:focus,
.cform textarea:focus {
  border-color: #16A5DA;
  box-shadow: 0 0 0 3px rgba(22, 165, 218, .08);
}

.cform textarea {
  grid-column: 1/-1;
  resize: none;
  height: 100px;
}

/* Full-width inputs in contact form */
.cform .fc {
  grid-column: 1/-1;
}


.cbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  padding: 8px 18px 8px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}

.cbtn:hover {
  opacity: .85;
}

.cbtn-arr {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbtn-arr svg {
  width: 13px;
  height: 13px;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  background: #fff;
  padding: 0 52px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.flogo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.flogo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #333;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flogo-icon svg {
  width: 20px;
  height: 20px;
}

.flogo-txt {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
}

.flinks {
  display: flex;
  gap: 28px;
  font-size: 12.5px;
  color: #666;
}

.flinks a:hover {
  color: #000;
  transition: color .2s;
}

.fchat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1c1c1c;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 18px 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid #2a2a2a;
}

.fchat:hover {
  background: #222;
}

.fchat-arr {
  width: 24px;
  height: 24px;
  background: #2a2a2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fchat-arr svg {
  width: 10px;
  height: 10px;
}

.fcopy {
  padding: 14px 0;
  font-size: 10.5px;
  color: #3a3a3a;
  text-align: center;
}

/* ════════════════════════════════
   HAMBURGER MENU
════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: #111;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 200;
  flex-shrink: 0;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 1.8px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: #fff;
  padding: 60px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.mobile-menu.open .mobile-menu-inner {
  transform: translateX(0);
}

.mob-link {
    font-size: 16px;
    font-weight: 400;
    color: #111;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: -0.3px;
    transition: color 0.2s;
}

.mob-link:hover {
  color: #4F35F5;
}

.mob-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4F35F5;
  color: #fff;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  padding: 14px 24px;
  border-radius: 999px;
  text-align: center;
}

  .close-btn {
    background: transparent;
    border: none;
    outline: none;
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 25px;
    font-weight: 400;
    color: rgba(27, 29, 30, 0.6);
    cursor: pointer;
    }

/* ════════════════════════════════
   TABLET (768px – 1024px)
════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Navbar */
  .navbar {
    padding: 8px 24px;
    top: 10px;
    width: calc(100% - 32px);
  }

  .nav-pill {
    gap: 18px;
    padding: 7px 18px;
  }

  .nav-pill a {
    font-size: 13px;
    padding: 6px 8px;
  }

  .nav-cta {
    font-size: 13px;
    padding: 8px 14px 8px 12px;
    gap: 8px;
  }

  .nav-cta-arrow {
    width: 22px;
    height: 22px;
  }

  /* Hero */
  .hero {
    padding: 130px 48px 80px;
  }

  .hero-headline {
    font-size: clamp(44px, 6vw, 72px);
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 14px;
    max-width: 560px;
  }

  /* Logos */
  .logos-section {
    padding: 50px 32px 52px;
  }

  /* About */
  .about-section {
    padding: 52px 40px;
  }

  .about-section h2 {
    font-size: 28px;
  }

  .atag {
    font-size: 24px;
  }

  .stats-row {
    gap: 60px;
  }

  .stat-n {
    font-size: 72px;
  }

  /* Services */
  .services-section {
    padding: 56px 40px;
    max-width: 100%;
  }

  .svc-row {
    grid-template-columns: 160px 1fr 48px;
    gap: 20px;
    padding: 22px 12px;
  }

  .svc-name {
    font-size: 22px;
  }

  .svc-desc {
    padding: 0 20px;
    font-size: 13px;
  }

  .pill-list {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Portfolio */
  .portfolio-section {
    padding: 0 32px;
  }

  .pgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 36px 24px;
  }

  .pcard img {
    height: 240px;
  }

  /* Stack */
  .stack-section {
    padding: 32px 32px;
  }

  .srow {
    padding: 24px 32px;
    gap: 20px 8px;
  }

  .srow img {
    width: 110px;
  }

  /* Testimonials */
  .test-section {
    padding: 0 32px;
    max-width: 100%;
  }

  .tgrid {
    grid-template-columns: 3fr 2fr;
  }

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

  .tc-video {
    min-height: 320px;
  }

  .tc-yellow h2 {
    font-size: 52px;
  }

  .tc-light p,
  .tc-dark p {
    font-size: 18px;
  }

  /* FAQ */
  .faq-section {
    padding: 32px 40px;
    max-width: 100%;
  }

  /* Contact */
  .contact-section {
    padding: 0 32px;
  }

  .contact-box {
    padding: 32px;
    max-width: 720px;
  }

  /* Footer */
  footer {
    padding: 0 32px;
  }

}

/* ════════════════════════════════
   MOBILE (max 767px)
════════════════════════════════ */
@media (max-width: 767px) {
  /* Show hamburger, hide nav items */
  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .nav-pill {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  /* Navbar */
  .navbar {
    padding: 10px 16px;
    top: 10px;
    width: calc(100% - 24px);
    border-radius: 999px;
  }

  /* Hero */
  .hero {
    padding: 140px 20px 64px;
    min-height: auto;
  }

  .hero-headline {
    font-size: clamp(36px, 10vw, 52px);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 18px;
  }

  .hero-headline .italic-serif {
    letter-spacing: -3px;
  }

  .hero-sub {
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 32px;
  }

  .hero-btn {
    font-size: 14px;
    padding: 12px 16px 12px 22px;
  }

  .hero-btn-arrow {
    width: 28px;
    height: 28px;
  }

  /* Logos */
  .logos-section {
    padding: 60px 16px 40px;
  }

  .logos-label {
    font-size: 13px;
  }

  .company-logo img {
    width: 90px;
  }

  .company-logo {
    margin: 0 24px;
  }

  /* About */
  .about-section {
    padding: 48px 20px;
  }

  .about-section h2 {
    font-size: 20px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .about-section h2 em {
    font-size: 22px;
    letter-spacing: -0.8px;
  }

  .about-tags {
    align-items: center;
    gap: 5px;
    margin-bottom: 40px;
    margin-top: 15px;
  }

  .atag {
    font-size: 16px;
    padding: 4px 15px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .atag img{
        width: 18px !important;
  }

  .stats-row {
    align-items: center;
    gap: 40px;
  }

  .stat-n {
    font-size: 50px;
    letter-spacing: -2px;
  }

  .stat-n sup {
    font-size: 24px;
    left: -16px;
    top: -4px;
  }

    .stat-l {
        font-size: 7px;
        white-space: normal;
    }

  /* Services */
  .services-section {
    padding: 48px 16px;
    max-width: 100%;
  }

  .sec-head {
    margin-bottom: 32px;
  }

    .sec-head h2 {
        font-size: 20px;
    }
    .sec-head h2 span {
        font-size: 22px;
        letter-spacing: -0.8px;
    }

  .svc-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 12px;
  }

  .svc-name {
    font-size: 18px;
    line-height: 1.25;
  }

  .svc-desc {
    padding: 0;
    font-size: 13.5px;
  }

  .svc-num {
    display: none;
  }

  .pill-list {
    flex-direction: column;
    gap: 8px;
  }

  .pill-list li {
    font-size: 12px;
    padding: 9px 16px;
  }

  /* Portfolio */
  .portfolio-section {
    padding: 0 16px;
  }

  .portfolio-section > h2 {
    font-size: 20px;
    margin: 24px 0 0;
  }

  .portfolio-section > h2 em {
    font-size: 22px;
    letter-spacing: -0.8px;
  }

  .pgrid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .pcard img {
    height: 220px;
  }

  .pcard h3 {
    font-size: 18px;
    margin: 12px 0 8px;
  }

  /* Stack */
  .stack-section {
    padding: 32px 16px;
  }

  .stack-section h2 {
    font-size: 20px;
  }
  .stack-section h2 em {
    font-size: 22px;
    letter-spacing: -0.8px;
  }

  .srow {
    padding: 20px 0;
    gap: 16px 0;
    justify-content: center;
  }

  .srow img {
    width: 100px;
  }

  /* Testimonials */
  .test-section {
    padding: 0 16px;
    max-width: 100%;
  }

  .test-section > h2 {
    font-size: 20px;
    letter-spacing: 0px;
    margin-top: 12px;
    margin-bottom: 20px;
  }
  .test-section > h2 em {
    font-size: 22px;
    letter-spacing: -0.8px;
  }

  .tgrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .tc-video {
    min-height: 300px;
  }

  .tc-video .quote {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .tc-yellow {
    min-height: 300px;
    padding: 22px 22px;
  }

  .tc-yellow h2 {
    font-size: 52px;
  }

  .tc-yellow p {
    font-size: 14px;
    max-width: 100%;
  }

  .tc-dark {
    padding: 20px 20px 0;
  }

  .tc-dark p {
    font-size: 16px;
    max-width: 100%;
    margin-top: 28px;
  }

  .tc-dark img {
    height: 190px;
  }

  .tc-light {
    padding: 20px;
    height: 300px;
  }

  .tc-light p {
    font-size: 18px;
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
  }

  .tag {
    font-size: 9px;
    top: 16px;
    left: 18px;
  }

  /* FAQ */
  .faq-section {
    padding: 36px 16px;
    max-width: 100%;
  }

  .faq-section > h2 {
    font-size: 20px;
    letter-spacing: 0px;
    margin-bottom: 20px;
  }
  .faq-section > h2 em {
    font-size: 22px;
    letter-spacing: -0.8px;
  }

  .fq {
    font-size: 12px;
    padding: 14px 16px;
    gap: 10px;
    margin:5px 0;
  }

  .fans {
    font-size: 12px;
    padding: 0 14px;
  }

  .fitem.open .fans {
    padding-bottom: 14px;
  }

  .tc-dark{
    margin-top: 12px;
  }
  .fic {
    font-size: 11px;
  }

  /* Contact */
  .contact-section {
    padding: 0 16px;
    min-height: auto;
  }

  .contact-box {
    padding: 24px 16px;
    margin: 32px auto;
    border-radius: 12px;
  }

  .contact-section .contact-box h2 {
    font-size: 20px;
    letter-spacing: 0px;
    margin-bottom: 20px;
  }

  .contact-section .contact-box h2 em {
    font-size: 22px;
    letter-spacing: -0.8px;
  }
  .cform {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cform .fc {
    grid-column: 1;
  }

  .cform input,
  .cform textarea {
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 14px;
  }

  .cform textarea {
    height: 90px;
  }

  .cbtn {
    font-size: 13px;
    padding: 10px 20px 10px 26px;
  }

  /* Footer */
  footer {
    padding: 0 16px;
  }

  .footer-inner {
  font-family: 'Inter', sans-serif;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 24px 0;
  }

  .flinks {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }

  .fchat {
    font-size: 13px;
  }
  .logos-marquee{
    margin-top: 50px;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: #000;
  text-decoration: none;
}

.modal .contact-box {
  margin: 0;
}

.modal .contact-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
.modal .contact-box h2 em {
  font-family: 'Instrument Serif', serif;
  font-size: 30px;
  letter-spacing: -0.8px;
}

.modal .cform {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 15px;
  }

  .modal .contact-box h2 {
    font-size: 20px;
  }
  .modal .contact-box h2 em {
  font-size: 20px;
  letter-spacing: -0.8px;
}
}