:root {
  --brand-red: #ff0c07;
  --brand-red-glow: rgba(255, 12, 7, 0.4);
  --brand-black: #000000;
  --brand-black-light: #111111;
  --bg-light: #ffffff;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --text-muted: #999999;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Base Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Subtle Background Pattern */
.pattern-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--text-gray) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.02;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-nav-blend {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(248, 249, 250, 1) 0%,
    rgba(248, 249, 250, 0.8) 40%,
    rgba(248, 249, 250, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-top: 150px;
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(
    circle at 30% 20%,
    #ffffff 0%,
    #f0f2f5 40%,
    #e2e6eb 100%
  );
}
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.05);
  z-index: 0;
  pointer-events: none;
}
.hero-glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.hero-glow-1 {
  width: 450px;
  height: 450px;
  background: var(--brand-red);
  top: 5%;
  right: -50px;
  opacity: 0.12;
}
.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--brand-black);
  bottom: -100px;
  left: -100px;
  opacity: 0.08;
}
.hero-glow-3 {
  width: 350px;
  height: 350px;
  background: #cc0000;
  top: 40%;
  left: 40%;
  opacity: 0.06;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}
.hero-content-col {
  display: flex;
  flex-direction: column;
}
.hero-title-wrapper {
  margin-bottom: 10px;
}
.hero-block-text {
  display: inline-block;
  background-color: #ffffff;
  color: var(--brand-black);
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 3.2rem;
  line-height: 1;
  padding: 8px 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  clear: both;
  float: left;
  border-radius: 4px;
}
.hero-clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.hero-subheading {
  margin-top: 30px;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-gray);
  line-height: 1.6;
  max-width: 90%;
}
.hero-subheading strong {
  color: var(--brand-black);
  font-weight: 700;
}
.hero-button-group {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
}
.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: var(--transition);
  cursor: pointer;
}
.hero-btn-primary {
  background: var(--brand-red);
  color: var(--white);
  border: 2px solid var(--brand-red);
  box-shadow: 0 10px 25px rgba(255, 12, 7, 0.2);
}
.hero-btn-primary:hover {
  background: transparent;
  color: var(--brand-red);
  transform: translateY(-3px);
  box-shadow: none;
}
.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  color: var(--brand-black);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.hero-btn-secondary:hover {
  background: #ffffff;
  border-color: var(--brand-black);
  transform: translateY(-3px);
}

.hero-core-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.hero-stat-block {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-black);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-desc {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-gray);
}

.hero-masonry-wrap {
  display: flex;
  gap: 20px;
  width: 100%;
}
.hero-masonry-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.hero-card-item {
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.hero-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.hero-card-tall {
  height: 320px;
}
.hero-card-square {
  height: 230px;
}
.hero-push-down {
  margin-top: 90px;
}
.hero-img-bg {
  background-size: cover;
  background-position: center;
}
.hero-img-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
.hero-stat-card-inner {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.hero-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.hero-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.hero-stat-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.hero-card-black {
  background: linear-gradient(145deg, #181818 0%, #000000 100%);
  border: 1px solid #333;
}
.hero-card-black::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(255, 12, 7, 0.2),
    transparent 60%
  );
  background-size: 10px 10px;
  z-index: 1;
}
.hero-card-black .hero-stat-icon {
  background: rgba(255, 12, 7, 0.15);
  color: var(--brand-red);
  border: 1px solid rgba(255, 12, 7, 0.3);
}
.hero-card-black .hero-stat-badge {
  background: rgba(0, 255, 100, 0.1);
  color: #00ff64;
  border: 1px solid rgba(0, 255, 100, 0.2);
}
.hero-card-black h4 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
}
.hero-card-black p {
  color: #888;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-card-red {
  background: linear-gradient(145deg, #ff2a26 0%, #cc0000 100%);
  border: 1px solid #ff4d4d;
}
.hero-card-red::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.hero-card-red .hero-stat-icon {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero-card-red .hero-stat-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero-card-red h4 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
}
.hero-card-red p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}
.hero-progress-fill-red {
  width: 75%;
  height: 100%;
  background: var(--brand-red);
  box-shadow: 0 0 10px var(--brand-red);
  border-radius: 2px;
}
.hero-progress-fill-white {
  width: 85%;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
  padding: 4rem 6vw 60px;
  background-color: var(--white);
}
.about-section .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-section .about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-red);
  margin-bottom: 15px;
}
.about-section .about-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--brand-red);
}
.about-section .about-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--brand-black);
}
.about-section .about-desc {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 20px;
}
.about-section .about-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
  list-style: none;
}
.about-section .about-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
}
.about-section .about-features i {
  color: var(--brand-red);
  font-size: 1.2rem;
}
.about-section .about-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: var(--brand-red);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: var(--transition);
  border: 2px solid var(--brand-red);
  box-shadow: 0 10px 20px var(--brand-red-glow);
}
.about-section .about-btn:hover {
  background: transparent;
  color: var(--brand-red);
  transform: translateY(-3px);
  box-shadow: none;
}
.about-section .about-image-box {
  width: 100%;
  height: 450px;
  border-radius: 24px;
  background: url("Picture2.png") center/cover;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   HOMEPAGE: SERVICES SECTION (Premium Light Theme & Staggered Grid)
   ========================================================================== */
.home-svc-section {
  padding: 3rem 30px 180px;
  /* Soft, airy light gradient */
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f0f2f5 100%);
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  margin: 0 6vw 100px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02);
}

