/* ============================================================
   NOVENTIDE TECHNOLOGIES — Main Stylesheet v2 (Font-size Fix)
   Color Palette: Deep Navy, Electric Cyan, Ocean Blue
   ============================================================ */

/* ============================================================
   CSS VARIABLES — Single source of truth for all font sizes
   ============================================================ */
:root {
  /* Brand colours */
  --navy:        #050d1a;
  --navy-mid:    #0a1929;
  --navy-light:  #0f2744;
  --blue:        #0d5ecc;
  --blue-light:  #1a7fe8;
  --cyan:        #00d4ff;
  --cyan-glow:   #00eaff;
  --white:       #ffffff;
  --off-white:   #e8f4ff;
  --gray:        #8aa6c1;
  --card-bg:     rgba(255,255,255,0.04);
  --border:      rgba(0,212,255,0.15);
  --shadow:      0 8px 40px rgba(0,0,0,0.5);
  --radius:      14px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
  --font-head:   'Outfit', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* ---- Font scale (all font-size decisions live here) ---- */
  --fs-hero:    clamp(1.9rem, 3.8vw, 3rem);     /* Home hero H1           */
  --fs-h1:      clamp(1.6rem, 3vw, 2.4rem);     /* Inner-page hero H1     */
  --fs-h2:      clamp(1.35rem, 2vw, 1.75rem);   /* Section headings       */
  --fs-h3:      1.05rem;                         /* Card / sub headings    */
  --fs-h4:      0.93rem;                         /* Small headings         */
  --fs-body:    0.93rem;                         /* Default body text      */
  --fs-sm:      0.84rem;                         /* Secondary / meta text  */
  --fs-xs:      0.74rem;                         /* Labels, captions, tags */
  --fs-nav:     0.82rem;                         /* Navbar links           */
  --fs-btn:     0.76rem;                         /* Button text            */
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; font-size: 16px; }
body   {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.72;
  overflow-x: hidden;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
p    { font-size: var(--fs-body); line-height: 1.75; color: var(--gray); }

/* Prevent browser grammar/spell-check underlines on headings */
h1, h2, h3, h4, h5 {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Prevent Google Translate / browser colour bleed on span inside headings */
h1 span, h2 span, h3 span, h4 span {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--cyan) !important;
  background: none !important;
  border: none !important;
  text-decoration: none !important;
}

/* ============================================================
   GLOBAL HEADING SCALE
   ============================================================ */
h1 { font-family: var(--font-head); font-size: var(--fs-h1); font-weight: 700; line-height: 1.2;  color: var(--white); }
h2 { font-family: var(--font-head); font-size: var(--fs-h2); font-weight: 700; line-height: 1.25; color: var(--white); }
h3 { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; line-height: 1.3;  color: var(--white); }
h4 { font-family: var(--font-head); font-size: var(--fs-h4); font-weight: 700; line-height: 1.38; color: var(--white); }
h5 { font-family: var(--font-head); font-size: 0.85rem;      font-weight: 600; line-height: 1.4;  color: var(--white); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 26px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-btn);      /* 0.78rem */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--navy);
  box-shadow: 0 0 24px rgba(0,212,255,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(0,212,255,0.55); }

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}
.btn-outline:hover { background: rgba(0,212,255,0.1); transform: translateY(-3px); }

/* ---- Section label pill ---- */
.section-label {
  display: inline-block;
  font-size: var(--fs-xs);       /* 0.75rem */
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

/* ---- Section title ---- */
.section-title {
  font-family: var(--font-head);
  font-size: var(--fs-h2);       /* clamp(1.5rem, 2.2vw, 2rem) */
  font-weight: 700;
  color: var(--white);
  line-height: 1.28;
  margin-bottom: 12px;
}
.section-title span { color: var(--cyan) !important; display: inline; font-family: inherit; font-size: inherit; font-weight: inherit; }

/* ---- Section subtitle ---- */
.section-sub {
  font-size: var(--fs-sm);       /* 0.84rem */
  color: var(--gray);
  max-width: 580px;
  line-height: 1.75;
}

/* Tags / pills */
.tag {
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 50px;
  padding: 4px 13px;
  font-size: var(--fs-xs);
  color: var(--cyan);
  font-weight: 600;
}

/* Feature list (services inner page) */
.feature-list { margin: 22px 0; }
.feature-item  { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.feature-item i    { color: var(--cyan); margin-top: 3px; font-size: 0.82rem; flex-shrink: 0; }
.feature-item span { color: var(--gray); font-size: var(--fs-sm); line-height: 1.65; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 20px;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(5,13,26,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 12px;
}

.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;                         /* no extra gap — padding handles spacing */
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-nav);      /* 0.83rem */
  letter-spacing: 0.02em;
  color: var(--off-white);
  padding: 7px 11px;             /* tight padding so 6 items fit */
  border-radius: 7px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cyan); background: rgba(0,212,255,0.08); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--cyan);
  border-radius: 50%;
}

