/* ═══════════════════════════════════════════════
   CORE NETWORK SOLUTIONS — Global Stylesheet
   Theme: Light / Teal-Coral Professional
   Fonts: Clash Display + Satoshi
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  /* Brand Palette */
  --teal:       #0a9b8a;
  --teal-light: #12baa7;
  --teal-pale:  #e6f7f5;
  --teal-dark:  #077a6c;
  --coral:      #f25c3a;
  --coral-light:#ff7a5c;
  --coral-pale: #fff0ed;
  --amber:      #f5a623;
  --amber-pale: #fff8ec;
  --navy:       #0d1b2a;
  --navy2:      #1a2e42;

  /* Neutrals */
  --white:      #ffffff;
  --offwhite:   #f8fafa;
  --grey-100:   #f2f4f5;
  --grey-200:   #e5e9ea;
  --grey-400:   #b0bbbf;
  --grey-600:   #6e8087;
  --grey-800:   #2d3e46;
  --text:       #1a2a32;

  /* Shadows & Effects */
  --shadow-sm:  0 2px 12px rgba(10,155,138,0.10);
  --shadow-md:  0 8px 32px rgba(10,155,138,0.13);
  --shadow-lg:  0 20px 64px rgba(10,155,138,0.16);
  --shadow-card:0 4px 24px rgba(13,27,42,0.08);

  /* Layout */
  --max-w:      1200px;
  --nav-h:      76px;
  --radius:     14px;
  --radius-lg:  22px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--grey-100); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 6vw;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(13,27,42,0.09); }
.nav-inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; font-weight: 800;
  font-size: 1.25rem; color: var(--navy); letter-spacing: -0.02em;
}
.nav-logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  box-shadow: 0 4px 14px rgba(10,155,138,0.35);
}
.nav-logo span { color: var(--teal); }

.nav-menu { display: flex; align-items: center; gap: 0.2rem; }
.nav-menu a {
  padding: 8px 15px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--grey-600);
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--teal); background: var(--teal-pale); }
.nav-cta {
  background: var(--teal) !important; color: #fff !important;
  padding: 10px 22px !important; border-radius: 9px !important;
  box-shadow: 0 4px 16px rgba(10,155,138,0.3);
  transition: background 0.2s !important, transform 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; display: block; transition: all 0.3s; }

/* ═══ UTILITY CLASSES ═══ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 6vw; }
.section { padding: 100px 6vw; }
.section-sm { padding: 70px 6vw; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.73rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}
.kicker::before { content:''; width:22px; height:2px; background:var(--teal); border-radius:1px; }
.kicker.coral { color: var(--coral); }
.kicker.coral::before { background: var(--coral); }

.h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 400; line-height: 1.08;
  color: var(--navy); letter-spacing: -0.02em;
}
.h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.2;
  color: var(--navy); letter-spacing: -0.01em;
}
.h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 400; line-height: 1.3; color: var(--navy);
}
.lead { font-size: 1.1rem; line-height: 1.82; color: var(--grey-600); }
.body { font-size: 0.95rem; line-height: 1.78; color: var(--grey-600); }

/* Teal accent text */
.t-teal { color: var(--teal); }
.t-coral { color: var(--coral); }
.italic { font-style: italic; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-size: 0.93rem; font-weight: 700; cursor: pointer;
  border: none; transition: all 0.22s; text-decoration: none;
  font-family: 'Outfit', sans-serif;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 22px rgba(10,155,138,0.32); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10,155,138,0.38); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 22px rgba(242,92,58,0.3); }
