:root {
  --brand: #0d6efd;
  --brand-strong: #0a58ca;
  --ink: #132238;
  --accent: #19a974;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, .08), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(25, 169, 116, .08), transparent 28rem),
    var(--bs-body-bg);
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.site-navbar {
  background: rgba(var(--bs-body-bg-rgb), .88);
  border-bottom: 1px solid rgba(125, 142, 164, .22);
  box-shadow: 0 10px 30px rgba(14, 30, 55, .08);
  backdrop-filter: blur(14px);
}

.brand-emblem {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(13, 110, 253, .24);
  flex: 0 0 auto;
}

.site-navbar .nav-link {
  border-radius: 999px;
  font-weight: 600;
  padding: 8px 12px;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--brand);
  background: var(--bs-primary-bg-subtle);
}

.nav-action {
  border-radius: 999px;
  padding-inline: 14px;
  box-shadow: 0 8px 20px rgba(13, 110, 253, .2);
}

.theme-button {
  border-radius: 999px;
}

[data-bs-theme="dark"] .theme-button {
  color: #eaf0f7;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18) !important;
}

[data-bs-theme="dark"] .site-navbar {
  background: rgba(18, 25, 36, .88);
}

.hero {
  padding: 72px 0 40px;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, .14), rgba(25, 135, 84, .08)),
    var(--bs-body-bg);
}

.eyebrow {
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-pad {
  padding: 48px 0;
}

.home-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 62px;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, .13), rgba(25, 169, 116, .1)),
    var(--bs-body-bg);
  border-bottom: 1px solid rgba(125, 142, 164, .22);
}

.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 8% -90px auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 110, 253, .16), rgba(25, 169, 116, .12));
  filter: blur(8px);
  pointer-events: none;
}

.home-hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 44px;
  align-items: center;
}

.home-hero h1,
.page-hero h1 {
  color: var(--ink);
  font-size: 4.35rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 18px;
}

[data-bs-theme="dark"] .home-hero h1,
[data-bs-theme="dark"] .page-hero h1 {
  color: #f5f7fb;
}

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

.home-showcase {
  position: relative;
  min-height: 360px;
}

.showcase-card,
.hero-banner {
  background: rgba(var(--bs-body-bg-rgb), .86);
  border: 1px solid rgba(125, 142, 164, .24);
  box-shadow: 0 26px 60px rgba(15, 35, 62, .16);
  backdrop-filter: blur(14px);
}

.showcase-card {
  position: absolute;
  display: grid;
  gap: 8px;
  border-radius: 22px;
  padding: 24px;
  animation: floatCard 6s ease-in-out infinite;
}

.showcase-card i {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 18px;
  font-size: 1.55rem;
}

.showcase-card strong {
  font-size: 1.55rem;
}

.showcase-card span {
  color: var(--bs-secondary-color);
  font-weight: 600;
}

.showcase-main {
  left: 8%;
  top: 18%;
  width: 330px;
  min-height: 220px;
}

.showcase-small {
  align-items: center;
  grid-template-columns: auto 1fr;
  width: 210px;
}

.showcase-small.top {
  right: 0;
  top: 4%;
  animation-delay: .9s;
}

.showcase-small.bottom {
  right: 12%;
  bottom: 5%;
  animation-delay: 1.6s;
}

.stats-band {
  padding: 24px 0;
  background: var(--bs-body-bg);
  border-bottom: 1px solid rgba(125, 142, 164, .2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stats-grid div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 18px;
  background: rgba(var(--bs-body-bg-rgb), .86);
  border: 1px solid rgba(125, 142, 164, .22);
  border-radius: 16px;
}

.stats-grid i {
  grid-row: span 2;
  color: var(--brand);
  font-size: 1.6rem;
}

.stats-grid strong {
  font-weight: 900;
}

.stats-grid span {
  color: var(--bs-secondary-color);
  font-size: .93rem;
}

.hero-banner {
  min-height: 285px;
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  border-radius: 28px;
  animation: floatCard 6.4s ease-in-out infinite;
}

.hero-banner i {
  width: 96px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 30px;
  font-size: 2.7rem;
  box-shadow: 0 20px 44px rgba(13, 110, 253, .23);
}

.hero-banner span {
  font-size: 1.35rem;
  font-weight: 900;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.content-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: rgba(var(--bs-body-bg-rgb), .9);
  border: 1px solid rgba(125, 142, 164, .22);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(15, 35, 62, .09);
}

.content-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(13, 110, 253, .15), rgba(25, 169, 116, .12));
  overflow: hidden;
}