/* Ambient Background Glows */
.home-svc-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.home-svc-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--brand-red);
  top: -100px;
  left: -200px;
  opacity: 0.05;
}
.home-svc-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--brand-red);
  bottom: -100px;
  right: -150px;
  opacity: 0.03;
}

/* Technical Grid Backdrop (Light Mode) */
.home-svc-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

.home-svc-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}
.home-svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-red);
  margin-bottom: 15px;
  justify-content: center;
}
.home-svc-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--brand-red);
}
.home-svc-title {
  font-size: clamp(2.8rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--brand-black);
  line-height: 1.1;
  margin-bottom: 20px;
}
.home-svc-subtitle {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.6;
}

.home-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

/* Light Glassmorphic Card Styling */
.home-svc-card {
  position: relative;
  padding: 45px 35px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* Creates the sleek staggered layout on Desktop */
@media (min-width: 1025px) {
  .home-svc-card:nth-child(2),
  .home-svc-card:nth-child(5) {
    transform: translateY(40px);
  }
}

.home-svc-card:hover {
  border-color: rgba(255, 12, 7, 0.2);
  background: #ffffff;
  box-shadow:
    0 25px 50px rgba(255, 12, 7, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.02);
}
/* Adjust hover transform for the staggered cards */
@media (min-width: 1025px) {
  .home-svc-card:not(:nth-child(2)):not(:nth-child(5)):hover {
    transform: translateY(-10px);
  }
  .home-svc-card:nth-child(2):hover,
  .home-svc-card:nth-child(5):hover {
    transform: translateY(30px);
  }
}

/* Brutalist Background Number (Light Mode) */
.home-svc-number {
  position: absolute;
  top: -20px;
  right: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 8rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.03);
  z-index: 0;
  pointer-events: none;
  transition: color 0.4s ease;
}
.home-svc-card:hover .home-svc-number {
  color: rgba(255, 12, 7, 0.05);
}

.home-svc-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 12, 7, 0.05);
  border: 1px solid rgba(255, 12, 7, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-red);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}
.home-svc-card:hover .home-svc-icon {
  background: var(--brand-red);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.home-svc-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.home-svc-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 15px;
  line-height: 1.2;
}
.home-svc-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 35px;
  flex-grow: 1;
}
.home-svc-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--brand-black);
  letter-spacing: 1px;
  transition: var(--transition);
}
.home-svc-link i {
  color: var(--brand-red);
  transition: transform 0.3s ease;
}
.home-svc-card:hover .home-svc-link {
  color: var(--brand-red);
  gap: 12px;
}

/* --- Responsive Rules --- */
@media (max-width: 1024px) {
  .home-svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .home-svc-card:nth-child(2),
  .home-svc-card:nth-child(5) {
    transform: translateY(0);
  } /* Reset stagger */
  .home-svc-card:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .home-svc-section {
    margin: 0;
    border-radius: 0;
    padding: 100px 0;
  }
  .home-svc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-svc-card {
    padding: 40px 30px;
  }
}

/* --- Responsive Rules --- */
@media (max-width: 1024px) {
  .home-svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .home-svc-card:nth-child(2),
  .home-svc-card:nth-child(5) {
    transform: translateY(0);
  } /* Reset stagger */
  .home-svc-card:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .home-svc-section {
    margin: 0;
    border-radius: 0;
    padding: 100px 0;
  }
  .home-svc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-svc-card {
    padding: 40px 30px;
  }
}

