/* ==========================================
   Search Group Technologies - Light Premium Style
   ========================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Archivo+Black&display=swap');

/* CSS Variables */
:root {
  --bg-color: #FFFFFF;
  --text-primary: #0A0A0A;
  --text-secondary: #5C5C5C;
  --text-muted: #8F8F8F;
  --border-color: #E6E6E6;
  
  --badge-green-bg: #ECFDF5;
  --badge-green-text: #059669;
  --badge-green-dot: #10B981;
  --button-hover-bg: #2C2C2C;
  
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: clip; /* Contain full-bleed (100vw) dividers without breaking the sticky header */
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Subtle Grid Background Overlay */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  padding-top: 20px;
  pointer-events: none; /* Clicks pass through the floating top padding */
}

.navbar {
  position: relative; /* Position reference for absolute mobile menu card */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px; /* More compact capsule size */
  background-color: rgba(255, 255, 255, 0.55); /* iOS ultra-glass transparency */
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px; /* Capsule curved shape */
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.6), 0 8px 32px rgba(0, 0, 0, 0.05); /* Premium glowing halo shadow */
  padding: 0 28px 0 16px;
  pointer-events: auto; /* Clicks active on navbar */
  transition: var(--transition-spring), background-color 0.4s ease, border-color 0.4s ease;
}

.navbar:hover {
  background-color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.75), 0 10px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px) scale(1.006);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes logoFadeIn {
  0% { opacity: 0; transform: translateY(-8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  animation: logoFloat 6s ease-in-out infinite;
}

.nav-brand .logo-img {
  height: 88px; /* Enlarge logo to pop out of capsule */
  width: auto;
  object-fit: contain;
  transition: var(--transition-spring), filter 0.3s ease;
  animation: logoFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.85)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.05)); /* High contrast white glow + dark shadow */
}

.nav-brand:hover .logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 24px rgba(255, 255, 255, 0.95)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-primary);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition-spring), background-color 0.3s ease;
}

.search-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: scale(1.08);
}

.search-btn:active {
  transform: scale(0.92);
}

.search-btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.3s ease;
}

.search-btn:hover svg {
  transform: rotate(15deg);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid #1C1C1C;
  background-color: transparent;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-spring), background-color 0.3s ease, color 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--text-primary);
  color: #FFFFFF;
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.cta-btn:active {
  transform: scale(0.97);
}

/* Global Mobile-Only Helper */
.mobile-only-item {
  display: none !important;
}

.mobile-expanded-content {
  display: none !important; /* Hide globally on desktop */
}

/* Hamburger mobile menu button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  transition: var(--transition-spring);
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================
   HERO CONTENT
   ========================================== */
.hero-section {
  margin-top: -96px; /* Offset the 20px padding-top + 76px navbar height */
  padding-top: 196px; /* Double padding spacing to center hero details */
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  margin-bottom: 40px;
  text-decoration: none;
  transition: var(--transition-spring), border-color 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hero-badge:hover {
  border-color: #A3A3A3;
  transform: scale(1.02) translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.badge-discount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background-color: var(--badge-green-bg);
  color: var(--badge-green-text);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-right: 12px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--badge-green-dot);
  border-radius: 50%;
  display: inline-block;
}

.badge-text {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-text svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.hero-badge:hover .badge-text svg {
  transform: translateX(3px);
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.0rem, 4.5vw, 4.0rem); /* Elegantly scaled down for PC monitors */
  font-weight: 800; /* Solid bold headline */
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
  text-align: center;
  min-height: 160px; /* Prevent layout content jumping during cycles */
  display: inline-block;
  width: 100%;
  max-width: 980px;
}

.typewriter-cursor {
  color: var(--text-primary);
  font-weight: 300;
  margin-left: 2px;
  animation: blink-cursor 0.75s step-end infinite;
  display: inline-block;
}

@keyframes blink-cursor {
  from, to { opacity: 0; }
  50% { opacity: 1; }
}

/* Floating Metric Widgets Styling */
.hero-floating-widgets {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10;
}

