/* ==========================================================================
   Spenomatic Exact Brand UI Components
   ========================================================================== */

/* Top Bar */
.top-bar {
  background-color: var(--purple-dark);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.top-bar-info a {
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-info a:hover {
  color: var(--accent-red);
}

/* Header & Navigation */
.header-main {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo-brand-img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

/* Deep Purple Floating Nav Pill Bar */
.nav-purple-pill-bar {
  background-color: var(--purple-navy);
  border-radius: 50px;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 6px 20px rgba(49, 39, 92, 0.2);
}

.nav-pill-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-pill-item {
  margin: 0;
}

.nav-pill-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: #FFFFFF !important;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-pill-link:hover, .nav-pill-item.active .nav-pill-link {
  background-color: #231B48;
  color: #FFFFFF !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Header Search Circle Button */
.search-btn-circle {
  background-color: var(--purple-navy);
  color: #FFFFFF !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(49, 39, 92, 0.2);
}

.search-btn-circle:hover {
  background-color: var(--accent-red);
  transform: scale(1.05);
}

/* Mobile Hamburger Button (Hidden on Desktop) */
.mobile-nav-toggle {
  display: none;
  background: var(--purple-navy);
  color: #FFFFFF;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: var(--accent-red);
}

/* Red Gradient Call to Action Pill Button */
.btn-red-gradient {
  display: inline-block;
  background: linear-gradient(90deg, #E11D48 0%, #9F1239 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  padding: 0.95rem 2.25rem;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn-red-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(225, 29, 72, 0.5);
  color: #FFFFFF !important;
}

/* Secondary White Outline CTA Button */
.btn-outline-white-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid #FFFFFF;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  padding: 0.9rem 2.25rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.btn-outline-white-pill:hover {
  background: #FFFFFF;
  color: var(--purple-navy) !important;
  transform: translateY(-2px);
}

/* Hero Dynamic Slider Component with Lighter Overlay & Smooth Animations */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: var(--purple-dark);
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out, visibility 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
}

.hero-slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-item h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero-slide-item p {
  font-size: 1.25rem;
  color: #F8FAFC;
  max-width: 780px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* Slider Navigation Arrows Centered Exactly */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
  border: none;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.25s ease, transform 0.25s ease;
  line-height: 0;
  padding: 0 0 3px 0;
}

.slider-arrow:hover {
  background: var(--accent-red);
  transform: translateY(-50%) scale(1.1);
}

.arrow-left { left: 1.5rem; }
.arrow-right { right: 1.5rem; }

/* Dot Indicators */
.slider-dots-bar {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.dot-item {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot-item.active, .dot-item:hover {
  background: var(--accent-red);
  transform: scale(1.25);
}

/* Animated Map Country Pointers */
.map-country-zone {
  position: absolute;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-core-dot {
  width: 14px;
  height: 14px;
  background-color: var(--accent-red);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 2;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.pin-radar-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  animation: pulsePinRing 2s ease-out infinite;
  opacity: 0.8;
  z-index: 1;
}

@keyframes pulsePinRing {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.map-country-zone:hover .pin-core-dot,
.map-country-zone.active .pin-core-dot {
  transform: scale(1.35);
  background-color: #2563EB;
}

.pin-hover-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--purple-navy);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 30;
}

.map-country-zone:hover .pin-hover-tooltip,
.map-country-zone.active .pin-hover-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Radial Circular Layout for Division Selector (Contact Page Row 2) */
.radial-circle-container {
  position: relative;
  width: 580px;
  height: 580px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-ring {
  position: absolute;
  width: 440px;
  height: 440px;
  border: 2px dashed rgba(49, 39, 92, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.radial-center-box {
  width: 220px;
  height: 220px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  cursor: pointer;
}

.radial-node-btn {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--purple-navy);
  color: #FFFFFF;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(49, 39, 92, 0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
  padding: 0.5rem;
}

/* Breathe In Proportionally Animation on Hover */
@keyframes breatheNode {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(49, 39, 92, 0.3);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 16px 35px rgba(225, 29, 72, 0.5);
  }
  100% {
    transform: scale(1.12);
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.4);
  }
}

.radial-node-btn:hover {
  animation: breatheNode 1.2s ease-in-out infinite alternate;
  background: var(--accent-red) !important;
  z-index: 20;
}

.radial-node-btn .node-icon {
  margin-bottom: 0.25rem;
}

.radial-node-btn .node-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

/* 7 Mathematically Balanced Nodes Radially (Center 290, 290 | Radius 210) */
.node-1 { top: 30px; left: 240px; }
.node-2 { top: 109px; left: 404px; }
.node-3 { top: 287px; left: 445px; }
.node-4 { top: 439px; left: 331px; }
.node-5 { top: 439px; left: 149px; }
.node-6 { top: 287px; left: 35px; }
.node-7 { top: 109px; left: 76px; }

/* Contact Form Popup Modal Overlay (1-to-1 Match with Screenshot 2) */
.modal-backdrop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5vw;
}

.modal-window-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--slate-body);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--accent-red);
}

