/* 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;
  margin: 0;
}

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 — text and scroll button anchored to bottom of hero at all screen sizes */
.hero {
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 24px;
  position: relative;
}

.hero-content {
  max-width: 975px;
  width: 100%;
  position: relative;
  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%;
  /* just above Scroll Down button: button 48px + 12px gap + 16px from hero bottom */
  bottom: 60px;
  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: 16px; /* just above hero section end */
  transform: translateX(-50%);
}

.btn-scroll {
  width: 168px;
  height: 48px;
  border-radius: 28px;
  background: #cd2920;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(205, 41, 32, 0.45);
  font-size: 14px;
}

/* 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;
  text-decoration: none;
}

.service-card:link,
.service-card:visited,
.service-card:hover,
.service-card:active {
  text-decoration: none;
  color: #ffffff;
}

.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 — dark background (original) */
.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-link {
  display: contents;
  text-decoration: none;
  color: inherit;
}

.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%);
}

/* Use white logo on dark menu background */
.menu-page .navbar-logo .logo-desktop {
  display: none;
}

.menu-page .navbar-logo .logo-mobile {
  display: block !important;
}

.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;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}

.menu-scroll-hint:hover {
  background: rgba(0, 0, 0, 0.7);
}

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

@media (max-width: 600px) {
  .menu-main {
    padding: 140px 24px 72px;
  }

  .menu-cards-wrap {
    margin: 0 -24px;
    padding: 0 24px 24px;
  }

  .menu-cards {
    gap: 16px;
  }

  .menu-card {
    width: 260px;
    height: 360px;
  }
}

/* ABOUT PAGE */
.about-page {
  min-height: 100vh;
  background-color: #000000;
  color: #ffffff;
}

.about-main {
  min-height: 100vh;
}

.about-page .about-main {
  margin-top: -96px; /* pull hero up under fixed navbar */
}

.about-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.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;
  }
}

/* CASE STUDY PAGE (e.g. E-Ledger) */
/* Subpages: same navbar as homepage, no hero background */
.subpage .site-header {
  background: none;
  padding-top: 96px;
}

/* About page: hero image should start at very top (no top padding gap) */
.about-page .site-header {
  padding-top: 0;
}

/* Case study page — white theme (default) */
.case-study-page {
  min-height: 100vh;
  background: #ffffff;
  color: #1a1a1a;
}

.case-study-main {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.case-study-article {
  font-family: "Inter", sans-serif;
}

.case-study-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cd2920;
  margin: 0 0 8px;
}

.case-study-industry {
  font-size: 16px;
  font-weight: 500;
  color: #555;
  margin: 0 0 16px;
}

.case-study-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 24px;
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.case-study-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f5f5f5;
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.case-study-hero-image {
  margin: 0 0 48px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.case-study-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.case-study-section-image {
  margin: 0 0 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.case-study-section-image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Placeholder when E-Ledger images are missing */
.case-study-img-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.15);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.case-study-img-fallback code {
  font-size: 12px;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}
.case-study-defence .case-study-img-fallback {
  background: rgba(20, 40, 20, 0.6);
  border-color: rgba(100, 140, 90, 0.3);
  color: #b8d4a8;
}
.case-study-defence .case-study-img-fallback code {
  background: rgba(0, 0, 0, 0.3);
}
.case-study-hero-image .case-study-img-fallback {
  min-height: 320px;
}

.case-study-section {
  margin-bottom: 40px;
}

.case-study-heading {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
}

.case-study-body {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
  color: #444;
}

.case-study-list {
  margin: 0 0 14px;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.case-study-list li {
  margin-bottom: 8px;
}

.case-study-back {
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.case-study-back-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #cd2920;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #cd2920;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.case-study-back-btn:hover {
  background: #cd2920;
  color: #fff;
}

@media (max-width: 768px) {
  .case-study-main {
    padding: 100px 20px 64px;
  }
  .case-study-title {
    font-size: 28px;
  }
}

/* ========== WHITE + RED THEME (logo color #cd2920) ========== */
.case-study-white-red {
  background: #ffffff;
  color: #1a1a1a;
}

.case-study-white-red .case-study-hero {
  text-align: center;
  margin-bottom: 40px;
}

.case-study-white-red .case-study-label {
  color: #cd2920;
  letter-spacing: 0.14em;
}

.case-study-white-red .case-study-industry {
  color: #666;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-study-white-red .case-study-title {
  color: #1a1a1a;
}

.case-study-white-red .case-study-tag {
  border: 1px solid rgba(205, 41, 32, 0.35);
  background: #fff;
  color: #cd2920;
}

.case-study-white-red .case-study-tag:hover {
  background: #cd2920;
  color: #fff;
}

.case-study-white-red .case-study-section--3d {
  padding: 28px 24px;
  margin-bottom: 32px;
  background: #fafafa;
  border: 1px solid rgba(205, 41, 32, 0.12);
  border-left: 4px solid #cd2920;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.case-study-white-red .case-study-heading {
  color: #cd2920;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(205, 41, 32, 0.2);
}

.case-study-white-red .case-study-body,
.case-study-white-red .case-study-list {
  color: #333;
}

.case-study-white-red .case-study-back {
  border-top: 1px solid rgba(205, 41, 32, 0.2);
}

.case-study-white-red .case-study-back-btn {
  border: 2px solid #cd2920;
  color: #cd2920;
  background: #fff;
}

.case-study-white-red .case-study-back-btn:hover {
  background: #cd2920;
  color: #fff;
}

/* E-Ledger gallery: 3 images per row, 2 rows */
.case-study-gallery--white-red {
  margin: 48px 0 40px;
  width: 100%;
}

.case-study-gallery--white-red .case-study-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.case-study-gallery--white-red .case-study-gallery-row:last-child {
  margin-bottom: 0;
}

.case-study-gallery--white-red .case-study-gallery-row img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(205, 41, 32, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .case-study-gallery--white-red .case-study-gallery-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .case-study-white-red .case-study-main {
    padding: 100px 16px 64px;
  }
  .case-study-white-red .case-study-title {
    font-size: 28px;
  }
  .case-study-white-red .case-study-section--3d {
    padding: 22px 18px;
  }
}

/* ========== CASE STUDY — GRANTH FORMAT (portfolio detail) ========== */
.case-study-granth .case-study-main {
  max-width: none;
  padding: 0 0 80px;
  overflow-x: hidden;
}

.case-study-granth-main {
  padding-top: 0 !important;
}

/* Cover starts from top (under navbar) */
.case-study-granth .site-header {
  padding-top: 0;
}

/* 1. Full viewport cover image only */
.case-study-granth-cover {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
}

.case-study-granth-cover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}

/* 2. Title block: big capital project name + path */
.case-study-granth-title-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 48px;
}

.case-study-granth-project-name {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 12px;
  line-height: 1.1;
}

.case-study-granth-project-tagline {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  color: #555;
  margin: 0 0 24px;
  max-width: 640px;
}

.case-study-granth-breadcrumb {
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
}

.case-study-granth-breadcrumb a {
  color: #EF3826;
  text-decoration: none;
  font-weight: 500;
}

.case-study-granth-breadcrumb a:hover {
  text-decoration: underline;
}

.case-study-granth-breadcrumb-sep {
  margin: 0 8px;
  color: #999;
}

.case-study-granth-breadcrumb [aria-current="page"] {
  color: #1a1a1a;
  font-weight: 600;
}

/* Article container */
.case-study-granth-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.case-study-granth-body {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  margin: 0 0 16px;
}

.case-study-granth-body:last-child {
  margin-bottom: 0;
}

.case-study-granth-block-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #EF3826;
  margin: 0 0 20px;
}

/* 3. Intro: logo left, description + Industry/Services right */
.case-study-granth-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.case-study-granth-logo-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(239, 56, 38, 0.12);
  padding: 24px;
  text-align: center;
}

.case-study-granth-logo-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 12px;
}

.case-study-granth-logo-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #EF3826;
}

.case-study-granth-intro-content .case-study-granth-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(239, 56, 38, 0.2);
}

.case-study-granth-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #EF3826;
  display: block;
  margin-bottom: 8px;
}

.case-study-granth-meta-value {
  font-size: 15px;
  color: #444;
  font-weight: 500;
}

.case-study-granth-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-study-granth-meta-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #EF3826;
  background: rgba(239, 56, 38, 0.08);
  border: 1px solid rgba(239, 56, 38, 0.25);
}

/* 4. Objectives, Challenges, Solutions — left image, right content */
.case-study-granth-ocs {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
  margin-bottom: 64px;
}

.case-study-granth-ocs-image {
  position: sticky;
  top: 120px;
}

.case-study-granth-ocs-image video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(239, 56, 38, 0.12);
}

.case-study-granth-ocs-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(239, 56, 38, 0.12);
}

.case-study-granth-ocs-content {
  max-width: none;
}

.case-study-granth-ocs-section {
  margin-bottom: 48px;
  padding-left: 24px;
  border-left: 3px solid rgba(239, 56, 38, 0.4);
}

.case-study-granth-ocs-section:last-child {
  margin-bottom: 0;
}

.case-study-granth-numbered-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.case-study-granth-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(135deg, #EF3826 0%, #c42d1f 100%);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(239, 56, 38, 0.4);
  flex-shrink: 0;
}

.case-study-granth-list {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}

.case-study-granth-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.case-study-granth-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EF3826;
}

/* 5. Gallery — dynamic: 2 or 3 cols per project (E-Ledger: 2 per row, 3 rows) */
.case-study-granth-gallery {
  margin: 64px 0 0;
  width: 100%;
}

.case-study-granth-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.case-study-granth-gallery--2col .case-study-granth-gallery-row {
  grid-template-columns: repeat(2, 1fr);
}

.case-study-granth-gallery-row--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.case-study-granth-screens {
  margin-top: 56px;
}

.case-study-granth-screens-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-bottom: 20px;
}

.case-study-granth-mobile-frame {
  position: relative;
  border-radius: 32px;
  padding: 10px 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-granth-mobile-frame::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
}

.case-study-granth-mobile-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.case-study-granth-webview {
  margin-top: 72px;
}

.case-study-granth-webview-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-bottom: 20px;
}

.case-study-granth-webview-frame {
  position: relative;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  background: #000;
}

.case-study-granth-webview-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.case-study-granth-webview-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 32px;
}

@media (max-width: 1024px) {
  .case-study-granth-gallery-row--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .case-study-granth-gallery-row--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.case-study-granth-gallery-row:last-child {
  margin-bottom: 0;
}

.case-study-granth-gallery-row img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(239, 56, 38, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.case-study-granth-gallery-row img:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(239, 56, 38, 0.2), 0 0 0 1px rgba(239, 56, 38, 0.15);
}

/* Ticker strip — full screen width, no side space */
.case-study-granth-ticker {
  margin: 56px 0 0;
  padding: 24px 0;
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  background: #ffffff;
  border-top: 2px solid rgba(239, 56, 38, 0.25);
  border-bottom: 2px solid rgba(239, 56, 38, 0.25);
}

.case-study-granth-ticker::before,
.case-study-granth-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}

.case-study-granth-ticker::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.case-study-granth-ticker::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.case-study-granth-ticker-inner {
  display: flex;
  gap: 48px;
  animation: case-study-ticker 22s linear infinite;
  white-space: nowrap;
}

.case-study-granth-ticker-inner span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #EF3826;
}

@keyframes case-study-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTA */
.case-study-granth-cta {
  text-align: center;
  margin: 64px 0 0;
  padding: 56px 24px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(239, 56, 38, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.case-study-granth-cta-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 28px;
  line-height: 1.3;
}

.case-study-granth-cta-links {
  font-size: 16px;
  margin: 0;
}

.case-study-granth-cta-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  background: #EF3826;
  border: 2px solid #EF3826;
  box-shadow: 0 4px 14px rgba(239, 56, 38, 0.35);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.case-study-granth-cta-links a:hover {
  background: #c42d1f;
  color: #fff;
  border-color: #c42d1f;
  box-shadow: 0 6px 20px rgba(239, 56, 38, 0.45);
}

.case-study-granth-cta-sep {
  margin: 0 16px;
  color: #ccc;
  font-weight: 300;
}

/* Related */
.case-study-granth-related {
  margin: 64px 0 0;
  padding-top: 48px;
  border-top: 2px solid rgba(239, 56, 38, 0.15);
}

.case-study-granth-related-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 32px;
}

.case-study-granth-related-title strong {
  color: #EF3826;
}

.case-study-granth-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-study-granth-related-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(239, 56, 38, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-granth-related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(239, 56, 38, 0.25), 0 0 0 1px rgba(239, 56, 38, 0.15);
}

.case-study-granth-related-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #eee;
  transition: transform 0.5s ease;
}

.case-study-granth-related-card:hover .case-study-granth-related-card-bg {
  transform: scale(1.08);
}

.case-study-granth-related-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(239, 56, 38, 0.85) 0%, rgba(239, 56, 38, 0.2) 50%, transparent 100%);
  transition: opacity 0.3s ease;
}

.case-study-granth-related-card:hover::after {
  background: linear-gradient(to top, rgba(239, 56, 38, 0.9) 0%, rgba(239, 56, 38, 0.3) 60%, transparent 100%);
}

