@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Playfair+Display:wght@600&display=swap');

:root {
  --brand-deep: #0f172a;
  --brand-soft: #fef3c7;
  --brand-accent: #ea580c;
  --brand-highlight: #f97316;
  --brand-muted: #94a3b8;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border-soft: #e2e8f0;
  --shadow-soft: 0 25px 45px rgba(15, 23, 42, 0.10);
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  background-color: #f6f8fc;
  color: #1f2430;
}

.site-header {
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.main-nav {
  padding: 0.85rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-toggler {
  border: none;
  box-shadow: none;
  padding: 0.35rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f172a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-brand-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.navbar-brand:hover {
  color: var(--brand-highlight);
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 1rem;
  margin-right: 0.35rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--brand-muted);
  margin: 0;
}

.main-nav .nav-link {
  font-weight: 600;
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: var(--brand-highlight);
  background: rgba(249, 115, 22, 0.08);
}

.main-nav .dropdown-menu {
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.15);
}

.nav-account {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-main {
  padding: 2rem 0 4rem;
}

.page-shell {
  background: var(--surface);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2.5rem;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  margin-bottom: 0.25rem;
}

.page-header p {
  color: var(--brand-muted);
  margin: 0;
}

.page-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card-polished {
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
}

.trip-card {
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.trip-card h5 {
  font-size: 1.25rem;
}

.trip-tabs {
  display: inline-flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  background: var(--surface);
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
}

.trip-tab {
  text-decoration: none;
  font-weight: 600;
  color: var(--brand-muted);
  padding: 0.35rem 1.25rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.trip-tab:hover,
.trip-tab:focus {
  color: var(--brand-highlight);
}

.trip-tab.active {
  background: var(--brand-deep);
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.trip-favorite-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--surface-alt);
  color: var(--brand-muted);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trip-favorite-button:hover,
.trip-favorite-button:focus {
  color: var(--brand-highlight);
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-2px);
}

.trip-favorite-button.is-favorite {
  background: rgba(234, 88, 12, 0.1);
  color: var(--brand-highlight);
  border-color: rgba(234, 88, 12, 0.6);
}

.trip-favorite-button.is-pending {
  opacity: 0.5;
  pointer-events: none;
}

.favorites-empty-state {
  border: 1px dashed var(--border-soft);
  background: var(--surface-alt);
  border-radius: 1.5rem;
  padding: 2.75rem 2rem;
  box-shadow: inset 0 0 35px rgba(15, 23, 42, 0.04);
}

.favorites-empty-icon {
  font-size: 2.5rem;
  color: var(--brand-highlight);
}

.trip-photo-tile {
  position: relative;
  width: 100%;
  height: 160px;
  border: none;
  padding: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trip-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-photo-tile:hover,
.trip-photo-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.trip-photo-zoom {
  position: absolute;
  bottom: 0.75rem;
  right: 0.85rem;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.trip-photo-tile:hover .trip-photo-zoom,
.trip-photo-tile:focus-visible .trip-photo-zoom {
  opacity: 1;
}

.trip-gallery-modal .modal-content {
  background: #0f172a;
  color: #f8fafc;
  border: none;
  border-radius: 1.25rem;
  overflow: hidden;
}

.trip-gallery-modal .modal-header {
  border-bottom: none;
}

.trip-gallery-modal img {
  max-height: 75vh;
  object-fit: cover;
}

.trip-gallery-modal .carousel-caption {
  background: rgba(15, 23, 42, 0.65);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.badge.text-bg-success,
.badge.text-bg-warning,
.badge.text-bg-secondary,
.badge.text-bg-danger,
.badge.text-bg-dark,
.badge.text-bg-info {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.badge.text-bg-success {
  background-color: #d1fae5 !important;
  color: #065f46 !important;
}

.badge.text-bg-warning {
  background-color: #fef3c7 !important;
  color: #92400e !important;
}

.badge.text-bg-secondary {
  background-color: #e5e7eb !important;
  color: #111827 !important;
}

.badge.text-bg-info {
  background-color: #cffafe !important;
  color: #0c4a6e !important;
}

.badge.text-bg-danger {
  background-color: #fee2e2 !important;
  color: #991b1b !important;
}

.badge.text-bg-dark {
  background-color: #111827 !important;
  color: #f9fafb !important;
}

.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-transform: uppercase;
  color: #1f2937;
  letter-spacing: 0.05em;
}

.avatar-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.avatar-lg {
  width: 120px;
  height: 120px;
  font-size: 2rem;
}

.social-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-link-item {
  margin: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem 0.35rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  font-weight: 600;
  color: var(--brand-deep);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.social-link:hover,
.social-link:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.25);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.social-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}

.social-link-icon-symbol {
  width: 18px;
  height: 18px;
}

.social-link-label {
  white-space: nowrap;
}

.social-link--instagram .social-link-icon {
  background: radial-gradient(circle at 30% 30%, #fdf497, #f09433 45%, #bc1888 65%, #515bd4);
}

.social-link--facebook .social-link-icon {
  background: #1877f2;
}

.social-link--youtube .social-link-icon {
  background: #ff0000;
}

.social-link--website .social-link-icon {
  background: var(--brand-deep);
  color: #fde68a;
}

.service-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service-schedule-item {
  border: 1px solid var(--border-soft);
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-schedule-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
}

.service-schedule-time {
  font-weight: 700;
  color: var(--brand-deep);
}

.service-schedule-title {
  font-size: 0.95rem;
  color: var(--brand-muted);
}

.service-schedule-actions .btn {
  white-space: nowrap;
}

.community-hero {
  position: relative;
  border-radius: 2.5rem;
  padding: 3.5rem;
  margin-bottom: 2.5rem;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6)), var(--community-hero-image, linear-gradient(135deg, #312e81, #1e1b4b));
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: 0 30px 55px rgba(15, 23, 42, 0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  overflow: hidden;
  isolation: isolate;
}

.community-hero--gradient {
  background-image: linear-gradient(135deg, #0f172a, #312e81);
}

.community-hero > *:not(.community-parallax) {
  position: relative;
  z-index: 1;
}

.community-parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.community-parallax__layer {
  position: absolute;
  width: 55%;
  aspect-ratio: 1 / 1;
  opacity: 0.55;
  filter: blur(0px);
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.4s ease;
}

.community-parallax__layer--glow {
  top: -20%;
  right: -5%;
  border-radius: 45% 55% 35% 65%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.65), rgba(59, 130, 246, 0.25) 45%, rgba(15, 23, 42, 0));
  filter: blur(12px);
}

.community-parallax__layer--orbits {
  bottom: -10%;
  left: -15%;
  width: 70%;
  border-radius: 50% 35% 60% 40%;
  background-image: radial-gradient(circle at 20% 20%, rgba(244, 114, 182, 0.4), rgba(30, 64, 175, 0.05) 55%), repeating-linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0, rgba(59, 130, 246, 0.3) 2px, transparent 2px, transparent 12px);
  opacity: 0.4;
}

.community-parallax__layer--flare {
  top: 35%;
  right: 25%;
  width: 35%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(248, 250, 252, 0.9), rgba(224, 231, 255, 0.1));
  filter: blur(30px);
  opacity: 0.65;
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal[data-reveal="right"] {
  transform: translate3d(40px, 0, 0);
}

.scroll-reveal[data-reveal="left"] {
  transform: translate3d(-40px, 0, 0);
}

.scroll-reveal[data-reveal="down"] {
  transform: translate3d(0, -40px, 0);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.community-stories {
  position: relative;
  border-radius: 2rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(59, 7, 100, 0.9), rgba(30, 64, 175, 0.85));
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(15, 23, 42, 0.35);
}

.community-stories__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.community-stories__controls {
  display: flex;
  gap: 0.5rem;
}

.community-stories__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(15, 23, 42, 0.35);
  color: inherit;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.community-stories__nav:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #fff;
  background: rgba(15, 23, 42, 0.55);
}

.community-stories__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.community-stories__body {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.community-stories__track-wrapper {
  flex: 1 1 420px;
  position: relative;
  overflow: hidden;
}

.community-stories__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.community-stories__track::-webkit-scrollbar {
  display: none;
}

.community-story {
  border: none;
  background: transparent;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-width: 110px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.community-story__ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #f472b6, #facc15, #60a5fa);
  display: inline-flex;
}

.community-story__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid rgba(15, 23, 42, 0.6);
}

.community-story__label {
  font-size: 0.85rem;
  text-align: center;
  max-width: 110px;
  font-weight: 600;
}

.community-story.is-active .community-story__ring {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.4);
}

.community-story.is-active .community-story__label {
  color: #fef9c3;
}

.community-stories__preview {
  flex: 1 1 300px;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.3);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.community-stories__preview-media {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.community-stories__preview-frame {
  flex: 1;
  border-radius: 1.2rem;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.community-stories__preview-frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.community-stories__preview-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 23, 42, 0.45);
  color: inherit;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.community-stories__preview-nav:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.7);
  border-color: #fff;
}

.community-stories__preview-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.community-stories__progress {
  display: flex;
  gap: 0.25rem;
  min-height: 4px;
}

.community-stories__progress-dot {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.community-stories__progress-dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fef3c7;
}

.community-stories__preview-fallback {
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 1.2rem;
  min-height: 260px;
  font-weight: 600;
}

.community-stories__preview-caption strong {
  font-size: 1.1rem;
  display: block;
}

.community-stories__preview-caption small {
  color: rgba(255, 255, 255, 0.75);
}

.community-stories__preview-meta {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 992px) {
  .community-hero {
    background-attachment: fixed;
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .community-parallax__layer {
    width: 85%;
    opacity: 0.35;
  }

  .community-stories {
    padding: 1.5rem;
  }

  .community-stories__controls {
    display: none;
  }

  .community-stories__body {
    flex-direction: column;
    gap: 1rem;
  }

  .community-stories__preview {
    order: 1;
    padding: 1rem 1rem 1.25rem;
  }

  .community-stories__preview-frame img,
  .community-stories__preview-fallback {
    height: 260px;
  }

  .community-stories__track-wrapper {
    order: 2;
    flex: 1 1 auto;
    width: 100%;
    display: block;
    margin-top: 0.25rem;
  }

  .community-stories__track {
    justify-content: flex-start;
    gap: 0.75rem;
    padding-bottom: 0.35rem;
  }

  .community-story {
    min-width: 88px;
  }

  .community-story__ring {
    width: 72px;
    height: 72px;
  }

  .community-story__label {
    font-size: 0.78rem;
  }

  .community-stories__preview-caption strong {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .community-stories__preview-frame img,
  .community-stories__preview-fallback {
    height: 220px;
  }

  .community-stories__preview {
    gap: 0.6rem;
  }

  .community-story {
    min-width: 74px;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-parallax__layer {
    transition: none;
    transform: none !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  .community-gallery__item img,
  .community-mosaic__item img {
    transition: none;
    transform: none !important;
  }
}

.community-hero__content {
  flex: 1 1 320px;
}

.community-hero__content h1 {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.community-hero__subtitle {
  max-width: 540px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.community-hero__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.community-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  flex: 1 1 280px;
}

.community-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.community-stat-card__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.community-stat-card strong {
  display: block;
  font-size: 1.75rem;
  margin-top: 0.4rem;
}

.community-section {
  margin-bottom: 3rem;
}

.community-section__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.community-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-muted);
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.community-tag {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #312e81;
  font-weight: 600;
}

.community-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.community-gallery__item {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.2);
}

.community-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1), filter 0.35s ease;
}

.community-gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 0.9rem;
}

.community-card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.community-card--stacked ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.community-card--stacked li span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.community-info-list p {
  margin: 0.25rem 0;
}

.community-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.community-service {
  display: flex;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  background: var(--surface-alt);
}

.community-service__day {
  font-weight: 700;
  color: var(--brand-deep);
}

.community-service__time {
  display: block;
  color: var(--brand-muted);
}

.community-service__details strong {
  display: block;
  font-size: 1rem;
}

.community-service__details span {
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.community-service__details p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.community-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.community-mosaic__item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 180px;
}

.community-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.community-mosaic__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  font-size: 0.85rem;
}

.community-gallery__item:hover img,
.community-mosaic__item:hover img {
  transform: scale(1.08);
}

.community-card--feature {
  text-align: left;
  background: #0f172a;
  color: #fff;
  min-height: 160px;
}

.community-card--feature span {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.community-card--feature p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

.community-essence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.community-essence-card {
  border-radius: 1.5rem;
  padding: 1.75rem;
  color: #0f172a;
  background: #fff7ed;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.community-essence-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.community-essence-card p {
  margin: 0;
  color: #1f2937;
  line-height: 1.6;
}

.community-essence-card--mission {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.community-essence-card--values {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.community-essence-card--history {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

.community-empty {
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px dashed var(--border-soft);
  text-align: center;
  color: var(--brand-muted);
  background: var(--surface-alt);
}

@media (max-width: 767px) {
  .community-hero {
    padding: 2.5rem;
  }

  .community-service {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.avatar-lg.avatar-image {
  width: 120px;
  height: 120px;
}

.avatar-sm {
  width: 48px;
  height: 48px;
  font-size: 0.95rem;
}

/* Mobile drawer styling */
.mobile-drawer {
  background: radial-gradient(circle at 100% -10%, rgba(249, 115, 22, 0.18), rgba(15, 23, 42, 0.05)), var(--surface-alt);
  border-right: 1px solid rgba(15, 23, 42, 0.05);
}

.mobile-drawer__hero {
  background: linear-gradient(135deg, #0f172a, #182542);
  color: #f8fafc;
  padding: 1.2rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  gap: 0.85rem;
}

.mobile-drawer__brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.mobile-drawer__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.65rem;
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
}

.mobile-drawer__subtitle {
  margin: 0.1rem 0 0;
  color: rgba(248, 250, 252, 0.8);
  font-size: 0.85rem;
}

.mobile-drawer__close {
  border: none;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.mobile-drawer__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(180deg, var(--surface-alt) 0%, #ffffff 35%);
}

.mobile-drawer__block {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 1.25rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  padding: 1rem 1rem 0.35rem;
}

.mobile-drawer__title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-muted);
  margin-bottom: 0.5rem;
}

/* Mobile offcanvas custom sizing and tweaks */
#mobileSidebar {
  --bs-offcanvas-width: 75%;
  max-width: 440px;
}

#mobileSidebar .nav-link,
.mobile-nav-link {
  color: var(--brand-deep);
  font-weight: 700;
}

#mobileSidebar .nav-link:hover,
#mobileSidebar .nav-link:focus,
.mobile-nav-link:hover,
.mobile-nav-link:focus {
  background: rgba(249, 115, 22, 0.06);
  color: var(--brand-highlight);
}

#mobileSidebar .accordion-button {
  padding: 0.65rem 1rem;
  font-weight: 700;
  border-radius: 0.85rem;
  margin-bottom: 0.45rem;
  background: rgba(15, 23, 42, 0.03);
}

#mobileSidebar .accordion-button:focus {
  box-shadow: none;
}

#mobileSidebar .accordion-body .nav-link {
  padding-left: 1.25rem;
}

/* Force offcanvas width to 75% on mobile and avoid full-bleed */
#mobileSidebar.offcanvas {
  --bs-offcanvas-width: 75% !important;
  width: 75% !important;
  max-width: 440px !important;
}

/* Slightly larger width on very small phones */
@media (max-width: 360px) {
  #mobileSidebar.offcanvas {
    --bs-offcanvas-width: 85% !important;
    width: 85% !important;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.85rem;
  padding: 0.65rem 0.85rem;
}

.mobile-nav-icon,
.mobile-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-icon svg {
  width: 100%;
  height: 100%;
}

.mobile-subnav .nav-link {
  border-radius: 0.75rem;
}

.mobile-subnav hr.dropdown-divider {
  margin: 0.35rem 1rem;
}

.mobile-nav-accordion .accordion-item {
  border: none;
}

/* Mobile user photo and details */
.mobile-user-photo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  display: inline-block;
}

