@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS VARIABLES – DARK MODE (DEFAULT)
   ============================================================ */
:root {
  --red: #E31E24;
  --red-dark: #b3161b;
  --blue: #4A90E2;
  --blue-dark: #1a3a8a;
  --blue-mid: #1e3a8a;

  --bg: #000000;
  --bg2: #0a0a0a;
  --bg3: #111111;
  --bg4: #161616;
  --bg-partners: #0d1b3e;

  --text: #ffffff;
  --text2: #cccccc;
  --text3: #888888;
  --text-dark: #111111;

  --card-bg: #ffffff;
  --card-text: #111111;
  --card-sub: #555555;
  --card-border: rgba(255, 255, 255, 0.06);

  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(255, 255, 255, 0.15);

  --input-bg: transparent;
  --input-border: #dddddd;
  --input-text: #111111;

  --nav-bg: transparent;
  --nav-scroll: rgba(0, 0, 0, 0.92);
  --nav-text: #ffffff;
  --nav-logo-filter: none;

  --hero-overlay: rgba(0, 0, 0, 0.4);

  --section-light-bg: #0d1b3e;

  --toggle-bg: var(--red);

  --footer-bg: #0d1b3e;
  --footer-text: rgba(255, 255, 255, 0.7);
  --footer-link: rgba(255, 255, 255, 0.6);

  --page-hero-left-bg: #ffffff;
  --page-hero-left-text: #111111;
  --page-hero-left-sub: #555555;
}

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */
body.light-mode {
  --bg: #f5f5f5;
  --bg2: #ffffff;
  --bg3: #f0f0f0;
  --bg4: #e8e8e8;
  --bg-partners: #1e3a8a;

  --text: #111111;
  --text2: #333333;
  --text3: #666666;

  --card-bg: #ffffff;
  --card-text: #111111;
  --card-sub: #555555;
  --card-border: rgba(0, 0, 0, 0.08);

  --border: rgba(0, 0, 0, 0.1);
  --border2: rgba(0, 0, 0, 0.2);

  --nav-bg: transparent;
  --nav-scroll: rgba(255, 255, 255, 0.97);
  --nav-text: #111111;
  --nav-logo-filter: none;

  --hero-overlay: rgba(0, 0, 0, 0.55);

  --section-light-bg: #1e3a8a;

  --footer-bg: #0d1b3e;
  --footer-text: rgba(255, 255, 255, 0.7);
  --footer-link: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background .3s, color .3s;

  min-height: 100vh;
}

img {
  display: block;
}

a {
  text-decoration: none;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BG PATTERNS */
.bg-dots {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

body.light-mode .bg-dots {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

/* ============================================================
   DARK TOGGLE SWITCH
   ============================================================ */
.theme-toggle {
  width: 48px;
  height: 26px;
  background: var(--red);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: background .3s;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left .3s;
}

body.light-mode .theme-toggle::after {
  left: 25px;
}

body.light-mode .theme-toggle {
  background: var(--blue);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #000000;
  transition: background .4s, box-shadow .4s, padding .3s;
}

#navbar.scrolled {
  background: var(--nav-scroll);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links>li {
  position: relative;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: black;
  text-decoration: none;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a.active {
  color: var(--red);
}

/* DROPDOWN */
.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 240px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s;
  transform: translateX(-50%) translateY(-8px);
  pointer-events: none;
}

.nav-links li:hover .dropdown-menu,
.nav-links li:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.dropdown-menu li a:hover {
  background: var(--red);
  color: #fff;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* CONTACT BTN */
.btn-contact {
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  transition: all .25s;
  border: 2px solid var(--red);
}

.btn-contact:hover {
  background: transparent;
  color: var(--red);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-text);
  border-radius: 2px;
  transition: all .3s;
}

/* MOBILE NAV */
@media(max-width:900px) {

  .nav-links,
  .nav-right .btn-contact {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--nav-scroll);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.mobile-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 8px;
  }

  .nav-links.mobile-open .dropdown-menu li a {
    color: #fff;
  }

  .hamburger {
    display: flex;
  }

  .nav-right {
    gap: 10px;
  }
}





/* ============================================================
   GLOBAL HERO BANNER MAIN BASE LAYER
============================================================ */
.global-page-hero {
  width: 100%;
  min-height: 470px; /* Perfectly scales to match the Figma blueprint aspect ratio */
  position: relative;
  display: flex;
  align-items: center;
  /* overflow: hidden; */
  
  /* Apply your high-resolution blue/white diagonal banner image natively across the section base layer */
  background-image: url('../assests/img/webDevBanner.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: #ffffff;
  margin-top: 80px;
}

/* INNER CORE BOX (Centers content within your site's standard boundaries) */
.global-page-hero .global-hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 5;
}

/* ============================================================
   LEFT SIDE TYPOGRAPHY CONTROL BLOCKS
============================================================ */
.global-page-hero .global-hero-left {
  flex: 1.1;
  max-width: 55%;
}

.global-page-hero .hero-eyebrow {
  color: #DC2626; /* Contrast adjustment matching global theme identity */
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.global-page-hero .hero-title {
  font-size: 30px;
  line-height: 1.25;
  color: #171717; /* High contrast dark text explicitly defined on the white side of the canvas */
  font-weight: 700;
  margin-bottom: 18px;
}

.global-page-hero .hero-title .text-highlight-blue {
  color: #447CBE;
}

.global-page-hero .hero-desc {
  color: #444444; /* Clean slate dark gray for perfect paragraph legibility */
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 500px;
}

/* REUSABLE RED ACTION CTA BUTTON */
.global-page-hero .hero-btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  background: linear-gradient(90deg, #DC2626 0%, #761414 100%);
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.global-page-hero .hero-btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

/* ============================================================
   RIGHT SIDE VECTOR LAYER ALIGNMENTS
============================================================ */
.global-page-hero .global-hero-right {
  flex: 0.9;
  max-width: 45%;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Always keeps vectors aligned over the blue space area */
}

.global-page-hero .global-hero-illustration {
  width: 100%;
  max-width: 400px; /* Restricts scaling past boundaries */
  height: auto;
  object-fit: contain;
}

/* ============================================================
   MOBILE RESPONSIVE HANDLERS
============================================================ */
@media (max-width: 992px) {
  .global-page-hero {
    min-height: auto;
    /* Soften the background background placement format for readable vertical stacks */
    background-position: center top; 
  }

  .global-page-hero .global-hero-container {
    flex-direction: column;
    text-align: center;
    padding: 60px 24px;
    gap: 35px;
  }

  .global-page-hero .global-hero-left,
  .global-page-hero .global-hero-right {
    max-width: 100%;
    width: 100%;
    flex: none;
  }

  .global-page-hero .hero-title {
    font-size: 35px;
  }

  .global-page-hero .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .global-page-hero .global-hero-right {
    justify-content: center;
  }

  .global-page-hero .global-hero-illustration {
    max-width: 340px;
  }
}






/* ============================================================
   HERO – HOME
   ============================================================ */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

/* Full-screen background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay so text stays readable over the video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 24px;
  margin-left: calc((100vw - 1200px)/2);
  padding-top: 100px;
}

@media(max-width:1248px) {
  .hero-content {
    margin-left: 24px;
  }
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(32px, 2vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}

.hero-title span {
  color: var(--blue);
}

.hero-desc {
  font-size: 15px;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 500px;
}



/* STATS BAR */
.stats-bar {
  position: relative;
  z-index: 10;
  margin-top: 10px;
}

.stats-bar-inner {
  background: var(--red);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 0;
  box-shadow: 0 20px 60px rgba(227, 30, 36, .35);
  margin: 0 24px;
  max-width: 1152px;
  margin: -60px auto 0;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .2);
  padding: 8px 20px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  font-size: 26px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 8px;
}

.stat-num {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #fff;
  display: block;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .75);
}

@media(max-width:768px) {
  .stats-bar-inner {
    grid-template-columns: 1fr 1fr;
    margin: -30px 16px 0;
  }

  .stat-item {
    padding: 16px;
  }
}

/* ============================================================
   PAGE HERO (sub-pages) — full-width image background
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-top: 72px;
  overflow: hidden;
  background-color: #050d1a;
}

/* Background image layer */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Dark gradient overlay so text stays readable */
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      /* rgba(5, 13, 26, 0.88) 0%,
    rgba(5, 13, 26, 0.75) 50%, */
      /* rgba(5, 13, 26, 0.45) 100% */
    );
}