.case-study-granth-related-card-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.case-study-granth-related-card:hover .case-study-granth-related-card-label {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .case-study-granth-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-study-granth-intro-logo {
    max-width: 240px;
  }

  .case-study-granth-ocs {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-study-granth-ocs-image {
    position: static;
    max-width: 280px;
    margin: 0 auto 0 0;
  }
}

@media (max-width: 768px) {
  .case-study-granth-cover {
    min-height: 60vh;
  }

  .case-study-granth-title-block {
    padding: 20px 20px 10px;
  }

  .case-study-granth-article {
    padding: 0 20px;
  }

  .case-study-granth-intro-content .case-study-granth-meta {
    grid-template-columns: 1fr;
  }

  .case-study-granth-gallery-row,
  .case-study-granth-gallery--2col .case-study-granth-gallery-row {
    grid-template-columns: 1fr;
  }

  .case-study-granth-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  /* Make first hero section images full-width on mobile */
  .case-study-granth-cover {
    height: auto;
    min-height: 0;
    margin-top: 76px;
  }

  .case-study-granth-cover-bg {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio — fills width, no blank space */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #ffffff;
  }

  /* Remove gap between cover and title block */
  .case-study-granth-title-block {
    padding-top: 24px;
  }

  /* On case study pages, keep navbar solid so logo doesn't visually overlap hero image */
  .case-study-page .navbar {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  }

  /* Extra top padding so content (including hero) always starts below fixed navbar */
  .case-study-page .case-study-main {
    padding-top: 0;
  }
}

/* ========== CASE STUDY MOBILE RESPONSIVE ENHANCEMENTS ========== */

/* Tablet: stack intro logo and OCS image above content */
@media (max-width: 900px) {
  .case-study-granth-logo-card {
    max-width: 240px;
  }
}

/* Mobile: comprehensive case study responsive fixes */
@media (max-width: 768px) {
  /* Title block tighter spacing */
  .case-study-granth-project-name {
    margin-bottom: 8px;
  }

  .case-study-granth-project-tagline {
    margin-bottom: 16px;
  }

  /* Intro section: stack vertically, center logo */
  .case-study-granth-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-study-granth-logo-card {
    max-width: 200px;
    margin: 0 auto;
  }

  /* OCS section: stack vertically */
  .case-study-granth-ocs {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-study-granth-ocs-image {
    position: static;
    max-width: 220px;
    margin: 0 auto 0 0;
  }

  .case-study-granth-ocs-section {
    margin-bottom: 32px;
    padding-left: 16px;
  }

  /* Body text: slightly smaller */
  .case-study-granth-body {
    font-size: 15px;
    line-height: 1.7;
  }

  .case-study-granth-list {
    font-size: 15px;
  }

  /* Numbered title: smaller */
  .case-study-granth-numbered-title {
    font-size: 16px;
    gap: 10px;
  }

  .case-study-granth-num {
    min-width: 34px;
    height: 34px;
    font-size: 12px;
  }

  /* Gallery: reduce gap and border-radius */
  .case-study-granth-gallery {
    margin-top: 40px;
  }

  .case-study-granth-gallery-row {
    gap: 16px;
    margin-bottom: 16px;
  }

  .case-study-granth-gallery-row img {
    border-radius: 12px;
  }

  /* Mobile frame: smaller radius */
  .case-study-granth-mobile-frame {
    border-radius: 24px;
    padding: 8px 6px;
  }

  .case-study-granth-mobile-frame img {
    border-radius: 18px;
  }

  /* Webview frame: tighter */
  .case-study-granth-webview {
    margin-top: 48px;
  }

  .case-study-granth-webview-frame {
    border-radius: 20px;
  }

  .case-study-granth-webview-frame iframe {
    border-radius: 20px;
  }

  /* Screens section */
  .case-study-granth-screens {
    margin-top: 40px;
  }

  .case-study-granth-screens-title,
  .case-study-granth-webview-title {
    font-size: 14px;
    margin-bottom: 14px;
  }

  /* Ticker: smaller text, less padding */
  .case-study-granth-ticker {
    margin-top: 40px;
    padding: 16px 0;
  }

  .case-study-granth-ticker-inner {
    gap: 32px;
  }

  .case-study-granth-ticker-inner span {
    font-size: 12px;
    letter-spacing: 0.15em;
  }

  .case-study-granth-ticker::before,
  .case-study-granth-ticker::after {
    width: 40px;
  }

  /* CTA: stack links vertically */
  .case-study-granth-cta {
    margin-top: 48px;
    padding: 40px 20px;
    border-radius: 20px;
  }

  .case-study-granth-cta-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .case-study-granth-cta-links a {
    display: block;
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 14px 24px;
  }

  .case-study-granth-cta-sep {
    display: none;
  }

  /* Related projects: tighter */
  .case-study-granth-related {
    margin-top: 48px;
    padding-top: 32px;
  }

  .case-study-granth-related-title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .case-study-granth-related-grid {
    gap: 16px;
  }

  .case-study-granth-related-card {
    min-height: 180px;
  }

  .case-study-granth-related-card-label {
    font-size: 14px;
    bottom: 16px;
    left: 16px;
    right: 16px;
  }

  /* Meta tags: smaller */
  .case-study-granth-meta-tag {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Block title: slightly smaller */
  .case-study-granth-block-title {
    font-size: 11px;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
  }

  /* Music player (Infanity): tighter on mobile */
  .case-study-infanity .case-study-granth-ocs-image--music {
    max-width: 260px;
  }

  /* Bottom padding on main */
  .case-study-granth .case-study-main {
    padding-bottom: 48px;
  }
}

/* Small mobile: extra-tight layout */
@media (max-width: 480px) {
  .case-study-granth-title-block {
    padding: 16px 16px 8px;
  }

  .case-study-granth-article {
    padding: 0 16px;
  }

  .case-study-granth-intro {
    gap: 20px;
    margin-bottom: 40px;
  }

  .case-study-granth-logo-card {
    max-width: 180px;
    padding: 16px;
    border-radius: 16px;
  }

  .case-study-granth-logo-card img {
    border-radius: 8px;
  }

  .case-study-granth-ocs {
    margin-top: 24px;
    margin-bottom: 40px;
  }

  .case-study-granth-ocs-section {
    margin-bottom: 28px;
    padding-left: 14px;
  }

  .case-study-granth-gallery-row {
    gap: 12px;
    margin-bottom: 12px;
  }

  .case-study-granth-gallery-row img {
    border-radius: 10px;
  }

  .case-study-granth-cta {
    padding: 32px 16px;
    border-radius: 16px;
  }

  .case-study-granth-cta-title {
    font-size: 20px;
  }

  .case-study-granth-related-card {
    min-height: 160px;
    border-radius: 16px;
  }

  .case-study-granth-webview-frame {
    border-radius: 16px;
  }

  .case-study-granth-webview-frame iframe {
    border-radius: 16px;
  }

  .case-study-granth-mobile-frame {
    border-radius: 20px;
  }

  .case-study-granth-mobile-frame img {
    border-radius: 14px;
  }

  /* Gallery 6-col → single column on small mobile */
  .case-study-granth-gallery-row--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Dark theme case studies: fix cover bg for mobile */
@media (max-width: 600px) {
  .case-study-deepbot .case-study-granth-cover-bg {
    background-color: #11130F;
  }

  .case-study-infanity .case-study-granth-cover-bg {
    background-color: #1A1A1A;
  }

  .case-study-alpha .case-study-granth-cover-bg {
    background-color: #06151F;
  }

  .case-study-goat .case-study-granth-cover-bg {
    background-color: #0D0D0D;
  }

  .case-study-bidsmart .case-study-granth-cover-bg {
    background-color: #0a0a14;
  }

  .case-study-blackchain .case-study-granth-cover-bg {
    background-color: #000000;
  }

  .case-study-ledger .case-study-granth-cover-bg {
    background-color: #0B1226;
  }

  /* Dark-themed case study pages: dark navbar on mobile instead of white */
  .case-study-deepbot .navbar,
  .case-study-infanity .navbar,
  .case-study-alpha .navbar,
  .case-study-goat .navbar,
  .case-study-bidsmart .navbar,
  .case-study-blackchain .navbar,
  .case-study-ledger .navbar,
  .case-study-defence .navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  }

  /* Dark-themed: dark main padding area */
  .case-study-deepbot .case-study-main,
  .case-study-infanity .case-study-main,
  .case-study-alpha .case-study-main,
  .case-study-goat .case-study-main,
  .case-study-bidsmart .case-study-main,
  .case-study-blackchain .case-study-main,
  .case-study-ledger .case-study-main {
    padding-top: 100px;
  }

  /* Nicole/white-red theme pages: keep white navbar */
  .case-study-white-red .navbar,
  .case-study-nicole .navbar,
  .case-study-wayin .navbar {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  }

  /* Light-themed case study pages: show dark logo on mobile */
  .case-study-page:not(.case-study-deepbot):not(.case-study-infanity):not(.case-study-alpha):not(.case-study-goat):not(.case-study-bidsmart):not(.case-study-blackchain):not(.case-study-ledger):not(.case-study-defence) .navbar-logo .logo-desktop {
    display: block !important;
    width: auto;
    height: 40px;
    object-fit: contain;
  }
  .case-study-page:not(.case-study-deepbot):not(.case-study-infanity):not(.case-study-alpha):not(.case-study-goat):not(.case-study-bidsmart):not(.case-study-blackchain):not(.case-study-ledger):not(.case-study-defence) .navbar-logo .logo-mobile {
    display: none !important;
  }

  /* Light-themed case study pages: dark burger menu icon */
  .case-study-page:not(.case-study-deepbot):not(.case-study-infanity):not(.case-study-alpha):not(.case-study-goat):not(.case-study-bidsmart):not(.case-study-blackchain):not(.case-study-ledger):not(.case-study-defence) .btn-menu::before {
    background: #2b241d;
    box-shadow: 0 7px 0 #2b241d, 0 14px 0 #2b241d;
  }
  .case-study-page:not(.case-study-deepbot):not(.case-study-infanity):not(.case-study-alpha):not(.case-study-goat):not(.case-study-bidsmart):not(.case-study-blackchain):not(.case-study-ledger):not(.case-study-defence) .btn-menu:hover {
    background: rgba(0, 0, 0, 0.06);
  }
}

/* ========== DEEPBOT CASE STUDY THEME — bg #11130F, accent #BEFF00 ========== */
.case-study-deepbot {
  background: #11130F;
}

.case-study-deepbot .case-study-main {
  background: #11130F;
}

.case-study-deepbot .case-study-granth-cover-bg {
  background-color: #11130F;
}

.case-study-deepbot .case-study-granth-title-block {
  color: #e8e8e8;
}

.case-study-deepbot .case-study-granth-project-name {
  color: #BEFF00;
}

.case-study-deepbot .case-study-granth-project-tagline {
  color: #b0b0b0;
}

.case-study-deepbot .case-study-granth-breadcrumb a {
  color: #BEFF00;
}

.case-study-deepbot .case-study-granth-breadcrumb-sep {
  color: #666;
}

.case-study-deepbot .case-study-granth-breadcrumb [aria-current="page"] {
  color: #e0e0e0;
}

.case-study-deepbot .case-study-granth-body {
  color: #d0d0d0;
}

.case-study-deepbot .case-study-granth-block-title {
  color: #BEFF00;
}

.case-study-deepbot .case-study-granth-logo-card {
  background: #1a1e18;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(190, 255, 0, 0.2);
}

.case-study-deepbot .case-study-granth-logo-label {
  color: #BEFF00;
}

.case-study-deepbot .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(190, 255, 0, 0.25);
}

.case-study-deepbot .case-study-granth-meta-label {
  color: #BEFF00;
}

.case-study-deepbot .case-study-granth-meta-value {
  color: #c8c8c8;
}

.case-study-deepbot .case-study-granth-meta-tag {
  color: #BEFF00;
  background: rgba(190, 255, 0, 0.1);
  border-color: rgba(190, 255, 0, 0.35);
}

.case-study-deepbot .case-study-granth-ocs {
  grid-template-columns: 380px 1fr;
}

.case-study-deepbot .case-study-granth-ocs-image {
  max-width: 380px;
  margin-left: 0;
}

.case-study-deepbot .case-study-granth-ocs-image img {
  border-radius: 0;
  box-shadow: none;
}

.case-study-deepbot .case-study-granth-ocs-section {
  border-left-color: rgba(190, 255, 0, 0.5);
}

.case-study-deepbot .case-study-granth-numbered-title {
  color: #e8e8e8;
}

.case-study-deepbot .case-study-granth-num {
  color: #11130F;
  background: linear-gradient(135deg, #BEFF00 0%, #9acc00 100%);
  box-shadow: 0 4px 14px rgba(190, 255, 0, 0.4);
}

.case-study-deepbot .case-study-granth-list {
  color: #d0d0d0;
}

.case-study-deepbot .case-study-granth-list li::before {
  background: #BEFF00;
}

.case-study-deepbot .case-study-granth-gallery-row img {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(190, 255, 0, 0.2);
}

.case-study-deepbot .case-study-granth-gallery-row img:hover {
  box-shadow: 0 16px 48px rgba(190, 255, 0, 0.25), 0 0 0 1px rgba(190, 255, 0, 0.3);
}

.case-study-deepbot .case-study-granth-ticker {
  background: #11130F;
  border-top-color: rgba(190, 255, 0, 0.3);
  border-bottom-color: rgba(190, 255, 0, 0.3);
}

.case-study-deepbot .case-study-granth-ticker::before {
  background: linear-gradient(to right, #11130F, transparent);
}

.case-study-deepbot .case-study-granth-ticker::after {
  background: linear-gradient(to left, #11130F, transparent);
}

.case-study-deepbot .case-study-granth-ticker-inner span {
  color: #BEFF00;
}

.case-study-deepbot .case-study-granth-cta {
  background: #1a1e18;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(190, 255, 0, 0.15);
}

.case-study-deepbot .case-study-granth-cta-title {
  color: #e8e8e8;
}

.case-study-deepbot .case-study-granth-cta-links a {
  color: #11130F;
  background: #BEFF00;
  border: 2px solid #BEFF00;
  box-shadow: 0 4px 14px rgba(190, 255, 0, 0.4);
}

.case-study-deepbot .case-study-granth-cta-links a:hover {
  background: #9acc00;
  color: #11130F;
  border-color: #9acc00;
  box-shadow: 0 6px 20px rgba(190, 255, 0, 0.5);
}

.case-study-deepbot .case-study-granth-cta-sep {
  color: #666;
}

.case-study-deepbot .case-study-granth-related {
  border-top-color: rgba(190, 255, 0, 0.25);
}

.case-study-deepbot .case-study-granth-related-title {
  color: #e8e8e8;
}

.case-study-deepbot .case-study-granth-related-title strong {
  color: #BEFF00;
}

.case-study-deepbot .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(190, 255, 0, 0.2);
}

.case-study-deepbot .case-study-granth-related-card:hover {
  box-shadow: 0 20px 48px rgba(190, 255, 0, 0.25), 0 0 0 1px rgba(190, 255, 0, 0.35);
}

.case-study-deepbot .case-study-granth-related-card::after {
  background: linear-gradient(to top, rgba(17, 19, 15, 0.9) 0%, rgba(190, 255, 0, 0.15) 50%, transparent 100%);
}

.case-study-deepbot .case-study-granth-related-card:hover::after {
  background: linear-gradient(to top, rgba(17, 19, 15, 0.85) 0%, rgba(190, 255, 0, 0.25) 60%, transparent 100%);
}

.case-study-deepbot .case-study-granth-related-card-label {
  color: #BEFF00;
  text-shadow: 0 2px 8px rgba(17, 19, 15, 0.8);
}

/* ========== INFANITY CASE STUDY THEME — bg #1A1A1A, accent #FFC200 ========== */
.case-study-infanity {
  background: #1A1A1A;
}

.case-study-infanity .case-study-main {
  background: #1A1A1A;
}

.case-study-infanity .case-study-granth-cover-bg {
  background-color: #1A1A1A;
}

.case-study-infanity .case-study-granth-title-block {
  color: #e8e8e8;
}

.case-study-infanity .case-study-granth-project-name {
  color: #FFC200;
}

.case-study-infanity .case-study-granth-project-tagline {
  color: #b0b0b0;
}

.case-study-infanity .case-study-granth-breadcrumb a {
  color: #FFC200;
}

.case-study-infanity .case-study-granth-breadcrumb-sep {
  color: #666;
}

.case-study-infanity .case-study-granth-breadcrumb [aria-current="page"] {
  color: #e0e0e0;
}

.case-study-infanity .case-study-granth-body {
  color: #d0d0d0;
}

.case-study-infanity .case-study-granth-block-title {
  color: #FFC200;
}

.case-study-infanity .case-study-granth-logo-card {
  background: #252525;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 194, 0, 0.25);
}

.case-study-infanity .case-study-granth-logo-label {
  color: #FFC200;
}

.case-study-infanity .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(255, 194, 0, 0.3);
}

.case-study-infanity .case-study-granth-meta-label {
  color: #FFC200;
}

.case-study-infanity .case-study-granth-meta-value {
  color: #c8c8c8;
}

.case-study-infanity .case-study-granth-meta-tag {
  color: #FFC200;
  background: rgba(255, 194, 0, 0.1);
  border-color: rgba(255, 194, 0, 0.35);
}

.case-study-infanity .case-study-granth-ocs-image img {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 194, 0, 0.25);
}

/* Infanity OCS side: music player component (no side image) */
.case-study-infanity .case-study-granth-ocs-image--music {
  max-width: 320px;
}

.ocs-music-player {
  background: #252525;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 194, 0, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.ocs-music-player-art {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: #1A1A1A;
  margin-bottom: 14px;
}

.ocs-music-player-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.ocs-music-player-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.ocs-music-player-meta {
  font-size: 12px;
  color: #FFC200;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ocs-music-player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ocs-music-player-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFC200;
  border: none;
  cursor: default;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 16px rgba(255, 194, 0, 0.4);
}

.ocs-music-player-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: 2px;
  transform: translate(-50%, -50%);
  border-width: 8px 0 8px 14px;
  border-style: solid;
  border-color: transparent transparent transparent #1A1A1A;
}

.ocs-music-player-time {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.02em;
}

.ocs-music-player-waveform {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  height: 28px;
}

.ocs-music-player-bar {
  flex: 1;
  min-width: 4px;
  max-width: 10px;
  background: rgba(255, 194, 0, 0.5);
  border-radius: 2px;
  animation: ocs-waveform 0.8s ease-in-out infinite;
}

.ocs-music-player-bar:nth-child(1) { animation-delay: 0s; height: 40%; }
.ocs-music-player-bar:nth-child(2) { animation-delay: 0.1s; height: 70%; }
.ocs-music-player-bar:nth-child(3) { animation-delay: 0.2s; height: 100%; }
.ocs-music-player-bar:nth-child(4) { animation-delay: 0.15s; height: 55%; }
.ocs-music-player-bar:nth-child(5) { animation-delay: 0.05s; height: 85%; }
.ocs-music-player-bar:nth-child(6) { animation-delay: 0.25s; height: 45%; }
.ocs-music-player-bar:nth-child(7) { animation-delay: 0.18s; height: 90%; }
.ocs-music-player-bar:nth-child(8) { animation-delay: 0.12s; height: 60%; }
.ocs-music-player-bar:nth-child(9) { animation-delay: 0.22s; height: 75%; }
.ocs-music-player-bar:nth-child(10) { animation-delay: 0.08s; height: 50%; }
.ocs-music-player-bar:nth-child(11) { animation-delay: 0.28s; height: 65%; }
.ocs-music-player-bar:nth-child(12) { animation-delay: 0.03s; height: 95%; }

@keyframes ocs-waveform {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

.case-study-infanity .case-study-granth-ocs-section {
  border-left-color: rgba(255, 194, 0, 0.5);
}

.case-study-infanity .case-study-granth-numbered-title {
  color: #e8e8e8;
}

.case-study-infanity .case-study-granth-num {
  color: #1A1A1A;
  background: linear-gradient(135deg, #FFC200 0%, #e6ad00 100%);
  box-shadow: 0 4px 14px rgba(255, 194, 0, 0.4);
}

.case-study-infanity .case-study-granth-list {
  color: #d0d0d0;
}

.case-study-infanity .case-study-granth-list li::before {
  background: #FFC200;
}

.case-study-infanity .case-study-granth-gallery-row img {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 194, 0, 0.25);
}

.case-study-infanity .case-study-granth-gallery-row img:hover {
  box-shadow: 0 16px 48px rgba(255, 194, 0, 0.3), 0 0 0 1px rgba(255, 194, 0, 0.4);
}

.case-study-infanity .case-study-granth-ticker {
  background: #1A1A1A;
  border-top-color: rgba(255, 194, 0, 0.35);
  border-bottom-color: rgba(255, 194, 0, 0.35);
}

.case-study-infanity .case-study-granth-ticker::before {
  background: linear-gradient(to right, #1A1A1A, transparent);
}

.case-study-infanity .case-study-granth-ticker::after {
  background: linear-gradient(to left, #1A1A1A, transparent);
}

.case-study-infanity .case-study-granth-ticker-inner span {
  color: #FFC200;
}

.case-study-infanity .case-study-granth-cta {
  background: #252525;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 194, 0, 0.2);
}

.case-study-infanity .case-study-granth-cta-title {
  color: #e8e8e8;
}

.case-study-infanity .case-study-granth-cta-links a {
  color: #1A1A1A;
  background: #FFC200;
  border: 2px solid #FFC200;
  box-shadow: 0 4px 14px rgba(255, 194, 0, 0.4);
}

.case-study-infanity .case-study-granth-cta-links a:hover {
  background: #e6ad00;
  color: #1A1A1A;
  border-color: #e6ad00;
  box-shadow: 0 6px 20px rgba(255, 194, 0, 0.5);
}

.case-study-infanity .case-study-granth-cta-sep {
  color: #666;
}

.case-study-infanity .case-study-granth-related {
  border-top-color: rgba(255, 194, 0, 0.3);
}

.case-study-infanity .case-study-granth-related-title {
  color: #e8e8e8;
}

.case-study-infanity .case-study-granth-related-title strong {
  color: #FFC200;
}

.case-study-infanity .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 194, 0, 0.25);
}

.case-study-infanity .case-study-granth-related-card:hover {
  box-shadow: 0 20px 48px rgba(255, 194, 0, 0.3), 0 0 0 1px rgba(255, 194, 0, 0.4);
}

.case-study-infanity .case-study-granth-related-card::after {
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, rgba(255, 194, 0, 0.12) 50%, transparent 100%);
}

.case-study-infanity .case-study-granth-related-card:hover::after {
  background: linear-gradient(to top, rgba(26, 26, 26, 0.85) 0%, rgba(255, 194, 0, 0.22) 60%, transparent 100%);
}

.case-study-infanity .case-study-granth-related-card-label {
  color: #FFC200;
  text-shadow: 0 2px 8px rgba(26, 26, 26, 0.8);
}

/* ========== ALPHA CITY CASE STUDY THEME — bg #06151F, accent #00EBFF ========== */
.case-study-alpha {
  background: #06151F;
}

.case-study-alpha .case-study-main {
  background: #06151F;
}

.case-study-alpha .case-study-granth-cover-bg {
  background-color: #06151F;
}

.case-study-alpha .case-study-granth-title-block {
  color: #e4f6ff;
}

.case-study-alpha .case-study-granth-project-name {
  color: #00EBFF;
}

.case-study-alpha .case-study-granth-project-tagline {
  color: #9fb7c4;
}

.case-study-alpha .case-study-granth-breadcrumb a {
  color: #00EBFF;
}

.case-study-alpha .case-study-granth-breadcrumb-sep {
  color: #557082;
}

.case-study-alpha .case-study-granth-breadcrumb [aria-current="page"] {
  color: #e4f6ff;
}

.case-study-alpha .case-study-granth-body {
  color: #c4d9e5;
}

.case-study-alpha .case-study-granth-block-title {
  color: #00EBFF;
}

.case-study-alpha .case-study-granth-logo-card {
  background: #092636;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 235, 255, 0.3);
}

.case-study-alpha .case-study-granth-logo-label {
  color: #00EBFF;
}

.case-study-alpha .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(0, 235, 255, 0.35);
}

