/* ============================================================
   ADOVION PREMIUM UI v3.0 — Morningside + Lancemart Inspired
   Cascades after style.css for visual enhancements
   Blue & White theme with world-class animation quality
   ============================================================ */

/* ---- ENHANCED DESIGN TOKENS ---- */
:root {
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #2563eb 100%);
  --gradient-heading: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #0ea5e9 70%, #2563eb 100%);
  --gradient-bg-blue: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 50%, #f0f5ff 100%);
  --gradient-bg-subtle: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-dark: linear-gradient(135deg, #0c1929 0%, #0f172a 100%);
  --glow-primary: 0 0 30px rgba(37, 99, 235, 0.18), 0 0 80px rgba(37, 99, 235, 0.06);
  --glow-accent: 0 0 30px rgba(14, 165, 233, 0.15), 0 0 80px rgba(14, 165, 233, 0.05);
  --glow-card-hover: 0 0 50px 0 rgba(37, 99, 235, 0.12);
  --shadow-dramatic: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-card-hover: 0 20px 40px -15px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.06);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- FONT IMPORTS ---- */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ---- KEYFRAME ANIMATIONS ---- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
  50% { box-shadow: 0 0 28px 6px rgba(37, 99, 235, 0.12); }
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes borderGlow {
  0%, 100% { border-color: rgba(37, 99, 235, 0.08); }
  50% { border-color: rgba(37, 99, 235, 0.25); }
}
@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -40px) scale(1.06); }
  66% { transform: translate(-25px, 30px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%; }
  75% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 60%; }
}
@keyframes typeCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
@keyframes beamRotate {
  from { --beam-angle: 0deg; }
  to { --beam-angle: 360deg; }
}
@keyframes scrollProgress {
  to { transform: scaleX(1); }
}
@keyframes counterFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- @PROPERTY FOR BEAM ANGLE ---- */
@property --beam-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ---- SCROLL PROGRESS BAR ---- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px !important;
  background: linear-gradient(90deg, #2563eb, #0ea5e9, #2563eb) !important;
  background-size: 200% 100% !important;
  animation: gradientShift 3s ease infinite !important;
  transform: scaleX(0);
  transform-origin: left !important;
  z-index: 999999 !important;
  pointer-events: none;
}

/* ---- SCROLL REVEAL SYSTEM ---- */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- GRADIENT TEXT UTILITY ---- */
.text-gradient {
  background: var(--gradient-heading);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

/* ---- MONO LABEL UTILITY (Lancemart-style) ---- */
.mono-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ---- HERO SECTION PREMIUM ---- */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 25%, #e8f0fe 50%, #f0f5ff 75%, #ffffff 100%) !important;
  background-size: 400% 400% !important;
  animation: gradientShift 12s ease infinite !important;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 260px;
  background: radial-gradient(ellipse 55% 100% at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}
.hero .badge {
  animation: fadeSlideUp 0.8s var(--ease-premium) 0.1s both;
  backdrop-filter: blur(8px);
  background: rgba(239, 246, 255, 0.8) !important;
}
.hero h1 {
  animation: fadeSlideUp 0.9s var(--ease-premium) 0.25s both;
  font-size: clamp(2.8rem, 6vw, 4.2rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
}
.hero h1 span {
  background: var(--gradient-primary) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 4s ease infinite;
}
.hero-sub {
  animation: fadeSlideUp 0.9s var(--ease-premium) 0.4s both;
  font-size: 1.15rem !important;
  max-width: 600px;
}
.hero-btns {
  animation: fadeSlideUp 0.9s var(--ease-premium) 0.55s both;
}
.hero-stats {
  animation: fadeSlideUp 0.9s var(--ease-premium) 0.7s both;
}
.scroll-indicator {
  animation: fadeSlideUp 0.9s var(--ease-premium) 0.9s both;
}

/* ---- TYPING CURSOR ---- */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: typeCursor 0.8s step-end infinite;
}

/* ---- HERO STAT CARDS ---- */
.stat-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.06) !important;
  transition: all 0.4s var(--ease-premium);
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
}
.stat-card:hover {
  border-color: transparent !important;
  box-shadow: var(--glow-card-hover);
  transform: translateY(-4px);
}
.stat-card:hover::before {
  opacity: 1;
}
.stat-card .num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- SECTION TITLES & HERO HEADINGS — GRADIENT TEXT ---- */
.section-title, 
h1 span, 
.about-founder h2,
.faq-category-header {
  background: var(--gradient-heading) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 6s ease infinite !important;
  position: relative;
  text-shadow: none !important; /* Prevent text-shadow from breaking background-clip in Webkit */
}
h1 {
  color: #0f172a !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95), 0 0 20px rgba(255, 255, 255, 0.8) !important;
}

