/* ===================================================================
   CORPORATE AAWAAS — GLOBAL STYLESHEET
   Plain, hand-written CSS. No build step, no preprocessor — edit this
   file directly and refresh the browser. Colors are CSS variables so
   re-theming the whole site is a one-place change (see :root below).
   =================================================================== */

:root {
  --navy: #0b2545;
  --navy-light: #163a68;
  --navy-dark: #071830;
  --charcoal: #24292e;
  --charcoal-light: #4b5563;
  --white: #ffffff;
  --grey: #f4f6f8;
  --grey-mid: #9aa3af;
  --gold: #b6902f;
  --gold-light: #d9b866;
  --gold-dark: #8f701f;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }
.container-article { max-width: 860px; }

section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-grey { background: var(--grey); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy-dark { background: var(--navy-dark); color: var(--white); }
.bg-navy-fade { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, var(--charcoal) 100%); color: var(--white); }
.bg-white { background: var(--white); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.bg-navy .eyebrow, .bg-navy-dark .eyebrow, .bg-navy-fade .eyebrow { color: var(--gold-light); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; color: var(--navy); }
.bg-navy h1, .bg-navy h2, .bg-navy-dark h1, .bg-navy-dark h2, .bg-navy-fade h1, .bg-navy-fade h2 { color: var(--white); }

.section-heading { max-width: 640px; margin-bottom: 48px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 {
  font-size: 34px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 14px;
}
.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 56px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 999px;
}
.section-heading.center h2::after { left: 50%; transform: translateX(-50%); }
.section-heading p { color: var(--charcoal-light); font-size: 17px; line-height: 1.7; }
.bg-navy .section-heading p, .bg-navy-dark .section-heading p, .bg-navy-fade .section-heading p { color: rgba(255,255,255,0.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }
.btn-outline-white { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,37,69,0.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--navy); color: var(--gold-light); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--charcoal-light); }
.main-nav a:hover { color: var(--navy); }
.nav-cta { display: none; }
.nav-toggle { display: block; background: none; border: 1px solid rgba(11,37,69,0.12); border-radius: 8px; width: 40px; height: 40px; }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-cta { display: inline-block; }
  .nav-toggle { display: none; }
}
@media (max-width: 899px) {
  .main-nav { display: none; }
}
.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--grey); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--grey); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 14px; }
.footer-grid ul a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 100px 0 130px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.1; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,0.78); max-width: 480px; margin: 20px 0 32px; }
.hero-badge { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); border-radius: 999px; padding: 7px 16px; font-size: 12px; color: var(--gold-light); margin-bottom: 22px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 54px; }
}

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--white); border-radius: 16px; padding: 28px; box-shadow: 0 1px 2px rgba(11,37,69,0.04), 0 8px 24px -8px rgba(11,37,69,0.12); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card:hover { box-shadow: 0 4px 8px rgba(11,37,69,0.06), 0 16px 40px -12px rgba(11,37,69,0.2); }
.card-plain { background: var(--grey); border-radius: 16px; padding: 28px; }
.tag-pill { display: inline-block; font-size: 12px; font-weight: 600; color: var(--gold-dark); background: rgba(182,144,47,0.1); padding: 5px 14px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- Trust stats ---------- */
.stat-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1; }
.bg-navy .stat-num, .bg-navy-dark .stat-num { color: var(--white); }