.case-study-alpha .case-study-granth-meta-label {
  color: #00EBFF;
}

.case-study-alpha .case-study-granth-meta-value {
  color: #d0e3ec;
}

.case-study-alpha .case-study-granth-meta-tag {
  color: #00EBFF;
  background: rgba(0, 235, 255, 0.12);
  border-color: rgba(0, 235, 255, 0.4);
}

/* Alpha City — enlarge side video like DeepBot/Goat */
.case-study-alpha .case-study-granth-ocs {
  grid-template-columns: 380px 1fr;
}

.case-study-alpha .case-study-granth-ocs-image {
  max-width: 380px;
  margin-left: 0;
}

.case-study-alpha .case-study-granth-ocs-image video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.case-study-alpha .case-study-granth-ocs-section {
  border-left-color: rgba(0, 235, 255, 0.55);
}

.case-study-alpha .case-study-granth-numbered-title {
  color: #e4f6ff;
}

.case-study-alpha .case-study-granth-num {
  color: #06151F;
  background: linear-gradient(135deg, #00EBFF 0%, #00b7cc 100%);
  box-shadow: 0 4px 16px rgba(0, 235, 255, 0.45);
}

.case-study-alpha .case-study-granth-list {
  color: #c4d9e5;
}

.case-study-alpha .case-study-granth-list li::before {
  background: #00EBFF;
}

.case-study-alpha .case-study-granth-gallery-row img {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 235, 255, 0.35);
}

.case-study-alpha .case-study-granth-gallery-row img:hover {
  box-shadow: 0 18px 52px rgba(0, 235, 255, 0.35), 0 0 0 1px rgba(0, 235, 255, 0.45);
}

.case-study-alpha .case-study-granth-ticker {
  background: #06151F;
  border-top-color: rgba(0, 235, 255, 0.4);
  border-bottom-color: rgba(0, 235, 255, 0.4);
}

.case-study-alpha .case-study-granth-ticker::before {
  background: linear-gradient(to right, #06151F, transparent);
}

.case-study-alpha .case-study-granth-ticker::after {
  background: linear-gradient(to left, #06151F, transparent);
}

.case-study-alpha .case-study-granth-ticker-inner span {
  color: #00EBFF;
}

.case-study-alpha .case-study-granth-cta {
  background: #092636;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 235, 255, 0.35);
}

.case-study-alpha .case-study-granth-cta-title {
  color: #e4f6ff;
}

.case-study-alpha .case-study-granth-cta-links a {
  color: #06151F;
  background: #00EBFF;
  border: 2px solid #00EBFF;
  box-shadow: 0 4px 14px rgba(0, 235, 255, 0.4);
}

.case-study-alpha .case-study-granth-cta-links a:hover {
  background: #00b7cc;
  color: #06151F;
  border-color: #00b7cc;
  box-shadow: 0 6px 20px rgba(0, 235, 255, 0.5);
}

.case-study-alpha .case-study-granth-cta-sep {
  color: #557082;
}

.case-study-alpha .case-study-granth-related {
  border-top-color: rgba(0, 235, 255, 0.4);
}

.case-study-alpha .case-study-granth-related-title {
  color: #e4f6ff;
}

.case-study-alpha .case-study-granth-related-title strong {
  color: #00EBFF;
}

.case-study-alpha .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 235, 255, 0.4);
}

.case-study-alpha .case-study-granth-related-card:hover {
  box-shadow: 0 22px 52px rgba(0, 235, 255, 0.4), 0 0 0 1px rgba(0, 235, 255, 0.5);
}

.case-study-alpha .case-study-granth-related-card::after {
  background: linear-gradient(to top, rgba(6, 21, 31, 0.94) 0%, rgba(0, 235, 255, 0.18) 50%, transparent 100%);
}

.case-study-alpha .case-study-granth-related-card:hover::after {
  background: linear-gradient(to top, rgba(6, 21, 31, 0.9) 0%, rgba(0, 235, 255, 0.28) 60%, transparent 100%);
}

.case-study-alpha .case-study-granth-related-card-label {
  color: #00EBFF;
  text-shadow: 0 2px 8px rgba(6, 21, 31, 0.9);
}

/* ========== SOLARCOIN CASE STUDY THEME — bg #FDEAB1, accent #FFC000 ========== */
.case-study-solar {
  background: #FDEAB1;
}

.case-study-solar .case-study-main {
  background: #FDEAB1;
}

.case-study-solar .case-study-granth-cover-bg {
  background-color: #FDEAB1;
}

.case-study-solar .case-study-granth-title-block {
  color: #40362B;
}

.case-study-solar .case-study-granth-project-name {
  color: #FFC000;
}

.case-study-solar .case-study-granth-project-tagline {
  color: #6f5b43;
}

.case-study-solar .case-study-granth-breadcrumb a {
  color: #C47F38;
}

.case-study-solar .case-study-granth-breadcrumb-sep {
  color: #8f7a61;
}

.case-study-solar .case-study-granth-breadcrumb [aria-current="page"] {
  color: #40362B;
}

.case-study-solar .case-study-granth-body {
  color: #584633;
}

.case-study-solar .case-study-granth-block-title {
  color: #FFC000;
}

.case-study-solar .case-study-granth-logo-card {
  background: #fff7d9;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 192, 0, 0.35);
}

.case-study-solar .case-study-granth-logo-label {
  color: #FFC000;
}

.case-study-solar .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(255, 192, 0, 0.45);
}

.case-study-solar .case-study-granth-meta-label {
  color: #C47F38;
}

.case-study-solar .case-study-granth-meta-value {
  color: #5a4530;
}

.case-study-solar .case-study-granth-meta-tag {
  color: #40362B;
  background: rgba(255, 192, 0, 0.2);
  border-color: rgba(255, 192, 0, 0.5);
}

.case-study-solar .case-study-granth-ocs-image img {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 192, 0, 0.4);
}

.case-study-solar .case-study-granth-ocs-section {
  border-left-color: rgba(255, 192, 0, 0.7);
}

.case-study-solar .case-study-granth-numbered-title {
  color: #40362B;
}

.case-study-solar .case-study-granth-num {
  color: #40362B;
  background: linear-gradient(135deg, #FFC000 0%, #e0a500 100%);
  box-shadow: 0 4px 14px rgba(255, 192, 0, 0.55);
}

.case-study-solar .case-study-granth-list {
  color: #584633;
}

.case-study-solar .case-study-granth-list li::before {
  background: #FFC000;
}

.case-study-solar .case-study-granth-gallery-row img {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 192, 0, 0.4);
}

.case-study-solar .case-study-granth-gallery-row img:hover {
  box-shadow: 0 16px 48px rgba(255, 192, 0, 0.4), 0 0 0 1px rgba(255, 192, 0, 0.55);
}

.case-study-solar .case-study-granth-ticker {
  background: #FDEAB1;
  border-top-color: rgba(255, 192, 0, 0.55);
  border-bottom-color: rgba(255, 192, 0, 0.55);
}

.case-study-solar .case-study-granth-ticker::before {
  background: linear-gradient(to right, #FDEAB1, transparent);
}

.case-study-solar .case-study-granth-ticker::after {
  background: linear-gradient(to left, #FDEAB1, transparent);
}

.case-study-solar .case-study-granth-ticker-inner span {
  color: #C47F38;
}

.case-study-solar .case-study-granth-cta {
  background: #fff5cc;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 192, 0, 0.4);
}

.case-study-solar .case-study-granth-cta-title {
  color: #40362B;
}

.case-study-solar .case-study-granth-cta-links a {
  color: #40362B;
  background: #FFC000;
  border: 2px solid #FFC000;
  box-shadow: 0 4px 14px rgba(255, 192, 0, 0.4);
}

.case-study-solar .case-study-granth-cta-links a:hover {
  background: #e6ad00;
  color: #40362B;
  border-color: #e6ad00;
  box-shadow: 0 6px 20px rgba(255, 192, 0, 0.5);
}

.case-study-solar .case-study-granth-cta-sep {
  color: #8f7a61;
}

.case-study-solar .case-study-granth-related {
  border-top-color: rgba(255, 192, 0, 0.55);
}

.case-study-solar .case-study-granth-related-title {
  color: #40362B;
}

.case-study-solar .case-study-granth-related-title strong {
  color: #C47F38;
}

.case-study-solar .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 192, 0, 0.45);
}

.case-study-solar .case-study-granth-related-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 192, 0, 0.6);
}

.case-study-solar .case-study-granth-related-card::after {
  background: linear-gradient(to top, rgba(64, 54, 43, 0.95) 0%, rgba(255, 192, 0, 0.2) 50%, transparent 100%);
}

.case-study-solar .case-study-granth-related-card:hover::after {
  background: linear-gradient(to top, rgba(64, 54, 43, 0.9) 0%, rgba(255, 192, 0, 0.3) 60%, transparent 100%);
}

.case-study-solar .case-study-granth-related-card-label {
  color: #FDEAB1;
  text-shadow: 0 2px 8px rgba(34, 28, 22, 0.9);
}

/* ========== AT HOME CASE STUDY THEME — bg #FFFFFF, accent #F1C3D4 ========== */
.case-study-at-home {
  background: #ffffff;
}

.case-study-at-home .case-study-main {
  background: #ffffff;
}

.case-study-at-home .case-study-granth-cover-bg {
  background-color: #F1C3D4;
}

.case-study-at-home .case-study-granth-title-block {
  color: #2a1b23;
}

.case-study-at-home .case-study-granth-project-name {
  color: #b33a57;
}

.case-study-at-home .case-study-granth-project-tagline {
  color: #5b3a48;
}

.case-study-at-home .case-study-granth-breadcrumb a {
  color: #b33a57;
}

.case-study-at-home .case-study-granth-breadcrumb-sep {
  color: #d09ab1;
}

.case-study-at-home .case-study-granth-breadcrumb [aria-current="page"] {
  color: #2a1b23;
}

.case-study-at-home .case-study-granth-body {
  color: #4b3540;
}

.case-study-at-home .case-study-granth-block-title {
  color: #b33a57;
}

.case-study-at-home .case-study-granth-logo-card {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(241, 195, 212, 0.7);
}

.case-study-at-home .case-study-granth-logo-label {
  color: #b33a57;
}

.case-study-at-home .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(241, 195, 212, 0.7);
}

.case-study-at-home .case-study-granth-meta-label {
  color: #b33a57;
}

.case-study-at-home .case-study-granth-meta-value {
  color: #4b3540;
}

.case-study-at-home .case-study-granth-meta-tag {
  color: #2a1b23;
  background: rgba(241, 195, 212, 0.25);
  border-color: rgba(241, 195, 212, 0.6);
}

.case-study-at-home .case-study-granth-gallery--full img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.case-study-at-home .case-study-granth-ocs-image img {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(241, 195, 212, 0.6);
}

.case-study-at-home .case-study-granth-ocs-section {
  border-left-color: rgba(241, 195, 212, 0.9);
}

.case-study-at-home .case-study-granth-numbered-title {
  color: #2a1b23;
}

.case-study-at-home .case-study-granth-num {
  color: #2a1b23;
  background: linear-gradient(135deg, #F1C3D4 0%, #ffffff 100%);
  box-shadow: 0 4px 14px rgba(241, 195, 212, 0.7);
}

.case-study-at-home .case-study-granth-list {
  color: #4b3540;
}

.case-study-at-home .case-study-granth-list li::before {
  background: #b33a57;
}

.case-study-at-home .case-study-granth-ticker {
  background: #FDF5F8;
  border-top-color: rgba(241, 195, 212, 0.7);
  border-bottom-color: rgba(241, 195, 212, 0.7);
}

.case-study-at-home .case-study-granth-ticker::before {
  background: linear-gradient(to right, #FDF5F8, transparent);
}

.case-study-at-home .case-study-granth-ticker::after {
  background: linear-gradient(to left, #FDF5F8, transparent);
}

.case-study-at-home .case-study-granth-ticker-inner span {
  color: #b33a57;
}

.case-study-at-home .case-study-granth-cta {
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(241, 195, 212, 0.7);
}

.case-study-at-home .case-study-granth-cta-title {
  color: #2a1b23;
}

.case-study-at-home .case-study-granth-cta-links a {
  color: #2a1b23;
  background: #F1C3D4;
  border: 2px solid #F1C3D4;
  box-shadow: 0 4px 14px rgba(241, 195, 212, 0.6);
}

.case-study-at-home .case-study-granth-cta-links a:hover {
  background: #e2a6c0;
  border-color: #e2a6c0;
  color: #2a1b23;
  box-shadow: 0 6px 20px rgba(241, 195, 212, 0.7);
}

.case-study-at-home .case-study-granth-cta-sep {
  color: #c48ea7;
}

.case-study-at-home .case-study-granth-related {
  border-top-color: rgba(241, 195, 212, 0.7);
}

.case-study-at-home .case-study-granth-related-title {
  color: #2a1b23;
}

.case-study-at-home .case-study-granth-related-title strong {
  color: #b33a57;
}

.case-study-at-home .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(241, 195, 212, 0.7);
}

.case-study-at-home .case-study-granth-related-card:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(241, 195, 212, 0.9);
}

.case-study-at-home .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(241, 195, 212, 0.45) 45%,
    transparent 100%
  );
}

.case-study-at-home .case-study-granth-related-card-label {
  color: #2a1b23;
}

/* ========== MAKENBREAK CASE STUDY THEME — bg #FFFFFF, accent #EA571D ========== */
.case-study-maken {
  background: #ffffff;
}

.case-study-maken .case-study-main {
  background: #ffffff;
}

.case-study-maken .case-study-granth-cover-bg {
  background-color: #ffffff;
}

.case-study-maken .case-study-granth-title-block {
  color: #26140e;
}

.case-study-maken .case-study-granth-project-name {
  color: #ea571d;
}

.case-study-maken .case-study-granth-project-tagline {
  color: #734130;
}

.case-study-maken .case-study-granth-breadcrumb a {
  color: #ea571d;
}

.case-study-maken .case-study-granth-breadcrumb-sep {
  color: #f1a284;
}

.case-study-maken .case-study-granth-breadcrumb [aria-current="page"] {
  color: #26140e;
}

.case-study-maken .case-study-granth-body {
  color: #4a2b20;
}

.case-study-maken .case-study-granth-block-title {
  color: #ea571d;
}

.case-study-maken .case-study-granth-logo-card {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(234, 87, 29, 0.35);
}

.case-study-maken .case-study-granth-logo-label {
  color: #ea571d;
}

.case-study-maken .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(234, 87, 29, 0.35);
}

.case-study-maken .case-study-granth-meta-label {
  color: #ea571d;
}

.case-study-maken .case-study-granth-meta-value {
  color: #4a2b20;
}

.case-study-maken .case-study-granth-meta-tag {
  color: #26140e;
  background: rgba(234, 87, 29, 0.12);
  border-color: rgba(234, 87, 29, 0.45);
}

.case-study-maken .case-study-granth-gallery--full img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.case-study-maken .case-study-granth-ocs-image img {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(234, 87, 29, 0.45);
}

.case-study-maken .case-study-granth-ocs-section {
  border-left-color: rgba(234, 87, 29, 0.7);
}

.case-study-maken .case-study-granth-numbered-title {
  color: #26140e;
}

.case-study-maken .case-study-granth-num {
  color: #26140e;
  background: linear-gradient(135deg, #ea571d 0%, #ff9c66 100%);
  box-shadow: 0 4px 14px rgba(234, 87, 29, 0.6);
}

.case-study-maken .case-study-granth-list {
  color: #4a2b20;
}

.case-study-maken .case-study-granth-list li::before {
  background: #ea571d;
}

.case-study-maken .case-study-granth-ticker {
  background: #fff3ec;
  border-top-color: rgba(234, 87, 29, 0.45);
  border-bottom-color: rgba(234, 87, 29, 0.45);
}

.case-study-maken .case-study-granth-ticker::before {
  background: linear-gradient(to right, #fff3ec, transparent);
}

.case-study-maken .case-study-granth-ticker::after {
  background: linear-gradient(to left, #fff3ec, transparent);
}

.case-study-maken .case-study-granth-ticker-inner span {
  color: #ea571d;
}

.case-study-maken .case-study-granth-cta {
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(234, 87, 29, 0.4);
}

.case-study-maken .case-study-granth-cta-title {
  color: #26140e;
}

.case-study-maken .case-study-granth-cta-links a {
  color: #26140e;
  background: #ea571d;
  border: 2px solid #ea571d;
  box-shadow: 0 4px 14px rgba(234, 87, 29, 0.4);
}

.case-study-maken .case-study-granth-cta-links a:hover {
  background: #d44e1a;
  border-color: #d44e1a;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(234, 87, 29, 0.5);
}

.case-study-maken .case-study-granth-cta-sep {
  color: #c27a58;
}

.case-study-maken .case-study-granth-related {
  border-top-color: rgba(234, 87, 29, 0.45);
}

.case-study-maken .case-study-granth-related-title {
  color: #26140e;
}

.case-study-maken .case-study-granth-related-title strong {
  color: #ea571d;
}

.case-study-maken .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(234, 87, 29, 0.4);
}

.case-study-maken .case-study-granth-related-card:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(234, 87, 29, 0.6);
}

.case-study-maken .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(234, 87, 29, 0.22) 45%,
    transparent 100%
  );
}