/* Content sits above overlay */
.page-hero-left {
  position: relative;
  z-index: 2;
  padding: 80px 80px 80px 80px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero-left .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.page-hero-left h1 {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero-left h1 span {
  color: var(--blue);
}

.page-hero-left p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
}

/* right side hidden — image fills full width now */
.page-hero-right {
  display: none;
}

@media(max-width:768px) {
  .page-hero {
    min-height: 320px;
  }

  .page-hero-left {
    padding: 80px 24px 50px;
  }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  padding: 30px 0;
  margin-bottom: 10px;
}

.section-sm {
  padding: 60px 0;
}

.section-label {

  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 25px;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 30px;
}

.section-title {
  font-size: clamp(26px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text);
}

.section-title .blue {
  color: var(--blue);
}

.section-title .red {
  color: var(--red);
}

.section-title.center {
  text-align: center;
}

.section-sub {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #AF1A1A;
  color: #fff;
  padding: 12px 28px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: all .25s;
  font-family: 'Poppins', sans-serif;
  width: 220px;
}

.btn-red:hover {
  background-color: white;
  color: var(--red);
}

.btn-red:hover i {
  color: var(--red);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 11px 28px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--border2);
  transition: all .25s;
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============================================================
   ABOUT PREVIEW SECTION (homepage)
   ============================================================ */
.about-preview {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.about-text .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

@media(max-width:900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PARTNERS STRIP
   ============================================================ */
.partners-strip {
  background: var(--bg-partners);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.03)' d='M0,160L60,170.7C120,181,240,203,360,192C480,181,600,139,720,128C840,117,960,139,1080,160C1200,181,1320,203,1440,192L1440,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom;
  padding: 50px 0;
  margin-top: 30px;
}

.partners-label-top {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 10px;
}

.partners-heading {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 36px;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.partners-logos img {
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: .65;
  transition: opacity .2s;
}

.icons {
  height: 90px;
}

.partners-logos img:hover {
  opacity: 1;
}

/* ============================================================
   INDUSTRIES HOVER CARDS — scoped to avoid conflicts
   ============================================================ */
.ind-sec-wrapper {
  position: relative;
  width: 100%;
  padding: 80px 20px;
}

/* section-header, section-label, section-title already exist in your CSS */

.service-card {
  width: 260px;
  min-width: 260px;
  height: 250px;

  flex: 0 0 auto;

  position: relative;

  overflow: visible;
}

.section-title {
  margin-bottom: 10px;
  text-align: left;
}

.service-card:hover .title-underline {
  /* display: none; */
  /* margin-top: 1px; */
  width: 80px;
}

.card-bg {
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  /* clip-path: path('M 0 60 Q 0 0 60 0 L 200 0 Q 260 0 260 60 L 260 320 L 0 320 Z'); */
  border-radius: 30px 0px 0px 0px;
}

.card-hover {
  position: absolute;
  inset: 0;
  height: 0;
  background: var(--red);
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  overflow: hidden;
  clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
}

.card-hover::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--red-dark);
  border-radius: 0 0 50% 50%;
}

.service-card:hover .card-hover {
  height: 65%;
}

.icon-diamond {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);

  width: 65px;
  height: 65px;

  background: linear-gradient(135deg, #8D1417, #C21D22);

  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 10;

  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  box-shadow: 0 4px 15px rgba(194, 29, 34, 0.35);
}

.icon-diamond img {
  width: 28px;
  height: 28px;
  object-fit: contain;

  transform: rotate(-45deg);
  /* keeps icon straight */
  transition: all 0.5s ease;
}

.service-card:hover .icon-diamond img {
  filter: brightness(0) saturate(100%) invert(16%) sepia(92%) saturate(3412%) hue-rotate(346deg) brightness(88%) contrast(97%);
}

.cards-clip {
  overflow: hidden;
  width: 100%;
  max-width: 1140px;
  margin: auto;
  padding-top: 45px;
}

.service-card:hover .icon-diamond {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  top: 50px;
}

.icon-diamond svg {
  width: 28px;
  height: 28px;
  transform: rotate(-45deg);
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
  transition: all 0.5s ease;
}

.service-card:hover .icon-diamond svg {
  stroke: var(--red);
}

.card-content {
  position: relative;
  z-index: 5;
  padding: 55px 25px 25px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 12px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 5;
}

.service-card:hover .card-title {
  color: var(--card-text);
  margin-top: 115px;
  margin-bottom: 8px;
}

.title-underline {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 15px;
  transition: all 0.5s ease;
}

.card-description {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover .card-description {
  opacity: 0;
  transform: translateY(-10px);
  position: absolute;
}

.learn-more {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0;
  transition: all 0.4s ease 0.15s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.learn-more::after {
  content: '>';
  font-size: 14px;
  transition: transform 0.3s ease;
}

.service-card:hover .learn-more {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.learn-more:hover::after {
  transform: translateX(4px);
}

.cards-container {
  display: flex;
  align-items: flex-start;

  gap: 25px;

  flex-wrap: nowrap;

  transition: transform 0.6s ease;

  will-change: transform;
}

/* Renamed from .nav-btn to avoid navbar conflict */
.ind-nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ind-nav-btn.prev {
  background: #ffffff;
  color: #1a1a1a;
}

.ind-nav-btn.next {
  background: var(--red);
  color: #ffffff;
}

.ind-nav-btn:hover {
  transform: scale(1.1);
}

.ind-nav-btn svg {
  width: 20px;
  height: 20px;
}

.ind-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: relative;
  /* overflow: hidden; */
}

.ind-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.ind-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

@media(max-width:768px) {

  .cards-clip {
    max-width: 260px;
  }

}


/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section {
  background: var(--bg);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.process-road {
  width: 120px;
  margin: 0 auto;
}

.process-road img {
  width: 100%;
}

.process-left,
.process-right {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-top: 30px;
}

.process-right {
  padding-top: 120px;
}

.process-step-item {
  position: relative;
}

.step-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: 3px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  transition: all .4s;
}

.process-step-item.active .step-dot {
  background: #000;
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 30px rgba(227, 30, 36, .5);
  transform: scale(1.1);
}

.step-connector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.step-connector-left {
  flex-direction: row-reverse;
}

.step-line {
  width: 40px;
  height: 2px;
  background: var(--red);
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 280px;
}

.step-left .step-title,
.step-left .step-desc {
  text-align: right;
}

@media(max-width:768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-road {
    display: none;
  }

  .process-left,
  .process-right {
    padding-top: 0;
    gap: 32px;
  }

  .step-left .step-title,
  .step-left .step-desc {
    text-align: left;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
}

/* Left col stacks its content and buttons at bottom */
.testimonials-grid>div:first-child {
  display: flex;
  flex-direction: column;
}

.t-cards-wrap {
  position: relative;
}

.t-controls {
  display: flex;
  gap: 10px;
  margin-top: 0px;
  margin-left: 210px;
}

/* Overlap style — buttons sit at bottom of left col, slightly over the card */
.t-controls-overlap {
  position: relative;
  z-index: 10;
  margin-right: -56px;
}

@media(max-width:768px) {
  .t-controls-overlap {
    margin-right: 0;
  }
}

.t-controls-right {
  grid-column: 2;
  justify-self: start;
  margin-top: 16px;
}

@media(max-width:768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .t-controls-right {
    grid-column: 1;
  }
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.t-stars {
  color: #F5A623;
  font-size: 18px;
  margin-bottom: 14px;
}

.t-text {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.t-name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.t-role {
  font-size: 12px;
  color: #888;
}

.t-controls {
  display: flex;
  gap: 10px;
  margin-top: -15px;
}

.t-card-item {
  display: none;
  animation: fadeSlide 0.5s ease;
}

.t-card-item.active {
  display: block;
}

.t-cards-wrap {
  position: relative;
}

.t-card-item {
  display: none;
  transition: all 0.4s ease;
}

.t-card-item.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media(max-width:768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.cta-strip-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.2);
}

.cta-strip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.cta-strip-inner {
  position: relative;
  z-index: 2;
}

.cta-strip .label {
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.cta-strip h2 {
  font-size: clamp(26px, 3.5vw, 30px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}

.cta-strip h2 span {
  color: var(--blue);
}

/* ============================================================
   BLOG SECTION (homepage)
   ============================================================ */
.blog-section {
  background: var(--bg);
}

.blog-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg3);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-meta {
  font-size: 11px;
  color: var(--text3);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta i {
  color: var(--red);
}

.blog-card .blog-title a {
  color: #696969 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Gradient hover */
.blog-card .blog-title a:hover {
  background: linear-gradient(90deg, #C82529, #9E1B1F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  color: transparent !important;
}

.blog-excerpt {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 14px;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.blog-author-sm {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text3);
}

.blog-author-sm img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.read-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
}

@media(max-width:900px) {
  .blog-grid-home {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:600px) {
  .blog-grid-home {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTACT MINI (bottom of pages)
   ============================================================ */
.contact-mini-section {
  background: var(--bg2);
  padding: 90px 0;
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.offices-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.office-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.office-item:last-child {
  border-bottom: none;
}

.office-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.office-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.office-detail {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

.office-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text2);
  margin-top: 4px;
}

.mini-form-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .08);
}

.mini-form-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.mini-form-card .sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  font-size: 14px;
  color: #111;
  font-family: 'Poppins', sans-serif;
  outline: none;
  background: transparent;
  transition: border-color .2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #aaa;
}

.form-field textarea {
  resize: none;
  height: 64px;
}

.form-field select {
  color: #aaa;
}

.form-field select option {
  color: #111;
}

@media(max-width:900px) {
  .contact-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background: #0E406E;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  height: 36px;
  margin-bottom: 14px;
}

.footer-about {
  font-size: 13px;
  color: var(--footer-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.footer-social a:hover {
  background: var(--red);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--footer-link);
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--red);
}

.footer-hours p {
  font-size: 13px;
  color: var(--footer-text);
  margin-bottom: 6px;
  line-height: 1.6;
}

.newsletter-input-wrap {
  display: flex;
  margin-top: 14px;
}

.newsletter-input-wrap input {
  flex: 1;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 4px 0 0 4px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  outline: none;
}

.newsletter-input-wrap input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.newsletter-input-wrap button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  font-family: 'Poppins', sans-serif;
}

.newsletter-input-wrap button:hover {
  background: var(--red-dark);
}

.footer-bottom {
  background: var(--red);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

@media(max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT PAGE SPECIFIC
   ============================================================ */
.values-section {
  background: var(--bg2);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg3);
  border-radius: 10px;
  padding: 28px;
  border-left: 4px solid var(--blue);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  transition: transform .2s;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card .v-icon {
  font-size: 32px;
  color: var(--blue);
  margin-bottom: 14px;
}

.value-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

@media(max-width:768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 750px;
  justify-self: center;
}

.team-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  transition: transform .2s;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.team-card-body {
  padding: 18px;
}

.team-card-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card-body span {
  font-size: 13px;
  color: var(--blue);
}

@media(max-width:768px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:500px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICE PAGES
   ============================================================ */
.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 28px;
  padding-top: 34px;
  /* room for diamond icons above first row */
}

.svc-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 36px 24px 28px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, .06);
  transition: transform .25s, box-shadow .25s;
  overflow: visible;
  /* allow diamond icon to show above card */
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(227, 30, 36, .14);
}

.svc-card-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #C21D22 0%, #8D1417 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 4px 16px rgba(194, 29, 34, 0.45);
  transition: transform .3s, box-shadow .3s;
}

.svc-card-icon i {
  transform: rotate(-45deg);
}

.svc-card:hover .svc-card-icon {
  transform: translateX(-50%) rotate(45deg) scale(1.08);
  box-shadow: 0 6px 22px rgba(194, 29, 34, 0.6);
}

.svc-card-icon img {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.svc-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--card-text);
  text-align: center;
  margin: 24px 0 8px;
}

.svc-card-line {
  width: 36px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 12px;
}

.svc-card p {
  font-size: 13px;
  color: var(--card-sub);
  text-align: center;
  line-height: 1.7;
}

@media(max-width:768px) {
  .svc-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Full-width service card */
.svc-card-wide {
  background: var(--bg3);
  border-radius: 10px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color .2s;
}

.svc-card-wide:hover {
  border-color: var(--red);
}

.svc-card-wide .icon {
  font-size: 32px;
  color: var(--red);
  flex-shrink: 0;
}

.svc-card-wide h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.svc-card-wide p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

/* Skills bars */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skill-item {}

.skill-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 6px;
}

.skill-track {
  height: 6px;
  background: rgba(255, 255, 255, .1);
  border-radius: 3px;
  overflow: hidden;
}

body.light-mode .skill-track {
  background: rgba(0, 0, 0, .1);
}

.skill-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transition: width 1.2s ease;
  width: 0;
}

/* Process steps bar (service pages) */
.steps-bar {
  display: flex;
  /* flex-wrap: wrap; */
  align-items: center;
  gap: 10px;
  margin: 32px 0;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  transition: border-color .2s;
}

.step-pill:hover {
  border-color: var(--red);
}

.step-pill i {
  color: var(--blue);
}

.step-pill-arrow {
  color: var(--text3);
  font-size: 14px;
}

/* Tech icons */
.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 81px;
  align-items: center;
}

.tech-icon {
  width: 58px;
  height: 58px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all .2s;
}

.tech-icon:hover {
  border-color: var(--blue);
  background: rgba(74, 144, 226, .08);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  background: var(--bg2);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-top: 10px;
  border-radius: 10px 10px 0 0;
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, .03);
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background .2s;
}

.faq-btn:hover,
.faq-item.open .faq-btn {
  background: var(--red);
  color: #fff;
}

.faq-btn i {
  font-size: 16px;
  flex-shrink: 0;
  transition: transform .3s;
}

.faq-item.open .faq-btn i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.8;
  background: rgba(255, 255, 255, .02);
  transition: max-height .4s ease, padding .3s;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 16px 20px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form-section {
  background: var(--bg);
  padding: 90px 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: start;
}

.contact-next-steps {}

.next-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.next-step-icon {
  width: 50px;
  height: 50px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.next-step-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.next-step-text p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

.contact-main-form {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .1);
}

.contact-main-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media(max-width:600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-main-form .form-field input,
.contact-main-form .form-field select,
.contact-main-form .form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  font-size: 14px;
  color: #111;
  font-family: 'Poppins', sans-serif;
  outline: none;
  background: transparent;
  transition: border-color .2s;
}

.contact-main-form .form-field input:focus,
.contact-main-form .form-field select:focus,
.contact-main-form .form-field textarea:focus {
  border-color: var(--blue);
}

.contact-main-form .form-field textarea {
  resize: none;
  height: 80px;
}

.contact-main-form .form-field select {
  color: #666;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 14px;
  margin: 16px 0;
  font-size: 13px;
  color: #666;
}

.captcha-row input {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

@media(max-width:900px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Availability Section */
.availability-section {
  background: var(--bg2);
  padding: 80px 0;
}

.avail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.avail-item {
  text-align: center;
}

.avail-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.avail-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.avail-item p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

@media(max-width:768px) {
  .avail-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-inner-section {
  background: var(--bg2);
  padding: 80px 0;
}

.blog-inner-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 36px;
  max-height: 480px;
  object-fit: cover;
}

.blog-inner-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.blog-inner-content p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 16px;
}

.related-blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media(max-width:768px) {
  .related-blogs-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-body {
  background: var(--bg2);
  padding: 80px 0;
}

.policy-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  margin: 40px 0 14px;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 14px;
}

.policy-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.policy-body ul li {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 8px;
}

/* ============================================================
   MODAL / POPUP
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, .7);
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  max-width: 760px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: popIn .3s ease;
}

@keyframes popIn {
  from {
    transform: scale(.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.modal-close:hover {
  background: var(--red);
  color: #fff;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
}

.modal-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.modal-item-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.modal-item-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.modal-item-body p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mb-48 {
  margin-bottom: 48px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-12 {
  gap: 12px;
}

/* Light mode adjustments */
body.light-mode .blog-card {
  background: var(--bg3);
}

body.light-mode .step-pill {
  background: #fff;
  border-color: rgba(0, 0, 0, .1);
  color: #111;
}

body.light-mode .faq-btn {
  color: #111;
  background: rgba(0, 0, 0, .03);
}

body.light-mode .about-badge {
  background: var(--red);
}

body.light-mode .svc-card-wide {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
}

body.light-mode .svc-card-wide h4 {
  color: #111;
}

body.light-mode .svc-card-wide p {
  color: #555;
}

body.light-mode .tech-icon {
  background: #fff;
  border-color: rgba(0, 0, 0, .1);
}

body.light-mode .team-card {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
}

body.light-mode .team-card-body h4 {
  color: #111;
}

body.light-mode .ind-card p {
  color: #555;

}

/* ============================================================
   LIGHT MODE DEEP POLISH
   ============================================================ */
body.light-mode {
  background: #f4f4f8;
}

body.light-mode .hero-home {
  background: #1a1a2e;
}

body.light-mode .bg-dots {
  background-color: var(--bg);
}

body.light-mode .partners-strip {
  background: var(--blue-dark);
}

body.light-mode .about-preview {
  background: #fff;
}

body.light-mode .industries-section {
  background: #f4f4f8;
}

body.light-mode .process-section {
  background: #fff;
}

body.light-mode .blog-section {
  background: #f4f4f8;
}

body.light-mode .contact-mini-section {
  background: #fff;
}

body.light-mode .faq-section {
  background: #f4f4f8;
}

body.light-mode .values-section {
  background: #fff;
}

body.light-mode .value-card {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
}

body.light-mode .value-card h3 {
  color: #111;
}

body.light-mode .value-card p {
  color: #555;
}

body.light-mode .availability-section {
  background: #fff;
}

body.light-mode .avail-item h4 {
  color: var(--blue-dark);
}

body.light-mode .avail-item p {
  color: #555;
}

body.light-mode .policy-body {
  background: #fff;
}

body.light-mode .policy-body h2 {
  color: var(--blue-dark);
}

body.light-mode .policy-body p,
body.light-mode .policy-body li {
  color: #444;
}

body.light-mode .contact-form-section {
  background: #f4f4f8;
}

body.light-mode .next-step-text h4 {
  color: #111;
}

body.light-mode .next-step-text p {
  color: #555;
}

body.light-mode .blog-card {
  background: #fff;
}

body.light-mode .blog-title a {
  color: var(--red);
}

body.light-mode .blog-excerpt {
  color: #555;
}

body.light-mode .blog-meta {
  color: #888;
}

body.light-mode #navbar {}

body.light-mode #navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
}

/* ============================================================
   PROCESS RESPONSIVE
   ============================================================ */
@media(max-width:768px) {
  .process-grid-inner {
    grid-template-columns: 1fr !important;
  }

  .process-right {
    padding-top: 0 !important;
  }

  .step-left .step-title,
  .step-left .step-desc {
    text-align: left !important;
  }

  .step-left>div:first-child {
    flex-direction: row !important;
  }
}

/* ============================================================
   NAV ACTIVE + DROPDOWN LIGHT MODE
   ============================================================ */
body.light-mode .nav-links a {
  color: #111;
}

body.light-mode .nav-links a:hover {
  color: var(--red);
}

body.light-mode .hamburger span {
  background: #111;
}

/* ============================================================
   STAT BAR RESPONSIVE MOBILE
   ============================================================ */
@media(max-width:480px) {
  .stats-bar-inner {
    grid-template-columns: 1fr 1fr;
    border-radius: 12px;
  }

  .stat-item {
    padding: 14px 10px;
  }

  .stat-num {
    font-size: 22px;
  }
}

/* ============================================================
   PAGE HERO RESPONSIVE
   ============================================================ */
@media(max-width:900px) {
  .page-hero {
    grid-template-columns: 1fr;
    margin-top: 68px;
  }

  .page-hero-right {
    display: none;
  }

  .page-hero-left::after {
    display: none;
  }

  .page-hero-left {
    padding: 50px 24px 40px;
  }

  .page-hero-left h1 {
    font-size: 28px;
  }
}

/* ============================================================
   BLOG GRID RESPONSIVE
   ============================================================ */
@media(max-width:768px) {
  .blog-grid-home {
    grid-template-columns: 1fr;
  }

  .related-blogs-grid {
    grid-template-columns: 1fr !important;
  }
}

@media(min-width:600px) and (max-width:900px) {
  .blog-grid-home {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   SVC CARDS RESPONSIVE
   ============================================================ */
@media(max-width:600px) {
  .svc-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER RESPONSIVE
   ============================================================ */
@media(max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    font-size: 11px;
  }
}

/* ── PROCESS SECTION EXTRA ── */
.process-layout::after {
  content: '';
  display: table;
  clear: both;
}

.process-steps-left .pstep-line {
  margin-top: 36px;
}

.process-steps-right .pstep-line {
  margin-top: 36px;
}

/* ── BLOG CARDS on dark bg ── */
.blog-section .blog-card {
  background: #fff !important;
}

.blog-section .blog-card .blog-excerpt {
  color: #666 !important;
}

.blog-section .blog-card .blog-meta {
  color: #888 !important;
}

/* ── PARTNERS strip specific ── */
.partners-strip {
  position: relative;
  overflow: hidden;
}

/* ── FOOTER BOTTOM RED BAR ── */
.main-footer .footer-bottom {
  background: #AF1A1A !important;
  color: #fff !important;
  border-top: none !important;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

/* ── CONTACT MINI SECTION bg ── */
.contact-mini-section {
  background: var(--bg) !important;
}

/* ── IND CARD hover ── */
.ind-card {
  position: relative;
  overflow: visible;
}

/* ============================================================
   SERVICE CARDS — Figma hover: red gradient fills from bottom,
   icon enlarges & becomes light, "Learn More >" appears
   ============================================================ */
.ind-card {
  position: relative;
  overflow: visible;
  cursor: pointer;
  flex: 0 0 calc(25% - 18px);
  min-width: 240px;
  background: var(--card-bg);
  border-radius: 10px;
  padding: 44px 24px 28px;
  transition: box-shadow .3s;
}

.ind-card-default {
  position: relative;
  z-index: 2;
  transition: opacity .35s;
}

.ind-card-default h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--card-text);
  text-align: center;
  margin: 24px 0 10px;
}

.ind-card-divider {
  width: 36px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 12px;
}

.ind-card-default p {
  font-size: 13px;
  color: var(--card-sub);
  text-align: center;
  line-height: 1.7;
}

/* The hover panel — starts off-screen at bottom, slides up */
.ind-card-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #8b1a1a 0%, #c0392b 40%, #e74c3c 100%);
  border-radius: 10px;
  padding: 44px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  z-index: 3;
}

.ind-card:hover .ind-card-hover {
  transform: translateY(0);
}

.ind-card:hover .ind-card-icon {
  z-index: 4;
}

/* Icon inside hover panel */
.ind-card-icon-hover {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, .2);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  margin-bottom: 6px;
}

.ind-card-hover h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 12px 0 8px;
}