.content-media img,
.content-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.generated-banner {
  height: 100%;
  display: grid;
  place-items: center;
  gap: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, .94), rgba(25, 169, 116, .92));
}

.generated-banner i {
  font-size: 3rem;
  animation: pulseMark 2.8s ease-in-out infinite;
}

.generated-banner span {
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.content-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  flex: 1;
}

.content-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.content-badge,
.media-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

.content-badge {
  color: var(--brand);
  background: var(--bs-primary-bg-subtle);
}

.media-count {
  color: var(--bs-secondary-color);
  border: 1px solid var(--bs-border-color);
}

.content-card h2 {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
}

.content-subtitle,
.content-text,
.person-line {
  color: var(--bs-secondary-color);
  margin: 0;
}

.inline-video {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--bs-border-color);
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: rgba(var(--bs-body-bg-rgb), .85);
  border: 1px dashed rgba(125, 142, 164, .38);
  border-radius: 22px;
}

.empty-state i {
  color: var(--brand);
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state h2 {
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-info,
.contact-form {
  background: rgba(var(--bs-body-bg-rgb), .9);
  border: 1px solid rgba(125, 142, 164, .22);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(15, 35, 62, .09);
  padding: 28px;
}

.contact-info > i {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 20px;
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.contact-info h2 {
  font-weight: 900;
}

.contact-info p {
  color: var(--bs-secondary-color);
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  margin: 4px 4px 0 0;
  font-weight: 700;
}

.media-thumb {
  height: 180px;
  object-fit: cover;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: calc(100vh - 57px);
}

.admin-sidebar {
  padding: 16px;
  position: sticky;
  top: 57px;
  height: calc(100vh - 57px);
  overflow-y: auto;
}

.admin-link {
  display: block;
  padding: 10px 12px;
  color: var(--bs-body-color);
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 4px;
}

.admin-link:hover {
  background: var(--bs-primary-bg-subtle);
  color: var(--brand-strong);
}

.admin-content {
  padding: 24px;
}

.card {
  border-radius: 8px;
}

.lift-card {
  animation: riseIn .58s ease both;
  animation-delay: var(--delay, 0ms);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.lift-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(15, 35, 62, .14);
  border-color: rgba(13, 110, 253, .32);
}

.file-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  text-decoration: none;
  margin: 3px;
}

.about-hero,
.team-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 58px;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, .12), rgba(25, 169, 116, .09)),
    var(--bs-body-bg);
  border-bottom: 1px solid var(--bs-border-color);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: center;
}

.about-hero h1,
.team-hero h1 {
  color: var(--ink);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
}

[data-bs-theme="dark"] .about-hero h1,
[data-bs-theme="dark"] .team-hero h1 {
  color: #f5f7fb;
}

.about-copy {
  color: var(--bs-secondary-color);
  font-size: 1.05rem;
  max-width: 720px;
}

.motion-stack {
  min-height: 340px;
  position: relative;
}

.motion-card {
  position: absolute;
  width: min(88%, 360px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  color: var(--bs-body-color);
  background: rgba(var(--bs-body-bg-rgb), .86);
  border: 1px solid rgba(125, 142, 164, .25);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(15, 35, 62, .16);
  backdrop-filter: blur(12px);
  animation: floatCard 5.8s ease-in-out infinite;
}

.motion-card i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 16px;
  font-size: 1.45rem;
}

.motion-card span {
  font-size: 1.15rem;
  font-weight: 800;
}

.motion-card.card-a {
  left: 4%;
  top: 10%;
}

.motion-card.card-b {
  right: 2%;
  top: 38%;
  animation-delay: .8s;
}

.motion-card.card-c {
  left: 16%;
  bottom: 4%;
  animation-delay: 1.6s;
}

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

.feature-card,
.team-card,
.story-item {
  padding: 28px;
  background: rgba(var(--bs-body-bg-rgb), .82);
  border: 1px solid rgba(125, 142, 164, .22);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 35, 62, .08);
}

