:root {
  --brand-color: #5b7cff;
  --bg-surface: #ffffff;
  --bg-muted: #f8f9fa;
  --border: rgba(0, 0, 0, 0.06);
  --text-muted: #6c757d;
  --text-dark: #0f172a;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Show navbar brand text on all screens by default */
.navbar-brand-text {
  display: inline !important;
}

/* Only hide on extra small screens if space is critical */
  @media (max-width: 300px) {
  .navbar-brand-text {
    display: none !important;
  }
}

/* Keep logo visible on all screens */
.site-logo {
  width: 40px;
  height: auto;
}

.site-logo {
  max-height: 56px;
  object-fit: cover;
}

.navbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-toggler {
  border: none;
}

.navbar-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}

@media (max-width: 576px) {
  .navbar-text {
    font-size: 1.25rem !important;
  }
}

@media (min-width: 992px) {
  .navbar-text {
    font-size: 1.75rem !important;
  }
}

.prayer-strip {
  background: var(--bg-muted);
  padding: 0.6rem 0;
  overflow: hidden;
}

.prayer-scroll {
  overflow: hidden;
}

.prayer-track {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  will-change: transform;
  animation: marquee linear infinite;
  animation-duration: 18s;
}

.prayer-track:hover {
  animation-play-state: paused;
}

.prayer-item {
  display: inline-flex;
  align-items: center;
  min-width: 120px;
  padding: 0.4rem 0.75rem;
  border-radius: 0.4rem;
  background: #fff;
  margin-right: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  flex: 0 0 auto;
}

.news-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.25rem;
}

.footer-modern {
  background: #f8fafc;
  color: #334155;
}

.footer-modern a {
  color: #3753ba;
}

.footer-modern a:hover {
  color: #1e40af;
}

.footer-modern .footer-top {
  padding: 3rem 0 2rem;
}

.footer-modern .footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-modern .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-modern .footer-links li {
  margin-bottom: 0.75rem;
}

.footer-modern .footer-links h6 {
  color: #94a3b8;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-modern .social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-right: 0.5rem;
  transition: background 0.2s ease;
}

.footer-modern .social-icon:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer-modern .support-pill {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  display: inline-flex;
  justify-content: space-between;
  width: 100%;
  max-width: 280px;
  color: #cbd5e1;
}

.footer-modern .footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: 1.5rem;
  color: #94a3b8;
}

.section-surface {
  background: var(--bg-surface);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-card .form-control,
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid #dfe3e8;
  border-radius: 0.75rem;
  padding: 0.55rem 1rem;
  background: #fbfbfd;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  border-color: var(--brand-color);
  outline: 0;
  box-shadow: 0 0 0 0.15rem rgba(91, 124, 255, 0.15);
}

.form-card .form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: #334155;
}

.form-card .form-text {
  color: #6c757d;
  margin-top: 0.25rem;
}

.form-card p {
  margin-bottom: 0.75rem;
}

.form-card .form-errors {
  margin-bottom: 1rem;
}

.form-card .btn {
  border-radius: 0.85rem;
  padding: 0.85rem 1.5rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(var(--marquee-distance) * -1)); }
}

@media (prefers-reduced-motion: reduce) {
  .prayer-track {
    animation: none !important;
  }
}
  .activity-card {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  .activity-table {
    margin: 0;
  }

  .activity-table thead th {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid #e9eef5;
    padding: 14px 18px;
  }

  .activity-table tbody td {
    padding: 15px 18px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
  }

  .activity-table tbody tr:last-child td {
    border-bottom: 0;
  }

  /* Upcoming */
  .activity-row {
    transition: all 0.2s ease;
  }

  .activity-row:hover {
    background: #f8fafc;
  }

  /* Passed */
  .activity-row.passed {
    color: #94a3b8;
    opacity: 0.55;
  }

  .activity-row.passed:hover {
    opacity: 0.75;
  }

  .activity-row.passed .activity-title {
    text-decoration: line-through;
    text-decoration-color: #cbd5e1;
  }

  /* Current */
  .activity-row.current {
    position: relative;
    background: linear-gradient(
      90deg,
      #eff6ff 0%,
      #f8fbff 100%
    );
  }

  .activity-row.current td:first-child {
    border-left: 4px solid #3b82f6;
  }

  .activity-row.current .activity-title {
    color: #1d4ed8;
    font-weight: 700;
  }

  .activity-time {
    white-space: nowrap;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
  }

  .activity-row.passed .activity-time {
    color: #94a3b8;
  }

  .activity-location {
    color: #64748b;
    font-size: 0.9rem;
  }

  .current-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.7rem;
    font-weight: 700;
  }

  .current-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    animation: pulse 1.8s infinite;
  }

  @keyframes pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.35;
    }
  }

  @media (max-width: 576px) {
    .activity-table thead th,
    .activity-table tbody td {
      padding: 12px 14px;
    }

    .activity-location {
      font-size: 0.82rem;
    }

    .current-badge {
      display: flex;
      width: fit-content;
      margin: 5px 0 0;
    }
  }

  .registration-page {
    padding: 3rem 0 5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  }

  .registration-page .page-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 3rem;
  }