/* ---- BADGE UPGRADE ---- */
.badge {
  position: relative;
  font-family: 'JetBrains Mono', 'Inter', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s var(--ease-smooth);
}
.badge:hover {
  border-color: rgba(37, 99, 235, 0.25);
}

/* ---- PROCESS STEP CARDS (Morningside-style) ---- */
.pstep {
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 16px;
  padding: 2rem;
  background: #ffffff;
  transition: all 0.45s var(--ease-premium);
  overflow: hidden;
}
.pstep::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(14, 165, 233, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease-premium);
}
.pstep:hover {
  border-color: transparent;
  box-shadow: var(--glow-card-hover);
  transform: translateY(-6px);
}
.pstep:hover::before {
  opacity: 1;
}

/* Arrow nudge on card hover */
.pstep .card-arrow,
.service-card .card-arrow,
.pcard .card-arrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.35s var(--ease-premium);
  color: var(--primary);
}
.pstep:hover .card-arrow,
.service-card:hover .card-arrow,
.pcard:hover .card-arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* ---- SERVICE CARDS (Morningside gradient border) ---- */
.service-card {
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.06);
  border-radius: 16px;
  background: #ffffff;
  padding: 2rem;
  transition: all 0.45s var(--ease-premium);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease-premium);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--glow-card-hover);
  transform: translateY(-6px);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all 0.4s var(--ease-premium);
  border: 1px solid rgba(37, 99, 235, 0.06);
}
.service-card:hover .service-icon {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.12);
}

/* ---- TAB NAVIGATION (Lancemart-style) ---- */
.tab-nav {
  position: relative;
}
.tab-btn {
  position: relative;
  font-family: 'JetBrains Mono', 'Inter', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid transparent !important;
  outline: none !important;
}
.tab-btn:focus,
.tab-btn:focus-visible,
.tab-btn:active {
  outline: none !important;
  box-shadow: none !important;
}
.tab-btn:hover {
  background: rgba(37, 99, 235, 0.04) !important;
  color: var(--primary) !important;
  border-radius: 100px !important;
}
.tab-btn.active {
  background: #ffffff !important;
  color: var(--primary) !important;
  border-color: rgba(37, 99, 235, 0.12) !important;
  box-shadow: var(--shadow-sm), 0 0 12px rgba(37, 99, 235, 0.04) !important;
  border-radius: 100px !important;
}

/* Fix double bullet arrow indicators on service list items site-wide */
.service-list li::before {
  content: "" !important;
  display: none !important;
}

/* ---- PORTFOLIO CARDS (Case study hover) ---- */
.pcard {
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.06);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.45s var(--ease-premium);
}
.pcard::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1px;
  background: linear-gradient(90deg, #2563eb 0%, rgba(14, 165, 233, 0.5) 50%, #0f172a 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease-premium);
}
.pcard:hover {
  border-color: transparent;
  box-shadow: var(--glow-card-hover);
  transform: translateY(-6px);
}
.pcard:hover::before {
  opacity: 1;
}

/* ---- WHY CHOOSE US CARDS ---- */
.wcu-card, .wcu-section .service-card {
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.06);
  border-radius: 16px;
  padding: 2rem;
  background: #ffffff;
  transition: all 0.45s var(--ease-premium);
  overflow: hidden;
}
.wcu-card::before, .wcu-section .service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-premium);
}
.wcu-card:hover::before, .wcu-section .service-card:hover::before {
  transform: scaleX(1);
}
.wcu-card:hover, .wcu-section .service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

