/* Global reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", sans-serif;
  background: #f5f5f5;
  color: #000000;
  min-height: 100vh;
  overflow-x: hidden;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

/* Layout containers */
.site-header {
  position: relative;
  padding-top: 96px; /* offset for fixed navbar */
  background-image: url("../images/Hero page bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, backdrop-filter 0.35s ease,
    box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

/* Transparent by default */
.navbar {
  background: transparent;
}

/* Glass effect once scrolled */
.navbar--scrolled {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.navbar-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-logo img {
  width: 210px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.18s ease;
}

.navbar-logo .logo-mobile {
  display: none;
}

.btn-contact-label-mobile {
  display: none;
}

/* Hero Contact Us (mobile only) — hidden on desktop */
.hero-contact-mobile {
  display: none;
}

.navbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.22em; /* 22% letter spacing from Figma */
  text-align: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

/* Shrink logo and buttons on scroll */
.navbar--scrolled .navbar-logo img {
  transform: scale(0.8);
}

.navbar--scrolled .btn-menu,
.navbar--scrolled .btn-contact {
  transform: scale(0.8);
}

/* Menu button (red) */
.btn-menu {
  width: 190px;
  height: 54px;
  background: #cd2920;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(205, 41, 32, 0.45);
  border-radius: 37px;
}

.btn-menu:hover {
  background: #e5352b;
  box-shadow: 0 14px 32px rgba(205, 41, 32, 0.65);
}

/* Contact button (transparent border + orange circle with icon) */
.btn-contact {
  width: 190px;
  height: 54px;
  padding-inline: 6px 28px; /* 6px from left border to circle */
  border-radius: 37px;
  border: 4px solid #ff9900;
  background: transparent;
  color: #000000;
  justify-content: flex-start;
}

.btn-contact:hover {
  background: rgba(255, 153, 0, 0.12);
  box-shadow: 0 14px 32px rgba(255, 153, 0, 0.35);
}

.btn-contact-icon {
  width: 40px;
  height: 40px; /* leaves ~3px gap top & bottom inside 46px content height */
  border-radius: 50%;
  background: #ff9900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 0;
}

.btn-contact-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-contact-label {
  flex: 1;
  text-align: left;
}

/* HERO */
.hero {
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px 64px;
  position: relative;
}

.hero-content {
  max-width: 975px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-info {
  width: 975px;
  max-width: calc(100% - 48px);
  min-height: 76px;
  background: transparent;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  position: absolute;
  left: 50%;
  bottom: 100px; /* just above Scroll Down button (button ~54px + gap) */
  transform: translateX(-50%);
  box-sizing: border-box;
}

.hero-info-text {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 4vw + 14px, 26px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
  color: #000000;
  max-width: 100%;
  white-space: nowrap;
}

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

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
}

.btn-scroll {
  width: 190px;
  height: 54px;
  border-radius: 37px;
  background: #cd2920;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(205, 41, 32, 0.45);
}

/* SECTION 2 */
.section-two {
  width: 100%;
  height: 1200px;
  position: relative;
  background: #ffffff; /* solid white base under bg + clouds */
}

.section-two-bg {
  width: 100%;
  height: 327px;
  position: relative;
  background-image: url("../images/Section2 bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-two-bg::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0; /* start overlay at very top of section 2 */
  bottom: 0;
  background: linear-gradient(
    181.69deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.9) 80%,
    #ffffff 100%
  );
  pointer-events: none;
}

/* Services top layer (section 2, starts y=200, does not alter clouds/bg) */
.services-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: 200px;
  z-index: 3;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 80px;
  text-align: center;
}

.services-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 26px;
  line-height: 38px;
  letter-spacing: 0.02em;
  text-align: center;
  color: #cd2920;
  margin-bottom: 8px;
}

.services-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 50px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-transform: capitalize;
  color: #000000;
  margin-bottom: 40px;
}

.services-grid {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
}

/* Left column: card 1 + card 4 only (heights change on hover) */
.services-grid-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
  min-width: 0;
}

/* Right side: two independent columns so hovering one column doesn't move the other. */
.services-grid-right {
  display: flex;
  gap: 32px;
  flex: 2;
  min-width: 0;
}

.services-grid-right-col1,
.services-grid-right-col2 {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
  min-width: 0;
}

.service-card {
  position: relative;
  height: 290px;
  border-radius: 32px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: height 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  align-items: flex-end;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.3);
}

/* Pair (1,4): hover card 1 → 1 expands, 4 shrinks; hover card 4 → 4 expands, 1 shrinks */
.services-grid.card-1-hovered .service-card-1 { height: 485px; }
.services-grid.card-1-hovered .service-card-4 { height: 120px; align-items: center; }
.services-grid.card-1-hovered .service-card-4 p { padding-bottom: 0; }

