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

:root {
  --landing-ink: #10243e;
  --landing-navy: #17375f;
  --landing-gold: #b9903e;
  --landing-gold-soft: #ead8b0;
  --landing-cream: #f7f2e8;
  --landing-white: #ffffff;
  --landing-muted: #66788f;
  --landing-line: #d9c59b;
}

body.public-landing {
  font-family: "DM Sans", "Open Sans", sans-serif;
  color: var(--landing-ink);
  background-color: #ffffff;
  background-image: none;
}

body.public-landing.main-bg {
  background-color: #ffffff !important;
  background-image: none !important;
}

body.public-landing h1,
body.public-landing h2,
body.public-landing h3,
body.public-landing h4,
body.public-landing h5,
body.public-landing h6 {
  font-family: "Montserrat", "DM Sans", sans-serif;
  letter-spacing: normal;
}

body.public-landing .public-main p,
body.public-landing .public-main .lead,
body.public-landing .public-main .small,
body.public-landing .public-main .form-label,
body.public-landing .public-main .form-select,
body.public-landing .public-main .form-control,
body.public-landing .public-main .btn {
  font-family: "Montserrat", "DM Sans", sans-serif;
}

body.public-landing .navbar {
  border-bottom: 1px solid rgba(16, 36, 62, 0.08) !important;
  background: #ffffff !important;
  backdrop-filter: none;
  padding-top: 0;
  padding-bottom: 0;
}

body.public-landing .navbar > .container {
  min-height: 91px;
}

body.public-landing .navbar .navbar-brand {
  margin-right: 1.35rem;
  line-height: 1;
}

body.public-landing .navbar .navbar-brand img {
  height: 69px;
  width: auto;
}

body.public-landing .navbar .navbar-collapse {
  gap: 0.9rem;
  justify-content: flex-end;
}

body.public-landing .navbar .public-nav-main {
  gap: 0.15rem;
  margin-left: auto;
}

body.public-landing .navbar .nav-link {
  font-family: "Open Sans", "DM Sans", sans-serif;
  color: #1d3557;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  padding: 0.5rem 0.72rem;
  position: relative;
}

body.public-landing .navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05rem;
  width: 0;
  height: 2px;
  background: var(--landing-gold);
  transition: width 0.22s ease;
}

body.public-landing .navbar .nav-link:hover::after,
body.public-landing .navbar .nav-link:focus::after {
  width: 100%;
}

body.public-landing .navbar .public-nav-auth {
  margin-left: 0.4rem;
}

body.public-landing .navbar .public-nav-auth .btn,
body.public-landing .navbar .public-nav-auth .small {
  font-family: "Open Sans", "DM Sans", sans-serif;
}

