/* BASE & VARIABLES */
:root {
  --brand-blue: #082863;
  --brand-red: #fe1c20;
  --bg-dark: #040c1c;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glow-red: rgba(254, 28, 32, 0.4);
  --glow-blue: rgba(8, 40, 99, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 0. NAVBAR & MOBILE MENU (Unchanged) */
#navbar-section {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--text-main);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
#navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
#navbar-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
#navbar-brand:hover #navbar-logo {
  transform: scale(1.05);
}

#navbar-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-blue);
  transition: color 0.3s;
  position: relative;
}
.navbar-link:hover,
.navbar-link.active {
  color: var(--brand-red);
}
.navbar-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-red);
  box-shadow: 0 0 10px var(--glow-red);
}
#navbar-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--brand-blue);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
#navbar-hamburger:hover {
  color: var(--brand-red);
}

#mobile-menu-section {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #020817;
  border-left: 1px solid rgba(254, 28, 32, 0.2);
  z-index: 1002;
  padding: 4rem 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu-section.open {
  right: 0;
}
#mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--brand-red);
  font-size: 1.5rem;
  cursor: pointer;
}
#mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}
.mobile-link.active {
  color: var(--brand-red);
}
#mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
#mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
/* =========================================================
   CROSS-BRANCH NAVBAR BUTTONS (DESIGN -> CIVILS)
========================================================= */

/* Desktop Navbar Button */
.nav-civils-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(254, 28, 32, 0.1); /* Frosted Brand Red */
  border: 1px solid rgba(254, 28, 32, 0.4);
  color: var(--brand-red) !important; /* Overrides standard navbar link color */
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-left: 1rem; /* Separation from standard links */
}

.nav-civils-btn i {
  transition: transform 0.3s ease;
}

.nav-civils-btn:hover {
  background-color: var(--brand-red);
  color: #ffffff !important; /* Crisp white text on hover */
  border-color: var(--brand-red);
  box-shadow: 0 0 15px rgba(254, 28, 32, 0.4);
}

.nav-civils-btn:hover i {
  transform: translateX(4px);
}

/* Mobile Menu Button */
.mobile-civils-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem; /* Pushes it down slightly from the main links */
  background-color: rgba(254, 28, 32, 0.1);
  border: 1px solid var(--brand-red);
  color: var(--brand-red) !important;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
}

.mobile-civils-btn:hover {
  background-color: var(--brand-red);
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(254, 28, 32, 0.4);
}

/* 1. LIGHT FUTURISTIC HERO SECTION (Uplifted) */
#hero-section.hero-light-mode {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5vw 4rem 5vw;
  overflow: hidden;
  background-color: #f8fafc;
  color: var(--brand-blue);
  z-index: 1;
}
#hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 40, 99, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 40, 99, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.6;
  animation: floatOrb 10s infinite alternate ease-in-out;
}
.hero-orb-blue {
  width: 400px;
  height: 400px;
  background: rgba(8, 40, 99, 0.2);
  top: -100px;
  right: -50px;
}
.hero-orb-red {
  width: 300px;
  height: 300px;
  background: rgba(254, 28, 32, 0.15);
  bottom: 10%;
  left: -100px;
  animation-delay: -5s;
}
.hero-orb-red-2 {
  width: 200px;
  height: 200px;
  background: rgba(254, 28, 32, 0.2);
  top: 20%;
  right: 40%;
  animation-delay: -2s;
  filter: blur(70px);
}

@keyframes floatOrb {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(30px) scale(1.1);
  }
}

#hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
#hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 1.2rem;
  /* Swapped to a subtle Red glass background */
  background: rgba(254, 28, 32, 0.08);
  border: 1px solid rgba(254, 28, 32, 0.2);
  /* Shifted text to red to match the new accent */
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}
.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--brand-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 28, 32, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(254, 28, 32, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(254, 28, 32, 0);
  }
}

#hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #0f172a;
}
#hero-title span {
  color: var(--brand-red);
}
#hero-subtitle {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 2.5rem;
  max-width: 90%;
  line-height: 1.7;
}
#hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.hero-btn-solid {
  background: var(--brand-red);
  color: #ffffff;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(8, 40, 99, 0.2);
}
.hero-btn-solid:hover {
  background: var(--brand-red);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(254, 28, 32, 0.3);
}