.services-grid.card-4-hovered .service-card-4 { height: 485px; }
.services-grid.card-4-hovered .service-card-1 { height: 120px; align-items: center; }
.services-grid.card-4-hovered .service-card-1 p { padding-bottom: 0; }

/* Pair (2,5): hover card 2 → 2 expands, 5 shrinks; hover card 5 → 5 expands, 2 shrinks */
.services-grid.card-2-hovered .service-card-2 { height: 485px; }
.services-grid.card-2-hovered .service-card-5 { height: 120px; align-items: center; }
.services-grid.card-2-hovered .service-card-5 p { padding-bottom: 0; }

.services-grid.card-5-hovered .service-card-5 { height: 485px; }
.services-grid.card-5-hovered .service-card-2 { height: 120px; align-items: center; }
.services-grid.card-5-hovered .service-card-2 p { padding-bottom: 0; }

/* Pair (3,6): hover card 3 → 3 expands, 6 shrinks; hover card 6 → 6 expands, 3 shrinks */
.services-grid.card-3-hovered .service-card-3 { height: 485px; }
.services-grid.card-3-hovered .service-card-6 { height: 120px; align-items: center; }
.services-grid.card-3-hovered .service-card-6 p { padding-bottom: 0; }

.services-grid.card-6-hovered .service-card-6 { height: 485px; }
.services-grid.card-6-hovered .service-card-3 { height: 120px; align-items: center; }
.services-grid.card-6-hovered .service-card-3 p { padding-bottom: 0; }

.service-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  padding-bottom: 0;
  transition: padding-bottom 0.35s ease;
}

.service-card:hover p {
  padding-bottom: 24px;
}

/* Image layer — visible on hover */
.service-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover .service-card-image {
  opacity: 1;
}

/* Gradient overlay so text stays readable over image */
.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