/* What We Do Filter Bar & Cards Stack */
.service-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.filter-pill-btn {
  background-color: var(--purple-navy);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.filter-pill-btn:hover, .filter-pill-btn.active {
  background-color: #231B48;
  box-shadow: 0 4px 12px rgba(49, 39, 92, 0.3);
  transform: translateY(-1px);
}

.service-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-card-item {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border-top: 4px solid var(--accent-red);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-card-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
}

.service-card-img-col {
  width: 100%;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
}

.service-card-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-text-col h3 {
  font-size: 1.5rem;
  color: var(--purple-navy);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-card-text-col p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate-body);
  margin-bottom: 1.75rem;
}

.btn-red-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent-red) !important;
  border: 1.5px solid var(--accent-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1.6rem;
  border-radius: 50px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-red-outline:hover {
  background-color: var(--accent-red);
  color: #FFFFFF !important;
}

/* Project Cards Stack Layout (Exact 1-to-1 Match) */
.project-card-item {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border-top: 4px solid var(--accent-red);
  margin-bottom: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.project-card-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2.5rem;
  padding: 2rem;
  align-items: start;
}

.project-card-left-col img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.project-card-left-col h3 {
  font-size: 1.3rem;
  color: var(--purple-navy);
  font-weight: 800;
  line-height: 1.35;
}

.project-card-right-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.project-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--purple-navy);
}

.project-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-excerpt-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate-body);
  margin-bottom: 1.75rem;
}

/* Vertical Center Timeline (Exact 1-to-1 Match with Live Website) */
.timeline-vertical-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-vertical-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--accent-red);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  position: relative;
  width: 100%;
}

.timeline-row:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content-side {
  width: 44%;
}

.timeline-card-box {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--accent-red);
}

.timeline-row:nth-child(even) .timeline-card-box {
  border-left: none;
  border-right: 4px solid var(--accent-red);
}

.timeline-center-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: var(--accent-red);
  border: 4px solid #ffffff;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.3);
}

.timeline-date-side {
  width: 44%;
  text-align: center;
}

.timeline-date-pill {
  display: inline-block;
  background: var(--accent-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  padding: 0.45rem 1.75rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

/* Purple Key Statistics Block */
.stats-purple-block {
  background: linear-gradient(135deg, var(--purple-navy) 0%, var(--purple-main) 100%);
  padding: 4.5rem 0;
  color: #ffffff;
}

.stats-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.stat-card-white {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--accent-red);
}

.stat-card-white .num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card-white .label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-navy);
}

/* Transforming Multiple Industries (Exact Layout) */
.transforming-left-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 380px;
}

.transforming-icons-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 2rem;
}

.vector-icon-sm {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.transforming-heading-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.transforming-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E1B4B;
  margin-top: 1rem;
}

.transforming-icon-bottom {
  margin-top: 2rem;
  align-self: flex-end;
}

