/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a3c5e;
  --primary-light: #2a5a8e;
  --accent: #0a8fdc;
  --accent-hover: #0077c2;
  --text: #1e2a35;
  --text-muted: #5a6e7f;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --border: #d8e4ef;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(26,60,94,0.10);
  --shadow-sm: 0 2px 8px rgba(26,60,94,0.07);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

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

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

/* ===== HEADER / NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo svg {
  flex-shrink: 0;
}

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

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

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 6px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-hover) !important; color: #fff !important; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0e2740 50%, #1a3c5e 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(10,143,220,0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(10,143,220,0.10) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero-badge {
  display: inline-block;
  background: rgba(10,143,220,0.22);
  color: #7dd3fc;
  border: 1px solid rgba(10,143,220,0.35);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: normal;
  color: #7dd3fc;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin-bottom: 36px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.97rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(10,143,220,0.35);
}

.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
}

.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== SECTION SHARED ===== */
section { padding: 80px 0; }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

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

.stat-item {
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}

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

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

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

.stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }

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

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.25s;
  transform-origin: bottom;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(10,143,220,0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

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

/* ===== ABOUT ===== */
.about { background: var(--bg-alt); }

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

.about-visual {
  position: relative;
}

.about-img-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  padding: 48px 40px;
  color: #fff;
  box-shadow: var(--shadow);
}

.about-img-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.about-img-box p {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-size: 0.97rem;
}

.about-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.about-feature svg { flex-shrink: 0; color: #7dd3fc; margin-top: 2px; }

.about-content .section-sub { margin-bottom: 28px; }

.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.value-icon {
  width: 40px;
  height: 40px;
  background: rgba(10,143,220,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== INDUSTRIES ===== */
.industries { background: var(--bg); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.22s;
}

.industry-card:hover {
  border-color: var(--accent);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.industry-card svg {
  margin: 0 auto 14px;
  color: var(--accent);
}

.industry-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg-alt); }

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

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 28px;
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(10,143,220,0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-detail-info .label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-detail-info .value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10,143,220,0.12);
}

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

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 14px;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
}

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
}

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

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

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover { color: #fff; }

/* ===== LEGAL PAGES ===== */
.legal-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0e2740 100%);
  color: #fff;
  padding: 64px 0 48px;
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.legal-hero p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

.legal-content {
  padding: 60px 0 80px;
}

.legal-body {
  max-width: 800px;
}

.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-child { border-top: none; margin-top: 0; }

.legal-body p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-body ul {
  margin: 10px 0 16px 20px;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal-body ul li { margin-bottom: 6px; }

.legal-body strong { color: var(--text); font-weight: 600; }

.legal-body a { color: var(--accent); }

.legal-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 36px;
}

.legal-toc h3 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-toc ol {
  margin-left: 18px;
  color: var(--accent);
  font-size: 0.92rem;
  line-height: 1.9;
}

.legal-toc ol li a { color: var(--accent); }
.legal-toc ol li a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { padding: 72px 0 56px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .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; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .industries-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 24px 20px; }
}