/* ---- CLIENT FIT CARDS (Gradient border) ---- */
.fit-col {
  position: relative;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(37, 99, 235, 0.06);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  transition: all 0.45s var(--ease-premium);
  overflow: hidden;
}
.fit-col.good {
  border-left: 4px solid #10b981;
}
.fit-col.bad {
  border-left: 4px solid #f43f5e;
}
.fit-col:hover {
  box-shadow: var(--glow-card-hover);
  transform: translateY(-4px);
}

/* ---- TESTIMONIAL CARDS (Morningside-style) ---- */
.tcard {
  position: relative;
  padding: 2rem 2.25rem;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.06);
  background: #ffffff;
  transition: all 0.45s var(--ease-premium);
  overflow: hidden;
}
.tcard::after {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(37, 99, 235, 0.04);
  font-family: Georgia, serif;
  pointer-events: none;
}
.tcard:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--glow-card-hover);
  transform: translateY(-4px);
}

/* Dashed divider between testimonials (Morningside-style) */
.testimonials-section .tcard + .tcard {
  margin-top: 1.5rem;
}
.testimonial-divider {
  border: none;
  border-top: 1px dashed rgba(37, 99, 235, 0.15);
  margin: 1.5rem 0;
}

/* Accent text highlight */
.text-accent-highlight {
  color: var(--primary);
  font-weight: 600;
}

/* ---- FAQ SECTION (Morningside + Lancemart hybrid) ---- */
.faq-item {
  border: 1px solid rgba(37, 99, 235, 0.06);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.4s var(--ease-premium);
  margin-bottom: 0.75rem;
}
.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.12);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}
.faq-item.active {
  border-color: rgba(37, 99, 235, 0.15);
  border-left: 3px solid var(--primary);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.6) 0%, #ffffff 100%);
}
.faq-question {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s var(--ease-smooth);
}
.faq-question h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.1);
  background: transparent;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-premium);
}
.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-premium), padding 0.5s var(--ease-premium);
  padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* ---- CONTACT FORM — ROTATING BEAM BORDER (Lancemart-style) ---- */
.contact-form-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  padding: 2px;
  background: conic-gradient(from var(--beam-angle, 0deg), transparent 0%, transparent 60%, rgba(37, 99, 235, 0.8) 72%, transparent 84%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: beamRotate 3s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* ---- BUTTON PREMIUM UPGRADES ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-premium) !important;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: none;
}
.btn-primary:hover::after {
  animation: shimmer 0.8s ease forwards;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  transition: all 0.35s var(--ease-premium) !important;
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.15);
}

/* ---- FLOATING DECORATIVE ELEMENTS ---- */
.premium-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.premium-blob-1 {
  width: 400px; height: 400px;
  background: rgba(37, 99, 235, 0.04);
  top: -10%; right: -5%;
  animation: blobFloat 18s ease-in-out infinite;
}
.premium-blob-2 {
  width: 350px; height: 350px;
  background: rgba(14, 165, 233, 0.03);
  bottom: -8%; left: -3%;
  animation: blobFloat 22s ease-in-out infinite reverse;
}
.premium-blob-3 {
  width: 300px; height: 300px;
  background: rgba(37, 99, 235, 0.03);
  top: 40%; left: 50%;
  animation: blobFloat 25s ease-in-out infinite;
}

/* Orbs */
.premium-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: floatY 6s ease-in-out infinite;
}
.premium-orb-sm {
  width: 8px; height: 8px;
  background: rgba(37, 99, 235, 0.2);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.15);
}
.premium-orb-md {
  width: 12px; height: 12px;
  background: rgba(14, 165, 233, 0.15);
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.12);
}

/* Rings */
.premium-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.06);
  pointer-events: none;
  z-index: 0;
  animation: floatY 8s ease-in-out infinite reverse;
}
.premium-ring-md { width: 60px; height: 60px; }
.premium-ring-lg { width: 100px; height: 100px; }

/* Lines */
.premium-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}
.premium-line-v { width: 1px; height: 120px; }
.premium-line-h { width: 120px; height: 1px; background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.08), transparent); }

/* Grid pattern background */
.grid-pattern-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(rgba(37, 99, 235, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37, 99, 235, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 70%);
}