.nav-cta {
  flex-shrink: 0;
  padding: 9px 20px;
  font-size: var(--fs-xs);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(5,13,26,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--off-white);
  padding: 11px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--cyan); background: rgba(0,212,255,0.08); }

/* ============================================================
   HOME HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(13,94,204,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(0,212,255,0.12) 0%, transparent 60%),
    var(--navy);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 2; max-width: 660px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 17px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: var(--fs-hero);     /* clamp(2.1rem, 4.2vw, 3.4rem) */
  color: var(--white);
  margin-bottom: 18px;
  animation: fadeUp 0.8s 0.1s ease both;
  line-height: 1.18;
}
.hero h1 span { color: var(--cyan); }

.hero p {
  font-size: var(--fs-body);     /* 0.93rem */
  color: var(--gray);
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.2s ease both;
  max-width: 520px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 360px; height: 360px; background: var(--blue);       top: 5%;  right: -8%; animation-delay: 0s; }
.orb-2 { width: 210px; height: 210px; background: var(--cyan);       bottom: 10%; right: 20%; animation-delay: 3s; }
.orb-3 { width: 170px; height: 170px; background: var(--blue-light); top: 50%; left: -5%; animation-delay: 5s; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 24px;
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item h3 {
  font-family: var(--font-head);
  font-size: 2rem;               /* fixed — don't use clamp here */
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 4px;
}
.stat-item p { font-size: var(--fs-sm); color: var(--gray); font-weight: 500; }

/* ============================================================
   SECTION SPACING
   ============================================================ */
section { padding: 88px 24px; }
section.alt { background: var(--navy-mid); }

/* ============================================================
   SERVICE CARDS (Home overview)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0,212,255,0.35);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.service-card h3 { font-size: var(--fs-h3); color: var(--white); margin-bottom: 9px; }
.service-card p  { color: var(--gray); font-size: var(--fs-sm); line-height: 1.7; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  color: var(--cyan);
  font-size: var(--fs-xs);
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}
.service-card:hover .card-link { gap: 9px; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.why-visual { position: relative; }
.why-visual-inner {
  aspect-ratio: 1;
  max-width: 460px;
  background: var(--navy-light);
  border-radius: 22px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 6.5rem;
  position: relative; overflow: hidden;
}
.why-visual-inner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,212,255,0.12), transparent 60%);
}
.floating-badge {
  position: absolute;
  background: rgba(5,13,26,0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 17px;
  backdrop-filter: blur(12px);
}
.floating-badge.top-right   { top: -18px; right: -18px; }
.floating-badge.bottom-left { bottom: -18px; left: -18px; }
.floating-badge .fb-num     { font-size: 1.3rem; font-weight: 700; color: var(--cyan); }
.floating-badge .fb-label   { font-size: var(--fs-xs); color: var(--gray); }

.why-list  { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.why-item  { display: flex; gap: 13px; align-items: flex-start; }
.why-item-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(0,212,255,0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.why-item-text h4 { color: var(--white); margin-bottom: 3px; font-size: var(--fs-h4); }
.why-item-text p  { color: var(--gray); font-size: var(--fs-sm); line-height: 1.65; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 48px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; width: 76%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), var(--cyan), var(--border), transparent);
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px;
  background: var(--navy-light);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 auto 20px;
  box-shadow: 0 0 26px rgba(0,212,255,0.2);
}
.step h4 { color: var(--white); margin-bottom: 6px; font-size: var(--fs-h4); }
.step p  { color: var(--gray); font-size: var(--fs-sm); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
}
.testi-card:hover { border-color: rgba(0,212,255,0.35); transform: translateY(-4px); }
.testi-stars         { color: #f59e0b; font-size: 0.88rem; margin-bottom: 13px; letter-spacing: 2px; }
.testi-text          { color: var(--gray); font-size: var(--fs-sm); line-height: 1.78; margin-bottom: 20px; }
.testi-author        { display: flex; align-items: center; gap: 10px; }
.testi-avatar        {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy); font-size: 0.82rem;
}
.testi-author-info h5   { color: var(--white); font-size: var(--fs-sm);  margin-bottom: 2px; }
.testi-author-info span { color: var(--gray);  font-size: var(--fs-xs); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 68px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,212,255,0.07), transparent);
}
/* CTA title is one notch smaller than section headings */
.cta-section .section-title { font-size: clamp(1.2rem, 2vw, 1.55rem); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 68px 24px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-logo img { height: 42px; margin-bottom: 13px; }
.footer-tagline  { color: var(--gray); font-size: var(--fs-sm); line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 34px; height: 34px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-size: 0.78rem;
  transition: var(--transition);
  cursor: pointer;
}
.social-btn:hover { background: rgba(0,212,255,0.1); color: var(--cyan); border-color: var(--cyan); }

.footer-col h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: var(--fs-h4);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 26px; height: 2px;
  background: var(--cyan);
}
.footer-links a {
  display: block;
  color: var(--gray);
  font-size: var(--fs-sm);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--cyan); padding-left: 6px; }

