/* ==========================================================================
   Global Support — Home (redesign per image1.png). Self-contained stylesheet.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

/* ---------- Tokens ---------- */
:root {
  /* image1 palette: deep navy + light gray + white (no bright blue) */
  --blue: #00326E;
  --blue-dark: #00244F;
  --cyan: #aeb8c9;
  --navy: #0F1B2D;
  --navy-2: #16233a;
  --ink: #0F172A;
  --text: #51607a;
  --muted: #94A3B8;
  --bg: #FFFFFF;
  --surface: #F6F8FB;
  --surface-2: #EEF2F7;
  --border: #E2E8F0;
  --border-dark: rgba(255,255,255,0.1);
  --radius: 14px;
  --radius-lg: 18px;
  --container: 1600px;
  --pad: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06);
  --shadow: 0 14px 40px -18px rgba(15,23,42,0.18);
  --shadow-lg: 0 24px 60px -24px rgba(15,23,42,0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -0.02em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}
.section { padding: 5.5rem 0; }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
.section-head p { margin-top: 0.9rem; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-navy { background: #00244F; color: #fff; box-shadow: 0 10px 24px -12px rgba(0,36,79,0.65); }
.btn-navy:hover { background: #00326E; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,36,79,0.75); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(0,36,79,0.55); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
/* On dark bands the navy button would vanish — use a white button instead */
.cta-band .btn-blue, .site-footer .btn-blue { background: #fff; color: var(--navy); }
.cta-band .btn-blue:hover, .site-footer .btn-blue:hover { background: #eef1f6; color: var(--navy); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1100;
  background: linear-gradient(90deg, #00244F, #1a5aa0);
  transition: width 0.1s linear;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 0.6rem 1rem; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); background: rgba(255,255,255,0.96); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 76px; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.nav-brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; color: var(--ink); font-size: 1.05rem; line-height: 1.1; }
.nav-brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.nav-brand span { display: block; }
.nav-brand .brand-logo { height: 60px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: #334155; padding: 0.5rem 0; position: relative;
  transition: color 0.2s ease; display: inline-flex; align-items: center; gap: 0.3rem;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue); transition: width 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .caret { width: 12px; height: 12px; }

/* Dropdown */
.has-dropdown .dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: 0.5rem; opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s var(--ease); z-index: 10;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px);
}
.dropdown a { display: block; padding: 0.6rem 0.85rem; border-radius: 8px; color: #334155; font-size: 0.9rem; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--surface); color: var(--blue); }

.nav-cta { margin-left: 0.4rem; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--ink); }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: all 0.25s ease; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 1200; visibility: hidden; }
.mobile-menu.active { visibility: visible; }
.mobile-menu-overlay { position: absolute; inset: 0; background: rgba(15,23,42,0.45); opacity: 0; transition: opacity 0.3s ease; }
.mobile-menu.active .mobile-menu-overlay { opacity: 1; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; width: min(320px, 85vw); height: 100%; background: #fff;
  padding: 1.5rem; transform: translateX(100%); transition: transform 0.35s var(--ease); overflow-y: auto;
}
.mobile-menu.active .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.8rem; line-height: 1; color: var(--ink); cursor: pointer; }
.mobile-menu-links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-menu-links a { padding: 0.75rem 0.5rem; font-weight: 600; color: var(--ink); border-radius: 8px; }
.mobile-menu-links a:hover { background: var(--surface); color: var(--blue); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  /* banner image spans the hero; its baked-in left fade sits under the text */
  background: #F4F6F9 url('../assets/images/banner.jpg') no-repeat right top;
  background-size: cover;
}
.home-hero .container { position: relative; z-index: 2; min-height: 620px; display: flex; align-items: center; }
.hero-copy { max-width: 540px; padding: 3.5rem 0; }
.hero-copy h1 { font-size: clamp(2rem, 3.6vw, 2.95rem); color: var(--ink); line-height: 1.12; }
.hero-copy > p { margin: 1.3rem 0 2rem; font-size: 1rem; max-width: 33rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-banner-mobile { display: none; }

/* ---------- Services ---------- */
.services-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.services-head .eyebrow { margin-bottom: 0.5rem; }
.services-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 30rem; }
.link-arrow { color: var(--blue); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cdd8e8; }
.service-card-media { height: 150px; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.service-card-icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 0.9rem; }
.service-card-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 1.1rem; flex: 1; }
.service-card .link-arrow { font-size: 0.9rem; }

/* ---------- Why us ---------- */
.why { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.why-item { text-align: center; padding: 0 1.75rem; position: relative; }
.why-item + .why-item::before {
  content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: var(--border);
}
.why-icon {
  width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); background: rgba(0,50,110,0.07); border: 1px solid rgba(0,50,110,0.16);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.why-icon svg { width: 26px; height: 26px; }
.why-item:hover .why-icon { transform: translateY(-4px); box-shadow: 0 10px 22px -10px rgba(0,50,110,0.4); }
.why-item h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.875rem; }