.floating-widget {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.78); /* High-end translucent base */
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65); /* Elegant glass boundary */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03), inset 0 1px 1px rgba(255, 255, 255, 0.85); /* Apple-style inset specular highlight */
  border-radius: 20px; /* Softer, modern round corners */
  padding: 12px 20px;
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  animation: float-animation 6s ease-in-out infinite;
}

.floating-widget:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.widget-left {
  top: 45%;
  left: -20px;
  animation-delay: 0s;
}

.widget-right {
  top: 58%;
  right: -20px;
  animation-delay: 3s; /* Out of phase float */
}

@keyframes float-animation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.widget-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.14), rgba(37, 211, 102, 0.04));
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-icon svg {
  width: 18px;
  height: 18px;
}

.widget-icon.news-icon {
  background: linear-gradient(135deg, rgba(66, 153, 225, 0.14), rgba(66, 153, 225, 0.04));
  color: #4299E1;
  border: 1px solid rgba(66, 153, 225, 0.15);
}

.widget-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Pulsing Status Dot */
.widget-status-dot {
  width: 6px;
  height: 6px;
  background-color: #25D366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.5);
  animation: pulse-dot 1.8s infinite;
  margin-left: 2px;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px rgba(37, 211, 102, 0.8); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.widget-title {
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 700;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  gap: 4px;
}

.checkmark-badge {
  color: #25D366;
  font-weight: 800;
  font-size: 12px;
}

.widget-sub {
  font-family: var(--font-secondary);
  font-size: 11px;
  color: #718096;
}

.widget-value {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  color: #25D366;
  margin-left: 8px;
}

.widget-value.value-blue {
  color: #4299E1;
}

/* Responsive constraints for widgets */
@media (max-width: 1240px) {
  .widget-left {
    left: 10px;
  }
  .widget-right {
    right: 10px;
  }
}

@media (max-width: 1023px) {
  .hero-floating-widgets {
    position: static;
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    height: auto;
    pointer-events: auto;
  }
  .floating-widget {
    position: static;
    animation: none !important;
    flex: 1;
    max-width: 260px;
  }
}

@media (max-width: 580px) {
  .hero-floating-widgets {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin-top: 24px;
  }
  .floating-widget {
    max-width: 100%;
    width: 100%;
  }
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 18.5px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 660px;
  margin-bottom: 44px;
  text-align: center;
}

@keyframes shimmerSweep {
  0% { left: -150%; }
  15% { left: 150%; }
  100% { left: 150%; }
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 38px;
  border-radius: 999px;
  background-color: var(--text-primary);
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-spring), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hero-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: shimmerSweep 5s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-btn:hover {
  background-color: var(--button-hover-bg);
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.hero-btn:active {
  transform: scale(0.97) translateY(0);
}

/* ==========================================
   PARTNERS SECTION
   ========================================== */
.partners-section {
  width: 100%;
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 34px;
}

/* Marquee viewport with soft fade edges */
.partners-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 90px;
  animation: partnersScroll 36s linear infinite;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  opacity: 0.9;
  transition: var(--transition-spring), opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.08);
}

.partner-logo img {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.partner-name {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
  }
}

/* ==========================================
   GROWTH SECTION
   ========================================== */
.growth-section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-color);
}

.growth-header {
  margin-bottom: 60px;
}

.growth-label {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  display: block;
}

.growth-divider {
  width: 100vw;
  max-width: 100vw;
  height: 1px;
  background-color: var(--border-color);
  border: none;
  margin: 14px calc(50% - 50vw) 0; /* Full-bleed to match section borders */
}