body.public-landing .navbar .public-nav-auth .btn {
  min-height: 36px;
  padding: 0.42rem 0.95rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.public-landing .navbar .public-nav-auth .nav-item {
  display: flex;
  align-items: center;
}

body.public-landing .navbar .btn-primary,
body.public-landing .btn-primary {
  background: rgba(55, 36, 107, 1);
  border-color: rgba(55, 36, 107, 1);
  color: var(--landing-white);
}

body.public-landing .navbar .btn-primary:hover,
body.public-landing .btn-primary:hover,
body.public-landing .btn-primary:focus {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

body.public-landing .btn-light,
body.public-landing .btn-outline-primary,
body.public-landing .btn-outline-danger {
  border-radius: 999px;
}

body.public-landing .public-main {
  max-width: 1200px;
}

body.public-home .landing-hero .card {
  border-radius: 22px;
  background:
    linear-gradient(122deg, rgba(14, 36, 64, 0.9) 0%, rgba(23, 55, 95, 0.88) 58%, rgba(18, 44, 75, 0.92) 100%),
    url("https://images.unsplash.com/photo-1472289065668-ce650ac443d2?auto=format&fit=crop&w=1400&q=80") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

body.public-home .landing-hero .card .text-uppercase {
  color: rgba(247, 232, 201, 0.95);
  letter-spacing: 0.14em;
  font-weight: 600;
}

body.public-home .landing-hero .card h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 0.85rem;
}

body.public-home .landing-hero .card .lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
}

body.public-home .landing-hero .avatar {
  border: 1px solid rgba(234, 216, 176, 0.42);
  background: rgba(234, 216, 176, 0.14) !important;
}

body.public-home .landing-section {
  margin-top: 1.5rem;
}

body.public-home .landing-section h2 {
  color: #112845;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  margin-bottom: 0;
}

body.public-home .landing-section .badge {
  background: #f7ecd3 !important;
  color: #4f3b16 !important;
  border: 1px solid var(--landing-line);
}

body.public-home .landing-section .card {
  border: 1px solid rgba(16, 36, 62, 0.08);
  box-shadow: 0 16px 38px rgba(16, 36, 62, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.public-home .landing-section .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(16, 36, 62, 0.14);
}

body.public-home .landing-section .card-img-top,
body.public-home #featured .featured-media-img {
  filter: saturate(1.06) contrast(1.02);
}

body.public-home .landing-section .card-img-top {
  width: 100%;
  height: 250px;
  object-fit: contain;
  object-position: center;
  background: #f5f7fa;
  display: block;
}

body.public-home #featured .featured-media {
  min-height: 260px;
  max-height: 330px;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.public-home #featured .featured-media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

body.public-home .landing-section .text-muted,
body.public-shop .text-muted {
  color: var(--landing-muted) !important;
}

body.public-home .landing-section .text-success,
body.public-home .landing-section .fw-semibold,
body.public-shop .fw-semibold,
body.public-shop h5 {
  color: #17375f !important;
}

body.public-home .landing-section .btn-outline-primary {
  color: #15365e;
  border-color: rgba(21, 54, 94, 0.4);
}

body.public-home .landing-section .btn-outline-primary:hover {
  color: var(--landing-white);
  border-color: #15365e;
  background: #15365e;
}

body.public-attendance-confirm .attendance-confirm-section {
  margin-top: clamp(0.8rem, 2vw, 1.6rem);
  margin-bottom: clamp(1.2rem, 2.8vw, 2.2rem);
}

body.public-attendance-confirm .attendance-confirm-card {
  border-radius: 1rem;
  border: 1px solid rgba(16, 36, 62, 0.08);
  box-shadow: 0 18px 42px rgba(16, 36, 62, 0.1);
  background:
    linear-gradient(180deg, rgba(247, 242, 232, 0.5) 0%, rgba(255, 255, 255, 0.96) 70%),
    #ffffff;
}

body.public-attendance-confirm .attendance-confirm-eyebrow {
  letter-spacing: 0.14em;
  color: #5f4a20;
  font-weight: 700;
}

body.public-attendance-confirm .attendance-confirm-title {
  color: #112845;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

body.public-attendance-confirm .attendance-confirm-subtitle {
  color: var(--landing-muted);
}

body.public-attendance-confirm .attendance-confirm-alert {
  border-radius: 0.85rem;
  border-width: 1px;
}

body.public-attendance-confirm .attendance-confirm-detail-card {
  border-radius: 0.9rem;
  border-color: rgba(16, 36, 62, 0.14);
  background: rgba(255, 255, 255, 0.98);
}

body.public-attendance-confirm .attendance-confirm-label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5f7087;
  font-weight: 600;
}

body.public-attendance-confirm .attendance-confirm-value {
  color: #132b4b;
  font-weight: 600;
}

body.public-attendance-confirm .attendance-confirm-status {
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
}

body.public-attendance-confirm .attendance-confirm-actions .btn {
  min-height: 42px;
  border-radius: 999px;
  font-weight: 600;
}

body.public-attendance-confirm .attendance-confirm-actions .btn-success {
  background: #17375f;
  border-color: #17375f;
}

body.public-attendance-confirm .attendance-confirm-actions .btn-success:hover,
body.public-attendance-confirm .attendance-confirm-actions .btn-success:focus {
  background: #10243e;
  border-color: #10243e;
}

@media (max-width: 575.98px) {
  body.public-attendance-confirm .attendance-confirm-actions .btn {
    width: 100%;
  }
}

body.public-shop .h4 {
  color: #112845;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

body.public-shop .form-select,
body.public-shop .form-control {
  border-radius: 10px;
  border-color: rgba(16, 36, 62, 0.2);
}

body.public-shop .form-select:focus,
body.public-shop .form-control:focus {
  border-color: #1a3f6c;
  box-shadow: 0 0 0 0.22rem rgba(26, 63, 108, 0.14);
}

body.public-shop .btn-outline-primary {
  color: #16375f;
  border-color: rgba(22, 55, 95, 0.42);
}

body.public-shop .btn-outline-primary:hover {
  color: var(--landing-white);
  background: #16375f;
  border-color: #16375f;
}

body.public-shop .shop-category-section + .shop-category-section {
  margin-top: 2.2rem;
}

body.public-shop .shop-product-card {
  border: 1px solid rgba(16, 36, 62, 0.08);
  border-radius: 1.05rem;
  box-shadow: 0 12px 26px rgba(16, 36, 62, 0.08);
  overflow: hidden;
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767.98px) {
  body.public-home .landing-section .card-img-top {
    height: 210px;
  }

  body.public-home #featured .featured-media {
    min-height: 220px;
    max-height: 260px;
  }
}

body.public-shop .shop-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(16, 36, 62, 0.14);
}