.ind-card-hover p {
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  text-align: center;
  line-height: 1.7;
  margin-bottom: 14px;
}

.ind-learn-more {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: opacity .2s;
}

.ind-learn-more:hover {
  opacity: .8;
}

/* ============================================================
   PROCESS SECTION — GRID-BASED TIMELINE POSITIONING
   ============================================================ */
.process-section {
  background: var(--bg);
  padding: 60px 0;
}

/* Master Grid Area setup */
.process-outer {
  position: relative;
  display: grid;
  /* Columns match: Left Workspace | Middle Road Asset | Right Workspace */
  grid-template-columns: 1fr 140px 1fr; 
  max-width: 1100px;
  margin: 60px auto 0 auto;
  align-items: center;
}

/* Absorb the road asset and span it from row 1 down to row 5 */
.proc-road {
  position: static;
  transform: none;
  grid-column: 2;
  grid-row: 1 / span 5;
  width: 100%;
  height: auto;
  z-index: 2;
}

.proc-road img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sub-grid system setup for row pairs */
.proc-grid-row {
  display: contents; /* Delivers inner components straight to the master container */
}

/* Bind individual structural blocks to designated rows */
.row-1 > * { grid-row: 1; }
.row-2 > * { grid-row: 2; }
.row-3 > * { grid-row: 3; }
.row-4 > * { grid-row: 4; }
.row-5 > * { grid-row: 5; }