.footer-contact-item {
  display: flex; gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.footer-contact-item .icon { color: var(--cyan); font-size: 0.85rem; min-width: 16px; margin-top: 3px; }
.footer-contact-item span  { color: var(--gray); font-size: var(--fs-sm); line-height: 1.5; }
.footer-contact-item a     { color: var(--gray); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p    { color: var(--gray); font-size: var(--fs-xs); }
.footer-bottom span { color: var(--cyan); }

/* ============================================================
   PAGE HERO (inner pages — About, Services, Contact, etc.)
   ============================================================ */
.page-hero {
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding: 126px 24px 68px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(13,94,204,0.3) 0%, transparent 70%), var(--navy);
}
.page-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; width: 100%; }

/* Inner-page H1 uses --fs-h1, NOT --fs-hero */
.page-hero h1 { font-size: var(--fs-h1); }

.breadcrumb {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  color: var(--gray);
}
.breadcrumb a   { color: var(--cyan); }
.breadcrumb span{ color: var(--gray); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-img-wrap  { position: relative; }
.about-img-box {
  background: var(--navy-light);
  border-radius: 20px;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  overflow: hidden; position: relative;
}
.about-img-box::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0,212,255,0.15), transparent 60%);
}
.about-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 14px;
  padding: 18px 22px;
  color: var(--navy);
  font-weight: 700;
}
.about-accent .num { font-size: 1.7rem; display: block; }
.about-accent .lbl { font-size: var(--fs-xs); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(0,212,255,0.35); }
.team-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 13px;
}
.team-card h4   { color: var(--white); font-size: var(--fs-h4);  margin-bottom: 3px; }
.team-card span { color: var(--cyan);  font-size: var(--fs-xs); font-weight: 600; }

/* ============================================================
   SERVICES PAGE — Detail cards & inner sections
   ============================================================ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.service-detail-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  transform: scaleY(0);
  transition: var(--transition);
  transform-origin: top;
}
.service-detail-card:hover::before { transform: scaleY(1); }
.service-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.3);
  background: rgba(255,255,255,0.06);
}
.service-detail-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(13,94,204,0.3), rgba(0,212,255,0.2));
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 22px;
}
/* Service detail card headings — use explicit sizes, not global h3 */
.service-detail-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 11px; }
.service-detail-card p  { color: var(--gray);  font-size: var(--fs-sm); line-height: 1.78; margin-bottom: 16px; }

/* Services inner layout */
.service-inner { max-width: 1200px; margin: 0 auto; }
.service-inner-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
  margin-bottom: 48px;
}
.service-inner-layout.reverse { direction: rtl; }
.service-inner-layout.reverse > * { direction: ltr; }

/* Service inner heading — one step smaller than section-title */
.service-inner .section-title { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

.service-inner-visual {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem;
  position: relative; overflow: hidden;
}
.service-inner-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0,212,255,0.12), transparent 60%);
}

/* Services sticky sub-nav */
.services-nav-strip {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 70px;
  z-index: 99;
}
.services-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.services-nav-inner::-webkit-scrollbar { display: none; }
.svc-nav-link {
  display: block;
  padding: 15px 18px;
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.svc-nav-link:hover,
.svc-nav-link.active { color: var(--cyan); border-bottom-color: var(--cyan); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-info-item {
  display: flex; gap: 13px; align-items: flex-start;
  margin-bottom: 26px;
}
.cii-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--navy);
}
.cii-text h4 { color: var(--white); margin-bottom: 3px; font-size: var(--fs-h4); }
.cii-text p  { color: var(--gray); font-size: var(--fs-sm); line-height: 1.5; }
.cii-text a  { color: var(--cyan); transition: var(--transition); }
.cii-text a:hover { color: var(--white); }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.contact-form h3   { color: var(--white); font-size: 1.35rem; margin-bottom: 5px; }
.contact-form .sub { color: var(--gray); font-size: var(--fs-sm); margin-bottom: 28px; }