.mobile-user-photo-placeholder {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-weight: 700;
}

.mobile-user-name {
  font-weight: 700;
}

.mobile-user-email {
  font-size: 0.85rem;
}

/* Header block inside offcanvas */
.mobile-user-header {
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-soft);
}

.mobile-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  padding: 0.25rem 0 0.65rem;
}

.mobile-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(234, 88, 12, 0.14));
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(234, 88, 12, 0.25);
  transition: all 0.15s ease;
}

.mobile-chip:hover,
.mobile-chip:focus {
  color: var(--brand-highlight);
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.18);
  transform: translateY(-1px);
}
.profile-shell .card {
  border-radius: 1rem;
}

.hero-shell {
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.15), rgba(14, 21, 39, 0.95)), linear-gradient(135deg, #0f172a, #111d38);
  color: #f8fafc;
  padding: 4rem 0 3rem;
  border-radius: 0 0 2.5rem 2.5rem;
  margin-bottom: 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-panel {
  max-width: 560px;
}

.hero-chip {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

.hero-title {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  margin: 1rem 0;
}

.hero-subtitle {
  color: rgba(248, 250, 252, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-scope {
  margin-top: 0.5rem;
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.95rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-main-cta {
  background: var(--brand-highlight);
  border: none;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  box-shadow: 0 15px 30px rgba(249, 115, 22, 0.35);
}

.hero-admin-note {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-admin-note .badge {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-link {
  color: #fef3c7;
  font-weight: 600;
}

.hero-graphic {
  display: grid;
  gap: 1.25rem;
}

.hero-card {
  background: rgba(15, 23, 42, 0.65);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-card.secondary {
  background: rgba(15, 23, 42, 0.5);
}

.hero-card-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-soft);
  font-size: 0.85rem;
}

.hero-card h3 {
  margin: 0.35rem 0;
}

.hero-card-meta {
  color: rgba(248, 250, 252, 0.7);
}

.hero-card-progress {
  background: rgba(248, 250, 252, 0.2);
  border-radius: 999px;
  margin: 0.75rem 0 0.35rem;
  height: 6px;
}

.hero-card-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #facc15, #f97316);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.7;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--surface);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--brand-highlight);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.stat-label {
  margin: 0;
  color: var(--brand-muted);
}

.financial-shell {
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: var(--surface);
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
}

.financial-shell header {
  max-width: 620px;
  margin-bottom: 2rem;
}

.financial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.financial-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  background: var(--surface-alt);
}

.financial-card.primary {
  background: linear-gradient(135deg, #0f172a, #1f2937);
  color: #f8fafc;
  border: none;
  box-shadow: 0 25px 40px rgba(15, 23, 42, 0.25);
}

.financial-card h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.financial-card small {
  color: var(--brand-muted);
}

.financial-card.primary small {
  color: rgba(248, 250, 252, 0.8);
}

.card-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--brand-muted);
}

.financial-card.primary .card-label {
  color: rgba(248, 250, 252, 0.85);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--brand-muted);
}

.actions-shell header {
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.action-card {
  background: var(--surface);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  min-height: 220px;
}

.action-card.highlight {
  background: #0f172a;
  color: #f8fafc;
}

.action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand-highlight);
}

.action-card.highlight .action-link {
  color: #fef3c7;
}

.journey-shell {
  margin: 4rem auto;
}

.journey-card {
  background: var(--surface);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.journey-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}

.journey-list li {
  counter-increment: steps;
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.journey-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--brand-highlight);
}