/* Control overall row spacing parameters */
.proc-grid-row > * {
  padding-top: 55px;
  padding-bottom: 55px;
}

/* Dynamic Column Alignment Adjustments */
.pos-left {
  grid-column: 1;
  display: flex;
  justify-content: flex-end;
  text-align: right;
  align-items: center;
  margin-right: 20px;
}

.pos-right {
  grid-column: 3;
  display: flex;
  justify-content: flex-start;
  text-align: left;
  align-items: center;
  margin-left: 20px;
}

/* Formatting for descriptive blocks */
.proc-text-wrapper {
  flex-direction: column;
}
.pos-left.proc-text-wrapper { align-items: flex-end; }
.pos-right.proc-text-wrapper { align-items: flex-start; }

/* Formatting for numeric wrapper components */
.proc-num-wrapper {
  gap: 12px;
}

/* Circle styling structural blocks */
.proc-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .6), inset 0 2px 4px rgba(255, 255, 255, .05);
  transition: all .4s;
}

.proc-num-grey {
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2.5px solid rgba(255, 255, 255, .22);
  color: #bbb;
}

.proc-num-red {
  background: radial-gradient(circle at 40% 35%, #ef4444 0%, #b91c1c 70%);
  border: 3px solid #ef4444;
  color: #fff;
  box-shadow: 0 0 32px rgba(239, 68, 68, .7), 0 6px 18px rgba(0, 0, 0, .5);
}

/* Design-specified Line Connectors */
.proc-line-connector {
  width: 32px;
  height: 2px;
  background: #ef4444; /* Connects with your brand red accent colors */
  flex-shrink: 0;
}

/* General Typography Blocks */
.proc-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 7px;
}