.hero-btn-outline {
  background: transparent;
  border: 1px solid rgba(8, 40, 99, 0.2);
  color: var(--brand-blue);
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-btn-outline:hover {
  background: rgba(8, 40, 99, 0.05);
  border-color: var(--brand-blue);
}

#hero-trust-indicators p {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-trust-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(8, 40, 99, 0.1);
  backdrop-filter: blur(4px);
}

#hero-visual-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5rem;
}
#hero-image-pod {
  position: relative;
  border-radius: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(8, 40, 99, 0.08);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
  animation: hoverFloat 6s infinite ease-in-out;
}
#hero-image-pod:hover {
  transform: perspective(1000px) rotateY(0deg);
}
#hero-main-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.hero-glass-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-bottom: 2px solid var(--brand-red);
  padding: 1.2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 35px rgba(8, 40, 99, 0.1);
  z-index: 3;
  animation: hoverFloat 6s infinite ease-in-out reverse;
}
.float-stat-1 {
  bottom: -20px;
  left: -40px;
}
.float-stat-2 {
  top: -20px;
  right: -20px;
  animation-delay: -3s;
}
.hero-stat-icon-wrap {
  width: 45px;
  height: 45px;
  background: rgba(254, 28, 32, 0.15);
  color: var(--brand-red);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  font-size: 1.2rem;
}
.hero-stat-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
}
.hero-stat-text p {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* 2. ARCHITECTURAL ABOUT US (Redesigned) */
#about-section {
  padding: 8rem 2rem 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
#design-about-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 500px;
}
#design-about-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 60%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
#design-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(110%);
}
.design-about-accent-box {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--brand-red);
  border-radius: 12px;
  z-index: -1;
}

#design-about-text-glass {
  position: relative;
  width: 55%;
  background: rgba(8, 40, 99, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--brand-red);
  padding: 4rem 3rem;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(4, 12, 28, 0.8);
}
#about-section-label {
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
#about-section-heading {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}
.about-desc {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* 3. PREMIUM SERVICES SECTION (Redesigned) */
#services-section {
  padding: 4rem 8vw;
  background: #030a17;
}
#services-section-header {
  text-align: center;
  margin-bottom: 4rem;
}
#services-section-label {
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}
#services-section-heading {
  font-size: 2.5rem;
  margin-top: 0.5rem;
}
#design-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.design-service-card {
  position: relative;
  min-height: 380px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(8, 40, 99, 0.6);
  transition: all 0.4s ease;
  cursor: pointer;
}
.ds-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  filter: grayscale(40%);
}
.ds-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 12, 28, 1) 0%,
    rgba(8, 40, 99, 0.7) 50%,
    rgba(4, 12, 28, 0.1) 100%
  );
  transition: opacity 0.4s ease;
}
.ds-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.ds-icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(254, 28, 32, 0.15);
  color: var(--brand-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(254, 28, 32, 0.3);
}
.ds-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #fff;
}
.ds-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  opacity: 0.8;
  transition: opacity 0.4s;
}

/* Desktop Hover interactions */
@media (min-width: 769px) {
  .design-service-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 15px 35px rgba(254, 28, 32, 0.2);
  }
  .design-service-card:hover .ds-bg-img {
    transform: scale(1.08);
    filter: grayscale(0%);
  }
  .design-service-card:hover .ds-content {
    transform: translateY(0);
  }
  .design-service-card:hover .ds-desc {
    opacity: 1;
  }
}

