/* =========================================================
   SPROVIX TECHNOLOGIES — Global Design System
   ========================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* =========================================================
   CSS VARIABLES — Design Tokens
   ========================================================= */
:root {
  --black:   #000000;
  --navy:    #092660;
  --blue:    #0461ff;
  --sky:     #79c7ff;
  --ice:     #ebf7ff;
  --white:   #ffffff;

  /* Derived */
  --navy-dark:    #061847;
  --navy-light:   #0e3a8c;
  --blue-hover:   #034acc;
  --blue-light:   #3a85ff;
  --sky-light:    #b3deff;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, #060f2e 0%, #0a1a4a 45%, #0d2158 70%, #0a1a4a 100%);
  --grad-blue:    linear-gradient(135deg, #0461ff 0%, #3a85ff 100%);
  --grad-card:    linear-gradient(135deg, rgba(9,38,96,0.05) 0%, rgba(4,97,255,0.05) 100%);
  --grad-sky:     linear-gradient(135deg, #ebf7ff 0%, #b3deff 100%);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(4,97,255,0.08);
  --shadow-md:  0 8px 24px rgba(9,38,96,0.12);
  --shadow-lg:  0 16px 48px rgba(9,38,96,0.16);
  --shadow-xl:  0 24px 64px rgba(9,38,96,0.20);
  --shadow-blue: 0 8px 32px rgba(4,97,255,0.30);
  --shadow-glow: 0 0 40px rgba(4,97,255,0.20);

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1400px;
  --nav-height: 76px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
h5 { font-size: 1rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.7; color: #3a4a6b; }

.text-navy  { color: var(--navy); }
.text-blue  { color: var(--blue); }
.text-sky   { color: var(--sky); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* =========================================================
   LAYOUT
   ========================================================= */



.container {
  max-width: var(--max-width);
  width: 96%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* Every section clips its own overflow */
section,
.section,
header,
footer,
nav,
.navbar,
.mobile-menu,
.stats-bar,
.stats-band,
.sectors-strip {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section {
  padding: var(--space-4xl) 0;
}


.section-alt {
  background: var(--ice);
}

.section-dark {
  background: var(--grad-hero);
  color: var(--white);
}

.section-dark p { color: var(--sky-light); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-col    { flex-direction: column; }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }
.gap-lg      { gap: var(--space-lg); }
.gap-xl      { gap: var(--space-xl); }

/* =========================================================
   SECTION HEADER
   ========================================================= */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(4, 97, 255, 0.1);
  color: var(--blue);
  border: 1px solid rgba(4, 97, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section-dark .section-tag {
  background: rgba(121, 199, 255, 0.15);
  color: var(--sky);
  border-color: rgba(121, 199, 255, 0.3);
}

.section-header h2 { margin-bottom: var(--space-md); }
.section-header p  { font-size: 1.05rem; }

/* Gradient text */
.gradient-text {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================
   NAVIGATION — White Professional Navbar
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(9,38,96,0.08);
  box-shadow: 0 2px 16px rgba(9,38,96,0.07);
  transition: var(--transition);
  overflow: visible;
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(9,38,96,0.14);
  border-bottom-color: rgba(9,38,96,0.12);
}

/* Kept for backward compat — both resolve to white now */
.navbar-transparent { background: var(--white); }
.navbar-solid       { background: var(--white); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  width: 96%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---- Logo ---- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  display: block;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav-logo-text .sub {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- Desktop links ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 13px; right: 13px;
  height: 2px;
  background: var(--blue);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--blue);
  background: rgba(4,97,255,0.06);
}

.nav-link.active {
  color: var(--blue);
  background: rgba(4,97,255,0.07);
  font-weight: 600;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ---- CTA button ---- */
.nav-cta {
  background: var(--grad-blue) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  box-shadow: 0 4px 18px rgba(4,97,255,0.30);
  margin-left: 6px;
  transition: var(--transition);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 32px rgba(4,97,255,0.45) !important;
  background: linear-gradient(135deg, #034acc, #0461ff) !important;
}

/* ---- Announcement bar (optional top strip) ---- */
.nav-topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  text-align: center;
  padding: 7px var(--space-lg);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.nav-topbar a { color: var(--sky); font-weight: 600; }
.nav-topbar-divider { opacity: 0.35; }

/* ---- Hamburger (mobile) ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  cursor: pointer;
  z-index: 1001;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  transition: var(--transition);
}

.hamburger:hover { background: rgba(4,97,255,0.06); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile drawer ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  border-top: 1px solid rgba(9,38,96,0.08);
  box-shadow: 0 16px 48px rgba(9,38,96,0.12);
  transform: translateY(-8px);
  opacity: 0;
  transition: var(--transition);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu .nav-link {
  color: var(--navy);
  padding: 13px 16px;
  font-size: 0.975rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: var(--blue);
  background: rgba(4,97,255,0.06);
  border-left-color: var(--blue);
}

.mobile-menu-divider {
  height: 1px;
  background: rgba(9,38,96,0.07);
  margin: var(--space-sm) 0;
}

.mobile-menu .nav-cta {
  text-align: center;
  margin-top: var(--space-sm);
  justify-content: center;
  display: flex;
  border-left: none !important;
  border-radius: var(--radius-full) !important;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--grad-blue);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(4,97,255,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-white {
  background: #fff;
  color: #092660;
  border-color: transparent;
  font-weight: 700;
}
.btn-white:hover {
  background: #ebf7ff;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255,255,255,0.25);
}

/* Utilities */
.text-navy { color: #092660; }
.gradient-text {
  background: linear-gradient(135deg, #0461ff, #3a85ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(4,97,255,0.08);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(4,97,255,0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--grad-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-blue);
}

.card-icon-light {
  background: rgba(4,97,255,0.1);
  box-shadow: none;
}

.card h3 { margin-bottom: var(--space-sm); color: var(--navy); }
.card h4 { margin-bottom: var(--space-sm); color: var(--navy); }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(4,97,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(121,199,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--white);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(121,199,255,0.15);
  border: 1px solid rgba(121,199,255,0.3);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--sky);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero h1 span { color: var(--sky); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-2xl);
  max-width: 100%;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 360px;
}

.hero-stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  color: var(--white);
  margin-bottom: var(--space-md);
  transition: var(--transition);
}

.hero-stat-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(6px);
}

.hero-stat-card .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sky);
  line-height: 1;
}

.hero-stat-card .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

.hero-main-card {
  background: rgba(4,97,255,0.2);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(121,199,255,0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: var(--white);
  margin-bottom: var(--space-md);
  text-align: center;
}

.hero-main-card .company-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

/* =========================================================
   STATS SECTION
   ========================================================= */
.stats-section {
  padding: var(--space-3xl) 0;
  background: var(--navy);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  color: var(--white);
  padding: var(--space-lg);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--sky);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  background: radial-gradient(circle, rgba(4,97,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 { margin-bottom: var(--space-md); }
.page-hero p  { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-md);
}

.breadcrumb a { color: var(--sky); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #060f1e;
  color: var(--white);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand img {
  height: 110px;
  width: auto;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  color: var(--blue);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-links a:hover { color: var(--sky); transform: translateX(4px); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.footer-contact-item .icon {
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Social icons */
.social-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link.whatsapp { background: #25D366; color: #fff; }
.social-link.linkedin { background: #0077B5; color: #fff; }
.social-link.instagram{ background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.social-link.facebook { background: #1877F2; color: #fff; }
.social-link.twitter  { background: #000; color: #fff; }

.social-link:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

.footer-bottom a { color: var(--sky); }

.footer-developer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-developer:hover {
  color: #fff;
}

.footer-developer img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: var(--transition);
  vertical-align: middle;
}

.footer-developer:hover img {
  opacity: 1;
}

/* =========================================================
   FORMS
   ========================================================= */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-label span { color: var(--blue); }

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2eaf5;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(4,97,255,0.1);
}

.form-control:hover { border-color: var(--sky); }

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-control::placeholder { color: #aab8d0; }

/* File input */
.file-input-wrapper {
  position: relative;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-input-display {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 18px;
  border: 2px dashed #b3d0f5;
  border-radius: var(--radius-md);
  background: var(--ice);
  cursor: pointer;
  transition: var(--transition);
  color: #7a94b4;
  font-size: 0.9rem;
}

.file-input-display:hover {
  border-color: var(--blue);
  background: rgba(4,97,255,0.04);
  color: var(--blue);
}

/* Form success message */
.form-success {
  display: none;
  background: rgba(4,97,255,0.08);
  border: 1px solid rgba(4,97,255,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  color: var(--navy);
  margin-top: var(--space-lg);
}

.form-success.show { display: block; }

.form-error {
  display: none;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.22);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  color: #991b1b;
  margin-top: var(--space-lg);
}

.form-error.show { display: block; }

/* =========================================================
   CONTACT PAGE TABS
   ========================================================= */
.tab-nav {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  background: var(--ice);
  padding: 6px;
  border-radius: var(--radius-lg);
}

.tab-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b84a8;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
}

.tab-btn:hover { color: var(--navy); }

.tab-btn.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* =========================================================
   JOBS PAGE
   ========================================================= */
.job-filters {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  align-items: center;
}

.filter-select {
  padding: 10px 16px;
  border: 2px solid #e2eaf5;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.filter-select:focus { border-color: var(--blue); }

.search-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--white);
  border: 2px solid #e2eaf5;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  flex: 1;
  min-width: 200px;
  transition: var(--transition);
}

.search-bar:focus-within { border-color: var(--blue); }

.search-bar input {
  border: none;
  outline: none;
  font-size: 0.875rem;
  width: 100%;
  color: var(--navy);
  background: transparent;
}

.job-card {
  background: var(--white);
  border: 1px solid rgba(4,97,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(4,97,255,0.25);
}

.job-logo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.job-content { flex: 1; }

.job-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.job-company {
  font-size: 0.875rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.job-meta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #5a7295;
  background: var(--ice);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-weight: 500;
}

.job-badges {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.badge {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-blue   { background: rgba(4,97,255,0.1); color: var(--blue); }
.badge-sky    { background: rgba(121,199,255,0.2); color: #0a6bcc; }
.badge-green  { background: rgba(34,197,94,0.1); color: #15803d; }
.badge-orange { background: rgba(251,146,60,0.15); color: #c2410c; }
.badge-navy   { background: rgba(9,38,96,0.1); color: var(--navy); }

/* Job modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,15,30,0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(10px);
  transition: var(--transition);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.modal-close {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--ice);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--navy);
}

.modal-close:hover { background: var(--sky); }

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 30px);
  right: calc(12.5% + 30px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  background: var(--grad-blue);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-blue);
}

.step-item h4 { color: var(--navy); margin-bottom: 8px; }
.step-item p  { font-size: 0.875rem; }

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--sky));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px; height: 16px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--blue);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-item h4 { color: var(--navy); margin-bottom: 6px; }
.timeline-item p  { font-size: 0.9rem; }

/* =========================================================
   FEATURES / VALUES
   ========================================================= */
.feature-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(4,97,255,0.08);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(4,97,255,0.2);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(4,97,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-card h4 { color: var(--navy); margin-bottom: 6px; }
.feature-card p  { font-size: 0.9rem; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: var(--grad-blue);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-4xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-blue);
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: 100px; bottom: -80px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-banner h2 { color: var(--white); margin-bottom: var(--space-sm); }
.cta-banner p  { color: rgba(255,255,255,0.8); font-size: 1rem; }

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: transparent;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* =========================================================
   TESTIMONIAL CARD
   ========================================================= */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid rgba(4,97,255,0.08);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  font-weight: 900;
  color: rgba(4,97,255,0.08);
  line-height: 1;
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-family: Georgia, serif;
}

.stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: var(--space-md); }

.testimonial-card p {
  font-size: 0.95rem;
  font-style: italic;
  color: #4a5e7a;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.author-info .name { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.author-info .role { font-size: 0.8rem; color: #7a94b4; }

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =========================================================
   FLOATING PARTICLES (hero decoration)
   ========================================================= */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(121,199,255,0.15);
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--grad-blue);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-blue);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(4,97,255,0.5);
}

/* =========================================================
   WHATSAPP FLOATING BTN
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 90px; right: 30px;
  width: 52px; height: 52px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: var(--transition);
  z-index: 900;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 16px 48px rgba(37,211,102,0.55);
}

.call-float {
  position: fixed;
  bottom: 152px; right: 30px;
  width: 52px; height: 52px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 32px rgba(4,97,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  z-index: 900;
  text-decoration: none;
}

.call-float:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 16px 48px rgba(4,97,255,0.55);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS — Mobile-First Professional Design
   ========================================================= */

/* XL — 1280px+ */
@media (min-width: 1280px) {
  :root { --nav-height: 80px; }
}

/* LG — ≤1199px */
@media (max-width: 1199px) {
  .hero-grid   { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-xl); }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .stats-grid  { grid-template-columns: repeat(4, 1fr); }
  .grid-4      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .cta-banner  { padding: var(--space-2xl); }
  .nav-link    { font-size: 0.83rem; padding: 7px 10px; }
}

/* MD — ≤1024px (tablet landscape) */
@media (max-width: 1024px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .cta-banner  { flex-direction: column; text-align: center; padding: var(--space-2xl); }
  .cta-buttons { justify-content: center; }
}

/* =====================================================
   SM — ≤768px  (tablets portrait + large phones)
   ===================================================== */
@media (max-width: 768px) {
  :root {
    --nav-height: 66px;
    --space-4xl: 3.5rem;
    --space-3xl: 2.5rem;
    --space-2xl: 1.75rem;
    --space-xl:  1.25rem;
    --space-lg:  1rem;
  }

  /* ── Container ── */
  .container { width: 92%; }

  /* ── Typography ── */
  h1 { font-size: clamp(1.75rem, 7vw, 2.6rem); letter-spacing: -0.01em; }
  h2 { font-size: clamp(1.4rem,  5.5vw, 2rem);  }
  h3 { font-size: clamp(1.1rem,  4vw,  1.5rem); }
  p  { font-size: 0.925rem; line-height: 1.65; }

  /* ── Sections ── */
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header p { font-size: 0.925rem; }

  /* ── Navbar ── */
  .nav-logo img   { height: 90px; }
  .nav-logo-text .brand { font-size: 1.05rem; }
  .nav-logo-text .sub   { font-size: 0.44rem; }

  /* ── Mobile Menu — polished drawer ── */
  .mobile-menu {
    padding: 0.75rem 1.25rem 1.5rem;
    gap: 2px;
    border-top: 2px solid rgba(4,97,255,0.12);
  }

  .mobile-menu .nav-link {
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    color: var(--navy);
  }

  .mobile-menu .nav-link:hover,
  .mobile-menu .nav-link.active {
    background: rgba(4,97,255,0.07);
    border-left-color: var(--blue);
    color: var(--blue);
  }

  .mobile-menu .nav-cta {
    margin-top: 0.75rem;
    padding: 14px 22px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    background: var(--grad-blue) !important;
    color: #fff !important;
    text-align: center;
    justify-content: center;
    display: flex;
    box-shadow: 0 6px 22px rgba(4,97,255,0.35);
  }

  .mobile-menu-divider {
    margin: 0.5rem 0;
    height: 1px;
    background: rgba(9,38,96,0.07);
  }

  /* ── Hero ── */
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 2.5rem) 0 3rem;
    text-align: center;
  }

  .hero-content { align-items: center; display: flex; flex-direction: column; }
  .hero h1 { text-align: center; }
  .hero p  { text-align: center; max-width: 100%; font-size: 0.975rem; }
  .hero-tag { align-self: center; }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  /* ── Stats ── */
  .stats-section { padding: 2rem 0; }
  .stats-grid    { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item {
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 1.5rem 1rem;
  }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4)  { border-bottom: none; }
  .stat-number { font-size: 2.4rem; }

  /* ── Page hero ── */
  .page-hero {
    padding: calc(var(--nav-height) + 2rem) 0 2.5rem;
    text-align: center;
  }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .page-hero p  { font-size: 0.9rem; }
  .breadcrumb   { font-size: 0.8rem; }

  /* ── Grids → single column ── */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1rem; }

  /* ── Cards ── */
  .card { padding: 1.5rem; }

  /* ── Steps ── */
  .steps-grid        { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-grid::before{ display: none; }
  .step-num { width: 52px; height: 52px; font-size: 1.1rem; }

  /* ── CTA Banner ── */
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    gap: 1.5rem;
  }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner p  { font-size: 0.875rem; }
  .cta-buttons   {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Feature cards ── */
  .feature-card  { flex-direction: column; gap: 1rem; padding: 1.25rem; }

  /* ── Testimonials ── */
  .testimonial-card { padding: 1.5rem; }

  /* ── Footer ── */
  .footer { padding: 2.5rem 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { font-size: 0.875rem; }
  .footer-col h5  { font-size: 0.85rem; }
  .footer-links a { font-size: 0.875rem; }
  .footer-bottom  { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.25rem 0; }
  .footer-bottom p { font-size: 0.8rem; }
  .footer-contact-item { font-size: 0.875rem; }
  .social-links   { gap: 0.5rem; }
  .social-link    { width: 38px; height: 38px; font-size: 0.95rem; }

  /* ── Forms ── */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group { margin-bottom: 1rem; }
  .form-control { padding: 12px 14px; font-size: 0.9rem; }
  .form-label   { font-size: 0.825rem; }
  .tab-nav      { gap: 3px; padding: 4px; }
  .tab-btn      { padding: 11px 8px; font-size: 0.78rem; gap: 4px; }
  .tab-btn i    { display: none; }

  /* ── Job cards ── */
  .job-card      { flex-direction: column; gap: 1rem; padding: 1.25rem; }
  .job-top       { flex-direction: column; gap: 0.5rem; }
  .job-meta      { gap: 0.6rem; flex-wrap: wrap; }
  .job-bottom    { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .apply-btn     { width: 100%; justify-content: center; }
  .search-bar    { min-width: 100%; }
  .job-filters   { flex-direction: column; gap: 0.75rem; }
  .filter-select { width: 100%; }

  /* ── Floating btns ── */
  .back-to-top    { bottom: 20px; right: 14px; width: 44px; height: 44px; font-size: 1rem; }
  .whatsapp-float { bottom: 74px; right: 14px; width: 48px; height: 48px; font-size: 1.2rem; }
  .call-float { bottom: 130px; right: 14px; width: 48px; height: 48px; font-size: 1.05rem; }

  /* ── Contact page ── */
  .contact-grid  { grid-template-columns: 1fr; }
  .info-item     { gap: 0.875rem; }
  .info-icon     { width: 38px; height: 38px; font-size: 0.9rem; }
  .direct-contact-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .social-connect-grid { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
  .social-connect-btn  { padding: 10px 10px; font-size: 0.78rem; gap: 6px; }
  .mail-options  { grid-template-columns: 1fr; gap: 0.75rem; }
  .contact-forms-body { padding: 1.25rem; }
  .contact-forms-header { padding: 1.5rem; }
  .contact-info-card { padding: 1.5rem; }

  /* ── Jobs page sidebar ── */
  .jobs-two-col    { grid-template-columns: 1fr; }
  .jobs-sidebar    { display: none; }
  .jobs-header-bar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* ── What-we-are / identity cards ── */
  .identity-card { grid-template-columns: 1fr !important; direction: ltr !important; }
  .identity-visual { min-height: 200px; padding: 2rem; }
  .identity-visual .big-icon { font-size: 3.5rem; }
  .identity-content { padding: 1.5rem; }
  .identity-features { gap: 0.5rem; }
  .identity-feature { font-size: 0.85rem; }

  /* ── Process steps ── */
  .process-step  { gap: 1rem; padding: 1rem 1.25rem; }
  .process-step:hover { transform: none; }
  .process-num   { width: 46px; height: 46px; font-size: 1rem; }

  /* ── Timeline ── */
  .timeline { padding-left: 30px; }
  .timeline-dot { left: -22px; }

  /* ── Industry grid ── */
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .industry-item { padding: 1.25rem 0.75rem; }
  .industry-item .icon { font-size: 1.8rem; }

  /* ── About page ── */
  .mission-vision-grid { grid-template-columns: 1fr; gap: 1rem; }
  .mv-card { padding: 1.75rem; }
  .story-grid  { grid-template-columns: 1fr; }
  .story-image { height: 280px; }
  .team-card   { }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-visual  { display: none; }

  /* ── Services page ── */
  .service-card-header { flex-direction: column; text-align: center; padding: 1.5rem; }
  .service-card-body   { grid-template-columns: 1fr; padding: 1.5rem; gap: 1rem; }
  .service-header-icon { margin: 0 auto; }

  /* ── Infographic ── */
  .infographic-grid  { grid-template-columns: 1fr 1fr 1fr; }
  .infographic-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem 0.5rem; }
  .infographic-item .num { font-size: 1.8rem; }
  .infographic-item .lbl { font-size: 0.72rem; }

  /* ── Section tag ── */
  .section-tag { font-size: 0.72rem; padding: 5px 12px; }

  /* ── Modal ── */
  .modal { padding: 1.5rem; }
  .modal-overlay { padding: 1rem; align-items: flex-end; }
  .modal { border-radius: 20px 20px 0 0; max-height: 90vh; overflow-y: auto; }
}

/* =====================================================
   XS — ≤480px  (standard phones)
   ===================================================== */
@media (max-width: 480px) {
  :root {
    --nav-height: 60px;
    --space-4xl: 2.75rem;
    --space-3xl: 2.25rem;
    --space-2xl: 1.75rem;
    --space-xl:  1.25rem;
    --space-lg:  1rem;
    --space-md:  0.875rem;
  }

  .container { width: 93%; }

  /* ── Nav ── */
  .nav-logo img         { height: 80px; }
  .nav-logo-text .brand { font-size: 0.95rem; }
  .nav-logo-text .sub   { display: none; }

  /* ── Typography ── */
  h1 { font-size: clamp(1.55rem, 7.5vw, 2.2rem); }
  h2 { font-size: clamp(1.25rem, 6vw, 1.7rem);   }
  h3 { font-size: clamp(1rem, 5vw, 1.35rem);      }

  /* ── Hero ── */
  .hero { padding: calc(var(--nav-height) + 2rem) 0 2.5rem; }
  .hero-tag { font-size: 0.65rem; padding: 6px 10px; letter-spacing: 0.05em; }
  .hero-buttons .btn { max-width: 100%; font-size: 0.9rem; padding: 13px 22px; }
  .hero p   { font-size: 0.9rem; }

  /* ── Stats ── */
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }
  .stat-label  { font-size: 0.78rem; }

  /* ── Sections ── */
  .section { padding: 2.25rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .section-tag    { font-size: 0.68rem; }

  /* ── Cards ── */
  .card { padding: 1.25rem; border-radius: 14px; }
  .card-icon { width: 50px; height: 50px; font-size: 1.3rem; border-radius: 10px; }

  /* ── Buttons ── */
  .btn    { padding: 12px 20px; font-size: 0.875rem; border-radius: 50px; }
  .btn-lg { padding: 13px 24px; font-size: 0.9rem; }
  .btn-sm { padding: 9px 16px; font-size: 0.8rem; }

  /* ── CTA ── */
  .cta-banner { padding: 1.5rem 1.25rem; border-radius: 16px; }
  .cta-banner h2 { font-size: 1.25rem; }
  .cta-banner p  { font-size: 0.825rem; }

  /* ── Footer ── */
  .footer-brand img { height: 80px; }
  .footer-col h5    { font-size: 0.8rem; }
  .social-link  { width: 36px; height: 36px; font-size: 0.875rem; }
  .social-links { flex-wrap: wrap; }

  /* ── Forms ── */
  .form-control { padding: 11px 13px; font-size: 0.875rem; }
  .tab-nav  { flex-direction: row; overflow-x: auto; padding-bottom: 2px; }
  .tab-btn  { flex-shrink: 0; white-space: nowrap; font-size: 0.75rem; padding: 10px 12px; }
  .tab-btn i { display: none; }

  /* ── Contact page ── */
  .social-connect-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .social-connect-btn  { font-size: 0.75rem; padding: 10px 8px; gap: 5px; }
  .direct-btn          { padding: 1rem; gap: 0.875rem; }
  .d-icon              { width: 40px; height: 40px; font-size: 1rem; }
  .d-text .d-value     { font-size: 0.85rem; }

  /* ── Jobs ── */
  .job-logo  { width: 50px; height: 50px; font-size: 1.3rem; }
  .job-title { font-size: 0.975rem; }
  .job-company { font-size: 0.8rem; }
  .job-tag   { font-size: 0.75rem; }
  .badge     { font-size: 0.7rem; padding: 4px 10px; }
  .apply-btn { font-size: 0.85rem; padding: 10px 20px; }

  /* ── About page ── */
  .story-image { height: 220px; font-size: 4rem; }
  .story-stats { grid-template-columns: 1fr 1fr; }
  .story-stat .num { font-size: 1.4rem; }
  .team-avatar { height: 160px; font-size: 3rem; }
  .value-icon { width: 54px; height: 54px; font-size: 1.5rem; }

  /* ── What We Are ── */
  .infographic-grid { grid-template-columns: 1fr 1fr; }
  .infographic-item .num { font-size: 1.6rem; }
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .industry-item { padding: 1rem 0.5rem; border-radius: 12px; }
  .industry-item h5 { font-size: 0.8rem; }

  /* ── Services ── */
  .service-feature-item { font-size: 0.825rem; padding: 8px 10px; }
  .faq-question         { font-size: 0.875rem; padding: 1rem 1.25rem; }
  .faq-answer-inner     { font-size: 0.85rem; padding: 0 1.25rem 1rem; }

  /* ── Floating ── */
  .back-to-top    { bottom: 16px; right: 12px; width: 42px; height: 42px; }
  .whatsapp-float { bottom: 68px; right: 12px; width: 46px; height: 46px; font-size: 1.15rem; }
  .call-float { bottom: 120px; right: 12px; width: 46px; height: 46px; font-size: 1rem; }

  /* ── Modal ── */
  .modal { padding: 1.25rem; }
  .modal-header h3 { font-size: 1rem; }
}

/* =====================================================
   XXS — ≤360px  (very small phones: iPhone SE, etc.)
   ===================================================== */
@media (max-width: 360px) {
  :root {
    --nav-height: 56px;
    --space-4xl: 2.25rem;
    --space-3xl: 2rem;
    --space-2xl: 1.5rem;
    --space-xl:  1rem;
    --space-lg:  0.875rem;
  }

  .container { width: 94%; }
  .nav-logo-text { display: none; }
  .nav-logo img  { height: 70px; }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem;   }

  .hero { padding: calc(var(--nav-height) + 1.5rem) 0 2rem; }
  .hero-buttons .btn { padding: 12px 18px; font-size: 0.85rem; }
  .hero-tag    { font-size: 0.62rem; }

  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.8rem; }

  .section { padding: 2rem 0; }

  .card { padding: 1rem; }
  .btn  { padding: 11px 16px; font-size: 0.84rem; }

  .cta-banner { padding: 1.25rem 1rem; }
  .cta-banner h2 { font-size: 1.15rem; }

  .tab-btn { font-size: 0.7rem; padding: 9px 8px; }

  .social-connect-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .industry-item { padding: 0.875rem 0.5rem; }

  .footer-col h5 { font-size: 0.8rem; }
  .footer-links a { font-size: 0.8rem; }

  .infographic-grid { grid-template-columns: 1fr 1fr; }
  .infographic-item:last-child { grid-column: span 2; }
}


/* =========================================================
   GLOBAL OVERFLOW-X CONTAINMENT  (highest specificity — loaded last)
   Fixes extra white space / horizontal scroll on all pages
   ========================================================= */

html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Every direct section wrapper must stay inside viewport */
section,
.section,
.section-alt,
.section-dark,
header,
footer,
.footer,
.navbar,
.mobile-menu,
.stats-bar,
.stats-band,
.stats-bar-inner,
.sectors-strip,
.infographic-strip,
.hero,
.wwa-hero,
.page-hero,
.page-hero-img,
.process-sec,
.cta-sec,
.wwa-cta,
.team-sec,
.about-cta,
.why-sec,
.why-matter-sec,
.training-sec,
.testi-sec,
.services-sec,
.industries-sec,
.approach-sec,
.pillars-sec {
  overflow-x: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* Inner grid/flex wrappers — no min-width larger than viewport */
.hero-inner,
.why-inner,
.training-inner,
.process-grid,
.story-grid,
.approach-grid,
.team-intro,
.mv-grid,
.values-grid,
.services-grid,
.testi-grid,
.industry-grid,
.why-matter-grid,
.process-steps,
.process-steps-list,
.pillar-block,
.footer-grid,
.stats-bar-inner,
.stats-band-inner,
.jobs-two-col,
.job-filters,
.cta-btns,
.hero-actions,
.wwa-cta-btns,
.about-cta-btns,
.nav-inner {
  max-width: 100%;
  box-sizing: border-box;
}

/* Scrolling marquee strip — must clip at parent boundary */
.sectors-strip  { overflow: hidden !important; }
.sectors-scroll { will-change: transform; }

/* Images never overflow their container */
img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}

/* Prevent absolutely positioned decorative elements from causing scroll */
.hero::before,
.hero::after,
.page-hero::before,
.wwa-hero::before,
.process-sec::before,
.cta-sec::before,
.team-sec::before,
.why-matter-sec::before {
  pointer-events: none;
}