/* ---- FRAMEWORK (LAYER) CARDS ---- */
.fw-item {
  border: 1px solid rgba(37, 99, 235, 0.06);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease-premium);
  margin-bottom: 0.75rem;
}
.fw-item:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--glow-card-hover);
  transform: translateX(6px);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem) !important;
  }
}
@media (max-width: 768px) {
  .premium-blob { display: none; }
  .premium-ring { display: none; }
  .grid-pattern-bg { display: none; }
  .stat-card { padding: 1.25rem 1rem; }
  .stat-card .num { font-size: 1.5rem; }
  .service-card { padding: 1.5rem; }
  .pstep { padding: 1.5rem; }
  .tcard { padding: 1.5rem; }
  .fit-col { padding: 1.75rem; }
}

/* ---- HERO SECTION TEXT READABILITY & CONTRAST ---- */
.hero h1 {
  color: #0f172a !important;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95), 0 0 20px rgba(255, 255, 255, 0.8) !important;
}
.hero h1 span {
  text-shadow: none !important;
}
.hero-sub {
  color: #334155 !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95) !important;
}

/* ---- HERO STATS GRID & CARDS ---- */
.hero-stats {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  width: 100% !important;
}
.stat-card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.015) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  text-align: left !important;
}
.stat-card .num {
  font-size: 2.75rem !important;
  font-weight: 850 !important;
  color: var(--primary) !important;
  margin-bottom: 0.25rem !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}
.stat-card .label {
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 0.825rem !important;
  line-height: 1.4 !important;
  margin-top: 4px !important;
}

/* ---- TAB BUTTON GAP & CONSTANT SIZE ---- */
.tab-nav {
  gap: 10px !important;
  padding: 6px !important;
}
.tab-btn {
  border: 1px solid transparent !important;
  border-radius: 100px !important;
}