/* 2x2 Solid Purple Bottom Card Grid */
.industry-grid-exact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.industry-card-exact {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.industry-card-exact:hover {
  transform: translateY(-4px);
}

.industry-card-img-wrap {
  height: 180px;
  width: 100%;
  overflow: hidden;
}

.industry-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-card-bar {
  background-color: var(--purple-navy);
  color: #FFFFFF;
  padding: 1.1rem 1rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.industry-card-bar.blue-text {
  color: #3B82F6;
}

/* Experience Our Results Section (Whitish Gradient Disabled) */
.results-section-wrap {
  background: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 50%, #F8FAFC 100%);
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
}

.results-section-wrap::before {
  display: none !important;
}

.results-left-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
}

.results-badge-container {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
}

.results-badge-box {
  background-color: var(--purple-navy);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1.25rem;
  border-radius: 4px;
}

.results-badge-line {
  height: 2px;
  width: 140px;
  background-color: var(--purple-navy);
}

.results-subtitle-exact {
  font-size: 1.05rem;
  color: var(--slate-body);
  line-height: 1.6;
  max-width: 380px;
}

.results-grid-exact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.results-card-exact {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  background-color: var(--purple-navy);
}

.results-card-exact:hover {
  transform: translateY(-4px);
}

.results-card-exact .card-img-wrap {
  height: 180px;
  width: 100%;
  overflow: hidden;
}

.results-card-exact .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.results-card-exact .card-body-wrap {
  background-color: var(--purple-navy);
  color: #FFFFFF;
  padding: 1.25rem 1rem;
  text-align: center;
}

.results-card-exact .card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.results-card-exact .card-title.blue-text {
  color: #3B82F6;
}

.results-card-exact .btn-blue-pill {
  background-color: #2563EB;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.35rem;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.results-card-exact .btn-blue-pill:hover {
  background-color: #1D4ED8;
}

/* Impact Cards (5 Glassmorphism Cards) */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.impact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  color: #ffffff;
  transition: var(--transition-normal);
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-5px);
  border-color: var(--accent-red);
}

.impact-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.impact-card h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.impact-card p {
  font-size: 0.88rem;
  color: #CBD5E1;
}

/* Footprint Section */
.footprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.office-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--purple-main);
  box-shadow: var(--card-shadow);
}

.office-box h4 {
  color: var(--purple-navy);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.office-box p {
  font-size: 0.9rem;
  color: var(--slate-body);
}

.footprint-map-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow-hover);
}

