/* =========
   Base
========= */
:root{
  --bg: #ffffff;
  --bg-alt: #f5f9ff;
  --text: #0e1b2a;
  --muted: #5b6b7a;
  --primary: #0A3D62;   /* Deep blue */
  --primary-600:#0d4874;
  --primary-700:#0f5387;
  --primary-300:#3d79a7;
  --accent: #1abc9c;    /* Teal accent */
  --card: #ffffff;
  --border: #e5eef7;
  --shadow: 0 10px 30px rgba(10,61,98,0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 16px/1.6 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, 92%); margin-inline: auto; }

h1,h2,h3 { font-family: "Poppins", "Inter", sans-serif; margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; width: auto; height: auto;
  background: var(--primary); color: #fff; padding: .5rem .75rem; border-radius: 8px;
}

/* =========
   Header / Nav
========= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand-mark {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-300));
  color: #fff; font-weight: 700;
}
.brand-text { color: var(--primary); letter-spacing: .5px; }

.nav-links {
  display: flex; align-items: center; gap: 1rem; list-style: none; margin: 0; padding: 0;
}
.nav-links a { padding: .5rem .6rem; border-radius: 10px; color: var(--text); font-weight: 500; }
.nav-links a:hover { background: var(--bg-alt); text-decoration: none; }
.nav-links .btn-sm { padding: .5rem .8rem; }

.nav-toggle {
  display: none; border: none; background: transparent; font-size: 1.25rem; color: var(--primary);
}

/* Mobile Nav */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 64px; right: 0; left: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: .25rem;
    padding: .75rem 1rem; transform-origin: top; transform: scaleY(0); transition: .2s ease;
  }
  .nav-links.show { transform: scaleY(1); }
  .nav-links a { width: 100%; }
}

/* =========
   Buttons
========= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .8rem 1.2rem; border: 1px solid transparent;
  font-weight: 600; cursor: pointer; transition: .2s ease; text-decoration: none;
}
.btn-sm { padding: .5rem .9rem; }
.btn-lg { padding: 1rem 1.3rem; }
.btn.w-100 { width: 100%; }

.btn-primary {
  color: #fff; background: var(--primary); border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(10,61,98,.2);
}
.btn-primary:hover { background: var(--primary-600); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* =========
   Hero
========= */
.hero {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(10,61,98,.08), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(26,188,156,.08), transparent 60%),
    #ffffff;
  padding-top: 60px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.title .title-accent { color: var(--primary); }
.subtitle { color: var(--muted); font-weight: 500; }

.meta { list-style: none; padding: 0; margin: 1rem 0 1.25rem; color: var(--muted); }
.meta li { margin: .35rem 0; display: flex; align-items: center; gap: .6rem; }

.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .75rem; }

.hero-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.hero-icon {
  font-size: 2.5rem; color: var(--primary); margin-bottom: .75rem;
}
.hero-bullets { list-style: none; padding: 0; margin: .75rem 0 0; }
.hero-bullets li { display: flex; align-items: center; gap: .5rem; }

/* Countdown */
.countdown {
  display: grid; grid-template-columns: repeat(4, 110px); gap: .75rem; margin-top: 1.25rem;
}
@media (max-width: 560px) {
  .countdown { grid-template-columns: repeat(2, 1fr); }
}
.cd-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: .8rem;
  text-align: center; box-shadow: var(--shadow);
}
.cd-value { font-size: 1.75rem; font-weight: 700; color: var(--primary); line-height: 1; }
.cd-label { font-size: .8rem; color: var(--muted); }

/* =========
   Cards, Chips, Grids
========= */
.cards { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3,.grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(10,61,98,.12); }
.card-icon { font-size: 1.4rem; color: var(--primary); margin-bottom: .5rem; }
.card-dashed { border-style: dashed; }

.avatar.placeholder {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 1px dashed var(--border); color: var(--muted); margin-bottom: .6rem; font-size: 1.2rem;
}

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: .5rem .8rem; box-shadow: var(--shadow);
}

/* =========
   Timeline
========= */
.timeline { border-left: 3px solid var(--primary-300); margin-left: .6rem; position: relative; }
.tl-item { padding-left: 1rem; margin: 1rem 0; position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -9px; top: .35rem;
  width: 12px; height: 12px; background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 0 3px #e7f1fb;
}
.tl-date { font-weight: 700; color: var(--primary); }
.tl-content p { margin: .3rem 0 0; color: var(--muted); }