/* 4, 5, 6. COMBINED CTA, TESTIMONIALS, FOOTER (Unchanged as requested) */
.combined {
  position: relative;
  background: #020817;
  overflow: hidden;
}
#cta-section {
  padding: 4rem 2rem 2rem 2rem;
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}
#cta-section-orb-1,
#cta-section-orb-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
}
#cta-section-orb-1 {
  background: var(--brand-red);
  top: 0;
  left: 10%;
  opacity: 0.25;
}
#cta-section-orb-2 {
  background: var(--brand-blue);
  bottom: 50%;
  right: 20%;
  opacity: 0.4;
}
#cta-section-box {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  padding: 2px;
  background: linear-gradient(
    45deg,
    rgba(8, 40, 99, 0.8),
    rgba(254, 28, 32, 0.5)
  );
  border-radius: 12px;
}
#cta-section-glass {
  background: rgba(4, 12, 28, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 10px;
  padding: 4rem 2rem;
  text-align: center;
}
.cta-section-icon {
  font-size: 3rem;
  color: var(--brand-red);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px var(--glow-red);
}
#cta-section-title {
  font-size: 2rem;
  line-height: 2.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
#cta-section-desc {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  max-width: 600px;
  margin-inline: auto;
}
#cta-section-btn {
  background: transparent;
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  padding: 1rem 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: inset 0 0 10px rgba(254, 28, 32, 0.1);
}
#cta-section-btn:hover {
  background: var(--brand-red);
  color: var(--text-main);
  box-shadow: 0 0 30px var(--glow-red);
}

#testimonials-section {
  position: relative;
  padding: 12rem 0 10rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
#testimonials-content {
  width: 100%;
  max-width: 1200px;
  z-index: 2;
  text-align: center;
}
#testimonials-content .caption {
  width: 60vw;
  margin: auto;
  color: var(--text-muted);
}
#testimonials-section-header {
  margin-bottom: 4rem;
}
#testimonials-section-label {
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}
#testimonials-section-heading {
  font-size: 2.2rem;
}

.modern-tape {
  position: absolute;
  width: 110vw;
  left: -5vw;
  height: 3.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 3;
}
.tape-top {
  top: 4rem;
  transform: rotate(-2deg);
  background: var(--brand-blue);
  color: var(--brand-red);
  border-top: 1px solid rgba(254, 28, 32, 0.3);
  border-bottom: 1px solid rgba(254, 28, 32, 0.3);
  box-shadow: 0 0 20px rgba(8, 40, 99, 0.8);
}
.tape-bottom {
  bottom: 4rem;
  transform: rotate(2deg);
  background: var(--brand-red);
  color: #ffffff;
  border-top: 1px solid rgba(8, 40, 99, 0.5);
  border-bottom: 1px solid rgba(8, 40, 99, 0.5);
  box-shadow: 0 0 20px rgba(254, 28, 32, 0.4);
}

.tape-track-left,
.tape-track-right {
  display: flex;
  width: max-content;
  white-space: nowrap;
}
.tape-track-left {
  animation: scrollTapeLeft 30s linear infinite;
}
.tape-track-right {
  animation: scrollTapeRight 30s linear infinite;
}
.tape-track-left span,
.tape-track-right span {
  padding: 0 2rem;
}
@keyframes scrollTapeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.33%);
  }
}
@keyframes scrollTapeRight {
  0% {
    transform: translateX(-33.33%);
  }
  100% {
    transform: translateX(0);
  }
}

#testimonials-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}
#testimonials-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollTestimonials 45s linear infinite;
}
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

.test-card {
  width: 380px;
  max-width: 85vw;
  flex-shrink: 0;
  text-align: left;
  background: linear-gradient(
    145deg,
    rgba(8, 40, 99, 0.15),
    rgba(4, 12, 28, 0.6)
  );
  border: 1px solid rgba(8, 40, 99, 0.4);
  border-top: 1px solid rgba(254, 28, 32, 0.3);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  cursor: grab;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}
.test-card:active {
  cursor: grabbing;
}
.test-card:hover {
  border-color: rgba(254, 28, 32, 0.5);
  background: linear-gradient(
    145deg,
    rgba(8, 40, 99, 0.25),
    rgba(4, 12, 28, 0.8)
  );
  transform: translateY(-5px);
  box-shadow:
    0 15px 35px rgba(4, 12, 28, 0.8),
    0 0 15px rgba(254, 28, 32, 0.05);
}