.case-study-maken .case-study-granth-related-card-label {
  color: #26140e;
}

/* ========== BILLIONE MOBILITY CASE STUDY THEME — bg #FFFFFF, primary #002E6B, secondary #36B700 ========== */
.case-study-billione {
  background: #ffffff;
}

.case-study-billione .case-study-main {
  background: #ffffff;
}

.case-study-billione .case-study-granth-cover-bg {
  background-color: #ffffff;
}

.case-study-billione .case-study-granth-title-block {
  color: #001731;
}

.case-study-billione .case-study-granth-project-name {
  color: #002e6b;
}

.case-study-billione .case-study-granth-project-tagline {
  color: #33547f;
}

.case-study-billione .case-study-granth-breadcrumb a {
  color: #002e6b;
}

.case-study-billione .case-study-granth-breadcrumb-sep {
  color: #7da1d8;
}

.case-study-billione .case-study-granth-breadcrumb [aria-current="page"] {
  color: #001731;
}

.case-study-billione .case-study-granth-body {
  color: #304156;
}

.case-study-billione .case-study-granth-block-title {
  color: #002e6b;
}

.case-study-billione .case-study-granth-logo-card {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 46, 107, 0.3);
}

.case-study-billione .case-study-granth-logo-label {
  color: #002e6b;
}

.case-study-billione .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(0, 46, 107, 0.25);
}

.case-study-billione .case-study-granth-meta-label {
  color: #002e6b;
}

.case-study-billione .case-study-granth-meta-value {
  color: #304156;
}

.case-study-billione .case-study-granth-meta-tag {
  color: #001731;
  background: rgba(54, 183, 0, 0.12);
  border-color: rgba(54, 183, 0, 0.45);
}

.case-study-billione .case-study-granth-gallery--full img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.case-study-billione .case-study-granth-ocs-image img {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 46, 107, 0.35);
}

.case-study-billione .case-study-granth-ocs-section {
  border-left-color: rgba(0, 46, 107, 0.7);
}

.case-study-billione .case-study-granth-numbered-title {
  color: #001731;
}

.case-study-billione .case-study-granth-num {
  color: #001731;
  background: linear-gradient(135deg, #002e6b 0%, #36b700 100%);
  box-shadow: 0 4px 14px rgba(0, 46, 107, 0.6);
}

.case-study-billione .case-study-granth-list {
  color: #304156;
}

.case-study-billione .case-study-granth-list li::before {
  background: #36b700;
}

.case-study-billione .case-study-granth-ticker {
  background: #f5fbff;
  border-top-color: rgba(0, 46, 107, 0.25);
  border-bottom-color: rgba(0, 46, 107, 0.25);
}

.case-study-billione .case-study-granth-ticker::before {
  background: linear-gradient(to right, #f5fbff, transparent);
}

.case-study-billione .case-study-granth-ticker::after {
  background: linear-gradient(to left, #f5fbff, transparent);
}

.case-study-billione .case-study-granth-ticker-inner span {
  color: #002e6b;
}

.case-study-billione .case-study-granth-cta {
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 46, 107, 0.3);
}

.case-study-billione .case-study-granth-cta-title {
  color: #001731;
}

.case-study-billione .case-study-granth-cta-links a {
  color: #ffffff;
  background: linear-gradient(135deg, #002e6b 0%, #36b700 100%);
  border: 2px solid #002e6b;
  box-shadow: 0 4px 14px rgba(0, 46, 107, 0.4);
}

.case-study-billione .case-study-granth-cta-links a:hover {
  background: linear-gradient(135deg, #002353 0%, #2d9900 100%);
  border-color: #002353;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 46, 107, 0.5);
}

.case-study-billione .case-study-granth-cta-sep {
  color: #6a839f;
}

.case-study-billione .case-study-granth-related {
  border-top-color: rgba(0, 46, 107, 0.25);
}

.case-study-billione .case-study-granth-related-title {
  color: #001731;
}

.case-study-billione .case-study-granth-related-title strong {
  color: #002e6b;
}

.case-study-billione .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 46, 107, 0.35);
}

.case-study-billione .case-study-granth-related-card:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 46, 107, 0.5);
}

.case-study-billione .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(0, 46, 107, 0.18) 45%,
    transparent 100%
  );
}

.case-study-billione .case-study-granth-related-card-label {
  color: #001731;
}

/* ========== KABHI B CASE STUDY THEME — bg #FFFFFF, accent #4F1C00 ========== */
.case-study-kabhb {
  background: #ffffff;
}

.case-study-kabhb .case-study-main {
  background: #ffffff;
}

.case-study-kabhb .case-study-granth-cover-bg {
  background-color: #ffffff;
}

.case-study-kabhb .case-study-granth-title-block {
  color: #2b1406;
}

.case-study-kabhb .case-study-granth-project-name {
  color: #4f1c00;
}

.case-study-kabhb .case-study-granth-project-tagline {
  color: #7a4320;
}

.case-study-kabhb .case-study-granth-breadcrumb a {
  color: #4f1c00;
}

.case-study-kabhb .case-study-granth-breadcrumb-sep {
  color: #c4875a;
}

.case-study-kabhb .case-study-granth-breadcrumb [aria-current="page"] {
  color: #2b1406;
}

.case-study-kabhb .case-study-granth-body {
  color: #4a2a17;
}

.case-study-kabhb .case-study-granth-block-title {
  color: #4f1c00;
}

.case-study-kabhb .case-study-granth-logo-card {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(79, 28, 0, 0.35);
}

.case-study-kabhb .case-study-granth-logo-label {
  color: #4f1c00;
}

.case-study-kabhb .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(79, 28, 0, 0.25);
}

.case-study-kabhb .case-study-granth-meta-label {
  color: #4f1c00;
}

.case-study-kabhb .case-study-granth-meta-value {
  color: #4a2a17;
}

.case-study-kabhb .case-study-granth-meta-tag {
  color: #2b1406;
  background: rgba(238, 186, 142, 0.18);
  border-color: rgba(79, 28, 0, 0.35);
}

.case-study-kabhb .case-study-granth-gallery--full img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.case-study-kabhb .case-study-granth-ocs-image img {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(79, 28, 0, 0.4);
}

.case-study-kabhb .case-study-granth-ocs-section {
  border-left-color: rgba(79, 28, 0, 0.7);
}

.case-study-kabhb .case-study-granth-numbered-title {
  color: #2b1406;
}

.case-study-kabhb .case-study-granth-num {
  color: #2b1406;
  background: linear-gradient(135deg, #4f1c00 0%, #d88a4a 100%);
  box-shadow: 0 4px 14px rgba(79, 28, 0, 0.6);
}

.case-study-kabhb .case-study-granth-list {
  color: #4a2a17;
}

.case-study-kabhb .case-study-granth-list li::before {
  background: #4f1c00;
}

.case-study-kabhb .case-study-granth-ticker {
  background: #fff6f0;
  border-top-color: rgba(79, 28, 0, 0.25);
  border-bottom-color: rgba(79, 28, 0, 0.25);
}

.case-study-kabhb .case-study-granth-ticker::before {
  background: linear-gradient(to right, #fff6f0, transparent);
}

.case-study-kabhb .case-study-granth-ticker::after {
  background: linear-gradient(to left, #fff6f0, transparent);
}

.case-study-kabhb .case-study-granth-ticker-inner span {
  color: #4f1c00;
}

.case-study-kabhb .case-study-granth-cta {
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(79, 28, 0, 0.3);
}

.case-study-kabhb .case-study-granth-cta-title {
  color: #2b1406;
}

.case-study-kabhb .case-study-granth-cta-links a {
  color: #2b1406;
  background: #ffcf9e;
  border: 2px solid #ffcf9e;
  box-shadow: 0 4px 14px rgba(79, 28, 0, 0.3);
}

.case-study-kabhb .case-study-granth-cta-links a:hover {
  background: #f2b57b;
  border-color: #f2b57b;
  color: #2b1406;
  box-shadow: 0 6px 20px rgba(79, 28, 0, 0.4);
}

.case-study-kabhb .case-study-granth-cta-sep {
  color: #b47a4f;
}

.case-study-kabhb .case-study-granth-related {
  border-top-color: rgba(79, 28, 0, 0.25);
}

.case-study-kabhb .case-study-granth-related-title {
  color: #2b1406;
}

.case-study-kabhb .case-study-granth-related-title strong {
  color: #4f1c00;
}

.case-study-kabhb .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(79, 28, 0, 0.35);
}

.case-study-kabhb .case-study-granth-related-card:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(79, 28, 0, 0.5);
}

.case-study-kabhb .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(244, 201, 158, 0.35) 45%,
    transparent 100%
  );
}

.case-study-kabhb .case-study-granth-related-card-label {
  color: #2b1406;
}

/* ========== ERP DESIGN STUDIO CASE STUDY THEME — bg #FFFFFF, gradient #A20000 → #2F0000 ========== */
.case-study-erp {
  background: #ffffff;
}

.case-study-erp .case-study-main {
  background: #ffffff;
}

.case-study-erp .case-study-granth-cover-bg {
  background-color: #ffffff;
}

.case-study-erp .case-study-granth-title-block {
  color: #1f0505;
}

.case-study-erp .case-study-granth-project-name {
  color: #a20000;
}

.case-study-erp .case-study-granth-project-tagline {
  color: #5b1a16;
}

.case-study-erp .case-study-granth-breadcrumb a {
  color: #a20000;
}

.case-study-erp .case-study-granth-breadcrumb-sep {
  color: #d88c8c;
}

.case-study-erp .case-study-granth-breadcrumb [aria-current="page"] {
  color: #1f0505;
}

.case-study-erp .case-study-granth-body {
  color: #3f2320;
}

.case-study-erp .case-study-granth-block-title {
  color: #a20000;
}

.case-study-erp .case-study-granth-logo-card {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(162, 0, 0, 0.35);
}

.case-study-erp .case-study-granth-logo-label {
  color: #a20000;
}

.case-study-erp .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(162, 0, 0, 0.3);
}

.case-study-erp .case-study-granth-meta-label {
  color: #a20000;
}

.case-study-erp .case-study-granth-meta-value {
  color: #3f2320;
}

.case-study-erp .case-study-granth-meta-tag {
  color: #1f0505;
  background: rgba(162, 0, 0, 0.08);
  border-color: rgba(162, 0, 0, 0.4);
}

.case-study-erp .case-study-granth-gallery--full img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.case-study-erp .case-study-granth-ocs-image img {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(162, 0, 0, 0.5);
}

.case-study-erp .case-study-granth-ocs-section {
  border-left-color: rgba(162, 0, 0, 0.85);
}

.case-study-erp .case-study-granth-numbered-title {
  color: #1f0505;
}

.case-study-erp .case-study-granth-num {
  color: #ffffff;
  background: linear-gradient(135deg, #a20000 0%, #2f0000 100%);
  box-shadow: 0 4px 14px rgba(162, 0, 0, 0.65);
}

.case-study-erp .case-study-granth-list {
  color: #3f2320;
}

.case-study-erp .case-study-granth-list li::before {
  background: #a20000;
}

.case-study-erp .case-study-granth-ticker {
  background: #fff5f5;
  border-top-color: rgba(162, 0, 0, 0.35);
  border-bottom-color: rgba(47, 0, 0, 0.3);
}

.case-study-erp .case-study-granth-ticker::before {
  background: linear-gradient(to right, #fff5f5, transparent);
}

.case-study-erp .case-study-granth-ticker::after {
  background: linear-gradient(to left, #fff5f5, transparent);
}

.case-study-erp .case-study-granth-ticker-inner span {
  color: #a20000;
}

.case-study-erp .case-study-granth-cta {
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(162, 0, 0, 0.4);
}

.case-study-erp .case-study-granth-cta-title {
  color: #1f0505;
}

.case-study-erp .case-study-granth-cta-links a {
  color: #ffffff;
  background: linear-gradient(135deg, #a20000 0%, #2f0000 100%);
  border: 2px solid #a20000;
  box-shadow: 0 4px 14px rgba(162, 0, 0, 0.45);
}

.case-study-erp .case-study-granth-cta-links a:hover {
  background: linear-gradient(135deg, #8c0000 0%, #220000 100%);
  border-color: #8c0000;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(162, 0, 0, 0.55);
}

.case-study-erp .case-study-granth-cta-sep {
  color: #b87070;
}

.case-study-erp .case-study-granth-related {
  border-top-color: rgba(162, 0, 0, 0.3);
}

.case-study-erp .case-study-granth-related-title {
  color: #1f0505;
}

.case-study-erp .case-study-granth-related-title strong {
  color: #a20000;
}

.case-study-erp .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(162, 0, 0, 0.45);
}

.case-study-erp .case-study-granth-related-card:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(162, 0, 0, 0.7);
}

.case-study-erp .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(162, 0, 0, 0.3) 45%,
    transparent 100%
  );
}

.case-study-erp .case-study-granth-related-card-label {
  color: #1f0505;
}

/* ========== NICOLE TIOVANNI CASE STUDY THEME — bg #FFFFFF, gradient #CE79DD → #B70035 ========== */
.case-study-nicole {
  background: #ffffff;
}

.case-study-nicole .case-study-main {
  background: #ffffff;
}

.case-study-nicole .case-study-granth-cover-bg {
  background-color: #ffffff;
}

.case-study-nicole .case-study-granth-title-block {
  color: #250418;
}

.case-study-nicole .case-study-granth-project-name {
  background: linear-gradient(135deg, #ce79dd 0%, #b70035 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-study-nicole .case-study-granth-project-tagline {
  color: #6f3656;
}

.case-study-nicole .case-study-granth-breadcrumb a {
  color: #b70035;
}

.case-study-nicole .case-study-granth-breadcrumb-sep {
  color: #e2a3d0;
}

.case-study-nicole .case-study-granth-breadcrumb [aria-current="page"] {
  color: #250418;
}

.case-study-nicole .case-study-granth-body {
  color: #3f2234;
}

.case-study-nicole .case-study-granth-block-title {
  color: #b70035;
}

.case-study-nicole .case-study-granth-logo-card {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(206, 121, 221, 0.5);
}

.case-study-nicole .case-study-granth-logo-label {
  color: #b70035;
}

.case-study-nicole .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(206, 121, 221, 0.6);
}

.case-study-nicole .case-study-granth-meta-label {
  color: #b70035;
}

.case-study-nicole .case-study-granth-meta-value {
  color: #3f2234;
}

.case-study-nicole .case-study-granth-meta-tag {
  color: #250418;
  background: rgba(206, 121, 221, 0.18);
  border-color: rgba(183, 0, 53, 0.45);
}

.case-study-nicole .case-study-granth-gallery--full img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.case-study-nicole .case-study-granth-ocs-image img {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(183, 0, 53, 0.4);
}

.case-study-nicole .case-study-granth-ocs-section {
  border-left-color: rgba(183, 0, 53, 0.85);
}

.case-study-nicole .case-study-granth-numbered-title {
  color: #250418;
}

.case-study-nicole .case-study-granth-num {
  color: #ffffff;
  background: linear-gradient(135deg, #ce79dd 0%, #b70035 100%);
  box-shadow: 0 4px 14px rgba(183, 0, 53, 0.65);
}

.case-study-nicole .case-study-granth-list {
  color: #3f2234;
}

.case-study-nicole .case-study-granth-list li::before {
  background: #b70035;
}

.case-study-nicole .case-study-granth-ticker {
  background: #fff4fb;
  border-top-color: rgba(206, 121, 221, 0.6);
  border-bottom-color: rgba(183, 0, 53, 0.4);
}

.case-study-nicole .case-study-granth-ticker::before {
  background: linear-gradient(to right, #fff4fb, transparent);
}

.case-study-nicole .case-study-granth-ticker::after {
  background: linear-gradient(to left, #fff4fb, transparent);
}

.case-study-nicole .case-study-granth-ticker-inner span {
  color: #b70035;
}

.case-study-nicole .case-study-granth-cta {
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(206, 121, 221, 0.6);
}

.case-study-nicole .case-study-granth-cta-title {
  color: #250418;
}

.case-study-nicole .case-study-granth-cta-links a {
  color: #ffffff;
  background: linear-gradient(135deg, #ce79dd 0%, #b70035 100%);
  border: 2px solid #b70035;
  box-shadow: 0 4px 14px rgba(183, 0, 53, 0.5);
}

.case-study-nicole .case-study-granth-cta-links a:hover {
  background: linear-gradient(135deg, #c05acf 0%, #97002c 100%);
  border-color: #97002c;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(183, 0, 53, 0.6);
}

.case-study-nicole .case-study-granth-cta-sep {
  color: #b46aa0;
}

.case-study-nicole .case-study-granth-related {
  border-top-color: rgba(206, 121, 221, 0.6);
}

.case-study-nicole .case-study-granth-related-title {
  color: #250418;
}

.case-study-nicole .case-study-granth-related-title strong {
  color: #b70035;
}

.case-study-nicole .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(206, 121, 221, 0.6);
}

.case-study-nicole .case-study-granth-related-card:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(183, 0, 53, 0.7);
}

.case-study-nicole .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(206, 121, 221, 0.3) 45%,
    transparent 100%
  );
}

.case-study-nicole .case-study-granth-related-card-label {
  color: #250418;
}

/* ========== SERVICES PAGE — NICO ROBIN INSPIRED ========== */
.services-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(225, 206, 255, 0.45), transparent 55%),
    radial-gradient(circle at bottom right, rgba(209, 233, 255, 0.55), transparent 55%),
    #fdfdff;
  background-attachment: fixed;
  color: #1b1230;
}

.services-page .site-header {
  padding-top: 96px;
  background: transparent;
  background-image: none;
}

@media (max-width: 900px) {
  .services-page .btn-menu::before {
    background: #000000;
    box-shadow: 0 7px 0 #000000, 0 14px 0 #000000;
  }
}

.services-page .services-main {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 0;
}

.services-page .services-hero {
  position: relative;
  margin: -96px 0 80px;
  overflow: hidden;
  min-height: 800px;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.services-page .services-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/Service hero banner.png");
  background-size: cover;
  background-position: left top;
  filter: saturate(110%) contrast(105%);
}