/* =========
   Table
========= */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: .9rem .8rem; border-bottom: 1px solid var(--border); }
.table thead th { background: #f0f6ff; text-align: left; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #fbfdff; }
.table td[data-label]::before {
  content: attr(data-label) ": "; font-weight: 600; display: none; color: var(--muted);
}
@media (max-width: 640px) {
  .table thead { display: none; }
  .table tr { display: block; border-bottom: 1px solid var(--border); }
  .table td { display: block; border: none; }
  .table td[data-label]::before { display: inline; }
}

/* =========
   Contact
========= */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info .info-row { display: flex; gap: .8rem; margin-bottom: 1rem; }
.contact-info i { color: var(--primary); font-size: 1.2rem; }

.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow);
}
.form-row { display: grid; gap: .35rem; margin-bottom: .8rem; }
label { font-weight: 600; }
.req { color: #c0392b; }
input, textarea {
  width: 100%; padding: .75rem .8rem; border-radius: 12px; border: 1px solid var(--border);
  font: inherit; outline: none; background: #fff;
}
input:focus, textarea:focus { border-color: var(--primary-300); box-shadow: 0 0 0 4px rgba(10,61,98,.08); }
.error { color: #c0392b; min-height: 1em; font-size: .85rem; }
.form-hint { color: var(--muted); font-size: .9rem; }

/* =========
   Footer
========= */
.footer {
  background: #071f33; color: #d9e5f2; padding: 32px 0;
}
.footer-grid {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.brand-footer .brand-mark { background: #1b5b89; }
.brand-footer .brand-text { color: #fff; }
.footer-text { margin: .5rem 0 0; color: #b5c6d9; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center; color: #071f33;
  background: #e6f0fa; border-radius: 10px; transition: .2s ease;
}
.socials a:hover { background: #cfe2f7; transform: translateY(-2px); }

/* =========
   Modal
========= */
.modal { position: fixed; inset: 0; display: none; }
.modal.show { display: block; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(2, 16, 28, .45);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative; z-index: 1;
  width: min(520px, 92%); margin: 10vh auto; background: #fff; border-radius: 16px;
  border: 1px solid var(--border); box-shadow: var(--shadow); padding: 1rem 1rem 1.2rem;
}
.modal-header h3 { margin: 0; }
.modal-body { margin-top: .35rem; }
.modal-close {
  position: absolute; right: .6rem; top: .6rem; border: none; background: #eff6ff; color: var(--primary);
  width: 34px; height: 34px; border-radius: 10px; cursor: pointer;
}
.modal-close:hover { background: #dfeeff; }

/* =========
   Animations
========= */
.reveal { opacity: 0; transform: translateY(14px); transition: .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; transform: none; opacity: 1; }
}

/* Utilities */
.mt-2 { margin-top: .5rem; }
.muted { color: var(--muted); }
.note {
  margin-top: 1rem; display: flex; gap: .6rem; align-items: flex-start; color: var(--muted);
  background: #f7fbff; border: 1px dashed #dbe9f7; border-radius: 12px; padding: .8rem;
}

/* Section headers */
.section-header { text-align: center; margin-bottom: 1.1rem; }
.section-header p { color: var(--muted); }
/* ===== Banner ===== */
.banner { padding: 18px 0 0; background: #fff; }
.banner-wrap { width: min(1100px, 96%); margin-inline: auto; }

.banner-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.banner-card img {
  display: block;
  width: 100%;
  height: auto;              /* preserves aspect ratio */
  object-fit: contain;       /* keep original composition */
  background: #fff;
}

/* Optional: clickable zoom */
.banner-zoom {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  width: 100%;
  cursor: zoom-in;
}
.banner-zoom img { width: 100%; }

/* Lightbox modal widescreen container */
.modal-dialog-wide {
  width: min(980px, 96%);
}
.banner-full {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
``
#themes {
  display: flex;
  justify-content: center;   /* horizontal center */
  align-items: center;       /* vertical center */
  min-height: 100vh;         /* full viewport height */
  flex-direction: column;
}

.chips {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.chip {
  text-align: center;
  justify-content: center;
}
``
/* ===== Payment (Fees) ===== */
.payment-wrap { margin-top: 1rem; }
.payment-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}
@media (max-width: 860px) {
  .payment-card { grid-template-columns: 1fr; }
}

.pay-left, .pay-right { display: grid; align-content: start; gap: .6rem; }
.pay-left h3, .pay-right h3 { margin: 0; }

.qr-zoom {
  padding: 0; border: 0; background: transparent; cursor: zoom-in; width: 100%;
}
.qr-img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: block;
  margin-inline: auto;
}

.pay-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pay-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.small { font-size: .9rem; }

.bank-details summary {
  cursor: pointer; user-select: none; padding: .35rem .5rem;
  background: #f7fbff; border: 1px dashed #dbe9f7; border-radius: 10px;
}
.bank-details[open] summary { background: #eff6ff; }

/* QR Modal specifics */
.modal-dialog-narrow { width: min(560px, 94%); }
.qr-full {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}