/***************************************************************
 Project Name   : ChurchManagementSystem
 Church Name    : The Holy Hebron Church
 Developed By   : Hebron Media
 Programmer /s  : Pushparaj Thiagaraj
 Dates Updated  : 17-08-2026
 File Name      : site.css
***************************************************************/

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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/***************************************************************
 Home Dashboard
***************************************************************/

.cms-home-dashboard {
  --cms-home-navy: #173554;
  --cms-home-navy-deep: #102940;
  --cms-home-gold: #d6b36a;
  --cms-home-gold-soft: #f2e6ca;
  --cms-home-ink: #1f2937;
  --cms-home-muted: #6b7280;
  --cms-home-border: #e7ebef;
  --cms-home-surface: #ffffff;
  --cms-home-soft: #f6f8fa;
  padding: 0.5rem 0 2.5rem;
}

.cms-home-hero {
  overflow: hidden;
  border: 1px solid rgba(23, 53, 84, 0.12);
  border-radius: 1.35rem;
  background:
    linear-gradient(
      135deg,
      var(--cms-home-navy-deep) 0%,
      var(--cms-home-navy) 60%,
      #244b70 100%);
  box-shadow: 0 1.25rem 3rem rgba(16, 41, 64, 0.16);
}

.cms-home-hero-content {
  padding: 3.2rem 3.25rem;
  color: #ffffff;
}

.cms-home-eyebrow,
.cms-home-section-kicker,
.cms-home-module-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cms-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--cms-home-gold-soft);
}

.cms-home-eyebrow::before {
  width: 2rem;
  height: 2px;
  content: "";
  background: var(--cms-home-gold);
}

.cms-home-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.cms-home-subtitle {
  max-width: 690px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.cms-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cms-home-hero-actions .btn {
  min-width: 150px;
  border-radius: 0.75rem;
  font-weight: 600;
}

.cms-home-primary-action {
  color: var(--cms-home-navy-deep);
}

.cms-home-button-icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.35rem;
  vertical-align: -0.16rem;
}

.cms-home-button-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.cms-home-hero-symbol {
  min-height: 100%;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0) 62%);
}

.cms-home-cross-emblem {
  width: min(72%, 250px);
  opacity: 0.93;
}

.cms-home-cross-emblem svg {
  display: block;
  width: 100%;
}

.cms-home-emblem-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2;
}

.cms-home-emblem-cross {
  fill: var(--cms-home-gold-soft);
}

.cms-home-section {
  margin-top: 2.3rem;
}

.cms-home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.cms-home-section-kicker {
  margin-bottom: 0.35rem;
  color: var(--cms-home-navy);
}

.cms-home-section-heading h2 {
  margin: 0;
  color: var(--cms-home-ink);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cms-home-section-heading p {
  margin: 0.35rem 0 0;
  color: var(--cms-home-muted);
}

.cms-home-module-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.55rem;
  border: 1px solid var(--cms-home-border);
  border-radius: 1rem;
  background: var(--cms-home-surface);
  box-shadow: 0 0.6rem 1.7rem rgba(31, 41, 55, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.cms-home-module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 53, 84, 0.22);
  box-shadow: 0 1rem 2.25rem rgba(31, 41, 55, 0.11);
}

.cms-home-module-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: #edf3f8;
  color: var(--cms-home-navy);
}

.cms-home-module-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
}

.cms-home-module-content {
  min-width: 0;
}

.cms-home-module-label {
  margin-bottom: 0.2rem;
  color: #8a6a2d;
}

.cms-home-module-card h3 {
  margin: 0;
  color: var(--cms-home-ink);
  font-size: 1.45rem;
  font-weight: 700;
}

.cms-home-module-card p {
  min-height: 3.2rem;
  margin: 0.65rem 0 1.1rem;
  color: var(--cms-home-muted);
  line-height: 1.65;
}

.cms-home-module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cms-home-module-actions .btn {
  border-radius: 0.65rem;
  font-weight: 600;
}

.cms-home-overview-section {
  padding-top: 0.15rem;
}

.cms-home-info-card {
  position: relative;
  overflow: hidden;
  padding: 1.45rem;
  border: 1px solid var(--cms-home-border);
  border-radius: 1rem;
  background: var(--cms-home-soft);
}

.cms-home-info-number {
  margin-bottom: 0.85rem;
  color: #9a7635;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.cms-home-info-card h3 {
  margin: 0;
  color: var(--cms-home-ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.cms-home-info-card p {
  margin: 0.55rem 0 0;
  color: var(--cms-home-muted);
  line-height: 1.65;
}

@media (max-width: 991.98px) {
  .cms-home-hero-content {
    padding: 2.65rem 2.25rem;
  }
}

@media (max-width: 767.98px) {
  .cms-home-dashboard {
    padding-top: 0;
  }

  .cms-home-hero {
    border-radius: 1rem;
  }

  .cms-home-hero-content {
    padding: 2rem 1.35rem;
  }

  .cms-home-title {
    font-size: 2.25rem;
  }

  .cms-home-subtitle {
    font-size: 1rem;
  }

  .cms-home-hero-actions {
    flex-direction: column;
  }

  .cms-home-hero-actions .btn {
    width: 100%;
  }

  .cms-home-module-card {
    flex-direction: column;
  }

  .cms-home-module-card p {
    min-height: auto;
  }

  .cms-home-module-actions {
    flex-direction: column;
  }

  .cms-home-module-actions .btn {
    width: 100%;
  }
}