.services-page .services-hero-box {
  position: absolute;
  left: 64px;
  bottom: 96px;
  max-width: 880px;
  padding: 40px 44px 40px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  color: #3a210b;
  text-align: left;
  z-index: 2;
}

.services-hero-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a210b;
  margin: 0 0 8px;
}

.services-hero-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 130%;
  letter-spacing: -0.01em;
  margin: 0;
  color: #3a210b;
}

.services-page .services-hero-overlay {
  position: relative;
  padding: 0 64px 64px;
  height: 100%;
}

.services-page .services-hero-glass {
  position: absolute;
  left: 64px;
  bottom: 260px;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  padding: 24px 28px 26px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(207, 186, 255, 0.8);
  z-index: 2;
}

.services-page .services-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a210b;
  margin-bottom: 12px;
  text-align: left;
}

.services-page .services-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 115%;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: #3a210b;
  text-align: left;
}

.services-page .services-title--banner {
  font-size: 40px;
}

.services-page .services-body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 165%;
  letter-spacing: 0.01em;
  color: rgba(23, 14, 49, 0.82);
  margin: 0 0 12px;
}


/* Reuse home page services grid but adapt layout for subpage */
.services-page .services-grid-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.services-page .section-two {
  height: auto;
  background: transparent;
  padding-bottom: 40px;
}

.services-page .section-two-bg {
  display: none;
}

.services-page .services-layer {
  position: static;
  max-width: 1120px;
  padding: 0 0 40px;
}

.services-page .services-title {
  font-size: 42px;
  color: #ffffff;
}

.services-page .services-grid {
  margin-top: 40px;
}

.services-page .btn-know-more {
  margin-top: 8px;
}

/* Detail section — stacked cards similar to 7Span layout */
.services-detail {
  max-width: 1120px;
  margin: 0 auto 96px;
  padding: 0 0 16px;
}

.services-detail-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.services-detail-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #3a210b;
  margin: 0 0 8px;
}

.services-detail-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 130%;
  color: #1b1230;
  margin: 0 0 14px;
}

.services-detail-body {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 170%;
  color: rgba(33, 21, 72, 0.8);
  margin: 0;
}

.services-detail-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid rgba(196, 179, 244, 0.7);
}

.services-detail-row:last-of-type {
  border-bottom: 1px solid rgba(196, 179, 244, 0.7);
}

.services-detail-text {
  flex: 1.15;
  max-width: 560px;
}

/* Contact banner after services ("Seeking Something Else?") */
.services-page .services-contact {
  position: relative;
  margin: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0;
  overflow: hidden;
  background-image: url("../images/Services contact us.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-contact-img {
  display: none;
}

.services-page .services-contact-inner {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 120px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  text-align: center;
}

.services-page .services-contact-text {
  max-width: 560px;
}

.services-page .services-contact-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 130%;
  letter-spacing: -0.01em;
  color: #3a210b;
  margin: 0 0 8px;
}

.services-page .services-contact-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 165%;
  color: #3a210b;
  margin: 0;
}

.services-page .services-contact-btn {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .services-page .services-contact {
    margin: 0;
    background-image: none;
  }

  .services-contact-img {
    display: block;
    width: 100%;
    height: auto;
  }

  .services-page .services-contact-inner {
    position: absolute;
    inset: 0;
    min-height: auto;
    padding: 24px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .services-page .services-contact-title {
    font-size: 26px;
  }

  .services-page .services-contact-subtitle {
    font-size: 14px;
  }

  .services-page .services-contact-btn {
    /* use base .btn-contact sizing */
  }
}

.services-detail-row-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 130%;
  color: #281545;
  margin: 0 0 6px;
}

.services-detail-row-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 150%;
  color: rgba(120, 93, 191, 0.96);
  margin: 0 0 10px;
}

.services-detail-row-body {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 175%;
  color: rgba(47, 33, 92, 0.9);
  margin: 0;
}

.services-detail-tech {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.services-detail-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(206, 187, 253, 0.8);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 232, 255, 0.96));
  box-shadow:
    0 14px 32px rgba(93, 64, 160, 0.18),
    0 0 0 1px rgba(184, 158, 246, 0.7);
}

.services-detail-tech-item {
  padding: 20px 18px 18px;
  border-right: 1px solid rgba(211, 193, 249, 0.7);
  border-bottom: 1px solid rgba(211, 193, 249, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1 / 1;
}

.services-detail-tech-item:nth-child(3n) {
  border-right: none;
}

.services-detail-tech-item img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}

.services-detail-tech-item i {
  font-size: 32px;
  color: #000000;
}

.services-detail-tech-item span {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(69, 45, 130, 0.96);
  text-align: center;
}

@media (max-width: 900px) {
  .services-page .services-main {
    padding: 140px 20px 0;
  }

  .services-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 64px;
  }

  .services-orbit {
    width: 280px;
    height: 280px;
  }

  .services-page .services-layer {
    padding-bottom: 16px;
  }

  .services-page .services-title {
    font-size: 32px;
  }

  .services-detail-row {
    flex-direction: column;
    gap: 24px;
  }

  .services-detail-tech {
    justify-content: flex-start;
  }

  .services-detail-tech-grid {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  /* Hero adjustments for mobile */
  .services-page .services-hero {
    min-height: 634px;
    margin: -235px 0 64px;
  }

  .services-page .services-hero-box {
    left: 20px;
    right: 20px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: none;
    padding: 24px 20px 26px;
    border-radius: 24px;
    text-align: center;
  }

  .services-hero-eyebrow {
    font-size: 14px;
    text-align: center;
  }

  .services-hero-title {
    font-size: 30px;
    line-height: 130%;
    text-align: center;
  }

  .services-page .services-hero-bg {
    background-image: url("../images/mobile  service hero section.png");
    background-size: cover;
    background-position: center top;
  }

  /* Stack service text and tech grid */
  .services-detail-row {
    flex-direction: column;
    gap: 24px;
  }

  .services-detail-tech {
    justify-content: flex-start;
  }

  .services-detail-tech-grid {
    width: 100%;
    max-width: none;
  }
}

/* ============================
   About Page
   ============================ */

.about-page {
  background-color: #050113;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}

/* About page navbar/contact button on dark background */
.about-page .btn-contact,
.about-page .btn-contact .btn-contact-label,
.about-page .btn-contact .btn-contact-label-mobile {
  color: #ffffff;
}

.about-main {
  min-height: 100vh;
}

.about-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* On About page, let hero start from very top so image sits behind navbar */
.about-page .about-hero {
  padding-top: 0;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/about us/About us-hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(5, 1, 19, 0.1), rgba(5, 1, 19, 0.85));
  z-index: -1;
}

.about-hero-content {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.about-hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5f0ff;
  opacity: 0.9;
}

.about-hero-title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-hero-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(248, 243, 255, 0.9);
}

/* About – glass boxes section */

.about-glass-section {
  background: #000000;
  padding: 80px 80px 120px;
}

.about-glass-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.about-glass-card {
  position: relative;
  border-radius: 32px;
  padding: 32px 32px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.9));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 220px;
}

.about-glass-content {
  flex: 1;
}

.about-glass-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}

.about-glass-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(248, 243, 255, 0.9);
  margin: 0;
}

.about-glass-image {
  flex-shrink: 0;
}

.about-glass-image img {
  display: block;
  max-width: 120px;
  height: auto;
}

@media (max-width: 900px) {
  .about-glass-section {
    padding: 64px 24px 96px;
  }

  .about-glass-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-glass-card {
    flex-direction: row;
    align-items: center;
  }
}

.about-story {
  background: #000000;
  padding: 0 0 120px;
}

.about-story-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(248, 243, 255, 0.96);
}

.about-story-image {
  display: block;
  width: 100vw;
  max-width: none;
  margin: 0 0 32px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0;
  box-shadow: none;
}

.about-story-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 32px 0 20px;
  color: #ffffff;
}

.about-story-inner p + p {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .about-story {
    padding: 0 0 96px;
  }
}

/* About page contact glass card */

.services-contact--about {
  background: #000000;
  padding: 40px 24px 80px;
}

.services-contact--about .services-contact-img {
  display: none;
}

.about-contact-card {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 32px;
  padding: 66px 48px;
  min-height: 240px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1),
    rgba(6, 18, 14, 0.98),
    rgba(12, 64, 40, 0.9)
  );
  border: 1px solid rgba(71, 255, 187, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.services-contact--about .services-contact-inner {
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 16px;
}

.services-contact--about .services-contact-text {
  text-align: center;
  margin-bottom: 0;
}

.services-contact--about .services-contact-subtitle {
  margin-top: 10px;
}

.services-contact--about .services-contact-btn {
  margin: 0 auto;
  color: #ffffff;
}

@media (max-width: 768px) {
  .about-contact-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .services-contact--about {
    padding: 32px 16px 64px;
  }
}

.about-intro {
  padding: 80px 80px 120px;
  background: #050113;
}

.about-intro-inner {
  max-width: 720px;
}

.about-intro-inner h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.about-intro-inner p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(248, 243, 255, 0.9);
}

@media (max-width: 900px) {
  .about-hero-content {
    padding: 0 24px 64px;
  }

  .about-hero-title {
    font-size: 36px;
  }

  .about-intro {
    padding: 64px 24px 96px;
  }
}

@media (max-width: 600px) {
  .about-hero {
    min-height: 100vh;
  }

  .about-hero-content {
    padding-top: 24px;
    padding-inline: 0;
  }

  .about-hero-title {
    font-size: 22px;
    letter-spacing: 0.18em; /* tighter, single-line ABOUT US */
  }

  .about-hero-text {
    display: block;
    font-size: 12px;      /* keep original size */
    line-height: 1.4;
    max-width: none;
    width: 100vw;         /* span full viewport width */
    margin: 6px 0 0;
    padding-inline: 6px;  /* very small side margin */
    position: relative;
    left: 50%;
    transform: translateX(-50%); /* center full-width text block */
    text-align: center;
  }

  .about-hero-bg {
    background-position: 30% center; /* between center and left */
  }

  .about-glass-section {
    padding: 40px 16px 64px;
  }

  .about-glass-card {
    padding: 20px 20px;
    border-radius: 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .about-glass-content {
    text-align: center;
  }

  .about-glass-image {
    order: -1; /* show image above text */
    margin-bottom: 4px;
  }

  .about-glass-image img {
    max-width: 96px;
  }

  .about-story-inner {
    font-size: 14px;
    line-height: 1.7;
    padding-inline: 16px;
  }
}

@media (max-width: 640px) {
  .services-detail-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Ensure vertical separator line appears in the middle column on mobile */
  .services-detail-tech-item {
    border-right: 1px solid rgba(211, 193, 249, 0.7);
  }

  .services-detail-tech-item:nth-child(3n) {
    border-right: 1px solid rgba(211, 193, 249, 0.7);
  }

  .services-detail-tech-item:nth-child(2n) {
    border-right: none;
  }
}

/* ========== TEELA MATTHEWS CASE STUDY THEME — bg #FFFFFF, accent #472012 ========== */
.case-study-teela {
  background: #ffffff;
}

.case-study-teela .case-study-main {
  background: #ffffff;
}

.case-study-teela .case-study-granth-cover-bg {
  background-color: #ffffff;
}

.case-study-teela .case-study-granth-title-block {
  color: #1a0d08;
}

.case-study-teela .case-study-granth-project-name {
  color: #472012;
}

.case-study-teela .case-study-granth-project-tagline {
  color: #5c3520;
}

.case-study-teela .case-study-granth-breadcrumb a {
  color: #472012;
}

.case-study-teela .case-study-granth-breadcrumb-sep {
  color: #8b5a3c;
}

.case-study-teela .case-study-granth-breadcrumb [aria-current="page"] {
  color: #1a0d08;
}

.case-study-teela .case-study-granth-body {
  color: #3d2818;
}

.case-study-teela .case-study-granth-block-title {
  color: #472012;
}

.case-study-teela .case-study-granth-logo-card {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(71, 32, 18, 0.35);
}

.case-study-teela .case-study-granth-logo-label {
  color: #472012;
}

.case-study-teela .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(71, 32, 18, 0.4);
}

.case-study-teela .case-study-granth-meta-label {
  color: #472012;
}

.case-study-teela .case-study-granth-meta-value {
  color: #3d2818;
}

.case-study-teela .case-study-granth-meta-tag {
  color: #1a0d08;
  background: rgba(71, 32, 18, 0.1);
  border-color: rgba(71, 32, 18, 0.35);
}

.case-study-teela .case-study-granth-gallery--full img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.case-study-teela .case-study-granth-ocs-image img {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(71, 32, 18, 0.35);
}

.case-study-teela .case-study-granth-ocs-section {
  border-left-color: rgba(71, 32, 18, 0.85);
}

.case-study-teela .case-study-granth-numbered-title {
  color: #1a0d08;
}

.case-study-teela .case-study-granth-num {
  color: #ffffff;
  background: #472012;
  box-shadow: 0 4px 14px rgba(71, 32, 18, 0.5);
}

.case-study-teela .case-study-granth-list {
  color: #3d2818;
}

.case-study-teela .case-study-granth-list li::before {
  background: #472012;
}

.case-study-teela .case-study-granth-ticker {
  background: #faf6f4;
  border-top-color: rgba(71, 32, 18, 0.4);
  border-bottom-color: rgba(71, 32, 18, 0.3);
}

.case-study-teela .case-study-granth-ticker::before {
  background: linear-gradient(to right, #faf6f4, transparent);
}

.case-study-teela .case-study-granth-ticker::after {
  background: linear-gradient(to left, #faf6f4, transparent);
}

.case-study-teela .case-study-granth-ticker-inner span {
  color: #472012;
}

.case-study-teela .case-study-granth-cta {
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(71, 32, 18, 0.35);
}

.case-study-teela .case-study-granth-cta-title {
  color: #1a0d08;
}

.case-study-teela .case-study-granth-cta-links a {
  color: #ffffff;
  background: #472012;
  border: 2px solid #472012;
  box-shadow: 0 4px 14px rgba(71, 32, 18, 0.45);
}

.case-study-teela .case-study-granth-cta-links a:hover {
  background: #5c2d18;
  border-color: #5c2d18;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(71, 32, 18, 0.5);
}

.case-study-teela .case-study-granth-cta-sep {
  color: #8b5a3c;
}

.case-study-teela .case-study-granth-related {
  border-top-color: rgba(71, 32, 18, 0.4);
}

.case-study-teela .case-study-granth-related-title {
  color: #1a0d08;
}

.case-study-teela .case-study-granth-related-title strong {
  color: #472012;
}

.case-study-teela .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(71, 32, 18, 0.35);
}

.case-study-teela .case-study-granth-related-card:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(71, 32, 18, 0.6);
}

.case-study-teela .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(71, 32, 18, 0.15) 45%,
    transparent 100%
  );
}

.case-study-teela .case-study-granth-related-card-label {
  color: #1a0d08;
}

/* ========== SCULPTVA CASE STUDY THEME — bg #FFFFFF, accent #15999B ========== */
.case-study-sculptva {
  background: #ffffff;
}

.case-study-sculptva .case-study-main {
  background: #ffffff;
}

.case-study-sculptva .case-study-granth-cover-bg {
  background-color: #ffffff;
}

.case-study-sculptva .case-study-granth-title-block {
  color: #0b2d30;
}

.case-study-sculptva .case-study-granth-project-name {
  color: #15999b;
}

.case-study-sculptva .case-study-granth-project-tagline {
  color: #276d6f;
}

.case-study-sculptva .case-study-granth-breadcrumb a {
  color: #15999b;
}

.case-study-sculptva .case-study-granth-breadcrumb-sep {
  color: #7cb9ba;
}

.case-study-sculptva .case-study-granth-breadcrumb [aria-current="page"] {
  color: #0b2d30;
}

.case-study-sculptva .case-study-granth-body {
  color: #234244;
}

.case-study-sculptva .case-study-granth-block-title {
  color: #15999b;
}

.case-study-sculptva .case-study-granth-logo-card {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(21, 153, 155, 0.35);
}

.case-study-sculptva .case-study-granth-logo-label {
  color: #15999b;
}

.case-study-sculptva .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(21, 153, 155, 0.35);
}

.case-study-sculptva .case-study-granth-meta-label {
  color: #15999b;
}

.case-study-sculptva .case-study-granth-meta-value {
  color: #234244;
}

.case-study-sculptva .case-study-granth-meta-tag {
  color: #0b2d30;
  background: rgba(21, 153, 155, 0.08);
  border-color: rgba(21, 153, 155, 0.4);
}

.case-study-sculptva .case-study-granth-ocs-image img {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(21, 153, 155, 0.35);
}

.case-study-sculptva .case-study-granth-ocs-section {
  border-left-color: rgba(21, 153, 155, 0.85);
}

.case-study-sculptva .case-study-granth-numbered-title {
  color: #0b2d30;
}

.case-study-sculptva .case-study-granth-num {
  color: #ffffff;
  background: #15999b;
  box-shadow: 0 4px 14px rgba(21, 153, 155, 0.45);
}

.case-study-sculptva .case-study-granth-list {
  color: #234244;
}

.case-study-sculptva .case-study-granth-list li::before {
  background: #15999b;
}

.case-study-sculptva .case-study-granth-ticker {
  background: #f4fbfb;
  border-top-color: rgba(21, 153, 155, 0.35);
  border-bottom-color: rgba(21, 153, 155, 0.28);
}

.case-study-sculptva .case-study-granth-ticker::before {
  background: linear-gradient(to right, #f4fbfb, transparent);
}

.case-study-sculptva .case-study-granth-ticker::after {
  background: linear-gradient(to left, #f4fbfb, transparent);
}

.case-study-sculptva .case-study-granth-ticker-inner span {
  color: #15999b;
}

.case-study-sculptva .case-study-granth-cta {
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(21, 153, 155, 0.35);
}

.case-study-sculptva .case-study-granth-cta-title {
  color: #0b2d30;
}

.case-study-sculptva .case-study-granth-cta-links a {
  color: #ffffff;
  background: #15999b;
  border: 2px solid #15999b;
  box-shadow: 0 4px 14px rgba(21, 153, 155, 0.45);
}

.case-study-sculptva .case-study-granth-cta-links a:hover {
  background: #0f7b7d;
  border-color: #0f7b7d;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(21, 153, 155, 0.55);
}

.case-study-sculptva .case-study-granth-cta-sep {
  color: #7cb9ba;
}

.case-study-sculptva .case-study-granth-related {
  border-top-color: rgba(21, 153, 155, 0.35);
}

.case-study-sculptva .case-study-granth-related-title {
  color: #0b2d30;
}

.case-study-sculptva .case-study-granth-related-title strong {
  color: #15999b;
}

.case-study-sculptva .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(21, 153, 155, 0.35);
}

.case-study-sculptva .case-study-granth-related-card:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(21, 153, 155, 0.55);
}