/* ---- FAQ REDESIGN (Sleek Modern Accordions) ---- */
.faq-section {
  background: radial-gradient(circle at 50% 0%, #f8fafc 0%, #ffffff 100%) !important;
}
.faq-container {
  max-width: 820px !important;
}
.faq-item {
  border: 1px solid rgba(37, 99, 235, 0.08) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-left: 1px solid rgba(37, 99, 235, 0.08) !important;
}
.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.2) !important;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.03) !important;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.3) 0%, #ffffff 100%) !important;
}
.faq-item.active {
  border-color: rgba(37, 99, 235, 0.2) !important;
  border-left: 4px solid var(--primary) !important;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.06) !important;
  background: #ffffff !important;
}
.faq-question-btn {
  padding: 1.5rem !important;
}
.faq-question-btn h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  transition: color 0.3s ease !important;
}
.faq-item.active .faq-question-btn h3 {
  color: var(--primary) !important;
}
.faq-toggle-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform: rotate(0) !important;
}
.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg) !important;
  background: var(--primary) !important;
  color: #ffffff !important;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 1.5rem !important;
}
.faq-item.active .faq-answer {
  padding-bottom: 1.5rem !important;
}
.faq-answer p {
  font-size: 0.925rem !important;
  color: #475569 !important;
  line-height: 1.65 !important;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* ---- CARD HEIGHT ALIGNMENTS SITE-WIDE ---- */
.testimonials-grid,
.services-grid,
.process-steps {
  display: grid !important;
  align-items: stretch !important;
}
.tcard,
.service-card,
.pstep {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.tcard p,
.service-card .service-list,
.pstep .pstep-list {
  flex-grow: 1 !important;
}

/* ---- LENS-STYLE CTA SECTION ---- */
.cta-section {
  position: relative;
  background: #ffffff !important;
  padding: 8rem 1.5rem !important;
  overflow: hidden;
  border-top: 1px solid rgba(37, 99, 235, 0.08) !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#cta-dots-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px !important;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem) !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 1.25rem !important;
  color: #0f172a !important;
}
.cta-content p {
  font-size: 1.15rem !important;
  color: #475569 !important;
  line-height: 1.65 !important;
  margin-bottom: 2.25rem !important;
  max-width: 780px !important;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500 !important;
}
.cta-btns {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ---- HEADER MEGA MENU (RESPONSIVE POSITIONING) ---- */
.nav-item-mega {
  position: static !important; /* Position mega-menu relative to the nav-container */
}
.nav-mega-menu {
  position: absolute;
  top: 100%;
  left: 1.5rem !important;
  right: 1.5rem !important;
  width: calc(100% - 3rem) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  transform: translateY(15px);
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.03);
  padding: 2.25rem;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  pointer-events: none;
}
.nav-mega-menu::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: transparent;
  pointer-events: auto;
}
/* Trigger mega menu on hover */
.nav-item-mega:hover .nav-mega-menu,
.nav-mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ---- MOBILE MENU & OVERLAY UPGRADE (SLEEK & SCROLLABLE) ---- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff !important;
  z-index: 999;
  display: block !important;
  overflow-y: auto !important;
  padding: 6.5rem 2rem 4rem 2rem !important;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.mobile-nav-overlay.open {
  transform: translateY(0) !important;
}
.mobile-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.75rem !important;
  text-align: left !important;
  max-width: 500px;
  margin: 0 auto 3rem auto !important;
  list-style: none;
  padding: 0;
}
.mobile-menu-link, .mobile-menu-trigger {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  cursor: pointer;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 0 0 0.75rem 0 !important;
  transition: var(--transition) !important;
}
.mobile-menu-link:hover, .mobile-menu-link.active, .mobile-menu-trigger:hover, .mobile-menu-trigger.active {
  color: var(--primary) !important;
}
.mobile-nav-dropdown {
  align-items: flex-start !important;
  padding: 0.5rem 1rem 0.5rem 1.5rem !important;
  gap: 1rem !important;
  list-style: none;
}
.mobile-nav-dropdown .mobile-menu-link {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.mobile-nav-overlay .btn-primary {
  display: block !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  padding: 1rem !important;
  font-size: 1rem !important;
  font-weight: 750 !important;
}
/* Arrow adjustment on Services hover */
.nav-item-mega:hover .arrow-down {
  transform: rotate(180deg);
  border-top-color: var(--primary) !important;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.mega-col h4 {
  font-family: 'JetBrains Mono', 'Outfit', monospace;
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary) !important;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 750;
  text-align: left;
}
.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mega-list li a {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}
.mega-list li a strong {
  font-size: 0.9rem;
  color: #0f172a !important;
  font-weight: 700;
  margin-bottom: 0.15rem;
  transition: color 0.25s;
}
.mega-list li a span {
  font-size: 0.75rem;
  color: var(--text-muted) !important;
  line-height: 1.4;
  font-weight: 500;
}
/* Mega list hover effect */
.mega-list li a:hover {
  background: rgba(37, 99, 235, 0.04) !important;
}
.mega-list li a:hover strong {
  color: var(--primary) !important;
}

/* ---- EXIT INTENT MODAL (LIGHT THEME) ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.show {
  display: flex;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-box {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 46px 42px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.02);
}
.modal-box h3 {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
}
.modal-box p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 28px;
}
.modal-x {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-x:hover {
  color: #0f172a;
}

/* =========================================================================
   PREMIUM CUSTOM SELECT DROPDOWNS
   ========================================================================= */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  text-align: left;
}

.custom-select-trigger:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-muted);
  transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.custom-select-wrapper.open .custom-select-trigger:after {
  transform: rotate(180deg);
  border-top-color: var(--primary);
}

/* Options dropdown list container */
.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  z-index: 999;
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Options dropdown items */
.custom-option {
  padding: 0.75rem 1.15rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: left;
}

