/* ============================================================
   GM INNOVEX TECHNOLOGIES — DESIGN SYSTEM v2.0
   Reference: color.png brand guide
   Font: Poppins | Colors: #0F172A / #1D4ED8 / #22D3EE
   ============================================================ */

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

/* ── CSS Variables (exact from brand guide) ── */
:root {
  --midnight:   #0F172A;
  --royal:      #1D4ED8;
  --cyan:       #22D3EE;
  --bg:         #F8FAFC;
  --surface:    #FFFFFF;
  --text-dark:  #1E293B;
  --text-mid:   #475569;
  --text-light: #94A3B8;
  --border:     #E2E8F0;
  --border-dark:#CBD5E1;

  --hero-grad:  linear-gradient(135deg, #0F172A 0%, #1D4ED8 60%, #22D3EE 100%);
  --btn-grad:   linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);

  --font: 'Poppins', sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;

  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 10px 32px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.12);
  --shadow-blue:0 8px 24px rgba(29,78,216,.30);

  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  animation: fadeIn .5s ease .05s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font-family: var(--font); }

/* ── Container ── */
.wrap {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 60px);
}
.section-py {
    padding: 70px 0;
}

.section-py-sm {
    padding: 50px 0;
}

/* ==========================================
   NAVBAR
========================================== */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    transition:.35s ease;
    height:90px;
    padding:0;
}

.navbar.scrolled{
    background:rgba(10,17,38,.96);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.06);
    height:80px;
    padding:0;
}

/* FULL WIDTH CONTAINER */
.nav-container{
    width:100%;
    padding:0 40px;
    display:flex;
    align-items:center;
    justify-content: space-between;
    height: 100%;
}

/* LOGO */
.nav-logo{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
    min-width: 0; /* allow shrink */
}

.logo-img{
    width:72px;
    height:72px;
    object-fit:contain;
    flex-shrink: 0;
}

.logo-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
    line-height:1;
    min-width: 0;
}

.logo-name{
    font-size:18px;
    font-weight:700;
    color:#fff;
    letter-spacing:1px;
    white-space: nowrap;
}

.logo-tagline{
    margin-top:5px;
    font-size:12px;
    font-weight:600;
    color:rgba(255,255,255,.75);
    letter-spacing:5px;
    white-space: nowrap;
}