.hero {
  padding: 4rem 0 2rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.16), transparent 22%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.08));
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border: 1px solid rgba(37, 99, 235, 0.2);
  }

h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .registration-page .intro-text {
    max-width: 720px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
  }

  .register-layout {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 720px);
    gap: 2rem;
    align-items: start;
  }

  .panel {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06), 0 0 1px rgba(15, 23, 42, 0.1);
    padding: 2.2rem;
    transition: box-shadow 200ms ease, transform 200ms ease;
  }

  .panel:hover {
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1), 0 0 1px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
  }

  .info-panel {
    flex: 1 1 320px;
    min-width: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
  }

  .form-panel {
    flex: 1 1 520px;
    min-width: 320px;
  }

  .panel h2 {
    margin-top: 0;
    color: #0f172a;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
  }

  .panel p {
    color: #475569;
    line-height: 1.8;
    font-size: 0.95rem;
  }

  .info-panel p + p {
    margin-top: 1.3rem;
  }

  .member-count {
    margin-bottom: 1.5rem;
  }

  .member-count label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
  }

  .member-card {
    padding: 1.6rem;
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  }

  .member-card h3 {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
  }

  .modern-select,
  .form-panel input,
  .form-panel select,
  .form-panel textarea {
    width: 100%;
    border-radius: 1rem;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.4rem 0.4rem;
    font-size: 1rem;
    color: #0f172a;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
    font-family: inherit;
  }

  .modern-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #2563eb 50%),
      linear-gradient(135deg, #2563eb 50%, transparent 50%);
    background-position: calc(100% - 1.1rem) center, calc(100% - 0.8rem) center;
    background-size: 0.6em 0.6em, 0.6em 0.6em;
    background-repeat: no-repeat;
    padding-right: 2.8rem;
  }

  .modern-select:focus,
  .form-panel input:focus,
  .form-panel select:focus,
  .form-panel textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
    background: #ffffff;
  }

  .form-field {
    margin-bottom: 1.3rem;
  }

  .form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
  }

  .field-error .modern-select,
  .field-error input,
  .field-error select,
  .field-error textarea {
    border-color: #ef4444;
    background: #fef2f2;
  }

  .field-error:focus-within {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16) !important;
  }

  .field-error-text {
    display: block;
    margin-top: 0.5rem;
    color: #dc2626;
    font-size: 0.9rem;
    font-weight: 500;
  }

  .form-intro p {
    color: #64748b;
    margin-bottom: 1.5rem;
  }

  .button-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
  }

  .submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none;
    border-radius: 1rem;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.25);
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
    text-transform: uppercase;
    letter-spacing: 0.01em;
  }

  .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.35);
  }

  .submit-button:active {
    transform: translateY(0);
  }

  .status-card {
    padding: 1.5rem 1.8rem;
    border-radius: 1.2rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid;
    background: #ecfdf5;
    border-color: #10b981;
  }

  .status-card h2 {
    color: #065f46;
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
  }

  .status-card p {
    color: #047857;
    margin: 0.5rem 0;
    font-weight: 500;
  }

  .error-summary {
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    border-radius: 1.2rem;
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    color: #7f1d1d;
    line-height: 1.7;
  }

  .error-summary ul {
    margin: 0;
    padding-left: 1.5rem;
  }

  .error-summary li {
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  #loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hidden {
    display: none;
  }

  @media (max-width: 940px) {
    .register-layout {
      grid-template-columns: 1fr;
    }

    .registration-page h1 {
      font-size: 2.2rem;
    }

    .button-row {
      width: 100%;
    }

    .panel {
      padding: 1.8rem;
    }
  }

  @media (max-width: 640px) {
    .registration-page {
      padding: 2rem 0 3rem;
    }

    .registration-page h1 {
      font-size: 1.8rem;
    }

    .registration-page .intro-text {
      font-size: 1rem;
    }

    .panel {
      padding: 1.5rem;
      border-radius: 1.2rem;
    }

    .member-count label,
    .form-field label {
      font-size: 0.9rem;
    }

    .submit-button {
      padding: 1rem 1.2rem;
      font-size: 1rem;
    }
  }