.proc-step-desc {
  font-size: 13px;
  color: var(--text2, #ccc);
  line-height: 1.75;
  max-width: 340px;
}

/* Circle styling structural blocks */
.proc-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  transition: all 0.4s ease-in-out;
  
  /* Default Metallic Gray Layout State */
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2.5px solid rgba(255, 255, 255, .22);
  color: #bbb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .6), inset 0 2px 4px rgba(255, 255, 255, .05);
}

/* On-Scroll Dynamic Red Active Glow State (Applied via JS) */
.proc-num.active {
  background: radial-gradient(circle at 40% 35%, #ef4444 0%, #b91c1c 70%) !important;
  border: 3px solid #ef4444 !important;
  color: #fff !important;
  box-shadow: 0 0 32px rgba(239, 68, 68, .7), 0 6px 18px rgba(0, 0, 0, .5) !important;
  transform: scale(1.1);
}

/* Sync connector lines with active state if needed */
.proc-grid-row:has(.proc-num.active) .proc-line-connector {
  background: #ef4444;
  opacity: 1;
}

/* ============================================================
   BLOG SECTION — white cards on dark bg
   ============================================================ */
.blog-section {
  background: var(--bg);
}

.blog-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff !important;
  border-radius: 10px;
  overflow: hidden;
  border: none !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .07);
  transition: transform .25s, box-shadow .25s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .14);
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 18px 20px 16px;
}