/* ==========================================================================
   UNIFIED DARK WRAPPER (PROCESS + CTA)
   ========================================================================== */
.unified-dark-section {
  background-color: var(--brand-black-light);
  color: var(--white);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.unified-dark-section .orb-process {
  width: 600px;
  height: 600px;
  background: var(--brand-red);
  top: 10%;
  left: -200px;
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.2;
}
.unified-dark-section .orb-cta {
  width: 700px;
  height: 700px;
  background: var(--brand-red);
  bottom: 10%;
  right: -200px;
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.3;
}

/* --- Process Sub-Section --- */
.process-section {
  padding: 120px 0 0 0;
  position: relative;
  z-index: 2;
}
.process-section .process-header {
  text-align: center;
  margin-bottom: 60px;
}
.process-section .process-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 15px;
  justify-content: center;
}
.process-section .process-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--brand-red);
}
.process-section .process-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--white);
}
.process-section .process-subtitle {
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}
.process-section .process-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 60px;
}
.process-section .process-container::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 50px;
  right: 50px;
  height: 2px;
  background-image: linear-gradient(
    to right,
    var(--brand-red) 50%,
    transparent 50%
  );
  background-size: 15px 100%;
  opacity: 0.5;
  z-index: 0;
}
.process-section .process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 15px;
}
.process-section .process-icon-wrap {
  width: 90px;
  height: 90px;
  background: var(--brand-black);
  border: 2px solid var(--brand-red);
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--brand-red-glow);
  transition: var(--transition);
}
.process-section .process-step:hover .process-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 0 35px var(--brand-red);
}
.process-section .process-icon-wrap i {
  font-size: 2rem;
  color: var(--white);
}
.process-section .process-step h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--white);
}
.process-section .process-step p {
  font-size: 0.95rem;
  color: #aaa;
}

/* --- CTA Sub-Section --- */
.cta-section {
  text-align: center;
  position: relative;
  padding: 150px 0 180px;
  z-index: 2;
}
.cta-section .cta-bottom-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("red-back.jpg") bottom/cover no-repeat;
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    transparent 80%
  );
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 80%);
  z-index: -1;
}
.cta-section .cta-content {
  position: relative;
  z-index: 2;
}
.cta-section .cta-title {
  font-size: 3.8rem;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--white);
}
.cta-section .cta-desc {
  font-size: 1.25rem;
  color: #e0e0e0;
  max-width: 650px;
  margin: 0 auto 40px;
}
.cta-section .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: var(--brand-red);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: var(--transition);
  border: 2px solid var(--brand-red);
  box-shadow: 0 10px 20px var(--brand-red-glow);
}
.cta-section .cta-btn:hover {
  background: transparent;
  color: var(--brand-red);
  transform: translateY(-3px);
  box-shadow: none;
}

/* ==========================================================================
   TESTIMONIALS SECTION (Ultra-Premium Light Editorial Design)
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-offwhite); /* Switched to soft off-white */
  color: var(--brand-black);
  padding: 4rem 0 2rem;
  overflow: hidden;
  position: relative;
  border-radius: 40px;
  margin: 0 20px 2rem;
  border: 1px solid rgba(0, 0, 0, 0.03); /* Added subtle border for light theme */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02); /* Soft ambient shadow */
}

/* Subtle background noise/texture for that premium print feel */
.testi-bg-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply; /* Helps the texture blend cleanly into the light bg */
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.testimonials-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--brand-black);
  line-height: 1.1;
  letter-spacing: -1px;
}
.testimonials-title span {
  color: var(--brand-red);
  display: block;
}

.carousel-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
}

