/* =========================================
   VNext Synergy Solutions – Global Styles
   Aesthetic: Luxury Corporate / Precision-Forward
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --navy:       #071525;
  --navy-mid:   #0D2340;
  --navy-light: #133366;
  --blue:       #0057E7;
  --blue-bright:#1A73E8;
  --gold:       #C9A84C;
  --gold-light: #E8C87A;
  --white:      #FFFFFF;
  --off-white:  #F4F7FC;
  --grey-light: #EAF0FB;
  --grey-mid:   #A8B8D0;
  --grey-text:  #5A6E8A;
  --text-dark:  #0D1E33;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  28px;
  --shadow-card: 0 4px 32px rgba(7,21,37,0.10);
  --shadow-hover: 0 12px 48px rgba(0,87,231,0.18);
  --transition: all 0.32s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*{margin:0;padding:0;box-sizing:border-box;}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container--wide { max-width: 1380px; margin: 0 auto; padding: 0 40px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-heading em { font-style: italic; color: var(--blue); }

.section-subtext {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 560px;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(0,87,231,0.28);
}
.btn-primary:hover {
  background: var(--navy-light);
  box-shadow: 0 8px 36px rgba(0,87,231,0.38);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(7,21,37,0.2);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}
.btn:hover .arrow-icon { transform: translateX(4px); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(7,21,37,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.navbar--solid {
  background: var(--navy);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 4px;
}
.nav-logo-text { line-height: 1.1; }
.nav-logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.03em;
}
.nav-logo-text span {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.1);
}
.nav-links .nav-cta a {
  background: var(--blue);
  color: white;
  padding: 9px 20px;
  border-radius: 50px;
}
.nav-links .nav-cta a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.75rem;
  opacity: 0.7;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(7,21,37,0.18);
  padding: 10px;
  min-width: 220px;
  z-index: 200;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-dark) !important;
  font-size: 0.87rem;
  transition: var(--transition);
}
.dropdown-menu a:hover {
  background: var(--grey-light);
  color: var(--blue) !important;
}
.nav-dropdown:hover .dropdown-menu { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO (index) ---- */
.hero {
  position: relative;
  /* Reduced height calc to match slimmer bottom bars */
  height: calc(100vh - 140px); 
  min-height: 500px;
  display: flex;
  align-items: center;
  /* Added padding to prevent overlap with the fixed top navbar */
  padding-top: 30px; 
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.6);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,21,37,0.95) 0%,
    rgba(7,21,37,0.72) 55%,
    rgba(0,87,231,0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 40px;
  animation: heroFadeUp 1s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 1.8s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.4rem); 
  font-weight: 600;
  line-height: 1.05;
  color: white;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-tagline {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-tagline-item {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
  padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,0.2);
  text-transform: uppercase;
}
.hero-tagline-item:first-child { padding-left: 0; }
.hero-tagline-item:last-child { border-right: none; }
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--navy);
  padding: 8px 20px; /* Much slimmer padding */
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 10px 20px; /* Slimmer padding */
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}
.stat-item:last-child::after { display: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem; /* Slightly smaller font to save space */
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px; /* Tighter gap */
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.scrolling-bar {
  background: var(--navy-mid);
  overflow: hidden;
  position: relative;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Track = holds 2 identical copies side by side */
.scrolling-track {
  display: flex;
  width: max-content;
  animation: scroll-loop 28s linear infinite;
  will-change: transform;
}

/* Each content block — NO padding between them, gap only inside */
.scrolling-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 10px 0; /* Slimmer vertical height */
}

/* Individual items */
.scrolling-content span {
  display: inline-flex;
  align-items: center;
}

/* PERFECTLY SEAMLESS LOOP: 
   Every item gets a star after it with identical left/right margins. 
   This perfectly bridges the gap between loops. */
.scrolling-content span::after {
  content: '✦';
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 1;
  margin: 0 32px;
}

/* Seamless: translate exactly half = one full copy width */
@keyframes scroll-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- SERVICES PREVIEW ---- */
.services-section {
  padding: 100px 0;
  background: var(--off-white);
}
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-subtext { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.service-card-img {
  height: 230px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,21,37,0.6), transparent 60%);
}
.service-card-body {
  padding: 32px 28px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--grey-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card-sub {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.service-card-desc {
  font-size: 0.93rem;
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}
.service-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  font-size: 0.87rem;
  color: var(--text-dark);
  padding-left: 22px;
  position: relative;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.8rem;
}
.service-link {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s;
}
.service-link:hover { gap: 12px; }

/* ---- WHY CHOOSE US ---- */
.why-section {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,87,231,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.why-left .section-heading { color: white; }
.why-left .section-subtext { color: rgba(255,255,255,0.65); max-width: none; }
.why-pillars {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pillar-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,87,231,0.2);
  border: 1px solid rgba(0,87,231,0.4);
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}
.pillar-desc { font-size: 0.88rem; color: rgba(255,255,255,0.58); line-height: 1.7; }

.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.value-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}
.value-card:hover {
  background: rgba(0,87,231,0.15);
  border-color: rgba(0,87,231,0.4);
  transform: translateY(-4px);
}
.value-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1;
}
.value-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.value-card-desc { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ---- INDUSTRIES STRIP ---- */
.industries-section {
  padding: 100px 0;
  background: white;
}
.industries-header { margin-bottom: 56px; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.industry-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.industry-card:hover {
  border-color: var(--blue);
  background: var(--grey-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.industry-emoji { font-size: 2rem; margin-bottom: 12px; }
.industry-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.industry-desc { font-size: 0.77rem; color: var(--grey-text); line-height: 1.5; }

/* ---- CTA BANNER ---- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'VNext';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 14rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-content p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}
.footer-top {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 16px 0 24px;
  max-width: 300px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--blue);
  color: white;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(0,87,231,0.25);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.contact-text { font-size: 0.85rem; }
.contact-text strong { display: block; color: white; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom nav a:hover { color: white; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,87,231,0.2) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.5); }
.page-hero-breadcrumb a:hover { color: var(--gold-light); }
.page-hero-breadcrumb span { color: var(--gold-light); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.75;
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-right { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-content { padding: 0 24px; }
  .container, .container--wide { padding: 0 24px; }
}

/* Mobile nav open */
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(7,21,37,0.98);
  backdrop-filter: blur(20px);
  padding: 20px;
  gap: 4px;
}
.nav-mobile-open .nav-links a {
  padding: 12px 16px;
  display: block;
}

.interest-option input:checked + span {
  color: var(--blue);
}

.interest-option input:checked {
  accent-color: var(--blue);
}

.interest-option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(0, 87, 231, 0.08);
}

/* ---- REAL LOGO IMAGE ---- */
.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}
.nav-logo {
  gap: 10px;
}
.footer-brand .nav-logo {
  align-items: center;
}

/* ---- E-SELL BADGE ---- */
.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(201,168,76,0.4);
  animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,168,76,0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(201,168,76,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

/* ---- FLIP CARD FOR 'KNOW MORE' ---- */
.service-card-more {
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  perspective: 1000px;
  border: none;
}
.service-card-more:hover {
  box-shadow: none !important;
  transform: none !important; /* overrides default card hover */
}
.service-more-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%; 
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: block;
  cursor: pointer;
}
.service-card-more:hover .service-more-inner {
  transform: rotateY(180deg);
  box-shadow: var(--shadow-hover);
}
.service-more-front, .service-more-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  overflow: hidden;
}
.service-more-front {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-light) 100%);
  color: white;
}
.service-more-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero.png') center/cover;
  opacity: 0.15;
  mix-blend-mode: overlay;
}
.service-more-front h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  margin: 0;
  color: white;
}
.more-icon {
  margin-top: 24px;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(4px);
}

/* NEW BACK-OF-CARD STYLES */
.service-more-back {
  background: radial-gradient(circle at top right, var(--navy-light) 0%, var(--navy) 80%);
  color: white;
  transform: rotateY(180deg);
}
.service-more-back::before {
  content: 'V';
  position: absolute;
  bottom: -40px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 16rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.service-more-back > * {
  position: relative;
  z-index: 1;
}
.service-more-back p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.6;
}