.journey-list span {
  font-weight: 600;
}

.journey-list small {
  display: block;
  color: var(--brand-muted);
}

.testimony-shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.testimony-card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.testimony-card.soft {
  background: var(--surface-alt);
}

.quote {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.8;
}

.quote-author {
  margin-top: 1.25rem;
  color: var(--brand-muted);
}

.admin-shell {
  background: var(--surface);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 3rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-header h1 {
  margin-bottom: 0.35rem;
}

.admin-header p {
  color: var(--brand-muted);
  margin-bottom: 0;
}

.admin-actions {
  display: flex;
  gap: 0.85rem;
}

.admin-form .form-label {
  font-weight: 600;
  color: var(--brand-deep);
}

.admin-form .form-control,
.admin-form .form-select {
  border-radius: 0.85rem;
  border-color: var(--border-soft);
}

.admin-form small {
  color: var(--brand-muted);
}

.auth-shell {
  background: var(--surface-alt);
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: 2.5rem 1rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.auth-brand-panel {
  background: linear-gradient(135deg, #0f172a, #1d3557);
  color: #f8fafc;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.auth-brand-panel h2 {
  font-family: 'Playfair Display', serif;
  margin-top: 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.auth-brand-panel p {
  color: rgba(248, 250, 252, 0.8);
}

.auth-brand-list {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  line-height: 1.8;
  color: rgba(248, 250, 252, 0.9);
}

.auth-brand-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-weight: 600;
}

.auth-brand-meta a {
  color: var(--brand-soft);
}

.auth-form-panel {
  background: var(--surface);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.auth-header h1 {
  margin: 0.25rem 0 0.5rem;
}

.auth-header p {
  color: var(--brand-muted);
}

.auth-form .form-label {
  font-weight: 600;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 3rem;
}

.password-field input::-ms-reveal,
.password-field input::-ms-clear,
.password-field input::-webkit-credentials-auto-fill-button {
  display: none;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  border: none;
  background: rgba(148, 163, 184, 0.15);
  color: var(--brand-muted);
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus-visible {
  background: rgba(15, 23, 42, 0.08);
  color: var(--brand-deep);
}

.password-eye {
  width: 1.35rem;
  height: 1.35rem;
}

.password-eye-closed {
  display: none;
}

.password-toggle-btn[data-visible="true"] .password-eye-open {
  display: none;
}

.password-toggle-btn[data-visible="true"] .password-eye-closed {
  display: inline;
}

.auth-submit {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.85rem;
  box-shadow: 0 8px 20px rgba(37, 140, 251, 0.25);
}

.auth-remember a,
.auth-alt a,
.auth-brand-meta a {
  font-weight: 600;
}

.auth-alt {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.auth-divider {
  text-align: center;
  margin: 2rem 0 1rem;
  position: relative;
  color: var(--brand-muted);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: var(--border-soft);
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

.auth-external-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.auth-note {
  font-size: 0.95rem;
  color: var(--brand-muted);
  margin-top: 1rem;
}

.auth-shell .alert {
  border-radius: 0.85rem;
}

@media (max-width: 767.98px) {
  .stacked-table thead {
    display: none;
  }

  .stacked-table tbody tr {
    display: block;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.85rem;
    padding: 1rem;
    box-shadow: 0 0.8rem 1.2rem rgba(15, 23, 42, 0.05);
  }

  .stacked-table tbody td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    border: 0 !important;
    padding: 0.55rem 0;
    font-size: 0.95rem;
  }

  .stacked-table tbody td::before {
    content: attr(data-label) ':';
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
  }

  .stacked-table-actions {
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 0.4rem;
  }
}

.table-filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-end;
}

.table-filter-toolbar .form-control {
  border-radius: 0.85rem;
}

.table-filter-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.searchable-dropdown {
  position: relative;
  min-width: 260px;
}

.searchable-dropdown .dropdown-toggle {
  width: 100%;
  text-align: left;
  border-radius: 0.85rem;
  font-weight: 600;
}

.searchable-dropdown .dropdown-toggle::after {
  float: right;
  margin-top: 0.6rem;
}

.searchable-dropdown .dropdown-menu {
  width: min(360px, 90vw);
  max-height: 340px;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.searchable-dropdown .dropdown-menu input {
  border-radius: 0.75rem;
}

.searchable-dropdown-options {
  max-height: 240px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.searchable-dropdown .dropdown-item {
  border-radius: 0.65rem;
  white-space: normal;
  line-height: 1.3;
}

.searchable-dropdown .dropdown-item small {
  display: block;
  color: var(--brand-muted);
}

.table-filter-toolbar .form-text {
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.quick-filter-group {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.quick-filter-group .btn {
  border-radius: 999px;
  font-size: 0.85rem;
  padding: 0.25rem 0.9rem;
}

.quick-filter-group .btn.active {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
}

@media (max-width: 767.98px) {
  .table-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .searchable-dropdown {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .community-stories__preview-frame img,
  .community-stories__preview-fallback {
    height: 220px;
  }

  .community-stories__preview {
    gap: 0.6rem;
  }

  .community-story--compact {
    min-width: 74px;
  }
}