@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&family=Source+Serif+4:wght@600;700&display=swap');

:root {
  --navy: #0c2340;
  --navy-light: #1a3a5c;
  --teal: #0d7c8c;
  --teal-light: #12a0b3;
  --gold: #c9a227;
  --slate: #4a5568;
  --muted: #718096;
  --border: #e2e8f0;
  --bg: #f7fafc;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  color: #2d3748;
  background: var(--bg);
  line-height: 1.5;
}

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

a { color: var(--teal); }

.preview-banner {
  background: linear-gradient(90deg, var(--gold), #e0b840);
  color: var(--navy);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.preview-banner span { opacity: 0.85; font-weight: 400; }

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a { color: #a8e6f0; text-decoration: none; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(12,35,64,0.06);
}

.logo-block { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo-block img { height: 52px; width: auto; flex-shrink: 0; }

.tagline {
  max-width: 340px;
  font-size: 12px;
  color: var(--slate);
  line-height: 1.35;
}

.nav-toggle {
  display: none;
  background: var(--navy);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active {
  background: rgba(13, 124, 140, 0.1);
  color: var(--teal);
}

.header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.9; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }

.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,35,64,0.92) 0%, rgba(26,58,92,0.85) 50%, rgba(13,124,140,0.75) 100%);
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
  max-width: 720px;
  color: var(--white);
}

.hero-content h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-content p {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.5;
  opacity: 0.92;
  margin-bottom: 24px;
}

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

.section { padding: 48px 24px; max-width: 1200px; margin: 0 auto; }

.section-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(24px, 4vw, 28px);
  color: var(--navy);
  margin-bottom: 8px;
}

.section-sub { color: var(--muted); margin-bottom: 28px; font-size: 16px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(12,35,64,0.06);
}

.pillar-card img { width: 100%; height: 160px; object-fit: cover; }
.pillar-body { padding: 20px; }
.pillar-body h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.pillar-body p { font-size: 14px; color: var(--slate); line-height: 1.45; margin-bottom: 14px; }

.accident-strip { display: grid; grid-template-columns: 1fr 1fr; background: #1a1a1a; }
.accident-strip img { width: 100%; height: 200px; object-fit: cover; opacity: 0.95; }
.accident-caption {
  grid-column: 1 / -1;
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  padding: 14px 24px;
  font-size: 14px;
  text-align: center;
}

.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 40px 24px;
}

.page-header h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 8px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-header p, .page-header .breadcrumb {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb { font-size: 13px; opacity: 0.75; margin-bottom: 12px; }

.content-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  height: fit-content;
}

.sidebar h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 10px;
}

.sidebar ul { list-style: none; }
.sidebar li {
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 2px;
  cursor: pointer;
}

.sidebar li.active, .sidebar li:hover {
  background: rgba(13, 124, 140, 0.12);
  color: var(--teal);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: #fafafa;
  padding: 12px;
}

.product-card-body { padding: 14px; }
.product-card-body h3 { font-size: 14px; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.product-card-body p { font-size: 12px; color: var(--muted); margin-bottom: 10px; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 32px;
  padding: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-gallery {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.product-gallery img { width: 100%; height: 300px; object-fit: contain; }

.product-info h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--navy);
  margin-bottom: 10px;
}

.product-info .sku { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.product-info p { font-size: 15px; line-height: 1.6; color: var(--slate); margin-bottom: 16px; }

.quote-box {
  background: var(--bg);
  border: 2px solid var(--teal);
  border-radius: 12px;
  padding: 20px;
}

.quote-box h4 { color: var(--navy); margin-bottom: 8px; }
.quote-box p { font-size: 14px; margin-bottom: 14px; }

.qty-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qty-row input {
  width: 64px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.directors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }

.director {
  background: var(--bg);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}

.director-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 700;
}

.seminar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  padding: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.seminar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.seminar-card .level {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.seminar-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.seminar-card .meta { font-size: 13px; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.seminar-card p { font-size: 14px; color: var(--slate); line-height: 1.45; }

.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px;
}

.content-page p, .content-page li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: 12px;
}

.content-page ul { padding-left: 20px; margin-bottom: 16px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px;
}

.contact-card, .form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  margin-top: 12px;
}

.form-card input, .form-card textarea, .form-card select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.form-card textarea { min-height: 100px; resize: vertical; }

.quote-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.quote-table th, .quote-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.quote-table th { background: var(--bg); color: var(--navy); font-size: 13px; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 36px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.site-footer h4 { color: var(--white); margin-bottom: 10px; font-size: 15px; }
.site-footer p, .site-footer li { font-size: 13px; line-height: 1.6; }
.site-footer ul { list-style: none; }
.site-footer a { color: #a8e6f0; text-decoration: none; }

.footer-note {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
}

@media (max-width: 900px) {
  .tagline { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 4;
    padding-top: 8px;
  }
  .main-nav.open { display: flex; }
  .site-header { flex-wrap: wrap; }
  .header-actions { order: 3; margin-left: auto; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .accident-strip { grid-template-columns: 1fr; }
  .directors { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar { justify-content: center; text-align: center; font-size: 12px; }
  .hero { min-height: 320px; }
}