/* ---------- Blog cards ---------- */
.blog-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(11,37,69,0.04), 0 8px 24px -8px rgba(11,37,69,0.12); display: flex; flex-direction: column; height: 100%; transition: box-shadow 0.2s ease; }
.blog-card:hover { box-shadow: 0 4px 8px rgba(11,37,69,0.06), 0 16px 40px -12px rgba(11,37,69,0.2); }
.blog-card .thumb { height: 220px; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 19px; line-height: 1.35; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card p.excerpt { color: var(--charcoal-light); font-size: 14px; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .meta { font-size: 12px; color: var(--grey-mid); margin-top: auto; }
.blog-card .readmore { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--navy); }
.blog-card:hover .readmore { color: var(--gold-dark); }

/* ---------- Blog listing controls ---------- */
.blog-controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.category-pills button { border: 1px solid rgba(11,37,69,0.12); background: var(--white); color: var(--charcoal-light); border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 600; }
.category-pills button.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.search-box { max-width: 320px; }
.search-box input { width: 100%; border: 1px solid rgba(11,37,69,0.12); border-radius: 999px; padding: 10px 18px; font-size: 14px; }
@media (min-width: 800px) {
  .blog-controls { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Single post ---------- */
.post-hero { position: relative; height: 420px; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,24,48,0.85), rgba(7,24,48,0.2) 60%, transparent); }
.post-wrap { margin-top: -96px; position: relative; }
.post-card { background: var(--white); border-radius: 18px; padding: 40px; box-shadow: 0 20px 50px rgba(11,37,69,0.18); }
@media (min-width: 700px) { .post-card { padding: 56px; } }
.post-card h1 { font-size: 32px; line-height: 1.25; margin: 14px 0; }
@media (min-width: 700px) { .post-card h1 { font-size: 42px; } }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--charcoal-light); margin-bottom: 28px; }
.author-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--navy); color: var(--gold-light); font-size: 12px; font-weight: 700; margin-right: 4px; }

.article-body { font-size: 17px; line-height: 1.85; color: var(--charcoal); }
.article-body h2 { font-size: 24px; color: var(--navy); margin: 36px 0 12px; }
.article-body h3 { font-size: 19px; color: var(--navy); margin: 28px 0 8px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote { border-left: 3px solid var(--gold); background: var(--grey); padding: 16px 24px; font-style: italic; color: var(--navy); margin: 28px 0; border-radius: 0 8px 8px 0; }
.article-body a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article-body strong { color: var(--navy); }
.article-body img { width: 100%; border-radius: 12px; margin: 32px 0 8px; }
.article-figure { margin: 36px 0; }
.article-figure img { margin: 0 0 10px; box-shadow: 0 8px 24px -8px rgba(11,37,69,0.18); }
.article-figure figcaption { text-align: center; font-size: 13px; color: var(--grey-mid); font-style: italic; }

.article-cta { background: var(--navy); border-radius: 16px; padding: 40px; text-align: center; margin: 40px 0; }
.article-cta p.lead { color: var(--white); font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.article-cta p.sub { color: rgba(255,255,255,0.7); font-size: 14px; max-width: 380px; margin: 0 auto 20px; }

.share-block { text-align: center; padding: 40px 0 8px; }
.share-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-mid); font-weight: 700; }
.share-icons { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.share-icons a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; background: var(--navy); color: var(--white); transition: background 0.2s ease, color 0.2s ease; }
.share-icons a:hover { background: var(--gold); color: var(--navy-dark); }

.ad-slot { border: 1px dashed rgba(11,37,69,0.2); background: rgba(244,246,248,0.6); border-radius: 12px; padding: 36px 20px; text-align: center; margin: 32px 0; }
.ad-slot .label1 { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-mid); }
.ad-slot .label2 { font-size: 12px; color: var(--grey-mid); margin-top: 4px; }

/* ---------- Comparison table ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; }
.compare-table th, .compare-table td { text-align: left; padding: 16px 20px; }
.compare-table thead th { background: var(--navy); color: var(--white); font-weight: 500; }
.compare-table thead th.highlight { color: var(--gold-light); font-weight: 700; }
.compare-table tbody td.highlight { background: rgba(182,144,47,0.08); font-weight: 600; color: var(--navy); }
.compare-table tbody tr:nth-child(even) { background: rgba(244,246,248,0.6); }
.table-scroll { overflow-x: auto; border-radius: 16px; box-shadow: 0 1px 2px rgba(11,37,69,0.04), 0 8px 24px -8px rgba(11,37,69,0.12); }
.table-scroll table { min-width: 720px; }

/* ---------- Forms ---------- */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; font-size: 14px; }
.form-field label { font-weight: 600; color: var(--navy); }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid rgba(11,37,69,0.15); border-radius: 10px; padding: 11px 14px; font-family: inherit; font-size: 14px;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--gold); }
.alert-success { background: var(--navy); color: var(--white); border-radius: 16px; padding: 40px; text-align: center; }
.alert-error { background: #fdecea; color: #86281f; border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; font-size: 14px; }

/* ---------- Misc ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list span { border: 1px solid rgba(11,37,69,0.12); border-radius: 999px; padding: 8px 16px; font-size: 12px; color: var(--charcoal-light); }
