/* ============================================================
   Global styles  — edit colours in :root to rebrand quickly
   ============================================================ */
:root {
  --navy:        #0b1f3a;
  --navy-light:  #13294b;
  --cyan:        #19c3d6;
  --cyan-dark:   #0fa3b4;
  --slate:       #5b6b82;
  --bg:          #f6f9fc;
  --white:       #ffffff;
  --text:        #1c2a3a;
  --radius:      12px;
  --shadow:      0 8px 30px rgba(11, 31, 58, 0.08);
  --maxw:        1140px;
  --font:        'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
section h2 { margin-bottom: 12px; }

.section { padding: 84px 0; }
.section--alt { background: var(--white); }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 720px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--cyan); color: var(--navy); }
.btn--primary:hover { background: var(--cyan-dark); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-light); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 58, 0.96);
  backdrop-filter: blur(8px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 1.25rem; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  display: grid; place-items: center; color: var(--navy); font-weight: 800;
}
.brand-logo {
  height: 64px; width: auto;
  background: var(--white); padding: 8px 16px; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.nav-links { display: flex; gap: 8px; align-items: center; list-style: none; }
.nav-links a {
  color: #cdd9ea; padding: 8px 14px; border-radius: 8px; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links .btn { margin-left: 8px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; display: block; position: relative;
  width: 24px; height: 2px; background: var(--white); margin: 0 auto;
  transition: .3s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 70% -10%, #1d3e6e 0%, var(--navy) 55%);
  color: var(--white); padding: 110px 0 120px; position: relative; overflow: hidden;
}
.hero-logo {
  display: block; margin-bottom: 28px;
}
.hero-logo img { width: min(680px, 88vw); height: auto; display: block; margin: 0 auto; }

/* Centered hero variant (home page) */
.hero--center .container { text-align: center; }
.hero--center p { margin-left: auto; margin-right: auto; }
.hero--center .btn-row { justify-content: center; }

.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p { color: #c5d3e8; font-size: 1.2rem; max-width: 620px; margin-bottom: 32px; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .tag {
  display: inline-block; background: rgba(25,195,214,.15); color: var(--cyan);
  padding: 6px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem;
  letter-spacing: .5px; margin-bottom: 22px;
}

/* ---------- Images ---------- */
.hero--center {
  background:
    linear-gradient(rgba(11, 31, 58, 0.86), rgba(11, 31, 58, 0.93)),
    url('../images/hero-bg.jpg') center / cover no-repeat;
}
.card-img {
  width: calc(100% + 64px); height: 190px; object-fit: cover;
  margin: -32px -32px 22px; display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}
.rounded-img {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); display: block;
}
.banner-img {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); display: block;
}

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid #eef2f7;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(11,31,58,.12); }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, #e8fbfd, #d2f4f8);
  display: grid; place-items: center; font-size: 1.6rem;
}
.card .icon svg {
  width: 28px; height: 28px; stroke: var(--cyan-dark);
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .num { font-size: 2.4rem; font-weight: 800; color: var(--cyan-dark); }
.stats .label { color: var(--slate); font-size: .95rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.values { list-style: none; margin-top: 18px; }
.values li { padding: 8px 0 8px 32px; position: relative; color: var(--text); }
.values li::before {
  content: '✓'; position: absolute; left: 0; color: var(--cyan-dark); font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white); text-align: center; padding: 72px 0;
}
.cta h2 { color: var(--white); }
.cta p { color: #c5d3e8; margin: 12px auto 28px; max-width: 560px; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-field input,
.form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d5dde7; border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--white);
}
.form-field input:focus,
.form-field textarea:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.info-item .ic {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: #e8fbfd; display: grid; place-items: center; font-size: 1.2rem;
}
.info-item strong { display: block; color: var(--navy); }
.info-item span { color: var(--slate); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aebfd6; padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer h4 { color: var(--white); margin-bottom: 14px; font-size: 1rem; }
.footer a { color: #aebfd6; display: block; padding: 4px 0; }
.footer a:hover { color: var(--cyan); }
.footer .brand { margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  text-align: center; font-size: .9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 92px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 24px 24px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }
  .grid--3, .grid--2, .contact-grid, .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 60px 0; }
  .hero-logo { margin-bottom: 20px; }
  .rounded-img, .banner-img { height: 240px; }
  .card-img { height: 170px; }
}