/* Conversation Banner */
.conversation-banner {
  background: linear-gradient(135deg, #EBF1FD 0%, #DCE6FB 100%);
  padding: 4.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.conversation-banner h2 {
  font-size: 2.6rem;
  color: var(--purple-navy);
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.conversation-banner p {
  color: var(--slate-body);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer-main {
  background: var(--purple-dark);
  color: #94A3B8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 3px solid var(--accent-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Rules (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-slider-container {
    height: 520px !important;
  }
  .hero-slide-item h1 {
    font-size: 2.2rem !important;
  }
  .hero-slide-item p {
    font-size: 1.05rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Hero Slider Mobile CTAs Spacing (Prevents Touching When Stacked) */
  .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }
  .hero-actions .btn-red-gradient,
  .hero-actions .btn-outline-white-pill {
    width: 85% !important;
    max-width: 320px !important;
    box-sizing: border-box !important;
    margin-bottom: 0.5rem !important;
  }

  .slider-arrow {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.8rem !important;
  }
  .arrow-left { left: 0.5rem !important; }
  .arrow-right { right: 0.5rem !important; }

  /* 1. Global Container Padding & Title Wrap Spacing */
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  h1 {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  h2, .transforming-heading-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  h3 {
    font-size: 1.3rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* 2. Service & Project Cards Stack on Mobile */
  .service-card-inner,
  .project-card-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1.5rem !important;
  }
  .service-card-img-col,
  .project-card-left-col img {
    height: 200px !important;
  }
  .service-filter-bar {
    gap: 0.5rem !important;
    justify-content: flex-start !important;
  }
  .filter-pill-btn {
    font-size: 0.82rem !important;
    padding: 0.45rem 1rem !important;
  }

  /* 3. Top Bar: Remove center contacts text, leave clickable icon buttons */
  .top-bar-center-locations {
    display: none !important;
  }
  .top-bar-text {
    display: none !important;
  }
  .top-bar-info {
    justify-content: center;
    width: 100%;
    gap: 1.5rem;
  }
  .top-bar-info a {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
  }

  /* 4. Full-Screen Mobile Dropdown Menu Below Header Strip */
  .header-main {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    background: #FFFFFF !important;
  }
  .header-container {
    height: 70px !important;
  }
  .logo-brand-img {
    height: 42px !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
  .nav-purple-pill-bar {
    display: none;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 70px) !important;
    background: var(--purple-navy) !important;
    border-radius: 0 !important;
    padding: 2.5rem 1.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
  }
  .nav-purple-pill-bar.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .nav-pill-menu {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 1rem !important;
  }
  .nav-pill-link {
    display: block !important;
    text-align: center !important;
    padding: 1rem 2rem !important;
    font-size: 1.2rem !important;
    width: 100% !important;
    max-width: 320px !important;
    border-radius: 50px !important;
  }

  /* 6. Desktop Row Sections Stacked Vertically */
  .section-padding {
    padding: 3.5rem 0 !important;
  }
  
  /* 2-Column Grid Containers Stacked */
  .section-padding .container > div[style*="grid-template-columns"],
  .footprint-grid,
  .results-section-wrap .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }

  .results-left-wrap {
    padding-right: 0 !important;
  }

  /* 2x2 Image Grid Stacked Vertically */
  .industry-grid-exact,
  .results-grid-exact {
    grid-template-columns: 1fr !important;
  }

  /* Key Stats Cards Grid Stacked */
  .stats-grid-cards {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* 5 Pillars Impact Grid Stacked */
  .impact-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Footer 4-Column Grid Stacked */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Transforming Section Left Box Reset */
  .transforming-left-wrap {
    min-height: auto;
  }

  /* 7. Vertical Timeline Mobile Contained (No Right Overflow) */
  .timeline-vertical-wrap {
    padding: 1rem 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .timeline-vertical-wrap::before {
    left: 12px !important;
  }
  .timeline-row,
  .timeline-row:nth-child(even) {
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 2.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .timeline-content-side,
  .timeline-date-side {
    width: calc(100% - 36px) !important;
    margin-left: 36px !important;
    box-sizing: border-box !important;
  }
  .timeline-card-box {
    padding: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-left: 4px solid var(--accent-red) !important;
    border-right: none !important;
  }
  .timeline-center-node {
    left: 12px !important;
    top: 24px !important;
    transform: translateX(-50%) !important;
  }
  .timeline-date-side {
    margin-top: 0.75rem !important;
    text-align: left !important;
  }
  .timeline-date-pill {
    font-size: 1.05rem !important;
    padding: 0.35rem 1.25rem !important;
  }

  /* Radial Circle Mobile Responsiveness */
  .radial-circle-container {
    width: 340px;
    height: 340px;
  }
  .radial-ring {
    width: 260px;
    height: 260px;
  }
  .radial-node-btn {
    width: 75px;
    height: 75px;
  }
  .radial-node-btn .node-label {
    font-size: 0.62rem;
  }
  .node-1 { top: 10px; left: 135px; }
  .node-2 { top: 45px; left: 225px; }
  .node-3 { top: 135px; left: 255px; }
  .node-4 { top: 225px; left: 220px; }
  .node-5 { top: 255px; left: 135px; }
  .node-6 { top: 210px; left: 45px; }
  .node-7 { top: 110px; left: 15px; }

  /* Contact Page Mobile Map & Info Re-ordering (Map on Top, Location Details Below Map) */
  .contact-map-grid-container {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 2.25rem !important;
  }

  .modal-backdrop-overlay {
    padding-left: 0;
    justify-content: center;
    padding: 1rem;
  }
}