.case-study-sculptva .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(21, 153, 155, 0.18) 45%,
    transparent 100%
  );
}

.case-study-sculptva .case-study-granth-related-card-label {
  color: #0b2d30;
}

/* ========== TRUXTUN CASE STUDY THEME — bg #F3E0CB, #DBE5ED, #E8DDF0 ========== */
.case-study-truxtun {
  background: radial-gradient(circle at top left, #f3e0cb 0%, #e8ddf0 45%, #dbe5ed 100%);
}

.case-study-truxtun .case-study-main {
  background: transparent;
}

.case-study-truxtun .case-study-granth-cover-bg {
  background-color: #f3e0cb;
}

.case-study-truxtun .case-study-granth-title-block {
  color: #1f2230;
}

.case-study-truxtun .case-study-granth-project-name {
  color: #1f2230;
}

.case-study-truxtun .case-study-granth-project-tagline {
  color: #5f6578;
}

.case-study-truxtun .case-study-granth-breadcrumb a {
  color: #4b5672;
}

.case-study-truxtun .case-study-granth-breadcrumb-sep {
  color: #9fa7bf;
}

.case-study-truxtun .case-study-granth-breadcrumb [aria-current="page"] {
  color: #1f2230;
}

.case-study-truxtun .case-study-granth-body {
  color: #33374a;
}

.case-study-truxtun .case-study-granth-block-title {
  color: #4b5672;
}

.case-study-truxtun .case-study-granth-logo-card {
  background: #ffffff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(75, 86, 114, 0.16);
}

.case-study-truxtun .case-study-granth-logo-label {
  color: #4b5672;
}

.case-study-truxtun .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(75, 86, 114, 0.28);
}

.case-study-truxtun .case-study-granth-meta-label {
  color: #4b5672;
}

.case-study-truxtun .case-study-granth-meta-value {
  color: #33374a;
}

.case-study-truxtun .case-study-granth-meta-tag {
  color: #1f2230;
  background: rgba(219, 229, 237, 0.6);
  border-color: rgba(75, 86, 114, 0.32);
}

.case-study-truxtun .case-study-granth-gallery--full img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.case-study-truxtun .case-study-granth-ocs-image img {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(75, 86, 114, 0.24);
}

.case-study-truxtun .case-study-granth-ocs-section {
  border-left-color: rgba(75, 86, 114, 0.85);
}

.case-study-truxtun .case-study-granth-numbered-title {
  color: #1f2230;
}

.case-study-truxtun .case-study-granth-num {
  color: #ffffff;
  background: linear-gradient(135deg, #e8ddf0 0%, #4b5672 100%);
  box-shadow: 0 4px 16px rgba(75, 86, 114, 0.6);
}

.case-study-truxtun .case-study-granth-list {
  color: #33374a;
}

.case-study-truxtun .case-study-granth-list li::before {
  background: #4b5672;
}

.case-study-truxtun .case-study-granth-ticker {
  background: #f6f2fb;
  border-top-color: rgba(75, 86, 114, 0.2);
  border-bottom-color: rgba(75, 86, 114, 0.2);
}

.case-study-truxtun .case-study-granth-ticker::before {
  background: linear-gradient(to right, #f6f2fb, transparent);
}

.case-study-truxtun .case-study-granth-ticker::after {
  background: linear-gradient(to left, #f6f2fb, transparent);
}

.case-study-truxtun .case-study-granth-ticker-inner span {
  color: #4b5672;
}

.case-study-truxtun .case-study-granth-cta {
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(75, 86, 114, 0.22);
}

.case-study-truxtun .case-study-granth-cta-title {
  color: #1f2230;
}

.case-study-truxtun .case-study-granth-cta-links a {
  color: #ffffff;
  background: linear-gradient(135deg, #4b5672 0%, #e8b38d 100%);
  border: 2px solid #4b5672;
  box-shadow: 0 4px 14px rgba(75, 86, 114, 0.55);
}

.case-study-truxtun .case-study-granth-cta-links a:hover {
  background: linear-gradient(135deg, #3b455d 0%, #d79d6b 100%);
  border-color: #3b455d;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(75, 86, 114, 0.65);
}

.case-study-truxtun .case-study-granth-cta-sep {
  color: #9fa7bf;
}

.case-study-truxtun .case-study-granth-related {
  border-top-color: rgba(75, 86, 114, 0.28);
}

.case-study-truxtun .case-study-granth-related-title {
  color: #1f2230;
}

.case-study-truxtun .case-study-granth-related-title strong {
  color: #4b5672;
}

.case-study-truxtun .case-study-granth-related-card {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(75, 86, 114, 0.22);
}

.case-study-truxtun .case-study-granth-related-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(75, 86, 114, 0.3);
}

.case-study-truxtun .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(219, 229, 237, 0.5) 40%,
    transparent 100%
  );
}

.case-study-truxtun .case-study-granth-related-card-label {
  color: #1f2230;
}

/* ========== LEDGER AI CASE STUDY THEME — bg #000B26, accent gradient #00D8FF → #0080FF ========== */
.case-study-ledger {
  background: #000b26;
}

.case-study-ledger .case-study-main {
  background: #000b26;
}

.case-study-ledger .case-study-granth-cover-bg {
  background-color: #000b26;
}

.case-study-ledger .case-study-granth-title-block {
  color: #eaf6ff;
}

.case-study-ledger .case-study-granth-project-name {
  background: linear-gradient(90deg, #00d8ff 0%, #0080ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-study-ledger .case-study-granth-project-tagline {
  color: #9fb6d9;
}

.case-study-ledger .case-study-granth-breadcrumb a {
  color: #00d8ff;
}

.case-study-ledger .case-study-granth-breadcrumb-sep {
  color: #3b4d7a;
}

.case-study-ledger .case-study-granth-breadcrumb [aria-current="page"] {
  color: #eaf6ff;
}

.case-study-ledger .case-study-granth-body {
  color: #c0d4f2;
}

.case-study-ledger .case-study-granth-block-title {
  color: #00d8ff;
}

.case-study-ledger .case-study-granth-logo-card {
  background: radial-gradient(circle at 0% 0%, rgba(0, 216, 255, 0.28), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0, 128, 255, 0.32), transparent 55%), #020715;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 216, 255, 0.5);
}

.case-study-ledger .case-study-granth-logo-label {
  color: #eaf6ff;
}

.case-study-ledger .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(0, 216, 255, 0.6);
}

.case-study-ledger .case-study-granth-meta-label {
  color: #00d8ff;
}

.case-study-ledger .case-study-granth-meta-value {
  color: #c0d4f2;
}

.case-study-ledger .case-study-granth-meta-tag {
  color: #001022;
  background: linear-gradient(135deg, #00d8ff 0%, #0080ff 100%);
  border-color: rgba(0, 216, 255, 0.8);
}

.case-study-ledger .case-study-granth-gallery--full img {
  width: 100%;
  display: block;
  border-radius: 32px;
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 216, 255, 0.55);
}

.case-study-ledger .case-study-granth-ocs-image img {
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 216, 255, 0.55);
}

.case-study-ledger .case-study-granth-ocs-section {
  border-left-color: rgba(0, 216, 255, 0.9);
}

.case-study-ledger .case-study-granth-numbered-title {
  color: #eaf6ff;
}

.case-study-ledger .case-study-granth-num {
  color: #001022;
  background: linear-gradient(135deg, #00d8ff 0%, #0080ff 100%);
  box-shadow: 0 4px 18px rgba(0, 216, 255, 0.7);
}

.case-study-ledger .case-study-granth-list {
  color: #c0d4f2;
}

.case-study-ledger .case-study-granth-list li::before {
  background: #00d8ff;
}

.case-study-ledger .case-study-granth-ticker {
  background: #000b26;
  border-top-color: rgba(0, 216, 255, 0.7);
  border-bottom-color: rgba(0, 128, 255, 0.7);
}

.case-study-ledger .case-study-granth-ticker::before {
  background: linear-gradient(to right, #000b26, transparent);
}

.case-study-ledger .case-study-granth-ticker::after {
  background: linear-gradient(to left, #000b26, transparent);
}

.case-study-ledger .case-study-granth-ticker-inner span {
  color: #00d8ff;
}

.case-study-ledger .case-study-granth-cta {
  background: radial-gradient(circle at 0% 0%, rgba(0, 216, 255, 0.24), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0, 128, 255, 0.28), transparent 55%), #020715;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 216, 255, 0.5);
}

.case-study-ledger .case-study-granth-cta-title {
  color: #eaf6ff;
}

.case-study-ledger .case-study-granth-cta-links a {
  color: #001022;
  background: linear-gradient(90deg, #00d8ff 0%, #0080ff 100%);
  border: 2px solid rgba(0, 216, 255, 0.9);
  box-shadow: 0 4px 14px rgba(0, 128, 255, 0.6);
}

.case-study-ledger .case-study-granth-cta-links a:hover {
  background: linear-gradient(90deg, #00b5e0 0%, #0066d4 100%);
  color: #ffffff;
  border-color: #00d8ff;
  box-shadow: 0 6px 20px rgba(0, 128, 255, 0.7);
}

.case-study-ledger .case-study-granth-cta-sep {
  color: #3b4d7a;
}

.case-study-ledger .case-study-granth-related {
  border-top-color: rgba(0, 216, 255, 0.7);
}

.case-study-ledger .case-study-granth-related-title {
  color: #eaf6ff;
}

.case-study-ledger .case-study-granth-related-title strong {
  color: #00d8ff;
}

.case-study-ledger .case-study-granth-related-card {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 128, 255, 0.7);
}

.case-study-ledger .case-study-granth-related-card:hover {
  box-shadow: 0 22px 64px rgba(0, 128, 255, 0.6), 0 0 0 1px rgba(0, 216, 255, 0.9);
}

.case-study-ledger .case-study-granth-related-card::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 11, 38, 0.92) 45%,
    transparent 100%
  );
}

.case-study-ledger .case-study-granth-related-card-label {
  color: #eaf6ff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}


/* ========== GOAT NETWORK CASE STUDY THEME — bg #000000, accent #FFE900 ========== */
.case-study-goat {
  background: #000000;
}

.case-study-goat .case-study-main {
  background: #000000;
}

.case-study-goat .case-study-granth-cover-bg {
  background-color: #000000;
}

.case-study-goat .case-study-granth-title-block {
  color: #f8f8f8;
}

.case-study-goat .case-study-granth-project-name {
  color: #FFE900;
}

.case-study-goat .case-study-granth-project-tagline {
  color: #b3b3b3;
}

.case-study-goat .case-study-granth-breadcrumb a {
  color: #FFE900;
}

.case-study-goat .case-study-granth-breadcrumb-sep {
  color: #555555;
}

.case-study-goat .case-study-granth-breadcrumb [aria-current="page"] {
  color: #f8f8f8;
}

.case-study-goat .case-study-granth-body {
  color: #d0d0d0;
}

.case-study-goat .case-study-granth-block-title {
  color: #FFE900;
}

.case-study-goat .case-study-granth-logo-card {
  background: #050505;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 233, 0, 0.4);
}

.case-study-goat .case-study-granth-logo-label {
  color: #FFE900;
}

.case-study-goat .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(255, 233, 0, 0.45);
}

.case-study-goat .case-study-granth-meta-label {
  color: #FFE900;
}

.case-study-goat .case-study-granth-meta-value {
  color: #e0e0e0;
}

.case-study-goat .case-study-granth-meta-tag {
  color: #000000;
  background: #FFE900;
  border-color: #FFE900;
}

.case-study-goat .case-study-granth-ocs-image img {
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 233, 0, 0.5);
}

.case-study-goat .case-study-granth-ocs-image video {
  border-radius: 0;
  box-shadow: none;
}

.case-study-goat .case-study-granth-ocs-image {
  max-width: 360px;
  margin-left: 0;
}

.case-study-goat .case-study-granth-ocs-section {
  border-left-color: rgba(255, 233, 0, 0.85);
}

.case-study-goat .case-study-granth-numbered-title {
  color: #f8f8f8;
}

.case-study-goat .case-study-granth-num {
  color: #000000;
  background: linear-gradient(135deg, #FFE900 0%, #d8c200 100%);
  box-shadow: 0 4px 18px rgba(255, 233, 0, 0.7);
}

.case-study-goat .case-study-granth-list {
  color: #d0d0d0;
}

.case-study-goat .case-study-granth-list li::before {
  background: #FFE900;
}

.case-study-goat .case-study-granth-gallery-row img {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 233, 0, 0.55);
}

.case-study-goat .case-study-granth-gallery-row img:hover {
  box-shadow: 0 20px 60px rgba(255, 233, 0, 0.45), 0 0 0 1px rgba(255, 233, 0, 0.7);
}

.case-study-goat .case-study-granth-ticker {
  background: #000000;
  border-top-color: rgba(255, 233, 0, 0.65);
  border-bottom-color: rgba(255, 233, 0, 0.65);
}

.case-study-goat .case-study-granth-ticker::before {
  background: linear-gradient(to right, #000000, transparent);
}

.case-study-goat .case-study-granth-ticker::after {
  background: linear-gradient(to left, #000000, transparent);
}

.case-study-goat .case-study-granth-ticker-inner span {
  color: #FFE900;
}

.case-study-goat .case-study-granth-cta {
  background: #050505;
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 233, 0, 0.5);
}

.case-study-goat .case-study-granth-cta-title {
  color: #f8f8f8;
}

.case-study-goat .case-study-granth-cta-links a {
  color: #000000;
  background: #FFE900;
  border: 2px solid #FFE900;
  box-shadow: 0 4px 14px rgba(255, 233, 0, 0.45);
}

.case-study-goat .case-study-granth-cta-links a:hover {
  background: #d8c200;
  color: #000000;
  border-color: #d8c200;
  box-shadow: 0 6px 20px rgba(255, 233, 0, 0.55);
}

.case-study-goat .case-study-granth-cta-sep {
  color: #555555;
}

.case-study-goat .case-study-granth-related {
  border-top-color: rgba(255, 233, 0, 0.7);
}

.case-study-goat .case-study-granth-related-title {
  color: #f8f8f8;
}

.case-study-goat .case-study-granth-related-title strong {
  color: #FFE900;
}

.case-study-goat .case-study-granth-related-card {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 233, 0, 0.6);
}

.case-study-goat .case-study-granth-related-card:hover {
  box-shadow: 0 22px 64px rgba(255, 233, 0, 0.4), 0 0 0 1px rgba(255, 233, 0, 0.8);
}

.case-study-goat .case-study-granth-related-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.8) 45%, transparent 100%);
}

.case-study-goat .case-study-granth-related-card:hover::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 55%, transparent 100%);
}