.growth-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.growth-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.growth-title {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.growth-text {
  margin-bottom: 36px;
}

.growth-text p {
  font-family: var(--font-secondary);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.growth-text p:last-child {
  margin-bottom: 0;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1px solid #1C1C1C;
  background-color: transparent;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-spring), background-color 0.3s ease, color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: var(--text-primary);
  color: #FFFFFF;
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.learn-more-btn:active {
  transform: scale(0.97);
}

.growth-right {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
  transition: var(--transition-spring), box-shadow 0.4s ease;
}

.growth-right:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.growth-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.growth-right:hover .growth-img {
  transform: scale(1.04);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-color);
}

.services-header-wrap {
  margin-bottom: 60px;
}

.services-label-row {
  position: relative;
}

.services-label {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  display: block;
}

.services-divider {
  width: 100vw;
  max-width: 100vw;
  height: 1px;
  background-color: var(--border-color);
  border: none;
  margin: 14px calc(50% - 50vw) 0; /* Full-bleed to match section borders */
}

.services-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.services-title {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.services-controls {
  display: flex;
  gap: 14px;
}

.slider-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #1C1C1C;
  background-color: transparent;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-spring), background-color 0.3s ease, color 0.3s ease;
}

.slider-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.slider-btn:hover {
  background-color: var(--text-primary);
  color: #FFFFFF;
  transform: scale(1.08);
}

.slider-btn:active {
  transform: scale(0.92);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  height: 360px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  transition: var(--transition-spring), box-shadow 0.4s ease;
  border-radius: 16px;
  cursor: pointer;
}