.custom-option:hover {
  background: var(--primary-light, rgba(37, 99, 235, 0.06));
  color: var(--primary, #2563eb);
}

.custom-option.selected {
  background: var(--primary, #2563eb) !important;
  color: #ffffff !important;
  font-weight: 600;
}

.custom-option.disabled-opt {
  color: var(--text-muted);
  background: #f8fafc;
  cursor: not-allowed;
  pointer-events: none;
}

/* Custom scrollbar */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}
.custom-select-options::-webkit-scrollbar-track {
  background: transparent;
}
.custom-select-options::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* =========================================================================
   OVERHAULED DYNAMIC FOOTER STYLES
   ========================================================================= */
.overhauled-footer {
  background: #0f172a;
  color: #f1f5f9;
  padding: 6rem 1.5rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.overhauled-footer .footer-col h4 {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3b82f6; /* Beautiful cyan/blue accent for column headers */
  margin-bottom: 1.25rem;
}

.overhauled-footer .footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.overhauled-footer .footer-col a {
  font-size: 0.825rem;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.overhauled-footer .footer-col a:hover {
  color: #ffffff;
}

.overhauled-footer .soc-btn:hover {
  background: var(--primary, #3b82f6) !important;
  border-color: var(--primary, #3b82f6) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.overhauled-footer .footer-bottom-links a:hover {
  color: #ffffff !important;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .footer-columns-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
  }
  .footer-middle-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 640px) {
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.25rem;
  }
}

/* =========================================================================
   FOOTER ACCENT REFINEMENTS & MAP STREAMLINING
   ========================================================================= */
/* Clean alignment wrapper for footer column headings to keep them on the same baseline */
.footer-col-header {
  height: 52px;
  display: flex;
  align-items: flex-end;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05); /* uniform subtle horizontal baseline across all columns */
  margin-bottom: 1.5rem;
  padding-bottom: 8px;
  position: relative;
}

/* Header text styles */
.footer-col-header h4 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--primary, #3b82f6) !important; /* Matches website's theme */
  font-family: var(--display), 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
}

/* Accent highlight bar underneath header text */
.footer-col-header::after {
  content: "";
  position: absolute;
  bottom: -2px; /* aligns perfectly with the border-bottom */
  left: 0;
  width: 50px; /* fixed neat highlight bar width matching the reference look */
  height: 2px;
  background: var(--primary, #3b82f6); /* matches theme */
}

/* Specific contact us header wrapper */
.footer-contact-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
  padding-bottom: 6px;
  position: relative;
}

.footer-contact-header h5 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--primary, #3b82f6) !important;
  font-family: var(--display), 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
}

.footer-contact-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary, #3b82f6);
}

/* Symmetrical Middle Grid Card Heights */
.footer-middle-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr !important;
  align-items: stretch; /* stretches About card and right stack container to equal height */
  gap: 2.5rem !important;
}

/* Right Side Column Stack container */
.footer-right-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.footer-about-card,
.footer-office-card,
.footer-contact-card {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 20px !important;
}

.footer-about-card {
  height: 100%;
}

.footer-office-card {
  padding: 1.75rem 2.25rem !important;
}

.footer-contact-card {
  padding: 1.5rem 2.25rem !important;
}

.footer-about-card p {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.925rem !important;
  color: #94a3b8 !important;
  line-height: 1.8 !important;
  text-align: justify;
  margin: 0 !important;
}

/* Streamlined Map Iframe sizing */
.footer-map-container iframe {
  height: 120px !important; /* Extremely streamlined as in reference */
  width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
}

.map-iframe-container iframe {
  height: 160px !important; /* Contact page map card */
  width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
}

/* Make footer full-width for professional aesthetic */
.overhauled-footer .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 5rem !important;
  padding-right: 5rem !important;
}

@media (max-width: 768px) {
  .overhauled-footer .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* Enforce font family consistency across dynamic elements */
.overhauled-footer,
.overhauled-footer p,
.overhauled-footer a,
.overhauled-footer span,
.overhauled-footer div {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* =========================================================================
   ANIMATED GRADIENT BACKGROUND FOR CONTACT PAGE
   ========================================================================= */
.contact-hero-section {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 50%, #eff6ff 100%);
  background-size: 200% 200%;
  animation: contactBgGlow 15s ease infinite;
  overflow: hidden;
}

/* Subtle decorative glowing blobs */
.contact-hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: floatBlob1 20s infinite alternate ease-in-out;
}

.contact-hero-section::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: floatBlob2 25s infinite alternate ease-in-out;
}

/* Make sure container and content stay on top of the blobs */
.contact-hero-section .container {
  position: relative;
  z-index: 2;
}

@keyframes contactBgGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 50px) scale(1.1); }
  100% { transform: translate(-40px, 90px) scale(0.9); }
}

@keyframes floatBlob2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -80px) scale(1.15); }
  100% { transform: translate(70px, 40px) scale(0.9); }
}