.test-card-bg-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 4rem;
  color: rgba(8, 40, 99, 0.4);
  z-index: 0;
  transition: color 0.4s;
}
.test-card:hover .test-card-bg-icon {
  color: rgba(254, 28, 32, 0.1);
}
.test-card-body {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  font-weight: 300;
}
.test-card-bottom {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}
.test-card-icon-wrap {
  width: 35px;
  height: 35px;
  background: rgba(8, 40, 99, 0.5);
  color: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.test-card-meta h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}
.test-card-meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

#footer-section {
  background: #020817;
  padding: 4rem 5vw;
}
#footer-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}
.footer-section-brand-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
}
.footer-section-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.footer-section-brand-link:hover .footer-section-logo {
  opacity: 0.9;
  transform: scale(1.02);
}
.footer-section-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.footer-section-socials {
  display: flex;
  gap: 1rem;
}
.footer-section-social {
  color: var(--brand-red);
  border: 1px solid rgba(254, 28, 32, 0.3);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}
.footer-section-social:hover {
  background: var(--brand-red);
  color: var(--text-main);
  box-shadow: 0 0 15px var(--glow-red);
}
.footer-section-heading {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}
.footer-section-list {
  list-style: none;
}
.footer-section-list-item {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-section-list-item i {
  color: var(--brand-red);
}
.footer-section-list-item a:hover {
  color: var(--brand-red);
}

#footer-section-form {
  display: flex;
  border: 1px solid rgba(8, 40, 99, 0.8);
  border-radius: 4px;
  overflow: hidden;
}
#footer-section-input {
  background: transparent;
  border: none;
  padding: 0.8rem;
  color: white;
  width: 100%;
  outline: none;
  font-size: 0.85rem;
}
#footer-section-submit {
  background: var(--brand-blue);
  border: none;
  color: white;
  padding: 0 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
}
#footer-section-submit:hover {
  background: var(--brand-red);
}
#footer-section-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
}

/* RESPONSIVE & NON-HOVER ENFORCEMENTS */
@media (max-width: 992px) {
  #hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #hero-subtitle {
    margin: 0 auto 2.5rem auto;
  }
  #hero-actions {
    justify-content: center;
  }
  #hero-trust-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #hero-trust-tags {
    justify-content: center;
  }
  #hero-visual-content {
    margin-top: 3rem;
  }
  .float-stat-1 {
    left: 10px;
    bottom: -10px;
  }
  .float-stat-2 {
    right: 10px;
    top: -10px;
  }

  /* Make About Section Stack */
  #design-about-container {
    flex-direction: column;
    justify-content: center;
    min-height: auto;
  }
  #design-about-image {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: -100px;
  }
  #design-about-text-glass {
    width: 90%;
    padding: 3rem 2rem;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  #navbar-container {
    padding: 1rem 1.5rem;
  }
  #navbar-links {
    display: none;
  }
  #navbar-hamburger {
    display: block;
    margin-left: auto;
  }
  #hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .hero-btn-solid,
  .hero-btn-outline {
    font-size: 0.85rem;
    padding: 0.8rem 1.5rem;
    width: 80vw;
    justify-content: center;
  }
  .float-stat-1,
  .float-stat-2 {
    position: relative;
    inset: auto;
    margin: 1rem auto;
    width: 100%;
    max-width: 300px;
    transform: none;
    animation: none;
  }
  #hero-visual-content {
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }
  #hero-container {
    gap: 0;
    margin-bottom: 1rem;
  }

  /* Services Mobile Enforcements (No-Hover Fixes) */
  .design-service-card {
    border-color: var(--brand-red); /* Always show border */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Permanent shadow */
  }
  .design-service-card .ds-content {
    transform: translateY(0);
  } /* Always lifted */
  .design-service-card .ds-desc {
    opacity: 1;
  } /* Always readable */
  .design-service-card .ds-overlay {
    background: linear-gradient(
      to top,
      rgba(4, 12, 28, 1) 0%,
      rgba(8, 40, 99, 0.8) 70%,
      rgba(4, 12, 28, 0.3) 100%
    );
  } /* Darker gradient by default to read text */

  /* Unchanged CTA/Testimonials fixes */
  #testimonials-section {
    padding: 10rem 0 6rem 0;
  }
  #testimonials-content .caption {
    width: 80vw;
  }
  #testimonials-section-header {
    margin-bottom: 4rem;
    width: 80vw;
    margin: 0 auto;
  }
  #testimonials-section-heading {
    font-size: 2.2rem;
    line-height: 2.1rem;
    margin: 0.5rem auto 1rem auto;
  }
  .tape-top {
    top: 2rem;
  }
  .tape-bottom {
    bottom: 2rem;
  }
  .test-card {
    width: 320px;
    padding: 1.5rem;
    min-height: 240px;
  }
}