.btn-coral:hover { background: #d94d2b; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-white { background: #fff; color: var(--teal); box-shadow: 0 4px 18px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.btn-sm { padding: 9px 20px; font-size: 0.84rem; border-radius: 8px; }
.btn-lg { padding: 17px 40px; font-size: 1rem; border-radius: 12px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(10,155,138,0.2); }
.card-pad { padding: 32px; }

/* ── BADGES ── */
.badge {
  display: inline-block; padding: 5px 12px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-teal { background: var(--teal-pale); color: var(--teal-dark); }
.badge-coral { background: var(--coral-pale); color: var(--coral); }
.badge-amber { background: var(--amber-pale); color: var(--amber); }

/* ── SECTION DIVIDERS ── */
.wave-top {
  width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg);
}
.wave-top svg { display: block; width: 100%; height: 60px; }

/* ── STATS ROW ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--teal); border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  padding: 36px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem; color: #fff; line-height: 1;
}
.stat-num sup { font-size: 1.4rem; vertical-align: top; margin-top: 4px; display: inline-block; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.72); margin-top: 8px; font-weight: 600; letter-spacing: 0.04em; }

/* ── TAG PILLS ── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 0.73rem; font-weight: 700; padding: 4px 11px;
  border-radius: 5px; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--teal-pale); color: var(--teal-dark);
  border: 1px solid rgba(10,155,138,0.2);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp    { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:none} }
@keyframes fadeLeft  { from{opacity:0;transform:translateX(-30px)} to{opacity:1;transform:none} }
@keyframes fadeRight { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:none} }
@keyframes fadeIn    { from{opacity:0} to{opacity:1} }
@keyframes scaleIn   { from{opacity:0;transform:scale(0.9)} to{opacity:1;transform:scale(1)} }
@keyframes float     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes ticker    { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes countUp   { from{opacity:0} to{opacity:1} }
@keyframes shimmer   { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
@keyframes rotate360 { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes pulse     { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.15)} }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.from-left  { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.from-left.visible,
.reveal.from-right.visible { transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── PAGE HERO (reusable for inner pages) ── */
.page-hero {
  min-height: 420px;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 6vw 70px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #e8f8f6 0%, #f0fbfa 40%, #fff7f5 100%);
  z-index: 0;
}
.page-hero-bg::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(10,155,138,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-content { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--grey-600); margin-bottom: 20px; font-weight: 500;
}
.breadcrumb a { color: var(--teal); }
.breadcrumb span { color: var(--grey-400); }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 72px 6vw 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-top: 16px; max-width: 280px; }
.footer-col h5 {
  font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--teal-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--teal-light); }
.footer-bottom a.brand-link { font-weight: 700; letter-spacing: 0.02em; transition: color 0.2s; }
.footer-bottom a.brand-link:hover { color: var(--teal); text-decoration: underline; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.fsoc {
  width: 40px; height: 40px; border-radius: 9px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.2s;
}
.fsoc:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }

/* ── MODAL / TOAST ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(13,27,42,0.6); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); padding: 52px 44px;
  max-width: 480px; width: 90%; text-align: center;
  transform: scale(0.92); transition: transform 0.3s;
  box-shadow: 0 32px 100px rgba(0,0,0,0.2);
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-icon { font-size: 3.5rem; margin-bottom: 18px; }
.modal-box h3 { font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--navy); margin-bottom: 12px; }
.modal-box p { color: var(--grey-600); line-height: 1.7; margin-bottom: 28px; }
.modal-close {
  background: var(--teal); color: #fff; border: none; border-radius: 9px;
  padding: 12px 34px; font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 0.95rem; cursor: pointer; transition: background 0.2s;
}
.modal-close:hover { background: var(--teal-dark); }

.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 8888;
  background: #fff; border: 2px solid var(--teal); border-radius: 12px;
  padding: 16px 24px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 8px 36px rgba(10,155,138,0.2);
  transform: translateY(80px); opacity: 0;
  transition: all 0.4s; pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast strong { font-size: 0.9rem; color: var(--navy); display: block; }
.toast span { font-size: 0.8rem; color: var(--grey-600); }

/* ── FORM STYLES ── */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--grey-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--offwhite); border: 1.5px solid var(--grey-200);
  border-radius: 10px; padding: 13px 16px;
  font-family: 'Outfit', sans-serif; font-size: 0.93rem; color: var(--text);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10,155,138,0.1);
}
.form-group select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e8087' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── IMAGE HELPERS ── */
.img-cover { width:100%; height:100%; object-fit:cover; display:block; }
.img-round { border-radius: var(--radius-lg); }
.img-shadow { box-shadow: var(--shadow-lg); }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--grey-200); margin: 0; }

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .grid-2, .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .section { padding: 72px 5vw; }
  .section-sm { padding: 52px 5vw; }
  .grid-2, .grid-3, .grid-4, .stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .nav-menu { display: none; flex-direction: column; align-items: stretch; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--teal-pale); box-shadow: 0 16px 40px rgba(13,27,42,0.18); border-bottom: 1px solid var(--grey-200); border-radius: 0 0 16px 16px; padding: 14px 5vw 18px; gap: 2px; }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; width: 100%; padding: 13px 16px; text-align: left; box-sizing: border-box; color: var(--navy); border-radius: 8px; }
  .nav-menu a:hover, .nav-menu a.active { color: var(--teal-dark); background: rgba(255,255,255,0.6); }
  .nav-menu a.nav-cta { text-align: center; margin-top: 8px; }
  .hamburger { display: flex; }
}