.feature-card i {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 16px;
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.feature-card h2,
.team-card h2,
.story-item h2 {
  font-size: 1.2rem;
  font-weight: 800;
}

.feature-card p,
.team-card p,
.story-item p {
  color: var(--bs-secondary-color);
  margin-bottom: 0;
}

.story-list {
  display: grid;
  gap: 16px;
}

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

.team-hero .lead {
  max-width: 680px;
  margin-inline: auto;
}

.team-card {
  display: grid;
  gap: 16px;
}

.team-profile-card {
  overflow: hidden;
  background: rgba(var(--bs-body-bg-rgb), .9);
  border: 1px solid rgba(125, 142, 164, .22);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(15, 35, 62, .1);
}

.team-profile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, .95), rgba(25, 169, 116, .9));
}

.team-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .35s ease;
}

.team-profile-card:hover .team-profile-media img {
  transform: scale(1.08);
}

.team-profile-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 5rem;
  font-weight: 900;
  text-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.team-profile-shine {
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 70%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .26));
  transform: rotate(-8deg);
  pointer-events: none;
}

.team-profile-body {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.team-kicker {
  color: var(--brand);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-profile-body h2 {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0;
}

.team-description {
  color: var(--bs-secondary-color);
  margin: 0;
}

.team-media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}

.team-media-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 8px 11px;
  color: var(--bs-body-color);
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-media-links a:hover {
  color: var(--brand);
  background: var(--bs-primary-bg-subtle);
  border-color: rgba(13, 110, 253, .32);
}

.team-avatar {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, .95), rgba(25, 169, 116, .95));
  border-radius: 22px;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 18px 32px rgba(13, 110, 253, .2);
}

.team-role {
  color: var(--brand) !important;
  font-weight: 700;
}

.team-city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .95rem;
}

.site-footer {
  color: #dfe8f4;
  background:
    linear-gradient(135deg, #101f34, #112c27);
  padding: 34px 0;
}

.site-footer .brand-emblem {
  box-shadow: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dfe8f4;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.maintenance-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, .18), rgba(25, 169, 116, .14)),
    var(--bs-body-bg);
}

.maintenance-panel {
  width: min(100%, 760px);
  padding: clamp(32px, 7vw, 70px);
  text-align: center;
  background: rgba(var(--bs-body-bg-rgb), .88);
  border: 1px solid rgba(125, 142, 164, .25);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(15, 35, 62, .18);
}

.maintenance-mark {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 26px;
  font-size: 2rem;
  margin-bottom: 24px;
  animation: pulseMark 2.4s ease-in-out infinite;
}

.maintenance-panel h1 {
  font-weight: 900;
  line-height: 1.05;
}

.maintenance-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.maintenance-dots span {
  width: 10px;
  height: 10px;
  background: var(--brand);
  border-radius: 999px;
  animation: dotMove 1.2s ease-in-out infinite;
}

.maintenance-dots span:nth-child(2) {
  animation-delay: .16s;
}

.maintenance-dots span:nth-child(3) {
  animation-delay: .32s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes pulseMark {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 18px 36px rgba(13, 110, 253, .24);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 22px 48px rgba(25, 169, 116, .28);
  }
}

@keyframes dotMove {
  0%, 100% {
    transform: translateY(0);
    opacity: .55;
  }
  50% {
    transform: translateY(-7px);
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-grid,
  .page-hero-grid,
  .about-hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .motion-stack {
    min-height: 300px;
  }

  .content-grid,
  .feature-grid,
  .team-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .home-showcase {
    min-height: 320px;
  }

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

  .footer-contact {
    justify-items: start;
  }

  .about-hero h1,
  .team-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 575px) {
  .about-hero,
  .home-hero,
  .page-hero,
  .team-hero {
    padding: 54px 0 36px;
  }

  .motion-card {
    width: 92%;
    padding: 18px;
  }

  .about-hero h1,
  .home-hero h1,
  .page-hero h1,
  .team-hero h1 {
    font-size: 2.35rem;
  }

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

  .showcase-main {
    left: 0;
    width: 82%;
  }

  .showcase-small.top,
  .showcase-small.bottom {
    right: 0;
  }
}