/* Logo icon variant (used on some pages) */
.logo-icon{
    width:48px;
    height:48px;
    border-radius:var(--radius-md);
    background:linear-gradient(135deg,#1D4ED8,#22D3EE);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    font-weight:900;
    color:#fff;
    letter-spacing:-.5px;
    flex-shrink:0;
}

.logo-text .name{
    font-size:16px;
    font-weight:700;
    color:#fff;
    letter-spacing:1px;
    white-space: nowrap;
}
.logo-text .tagline{
    font-size:10px;
    font-weight:500;
    color:rgba(255,255,255,.6);
    letter-spacing:3px;
    margin-top:3px;
    white-space: nowrap;
}

/* RIGHT SIDE MENU */
.nav-right{
    margin-left:auto;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:20px;
}

.nav-menu a{
    color:rgba(255,255,255,.75);
    font-size:15px;
    font-weight:600;
    padding:8px 10px;
    transition:.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover{
    color:#fff;
}

.nav-menu a.active{
    color:var(--cyan);
}

/* MOBILE TOGGLE */
.nav-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    padding:4px;
    margin-left: 16px;
    flex-shrink: 0;
}

.nav-toggle span{
    display:block;
    width:24px;
    height:2px;
    background:#fff;
    border-radius:2px;
    transition:all .3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* MOBILE MENU */
.nav-mobile{
    position:fixed;
    inset:0;
    z-index:899;
    background:rgba(10,17,38,.99);
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:80px 32px 40px;
    transform:translateX(100%);
    transition:transform .4s cubic-bezier(.77,0,.175,1);
}

.nav-mobile.open{
    transform:translateX(0);
}

.nav-mobile a{
    display:block;
    font-size:22px;
    font-weight:600;
    color:rgba(255,255,255,.8);
    padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,.07);
    transition:color var(--transition);
}

.nav-mobile a:hover { color: var(--cyan); }

/* RESPONSIVE NAV */
@media(max-width:1024px){
    .nav-container{
        padding:0 24px;
    }
    .nav-menu{
        gap: 12px;
    }
    .nav-menu a{
        font-size: 14px;
        padding: 6px 8px;
    }
}

@media(max-width:991px){
    .nav-menu{
        display:none;
    }
    .nav-toggle{
        display:flex;
    }
    .nav-container{
        padding:0 20px;
    }
}

@media (max-width: 768px){
    .navbar{ height: 72px; }
    .navbar.scrolled{ height: 64px; }
    .logo-img{ width: 52px; height: 52px; }
    .logo-name{ font-size: 16px; }
    .logo-tagline{ font-size: 9px; letter-spacing: 3px; }
}

@media (max-width: 480px){
    .navbar{ height: 64px; }
    .navbar.scrolled{ height: 58px; }
    .logo-img{ width: 44px; height: 44px; }
    .logo-name{ font-size: 14px; letter-spacing: 0.5px; }
    .logo-tagline{ font-size: 8px; letter-spacing: 2px; }
    .nav-container{ padding: 0 16px; }
    .nav-mobile{ padding: 72px 24px 32px; }
    .nav-mobile a{ font-size: 18px; padding: 14px 0; }
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: var(--royal);
  color: #fff;
  font-family: var(--font);
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary:hover {
  background: #1a44c0;
  color: #fff;
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}
.btn-primary svg { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 27px;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-family: var(--font);
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.3);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline svg { transition: transform var(--transition); }
.btn-outline:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--royal);
  font-family: var(--font);
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost:hover {
  background: rgba(29,78,216,.05);
  border-color: var(--royal);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   SECTION LABELS
══════════════════════════════════════════ */
.section-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 10px;
}
.section-label.on-dark { color: var(--cyan); }

.section-title {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.section-title.on-dark { color: #fff; }

.section-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 580px;
}
.section-sub.on-dark { color: rgba(255,255,255,.55); }

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

/* Animated grid overlay */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29,78,216,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Radial glow spots */
.hero-glow-1 {
  position: absolute;
  top: -120px; right: -80px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(29,78,216,.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -100px; left: 10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,.10) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  width: 100%;
}

/* Hero Text */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(34,211,238,.25);
  background: rgba(34,211,238,.08);
  border-radius: 100px;
  margin-bottom: 14px;
  max-width: 100%;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.5); }
}
.hero-badge span {
  font-size: 12px; font-weight: 500;
  color: var(--cyan);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-h1 {
  font-size: clamp(28px, 5.5vw, 68px);
  font-weight: 700;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero-h1 .cyan { color: var(--cyan); }

.hero-desc {
  font-size: clamp(14px, 1.4vw, 18px);
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 56px;
}

/* Hero Visual — Globe */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.globe-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
.globe-svg {
  width: 100%;
  filter: drop-shadow(0 0 60px rgba(29,78,216,.5)) drop-shadow(0 0 120px rgba(34,211,238,.15));
  animation: globeFloat 6s ease-in-out infinite;
}
@keyframes globeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* Floating cards on globe */
.globe-stat {
  position: absolute;
  background: rgba(15,23,42,.85);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  backdrop-filter: blur(12px);
  white-space: nowrap;
}
.globe-stat .gs-val {
  font-size: 20px; font-weight: 800; color: #fff;
  line-height: 1;
}
.globe-stat .gs-val .unit { color: var(--cyan); }
.globe-stat .gs-label {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.45);
  margin-top: 3px;
}
.globe-stat-1 { top: 12%; right: -2%; animation: floatCard1 5s ease-in-out infinite; }
.globe-stat-2 { bottom: 20%; left: -4%; animation: floatCard2 5.5s ease-in-out infinite; }
.globe-stat-3 { top: 52%; right: -5%; animation: floatCard1 6s ease-in-out .5s infinite; }

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

/* ══════════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════════ */
.services-section { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--cyan));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.svc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(29,78,216,.15);
}
.svc-card:hover::after { transform: scaleX(1); }

