/* ------------------------------
   Global Reset + Base
   ------------------------------ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.35;
  padding-bottom: 40px;
}
   .banner {
      width: 100%;
      display: block;
    }
/* ------------------------------
   Header (flags + nav)
   ------------------------------ */
.site-header { background: #fff; padding-top: 18px; }
.header-inner {
  display:flex;
  align-items:center;
  justify-content: space-between;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 18px;
}

.flag-wrap { width: 140px; display:flex; align-items:center; justify-content:center; }
.flag-ribbon { width: 140px; height: 48px; display:block; }

/* center logo */
.logo-center { flex: 1; display:flex; justify-content:center; align-items:center; }
.chakra-brush { width: 220px; height: 72px; display:block; }

/* NAV */
.top-nav { border-top: 1px solid rgba(0,0,0,0.04); margin-top: 12px; }
.nav-inner {
  max-width: 1150px; margin: 0 auto; padding: 12px 18px; display:flex; align-items:center; gap:12px;
}
.brand { font-weight: 700; color: #2f3f87; text-decoration:none; margin-right:auto; font-size:1rem; }
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid #ccc; padding: 8px 10px; border-radius:6px;
}
.nav-list { list-style: none; display:flex; gap: 18px; align-items:center; }
.nav-list a { text-decoration: none; color: #333; padding: 8px 10px; border-radius:6px; font-weight:600; }
.nav-list a:hover, .nav-list a:focus { background: rgba(47,63,135,0.06); color: #2f3f87; outline: none; }

/* ------------------------------
   Container & Cards Grid
   ------------------------------ */
.container {
  max-width: 1350px;
  margin: 36px auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

/* make first card large: span 2 rows/cols on wide screens */
.card {
  border-radius: 10px;
  padding: 26px 22px;
  display:flex;
  flex-direction:column;
  justify-content: space-between;
  min-height: 110px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

/* color variants */
.yellow { background: #fce88b; color: #111; }
.blue { background: #2f3f87; color: #fff; }

/* large left card */
.card-large { grid-column: 1 / span 1; min-height: 220px; }

/* headings */
.card h2, .card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.08;
}

/* smaller headings inside grid items */
.card h3 { font-size: 1.05rem; }

/* highlighted words */
.muted-red { color: #e86b63; font-weight:800; }
.muted-orange { color: #f08b63; font-weight:800; }
.muted-green { color: #41c088; font-weight:800; }

/* card actions / buttons */
.card-actions { margin-top: 12px; }
.btn {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration:none;
  font-weight:700;
  transition: transform .12s ease, box-shadow .12s ease;
  cursor: pointer;
}

/* outline style (used on yellow cards) */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 150px;        /* fixed equal width */
  height: 44px;        /* fixed equal height */
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.btn.outline {
  background: transparent;
  border: 1px solid #111;
  color: inherit;
}

.btn.white {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn:focus, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Spinner (hidden by default) */
.loader {
  display: none;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.6s linear infinite;
}

.btn.outline .loader {
  border: 3px solid #111;
  border-top: 3px solid transparent;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Loading state */
.btn.loading .btn-label { visibility: hidden; }
.btn.loading .arrow { display: none; }
.btn.loading .loader { display: inline-block; }

/* small screens - responsive behavior */
@media (max-width: 980px) {
  .container { grid-template-columns: repeat(2, 1fr); }
  .card-large { grid-column: 1 / -1; }
  .nav-toggle { display: inline-flex; }
  .nav-list { display: none; position: absolute; right: 18px; top: 78px; background: #fff; flex-direction: column; box-shadow: 0 8px 30px rgba(0,0,0,0.08); padding: 10px; border-radius: 8px; }
  .nav-list.show { display:flex; }
}

@media (max-width: 560px) {
  .container { grid-template-columns: 1fr; gap: 18px; padding: 0 14px; }
  .header-inner { padding: 0 12px; }
  .flag-wrap { display:none; } /* hide side flags on small devices */
  .chakra-brush { width: 160px; height: 60px; }
}

/* ------------------------------
   Footer
   ------------------------------ */
.site-footer {
  margin-top: 40px;
  background: #2f3f87;
  color: #fff;
  padding: 18px 12px;
}
.footer-inner { max-width: 1150px; margin: 0 auto; padding: 6px 18px; text-align:center; font-weight:600; font-size:0.95rem; }

