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

body { font-family: 'Segoe UI', sans-serif; color: #1a2a3a; }

/* NAV */
nav {
  background: #0f1f2e;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 100px;
  overflow: visible;
}
.nav-brand { color: #fff; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; height: 100%; }
.nav-brand img { height: 90px; max-height: 80%; width: auto; object-fit: contain; vertical-align: middle; margin-right: 8px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: #cdd8e3; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #38bdf8; }

/* HERO */
.hero {
  background: #0f1f2e;
  color: #fff;
  text-align: center;
  padding: 16px 20px 14px;
  position: relative;
}
.hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero p { font-size: 1rem; color: #cdd8e3; margin-bottom: 16px; line-height: 1.6; max-width: 52ch; margin-left: auto; margin-right: auto; }
.hero-eyebrow { font-size: 0.8rem; letter-spacing: 0.1em; color: #38bdf8; text-transform: uppercase; margin-bottom: 8px !important; text-align: center; }
.hero-accent { color: #38bdf8; }
.hero-trust { font-size: 0.75rem; color: #5a7a94; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 10px !important; margin-bottom: 0 !important; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border-radius: 999px;
  padding: 8px 20px; font-size: 0.9rem; color: #cdd8e3; margin-bottom: 36px;
}
.btn-primary {
  background: #38bdf8; color: #0f1f2e; font-weight: 700;
  padding: 10px 28px; border-radius: 999px; text-decoration: none;
  display: inline-block; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-outline {
  border: 2px solid #fff; color: #fff; font-weight: 700;
  padding: 8px 26px; border-radius: 999px; text-decoration: none;
  display: inline-block; margin-left: 12px; transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* SECTION */
section { padding: 80px 40px; }
.section-title { text-align: center; font-size: 2rem; font-weight: 800; color: #0f1f2e; margin-bottom: 12px; }
.section-title + .underline { width: 60px; height: 3px; background: #38bdf8; margin: 0 auto 48px; }
.section-subtitle { text-align: center; color: #4a6275; margin-bottom: 48px; font-size: 1rem; }

/* CARDS */
.cards { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.card { flex: 1 1 220px; max-width: 280px; }
.card {
  background: #fff; border-radius: 14px; padding: 32px 24px;
  text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.card-icon { font-size: 2.2rem; color: #38bdf8; margin-bottom: 14px; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: #0f1f2e; }
.card p { font-size: 0.9rem; color: #4a6275; line-height: 1.6; }

/* GREY BG */
.bg-light { background: #f0f4f7; }
.bg-dark { background: #0f1f2e; color: #fff; }
.bg-accent { background: #38bdf8; }

/* TWO COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; max-width: 1100px; margin: 0 auto; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* INFO BOX */
.info-box { background: #fff; border-radius: 14px; padding: 36px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.info-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; color: #0f1f2e; }
.info-box p { color: #4a6275; line-height: 1.8; margin-bottom: 14px; }
.info-box p:last-child { margin-bottom: 0; }

/* LIST ITEMS */
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; color: #4a6275; font-size: 0.95rem; line-height: 1.5; }
.check-list li::before { content: "✓"; color: #38bdf8; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* STAT ROW */
.stats { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; padding: 28px 40px; border-top: 2px solid #1e3a52; }
.stat { text-align: center; }
.stat .num { font-size: 2.2rem; font-weight: 800; color: #38bdf8; }
.stat .label { font-size: 0.85rem; color: #cdd8e3; margin-top: 4px; }

/* PARTNER GRID */
.partner-grid { display: flex; flex-wrap: wrap; gap: 16px; max-width: 900px; margin: 0 auto; justify-content: flex-start; }
.partner-item {
  border: 1px solid #d1dce6; border-left: 4px solid #38bdf8;
  border-radius: 8px; padding: 16px 22px;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.95rem; font-weight: 600; color: #1a2a3a;
  background: #fff;
}

/* WORK GALLERY */
.work-grid { display: flex; flex-wrap: wrap; gap: 24px; max-width: 1200px; margin: 0 auto; justify-content: center; }
.work-card { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.1); flex: 1 1 320px; max-width: 380px; }
.work-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.work-card-label { background: #0f1f2e; color: #fff; padding: 12px 16px; font-size: 0.9rem; font-weight: 600; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-left { background: #0f1f2e; border-radius: 14px; padding: 36px; color: #fff; }
.contact-left h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }
.contact-label { color: #38bdf8; font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; margin-top: 20px; }
.contact-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 12px 16px; color: #fff;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  margin-bottom: 10px; transition: background 0.2s;
}
.contact-btn:hover { background: rgba(255,255,255,0.18); }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.social-btn {
  padding: 10px 16px; border-radius: 8px; color: #fff;
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  display: flex; align-items: center; gap: 6px;
}
.social-btn.linkedin { background: #0a66c2; }

.contact-right { background: #fff; border-radius: 14px; padding: 36px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.contact-right h3 { color: #38bdf8; font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: #0f1f2e; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid #d1dce6;
  border-radius: 8px; font-size: 0.9rem; font-family: inherit;
  color: #1a2a3a; outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #38bdf8; }
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  width: 100%; background: #0f1f2e; color: #fff; font-weight: 700;
  padding: 14px; border: none; border-radius: 8px; font-size: 1rem;
  cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: #1a3247; }

/* ADDRESS BOX */
.address-box {
  border: 2px dashed #d1dce6; border-radius: 12px; padding: 40px;
  text-align: center; margin-top: 40px; max-width: 1000px; margin-left: auto; margin-right: auto;
}
.address-box h3 { color: #38bdf8; font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.address-box p { color: #4a6275; margin-bottom: 20px; }

/* FOOTER */
footer { background: #0a1520; color: #8a9bb0; text-align: center; padding: 24px; font-size: 0.85rem; }

/* TRAINING STATIONS */
.training-img { width: 100%; border-radius: 12px; object-fit: cover; height: 380px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

/* CLIENTS LOGO GRID */
.client-logos { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; max-width: 1000px; margin: 0 auto; }
.client-logos img { height: 80px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(100%); opacity: 0.75; transition: opacity 0.2s, filter 0.2s; }
.client-logos img:hover { filter: none; opacity: 1; }

/* HERO SPLIT */
.hero-split {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  background: #0f1f2e;
  overflow: hidden;
  width: 100%;
}
.vsplit-col { overflow: hidden; }
.vmarquee { display: flex; flex-direction: column; gap: 3px; }
.vmarquee img { width: 180px; height: 120px; object-fit: cover; display: block; flex-shrink: 0; }
.vmarquee.up   { animation: vup   35s linear infinite; }
.vmarquee.down { animation: vdown 35s linear infinite; }
@keyframes vup   { 0% { transform: translateY(0); }    100% { transform: translateY(-50%); } }
@keyframes vdown { 0% { transform: translateY(-50%); } 100% { transform: translateY(0); } }
/* fade images in/out at top and bottom */
.vmarquee-wrap {
  overflow: hidden;
  align-self: stretch;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}
.hero-split-text {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16px 24px 14px; color: #fff;
}
.hero-split-text .hero-eyebrow { font-size: 0.8rem; letter-spacing: 0.1em; color: #38bdf8; text-transform: uppercase; margin-bottom: 8px; }
.hero-split-text h1 { font-size: 2.1rem; font-weight: 800; margin-bottom: 10px; }
.hero-split-text > p { color: #cdd8e3; line-height: 1.6; max-width: 44ch; margin-bottom: 16px; font-size: 0.95rem; }
.strip-label { color: #5a7a94; font-size: 0.75rem; letter-spacing: 0.08em; margin-top: 12px; }
.hero-phones-badge {
  display: inline-block;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.4);
  border-radius: 999px;
  color: #38bdf8;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  margin-bottom: 20px;
}

/* PRODUCT LIST */
.product-list { display: flex; flex-direction: column; gap: 40px; max-width: 900px; margin: 0 auto; }
.product-list-item {
  display: flex; gap: 36px; align-items: flex-start;
  background: #fff; border-radius: 14px; padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-left: 4px solid #38bdf8;
}
.product-list-item img {
  width: 260px; height: 180px; object-fit: cover;
  border-radius: 10px; flex-shrink: 0;
}
.product-list-item .product-info h3 { font-size: 1.3rem; font-weight: 700; color: #0f1f2e; margin-bottom: 12px; }
.product-list-item .product-info p { color: #4a6275; line-height: 1.7; font-size: 0.95rem; margin-bottom: 10px; }
.product-list-item .product-info strong { color: #1a2a3a; }
@media (max-width: 640px) {
  .product-list-item { flex-direction: column; }
  .product-list-item img { width: 100%; height: 200px; }
}

/* CTA BAND */
.cta-band { text-align: center; padding: 72px 40px; }
.cta-band h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-band p { margin-bottom: 28px; font-size: 1rem; }

/* MOBILE NAV TOGGLE (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* RESPONSIVE OVERHAUL */
@media (max-width: 900px) {
  nav { padding: 0 20px; height: 76px; }
  .nav-brand img { height: 56px; max-height: 75%; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #0f1f2e;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  }
  .nav-links.open { max-height: 500px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 1rem;
  }

  /* Hero sections */
  .hero { padding: 60px 20px !important; }
  .hero h1 { font-size: 1.6rem !important; max-width: 100% !important; }
  .hero p { font-size: 0.9rem !important; max-width: 100% !important; }
  .hero-eyebrow { font-size: 0.7rem !important; }
  div[style*="margin:0 200px"] { margin: 0 !important; }
  div[style*="width:180px"] { display: none !important; }

  .hero-split { flex-direction: column !important; }
  .hero-split-text h1 { font-size: 1.6rem !important; }
  .hero-split-text > p { max-width: 100% !important; }

  .btn-primary, .btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    margin: 8px 0 !important;
  }

  /* General content */
  .cta-band { padding: 48px 20px; }
  .cta-band h2 { font-size: 1.5rem; }

  .blog-grid { padding: 24px 16px 40px; grid-template-columns: 1fr; }
  .blog-body { padding: 24px 16px 40px; }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .nav-brand img { height: 44px; max-height: 70%; }
  .hero h1 { font-size: 1.35rem !important; }
}