.svc-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: rgba(29,78,216,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.svc-card:hover .svc-icon {
  background: var(--royal);
}
.svc-icon svg { transition: all var(--transition); }
.svc-card:hover .svc-icon svg { filter: brightness(10); }

.svc-card h3 {
  font-size: 16px; font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--royal);
  transition: gap var(--transition);
}
.svc-card:hover .svc-link { gap: 10px; }

/* ══════════════════════════════════════════
   INDUSTRIES
══════════════════════════════════════════ */
.industries-section { background: var(--surface); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.ind-card {
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  background: var(--bg);
  cursor: default;
}
.ind-card:hover {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(29,78,216,.08);
  background: #fff;
  transform: translateY(-3px);
}
.ind-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(29,78,216,.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
  transition: all var(--transition);
}
.ind-card:hover .ind-icon {
  background: var(--royal);
}
.ind-card h3 {
  font-size: 14px; font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.ind-card p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════ */
.products-section { background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.prod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.prod-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(29,78,216,.2);
  transform: translateY(-4px);
}
.prod-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.prod-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.pi-blue   { background: rgba(29,78,216,.10); }
.pi-green  { background: rgba(5,150,105,.10); }
.pi-purple { background: rgba(124,58,237,.10); }
.pi-orange { background: rgba(234,88,12,.10); }

.status-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.sb-yellow { background: rgba(234,179,8,.1);  color: #B45309; border: 1px solid rgba(234,179,8,.25); }
.sb-blue   { background: rgba(29,78,216,.1);  color: var(--royal); border: 1px solid rgba(29,78,216,.2); }
.sb-purple { background: rgba(124,58,237,.1); color: #7C3AED; border: 1px solid rgba(124,58,237,.2); }
.sb-slate  { background: rgba(100,116,139,.1);color: #64748B; border: 1px solid rgba(100,116,139,.2); }

.prod-card h3 { font-size: 20px; font-weight: 700; color: var(--midnight); margin-bottom: 8px; }
.prod-card p  { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }
.prod-feats {
  display: flex; flex-direction: column; gap: 7px;
}
.prod-feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-mid);
}
.prod-feat::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: rgba(29,78,216,.08) url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%231D4ED8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border-radius: 50%;
}

/* ══════════════════════════════════════════
   WHY CHOOSE
══════════════════════════════════════════ */
.why-section { background: var(--midnight); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-items { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.why-item {
  display: flex; gap: 18px; align-items: flex-start;
}
.why-num {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(29,78,216,.3);
  border: 1px solid rgba(29,78,216,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--cyan);
}
.why-item h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.why-item p  { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.65; }

.why-visual-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-2xl);
  padding: 36px;
}
.wvc-title {
  font-size: 17px; font-weight: 700; color: #fff;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.wvc-title::before {
  content: '';
  width: 4px; height: 20px;
  background: var(--cyan);
  border-radius: 2px;
  flex-shrink: 0;
}
.wvc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 24px;
}
.wvc-item {
  padding: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md);
}
.wvc-item .n {
  font-size: 28px; font-weight: 800;
  color: var(--cyan); line-height: 1;
  letter-spacing: -.02em;
}
.wvc-item .l {
  font-size: 12px; color: rgba(255,255,255,.4);
  margin-top: 4px;
}