body.public-shop .shop-product-cover {
  height: 270px;
  border-radius: 0.85rem;
  background: linear-gradient(140deg, #f4eee1 0%, #f8f4eb 100%);
  background-size: cover;
  background-position: center;
}

body.public-shop .shop-product-cover.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f6a3d;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.public-shop .shop-product-title {
  min-height: 2.8rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  color: #112845;
}

body.public-shop .shop-product-desc {
  min-height: 2.7rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.public-shop .shop-product-see-more {
  margin-top: 0.2rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: #17375f;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
}

body.public-shop .shop-product-see-more:hover {
  color: #10243e;
}

body.public-shop .shop-product-desc-popover {
  max-width: min(360px, 92vw);
}

body.public-shop .shop-product-desc-popover .popover-body {
  white-space: pre-line;
  word-break: break-word;
}

body.public-shop .shop-product-cart-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 55, 95, 0.2);
  background: #fff;
  color: #17375f;
  transition: all 0.2s ease;
}

body.public-shop .shop-product-cart-btn:hover {
  background: #17375f;
  color: #fff;
  border-color: #17375f;
}

body.public-member .public-member-payment-btn {
  min-height: 50px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  border-color: rgba(55, 36, 107, 1);
  color: rgba(55, 36, 107, 1);
}

body.public-member .public-member-payment-btn:hover,
body.public-member .public-member-payment-btn:focus,
body.public-member .public-member-payment-btn:active {
  background: rgba(55, 36, 107, 1);
  border-color: rgba(55, 36, 107, 1);
  color: var(--landing-white);
}

body.public-member .public-member-payment-btn-logo {
  height: 20px;
  width: auto;
  display: block;
}

body.public-shop .shop-qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 55, 95, 0.16);
  border-radius: 999px;
  padding: 2px;
  background: #f9f5ea;
}

body.public-shop .shop-qty-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2d4364;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.public-landing .mli-cert-footer {
  margin-top: 3rem;
  background: #300070;
  color: #ffffff;
}

