@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #0867f5;
  --cyan: #24b7ec;
  --ink: #101b32;
  --muted: #63718a;
  --line: #dbe5f3;
  --bg: #f5f9ff;
  --white: #fff;
  --shadow: 0 18px 55px rgba(25, 68, 130, .09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 max(5vw, 18px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid #d5e3f5;
  box-shadow: 0 4px 20px rgba(16, 27, 50, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}

/* টপবারের উপরে প্রিমিয়াম নীল-সায়ান অ্যাকসেন্ট লাইন */
.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
}

.brand {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  height: 48px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.brand:active {
  transform: scale(0.97);
}

.brand img {
  width: 132px;
  height: 48px;
  object-fit: cover;
  object-position: center 48%;
  display: block;
}

/* টপবারের মাঝখানের ফাঁকা জায়গার জন্য ক্লিন ডিজাইন পিল/ডটস/লিংক */
.topbar-center {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  background: #f0f6ff;
  border: 1px solid #d4e4f9;
  border-radius: 99px;
  box-shadow: inset 0 1px 2px rgba(8, 103, 245, 0.05);
}

.topbar-center a {
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  color: #2c446b;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.topbar-center a:hover,
.topbar-center a:active {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 2px 6px rgba(8, 103, 245, 0.1);
  transform: scale(0.96);
}

.center-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b5cbe8;
}

/* বাটন ছাড়া শুধু ভিজ্যুয়াল ডিজাইন চাইলে */
.topbar-center.design-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.topbar-center.design-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a5c2ec;
}

.topbar-center.design-dots i:nth-child(2) {
  background: var(--blue);
  width: 18px;
  border-radius: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #46556e;
  padding: 5px 8px;
  background: #f2f7ff;
  border: 1px solid #d9e7f9;
  border-radius: 13px;
}

.nav a:not(.nav-cta),
.nav .link-button {
  padding: 8px 14px;
  border-radius: 9px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease;
}

.nav a:not(.nav-cta):hover,
.nav .link-button:hover {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(8, 103, 245, 0.08);
}

.nav a:not(.nav-cta):active,
.nav .link-button:active {
  background: #dceaff;
  transform: scale(0.95);
}

.text-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  transition: transform 0.15s ease, color 0.15s ease;
}

.text-link:hover {
  color: #0550c4;
  transform: translateX(3px);
}

.text-link:active {
  transform: scale(0.96);
}

.nav-cta {
  background: linear-gradient(100deg, var(--blue), #168ce9);
  color: white !important;
  padding: 9px 18px;
  margin-left: 4px;
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(8, 103, 245, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(8, 103, 245, 0.32);
  filter: brightness(1.04);
}

.nav-cta:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 3px 8px rgba(8, 103, 245, 0.2);
}

.menu-toggle {
  display: none;
}

.inline {
  display: inline;
}

.link-button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.main {
  min-height: 65vh;
}

.hero {
  min-height: 590px;
  padding: 90px max(8vw, 25px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 30px;
  background: radial-gradient(circle at 80% 30%, #dcefff, transparent 36%), linear-gradient(135deg, #f2f7ff 0%, #e6f0ff 100%);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
}

h1, h2, h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.15;
  letter-spacing: -1.2px;
}

h1 {
  font-size: clamp(42px, 5.5vw, 70px);
  margin: 18px 0;
}

h1 span, h2 span {
  color: var(--blue);
}

.hero-copy > p,
.page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 22px;
  font: 700 14px 'DM Sans';
  cursor: pointer;
  user-select: none;
  transition: transform 0.14s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px) scale(0.96);
}

