:root {
  --bp-yellow: #ffbc08;
  --bp-yellow-dark: #eba900;
  --bp-dark: #070d0b;
  --bp-ink: #141414;
  --bp-muted: #626262;
  --bp-line: #e7e7e7;
  --bp-soft: #f7f7f7;
  --bp-white: #ffffff;
  --bp-shadow: 0 16px 38px rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bp-ink);
  font-family: "Poppins", "Inter", Arial, sans-serif;
  background: var(--bp-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(100% - 90px, 1238px);
  margin-inline: auto;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 4px;
  padding: 0 30px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 28px rgba(255, 188, 8, .24);
}

.btn-primary {
  background: var(--bp-yellow);
  border-color: var(--bp-yellow);
  color: #070707;
}

.btn-primary:hover {
  background: #ffd15b;
  border-color: #ffd15b;
  color: #070707;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .75);
  color: var(--bp-white);
  background: rgba(255, 255, 255, .03);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 67px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(4, 9, 7, .86);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 67px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  width: 52px;
  flex: 0 0 52px;
}

.brand img {
  width: 48px;
  height: auto;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.nav-menu a {
  position: relative;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 25px 0 22px;
  transition: color .25s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 0;
  height: 2px;
  background: var(--bp-yellow);
  transition: width .25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--bp-yellow);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-quote {
  min-width: 172px;
}

.nav-toggle,
.nav-menu-btn {
  display: none;
}

.hero-section {
  position: relative;
  min-height: 603px;
  color: #fff;
  overflow: hidden;
  background: #09100d;
}

.hero-bg {
  display: none;
}

.hero-video-shell {
  position: relative;
  width: 100%;
  min-height: 603px;
  overflow: hidden;
}

.hero-video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 13, 11, .72), rgba(7, 13, 11, .08));
  pointer-events: none; /* overlay must not intercept clicks */
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 603px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
  pointer-events: none; /* video should be non-interactive */
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* padding-top: 76px; */
  padding-inline: 0;
  animation: slideUp .8s ease both;
  pointer-events: auto; /* ensure content/buttons are clickable */
}

.hero-content .container {
  width: min(100% - 90px, 1238px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--bp-yellow);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.line-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.line-right::after {
  content: "";
  width: 63px;
  height: 2px;
  background: var(--bp-yellow);
}

.hero-content h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(45px, 5.1vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-content h1 span,
.cta-band h2 span {
  color: var(--bp-yellow);
}

.hero-subtitle {
  margin: 12px 0 20px;
  font-size: 19px;
  font-weight: 500;
}

.hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-bottom: 32px;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 800;
}

.hero-tags b {
  width: 2px;
  height: 16px;
  background: #fff;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.whatsapp-tab {
  position: fixed;
  top: 188px;
  right: 0;
  z-index: 30;
  width: 54px;
  height: 130px;
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  color: #050505;
  background: var(--bp-yellow);
  box-shadow: var(--bp-shadow);
}

.whatsapp-tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 800;
}

.section {
  padding: 38px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 25px;
}

.section-heading h2 {
  margin: 0 0 7px;
  font-size: clamp(25px, 2.45vw, 34px);
  line-height: 1.2;
  font-weight: 700;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--bp-muted);
  font-size: 13px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 196px;
  padding: 22px 17px 19px;
  text-align: center;
  border: 1px solid var(--bp-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 188, 8, .5);
  box-shadow: 0 22px 40px rgba(0, 0, 0, .1);
}

.icon-badge,
.timeline-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #101010;
  background: #fff3d6;
  border: 1px solid #ffd98b;
}

.icon-badge i,
.timeline-icon i {
  font-size: 33px;
  stroke-width: 1.4;
}

.service-card h3 {
  min-height: 43px;
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 700;
}

.service-card p {
  min-height: 54px;
  margin: 0 0 19px;
  color: #545454;
  font-size: 11px;
  line-height: 1.65;
}

.service-card a {
  color: var(--bp-yellow-dark);
  font-size: 12px;
  font-weight: 700;
}

.portfolio-section {
  padding-top: 10px;
}

.filter-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.filter-pills button {
  height: 31px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #222;
  font-size: 11px;
  font-weight: 600;
}