body.public-landing .mli-cert-footer-inner {
  max-width: 1280px;
  text-align: left;
  padding-top: clamp(2.2rem, 4vw, 2.8rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

body.public-landing .mli-cert-footer-logo {
  display: inline-flex;
  justify-content: flex-start;
  margin-bottom: 1.05rem;
}

body.public-landing .mli-cert-footer-logo img {
  width: clamp(160px, 16vw, 190px);
  height: auto;
  display: block;
}

body.public-landing .mli-cert-footer-tagline {
  margin: 0;
  font-family: "Work Sans", "Open Sans", sans-serif;
  font-size: clamp(0.92rem, 1.2vw, 1.18rem);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.01em;
}

body.public-landing .mli-cert-footer-contact-row {
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.7rem;
}

body.public-landing .mli-cert-footer-social {
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.15rem;
}

body.public-landing .mli-cert-footer-social a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
  transition: opacity 0.2s ease;
}

body.public-landing .mli-cert-footer-social a:hover,
body.public-landing .mli-cert-footer-social a:focus-visible {
  color: #ffffff;
  opacity: 0.78;
}

body.public-landing .mli-cert-footer-social .bi-instagram {
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 0.36rem;
  padding: 1px;
  font-size: 0.92rem;
}

body.public-landing .mli-cert-footer-social .bi-linkedin,
body.public-landing .mli-cert-footer-social .bi-youtube {
  font-size: 1.02rem;
}

body.public-landing .mli-cert-footer-email {
  color: #ffffff;
  text-decoration: none;
  font-family: "Work Sans", "Open Sans", sans-serif;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

body.public-landing .mli-cert-footer-email:hover,
body.public-landing .mli-cert-footer-email:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

body.public-landing .mli-cert-footer-copy {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-family: "Work Sans", "Open Sans", sans-serif;
  font-size: clamp(0.84rem, 0.92vw, 0.95rem);
  letter-spacing: 0.01em;
}

@media (max-width: 575.98px) {
  body.public-landing .mli-cert-footer {
    margin-top: 2rem;
  }

  body.public-landing .mli-cert-footer-inner {
    padding-top: 2.3rem;
    padding-bottom: 2.1rem;
    text-align: center;
  }

  body.public-landing .mli-cert-footer-contact-row {
    margin-top: 1.05rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
  }

  body.public-landing .mli-cert-footer-social {
    justify-content: center;
    gap: 1.4rem;
  }

  body.public-landing .mli-cert-footer-logo {
    justify-content: center;
  }
}

body.public-shop .shop-qty-btn:hover {
  background: #e4d4ae;
  color: #122e4f;
}

body.public-shop .shop-qty-value {
  min-width: 24px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #24334f;
  user-select: none;
}

@media (max-width: 992px) {
  body.public-landing .navbar > .container {
    min-height: 76px;
  }

  body.public-landing .navbar .navbar-brand img {
    height: 56px;
  }

  body.public-landing .navbar .navbar-collapse {
    border-top: 1px solid rgba(16, 36, 62, 0.08);
    margin-top: 0.65rem;
    padding-top: 0.75rem;
  }

  body.public-landing .navbar .public-nav-main,
  body.public-landing .navbar .public-nav-auth {
    width: 100%;
    margin-left: 0;
    gap: 0.15rem;
  }

  body.public-landing .navbar .nav-link {
    padding: 0.56rem 0;
  }

  body.public-landing .navbar .public-nav-auth {
    margin-top: 0.55rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(16, 36, 62, 0.12);
  }

  body.public-landing .navbar .public-nav-auth .btn {
    width: auto;
  }

  body.public-home .landing-hero .card {
    border-radius: 18px;
  }

  body.public-home .landing-hero .card-body {
    padding: 1.75rem !important;
  }
}

@media (max-width: 576px) {
  body.public-landing .navbar > .container {
    min-height: 66px;
  }

  body.public-landing .navbar .navbar-brand img {
    height: 42px;
  }

  body.public-shop .shop-product-cover {
    height: 155px;
  }

  body.public-home .landing-section h2 {
    font-size: 1.35rem;
  }
}