.islam-hero { padding: 3rem 0 5rem;  text-align:center;    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 28%), radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.16), transparent 22%); }

.formset-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.form-member {
  background: #fbfdff;
  border: 1px solid #edf3ff;
  border-radius: 1rem;
  padding: 1.2rem;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.form-member:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.24);
}

.form-member-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(37, 99, 235, 0.12);
}

.form-member-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.form-member-title {
  color: #0f172a;
  font-weight: 700;
  font-size: 1rem;
}

.form-field {
  margin-bottom: 0.85rem;
}

.form-field:last-child {
  margin-bottom: 0;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: #334155;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid #dce5f2;
  background: #fff;
  padding: 0.4rem 0.4rem;
  font-size: 0.95rem;
  color: #0f172a;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.field-error input,
.field-error select,
.field-error {
  border-color: #f97316;
  background: #fff7ed;
}

.field-error-text {
  display: block;
  margin-top: 0.35rem;
  color: #dc2626;
  font-size: 0.88rem;
  line-height: 1.5;
}

.field-help {
  display: block;
  margin-top: 0.3rem;
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .formset-container {
    grid-template-columns: 1fr;
  }
}

/* Modern News Card */
.news-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.13);
}

/* Image */
.news-image-wrapper {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image {
  transform: scale(1.06);
}

.news-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.65),
    rgba(15, 23, 42, 0.05) 65%
  );
}

/* Badge */
.news-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 11px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.92);
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}

/* Card body */
.news-card .card-body {
  padding: 24px;
}

/* Heading */
.news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.news-label {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.news-card .card-title {
  color: #0f172a;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.5px;
}

.news-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 20px;
  transition: all 0.3s ease;
}

.news-card:hover .news-arrow {
  background: #2563eb;
  color: #ffffff;
  transform: translateX(3px);
}

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.news-list li {
  border-bottom: 1px solid #f1f5f9;
}

.news-list li:last-child {
  border-bottom: none;
}

/* News link */
.news-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 8px;
  color: #334155;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.news-link:hover {
  background: #f8fafc;
  color: #2563eb;
  padding-left: 12px;
}

/* Blue dot */
.news-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px #dbeafe;
}

/* Title */
.news-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