.blog-meta {
  font-size: 11px;
  color: #888;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta i {
  color: var(--red);
}

.blog-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-title a {
  color: inherit;
  text-decoration: none;
}

.blog-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 14px;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.blog-author-sm {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #888;
}

.author-avatar {
  font-size: 20px;
  color: #9E1B1F;
  line-height: 1;
}

.read-more {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.read-more:hover {
  color: var(--red);
}

/* Blog nav row — centered, matches Figma exactly */
.blog-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

@media(max-width:900px) {
  .blog-grid-home {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:600px) {
  .blog-grid-home {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTACT MINI — office icons
   ============================================================ */
.contact-mini-section {
  background: var(--bg);
  padding: 90px 0;
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: start;
}

@media(max-width:900px) {
  .contact-mini-grid {
    grid-template-columns: 1fr;
  }
}

.offices-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.office-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.office-city-img {
  width: 56px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
}

.office-details {}

.office-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.office-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 4px;
}

.office-row i {
  color: var(--blue);
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Form card */
.mini-form-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .08);
}

.mini-form-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.mini-form-card .sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ============================================================
   FOOTER — dark blue bg, social in Open Hours col, red bottom bar
   ============================================================ */
.main-footer {
  background: #0d1b3e;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 14px;
  display: block;
}

.footer-about {
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--red);
}

.footer-hours p {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 5px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.footer-social a:hover {
  background: var(--red);
}

.newsletter-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.newsletter-stack input {
  width: 100%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  padding: 11px 14px;
  color: #fff;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  outline: none;
}

.newsletter-stack input::placeholder {
  color: rgba(255, 255, 255, .35);
}

.newsletter-stack input:focus {
  border-color: var(--blue);
}

.newsletter-stack button {
  width: 100%;
  background: #AF1A1A !important;
  color: #fff;
  border: 2px solid var(--red);
  border-radius: 4px;
  padding: 11px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all .25s;
}

.newsletter-stack button:hover {
  background: transparent;
  color: var(--red);
}

/* RED bottom bar */
.footer-bottom {
  background: var(--red) !important;
  border-top: none !important;
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #fff !important;
  font-weight: 500;
}

@media(max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT PAGE — section title color fix
   ============================================================ */
.about-text .section-title .blue {
  color: var(--blue);
}

.about-text .section-title {
  color: var(--text);
}

/* Partners strip — diagonal wave bg */
.partners-strip {
  background: #0d1b3e;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(74, 144, 226, .12) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(74, 144, 226, .08) 0%, transparent 50%);
  padding: 56px 0;
  overflow: hidden;
  position: relative;
}

/* ============================================================
   SERVICE CARDS — EXACT FIGMA HOVER
   Red wave rises from bottom, icon ghosted, text visible,
   "Learn More >" in red at bottom
   ============================================================ */

/* Reset any previous card overrides */
.ind-card {
  position: relative;
  overflow: visible;
  cursor: pointer;
  flex: 0 0 calc(25% - 18px);
  min-width: 240px;
  background: #ffffff;
  border-radius: 12px;
  padding: 0;
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
}

.ind-card:hover {
  box-shadow: 0 16px 50px rgba(180, 20, 20, .25);
  transform: translateY(-4px);
}

/* Icon badge — sits at top center, true diamond (rotated square) */
.ind-card-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #C21D22 0%, #8D1417 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  z-index: 5;
  transition: transform .4s, box-shadow .4s;
  box-shadow: 0 4px 16px rgba(194, 29, 34, 0.45);
}

.ind-card-icon i {
  transform: rotate(-45deg);
}

.ind-card:hover .ind-card-icon {
  transform: translateX(-50%) rotate(45deg) scale(1.08);
  box-shadow: 0 6px 22px rgba(194, 29, 34, 0.6);
}

/* Card body — stays on top, always visible */
.ind-card-body-wrap {
  padding: 30px 1px 20px;
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ind-card-body-wrap h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  text-align: center;
  margin-bottom: 10px;
  transition: color .35s;
}

.ind-card:hover .ind-card-body-wrap h3 {
  color: #111;
}

.ind-card-divider {
  width: 36px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 12px;
}

.ind-card-body-wrap p {
  font-size: 13px;
  color: #555555;
  text-align: center;
  line-height: 1.7;
  transition: color .35s;
}

.ind-card:hover .ind-card-body-wrap p {
  color: #444;
}

/* "Learn More >" — hidden by default, shows on hover at bottom */
.ind-learn-more {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  text-align: center;
  margin-top: 0px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s .1s, transform .35s .1s;
  position: relative;
  z-index: 6;
}

.ind-card:hover .ind-learn-more {
  opacity: 1;
  transform: translateY(0);
}

/* The red wave overlay — clips from bottom as SVG curve */
.ind-card-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  overflow: visible;
  z-index: 3;
  transition: height .45s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.ind-card:hover .ind-card-wave {
  height: 100%;
}

.ind-card-wave svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transition: opacity .4s;
}

/* The solid red fill below the wave */
.ind-card-wave-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #9b1c1c 0%, #dc2626 100%);
  height: 65%;
  border-radius: 0 0 12px 12px;
}

/* ============================================================
   PROCESS SECTION — GRID-BASED TIMELINE POSITIONING
   ============================================================ */
.process-section {
  background: var(--bg);
  padding: 60px 0;
}

/* Master Grid Area setup */
.process-outer {
  position: relative;
  display: grid;
  /* Columns match: Left Workspace | Middle Road Asset | Right Workspace */
  grid-template-columns: 1fr 140px 1fr; 
  max-width: 1100px;
  margin: 60px auto 0 auto;
  align-items: center;
}

/* Absorb the road asset and span it from row 1 down to row 5 */
.proc-road {
  position: static;
  transform: none;
  grid-column: 2;
  grid-row: 1 / span 5;
  width: 100%;
  height: auto;
  z-index: 2;
}