.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  color: var(--off-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px 15px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  outline: none;
  transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138,166,193,0.5); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.form-group select option { background: var(--navy-mid); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 128px; }

.form-error { color: #ff6b6b; font-size: var(--fs-xs); margin-top: 5px; display: none; }
.form-error.show { display: block; }
.form-success {
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 9px;
  padding: 16px 20px;
  color: var(--cyan);
  text-align: center;
  display: none;
  margin-top: 16px;
  font-size: var(--fs-sm);
}
.form-success.show { display: block; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-26px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 20px rgba(0,212,255,0.4);
  z-index: 500;
}
#scrollTop.visible { opacity: 1; pointer-events: all; }
#scrollTop:hover   { transform: translateY(-4px); }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
#preloader.hide { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 52px; height: 52px;
  border: 3px solid var(--border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- Tablet landscape (≤1024px) ---- */
@media (max-width: 1024px) {
  :root {
    --fs-hero: clamp(1.7rem, 5vw, 2.4rem);
    --fs-h1:   clamp(1.5rem, 4.5vw, 2rem);
    --fs-h2:   clamp(1.25rem, 3vw, 1.55rem);
  }

  .services-grid         { grid-template-columns: repeat(2, 1fr); }
  .team-grid             { grid-template-columns: repeat(2, 1fr); }
  .why-grid              { grid-template-columns: 1fr; gap: 44px; }
  .about-story           { grid-template-columns: 1fr; gap: 44px; }
  .contact-layout        { grid-template-columns: 1fr; }
  .footer-grid           { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps         { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-grid            { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid   { grid-template-columns: 1fr; }
  .testimonials-grid     { grid-template-columns: 1fr 1fr; }
  .service-inner-layout  { grid-template-columns: 1fr; gap: 36px; }
  .service-inner-layout.reverse { direction: ltr; }
}

/* ---- Tablet portrait / large phone (≤768px) ---- */
@media (max-width: 768px) {
  :root {
    --fs-hero:  clamp(1.5rem, 6.5vw, 2rem);
    --fs-h1:    clamp(1.35rem, 6vw, 1.75rem);
    --fs-h2:    clamp(1.15rem, 4.5vw, 1.45rem);
    --fs-h3:    1rem;
    --fs-body:  0.9rem;
    --fs-sm:    0.82rem;
    --fs-xs:    0.72rem;
    --fs-nav:   0.82rem;
  }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger        { display: flex; }

  .services-grid     { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 26px; }
  .stats-grid        { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .hero-btns         { flex-direction: column; }

  section { padding: 60px 18px; }

  .page-hero   { padding: 108px 18px 58px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form, .contact-info-card { padding: 24px 18px; }

  .stat-item h3 { font-size: 1.75rem; }
}

/* ---- Mobile (≤480px) ---- */
@media (max-width: 480px) {
  :root {
    --fs-hero: clamp(1.4rem, 7.5vw, 1.8rem);
    --fs-h1:   clamp(1.25rem, 7vw, 1.6rem);
    --fs-h2:   clamp(1.1rem, 5.5vw, 1.35rem);
  }

  .nav-inner  { height: 62px; }
  .nav-logo img { height: 40px; }
  .nav-mobile   { top: 62px; }

  .stats-grid { grid-template-columns: 1fr; }
  .team-grid  { grid-template-columns: 1fr; }
  .stat-item h3 { font-size: 1.6rem; }
}

/* ============================================================
   ANTI-TRANSLATE / ANTI-SPELLCHECK HEADING FIX
   Prevents browser translate tools (Google Translate, Grammarly,
   etc.) from injecting colour or decorations into heading spans.
   ============================================================ */
[translate="no"] { unicode-bidi: isolate; }

h1 span, h2 span, h3 span, h4 span, h5 span {
  color: var(--cyan) !important;
  background-color: transparent !important;
  background-image: none !important;
  border-bottom: none !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  outline: none !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

/* Ensure .section-title keeps correct size everywhere */
.section-title            { font-size: clamp(1.35rem, 2vw, 1.75rem) !important; }
.service-inner .section-title { font-size: clamp(1.2rem, 1.8vw, 1.5rem) !important; }
.cta-section .section-title   { font-size: clamp(1.15rem, 1.8vw, 1.45rem) !important; }
.page-hero .section-title     { font-size: clamp(1.35rem, 2vw, 1.75rem) !important; }
