@charset "utf-8";
/* CSS Document */

/* =========================
   RESET + BASE
========================= */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #f5f7fa;
  line-height: 1.6;
}

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

a {
  color: #1f5f8b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   VARIABLES
========================= */

:root {
  --navy: #17324d;
  --blue: #1f5f8b;
  --light-blue: #eaf3f9;
  --gray: #6b7280;
  --border: #d8dde3;
  --white: #ffffff;
  --bg: #f5f7fa;

  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* =========================
   LAYOUT
========================= */

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 50px 0;
}

.section-tight {
  padding: 30px 0;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 16px;
}

.text-muted {
  color: var(--gray);
}

.text-center {
  text-align: center;
}

/* =========================
   HEADER
========================= */

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  max-height: 65px;
}

.brand-text h1 {
  font-size: 1.4rem;
  margin: 0;
}

.brand-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

/* =========================
   NAVIGATION
========================= */

.nav {
  background: var(--white);
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--navy);
}

.nav a:hover,
.nav a.active {
  background: var(--light-blue);
  text-decoration: none;
}

/* MOBILE NAV */

.menu-toggle {
  display: none;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: bold;
  cursor: pointer;
}

.nav.mobile-hidden {
  display: none;
}

/* =========================
   HERO
========================= */

.hero {
  background: #eef4f9;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 50px 0;
}

.hero h2 {
  font-size: 2.2rem;
}

.hero p {
  font-size: 1.05rem;
}

.hero .container {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 700;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: #184d72;
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
}

.btn-secondary:hover {
  background: #f1f3f6;
}

/* =========================
   GRID SYSTEM
========================= */

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* =========================
   CARDS
========================= */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
  padding: 12px;
  transition: transform 0.25s ease;
}

.card:hover img {
  transform: scale(1.02);
}

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

.card-body h3 {
  margin-bottom: 10px;
}

.card-body ul {
  margin-left: 18px;
  margin-bottom: 15px;
}

.card-body .btn {
  margin-top: auto;
}
/* =========================
   FEATURE BOXES
========================= */

.feature-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius);
}

/* =========================
   CTA
========================= */

.cta {
  background: var(--navy);
  color: #fff;
  padding: 30px;
  border-radius: 10px;
}

.cta h2 {
  color: #fff;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #10263a;
  color: #fff;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 25px;
  padding: 40px 0;
}

.footer a {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 15px 0;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 35px 0;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
/* =========================
   TABLE / COMPARISON STYLES
========================= */

.table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  font-size: 15px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.comparison-table th {
  background-color: var(--light-blue);
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background-color: #f9fbfd;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px;
  }
}