/* The Card Layout */
.testimonial-card {
  display: none;
  animation: fadeQuote 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.testimonial-card.active {
  display: block;
}
@keyframes fadeQuote {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.testi-card-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(20px, 4vw, 50px);
  padding: 0 20px;
}

/* The Massive Gradient Quotation Marks (Adjusted for Light Theme) */
.testi-quote-mark {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(8rem, 15vw, 15rem);
  line-height: 0.8;
  font-weight: 900;
  /* Rich Red Gradient adjusted to pop on white */
  background: linear-gradient(
    160deg,
    #ff4d4d 0%,
    var(--brand-red) 40%,
    #990000 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  opacity: 0.8;
  transform: translateY(30px);
}

/* The Center Content */
.testi-content {
  flex: 1;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--text-gray); /* Dark gray for readability */
  line-height: 1.7;
  margin-bottom: 30px;
}
.testimonial-text strong {
  color: var(--brand-black); /* Pure black for emphasis */
  font-weight: 700;
}

.client-info h4 {
  font-size: 1.1rem;
  color: var(--brand-red);
  text-transform: capitalize;
  font-weight: 700;
  margin-bottom: 5px;
}
.client-info span {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.4); /* Light theme subtitle */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.testimonials-section .dot {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.1); /* Darker dots for light bg */
  cursor: pointer;
  transition: var(--transition);
}
.testimonials-section .dot.active {
  background: var(--brand-red);
  width: 50px;
}

/* Bottom Logo Strip (Supporters/Partners) */
.testi-logo-strip {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08); /* Darker border line */
  text-align: center;
  position: relative;
  z-index: 2;
}
.testi-strip-title {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.4); /* Darker subtitle */
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 30px;
}
.testi-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  flex-wrap: wrap;
  opacity: 0.4; /* Soft dark logos */
  transition: var(--transition);
  color: var(--brand-black); /* Set icon colors to black */
}
.testi-logos:hover {
  opacity: 0.8;
}
.testi-logo-item {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -1px;
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {
  .testi-quote-mark {
    font-size: 10rem;
  }
  .testi-card-inner {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    border-radius: 0;
    margin: 0;
    padding: 100px 20px;
  }
  .testi-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .testi-quote-mark {
    display: none;
  }
  .testi-content {
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   FOOTER SECTION (Ultra-Premium & Editorial)
   ========================================================================== */
.footer-section {
  background-color: #0a0a0f; /* Deepest dark for maximum contrast */
  color: var(--white);
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ambient glow anchoring the bottom of the page */
.footer-section::before {
  content: "";
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 300px;
  background: var(--brand-red);
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.footer-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
}

/* Brand Area */
.footer-about .logo {
  font-size: 2.2rem;
  letter-spacing: -1px;
  display: inline-block;
  margin-bottom: 15px;
}
.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 350px;
  font-weight: 300;
}

/* Editorial Headers */
.footer-links h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Red dash indicator */
.footer-links h4::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-red);
}

/* Sleek Link Hover Effects */
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  font-weight: 400;
}
/* Hidden arrow that slides in on hover */
.footer-links a::before {
  content: "\f061"; /* FontAwesome right arrow */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--brand-red);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
  margin-right: 0;
  width: 0;
  overflow: hidden;
}
.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}
.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
  margin-right: 10px;
  width: auto;
}

/* Contact Info with Glassmorphic Icons */
.footer-links li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-links li i {
  /* background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1); */
  color: var(--brand-red);
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* Bottom Bar - Flex Layout */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Added Social/Legal styling for the bottom bar */
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}
.footer-bottom-links a:hover {
  color: var(--white);
}

/* Brand Area */
.footer-about .logo {
  display: inline-block;
  margin-bottom: 20px;
}
.footer-logo-img {
  max-height: 45px;
  width: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* PRO TIP: If your logo.png is black/dark, uncomment the line below to invert it to pure white for this dark footer */
  /* filter: brightness(0) invert(1); */
}
.footer-about .logo:hover .footer-logo-img {
  transform: scale(1.05);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 350px;
  font-weight: 300;
}

/* ==========================================================================
   FOOTER RESPONSIVE RULES
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 80px 0 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .footer-logo-img {
    max-height: 30px;
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUT RULES (GLOBAL COMPONENT QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-section .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-section .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-section .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-section .nav-links {
    display: none;
  }
  .hero-section {
    padding-top: 130px;
  }
  .hero-block-text {
    font-size: 2.4rem;
    padding: 6px 15px;
  }
  .hero-masonry-wrap {
    flex-direction: column;
    gap: 20px;
  }
  .hero-push-down {
    margin-top: 0;
  }
  .hero-card-tall,
  .hero-card-square {
    height: 240px;
  }
  .hero-button-group {
    flex-wrap: wrap;
  }
  .hero-core-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .process-section .process-container {
    flex-direction: column;
    gap: 40px;
  }
  .process-section .process-container::before {
    display: none;
  }

  .services-section .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-section .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-section .cta-title {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   DESKTOP NAVBAR STYLES
   ========================================================================== */