.primary {
  background: linear-gradient(100deg, var(--blue), #168ce9);
  color: white;
  box-shadow: 0 9px 20px rgba(8, 103, 245, 0.22);
}

.primary:hover {
  box-shadow: 0 12px 26px rgba(8, 103, 245, 0.32);
}

.primary:active {
  box-shadow: 0 4px 10px rgba(8, 103, 245, 0.2);
}

.secondary {
  background: #ffffff;
  color: #155bc3;
  border-color: #cfe0f7;
  box-shadow: 0 4px 12px rgba(16, 27, 50, 0.04);
}

.secondary:hover {
  background: #eaf3ff;
  border-color: #b5d1f8;
}

.secondary:active {
  background: #d8e8ff;
}

.light {
  background: white;
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.light:hover {
  background: #f4f9ff;
}

.danger {
  background: #fff0f0;
  color: #c33;
  border-color: #ffd6d6;
}

.danger:hover {
  background: #ffe0e0;
}

.small {
  padding: 8px 13px;
  font-size: 12px;
}

.full {
  width: 100%;
}

.hero-note {
  margin-top: 28px;
  color: #65738a;
  font-size: 13px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #19bd83;
  border-radius: 50%;
  margin-right: 8px;
}

.hero-art {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #0867f5, #24b7ec);
  opacity: .14;
  right: 12%;
  top: 7%;
}

.orb-two {
  width: 180px;
  height: 180px;
  background: #80dcff;
  opacity: .24;
  left: 10%;
  bottom: 8%;
}

.glass-card {
  position: relative;
  width: 280px;
  height: 280px;
  border: 1px solid #ffffff;
  border-radius: 35px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 25px 70px rgba(27, 101, 181, 0.18);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.glass-card img {
  width: 210px;
  height: 92px;
  object-fit: cover;
  object-position: center 48%;
  margin-bottom: 12px;
}

.glass-card strong {
  font: 800 25px Manrope;
}

.glass-card span {
  font-size: 12px;
  color: var(--muted);
}

.mini-bars {
  display: flex;
  gap: 5px;
  margin-top: 20px;
}

.mini-bars i {
  width: 25px;
  height: 5px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.section {
  padding: 85px max(8vw, 25px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}

.section-head h2,
.split h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin: 10px 0;
}

.section-head > p {
  max-width: 430px;
  color: var(--muted);
}

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

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px #1b4c8510;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature h3 {
  font-size: 20px;
}

.feature p {
  color: var(--muted);
  margin-bottom: 0;
}

.feature-icon {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: #eaf3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 22px;
}

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

.project-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  background: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-card:active {
  transform: translateY(-1px) scale(0.98);
}

.project-card > img,
.project-placeholder {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.project-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, #0867f5, #24b7ec);
  color: #fff;
  font: 800 50px Manrope;
}

.project-content {
  padding: 22px;
}

.project-content h3 {
  margin: 0 0 8px;
}

.project-content p {
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  margin: 10px max(8vw, 25px) 80px;
  padding: 40px 45px;
  border-radius: 22px;
  background: linear-gradient(110deg, #0867f5, #24aee9);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-band .eyebrow {
  color: #d8efff;
}

.cta-band h2 {
  font-size: 30px;
  margin: 10px 0;
}

.page-hero {
  padding: 90px max(8vw, 25px);
  background: linear-gradient(135deg, #f2f7ff 0%, #e6f0ff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 850px;
}

.page-hero.compact {
  padding-top: 65px;
  padding-bottom: 65px;
}

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

.split p {
  color: var(--muted);
  font-size: 17px;
}

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

.highlight-card {
  padding: 22px 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #f3f8ff);
  border: 1px solid #d5e3f7;
  box-shadow: 0 8px 24px rgba(8, 103, 245, 0.05);
}

.highlight-card strong {
  display: block;
  font: 800 24px Manrope, sans-serif;
  color: var(--blue);
  margin-bottom: 4px;
}

.highlight-card span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.form-section {
  padding-top: 20px;
}

.form-card {
  max-width: 650px;
  margin: auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #fff;
}

.form-card label,
.admin-form label,
.settings-form label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 15px 0;
}

.form-card input,
.form-card textarea,
.admin-form input,
.admin-form textarea,
.admin-form select,
.settings-form input,
.settings-form textarea,
.panel-card textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cedbeb;
  border-radius: 9px;
  padding: 12px;
  font: 14px 'DM Sans', sans-serif;
  background: #fbfdff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-card input:focus,
.form-card textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.settings-form input:focus,
.settings-form textarea:focus,
.panel-card textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 103, 245, 0.12);
  background: #fff;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.code-editor {
  font-family: 'Courier New', Consolas, monospace !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  background: #0f172a !important;
  color: #e2e8f0 !important;
  border: 1px solid #1e293b !important;
  border-radius: 12px !important;
  padding: 16px !important;
}

.code-editor:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px rgba(36, 183, 236, 0.2) !important;
}

textarea {
  resize: vertical;
}

.auth-wrap {
  padding: 75px 20px;
  background: var(--bg);
}

.auth-card {
  max-width: 440px;
}

.auth-card h1 {
  font-size: 35px;
}

.auth-card small,
.muted {
  color: var(--muted);
}

.check {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.check input {
  width: auto !important;
}

/* প্রিমিয়াম ৪-কলাম ফুটার ডিজাইন */
.footer {
  position: relative;
  background: radial-gradient(circle at 90% 10%, #d8ecff 0%, transparent 40%), linear-gradient(180deg, #f7fbff 0%, #e6f1ff 100%);
  color: var(--ink);
  border-top: 1px solid #cce0f7;
  padding: 70px max(8vw, 25px) 28px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  background: transparent;
  padding: 0;
  height: 48px;
}

.footer-brand img {
  width: 136px;
  height: 48px;
  object-fit: cover;
  object-position: center 48%;
}

.footer-brand-col p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 310px;
  margin: 14px 0 18px;
  line-height: 1.6;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  background: #ffffff;
  border: 1px solid #d4e4f7;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #2f4363;
  box-shadow: 0 3px 10px rgba(8, 103, 245, 0.05);
}

.footer-col h4 {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ink);
  margin: 6px 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: #4b5c78;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  transition: color 0.16s ease, transform 0.16s ease;
}

.footer-col ul a:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.footer-col ul a:active {
  transform: scale(0.96);
}

.footer-subtext {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 14px;
}

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

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #d2e2f7;
  color: #1c355e;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(8, 103, 245, 0.05);
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.social-pill svg {
  color: var(--blue);
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.social-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-pill:hover {
  background: linear-gradient(100deg, var(--blue), #168ce9);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(8, 103, 245, 0.22);
}

.social-pill:hover svg {
  color: #fff;
}

.social-pill:active {
  transform: translateY(0) scale(0.95);
}

.footer-bottom {
  border-top: 1px solid #cde0f5;
  margin-top: 50px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer-tagline {
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.4px;
}

.flash-wrap {
  max-width: 1100px;
  margin: 15px auto;
  padding: 0 20px;
}

.flash {
  padding: 12px 16px;
  border-radius: 9px;
  margin: 8px 0;
  background: #eaf3ff;
  color: #164f9c;
}

.flash.error {
  background: #fff0f0;
  color: #a22;
}

.flash.success {
  background: #e9fbf3;
  color: #08764b;
}

.empty-state,
.notice {
  padding: 20px;
  border: 1px dashed #cbd9eb;
  border-radius: 12px;
  color: var(--muted);
  background: #f8fbff;
}

.prose {
  white-space: pre-wrap;
  color: #43516a;
  font-size: 16px;
}

.detail {
  max-width: 1000px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 80px);
  background: #f8faff;
}

.admin-side {
  padding: 28px 18px;
  background: linear-gradient(180deg, #eaf2ff 0%, #dfecff 100%);
  border-right: 1px solid #c9dbf2;
  box-shadow: inset -4px 0 12px rgba(8, 103, 245, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-side h3 {
  margin: 4px 10px 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue);
}

.admin-side a {
  padding: 10px 14px;
  border-radius: 10px;
  color: #364966;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background 0.16s ease, color 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
}

.admin-side a:hover {
  background: #ffffff;
  color: var(--blue);
  border-color: #d0e1f9;
  box-shadow: 0 4px 12px rgba(8, 103, 245, 0.08);
  transform: translateX(3px);
}

.admin-side a:active {
  background: var(--blue);
  color: #ffffff;
  transform: scale(0.96);
}

.admin-content {
  padding: 40px;
  min-width: 0;
  background: #ffffff;
}

.admin-content h1 {
  font-size: 36px;
  margin-top: 0;
}

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

.stat-card,
.panel-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: white;
  margin-bottom: 17px;
  box-shadow: 0 6px 20px rgba(16, 27, 50, 0.03);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  font: 800 30px Manrope;
}

.panel-card h3 {
  margin-top: 0;
}

.log-row,
.table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f7;
}

.log-row:last-child,
.table-row:last-child {
  border-bottom: 0;
}

.log-row small,
.table-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.admin-form {
  max-width: 700px;
}

.admin-form .btn {
  margin-top: 10px;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.message-body {
  white-space: pre-wrap;
  background: #f7faff;
  padding: 15px;
  border-radius: 10px;
  color: #43516a;
}

.secret-box {
  padding: 15px;
  background: #f1f8ff;
  border-radius: 10px;
  margin-top: 15px;
}

.secret-box code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 8px;
}

.pill {
  display: inline-block;
  background: #eaf3ff;
  color: #145dc0;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 12px;
}

.notice {
  border-color: #f1d69b;
  background: #fffaf0;
  color: #76551a;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 850px) {
  .topbar-center {
    display: inline-flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 18px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #d0dff2;
    box-shadow: 0 14px 30px rgba(16, 27, 50, 0.1);
  }
  .nav.open {
    display: flex;
  }
  .nav-cta {
    margin-left: 0;
    text-align: center;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid #d4e3f7;
    border-radius: 11px;
    background: #f0f6ff;
    color: var(--blue);
    font-size: 19px;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.15s ease;
  }
  .menu-toggle:active {
    background: #dceaff;
    transform: scale(0.92);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
  .hero-art {
    height: 300px;
  }
  .feature-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid #c9dbf2;
  }
  .admin-side h3 {
    width: 100%;
    margin: 0 0 6px;
  }
  .admin-side a {
    display: inline-block;
    padding: 8px 12px;
  }
  .admin-content {
    padding: 25px 18px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 560px) {
  .brand {
    height: 38px;
  }
  .brand img {
    width: 106px;
    height: 38px;
  }
  .topbar-center {
    padding: 3px 5px;
  }
  .topbar-center a {
    padding: 4px 8px;
    font-size: 11.5px;
  }
  .feature-grid,
  .project-grid,
  .stats-grid,
  .footer-grid,
  .about-highlights {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero-art {
    height: 260px;
  }
  .glass-card {
    width: 230px;
    height: 230px;
  }
  .glass-card img {
    width: 175px;
    height: 78px;
  }
  .section {
    padding: 60px 22px;
  }
  .cta-band {
    margin: 0 20px 50px;
    padding: 28px;
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero {
    padding: 65px 22px;
  }
  .form-card {
    padding: 22px;
  }
  .table-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .row-actions {
    width: 100%;
  }
}