/* Original light pastel background colors */
.service-card.card-blue { background-color: #F1F5F9; }
.service-card.card-teal { background-color: #F0F7F6; }
.service-card.card-gray { background-color: #F7F7F7; }
.service-card.card-peach { background-color: #FDF2EC; }
.service-card.card-yellow { background-color: #FEF9E6; }

.service-card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
}

.service-card:active {
  transform: scale(0.97) translateY(0);
}

.service-card-empty {
  visibility: hidden;
  height: 360px;
}

.card-title {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-desc {
  font-family: var(--font-secondary);
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.card-link {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.card-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.card-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================
   CTA BANNER SECTION
   ========================================== */
.cta-banner-section {
  padding: 60px 0 80px 0;
  position: relative;
  z-index: 2;
}

.cta-banner-card {
  width: 100%;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
  transition: var(--transition-spring), border-color 0.3s ease;
}

.cta-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
}

.cta-banner-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 36px;
  max-width: 680px;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  background-color: var(--text-primary);
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-spring);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.cta-banner-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: shimmerSweep 5s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-banner-btn:hover {
  background-color: var(--button-hover-bg);
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.cta-banner-btn:active {
  transform: scale(0.97) translateY(0);
}

/* ==========================================
   CONTACT US SECTION
   ========================================== */
.contact-section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-color);
}

.contact-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 55px;
}

.contact-main-title {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.contact-header-text {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 420px;
  text-align: right;
}

.contact-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}

.contact-form-card {
  background-color: #F9F9F9;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input, 
.form-group textarea, 
.form-group select {
  font-family: var(--font-secondary);
  font-size: 15px;
  color: var(--text-primary);
  background-color: #F1F1F1;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 18px;
  width: 100%;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
  background-color: #FFFFFF;
  border-color: #A3A3A3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-wrapper::after {
  content: '▼';
  font-size: 8px;
  color: var(--text-secondary);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.date-wrapper {
  position: relative;
  width: 100%;
}

.form-submit-group {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  align-items: center;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  background-color: var(--text-primary);
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition-spring), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-submit-btn:hover {
  background-color: var(--button-hover-bg);
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-submit-btn:active {
  transform: scale(0.97) translateY(0);
}

.contact-arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--text-primary);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-spring), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-arrow-btn:hover {
  background-color: var(--button-hover-bg);
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-arrow-btn:active {
  transform: scale(0.92) translateY(0);
}

.contact-arrow-btn svg {
  width: 20px;
  height: 20px;
}

.contact-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 450px;
  width: 100%;
}

.contact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-image-wrapper:hover .contact-img {
  transform: scale(1.04);
}

.journey-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 500;
  pointer-events: none;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.info-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #F3F4F6;
  border: 1px solid transparent;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-spring), background-color 0.3s ease, color 0.3s ease;
}

.contact-info-col:hover .info-icon-circle {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--text-primary);
  color: #FFFFFF;
}

.info-icon-circle svg {
  width: 22px;
  height: 22px;
}

.info-title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.info-detail {
  font-family: var(--font-secondary);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-detail a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.info-detail a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* ==========================================
   FOOTER SECTION — REDESIGNED
   ========================================== */
.main-footer {
  padding: 90px 0 40px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.footer-divider-top {
  width: 100vw;
  max-width: 100vw;
  height: 1px;
  background-color: var(--border-color);
  margin: 0 calc(50% - 50vw) 60px; /* Full-bleed to match section borders */
}

.footer-divider-bottom {
  width: 100vw;
  max-width: 100vw;
  height: 1px;
  background-color: var(--border-color);
  margin: 0 calc(50% - 50vw) 28px; /* Full-bleed to match section borders */
}

/* ---- Redesigned Grid ---- */
.footer-grid-redesigned {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.6fr 1.2fr;
  gap: 48px;
  align-items: start;
}

/* Col 1 – Big Logo */
.footer-brand-column {
  display: flex;
  align-items: flex-start;
}

.footer-brand-redesigned {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-brand-redesigned:hover {
  transform: scale(1.04);
}

.footer-big-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

/* Col 2 – Explore */
.footer-explore-column {}

.footer-redesigned-heading {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.footer-redesigned-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-redesigned-links a {
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-redesigned-links a:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* Col 3 – Follow (Social Capsules) */
.footer-follow-column {}

.footer-social-capsules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.social-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  background-color: transparent;
  white-space: nowrap;
}

.social-capsule:hover {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.capsule-icon,
.social-capsule .social-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Col 4 – Action Boxes (minimal text-link style) */
.footer-actions-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-action-link-box {
  display: block;
  text-decoration: none;
  padding: 18px 0;
  transition: opacity 0.25s ease;
  border-bottom: 1px solid var(--border-color);
}

.footer-action-link-box:first-child {
  border-top: 1px solid var(--border-color);
}

.footer-action-link-box:hover {
  opacity: 0.7;
}

.footer-action-link-box.link-orange {
  background-color: transparent;
  color: #FF4D00;
}

.footer-action-link-box.link-black {
  background-color: transparent;
  color: var(--text-primary);
}

.action-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.action-title-row span {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.action-arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.footer-action-link-box.link-orange .action-arrow-circle {
  background-color: #FF4D00;
}

.footer-action-link-box.link-black .action-arrow-circle {
  background-color: var(--text-primary);
}

.footer-action-link-box:hover .action-arrow-circle {
  transform: translate(2px, -2px);
}

.action-arrow-circle svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
}

.action-subtext {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  opacity: 1;
}

.footer-action-link-box.link-orange .action-subtext {
  color: var(--text-secondary);
}

/* ---- Massive "SGT" Text ---- */
.footer-massive-text {
  font-family: 'Archivo Black', var(--font-primary), sans-serif;
  font-size: clamp(160px, 28vw, 420px);
  font-weight: 400; /* Archivo Black only has 400 but it's ultra-black */
  letter-spacing: -0.05em;
  line-height: 0.78;
  color: var(--text-primary);
  margin-top: 50px;
  margin-bottom: 40px;
  user-select: none;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

/* ---- Footer Bottom Bar ---- */
.footer-bottom-redesigned {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-left a,
.footer-bottom-right a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom-left a:hover,
.footer-bottom-right a:hover {
  color: var(--text-primary);
}

.dot-separator {
  opacity: 0.4;
  font-size: 10px;
}

.copyright-highlight {
  color: var(--text-primary) !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.weather-info {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* ---- Footer Responsive ---- */
@media (max-width: 1023px) {
  .footer-grid-redesigned {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .footer-big-logo {
    height: 90px;
  }

  .footer-massive-text {
    font-size: clamp(100px, 18vw, 220px);
    margin-top: 40px;
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  .main-footer {
    padding: 60px 0 30px 0;
  }

  .footer-grid-redesigned {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand-column {
    justify-content: center;
  }

  .footer-big-logo {
    height: 80px;
  }

  .footer-social-capsules {
    grid-template-columns: 1fr;
  }

  .footer-massive-text {
    font-size: clamp(80px, 20vw, 160px);
    text-align: center;
    margin-top: 30px;
    margin-bottom: 24px;
  }

  .footer-bottom-redesigned {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

/* Keep old classes for backward compat (unused but safe) */
.footer-grid,
.footer-col,
.brand-col,
.footer-logo,
.footer-brand,
.footer-brand-desc,
.footer-heading,
.footer-links,
.footer-badge,
.external-icon,
.footer-bottom,
.copyright,
.footer-social-icons,
.social-icon-link { }


/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Grid Reveal (Services Grid) */
.reveal-grid .service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-grid.active .service-card {
  opacity: 1;
  transform: translateY(0);
}

.reveal-grid.active .service-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-grid.active .service-card:nth-child(2) { transition-delay: 0.15s; }
.reveal-grid.active .service-card:nth-child(3) { transition-delay: 0.25s; }
.reveal-grid.active .service-card:nth-child(4) { transition-delay: 0.35s; }
.reveal-grid.active .service-card:nth-child(5) { transition-delay: 0.15s; }
.reveal-grid.active .service-card:nth-child(6) { transition-delay: 0.25s; }
.reveal-grid.active .service-card:nth-child(7) { transition-delay: 0.35s; }
.reveal-grid.active .service-card:nth-child(8) { transition-delay: 0.45s; }

/* Staggered Element Reveal (Growth & Contact columns/rows) */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.35s; }

/* ==========================================
   RESPONSIVE STYLING (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  .navbar {
    height: 90px;
  }
  
  .nav-menu {
    gap: 20px;
  }
  
  .partners-track {
    gap: 64px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card-empty {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
  }
  
  .brand-col {
    grid-column: span 3;
    max-width: 100%;
  }
  
  .footer-brand-desc {
    max-width: 500px;
  }
  
  .contact-content-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-image-wrapper {
    min-height: 360px;
  }
}

@media (max-width: 868px) {
  /* Mobile Navigation Styles */
  .mobile-toggle {
    display: flex;
  }
   .nav-menu {
    display: none !important; /* Hide old menu overlay */
  }

  /* Reset header styles from previous overlay */
  .mobile-menu-open {
    overflow: hidden; /* Prevent body scroll when menu is active */
  }

  /* Keep header z-index high */
  .header {
    z-index: 1000;
  }

  /* Morphing Navbar Capsule Styling */
  .navbar {
    position: relative;
    height: 76px; /* Collapsed tablet height */
    padding: 0 24px 0 16px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px; /* Curved corners matching reference card */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden; /* Hide contents when collapsed */
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }

  /* Expanded State - covers the full screen on mobile/tablet */
  .navbar.active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important; /* Flattened edges to cover entire screen */
    background-color: #F8F9FA; /* Light gray base matching reference card */
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 20px 24px !important;
    z-index: 9999;
  }

  /* Top brand logo and mobile toggle alignment when active */
  .navbar.active {
    align-items: flex-start; /* Align children to top row inside active card */
  }

  .navbar.active .nav-brand,
  .navbar.active .nav-actions {
    height: 80px; /* Retain height of header row */
    display: flex;
    align-items: center;
    transform: none !important;
    position: static !important;
  }

  .navbar.active .nav-brand .logo-img {
    height: 74px !important; /* Make logo bigger when menu is open */
  }

  /* Expanded Content styling */
  .mobile-expanded-content {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 28px 40px 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99;
    overflow-y: auto;
    height: calc(100vh - 100px);
  }

  .navbar.active .mobile-expanded-content {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease 0.1s;
  }

  .expanded-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .expanded-links a {
    font-family: var(--font-primary);
    font-size: 26px; /* Larger font size matching Royal Medic */
    font-weight: 500;
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    letter-spacing: -0.01em;
  }

  .expanded-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
  }

  /* Stacked Action Buttons styling */
  .expanded-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
    width: 100%;
  }

  .menu-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: 999px;
    background-color: #2D3748; /* Dark charcoal button */
    color: #FFFFFF;
    font-family: var(--font-primary);
    font-size: 15.5px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-spring);
  }

  .menu-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: 999px;
    background-color: #EDF2F7; /* Light gray button */
    color: #2D3748;
    font-family: var(--font-primary);
    font-size: 15.5px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-spring);
  }

  .menu-btn-primary:hover,
  .menu-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .menu-btn-primary:active,
  .menu-btn-secondary:active {
    transform: translateY(0);
  }

  /* Separator */
  .expanded-separator {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.06);
    margin: 28px 0 20px 0;
    width: 100%;
  }

  /* Footer Details block - Left/Right split */
  .expanded-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: auto;
    padding-top: 10px;
  }

  .info-block-left,
  .info-block-right {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .info-block-right {
    text-align: right;
  }

  .info-block-left span,
  .info-block-right span {
    font-family: var(--font-secondary);
    font-size: 13.5px;
    color: #718096;
    line-height: 1.45;
  }

  .info-block-left span a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
  }

  .info-block-left span a:hover {
    text-decoration: underline;
  }

  /* Search and Let's Talk button adjustments on Mobile */
  .search-btn {
    display: none !important; /* Hide search btn on mobile header */
  }

  .navbar.active .cta-btn {
    display: none !important; /* Hide CTA button inside mobile header when expanded */
  }

  .cta-btn {
    padding: 8px 16px;
    font-size: 13px;
    margin-right: 12px;
  }

  .nav-brand .logo-img {
    height: 60px; /* Balanced brand logo size fitting the mobile capsule */
    transition: transform 0.3s ease;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-actions {
    margin-right: 15px;
  }
  
  .hero-section {
    padding-top: 60px;
    padding-bottom: 50px;
  }
  
  .hero-title {
    min-height: 200px;
  }
  
  .growth-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .growth-title {
    margin-bottom: 30px;
  }
  
  .services-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 580px) {
  .container {
    padding: 0 20px;
  }
  
  .navbar {
    height: 70px;
    padding: 0 20px 0 12px;
  }
  
  .navbar.active {
    height: 100vh !important; /* Full height on mobile screens */
  }
  
  .navbar.active .nav-brand,
  .navbar.active .nav-actions {
    height: 70px; /* Target mobile header row height */
  }
  
  .mobile-expanded-content {
    top: 90px;
    padding: 20px 20px 50px 20px;
    height: calc(100vh - 90px);
  }
  
  .footer-logo {
    height: 76px !important; /* Make footer logo bigger and visible on mobile */
  }
  
  .hero-section {
    margin-top: -90px; /* Offset mobile 20px padding-top + 70px navbar height */
    padding-top: 150px;
  }
  
  .nav-brand .logo-img {
    height: 60px; /* Balanced brand logo size fitting the mobile capsule */
  }
  
  .nav-actions .search-btn {
    display: none;
  }
  
  .hero-badge {
    margin-bottom: 30px;
  }
  
  .hero-title {
    margin-bottom: 20px;
    min-height: 240px;
  }
  
  .hero-subtitle {
    margin-bottom: 36px;
  }
  
  .hero-btn {
    width: 100%;
    padding: 16px 28px;
  }
  
  .partners-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .partners-track {
    gap: 48px;
    animation-duration: 26s;
  }

  .partner-logo img {
    height: 28px;
    max-width: 120px;
  }

  .partner-name {
    font-size: 18px;
  }
  
  .growth-section {
    padding: 60px 0;
  }
  
  .growth-header {
    margin-bottom: 36px;
  }
  
  .services-section {
    padding: 60px 0;
  }
  
  .services-header-wrap {
    margin-bottom: 36px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-card {
    height: 300px;
    padding: 28px;
  }
  
  .cta-banner-section {
    padding: 50px 0 70px 0;
  }
  
  .cta-banner-card {
    padding: 60px 20px;
    border-radius: 24px;
  }
  
  .cta-banner-title {
    margin-bottom: 30px;
    line-height: 1.35;
  }
  
  .cta-banner-btn {
    width: 100%;
    padding: 15px 28px;
  }
  
  .main-footer {
    padding: 60px 0 40px 0;
  }
  
  .footer-divider-top {
    margin-bottom: 40px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  
  .brand-col {
    grid-column: span 2;
  }
  
  .footer-divider-bottom {
    margin: 40px calc(50% - 50vw) 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 36px;
  }
  
  .contact-header-text {
    text-align: left;
  }
  
  .contact-form-card {
    padding: 36px 20px;
    border-radius: 16px;
  }
  
  .form-fields-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .form-submit-group {
    width: 100%;
  }
  
  .contact-submit-btn {
    flex-grow: 1;
    padding: 15px 28px;
  }
  
  .contact-info-grid {
    margin-top: 50px;
    padding-top: 40px;
  }
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: var(--transition-spring);
  text-decoration: none;
}

.whatsapp-widget img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(37, 211, 102, 0.45)); /* Glow fits speech bubble tail outline */
  transition: transform 0.3s ease;
}

.whatsapp-widget:hover img {
  transform: scale(1.1) translateY(-3px);
  filter: drop-shadow(0 12px 28px rgba(37, 211, 102, 0.55));
}

.whatsapp-widget:active img {
  transform: scale(0.9) translateY(0);
}

.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  background-color: #1F2937;
  color: #FFFFFF;
  font-family: var(--font-secondary);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: #1F2937;
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile responsive placement */
@media (max-width: 580px) {
  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  

  
  .whatsapp-tooltip {
    display: none; /* Hide tooltip on small screens */
  }
}

/* Contact Page Hero Banner Override */
.contact-hero {
  min-height: 380px !important;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 170px !important; /* Pushes content down past the negative margin header offset */
  padding-bottom: 80px !important;
}

@media (max-width: 868px) {
  .contact-hero {
    min-height: 320px !important;
    height: auto !important;
    padding-top: 140px !important;
    padding-bottom: 60px !important;
  }
}

@media (max-width: 580px) {
  .contact-hero {
    min-height: 260px !important;
    height: auto !important;
    padding-top: 120px !important;
    padding-bottom: 50px !important;
  }
}

/* Legal Pages Content Styling */
.legal-section {
  padding: 90px 0;
  background-color: #FFFFFF;
}

.legal-card {
  background: #F8F9FA;
  border: 1.5px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 50px 48px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.02);
}

.legal-card h2 {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 40px 0 16px 0;
  letter-spacing: -0.01em;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  font-family: var(--font-secondary);
  font-size: 15.5px;
  color: #4A5568;
  line-height: 1.75;
  margin-bottom: 24px;
}

.legal-card ul {
  font-family: var(--font-secondary);
  font-size: 15.5px;
  color: #4A5568;
  line-height: 1.75;
  margin-bottom: 24px;
  padding-left: 20px;
  list-style-type: disc;
}

.legal-card li {
  margin-bottom: 10px;
}

@media (max-width: 580px) {
  .legal-section {
    padding: 60px 0;
  }
  .legal-card {
    padding: 30px 20px;
    border-radius: 16px;
  }
  .legal-card h2 {
    font-size: 20px;
    margin: 30px 0 12px 0;
  }
  .legal-card p,
  .legal-card ul {
    font-size: 14.5px;
  }
}

/* Copyright Privacy Link Highlight */
.copyright-highlight {
  color: #1A1A1A; /* Brighter charcoal highlight */
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
  transition: color 0.2s ease;
}

.copyright-highlight:hover {
  color: #718096;
  text-decoration: underline;
}

/* Morphing Detached Header (Desktop only) */
@media (min-width: 1024px) {
  /* Transition settings */
  .header {
    transition: padding-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .navbar {
    background-color: transparent !important;
    border-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-brand {
    transform: scale(1.18);
    transform-origin: left center;
    filter: brightness(1.3) drop-shadow(0 8px 24px rgba(255, 255, 255, 0.95)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  }

  .nav-pill-content {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 76px;
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.6), 0 8px 32px rgba(0, 0, 0, 0.05);
    padding: 0 28px;
    margin-left: auto;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                margin-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Scrolled State Morph */
  .header-scrolled .navbar {
    background-color: rgba(255, 255, 255, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.6), 0 8px 32px rgba(0, 0, 0, 0.05) !important;
    padding: 0 28px 0 16px !important; /* Incorporates logo inside padding */
  }

  .header-scrolled .nav-brand {
    transform: scale(1.0);
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.85)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.05));
  }

  .header-scrolled .nav-pill-content {
    background-color: transparent !important;
    border-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 0;
  }
}

/* Mobile & Tablet Fallback styling */
@media (max-width: 1023px) {
  .nav-pill-content {
    display: contents; /* Bypass layout wrapper so mobile toggle menu behaves as direct navbar children */
  }
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-section {
  padding: 90px 0 40px;
  background-color: #FFFFFF;
}

.about-lead {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
}

.about-lead h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.about-lead p {
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.about-split {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.about-split.reverse {
  flex-direction: row-reverse;
}

.about-img {
  flex: 1 1 50%;
}

.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  display: block;
}

.about-text {
  flex: 1 1 50%;
}

.about-text h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}

.about-text p {
  font-family: var(--font-secondary);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-values-section {
  padding: 40px 0 100px;
  background-color: #FFFFFF;
}

.about-values-head {
  text-align: center;
  margin-bottom: 46px;
}

.about-values-head h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: #F8F9FA;
  border: 1.5px solid rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  padding: 34px 30px;
  transition: var(--transition-spring), box-shadow 0.4s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.value-card h4 {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.value-card p {
  font-family: var(--font-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 868px) {
  .about-split,
  .about-split.reverse {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 56px;
  }
  .about-img img {
    height: 260px;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   PROCESS PAGE
   ========================================== */
.process-hero {
  position: relative;
  margin-top: -96px; /* Tuck image up behind the floating navbar (20px pad + 76px pill) */
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.process-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.process-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.62) 100%);
  z-index: 1;
}

.process-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 200px;
  padding-bottom: 60px;
}

.process-hero-title {
  font-family: var(--font-primary);
  color: #FFFFFF;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

.process-hero-divider {
  width: 60px;
  height: 3px;
  background: #FFFFFF;
  border: none;
  margin: 0 0 18px;
}

.process-hero-sub {
  font-family: var(--font-secondary);
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  max-width: 520px;
}

.process-intro {
  padding: 84px 0 30px;
  text-align: center;
}

.process-intro h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.process-intro .intro-divider {
  width: 48px;
  height: 3px;
  background: var(--text-primary);
  border: none;
  margin: 0 auto 26px;
}

.process-intro p {
  max-width: 760px;
  margin: 0 auto 16px;
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.process-phases {
  padding: 40px 0 100px;
}

.phase-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 90px;
}

.phase-row:last-child {
  margin-bottom: 0;
}

.phase-row.reverse {
  flex-direction: row-reverse;
}

.phase-media {
  flex: 1 1 50%;
}

.phase-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  display: block;
}

.phase-body {
  flex: 1 1 50%;
}

.phase-num {
  display: block;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--badge-green-text);
  margin-bottom: 12px;
}

.phase-title {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.phase-desc {
  font-family: var(--font-secondary);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.phase-desc:last-child {
  margin-bottom: 0;
}

@media (max-width: 868px) {
  .process-hero {
    margin-top: -90px; /* Match mobile navbar offset used by .hero-section */
    min-height: 440px;
  }
  .process-hero .container {
    padding-top: 150px;
    padding-bottom: 44px;
  }
  .phase-row,
  .phase-row.reverse {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 60px;
  }
  .phase-media img {
    height: 260px;
    border-radius: 14px;
  }
}

/* ==========================================
   BLOGS / COMING SOON PAGE
   ========================================== */
.coming-soon-section {
  padding: 120px 0 150px;
  text-align: center;
  background-color: #FFFFFF;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--badge-green-bg);
  color: var(--badge-green-text);
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 26px;
}

.coming-soon-badge .badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--badge-green-dot);
  border-radius: 50%;
}

.coming-soon-section h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.coming-soon-section > .container > p {
  max-width: 560px;
  margin: 0 auto 34px;
  font-family: var(--font-secondary);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

@media (max-width: 580px) {
  .coming-soon-section {
    padding: 80px 0 100px;
  }
}