.nav-section {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 35px 5vw;
  transition: var(--transition);
}
.nav-section.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  padding: 20px 5vw;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Image Logo */
.footer-logo-img {
  /* max-height: 40px; */
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}
.logo:hover .footer-logo-img {
  transform: scale(1.05);
}

/* Desktop Links */
.nav-list {
  display: flex;
  gap: 35px;
  list-style: none;
}
.nav-list a {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  color: var(--brand-black);
  transition: var(--transition);
}
.nav-list a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  bottom: -6px;
  left: 0;
  transition: var(--transition);
}
.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Hide mobile elements on desktop */
.menu-toggle,
.menu-bg-grid,
.menu-orb,
.menu-footer {
  display: none;
}

/* ==========================================================================
   ULTRA-FUTURISTIC MOBILE MENU
   ========================================================================== */
@media (max-width: 768px) {
  /* Hamburger Icon */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 22px;
    cursor: pointer;
    z-index: 9999;
    position: relative;
  }
  .menu-toggle .bar {
    height: 2px;
    width: 100%;
    background-color: var(--brand-black);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left center;
  }

  /* Animate Hamburger to 'X' (Turns white for dark background) */
  .menu-toggle.toggle-active .bar {
    background-color: var(--white);
  }
  .menu-toggle.toggle-active .bar:nth-child(1) {
    transform: rotate(45deg) translate(2px, -3px);
  }
  .menu-toggle.toggle-active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.toggle-active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 3px);
  }

  /* -----------------------------------------------------
     THE DARK CINEMATIC OVERLAY
     ----------------------------------------------------- */
  .nav-section .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050508; /* Deep dark void */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    margin: 0;
    z-index: 9998;

    /* The Futuristic Expanding Circle Animation */
    clip-path: circle(0px at top right);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      clip-path 0.6s cubic-bezier(0.8, 0, 0.2, 1),
      opacity 0.4s ease;
  }

  .nav-section .nav-links.active-menu {
    clip-path: circle(150% at top right);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Ambient Mobile Decor */
  .menu-bg-grid {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }
  .menu-orb {
    display: block;
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
  }
  .menu-orb-1 {
    width: 300px;
    height: 300px;
    background: var(--brand-red);
    top: -50px;
    left: -100px;
    opacity: 0.15;
  }
  .menu-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--brand-red);
    bottom: -100px;
    right: -150px;
    opacity: 0.1;
  }

  /* -----------------------------------------------------
     MOBILE TYPOGRAPHY & LINKS
     ----------------------------------------------------- */
  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 2;
    width: 100%;
  }

  .nav-list li {
    /* Set up for staggered entrance */
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  /* Staggered cascading animation when menu is active */
  .active-menu .nav-list li {
    transform: translateY(0);
    opacity: 1;
  }
  .active-menu .nav-list li:nth-child(1) {
    transition-delay: 0.2s;
  }
  .active-menu .nav-list li:nth-child(2) {
    transition-delay: 0.25s;
  }
  .active-menu .nav-list li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .active-menu .nav-list li:nth-child(4) {
    transition-delay: 0.35s;
  }
  .active-menu .nav-list li:nth-child(5) {
    transition-delay: 0.4s;
  }

  /* Outline Font Effect */
  .nav-list a {
    font-family: "Montserrat", sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    display: inline-block;
    transition: all 0.3s ease;
  }
  .nav-list a::after {
    display: none;
  } /* Remove desktop line */

  /* Fill in with color on tap/active */
  .nav-list a:hover,
  .nav-list a.active {
    color: var(--white);
    -webkit-text-stroke: 0px;
    transform: translateX(10px);
  }

  /* -----------------------------------------------------
     MOBILE MENU BOTTOM FOOTER
     ----------------------------------------------------- */
  .menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    z-index: 2;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.5s; /* Delayed entrance */
  }
  .active-menu .menu-footer {
    transform: translateY(0);
    opacity: 1;
  }

  .menu-contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .menu-contact-info span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
  }
  .menu-contact-info a {
    color: var(--brand-red);
    font-weight: 600;
    font-size: 1rem;
  }

  .menu-socials {
    display: flex;
    gap: 15px;
  }
  .menu-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
  }
  .menu-socials a:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
  }
}
