:root {
  --primary: #0a2540;
  --primary-light: #1a3b5c;
  --accent: #0066cc;
  --accent-hover: #0052a3;
  --gold: #d4a017;
  --gold-hover: #b8860b;
  --text-main: #2d3748;
  --text-muted: #556987;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --success: #28a745;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 8px;
  --transition: all 0.25s ease-in-out;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top bar */
.top-bar {
  background-color: var(--primary);
  color: #d1d5db;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: #e5e7eb;
}

.top-bar a:hover {
  color: var(--gold);
}

/* Header */
.main-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 48px;
  width: auto;
}

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

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  min-height: 48px;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

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

.btn-gold {
  background-color: var(--gold);
  color: #ffffff;
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-outline-white {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  min-height: 48px;
  min-width: 48px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(10,37,64,0.92) 0%, rgba(26,59,92,0.88) 100%), url('/static/img/hero-city.webp') center/cover no-repeat;
  color: #ffffff;
  padding: 80px 0 90px;
  position: relative;
}

.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(212,160,23,0.25);
  color: #ffd875;
  border: 1px solid var(--gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 19px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Pillars bar */
.pillars-bar {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
}

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

.pillar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: var(--bg-white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.pillar-icon {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.pillar-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 2px;
}

.pillar-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Section styling */
.section {
  padding: 70px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
}

/* Service cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--primary);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.card-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.card-footer-link {
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Two col split */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split-text h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.split-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* Feature list */
.check-list {
  list-style: none;
  margin: 20px 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
  font-size: 18px;
}

/* Steps section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Contact form */
.contact-form-wrap {
  background-color: var(--bg-white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-main);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Alert */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 15px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* FAQ section */
.faq-grid {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Footer */
.main-footer {
  background-color: var(--primary);
  color: #cbd5e1;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin-top: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 34px;
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 20px;
    gap: 12px;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .section-title {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