.case-study-goat .case-study-granth-related-card-label {
  color: #FFE900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* ========== BIDSMART CASE STUDY THEME — bg gradient #000000 → #001B21, accent gradient #00BCA7 → #0885FE ========== */
.case-study-bidsmart {
  background: linear-gradient(90deg, #000000 0%, #001B21 100%);
}

.case-study-bidsmart .case-study-main {
  background: transparent;
}

.case-study-bidsmart .case-study-granth-cover-bg {
  background-image: linear-gradient(90deg, #000000 0%, #001B21 100%);
}

.case-study-bidsmart .case-study-granth-title-block {
  color: #e4f8ff;
}

.case-study-bidsmart .case-study-granth-project-name {
  background: linear-gradient(90deg, #00BCA7 0%, #0885FE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-study-bidsmart .case-study-granth-project-tagline {
  color: #9fd3df;
}

.case-study-bidsmart .case-study-granth-breadcrumb a {
  color: #00BCA7;
}

.case-study-bidsmart .case-study-granth-breadcrumb-sep {
  color: #4a6a73;
}

.case-study-bidsmart .case-study-granth-breadcrumb [aria-current="page"] {
  color: #e4f8ff;
}

.case-study-bidsmart .case-study-granth-body {
  color: #c8dfe6;
}

.case-study-bidsmart .case-study-granth-block-title {
  color: #00BCA7;
}

.case-study-bidsmart .case-study-granth-logo-card {
  background: radial-gradient(circle at 0% 0%, rgba(8, 133, 254, 0.3), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(0, 188, 167, 0.35), transparent 55%),
              #020b10;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 188, 167, 0.4);
}

.case-study-bidsmart .case-study-granth-logo-label {
  color: #e4f8ff;
}

.case-study-bidsmart .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(8, 133, 254, 0.5);
}

.case-study-bidsmart .case-study-granth-meta-label {
  color: #00BCA7;
}

.case-study-bidsmart .case-study-granth-meta-value {
  color: #d5e6ec;
}

.case-study-bidsmart .case-study-granth-meta-tag {
  color: #e4f8ff;
  background: radial-gradient(circle at 0% 0%, #00BCA7 0%, #0885FE 100%);
  border-color: rgba(8, 133, 254, 0.7);
}

.case-study-bidsmart .case-study-granth-ocs-image img {
  box-shadow: none;
  display: block;
  transform-origin: center center;
  animation: bidsmart-side-fade 9s ease-in-out infinite alternate;
}

@keyframes bidsmart-side-fade {
  0% {
    opacity: 0.85;
    transform: translateY(4px) scale(0.99);
  }
  50% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0.9;
    transform: translateY(-4px) scale(1.01);
  }
}

.case-study-bidsmart .case-study-granth-ocs-section {
  border-left-color: rgba(0, 188, 167, 0.7);
}

.case-study-bidsmart .case-study-granth-numbered-title {
  color: #e4f8ff;
}

.case-study-bidsmart .case-study-granth-num {
  color: #001015;
  background: linear-gradient(135deg, #00BCA7 0%, #0885FE 100%);
  box-shadow: 0 4px 18px rgba(8, 133, 254, 0.6);
}

.case-study-bidsmart .case-study-granth-list {
  color: #c8dfe6;
}

.case-study-bidsmart .case-study-granth-list li::before {
  background: #00BCA7;
}

.case-study-bidsmart .case-study-granth-gallery-row img {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(8, 133, 254, 0.55);
}

.case-study-bidsmart .case-study-granth-gallery-row img:hover {
  box-shadow: 0 20px 60px rgba(8, 133, 254, 0.45), 0 0 0 1px rgba(8, 133, 254, 0.75);
}

.case-study-bidsmart .case-study-granth-ticker {
  background: linear-gradient(90deg, #000000 0%, #001B21 100%);
  border-top-color: rgba(0, 188, 167, 0.6);
  border-bottom-color: rgba(8, 133, 254, 0.6);
}

.case-study-bidsmart .case-study-granth-ticker::before {
  background: linear-gradient(to right, #000000, transparent);
}

.case-study-bidsmart .case-study-granth-ticker::after {
  background: linear-gradient(to left, #001B21, transparent);
}

.case-study-bidsmart .case-study-granth-ticker-inner span {
  color: #00BCA7;
}

.case-study-bidsmart .case-study-granth-cta {
  background: radial-gradient(circle at 0% 0%, rgba(0, 188, 167, 0.22), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(8, 133, 254, 0.22), transparent 55%),
              #020b10;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(8, 133, 254, 0.5);
}

.case-study-bidsmart .case-study-granth-cta-title {
  color: #e4f8ff;
}

.case-study-bidsmart .case-study-granth-cta-links a {
  color: #ffffff;
  background: linear-gradient(90deg, #00BCA7 0%, #0885FE 100%);
  border: 2px solid rgba(0, 188, 167, 0.9);
  box-shadow: 0 4px 14px rgba(8, 133, 254, 0.4);
}

.case-study-bidsmart .case-study-granth-cta-links a:hover {
  background: linear-gradient(90deg, #00a090 0%, #0670d4 100%);
  color: #ffffff;
  border-color: #00BCA7;
  box-shadow: 0 6px 20px rgba(8, 133, 254, 0.5);
}

.case-study-bidsmart .case-study-granth-cta-sep {
  color: #4a6a73;
}

.case-study-bidsmart .case-study-granth-related {
  border-top-color: rgba(8, 133, 254, 0.65);
}

.case-study-bidsmart .case-study-granth-related-title {
  color: #e4f8ff;
}

.case-study-bidsmart .case-study-granth-related-title strong {
  color: #00BCA7;
}

.case-study-bidsmart .case-study-granth-related-card {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(8, 133, 254, 0.6);
}

.case-study-bidsmart .case-study-granth-related-card:hover {
  box-shadow: 0 22px 64px rgba(8, 133, 254, 0.5), 0 0 0 1px rgba(0, 188, 167, 0.8);
}

.case-study-bidsmart .case-study-granth-related-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 27, 33, 0.9) 45%, transparent 100%);
}

.case-study-bidsmart .case-study-granth-related-card:hover::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 27, 33, 0.8) 55%, transparent 100%);
}

.case-study-bidsmart .case-study-granth-related-card-label {
  color: #e4f8ff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* ========== BLACKCHAIN FOUNDATION CASE STUDY THEME — black bg, golden gradient & lines ========== */
.case-study-blackchain {
  background: #000000;
}

.case-study-blackchain .case-study-main {
  background: #000000;
}

.case-study-blackchain .case-study-granth-cover-bg {
  background-color: #000000;
}

.case-study-blackchain .case-study-granth-title-block {
  color: #f0ebe0;
}

.case-study-blackchain .case-study-granth-project-name {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-study-blackchain .case-study-granth-project-tagline {
  color: #b8a878;
}

.case-study-blackchain .case-study-granth-breadcrumb a {
  color: #FFD700;
}

.case-study-blackchain .case-study-granth-breadcrumb-sep {
  color: #666;
}

.case-study-blackchain .case-study-granth-breadcrumb [aria-current="page"] {
  color: #f0ebe0;
}

.case-study-blackchain .case-study-granth-body {
  color: #d8d0c0;
}

.case-study-blackchain .case-study-granth-block-title {
  color: #FFD700;
}

.case-study-blackchain .case-study-granth-logo-card {
  background: #0a0a0a;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 175, 55, 0.5);
}

.case-study-blackchain .case-study-granth-logo-label {
  color: #FFD700;
}

.case-study-blackchain .case-study-granth-intro-content .case-study-granth-meta {
  border-top: 1px solid rgba(212, 175, 55, 0.4);
}

.case-study-blackchain .case-study-granth-meta-label {
  color: #D4AF37;
}

.case-study-blackchain .case-study-granth-meta-value {
  color: #e0d8c8;
}

.case-study-blackchain .case-study-granth-meta-tag {
  color: #000000;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  border: 1px solid rgba(212, 175, 55, 0.6);
}

/* BlackChain — large side image like DeepBot/Goat */
.case-study-blackchain .case-study-granth-ocs {
  grid-template-columns: 380px 1fr;
}

.case-study-blackchain .case-study-granth-ocs-image {
  max-width: 380px;
  margin-left: 0;
}

.case-study-blackchain .case-study-granth-ocs-image img {
  border-radius: 0;
  box-shadow: none;
}

.case-study-blackchain .case-study-granth-ocs-section {
  border-left: 3px solid rgba(212, 175, 55, 0.6);
}

.case-study-blackchain .case-study-granth-numbered-title {
  color: #f0ebe0;
}

.case-study-blackchain .case-study-granth-num {
  color: #000000;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
}

.case-study-blackchain .case-study-granth-list {
  color: #d8d0c0;
}

.case-study-blackchain .case-study-granth-list li::before {
  background: #FFD700;
}

.case-study-blackchain .case-study-granth-gallery-row img {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(212, 175, 55, 0.5);
}

.case-study-blackchain .case-study-granth-gallery-row img:hover {
  box-shadow: 0 20px 56px rgba(255, 215, 0, 0.35), 0 0 0 1px rgba(255, 215, 0, 0.65);
}

.case-study-blackchain .case-study-granth-ticker {
  background: #000000;
  border-top: 2px solid rgba(212, 175, 55, 0.55);
  border-bottom: 2px solid rgba(212, 175, 55, 0.55);
}

.case-study-blackchain .case-study-granth-ticker::before {
  background: linear-gradient(to right, #000000, transparent);
}

.case-study-blackchain .case-study-granth-ticker::after {
  background: linear-gradient(to left, #000000, transparent);
}

.case-study-blackchain .case-study-granth-ticker-inner span {
  color: #FFD700;
}

.case-study-blackchain .case-study-granth-cta {
  background: #0a0a0a;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(212, 175, 55, 0.45);
}

.case-study-blackchain .case-study-granth-cta-title {
  color: #f0ebe0;
}

.case-study-blackchain .case-study-granth-cta-links a {
  color: #1a1500;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  border: 2px solid rgba(255, 215, 0, 0.8);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.35);
}

.case-study-blackchain .case-study-granth-cta-links a:hover {
  background: linear-gradient(135deg, #FFD700 0%, #FFE44D 100%);
  color: #1a1500;
  border-color: #FFD700;
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
}

.case-study-blackchain .case-study-granth-cta-sep {
  color: #666;
}

.case-study-blackchain .case-study-granth-related {
  border-top: 2px solid rgba(212, 175, 55, 0.5);
}

.case-study-blackchain .case-study-granth-related-title {
  color: #f0ebe0;
}

.case-study-blackchain .case-study-granth-related-title strong {
  color: #FFD700;
}

.case-study-blackchain .case-study-granth-related-card {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(212, 175, 55, 0.5);
}

.case-study-blackchain .case-study-granth-related-card:hover {
  box-shadow: 0 22px 60px rgba(255, 215, 0, 0.3), 0 0 0 1px rgba(255, 215, 0, 0.7);
}

.case-study-blackchain .case-study-granth-related-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(212, 175, 55, 0.15) 50%, transparent 100%);
}

.case-study-blackchain .case-study-granth-related-card:hover::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(255, 215, 0, 0.2) 60%, transparent 100%);
}

.case-study-blackchain .case-study-granth-related-card-label {
  color: #FFD700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* ========== WAYIN CASE STUDY THEME — white bg, gradient #45ACB2 → #57B67E ========== */
.case-study-wayin {
  background: #ffffff;
}

.case-study-wayin .case-study-main {
  background: #ffffff;
}

.case-study-wayin .case-study-granth-cover-bg {
  background-color: #ffffff;
}

.case-study-wayin .case-study-granth-project-name {
  background: linear-gradient(135deg, #45ACB2 0%, #57B67E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-study-wayin .case-study-granth-breadcrumb a {
  color: #45ACB2;
}

.case-study-wayin .case-study-granth-block-title {
  color: #45ACB2;
}

.case-study-wayin .case-study-granth-logo-card {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(69, 172, 178, 0.25);
}

.case-study-wayin .case-study-granth-logo-label {
  color: #45ACB2;
}

.case-study-wayin .case-study-granth-intro-content .case-study-granth-meta {
  border-top-color: rgba(69, 172, 178, 0.3);
}

.case-study-wayin .case-study-granth-meta-label {
  color: #45ACB2;
}

.case-study-wayin .case-study-granth-meta-tag {
  color: #2d7a7e;
  background: rgba(69, 172, 178, 0.1);
  border-color: rgba(69, 172, 178, 0.35);
}

.case-study-wayin .case-study-granth-ocs-image img {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(69, 172, 178, 0.2);
}

.case-study-wayin .case-study-granth-ocs-section {
  border-left-color: rgba(69, 172, 178, 0.5);
}

.case-study-wayin .case-study-granth-num {
  color: #fff;
  background: linear-gradient(135deg, #45ACB2 0%, #57B67E 100%);
  box-shadow: 0 4px 14px rgba(69, 172, 178, 0.4);
}

.case-study-wayin .case-study-granth-list li::before {
  background: #57B67E;
}

.case-study-wayin .case-study-granth-gallery-row img {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(69, 172, 178, 0.2);
}

.case-study-wayin .case-study-granth-gallery-row img:hover {
  box-shadow: 0 16px 48px rgba(87, 182, 126, 0.25), 0 0 0 1px rgba(69, 172, 178, 0.3);
}

.case-study-wayin .case-study-granth-ticker {
  background: #ffffff;
  border-top-color: rgba(69, 172, 178, 0.35);
  border-bottom-color: rgba(69, 172, 178, 0.35);
}

.case-study-wayin .case-study-granth-ticker::before {
  background: linear-gradient(to right, #ffffff, transparent);
}

.case-study-wayin .case-study-granth-ticker::after {
  background: linear-gradient(to left, #ffffff, transparent);
}

.case-study-wayin .case-study-granth-ticker-inner span {
  color: #45ACB2;
}

.case-study-wayin .case-study-granth-cta {
  background: #f8fcf9;
  box-shadow: 0 8px 40px rgba(69, 172, 178, 0.1), 0 0 0 1px rgba(69, 172, 178, 0.15);
}

.case-study-wayin .case-study-granth-cta-links a {
  color: #fff;
  background: linear-gradient(135deg, #45ACB2 0%, #57B67E 100%);
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(69, 172, 178, 0.35);
}

.case-study-wayin .case-study-granth-cta-links a:hover {
  background: linear-gradient(135deg, #3a959a 0%, #4a9d68 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(69, 172, 178, 0.45);
}

.case-study-wayin .case-study-granth-related {
  border-top-color: rgba(69, 172, 178, 0.25);
}

.case-study-wayin .case-study-granth-related-title strong {
  color: #45ACB2;
}

.case-study-wayin .case-study-granth-related-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(69, 172, 178, 0.2);
}

.case-study-wayin .case-study-granth-related-card:hover {
  box-shadow: 0 20px 48px rgba(87, 182, 126, 0.2), 0 0 0 1px rgba(69, 172, 178, 0.35);
}

.case-study-wayin .case-study-granth-related-card::after {
  background: linear-gradient(to top, rgba(45, 122, 126, 0.85) 0%, rgba(69, 172, 178, 0.2) 50%, transparent 100%);
}

.case-study-wayin .case-study-granth-related-card:hover::after {
  background: linear-gradient(to top, rgba(45, 122, 126, 0.9) 0%, rgba(87, 182, 126, 0.25) 60%, transparent 100%);
}

/* ========== DEFENCE THEME — 3D + Parallax ========== */
.case-study-defence {
  background: #0a0f0a;
  color: #e8ebe8;
  overflow-x: hidden;
}

/* Dark navbar on defence case study */
.case-study-defence .navbar--scrolled {
  background: rgba(10, 15, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(100, 140, 90, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.case-study-defence .navbar-logo .logo-desktop {
  display: none;
}
.case-study-defence .navbar-logo .logo-mobile {
  display: block !important;
  width: auto;
  height: 40px;
  object-fit: contain;
}

/* Case study subpages: white logo on dark background, black logo on light */
.case-study-deepbot .navbar-logo .logo-desktop,
.case-study-infanity .navbar-logo .logo-desktop,
.case-study-alpha .navbar-logo .logo-desktop,
.case-study-goat .navbar-logo .logo-desktop,
.case-study-bidsmart .navbar-logo .logo-desktop,
.case-study-blackchain .navbar-logo .logo-desktop,
.case-study-ledger .navbar-logo .logo-desktop {
  display: none;
}
.case-study-deepbot .navbar-logo .logo-mobile,
.case-study-infanity .navbar-logo .logo-mobile,
.case-study-alpha .navbar-logo .logo-mobile,
.case-study-goat .navbar-logo .logo-mobile,
.case-study-bidsmart .navbar-logo .logo-mobile,
.case-study-blackchain .navbar-logo .logo-mobile,
.case-study-ledger .navbar-logo .logo-mobile {
  display: block !important;
}

.case-study-defence .btn-menu,
.case-study-defence .btn-contact,
.case-study-defence .btn-contact .btn-contact-label {
  color: #c8d4c4;
}

.case-study-defence .btn-menu:hover,
.case-study-defence .btn-contact:hover {
  color: #b8d4a8;
}

/* Dark case studies with white logo — keep nav buttons white */
.case-study-deepbot .btn-menu,
.case-study-deepbot .btn-contact,
.case-study-deepbot .btn-contact .btn-contact-label,
.case-study-infanity .btn-menu,
.case-study-infanity .btn-contact,
.case-study-infanity .btn-contact .btn-contact-label,
.case-study-alpha .btn-menu,
.case-study-alpha .btn-contact,
.case-study-alpha .btn-contact .btn-contact-label,
.case-study-goat .btn-menu,
.case-study-goat .btn-contact,
.case-study-goat .btn-contact .btn-contact-label,
.case-study-bidsmart .btn-menu,
.case-study-bidsmart .btn-contact,
.case-study-bidsmart .btn-contact .btn-contact-label,
.case-study-blackchain .btn-menu,
.case-study-blackchain .btn-contact,
.case-study-blackchain .btn-contact .btn-contact-label,
.case-study-ledger .btn-menu,
.case-study-ledger .btn-contact,
.case-study-ledger .btn-contact .btn-contact-label {
  color: #ffffff;
}

.case-study-deepbot .btn-menu:hover,
.case-study-deepbot .btn-contact:hover,
.case-study-infanity .btn-menu:hover,
.case-study-infanity .btn-contact:hover,
.case-study-alpha .btn-menu:hover,
.case-study-alpha .btn-contact:hover,
.case-study-goat .btn-menu:hover,
.case-study-goat .btn-contact:hover,
.case-study-bidsmart .btn-menu:hover,
.case-study-bidsmart .btn-contact:hover,
.case-study-blackchain .btn-menu:hover,
.case-study-blackchain .btn-contact:hover {
  color: #ffffff;
}

.case-study-defence .case-study-main {
  max-width: 860px;
  padding: 140px 24px 100px;
  perspective: 1200px;
}

/* Parallax background layers */
.case-study-defence .case-study-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.case-study-defence .case-study-bg-layer {
  position: absolute;
  inset: -20%;
  will-change: transform;
}

.case-study-defence .case-study-bg-layer--far {
  background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(20, 45, 20, 0.5) 0%, transparent 55%),
    linear-gradient(180deg, #0d1810 0%, #0a0f0a 100%);
  opacity: 0.9;
}

.case-study-defence .case-study-bg-layer--mid {
  background: radial-gradient(ellipse 80% 50% at 70% 60%, rgba(40, 70, 35, 0.25) 0%, transparent 50%);
}

.case-study-defence .case-study-bg-layer--near {
  background: radial-gradient(ellipse 60% 40% at 30% 80%, rgba(60, 90, 50, 0.15) 0%, transparent 45%);
}

.case-study-defence .case-study-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(60, 90, 50, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 90, 50, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.case-study-defence .case-study-hero {
  text-align: center;
  margin-bottom: 56px;
}

.case-study-defence .case-study-label {
  color: #b8d4a8;
  letter-spacing: 0.2em;
}

.case-study-defence .case-study-industry {
  color: #8fa87e;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study-defence .case-study-title {
  color: #f0f4ef;
  font-size: 38px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.case-study-defence .case-study-tag {
  border-color: rgba(140, 180, 120, 0.4);
  background: rgba(20, 40, 20, 0.6);
  color: #b8d4a8;
}

/* 3D hero image with frame */
.case-study-defence .case-study-hero-image {
  position: relative;
  margin: 0 0 64px;
  border-radius: 20px;
  overflow: visible;
  transform-style: preserve-3d;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(100, 140, 90, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.case-study-defence .case-study-hero-image .case-study-image-frame {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(140, 180, 120, 0.3);
  border-radius: 24px;
  pointer-events: none;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.case-study-defence .case-study-hero-image img {
  border-radius: 14px;
  position: relative;
  z-index: 1;
}

/* Top banner image (replace later) */
.case-study-banner {
  position: relative;
  width: 100%;
  margin: 0 0 56px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(100, 140, 90, 0.2);
}

.case-study-banner img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 280px;
  object-fit: cover;
}

/* Bottom parallax gallery — all E-Ledger screens */
.case-study-gallery {
  position: relative;
  width: 100%;
  margin: 64px 0 48px;
  padding: 48px 0;
}

.case-study-gallery-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8d4a8;
  text-align: center;
  margin: 0 0 40px;
}

.case-study-gallery-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 100%;
  perspective: 1200px;
}

.case-study-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(100, 140, 90, 0.15);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.case-study-gallery-parallax {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  will-change: transform;
}

.case-study-gallery-item:hover {
  transform: translateZ(12px) scale(1.02);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(120, 160, 100, 0.25);
}

.case-study-gallery-parallax img,
.case-study-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Stagger gallery items for depth */
.case-study-gallery-item:nth-child(1) { transform: translateZ(0); }
.case-study-gallery-item:nth-child(2) { transform: translateZ(-8px); }
.case-study-gallery-item:nth-child(3) { transform: translateZ(0); }
.case-study-gallery-item:nth-child(4) { transform: translateZ(-8px); }
.case-study-gallery-item:nth-child(5) { transform: translateZ(-4px); }
.case-study-gallery-item:nth-child(6) { transform: translateZ(0); }

.case-study-gallery-item:nth-child(1):hover,
.case-study-gallery-item:nth-child(3):hover,
.case-study-gallery-item:nth-child(6):hover { transform: translateZ(12px) scale(1.02); }
.case-study-gallery-item:nth-child(2):hover,
.case-study-gallery-item:nth-child(4):hover { transform: translateZ(4px) scale(1.02); }
.case-study-gallery-item:nth-child(5):hover { transform: translateZ(8px) scale(1.02); }

@media (max-width: 900px) {
  .case-study-gallery-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .case-study-gallery-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-study-gallery {
    margin: 48px 0 32px;
    padding: 32px 0;
  }
}

/* 3D content sections */
.case-study-defence .case-study-section--3d {
  position: relative;
  padding: 32px 28px;
  margin-bottom: 48px;
  background: linear-gradient(145deg, rgba(18, 32, 18, 0.9) 0%, rgba(12, 22, 12, 0.95) 100%);
  border: 1px solid rgba(100, 140, 90, 0.15);
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.case-study-defence .case-study-section--3d:hover {
  transform: translateZ(8px);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(120, 160, 100, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.case-study-defence .case-study-heading {
  color: #b8d4a8;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(100, 140, 90, 0.25);
}

.case-study-defence .case-study-body,
.case-study-defence .case-study-list {
  color: #c8d4c4;
}

.case-study-defence .case-study-list li {
  margin-bottom: 10px;
}

.case-study-defence .case-study-section-image {
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 24px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}

.case-study-defence .case-study-back {
  border-top-color: rgba(100, 140, 90, 0.2);
}

.case-study-defence .case-study-back-btn {
  border-color: #8fa87e;
  color: #b8d4a8;
  background: rgba(20, 40, 20, 0.5);
}

.case-study-defence .case-study-back-btn:hover {
  background: #8fa87e;
  color: #0a0f0a;
  border-color: #8fa87e;
}

@media (max-width: 768px) {
  .case-study-defence .case-study-main {
    padding: 110px 16px 64px;
  }
  .case-study-defence .case-study-title {
    font-size: 28px;
  }
  .case-study-defence .case-study-section--3d {
    padding: 24px 20px;
  }
}

/* Theme-specific 380px OCS grids: must come after theme definitions */
@media (max-width: 900px) {
  .case-study-deepbot .case-study-granth-ocs,
  .case-study-alpha .case-study-granth-ocs,
  .case-study-blackchain .case-study-granth-ocs {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-study-deepbot .case-study-granth-ocs-image,
  .case-study-alpha .case-study-granth-ocs-image,
  .case-study-blackchain .case-study-granth-ocs-image {
    position: static;
    max-width: 280px;
    margin: 0 auto 0 0;
  }
}

@media (max-width: 768px) {
  .case-study-deepbot .case-study-granth-ocs,
  .case-study-alpha .case-study-granth-ocs,
  .case-study-blackchain .case-study-granth-ocs {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-study-deepbot .case-study-granth-ocs-image,
  .case-study-alpha .case-study-granth-ocs-image,
  .case-study-blackchain .case-study-granth-ocs-image {
    max-width: 220px;
  }
}

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

  /* Default: white logo centered on mobile (for dark headers like home hero, dark case studies) */
  .navbar-logo .logo-desktop {
    display: none !important;
  }
  .navbar-logo .logo-mobile {
    display: block !important;
    width: auto;
    height: 40px;
    object-fit: contain;
  }

  /* Light-theme pages (portfolio, blog index, blog article): use black/dark logo on mobile */
  .portfolio-page .navbar-logo .logo-desktop,
  .blog-page .navbar-logo .logo-desktop,
  .blog-article-page .navbar-logo .logo-desktop {
    display: block !important;
    width: auto;
    height: 40px;
    object-fit: contain;
  }
  .portfolio-page .navbar-logo .logo-mobile,
  .blog-page .navbar-logo .logo-mobile,
  .blog-article-page .navbar-logo .logo-mobile {
    display: none !important;
  }
  .portfolio-page .site-header,
  .blog-page .site-header,
  .blog-article-page .site-header {
    background-image: none;
    background: transparent;
  }
  /* On light pages with black logo, use dark burger icon */
  .portfolio-page .btn-menu::before,
  .blog-page .btn-menu::before,
  .blog-article-page .btn-menu::before,
  .services-page .btn-menu::before {
    background: #2b241d;
    box-shadow: 0 7px 0 #2b241d, 0 14px 0 #2b241d;
  }
  .portfolio-page .btn-menu:hover,
  .blog-page .btn-menu:hover,
  .blog-article-page .btn-menu:hover,
  .services-page .btn-menu:hover {
    background: rgba(0, 0, 0, 0.06);
  }

  .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: 8px;
  }

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

  /* Hide hero section text on mobile */
  .hero-info {
    display: none !important;
  }

  .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): pinned to bottom with tiny padding */
  .hero-contact-mobile {
    display: none !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 160px;
    height: 46px;
    padding-inline: 6px 20px;
    background: transparent;
    border: 2px solid #000000;
    border-radius: 28px;
    color: #ffffff;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
  }
  .hero-bottom-link {
  display: none;
}

@media (max-width: 768px) {
  .hero-bottom-link {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    z-index: 10;
    background: transparent;
  }
}

  .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: 34px;
    height: 34px;
    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: 20px;
    height: 20px;
    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);
  }
}

/* ========== PORTFOLIO PAGE ========== */
/* Theme: #FFC6CD (pale pink), #B33A57 (maroon), gradient, white */
.portfolio-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #F8EFE3 0%, #F4E5D3 40%, #F0DDC5 100%);
  color: #2b241d;
}

.portfolio-page .site-header {
  background: transparent;
  padding-top: 96px;
}

/* Portfolio navbar: same as home — transparent by default, glass effect when scrolled */
.navbar--portfolio {
  background: transparent;
}

.navbar--portfolio.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);
}

/* Portfolio main */
.portfolio-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 32px;
}

.portfolio-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2b241d;
  margin: 0 0 8px;
}

.portfolio-subtitle {
  font-size: 16px;
  color: #7a6957;
  margin: 0;
}

/* Filter pills */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.portfolio-filter {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: #fff7ee;
  color: #8F5B29;
  border: 2px solid rgba(196, 127, 56, 0.55);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.portfolio-filter:hover {
  background: #F0DDC5;
  border-color: #C47F38;
  color: #2b241d;
}

.portfolio-filter.is-active {
  background: #C47F38;
  color: #ffffff;
  border-color: #C47F38;
}

/* Grid: uniform same-size cards */
.portfolio-grid-wrap {
  width: 100%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: 220px;
}

.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: block;
  min-height: 220px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(196, 127, 56, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(196, 127, 56, 0.4);
}

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #40362B;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Remove heavy dark overlay; keep images clear */
  background: none;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover::after {
  opacity: 0;
}

/* Hover overlay: description + Read more */
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(5, 3, 1, 0.97) 0%, rgba(64, 54, 43, 0.94) 45%, rgba(196, 127, 56, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portfolio-card-desc {
  font-size: 14px;
  line-height: 1.45;
  color: #ffffff;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-card-link {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.portfolio-card-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.portfolio-card:hover .portfolio-card-arrow {
  transform: translateX(4px);
}

.portfolio-card-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: auto;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  z-index: 1;
  text-shadow: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-label {
  opacity: 0;
}

/* Hide filtered-out cards */
.portfolio-card.is-hidden {
  display: none;
}

/* ========== BLOG ARTICLE PAGE ========== */
.blog-article-page {
  background: radial-gradient(circle at top, #e1f1ff 0%, #ffffff 55%);
  color: #111111;
}

.blog-article-main {
  max-width: 880px;
  margin: 40px auto 72px;
  padding: 32px 28px 40px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.blog-article {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.blog-article-header {
  margin-bottom: 32px;
}

.blog-article-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: #0066cc;
  margin-bottom: 8px;
}

.blog-article-title {
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 8px;
}

.blog-article-meta {
  font-size: 13px;
  color: #666666;
  margin: 0 0 20px;
}

.blog-article-hero {
  margin: 12px 0 24px;
}

.blog-article-hero img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.blog-article-section {
  margin-bottom: 32px;
}

.blog-article-section h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.blog-article-section h3 {
  font-size: 18px;
  margin: 20px 0 10px;
}

.blog-article-section p {
  margin: 0 0 12px;
}

.blog-article-section:first-of-type p {
  font-size: 17px;
}

.blog-article-section:first-of-type p:first-child {
  font-style: italic;
  border-left: 3px solid #0066cc;
  padding-left: 10px;
}

.blog-article-section ul,
.blog-article-section ol {
  margin: 0 0 12px 20px;
  padding-left: 18px;
}

.blog-article-section pre {
  position: relative;
  background: #f5f5f7;
  color: #111111;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e2e7;
  overflow-x: auto;
  font-size: 13px;
}

.blog-article-section code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
}

.blog-article-footer {
  border-top: 1px solid #eeeeee;
  padding-top: 16px;
  margin-top: 16px;
  font-size: 14px;
  color: #555555;
}

.blog-comments {
  max-width: 880px;
  margin: 40px auto 0;
  padding: 24px 22px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e1f3ff 0%, #d5ebff 40%, #ffffff 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #c6ddf5;
}

.blog-comments-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
}

.blog-comments-subtitle {
  font-size: 14px;
  color: #666666;
  margin: 0 0 18px;
}

.blog-comments-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-comments-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-comments-field {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-comments-field--full {
  flex: 1 1 100%;
}

.blog-comments-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888888;
}

.blog-comments input,
.blog-comments textarea {
  border-radius: 10px;
  border: 1px solid #dedee5;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

.blog-comments input:focus,
.blog-comments textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 1px rgba(0, 102, 204, 0.2);
}

.blog-comments-submit {
  align-self: flex-start;
  margin-top: 4px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: #0066cc;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.blog-comments-submit:hover {
  background: #0254a9;
}

.blog-comments-success {
  margin-top: 10px;
  font-size: 13px;
  color: #176644;
  display: none;
}

.blog-comments-success.is-visible {
  display: block;
}

.blog-comments-list {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-comment {
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #ededf4;
}

.blog-comment-meta {
  font-size: 12px;
  font-weight: 500;
  color: #555555;
  margin-bottom: 4px;
}

.blog-comment-text {
  font-size: 14px;
  color: #333333;
  white-space: pre-wrap;
}

.code-copy-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d0d0d5;
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.code-copy-btn::before {
  content: "⧉";
  font-size: 11px;
}

.code-copy-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.code-copy-btn.is-copied {
  background: #e2fbe8;
  border-color: #33a16e;
  color: #176644;
}

/* ========== BLOG INDEX PAGE (white + baby pink) ========== */
.blog-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff7fb 0%, #ffe5f1 40%, #ffe0ec 100%);
  color: #2b241d;
}

.blog-page .site-header--blog {
  background: transparent;
  padding-top: 96px;
}

.blog-index-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.blog-index-header {
  text-align: center;
  margin-bottom: 32px;
}

.blog-index-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b33a57;
  margin-bottom: 8px;
}

.blog-index-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.3vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #2b241d;
}

.blog-index-subtitle {
  font-size: 15px;
  color: #7a5c64;
  max-width: 560px;
  margin: 0 auto;
}

.blog-index-grid-wrap {
  width: 100%;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: 320px;
}

.blog-index-card {
  position: relative;
  display: block;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(214, 128, 151, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #1b1013;
}

.blog-index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(214, 128, 151, 0.7);
}

.blog-index-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.08);
}

.blog-index-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 4, 6, 0.96) 0%, rgba(31, 16, 22, 0.92) 40%, rgba(255, 206, 217, 0.7) 100%);
  pointer-events: none;
}

.blog-index-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 20px 18px;
  color: #ffffff;
}

.blog-index-card-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 250, 252, 0.78);
  color: #b33a57;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-index-card-meta {
  font-size: 12px;
  color: #ffd9ea;
  margin-bottom: 6px;
}

.blog-index-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.blog-index-card-desc {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-index-card-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-index-card-arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.blog-index-card:hover .blog-index-card-arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .blog-index-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 300px;
  }
}

@media (max-width: 600px) {
  .blog-index-main {
    padding: 24px 16px 48px;
  }

  .blog-index-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
}

@media (max-width: 768px) {
  .blog-article-main {
    padding: 120px 16px 64px;
  }

  .blog-article-title {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .portfolio-filters {
    gap: 8px;
  }

  .portfolio-filter {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .portfolio-page {
    overflow-x: hidden;
  }

  .portfolio-page .portfolio-main {
    padding: 24px 16px 48px;
  }

  .portfolio-page .portfolio-header {
    margin-bottom: 24px;
  }

  .portfolio-page .portfolio-title {
    font-size: clamp(24px, 5vw, 32px);
  }

  .portfolio-page .portfolio-subtitle {
    font-size: 14px;
  }

  .portfolio-page .portfolio-filters {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
  }

  .portfolio-page .portfolio-filter {
    padding: 8px 14px;
    font-size: 12px;
  }

  .portfolio-page .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    grid-auto-rows: 200px;
  }

  .portfolio-page .portfolio-card {
    min-height: 200px;
  }

  .portfolio-page .portfolio-card-overlay {
    padding: 16px;
  }

  .portfolio-page .portfolio-card-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 500px) {
  .portfolio-main {
    padding: 24px 16px 48px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    grid-auto-rows: 200px;
  }
}

/* ========== CONTACT PAGE (white + yellow theme) ========== */

/* ========== CONTACT PAGE — FUTURISTIC DARK THEME ========== */

@keyframes contact-orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}
@keyframes contact-orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, 50px) scale(1.05); }
  66% { transform: translate(40px, -20px) scale(0.9); }
}
@keyframes contact-orb-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 60px) scale(1.15); }
}
@keyframes contact-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.contact-page {
  min-height: 100vh;
  background: #0a0a0f;
  color: #e0e0e8;
}