.proc-road img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sub-grid system setup for row pairs */
.proc-grid-row {
  display: contents; /* Delivers inner components straight to the master container */
}

/* Bind individual structural blocks to designated rows */
.row-1 > * { grid-row: 1; }
.row-2 > * { grid-row: 2; }
.row-3 > * { grid-row: 3; }
.row-4 > * { grid-row: 4; }
.row-5 > * { grid-row: 5; }

/* Control overall row spacing parameters */
.proc-grid-row > * {
  padding-top: 55px;
  padding-bottom: 55px;
}

/* Dynamic Column Alignment Adjustments */
.pos-left {
  grid-column: 1;
  display: flex;
  justify-content: flex-end;
  text-align: right;
  align-items: center;
}

.pos-right {
  grid-column: 3;
  display: flex;
  justify-content: flex-start;
  text-align: left;
  align-items: center;
}

/* Formatting for descriptive blocks */
.proc-text-wrapper {
  flex-direction: column;
}
.pos-left.proc-text-wrapper { align-items: flex-end; }
.pos-right.proc-text-wrapper { align-items: flex-start; }

/* Formatting for numeric wrapper components */
.proc-num-wrapper {
  gap: 12px;
}

/* Circle styling structural blocks */
.proc-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .6), inset 0 2px 4px rgba(255, 255, 255, .05);
  transition: all .4s;
}

.proc-num-grey {
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2.5px solid rgba(255, 255, 255, .22);
  color: #bbb;
}

.proc-num-red {
  background: radial-gradient(circle at 40% 35%, #ef4444 0%, #b91c1c 70%);
  border: 3px solid #ef4444;
  color: #fff;
  box-shadow: 0 0 32px rgba(239, 68, 68, .7), 0 6px 18px rgba(0, 0, 0, .5);
}

/* Design-specified Line Connectors */
.proc-line-connector {
  width: 32px;
  height: 2px;
  background: #ef4444; /* Connects with your brand red accent colors */
  flex-shrink: 0;
}

/* General Typography Blocks */
.proc-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 7px;
}

.proc-step-desc {
  font-size: 13px;
  color: var(--text2, #ccc);
  line-height: 1.75;
  max-width: 340px;
}

/* ============================================================
   RESPONSIVE LAYOUT ENHANCEMENTS (MOBILE VIEWPORTS)
   ============================================================ */
@media(max-width: 768px) {
  .process-outer {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .proc-road {
    display: none;
  }

  .proc-grid-row {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .proc-grid-row > * {
    grid-column: auto !important;
    grid-row: auto !important;
    padding: 0 !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .proc-num-wrapper {
    flex-direction: row !important;
    margin-bottom: 15px;
  }

  .proc-line-connector {
    display: none; /* Strip out absolute lines across mobile views */
  }
}

/* ── IND CARD hover ── */
.ind-card {
  position: relative;
  overflow: visible;
}


/* ============================================================
   INDUSTRIES / SERVICES CARDS SLIDER
   ============================================================ */
.industries-section {
  background: var(--bg);
}

.cards-slider-wrap {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 50px;
}

.cards-slider {
  display: flex;
  gap: 24px;
  transition: transform .4s ease;
}

.ind-card {
  flex: 0 0 calc(25% - 18px);
  background: var(--card-bg);
  border-radius: 10px;
  padding: 40px 24px 28px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
  min-width: 260px;
  border-radius: 100px 15px 0 0;
  height: 250px;
}

.ind-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(227, 30, 36, .18);
}

.ind-card-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #C21D22 0%, #8D1417 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 4px 16px rgba(194, 29, 34, 0.45);
}

.ind-card-icon i {
  transform: rotate(-45deg);
}

.ind-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--card-text);
  text-align: center;
  margin: 24px 0 10px;
}

.ind-card-divider {
  width: 36px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 12px;
}

.ind-card p {
  font-size: 13px;
  color: var(--card-sub);
  text-align: center;
  line-height: 1.7;
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .2s;
  font-family: 'Poppins', sans-serif;
}

.arrow-prev {
  background: rgba(255, 255, 255, .1);
  color: var(--text);
}

.arrow-next {
  background: var(--red);
  color: #fff;
}

.arrow-prev:hover {
  background: rgba(255, 255, 255, .2);
}

.arrow-next:hover {
  background: var(--red-dark);
}

.slider-progress {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, .1);
  border-radius: 2px;
  overflow: hidden;
}

.slider-fill {
  height: 100%;
  background: var(--red);
  width: 25%;
  transition: width .4s;
}

@media(max-width:900px) {
  .ind-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media(max-width:600px) {
  .ind-card {
    flex: 0 0 100%;
  }
}


/* ============================================================
   VERTICAL SERVICE CARDS SLIDER
============================================================ */

.services-vertical-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background: #000000;
  /* Matching your black background template */
}

.services-vertical-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  color: #E31E24;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
}

/* ============================================================
   SLIDER WINDOW WRAPPER
============================================================ */
.cards-clip.vertical {
  width: 60%;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  height: 700px; /* Exact calculated window height to cleanly view 2 grid rows + gaps */
}

.cards-container.vertical {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px; /* Balanced grid gaps */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* ============================================================
   CARD STRUCTURE
============================================================ */
.service-card {
  width: 32%;
  height: 320px; /* Increased slightly to balance space for centered elements */
  position: relative;
  overflow: visible;
  border-radius: 90px 15px 15px 15px;
  background: #ffffff; /* Explicitly white cards as per Figma layout */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.2);
}

/* CARD BACKGROUND */
.card-bg {
  position: absolute;
  inset: 0;
  background: #ffffff; 
  border-radius: 90px 15px 15px 15px;
  z-index: 1;
}
/* RED HOVER DROP SHAPE */
.card-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #C21D22 0%, #8D1417 100%);
  z-index: 2;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 90px 15px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.service-card:hover .card-hover {
  height: 65%;
}

/* ============================================================
   ICON POSITIONING
============================================================ */
.icon-diamond {
  position: absolute;
  top: -27px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg); /* Centered horizontally above card boundary */
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, #C21D22, #8D1417);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(227, 30, 34, 0.4);
}

/* Keeps inside vector straight */
.icon-diamond img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transform: rotate(-45deg);
  transition: all 0.4s ease;
  filter: brightness(0) invert(1);
}

/* Hover State adjustments matching your preview images */
.service-card:hover .icon-diamond {
  top: 80px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.service-card:hover .icon-diamond img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(87%) saturate(6425%) hue-rotate(353deg) brightness(92%) contrast(97%);
}

