/* =========================================================
   Onshore Integrations — Corporate Site
   ========================================================= */

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

:root {
  --navy:        #0B1728;
  --navy-mid:    #132038;
  --navy-light:  #1E3354;
  --accent:      #0891B2;
  --accent-dark: #0E7490;
  --accent-glow: rgba(8, 145, 178, 0.1);
  --accent-light: #E0F2FE;
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --light-gray:  #F1F5F9;
  --text:        #0F172A;
  --text-mid:    #334155;
  --text-muted:  #64748B;
  --border:      #E2E8F0;
  --border-dark: #CBD5E1;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.10);
}

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

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

img { max-width: 100%; display: block; }
a  { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Navigation ------------------------------------------ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.nav-brand-mark {
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand-mark svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--navy-mid) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* --- Hero ------------------------------------------------ */
#hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, #162540 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 145, 178, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 145, 178, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,145,178,0.12) 0%, transparent 70%);
  top: -150px;
  right: -200px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 145, 178, 0.15);
  border: 1px solid rgba(8, 145, 178, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #67E8F9;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

#hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
}

#hero h1 em {
  font-style: normal;
  color: #67E8F9;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(8, 145, 178, 0.5);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.btn-dark:hover {
  background: var(--navy-mid);
  color: var(--white);
  transform: translateY(-1px);
}

/* --- Stats Bar ------------------------------------------ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}

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

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.stat-number span { color: var(--accent); }

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

/* --- Section Shared ------------------------------------- */
section { padding: 96px 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
}

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* --- Services ------------------------------------------- */
#services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(8, 145, 178, 0.25);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-dark);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Why Onshore --------------------------------------- */
#why {
  background: var(--white);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-content {}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.why-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-point-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-point-icon svg {
  width: 20px;
  height: 20px;
  color: #67E8F9;
}

.why-point h4 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.why-point p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.why-visual {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-visual-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.why-visual-stat:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.why-visual-num {
  font-size: 2.25rem;
  font-weight: 700;
  color: #67E8F9;
  line-height: 1;
  letter-spacing: -0.03em;
  min-width: 90px;
}

.why-visual-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.why-visual-label strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 2px;
}

/* --- Expertise ------------------------------------------ */
#expertise {
  background: var(--light-gray);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.expertise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.expertise-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-dark);
  background: var(--accent-light);
  border: 1px solid rgba(8, 145, 178, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

/* --- About ---------------------------------------------- */
#about {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.highlight-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.highlight-item strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Contact -------------------------------------------- */
#contact {
  background: var(--off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info {}

.contact-info p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
}

.contact-detail svg {
  flex-shrink: 0;
  color: var(--accent);
}

.contact-detail a {
  color: var(--text-mid);
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--accent); }

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 0.95rem;
}

.contact-centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-centered .section-sub {
  margin: 0 auto 40px;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}

.contact-email-btn:hover {
  background: var(--navy-mid);
  color: var(--white);
  transform: translateY(-1px);
}

/* --- Footer --------------------------------------------- */
footer {
  background: var(--navy);
  padding: 48px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* --- Scroll Animations ---------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive ----------------------------------------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 32px 28px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  #hero h1 { font-size: 2.1rem; }
}