/* ---------- Approach ---------- */
/* two columns: image bleeds to the left viewport edge, content sits right beside it */
.approach { position: relative; overflow: hidden; display: flex; align-items: center; }
.approach-media { flex: 0 0 50%; }
.approach-media img {
  width: 100%; height: 500px; object-fit: cover; object-position: left top;
  border-radius: 0 14px 14px 0; box-shadow: var(--shadow); display: block;
}
.approach-copy { flex: 1; max-width: 620px; padding: 2rem clamp(1.5rem, 4vw, 4rem); }
.approach-copy h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.approach-copy > p { margin: 1.1rem 0 1.5rem; }
.check-list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.8rem; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; color: var(--ink); }
.check-list li svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }

/* ---------- Industries ---------- */
.industries { background: var(--surface); }
.industries-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.industry { text-align: center; padding: 0 1rem; position: relative; }
.industry + .industry::before { content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--border); }
.industry-icon {
  color: var(--blue);
  width: 72px; height: 72px; margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: rgba(0, 50, 110, 0.07);
  border: 1px solid rgba(0, 50, 110, 0.16);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.industry-icon svg { width: 34px; height: 34px; }
.industry:hover .industry-icon { transform: translateY(-4px) scale(1.06); box-shadow: 0 10px 24px -10px rgba(0, 50, 110, 0.4); }
.industry span { font-size: 1.0625rem; font-weight: 600; color: #334155; display: block; line-height: 1.4; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-quote { color: var(--blue); font-size: 2.5rem; line-height: 1; font-weight: 800; opacity: 0.25; }
.testi-card p { margin: 0.4rem 0 1.5rem; color: #3f4b61; }
.testi-person { display: flex; align-items: center; gap: 0.85rem; }
.testi-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-person strong { display: block; color: var(--ink); font-size: 0.95rem; }
.testi-person span { font-size: 0.82rem; color: var(--muted); }
.testi-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.testi-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: block; }
.testi-dots i.active { background: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,36,79,0.78) 30%, rgba(0,36,79,0.25) 62%, rgba(0,36,79,0.05) 100%); }
.cta-band .container { position: relative; z-index: 1; padding: 4.5rem var(--pad); max-width: var(--container); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 34rem; margin: 1rem 0 1.8rem; }
.cta-band .hero-actions { gap: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer-brand .nav-brand {
  display: inline-flex; background: #fff; padding: 0.5rem 0.8rem;
  border-radius: 10px; margin-bottom: 1.1rem;
}
.footer-brand .nav-brand .brand-logo { height: 48px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 22rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: #fff; transition: background-color 0.25s ease, transform 0.25s ease; }
.footer-social a:hover { background: #1a5aa0; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.9rem; position: relative; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; margin-bottom: 0.8rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
.footer-contact .btn { margin-top: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.3rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.82rem; }
.footer-bottom a { transition: color 0.2s ease; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1.2rem; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 1.6rem; right: 1.6rem; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all 0.3s var(--ease); z-index: 900; box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: #1a5aa0; transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.animate-on-scroll { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s var(--ease); }
.animate-on-scroll.animated { opacity: 1; transform: none; }
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .approach { flex-direction: column; }
  .approach-media { flex: none; width: 100%; }
  .approach-media img { height: 280px; border-radius: 12px; }
  .approach-copy { max-width: none; padding: 1.75rem var(--pad) 0; }
  .home-hero { background-image: none; background: #ECF0F5; }
  .home-hero .container { min-height: auto; display: block; }
  .hero-copy { max-width: none; padding: 2.25rem 0 0; }
  .hero-banner-mobile { display: block; width: 100%; height: auto; border-radius: 12px; margin-top: 1.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .why-item + .why-item::before { display: none; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .industry + .industry::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions .btn, .cta-band .hero-actions .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* ============================================================
   Legal pages (Privacy Policy / Terms & Conditions)
   ============================================================ */
.legal-hero {
  background: var(--navy);
  color: #fff;
  padding: calc(76px + 3.5rem) 0 3rem;
}
.legal-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.legal-hero p { color: rgba(255, 255, 255, 0.72); margin-top: 0.6rem; font-size: 1rem; }

.legal-body { padding: 3.5rem 0 4.5rem; }
.legal-body .container { max-width: 880px; }
.legal-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.25rem; }
.legal-body h2 { font-size: 1.3rem; color: var(--ink); margin: 2.25rem 0 0.75rem; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.05rem; color: var(--ink); margin: 1.25rem 0 0.5rem; }
.legal-body p { color: var(--text); line-height: 1.85; margin-bottom: 1rem; }
.legal-body ul { margin: 0 0 1.1rem 1.3rem; list-style: disc; }
.legal-body li { color: var(--text); line-height: 1.8; margin-bottom: 0.4rem; }
.legal-body a { color: var(--blue); text-decoration: underline; }
.legal-body strong { color: var(--ink); }