/* EXPLORE MORE BUTTON */
.services-explore-wrap {
  text-align: center;
  margin-top: 4rem;
}
.explore-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 1.2rem 3rem;
  background: transparent;
  border: 1px solid rgba(254, 28, 32, 0.4);
  color: var(--brand-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px; /* Pill shape for contrast against square cards */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.explore-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--brand-red);
  z-index: -1;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.explore-more-btn:hover {
  color: var(--text-main);
  border-color: var(--brand-red);
  box-shadow: 0 10px 30px rgba(254, 28, 32, 0.3);
  padding-left: 2.5rem;
  padding-right: 3.5rem;
}
.explore-more-btn:hover::before {
  width: 100%;
}
.explore-more-btn i {
  transition: transform 0.4s;
}
.explore-more-btn:hover i {
  transform: translateX(10px);
}

/* =========================================================
   CROSS-BRANCH FULL-WIDTH STRIP
========================================================= */
#cross-branch-strip {
  position: relative;
  width: 100%;
  padding: 6rem 2rem;
  /* Edge-to-edge cinematic gradient using Design Branch Blue */
  background: linear-gradient(90deg, #020611 0%, rgba(8, 40, 99, 0.4) 100%);
  border-top: 1px solid rgba(254, 28, 32, 0.15);
  border-bottom: 1px solid rgba(254, 28, 32, 0.15);
  overflow: hidden;
  z-index: 2;
}

/* Massive abstract glow to make it stand out without borders */
.cb-bg-glow {
  position: absolute;
  top: 50%;
  left: -10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: var(--brand-red);
  filter: blur(180px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.cb-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

/* Sharp architectural vertical line instead of a box container */
.cb-text-block {
  flex: 1;
  border-left: 4px solid var(--brand-red);
  padding-left: 2.5rem;
}

.cb-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cb-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 650px;
}

.cb-desc span {
  color: var(--text-main);
  font-weight: 600;
}

.cb-action-block {
  flex-shrink: 0;
}

.cb-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 1.2rem 2.5rem;
  background: rgba(254, 28, 32, 0.08);
  border: 1px solid var(--brand-red);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(254, 28, 32, 0.1);
  backdrop-filter: blur(5px);
}

.cb-strip-btn:hover {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 10px 40px rgba(254, 28, 32, 0.4);
  transform: translateY(-3px);
}

.cb-strip-btn i {
  transition: transform 0.3s ease;
}

.cb-strip-btn:hover i {
  transform: translateX(10px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .cb-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
  .cb-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  #cross-branch-strip {
    padding: 4rem 1.5rem;
  }
  .cb-bg-glow {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0.2;
  }
  .cb-text-block {
    padding-left: 1.5rem;
    border-left-width: 3px;
  }
  .cb-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .cb-desc {
    font-size: 1rem;
  }
  .cb-action-block {
    width: 100%;
  }
  .cb-strip-btn {
    width: 100%;
    justify-content: center;
    /* Enforced visibility on mobile since there is no hover */
    background: rgba(254, 28, 32, 0.15);
  }
}

/* =========================================
   FLOATING LEFT BUTTON (WhatsApp/Help)
   ========================================= */
.wws-popup__open-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;

  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;

  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;

  /* --- ANIMATION STATE: HIDDEN BY DEFAULT --- */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9); /* Start slightly down and small */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy entrance */
}

/* --- ACTIVE STATE: VISIBLE --- */
.wws-popup__open-btn.show-widget {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wws-popup__open-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.wws--text-color {
  color: #ffffff;
}
.wws--bg-color {
  background-color: #22c15e;
}
.wws-shadow {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.wws-popup__open-btn svg {
  width: 20px;
  height: 20px;
}