.contact-page .navbar {
  background: rgba(10, 10, 15, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.contact-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 32px 96px;
  position: relative;
  overflow: hidden;
}

/* Animated background orbs */
.contact-bg-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.contact-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ffd600 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation: contact-orb-float-1 18s ease-in-out infinite;
}

.contact-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ff8c00 0%, transparent 70%);
  top: 30%;
  right: -8%;
  animation: contact-orb-float-2 22s ease-in-out infinite;
}

.contact-orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #ffa836 0%, transparent 70%);
  bottom: 5%;
  left: 20%;
  animation: contact-orb-float-3 20s ease-in-out infinite;
}

.contact-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.contact-intro {
  padding-right: 16px;
  padding-top: 20px;
}

.contact-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd600;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd600;
  display: inline-block;
  animation: contact-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(255, 214, 0, 0.6);
}

.contact-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #ffffff;
}

.contact-title-gradient {
  background: linear-gradient(135deg, #ffd600, #ff8c00, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

/* Stats row */
.contact-stats {
  display: flex;
  gap: 32px;
  padding-top: 8px;
}

.contact-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-stat-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, #ffd600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Glassmorphism form */
.contact-form {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
  padding: 36px 32px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.contact-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field--full {
  width: 100%;
}

.contact-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.4) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.4) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.05);
}

.contact-field select option {
  background: #1a1a2e;
  color: #ffffff;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(255, 214, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.1), 0 0 20px rgba(255, 214, 0, 0.08);
  background: rgba(255, 255, 255, 0.07);
}

.contact-submit-btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 15px 36px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ffd600, #ff8c00);
  color: #0a0a0f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 40px rgba(255, 214, 0, 0.25);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.contact-submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #ffdf40, #ffa000);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255, 214, 0, 0.35);
}

.contact-submit-btn:hover::before {
  opacity: 1;
}

.contact-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 12px 30px rgba(255, 214, 0, 0.2);
}

/* Quick connect section */
.contact-quick-connect {
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.contact-quick-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 36px;
  border-radius: 28px;
  border: 1px solid rgba(255, 214, 0, 0.2);
  background: linear-gradient(135deg, #161620 0%, #1a1a28 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 214, 0, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 32px;
  align-items: center;
}

.contact-quick-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
}

.contact-quick-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

.contact-quick-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-quick-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-quick-card:hover {
  border-color: rgba(255, 214, 0, 0.3);
  background: rgba(255, 214, 0, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.contact-quick-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.15), rgba(255, 140, 0, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd600;
}

.contact-quick-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.contact-quick-card-value {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.contact-quick-card-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-quick-card:hover .contact-quick-card-arrow {
  color: #ffd600;
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-main {
    padding: 110px 20px 72px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 28px 24px 32px;
  }

  .contact-quick-inner {
    grid-template-columns: 1fr;
    padding: 28px 24px 32px;
  }

  .contact-quick-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .contact-main {
    padding: 96px 16px 56px;
  }

  .contact-grid,
  .contact-grid--compact {
    grid-template-columns: 1fr;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-section {
    gap: 24px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-form {
    border-radius: 20px;
    padding: 22px 18px 28px;
    gap: 16px;
  }

  .contact-field label {
    font-size: 10px;
  }

  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    font-size: 13px;
    padding: 12px 14px;
  }

  .contact-quick-inner {
    padding: 22px 18px 28px;
  }

  .contact-stats {
    gap: 24px;
  }

  .contact-stat-number {
    font-size: 26px;
  }

  .contact-orb--1 { width: 300px; height: 300px; }
  .contact-orb--2 { width: 250px; height: 250px; }
  .contact-orb--3 { width: 200px; height: 200px; }
}