.filter-pills .active {
  background: var(--bp-yellow);
  border-color: var(--bp-yellow);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.project-grid img {
  width: 100%;
  aspect-ratio: 1.54 / 1;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
  transition: transform .28s ease, filter .28s ease;
}

.project-grid img:hover {
  transform: translateY(-5px) scale(1.015);
  filter: saturate(1.14);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.clients-section {
  padding-top: 7px;
}

.brand-row {
  display: grid;
  grid-template-columns: 36px repeat(8, 1fr) 36px;
  align-items: center;
  gap: 19px;
}

.brand-row button,
.testimonial-wrap > button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #7a7a7a;
}

.brand-row span {
  text-align: center;
  font-size: clamp(18px, 2vw, 31px);
  font-weight: 800;
  line-height: 1;
}

.sony { color: #111; font-family: Georgia, serif; }
.pepsi { color: #205da9; }
.suhana { color: #d11124; font-family: Georgia, serif; }
.haier { color: #0d65a8; }
.lloyd { color: #233d8c; letter-spacing: .08em; }
.airtel { color: #df1f2d; }
.coke { color: #dd252b; font-family: Georgia, serif; font-style: italic; }
.voltas { color: #1e66a8; font-style: italic; }

.story-section {
  padding: 48px 0 47px;
  background: #f2f2f2;
}

.story-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 64px;
  align-items: center;
}

.story-copy h2 {
  margin: 0 0 18px;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
}

.story-copy > p:not(.eyebrow) {
  margin: 0 0 22px;
  color: #555;
  font-size: 12px;
  line-height: 1.75;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: #bfbfbf;
}

.timeline article {
  position: relative;
  text-align: center;
}

.timeline-icon {
  position: relative;
  z-index: 1;
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .06);
}

.timeline article::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
  margin: -5px auto 10px;
  background: var(--bp-yellow);
}

.timeline h3 {
  margin: 0 0 5px;
  color: var(--bp-yellow-dark);
  font-size: 19px;
  font-weight: 800;
}

.timeline h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.timeline p {
  margin: 0 auto;
  max-width: 142px;
  color: #555;
  font-size: 11px;
  line-height: 1.55;
}

.testimonials-section {
  padding-bottom: 24px;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 36px repeat(3, 1fr) 36px;
  gap: 36px;
  align-items: center;
}

.testimonial-card {
  min-height: 106px;
  padding: 19px 25px 15px;
  border-radius: 7px;
  border: 1px solid var(--bp-line);
  background: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .05);
}

.testimonial-card > i {
  display: block;
  margin-bottom: 5px;
  color: var(--bp-yellow);
  font-size: 24px;
}

.testimonial-card p {
  margin: 0 0 14px;
  color: #333;
  font-size: 12px;
  line-height: 1.55;
}

.testimonial-card div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
}

.testimonial-card span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #1b3840, #e0ad70);
  font-weight: 800;
}

.testimonial-card strong {
  font-size: 13px;
}

.testimonial-card small {
  color: #555;
  font-size: 11px;
}

.cta-band {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 10, 8, .98), rgba(5, 10, 8, .85), rgba(5, 10, 8, .6)),
    url("../images/backgrounds/img") center/cover no-repeat;
  padding: 31px 0;
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.12;
  font-weight: 800;
}

.cta-band p {
  margin: 0;
  font-size: 13px;
}

.cta-actions {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.site-footer {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 188, 8, .08), transparent 30%),
    #08110e;
  padding: 30px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr 1.25fr;
  gap: 72px;
  padding-bottom: 28px;
}

.footer-brand img {
  width: 52px;
  margin-bottom: 15px;
}

.site-footer h3 {
  margin: 0 0 17px;
  font-size: 14px;
  font-weight: 700;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  line-height: 1.65;
}

.site-footer a {
  display: block;
  margin-bottom: 7px;
  transition: color .2s ease;
}

.site-footer a:hover {
  color: var(--bp-yellow);
}

.footer-brand p {
  max-width: 205px;
  margin: 0 0 16px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 0;
  color: #08110e;
  background: #fff;
}

.site-footer p i {
  color: var(--bp-yellow);
  margin-right: 12px;
}

.footer-bottom {
  min-height: 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
}

.scroll-top {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #090909;
  background: var(--bp-yellow);
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .container {
    width: min(100% - 48px, 960px);
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .story-layout,
  .footer-grid {
    gap: 36px;
  }

  .brand-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .brand-row button {
    display: none;
  }
}

@media (max-width: 991px) {
  .site-header {
    position: fixed;
  }

  .nav-shell {
    justify-content: space-between;
  }

  .nav-menu-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    font-size: 28px;
    order: 3;
  }

  .nav-menu {
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 24px 18px;
    background: rgba(6, 13, 10, .98);
    border-top: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }

  .nav-menu a {
    padding: 14px 0;
  }

  .nav-toggle:checked ~ .nav-menu {
    transform: translateY(0);
  }

  .nav-quote {
    min-width: 144px;
    padding-inline: 18px;
  }

  .hero-section {
    min-height: 640px;
  }

  .hero-bg {
    width: 72%;
    opacity: .78;
  }

  .project-grid,
  .timeline,
  .testimonial-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-wrap > button {
    display: none;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 32px, 540px);
  }

  .nav-quote {
    display: none;
  }

  .hero-section {
    min-height: 690px;
    align-items: flex-end;
    padding-bottom: 58px;
  }

  .hero-bg {
    width: 100%;
    opacity: .42;
  }

  .hero-content {
    padding-top: 112px;
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.4vw, 46px);
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-tags {
    gap: 12px;
    font-size: 12px;
  }

  .hero-tags b {
    display: none;
  }

  .whatsapp-tab {
    display: none;
  }

  .section {
    padding: 34px 0;
  }

  .service-grid,
  .project-grid,
  .timeline,
  .testimonial-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .cta-layout,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 190px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content h1 span {
    font-size: 35px;
  }

  .service-card {
    min-height: auto;
  }

  .filter-pills {
    justify-content: flex-start;
  }
}