/* Default state: gradient background */
.service-card-1 {
  background: linear-gradient(180deg, #39d7a4 0%, #128163 100%);
}

.service-card-1 .service-card-image {
  background-image: url("../images/Custom Website and Webapp Development.png");
}

.service-card-1 .service-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.service-card-2 {
  background: linear-gradient(180deg, #c044ff 0%, #3a2250 100%);
}

.service-card-2 .service-card-image {
  background-image: url("../images/Application Development and Modernization.png");
}

.service-card-2 .service-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.service-card-3 {
  background: linear-gradient(180deg, #ff9900 0%, #7a3900 100%);
}

.service-card-3 .service-card-image {
  background-image: url("../images/UX Designing and Branding.png");
}

.service-card-3 .service-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.service-card-4 {
  background: linear-gradient(180deg, #ff94a5 0%, #a72a3e 100%);
}

.service-card-4 .service-card-image {
  background-image: url("../images/Cloud Consultation and Solution.png");
}

.service-card-4 .service-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.service-card-5 {
  background: linear-gradient(180deg, #ffd600 0%, #8c6b00 100%);
}

.service-card-5 .service-card-image {
  background-image: url("../images/Blockchain Product development.png");
}

.service-card-5 .service-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.service-card-6 {
  background: linear-gradient(180deg, #ff4b4b 0%, #891c1c 100%);
}

.service-card-6 .service-card-image {
  background-image: url("../images/Dedicated Teams %26 Technology Partnerships.png");
}

.service-card-6 .service-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.btn-know-more {
  width: 170px;
  height: 44px;
  border-radius: 999px;
  background: #cd2920;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* CLOUD STRIP */
.clouds-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 327px;
  overflow: visible;
  background: transparent;
  z-index: 2; /* above bg + gradient */
}

.cloud {
  position: absolute;
  width: 740px;
  height: 740px;
  background-image: url("../images/Cloud image.png");
  background-size: cover;
  background-position: center;
  opacity: 1;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.cloud-1 {
  top: -21px;
  left: -51px;
}

.cloud-2 {
  top: 52px;
  left: 115px;
}

.cloud-3 {
  top: -21px;
  left: 459px;
}

.cloud-4 {
  top: 35px;
  left: 540px;
}

.cloud-5 {
  top: -10px;
  left: 320px;
}

.cloud-6 {
  top: 20px;
  right: 0;
  left: auto;
}

@media (max-width: 768px) {
  .cloud-2,
  .cloud-3,
  .cloud-4,
  .cloud-5,
  .cloud-6 {
    display: none;
  }

  .cloud-1 {
    left: 50%;
    margin-left: -370px; /* half of 740px to center */
  }
}

/* SECTION 3 */
.section-three {
  width: 100%;
  height: 956px;
  position: relative;
}

.section-three-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/section3 bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-three-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 140px 120px;
  text-align: center;
}

.section-three-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 26px;
  line-height: 38px;
  letter-spacing: 0.02em;
  text-align: center;
  color: #cd2920;
  margin-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}

.section-three-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 50px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-transform: capitalize;
  color: #000000;
  margin-bottom: 48px;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
  margin-left: 50%;
  /* Figma: left 278px, right 150px — shift 64px left so sides match */
  transform: translateX(calc(-50% - 64px));
  box-sizing: border-box;
}

.section-three-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 56px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  /* Figma: left 189px, right 286px — shift grid 48px right so sides ~equal */
  transform: translateX(48px);
}

/* Box 1 & 3: move left; Box 2 & 4: move right — more space between columns */
.section-three-grid .process-box:nth-child(1),
.section-three-grid .process-box:nth-child(3) {
  margin-left: -98px;
}

.section-three-grid .process-box:nth-child(2),
.section-three-grid .process-box:nth-child(4) {
  margin-left: 98px;
}

.process-box {
  width: 360px;
  max-width: 100%;
  min-height: 194px;
  border-radius: 30px;
  border: 2px solid #d2b100;
  background: #ffffff73;
  padding: 28px 28px 28px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 42%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.35) 58%,
    transparent 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: -100% 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.process-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.process-box:hover::before {
  opacity: 1;
  animation: border-shine 1.2s ease-in-out;
}

@keyframes border-shine {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffd700;
  color: #cd2920;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.process-box:hover .process-num {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
  border-color: #ffb700;
}

.process-box-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.process-title {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.3;
}

.process-list {
  margin: 0;
  padding-left: 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #000000;
  line-height: 1.6;
}

.process-list li {
  margin-bottom: 6px;
}

.process-list li:last-child {
  margin-bottom: 0;
}

/* SECTION 4 */
.section-four {
  width: 100%;
  height: 1393px;
  position: relative;
  overflow: visible;
}

.section-four-bg {
  position: absolute;
  top: -270px;
  left: 0;
  right: 0;
  height: calc(100% + 270px);
  z-index: 0;
  background-image: url("../images/section4 bg.png");
  background-size: cover;
  background-position: center -100px;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.section-four.is-in-view .section-four-bg {
  opacity: 1;
  transform: translateY(0);
}

.section-four-ace {
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  width: 512px;
  height: 650px;
  object-fit: contain;
  object-position: center bottom;
  border-bottom-right-radius: 10px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.9s ease-out;
  pointer-events: none;
}
.section-four.is-in-view .section-four-ace {
  opacity: 1;
}

/* Section 4 — glass overlay over lower half of Ace */
.section-four-glass {
  position: absolute;
  left: 123px;
  right: 123px;
  bottom: 743px;
  height: 520px;
  max-width: 1194px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px 16px 0 0;
  z-index: 1;
  pointer-events: none;
}

/* Section 4 — minimal fire sparkle overlay */
.section-four-sparks {
  position: absolute;
  top: -270px;
  left: 0;
  right: 0;
  height: 420px;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.9s ease-out;
}
.section-four.is-in-view .section-four-sparks {
  opacity: 1;
}

.section-four-sparks .spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 220, 120, 0.85);
  box-shadow:
    0 0 8px 2px rgba(255, 180, 60, 0.6),
    0 0 16px 4px rgba(255, 140, 30, 0.35);
  animation: spark-flicker 2.5s ease-in-out infinite;
}
/* Positions and delays for 72 sparks — spread across section */
.section-four-sparks .spark:nth-child(1)  { left: 4%;   bottom: 18%; animation-delay: 0s; }
.section-four-sparks .spark:nth-child(2)  { left: 12%;  bottom: 35%; animation-delay: 0.05s; }
.section-four-sparks .spark:nth-child(3)  { left: 20%;  bottom: 52%; animation-delay: 0.1s; }
.section-four-sparks .spark:nth-child(4)  { left: 28%;  bottom: 28%; animation-delay: 0.15s; }
.section-four-sparks .spark:nth-child(5)  { left: 36%;  bottom: 45%; animation-delay: 0.2s; }
.section-four-sparks .spark:nth-child(6)  { left: 44%;  bottom: 62%; animation-delay: 0.25s; }
.section-four-sparks .spark:nth-child(7)  { left: 52%;  bottom: 22%; animation-delay: 0.3s; }
.section-four-sparks .spark:nth-child(8)  { left: 60%;  bottom: 38%; animation-delay: 0.35s; }
.section-four-sparks .spark:nth-child(9)  { left: 68%;  bottom: 55%; animation-delay: 0.4s; }
.section-four-sparks .spark:nth-child(10) { left: 76%;  bottom: 32%; animation-delay: 0.45s; }
.section-four-sparks .spark:nth-child(11) { left: 84%;  bottom: 48%; animation-delay: 0.5s; }
.section-four-sparks .spark:nth-child(12) { left: 92%;  bottom: 65%; animation-delay: 0.55s; }
.section-four-sparks .spark:nth-child(13) { left: 8%;   bottom: 42%; animation-delay: 0.6s; }
.section-four-sparks .spark:nth-child(14) { left: 16%;  bottom: 58%; animation-delay: 0.65s; }
.section-four-sparks .spark:nth-child(15) { left: 24%;  bottom: 25%; animation-delay: 0.7s; }
.section-four-sparks .spark:nth-child(16) { left: 32%;  bottom: 42%; animation-delay: 0.75s; }
.section-four-sparks .spark:nth-child(17) { left: 40%;  bottom: 58%; animation-delay: 0.8s; }
.section-four-sparks .spark:nth-child(18) { left: 48%;  bottom: 35%; animation-delay: 0.85s; }
.section-four-sparks .spark:nth-child(19) { left: 56%;  bottom: 52%; animation-delay: 0.9s; }
.section-four-sparks .spark:nth-child(20) { left: 64%;  bottom: 28%; animation-delay: 0.95s; }
.section-four-sparks .spark:nth-child(21) { left: 72%;  bottom: 45%; animation-delay: 1s; }
.section-four-sparks .spark:nth-child(22) { left: 80%;  bottom: 62%; animation-delay: 1.05s; }
.section-four-sparks .spark:nth-child(23) { left: 88%;  bottom: 38%; animation-delay: 1.1s; }
.section-four-sparks .spark:nth-child(24) { left: 6%;   bottom: 28%; animation-delay: 1.15s; }
.section-four-sparks .spark:nth-child(25) { left: 14%;  bottom: 48%; animation-delay: 1.2s; }
.section-four-sparks .spark:nth-child(26) { left: 22%;  bottom: 65%; animation-delay: 1.25s; }
.section-four-sparks .spark:nth-child(27) { left: 30%;  bottom: 32%; animation-delay: 1.3s; }
.section-four-sparks .spark:nth-child(28) { left: 38%;  bottom: 48%; animation-delay: 1.35s; }
.section-four-sparks .spark:nth-child(29) { left: 46%;  bottom: 22%; animation-delay: 1.4s; }
.section-four-sparks .spark:nth-child(30) { left: 54%;  bottom: 42%; animation-delay: 1.45s; }
.section-four-sparks .spark:nth-child(31) { left: 62%;  bottom: 58%; animation-delay: 1.5s; }
.section-four-sparks .spark:nth-child(32) { left: 70%;  bottom: 35%; animation-delay: 1.55s; }
.section-four-sparks .spark:nth-child(33) { left: 78%;  bottom: 52%; animation-delay: 1.6s; }
.section-four-sparks .spark:nth-child(34) { left: 86%;  bottom: 28%; animation-delay: 1.65s; }
.section-four-sparks .spark:nth-child(35) { left: 10%;  bottom: 22%; animation-delay: 1.7s; }
.section-four-sparks .spark:nth-child(36) { left: 18%;  bottom: 42%; animation-delay: 1.75s; }
.section-four-sparks .spark:nth-child(37) { left: 26%;  bottom: 58%; animation-delay: 1.8s; }
.section-four-sparks .spark:nth-child(38) { left: 34%;  bottom: 35%; animation-delay: 1.85s; }
.section-four-sparks .spark:nth-child(39) { left: 42%;  bottom: 52%; animation-delay: 1.9s; }
.section-four-sparks .spark:nth-child(40) { left: 50%;  bottom: 28%; animation-delay: 1.95s; }
.section-four-sparks .spark:nth-child(41) { left: 58%;  bottom: 45%; animation-delay: 0.02s; }
.section-four-sparks .spark:nth-child(42) { left: 66%;  bottom: 62%; animation-delay: 0.08s; }
.section-four-sparks .spark:nth-child(43) { left: 74%;  bottom: 38%; animation-delay: 0.12s; }
.section-four-sparks .spark:nth-child(44) { left: 82%;  bottom: 55%; animation-delay: 0.18s; }
.section-four-sparks .spark:nth-child(45) { left: 90%;  bottom: 32%; animation-delay: 0.22s; }
.section-four-sparks .spark:nth-child(46) { left: 5%;   bottom: 55%; animation-delay: 0.28s; }
.section-four-sparks .spark:nth-child(47) { left: 15%;  bottom: 25%; animation-delay: 0.32s; }
.section-four-sparks .spark:nth-child(48) { left: 25%;  bottom: 45%; animation-delay: 0.38s; }
.section-four-sparks .spark:nth-child(49) { left: 35%;  bottom: 62%; animation-delay: 0.42s; }
.section-four-sparks .spark:nth-child(50) { left: 45%;  bottom: 38%; animation-delay: 0.48s; }
.section-four-sparks .spark:nth-child(51) { left: 55%;  bottom: 55%; animation-delay: 0.52s; }
.section-four-sparks .spark:nth-child(52) { left: 65%;  bottom: 25%; animation-delay: 0.58s; }
.section-four-sparks .spark:nth-child(53) { left: 75%;  bottom: 42%; animation-delay: 0.62s; }
.section-four-sparks .spark:nth-child(54) { left: 85%;  bottom: 58%; animation-delay: 0.68s; }
.section-four-sparks .spark:nth-child(55) { left: 7%;   bottom: 38%; animation-delay: 0.72s; }
.section-four-sparks .spark:nth-child(56) { left: 19%;  bottom: 55%; animation-delay: 0.78s; }
.section-four-sparks .spark:nth-child(57) { left: 29%;  bottom: 32%; animation-delay: 0.82s; }
.section-four-sparks .spark:nth-child(58) { left: 39%;  bottom: 48%; animation-delay: 0.88s; }
.section-four-sparks .spark:nth-child(59) { left: 49%;  bottom: 65%; animation-delay: 0.92s; }
.section-four-sparks .spark:nth-child(60) { left: 59%;  bottom: 35%; animation-delay: 0.98s; }
.section-four-sparks .spark:nth-child(61) { left: 69%;  bottom: 52%; animation-delay: 1.02s; }
.section-four-sparks .spark:nth-child(62) { left: 79%;  bottom: 28%; animation-delay: 1.08s; }
.section-four-sparks .spark:nth-child(63) { left: 89%;  bottom: 45%; animation-delay: 1.12s; }
.section-four-sparks .spark:nth-child(64) { left: 11%;  bottom: 62%; animation-delay: 1.18s; }
.section-four-sparks .spark:nth-child(65) { left: 21%;  bottom: 38%; animation-delay: 1.22s; }
.section-four-sparks .spark:nth-child(66) { left: 31%;  bottom: 55%; animation-delay: 1.28s; }
.section-four-sparks .spark:nth-child(67) { left: 41%;  bottom: 25%; animation-delay: 1.32s; }
.section-four-sparks .spark:nth-child(68) { left: 51%;  bottom: 42%; animation-delay: 1.38s; }
.section-four-sparks .spark:nth-child(69) { left: 61%;  bottom: 58%; animation-delay: 1.42s; }
.section-four-sparks .spark:nth-child(70) { left: 71%;  bottom: 35%; animation-delay: 1.48s; }
.section-four-sparks .spark:nth-child(71) { left: 81%;  bottom: 52%; animation-delay: 1.52s; }
.section-four-sparks .spark:nth-child(72) { left: 91%;  bottom: 22%; animation-delay: 1.58s; }

@keyframes spark-flicker {
  0%, 100% { opacity: 0.5;  transform: scale(1); }
  25%      { opacity: 0.8;  transform: scale(1.15); }
  50%      { opacity: 0.6;  transform: scale(0.95); }
  75%      { opacity: 0.75; transform: scale(1.08); }
}

/* Section 4 — technologies content inside glass overlay */
.tech-section {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 40px 420px 48px 56px;
  box-sizing: border-box;
  pointer-events: auto;
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.tech-tabs {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  gap: 0;
  margin-right: 40px;
}

.tech-tab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 24px 14px;
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Make \"Cloud & Infra\" tab a bit wider so text fits on one line */
.tech-tabs .tech-tab:last-child {
  padding-inline: 22px;
}

.tech-tab--active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.tech-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tech-panel {
  display: none;
}

.tech-panel--active {
  display: block;
}

.tech-heading {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #ffffff;
}

.tech-heading-underline {
  width: 100%;
  max-width: 640px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 40px;
  column-gap: 56px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.tech-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tech-icon img {
  max-width: 72px;
  max-height: 72px;
  display: block;
}

.tech-label {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .tech-section {
    padding: 32px 28px 32px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

@media (max-width: 768px) {
  .section-four-ace {
    display: none !important;
  }
  .section-four {
    height: auto;
    min-height: 0;
    padding: 48px 0 56px;
    overflow-x: hidden;
  }
  .section-four-bg {
    top: 0;
    height: 100%;
    background-position: center center;
  }
  .section-four-glass {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    width: calc(100% - 32px);
    max-width: none;
    height: auto;
    min-height: 380px;
    margin: 0 16px;
    border-radius: 16px;
    box-sizing: border-box;
  }
  .tech-section {
    flex-direction: column;
    padding: 24px 16px 28px;
  }

  .tech-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-right: 0;
    margin-bottom: 24px;
  }

  .tech-tab {
    writing-mode: horizontal-tb;
    transform: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .tech-heading {
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
  }

  .tech-heading-underline {
    margin-left: auto;
    margin-right: auto;
  }

  .tech-main {
    gap: 24px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
    column-gap: 16px;
  }

  .tech-icon {
    width: 56px;
    height: 56px;
  }

  .tech-icon img {
    max-width: 40px;
    max-height: 40px;
  }

  .tech-label {
    font-size: 11px;
  }
}

/* BLOG SECTION — single Blockchain card only */
.section-blog {
  width: 100%;
  min-height: 100vh;
  background: #151515;
  padding: 80px 24px 100px;
  box-sizing: border-box;
  position: relative;
  z-index: 4;
  margin-top: -500px;
}

.section-blog .blog-heading {
  margin: 0 0 48px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cd2920;
  text-align: center;
}

.blog-wrap {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 0 60px;
  box-sizing: border-box;
}

/* Blog carousel prev/next buttons */
.blog-carousel-prev,
.blog-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(205, 41, 32, 0.8);
  background: rgba(21, 21, 21, 0.85);
  color: #cd2920;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  padding: 0;
}
.blog-carousel-prev:hover,
.blog-carousel-next:hover {
  background: #cd2920;
  color: #fff;
  border-color: #cd2920;
}
.blog-carousel-prev {
  left: 0;
}
.blog-carousel-next {
  right: 0;
}
.blog-carousel-prev::before {
  content: "";
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-left: 4px;
}
.blog-carousel-next::before {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-right: 4px;
}

.blog-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.blog-card {
  width: 380px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -190px;
  margin-top: -210px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08), 0 0 36px rgba(205,41,32,0.12);
  cursor: pointer;
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.25s;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.blog-card:hover {
  box-shadow: 0 20px 56px rgba(0,0,0,0.5), 0 0 24px rgba(205,41,32,0.2);
}

/* Left far card: 35% visible, furthest back */
.blog-card-left-far {
  z-index: 1;
  opacity: 0.8;
  transform: translate(-50%, -50%) translateX(-399px) translateZ(-120px) scale(0.82) rotateY(10deg);
}
.blog-stage .blog-card-left-far {
  margin-left: 0;
  margin-top: 0;
  left: 50%;
  top: 50%;
}

/* Left outer card: 35% visible, further back */
.blog-card-left-outer {
  z-index: 1;
  opacity: 0.85;
  transform: translate(-50%, -50%) translateX(-266px) translateZ(-80px) scale(0.88) rotateY(8deg);
}
.blog-stage .blog-card-left-outer {
  margin-left: 0;
  margin-top: 0;
  left: 50%;
  top: 50%;
}

/* Left side card: 35% visible, receding behind front card */
.blog-card-left {
  z-index: 1;
  opacity: 0.9;
  transform: translate(-50%, -50%) translateX(-133px) translateZ(-40px) scale(0.94) rotateY(6deg);
}
.blog-stage .blog-card-left {
  margin-left: 0;
  margin-top: 0;
  left: 50%;
  top: 50%;
}

/* Right side card: 35% visible, receding behind front card */
.blog-card-right {
  z-index: 1;
  opacity: 0.9;
  transform: translate(-50%, -50%) translateX(133px) translateZ(-40px) scale(0.94) rotateY(-6deg);
}
.blog-stage .blog-card-right {
  margin-left: 0;
  margin-top: 0;
  left: 50%;
  top: 50%;
}

/* Right outer card: 35% visible, further back */
.blog-card-right-outer {
  z-index: 1;
  opacity: 0.85;
  transform: translate(-50%, -50%) translateX(266px) translateZ(-80px) scale(0.88) rotateY(-8deg);
}
.blog-stage .blog-card-right-outer {
  margin-left: 0;
  margin-top: 0;
  left: 50%;
  top: 50%;
}

/* Right far card: 35% visible, furthest back */
.blog-card-right-far {
  z-index: 1;
  opacity: 0.8;
  transform: translate(-50%, -50%) translateX(399px) translateZ(-120px) scale(0.82) rotateY(-10deg);
}
.blog-stage .blog-card-right-far {
  margin-left: 0;
  margin-top: 0;
  left: 50%;
  top: 50%;
}

/* Front card: Blockchain on top, center */
.blog-card-front {
  z-index: 2;
  transform: translate(-50%, -50%) translateZ(0) scale(1) rotateY(0);
}
.blog-stage .blog-card-front {
  margin-left: 0;
  margin-top: 0;
  left: 50%;
  top: 50%;
}

.blog-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.blog-card-overlay .blog-card-glass {
  pointer-events: auto;
  padding: 24px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 24px 24px;
}

.blog-card-title {
  margin: 0 0 8px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.blog-card-desc {
  margin: 0 0 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #cd2920;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.blog-card-btn:hover {
  background: #cd2920;
  color: #fff;
}

.blog-all {
  text-align: center;
  margin: 40px 0 0;
}
.blog-all-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #cd2920;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.blog-all-btn:hover {
  background: #cd2920;
  color: #fff;
}

@media (max-width: 1024px) {
  .blog-wrap { padding: 0 52px; }
  .blog-carousel-prev, .blog-carousel-next { width: 44px; height: 44px; }
  .blog-card { width: 320px; height: 360px; }
  .blog-stage { min-height: 360px; }
}

@media (max-width: 768px) {
  .section-blog {
    padding: 48px 16px 40px;
    margin-top: 0;
    min-height: 0;
    overflow-x: hidden;
  }
  .section-blog .blog-heading {
    font-size: 22px;
    margin-bottom: 28px;
  }
  .blog-wrap {
    padding: 0 28px;
  }
  .blog-carousel-prev,
  .blog-carousel-next {
    width: 40px;
    height: 40px;
  }
  .blog-carousel-prev::before,
  .blog-carousel-next::before {
    width: 10px;
    height: 10px;
  }
  .blog-stage {
    min-height: 420px;
  }
  .blog-card {
    width: 280px;
    height: 400px;
    margin-left: -140px;
    margin-top: -200px;
  }
  /* On mobile show only the front card; hide side cards to avoid truncation */
  .blog-stage .blog-card-left-far,
  .blog-stage .blog-card-left-outer,
  .blog-stage .blog-card-left,
  .blog-stage .blog-card-right,
  .blog-stage .blog-card-right-outer,
  .blog-stage .blog-card-right-far {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .blog-stage .blog-card-front {
    opacity: 1;
    visibility: visible;
  }
  .blog-all {
    margin-top: 32px;
  }
  .blog-all-btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* MENU PAGE — full-page background with Menu image.png */
.menu-page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.menu-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("../images/Menu image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.menu-page .site-header--menu {
  position: relative;
  z-index: 10;
  padding-top: 0;
  background: transparent;
}

.menu-page .navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.menu-page .navbar-logo {
  text-decoration: none;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.menu-page .btn-contact,
.menu-page .btn-contact .btn-contact-label {
  color: #ffffff;
}

/* Menu page main content */
.menu-main {
  position: relative;
  z-index: 5;
  padding: 180px 65px 120px 32px;
  min-height: 100vh;
}

.menu-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 48px;
  margin-left: 88px;
}

.menu-cards-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -32px;
  padding: 0 32px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-cards-wrap::-webkit-scrollbar {
  display: none;
}

.menu-cards {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-bottom: 8px;
}

.menu-card {
  flex-shrink: 0;
  width: 320px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  background: var(--card-bg, #333);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.menu-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
}

.menu-card-label {
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.menu-scroll-hint {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-scroll-hint svg {
  flex-shrink: 0;
}

/* ABOUT PAGE */
.about-page {
  min-height: 100vh;
  background-image: url("../images/Menu image.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: #ffffff;
}

.about-main {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 180px 32px 120px;
}

.about-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.about-text {
  flex: 1.1;
  max-width: 560px;
}

.about-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cd2920;
  margin-bottom: 12px;
}

.about-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 110%;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

.about-body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 14px;
  max-width: 520px;
}

.about-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.about-card {
  position: relative;
  width: 380px;
  height: 520px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at 20% 0%, #2d7a4f 0%, #041012 55%, #000000 100%);
}

.about-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
}

/* SITE FOOTER */
.site-footer {
  background: #151515;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px 28px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 5;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo img {
  height: 40px;
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.footer-columns {
  display: flex;
  flex: 1;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-column {
  min-width: 160px;
}

.footer-heading {
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 6px;
}

.footer-links a {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  margin: 2px 4px 4px 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(21, 21, 21, 0.8);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.84);
  cursor: default;
}

.footer-column-contact {
  max-width: 260px;
}

.footer-contact-line {
  margin: 0 0 6px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-line a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-contact-line a:hover {
  text-decoration: underline;
}

.footer-cta {
  margin-top: 10px;
  min-width: 0;
  padding-inline: 20px;
  font-size: 14px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.footer-bottom-text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-columns {
    justify-content: flex-start;
  }

  .footer-column-contact {
    max-width: none;
  }
}

@media (max-width: 960px) {
  .about-main {
    padding: 150px 24px 80px;
  }

  .about-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .about-visual {
    width: 100%;
    justify-content: center;
  }

  .about-card {
    width: 320px;
    height: 460px;
  }
}

@media (max-width: 600px) {
  .about-main {
    padding: 140px 20px 64px;
  }

  .about-title {
    font-size: 34px;
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .navbar-inner {
    padding: 16px 16px;
  }

  /* White logo centered on mobile */
  .navbar-logo .logo-desktop {
    display: none !important;
  }
  .navbar-logo .logo-mobile {
    display: block !important;
    width: auto;
    height: 40px;
    object-fit: contain;
  }

  .navbar-actions {
    gap: 10px;
  }

  /* Header: only logo (center) + burger (right). Contact moved to hero. */
  .navbar-actions .btn-contact {
    display: none !important;
  }

  /* Burger menu icon (replace "Menu" text) */
  .btn-menu {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
  }
  .btn-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
  .btn-menu .btn-menu-text {
    display: none;
  }
  .btn-menu::before {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 7px 0 #ffffff, 0 14px 0 #ffffff;
  }

  /* Contact in header hidden on mobile (moved to hero) */
  .btn-contact-label-mobile {
    display: none;
  }

  /* Hero section — mobile layout with Hero mobile bg.png */
  .site-header {
    background-image: url("../images/Hero mobile bg.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero {
    min-height: 75vh;
    padding-bottom: 24px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-info {
    max-width: calc(100% - 32px);
    padding: 12px 24px;
    bottom: 100px;
  }

  .hero-info-text {
    font-size: clamp(14px, 3.5vw + 12px, 20px);
    color: #000000;
    white-space: normal;
    line-height: 1.5;
  }

  /* Contact Us in hero (mobile): black border only, no fill */
  .hero-contact-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: 190px;
    height: 54px;
    padding-inline: 6px 28px;
    background: transparent;
    border: 2px solid #000000;
    border-radius: 37px;
    color: #ffffff;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.22em;
  }
  .hero-contact-mobile:hover {
    background: rgba(0, 0, 0, 0.08);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  }
  .btn-hero-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0;
  }
  .btn-hero-contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

  /* Hide Scroll Down on mobile (ref shows only Contact Us) */
  .hero-scroll {
    display: none;
  }

  .btn-scroll {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: none;
  }

  .btn-scroll:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  /* Services section (section-two) — mobile: no clouds, no bg image, plain white, smaller title, single column */
  .section-two .clouds-strip {
    display: none !important;
  }
  .section-two-bg {
    background-image: none;
    background: #ffffff;
    height: 0;
    min-height: 0;
    overflow: hidden;
  }
  .section-two-bg::after {
    display: none;
  }
  .section-two {
    height: auto;
    min-height: 0;
    padding-bottom: 48px;
    margin-top: 0;
  }
  .services-layer {
    position: relative;
    top: 0;
    padding: 20px 20px 48px;
  }
  .services-eyebrow {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .services-title {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 28px;
  }
  .services-grid {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }
  .services-grid-left,
  .services-grid-right,
  .services-grid-right-col1,
  .services-grid-right-col2 {
    display: contents;
  }
  .section-two .service-card {
    width: 100%;
    max-width: 100%;
    height: 260px;
    min-height: 220px;
    flex: none;
    align-items: center;
  }
  .section-two .service-card-1 { order: 1; }
  .section-two .service-card-2 { order: 2; }
  .section-two .service-card-3 { order: 3; }
  .section-two .service-card-4 { order: 4; }
  .section-two .service-card-5 { order: 5; }
  .section-two .service-card-6 { order: 6; }

  /* Section three — How We Work: mobile bg, single line titles, smaller font, 4 boxes vertical order 1–4 */
  .section-three {
    height: auto;
    min-height: 0;
    padding-bottom: 48px;
  }
  .section-three-bg {
    background-image: url("../images/section3 mobile bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .section-three-content {
    padding: 32px 20px 48px;
  }
  .section-three-heading-wrap {
    background: transparent;
    padding: 0 0 24px 0;
    margin-bottom: 0;
  }
  .section-three-eyebrow {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 10px;
    white-space: nowrap;
    transform: none;
    margin-left: 0;
    color: #cd2920;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
  }
  .section-three-title {
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 0;
    transform: none;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    color: #ffffff;
  }
  .section-three-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
    transform: none;
  }
  .section-three-grid .process-box:nth-child(1),
  .section-three-grid .process-box:nth-child(2),
  .section-three-grid .process-box:nth-child(3),
  .section-three-grid .process-box:nth-child(4) {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }
  .section-three .process-box {
    background: rgba(255, 255, 255, 0.88);
  }
}