/* ══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
.projects-section { background: var(--surface); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.proj-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--surface);
}
.proj-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(29,78,216,.15);
}
.proj-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.proj-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.proj-card:hover .proj-thumb img {
    transform: scale(1.05);
}
.pt-1 { background: linear-gradient(135deg, #0F172A, #1D4ED8); }
.pt-2 { background: linear-gradient(135deg, #0F172A, #059669); }
.pt-3 { background: linear-gradient(135deg, #0F172A, #7C3AED); }
.proj-body { padding: 24px 28px; }
.proj-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(29,78,216,.08);
  color: var(--royal);
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 10px;
}
.proj-body h3 { font-size: 18px; font-weight: 700; color: var(--midnight); margin-bottom: 8px; }
.proj-body p  { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.proj-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 3px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px; font-weight: 500;
  color: var(--text-mid);
}

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.cta-section {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(29,78,216,.15) 0%, transparent 60%, rgba(34,211,238,.06) 100%);
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(29,78,216,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
}
.cta-inner h2 {
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 800; color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-inner p {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════ */
.page-hero {
  background: var(--midnight);
  padding: 150px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29,78,216,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,.06) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29,78,216,.22) 0%, transparent 65%);
  border-radius: 50%;
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 800; color: #fff;
  letter-spacing: -.025em; line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero p {
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-tag-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.about-tag {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; color: #fff;
}
.about-tag .t-icon { font-size: 22px; flex-shrink: 0; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
}
.vm-dark { background: var(--midnight); }
.vm-light { background: rgba(29,78,216,.05); border: 1px solid rgba(29,78,216,.12); }
.vm-card h3 {
  font-size: clamp(20px, 2vw, 24px); font-weight: 800; margin-bottom: 14px;
}
.vm-dark h3 { color: #fff; }
.vm-light h3 { color: var(--midnight); }
.vm-card p { font-size: 15px; line-height: 1.7; }
.vm-dark p { color: rgba(255,255,255,.55); }
.vm-light p { color: var(--text-mid); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.val-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
  transition: all var(--transition);
}
.val-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(29,78,216,.2);
}
.val-icon { font-size: 32px; margin-bottom: 12px; }
.val-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.val-card p  { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ══════════════════════════════════════════
   SERVICES PAGE — FULL CARDS
══════════════════════════════════════════ */
.sfc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.sfc:hover { box-shadow: var(--shadow-md); border-color: rgba(29,78,216,.15); }
.sfc-head {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 28px;
}
.sfc-head-icon {
  width: 60px; height: 60px; flex-shrink: 0;
  background: rgba(29,78,216,.08);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.sfc-head h2 { font-size: clamp(18px, 2vw, 24px); font-weight: 700; margin-bottom: 6px; }
.sfc-head p  { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.sfc-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sfc-col h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--royal); margin-bottom: 12px;
}
.sfc-col ul { display: flex; flex-direction: column; gap: 7px; }
.sfc-col li {
  font-size: 13px; color: var(--text-mid);
  padding-left: 14px; position: relative;
  line-height: 1.55;
}
.sfc-col li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--royal); font-weight: 700;
}

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; }
.contact-form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 15px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 14px;
  color: var(--text-dark);
  transition: all var(--transition); outline: none;
  /* Prevent iOS zoom on focus (font-size >= 16px prevents it) */
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--royal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29,78,216,.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-err {
  font-size: 12px; color: #EF4444;
  margin-top: 4px; display: none;
}
.field-err.show { display: block; }
.inp-invalid { border-color: #EF4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.08) !important; }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.fs-icon { font-size: 56px; display: block; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form-success p  { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

.contact-info-col { display: flex; flex-direction: column; gap: 18px; }
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all var(--transition);
}
.info-box:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.info-box-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.info-ico {
  width: 40px; height: 40px;
  background: rgba(29,78,216,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.info-box h3 { font-size: 15px; font-weight: 700; }
.info-box p  { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

.map-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--text-mid); font-size: 13px; font-weight: 500;
  position: relative; overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(29,78,216,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ══════════════════════════════════════════
   PRODUCTS PAGE — ROADMAP
══════════════════════════════════════════ */
.roadmap { position: relative; padding-left: 36px; margin-top: 44px; }
.roadmap::before {
  content: '';
  position: absolute; left: 8px; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--royal), rgba(29,78,216,.08));
  border-radius: 2px;
}
.rm-item { position: relative; margin-bottom: 44px; }
.rm-item::before {
  content: '';
  position: absolute; left: -30px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--royal);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 3px rgba(29,78,216,.2);
}
.rm-item.active::before { background: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.rm-phase { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--royal); margin-bottom: 6px; }
.rm-item h3 { font-size: 20px; font-weight: 700; color: var(--midnight); margin-bottom: 6px; }
.rm-item p  { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

/* ==========================================
   FOOTER
========================================== */

.footer{
    background:#071329;
    position:relative;
    overflow:hidden;
}

/* GRID */
.footer-grid{
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1fr;
    gap:50px;
    padding:50px 0 30px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

/* BRAND */
.footer-brand{
    min-width: 0;
}
.footer-brand p{
    margin-top:20px;
    margin-bottom:20px;
    font-size:14px;
    line-height:1.9;
    color:rgba(255,255,255,.60);
    max-width:360px;
}

/* SOCIAL */
.footer-socials{
    display:flex;
    gap:14px;
    margin-top:24px;
    flex-wrap: wrap;
}

.soc-btn{
    width:48px;
    height:48px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.03);
    display:flex;
    align-items:center;
    justify-content:center;
    color:rgba(255,255,255,.75);
    font-size:20px;
    transition:all .3s ease;
    flex-shrink: 0;
}

.soc-btn:hover{
    transform:translateY(-3px);
    border-color:rgba(34,211,238,.4);
    background:rgba(29,78,216,.18);
    color:#22D3EE;
    box-shadow:0 8px 25px rgba(34,211,238,.15);
}

/* COLUMNS */
.footer-col h4{
    font-size:16px;
    font-weight:600;
    color:#fff;
    margin-bottom:20px;
}

.footer-col nav{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer-col a{
    color:rgba(255,255,255,.65);
    font-size:14px;
    transition:.3s ease;
}

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

/* CONTACT */
.footer-contact-info{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:20px;
}

.footer-contact-info p{
    color:rgba(255,255,255,.65);
    font-size:14px;
    word-break: break-word;
}

.footer-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 20px;
    border-radius:799px;
    background:linear-gradient(90deg, #1D4ED8, #22D3EE);
    color:#fff !important;
    font-weight:500;
    font-size: 14px;
    box-shadow:0 0 25px rgba(37,99,235,.35);
    transition:.3s ease;
    white-space: nowrap;
}

.footer-cta:hover{
    transform:translateY(-2px);
}

/* BOTTOM */
.footer-bottom{
    padding:10px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.footer-copy{
    color:rgba(255,255,255,.854);
    font-size:12px;
}

.footer-links{
    display:flex;
    gap:20px;
    flex-wrap: wrap;
}

.footer-links a{
    color:rgba(255,255,255,.854);
    font-size:12px;
}

.footer-links a:hover{
    color:#fff;
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease-out, transform .55s ease-out;
}
.reveal.visible { opacity: 1; transform: none; }
.rd-1 { transition-delay: .08s; }
.rd-2 { transition-delay: .16s; }
.rd-3 { transition-delay: .24s; }
.rd-4 { transition-delay: .32s; }

/* ══════════════════════════════════════════
   UTILS
══════════════════════════════════════════ */
.tc { text-align: center; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mb-3  { margin-bottom: 12px; }
.mb-6  { margin-bottom: 24px; }
.mx-auto { margin-inline: auto; }
.max-560 { max-width: 560px; }
.max-680 { max-width: 680px; }

/* ══════════════════════════════════════════
   RESPONSIVE — 1200px (Large desktop check)
══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .why-grid { gap: 48px; }
  .globe-stat { font-size: 90%; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 1100px (Tablet landscape)
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: 1 / -1; }
  .footer-col h4 { font-size: 15px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 960px (Tablet portrait)
══════════════════════════════════════════ */
@media (max-width: 960px) {
  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 110px;
    padding-bottom: 60px;
  }
  .hero-visual { display: none; }
  .hero-h1 { font-size: clamp(32px, 7vw, 52px); }
  .hero-desc { max-width: 100%; }
  .hero-btns { margin-bottom: 32px; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .prod-card { padding: 28px; }

  /* Why section */
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual-card { order: -1; }

  /* Projects */
  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .vm-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }

  /* Services detail */
  .sfc-cols { grid-template-columns: 1fr 1fr; }
  .sfc { padding: 32px 28px; }

  /* Page hero */
  .page-hero { padding: 130px 0 60px; }

  /* Section spacing */
  .section-py { padding: 56px 0; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 768px (Mobile landscape / small tablets)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Section spacing */
  .section-py { padding: 48px 0; }
  .section-py-sm { padding: 36px 0; }

  /* Grids */
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .about-tag-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > *:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-brand p { max-width: 100%; }

  /* Hero */
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  /* Form */
  .form-2col { grid-template-columns: 1fr; }
  .contact-form-box { padding: 24px 18px; }

  /* Services detail */
  .sfc { padding: 24px 18px; }
  .sfc-cols { grid-template-columns: 1fr; }
  .sfc-head { flex-direction: column; gap: 14px; }

  /* CTA */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn-primary,
  .cta-btns .btn-outline { width: 100%; max-width: 320px; justify-content: center; }

  /* Why section */
  .why-visual-card { padding: 24px 20px; }
  .wvc-grid { gap: 12px; }
  .wvc-item .n { font-size: 22px; }

  /* Proj cards */
  .proj-thumb { height: 200px; }
  .proj-body { padding: 20px; }

  /* Products cards */
  .prod-card { padding: 24px; }
  .prod-card h3 { font-size: 18px; }

  /* Page hero */
  .page-hero { padding: 110px 0 48px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 576px (Mobile portrait)
══════════════════════════════════════════ */
@media (max-width: 576px) {
  /* General */
  .section-py { padding: 40px 0; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }

  /* Globe stats hidden on small screens */
  .globe-stat { display: none; }

  /* Svc cards */
  .svc-card { padding: 24px 20px; }

  /* Why items */
  .why-item { gap: 14px; }
  .why-num { width: 32px; height: 32px; font-size: 11px; flex-shrink: 0; }
  .why-item h3 { font-size: 15px; }

  /* Product hero grid (products page inline style) */
  .prod-hero-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* About tag grid — single column on very small */
  .about-tag { padding: 12px 14px; font-size: 13px; }
  .about-tag .t-icon { font-size: 18px; }

  /* Footer CTA */
  .footer-cta { width: 100%; text-align: center; }

  /* VM cards */
  .vm-card { padding: 24px 20px; }
  .vm-card h3 { font-size: 20px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 480px (Smallest mobile)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .section-py { padding: 36px 0; }

  /* Hero */
  .hero-inner { padding-top: 96px; padding-bottom: 48px; }
  .hero-h1 { font-size: clamp(26px, 8vw, 36px); letter-spacing: -.02em; }
  .hero-badge span { font-size: 10px; }
  .hero-desc { font-size: 14px; margin-bottom: 24px; }

  /* About tag grid */
  .about-tag-grid { grid-template-columns: 1fr; }

  /* Section titles */
  .section-title { letter-spacing: -.01em; }

  /* Why visual card numbers */
  .wvc-item .n { font-size: 20px; }
  .wvc-item .l { font-size: 11px; }

  /* Contact info box */
  .info-box { padding: 18px 20px; }

  /* Prod card badge row */
  .prod-card-head { flex-wrap: wrap; }

  /* Services grid mobile */
  .services-grid { gap: 14px; }
  .svc-card { padding: 20px 16px; }
  .svc-icon { width: 48px; height: 48px; }
  .svc-card h3 { font-size: 15px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 380px (Very small / older phones)
══════════════════════════════════════════ */
@media (max-width: 380px) {
  .industries-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .about-tag-grid { grid-template-columns: 1fr; }
  .wvc-grid { grid-template-columns: 1fr 1fr; }

  .hero-h1 { font-size: 26px; }
  .hero-btns { gap: 10px; }

  .prod-card { padding: 18px 14px; }
  .prod-card h3 { font-size: 17px; }

  .footer-socials { gap: 10px; }
  .soc-btn { width: 40px; height: 40px; font-size: 17px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 320px (Minimum supported)
══════════════════════════════════════════ */
@media (max-width: 320px) {
  .wrap { padding-inline: 12px; }
  .hero-h1 { font-size: 22px; }
  .section-title { font-size: 20px; }
  .btn-primary, .btn-outline, .btn-ghost { font-size: 13px; padding: 11px 18px; }
  .wvc-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   LARGE SCREENS (1400px+)
══════════════════════════════════════════ */
@media (min-width: 1400px) {
  .hero-inner { gap: 80px; }
  .why-grid { gap: 100px; }
  .footer-grid { gap: 60px; }
}