/* ============================================================
   CARD TEXT & LINK CONTENTS
============================================================ */
.card-content {
  position: relative;
  z-index: 5;
  padding: 50px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center balances title + descriptions perfectly */
  text-align: center;
  height: 100%;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #111111; /* Clean black visibility in standard state */
  margin-top: 20px;
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Changes text fill color cleanly when red curtain drops */
.service-card:hover .card-title {
  color: #000000;
  margin-top: 165px; 
}

.title-underline {
  width: 40px;
  height: 3px;
  background: #E31E24;
  margin: 0 auto 15px auto;
  transition: opacity 0.3s ease;
}

/* .service-card:hover .title-underline {
  opacity: 0;
} */

.card-description {
  font-size: 14px;
  line-height: 1.6;
  color: #555555; /* Mid-gray visibility against white card surface */
  max-width: 280px;
  margin: 0 auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover .card-description {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

/* Learn More Link (Aligned left, starts below card hidden) */
.learn-more {
  position: absolute;
  bottom: 35px;
  left: unset; /* Firm left-side alignment */
  opacity: 0;
  transform: translateY(15px);
  text-decoration: none;
  color: #E31E24;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.learn-more::after {
  content: "→";
  transition: transform 0.3s ease;
}
.learn-more:hover::after {
  transform: translateX(4px);
}

.service-card:hover .learn-more {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   VERTICAL NAV TRACK BAR (RIGHT HAND Figma LAYOUT)
============================================================ */
.ind-navigation.vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  right: 100px; /* Pulls track outwards clear from the card container viewport */
  top: 50%;
  transform: translateY(-50%);
  height: 500px; 
  z-index: 25;
}

.ind-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 5;
}

.ind-nav-btn.prev {
  background: #ffffff;
  color: #111111;
}

.ind-nav-btn.next {
  background: #E31E24;
  color: #ffffff;
}

.ind-nav-btn:hover {
  transform: scale(1.05);
}

/* Vertical Linear Progress Bar Line track */
.ind-progress-bar {
  position: relative;
  width: 4px;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  margin: 15px 0;
  border-radius: 2px;
  overflow: hidden;
}

.ind-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  /* Dynamic update handling via JS */
  background: #E31E24;
  transition: height 0.4s ease;
}

/* Responsive Overrides */
@media(max-width: 991px) {
  .ind-navigation.vertical {
    display: none;
    /* Hide tracking bar navigation on smaller screen constraints */
  }

  .cards-clip.vertical {
    max-width: 100%;
    height: auto;
    overflow: visible;
  }

  .cards-container.vertical {
    transform: none !important;
  }
}

@media(max-width: 768px) {
  .cards-container.vertical {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BLOG SLIDER — proper horizontal slider, never wraps
   ============================================================ */
.blog-slider-outer {
  overflow: hidden;
  /* clips cards outside viewport */
  width: 100%;
  margin-top: 36px;
}

.blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  /* CRITICAL — cards never wrap to next row */
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each card is exactly 1/3 of container minus gaps */
.blog-slider-track .blog-card {
  flex: 0 0 calc(33.333% - 16px);
  /* 3 visible, accounting for 2 gaps */
  min-width: 0;
  /* prevent flex blowout */
  width: calc(33.333% - 16px);
}

/* Nav row */
.blog-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

/* Arrow buttons base style */
.arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .2s;
  flex-shrink: 0;
}

.arrow-btn.arrow-prev {
  background: #fff;
  color: black;

  border: 1px solid rgba(255, 255, 255, 0.9);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);

  /* optional */
  position: relative;
  z-index: 2;
}

.arrow-btn.arrow-next {
  background: #AF1A1A !important;
  color: #fff;
}

.arrow-btn.arrow-prev:hover {
  background: rgb(245, 244, 244);
}

.arrow-btn.arrow-next:hover {
  background: var(--red-dark);
}

body.light-mode .arrow-btn.arrow-prev {
  background: #eee;
  color: #333;
  border-color: #ddd;
}

@media(max-width:900px) {
  .blog-slider-track .blog-card {
    flex: 0 0 calc(50% - 12px);
    width: calc(50% - 12px);
  }
}

@media(max-width:600px) {
  .blog-slider-track .blog-card {
    flex: 0 0 100%;
    width: 100%;
  }
}

/* ============================================================
   PROCESS — click to activate step (only that number glows red)
   ============================================================ */

/* Default: all numbers grey metallic */
.proc-num {
  cursor: pointer;
  transition: all 0.35s ease;
  user-select: none;
}

/* Active = red glow, same as proc-num-red */
.proc-num.proc-active {
  background: radial-gradient(circle at 40% 35%, #ef4444 0%, #b91c1c 70%) !important;
  border: 3px solid #ef4444 !important;
  color: #fff !important;
  box-shadow: 0 0 32px rgba(239, 68, 68, .7), 0 6px 18px rgba(0, 0, 0, .5) !important;
}

/* Active step title glows red too */
.proc-step.proc-step-active .proc-step-title {
  color: var(--red);
}

/* ============================================================
   VERTICAL SERVICE CARDS SLIDER
   ============================================================ */
.svc-slider-section {
  display: flex;
  gap: 0;
  align-items: flex-start;
  position: relative;
  margin-top: 48px;
}

/* Cards column — outer clips the scroll, inner allows icon overhang */
.svc-slider-wrap {
  flex: 1;
  /* clip vertically but allow horizontal overflow for card icon */
  overflow: hidden;
  /* top padding lets the diamond icon (top:-28px) show above card */
  padding-top: 36px;
  /* visible height = 3 rows + 2 gaps; cards are sized by content ~min 200px */
  max-height: calc(2 * 260px + 1 * 40px + 36px);
  box-sizing: content-box;
}

.svc-slider-track {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  gap: 60px 20px;
  transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
  justify-content: center;
}

/* Right side: red line + arrows */
.svc-slider-controls {
  width: 56px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 0 0;
  position: relative;
  /* match wrap height */
  height: calc(2 * 260px + 1 * 40px + 36px);
}

.svc-slider-line {
  position: absolute;
  top: 80px;
  bottom: 50px;
  left: 50%;
  width: 2px;
  background: var(--red);
  transform: translateX(-50%);
  z-index: 0;
}

.svc-slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid rgba(255, 255, 255, .2);
  color: var(--card-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  position: relative;
  z-index: 2;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
  outline: none;
}

.svc-slider-arrow:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.svc-slider-arrow.disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

body.light-mode .svc-slider-arrow {
  border-color: rgba(0, 0, 0, .2);
}


/* terms and condition */


#global-contact-info-section {
    padding: 60px 0;
    background-color: transparent;
    color: #ffffff;
    width: 100%;
}

.reach-container-fluid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.text-center-align {
    text-align: center;
    margin-bottom: 50px;
}

#reach-main-heading {
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

#reach-highlight-span {
    color: #3498db; 
}


#reach-offices-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}


.location-card-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}


#office-card-ca, #office-card-nj, #office-card-pk {
    background: transparent;
}


.location-icon-frame {
    flex-shrink: 0;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
}

.location-vector-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.location-meta-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-region-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 2px 0; 
}

.location-info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #a0a0a0;
    line-height: 1.5;
}

.location-fa-icon {
    color: #3498db;
    font-size: 14px;
    margin-top: 2px;
    width: 16px;
    text-align: center;
}

/* Mobile Media Queries using newly declared elements */
@media (max-width: 991px) {
    #reach-offices-grid {
        flex-direction: column;
        gap: 35px;
        max-width: 500px;
        margin: 0 auto;
    }
}