/* Chevron */
.news-chevron {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 21px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.news-link:hover .news-chevron {
  color: #2563eb;
  transform: translateX(3px);
}

.grid-container {
  padding-right: 0.625rem;
  padding-left: 0.625rem;
  padding-top: 15px;
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}
@media print, screen and (min-width: 40em) {
  .grid-container {
    padding-right: 0.9375rem;
    padding-left: 0.9375rem;
  }
}
.grid-container.full {
  padding-right: 0;
  padding-left: 0;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}


.grid-container:not(.full) > .grid-padding-x {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}
@media print, screen and (min-width: 40em) {
  .grid-container:not(.full) > .grid-padding-x {
    margin-right: -0.9375rem;
    margin-left: -0.9375rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .news-image-wrapper {
    height: 180px;
  }

  .news-card .card-body {
    padding: 20px;
  }

  .news-card .card-title {
    font-size: 21px;
  }

  .news-title {
    font-size: 13px;
  }
}

.about-page {
  padding-bottom: 4rem;
}


.about-hero h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-hero p {
  max-width: 760px;
  margin: 1.3rem auto 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 2rem;
  margin-top: 2rem;
}

.about-card h2 {
  margin-top: 0;
  color: #0f172a;
  font-size: 1.75rem;
}

.about-card p {
  color: #475569;
  line-height: 1.85;
  margin: 0.95rem 0;
}

.about-feature {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: #fbfdff;
  margin-bottom: 1rem;
}

.about-feature:last-child {
  margin-bottom: 0;
}

.about-feature-title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
}

.about-feature-index {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #ffffff;
  font-weight: 700;
}

.team-section {
  margin-top: 3.5rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0.6rem;
  font-size: 2rem;
  color: #0f172a;
}

.section-heading p {
  margin: 0 auto;
  max-width: 680px;
  color: #64748b;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.profile-card {
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(96, 165, 250, 0.18);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.profile-card-header {
  padding: 1.5rem;
  background: #eff6ff;
  border-bottom: 1px solid rgba(96, 165, 250, 0.15);
}

.profile-card-header h4 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f172a;
}

.profile-card-header p {
  margin: 0.65rem 0 0;
  color: #2563eb;
  font-size: 0.95rem;
}

.profile-card-body {
  padding: 1.5rem;
}

.profile-card-body p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.about-divider {
  width: 6rem;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  margin: 1.25rem auto;
}

@media (min-width: 900px) {
  .about-section {
    grid-template-columns: 1.5fr 1fr;
  }
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 3rem 1rem;
}

.error-wrap {
  max-width: 700px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
  padding: 3rem 2rem;
}

.error-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.error-page h1 {
  margin: 0 0 1rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.error-page p {
  margin: 0 auto 2rem;
  max-width: 560px;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
}

.button.secondary {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.button:hover {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .error-wrap {
    padding: 2.25rem 1.25rem;
  }

  .error-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}


  .pray-hero {
    position: relative;
    padding: 4rem 0 1.5rem;
    text-align: center;
    overflow: hidden;
  }

  .pray-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 28%),
      radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.16), transparent 22%);
    pointer-events: none;
  }


  .pray-hero h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .pray-hero p {
    position: relative;
    max-width: 760px;
    margin: 1.25rem auto 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
  }

  .pray-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }

  .summary-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 1.4rem 1.5rem;
    min-height: 148px;
  }

  .summary-label {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .summary-card h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #0f172a;
    line-height: 1.2;
  }

  .summary-card p {
    margin: 0.65rem 0 0;
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
  }

  .pray-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.75rem;
  }

  .pray-current-card,
  .pray-card {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
    overflow: hidden;
  }

  .pray-current-card {
    border-color: rgba(37, 99, 235, 0.18);
  }

  .pray-current-card .card-header,
  .pray-card .card-divider {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    background: #eff6ff;
  }

  .pray-current-card .card-header {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
  }

  .pray-current-card .card-header h2,
  .pray-card .card-divider h2 {
    margin: 0;
    font-size: 1.35rem;
    color: inherit;
  }

    .pray-current-card .card-header p {
        position: relative;
        max-width: 760px;
        margin: 1.25rem auto 0;
        color: #475569;
        font-size: 1rem;
        line-height: 1.8;
  }

  .pray-card .card-divider {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .pray-table {
    width: 100%;
    min-width: 920px;
    border-collapse: separate;
    border-spacing: 0;
  }

  .table-scroll {
    overflow-x: auto;
  }

  .pray-table th,
  .pray-table td {
    padding: 1rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .pray-table th {
    position: sticky;
    top: 0;
    background: rgba(37, 99, 235, 0.1);
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0.03em;
  }

  .pray-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.06);
  }

  .pray-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.02);
  }

  .pray-table td {
    color: #334155;
  }

  .pray-note {
    margin: 0.4rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
  }

  .year-section {
    margin-top: 2rem;
  }

  .year-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #0f172a;
    text-align: center;
  }

  .year-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .pray-card .card-divider h2 {
    font-size: 1.15rem;
    color: #0f172a;
  }

  .pray-card .card-divider span {
    color: #475569;
    font-size: 0.95rem;
  }

  @media (max-width: 900px) {
    .pray-hero {
      padding: 3rem 0 1rem;
    }

    .pray-summary-grid {
      grid-template-columns: 1fr;
    }

    .pray-current-card .card-header,
    .pray-card .card-divider {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  @media (max-width: 760px) {
    .pray-table {
      min-width: 100%;
    }

    .pray-current-card,
    .pray-card {
      border-radius: 1.25rem;
    }
  }
