/* Home page modern refinements (sections after hero)
   Also shared styles for about page sections. */

/* About / intro section */
.home-about {
  position: relative;
  padding: 80px 0;
}

.home-about .row.align-center {
  row-gap: 32px;
}

.home-about .thumb img {
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.home-about .thumb img:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.25);
}

.home-about .info {
  padding-left: 24px;
}

.home-about .area-title {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.home-about p {
  font-size: 0.98rem;
  color: #4b5563;
}

.home-about .home-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.home-about .home-about-actions .btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Become a Member CTA band */
.home-cta {
  position: relative;
  padding: 72px 0 56px;
  background: radial-gradient(circle at top left, #f1f5f9 0, #e5f4ff 35%, #f9fafb 100%);
}

.home-cta h5 {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.home-cta h2.area-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.home-cta p {
  max-width: 640px;
  margin: 0 auto;
  color: #4b5563;
}

/* Membership cards */
.home-memberships {
  padding: 72px 0 64px;
  background: #ffffff;
}

.home-memberships .box-items {
  margin-top: 8px;
}

.home-memberships .single-item .item {
  border-radius: 18px;
  padding: 28px 22px 24px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background: #ffffff;
}

.home-memberships .single-item .item i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #2563eb;
}

.home-memberships .single-item .item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.home-memberships .single-item .item p {
  font-size: 0.9rem;
  color: #64748b;
  min-height: 54px;
}

.home-memberships .single-item .item a i {
  color: #2563eb;
  font-size: 0.9rem;
}

.home-memberships .single-item .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  border-color: rgba(37, 99, 235, 0.45);
}

/* Upcoming events section */
.home-events {
  padding: 72px 0;
  background: linear-gradient(135deg, #f1f5f9 0%, #e0f2fe 40%, #eef2ff 100%);
}

.home-events .heading-left h5 {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #0f172a;
}

.home-events .heading-left h2 {
  font-size: 1.7rem;
}

.home-events .heading-left p {
  color: #475569;
}

.home-events .btn.btn-gradient {
  border-radius: 999px;
  padding-inline: 20px;
}

.home-events .item {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-events .item .thumb img {
  border-radius: 0;
}

.home-events .item .info {
  padding: 18px 18px 20px;
}

.home-events .item .info h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.home-events .item .info p {
  font-size: 0.9rem;
  color: #64748b;
}

.home-events .item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
}

/* Events listing page */
.events-page-upcoming {
  padding-top: 72px;
}

.events-page-latest {
  padding-top: 64px;
}

.events-page-upcoming .event-card-upcoming {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  margin: 0 8px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.events-page-upcoming .event-card-upcoming .thumb img {
  border-radius: 0;
}

.events-page-upcoming .event-card-upcoming .info {
  padding: 16px 18px 20px;
}

.events-page-upcoming .event-card-upcoming h4 a {
  font-size: 1.1rem;
}

.events-page-upcoming .event-card-upcoming p {
  font-size: 0.92rem;
  color: #4b5563;
}

.events-page-upcoming .event-card-upcoming:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
}

.events-page-upcoming .event-card-upcoming .overlay {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 999px;
  padding-inline: 12px;
  font-size: 0.8rem;
}

.events-page-latest .grid-item {
  margin-bottom: 28px;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.events-page-latest .grid-item .info h3 a {
  font-size: 1.1rem;
}

.events-page-latest .grid-item .info p {
  font-size: 0.92rem;
  color: #4b5563;
}

.events-page-latest .grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.18);
  border-color: rgba(148, 163, 184, 0.5);
}

.events-page-latest .top-entry .date {
  font-size: 0.85rem;
  color: #6b7280;
}


/* Partners */
.home-partners {
  padding: 72px 0 80px;
  background: #ffffff;
}

.home-partners h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.home-partners p {
  color: #6b7280;
}

.home-partners .client-items .item img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.home-partners .client-items .item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .home-about {
    padding: 56px 0 48px;
  }

  .home-about .info {
    padding-left: 0;
    margin-top: 20px;
  }

  .home-memberships {
    padding: 56px 0 48px;
  }

  .home-events {
    padding: 56px 0;
  }
}

@media (max-width: 575.98px) {
  .home-about .area-title {
    font-size: 1.6rem;
  }

  .home-cta h2.area-title {
    font-size: 1.3rem;
  }

  .home-memberships .single-item {
    margin-bottom: 18px;
  }
}

/* ===========================
   About page enhancements
   =========================== */

/* Simple entrance animations for about sections */
@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutCardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* New about top intro (replaces old breadcrumb look) */
.about-hero-intro {
  position: relative;
  padding: 96px 0 72px;
  background: radial-gradient(circle at top left, #111827 0%, #020617 55%, #020617 100%);
  color: #f9fafb;
  overflow: hidden;
  animation: aboutFadeUp 0.7s ease-out;
}

.about-hero-intro__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.38) 0%, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(234, 88, 12, 0.3) 0%, transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.about-hero-intro__inner {
  position: relative;
  z-index: 1;
}

.about-hero-intro__content h1 {
  font-size: clamp(1.9rem, 3.3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 10px 0 14px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.about-hero-intro__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #f3f4f6;
  max-width: 560px;
}

.about-hero-intro__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.about-hero-intro__highlights {
  list-style: none;
  padding: 0;
  margin: 18px 0 18px;
}

.about-hero-intro__highlights li {
  font-size: 0.9rem;
  color: #e5e7eb;
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.about-hero-intro__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f97316;
}

.about-hero-intro__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.about-hero-intro__breadcrumbs a {
  color: #e5e7eb;
}

.about-hero-intro__badge {
  display: inline-block;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  max-width: 280px;
}

.about-hero-intro__badge span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
}

.about-hero-intro__badge p {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin: 6px 0 0;
}

/* Membership page intro hero */
.membership-hero-intro {
  position: relative;
  padding: 96px 0 72px;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 55%, #020617 100%);
  color: #f9fafb;
  overflow: hidden;
  animation: aboutFadeUp 0.7s ease-out;
}

.membership-hero-intro__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.32) 0%, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(234, 88, 12, 0.32) 0%, transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.membership-hero-intro__inner {
  position: relative;
  z-index: 1;
}

.membership-hero-intro__content h1 {
  font-size: clamp(1.9rem, 3.3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 10px 0 14px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.membership-hero-intro__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #f3f4f6;
  max-width: 560px;
}

/* Contact page send button */
.contact-form-area .contact-form button[type="submit"],
.contact-form-area .contact-form button[type="submit"]#submit {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  border: none;
  color: #ffffff;
  font-weight: 600;
  text-transform: none;
}

.contact-form-area .contact-form button[type="submit"]:hover {
  filter: brightness(1.05);
}

.membership-hero-intro__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.membership-hero-intro__highlights {
  list-style: none;
  padding: 0;
  margin: 18px 0 18px;
}

.membership-hero-intro__highlights li {
  font-size: 0.9rem;
  color: #e5e7eb;
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.membership-hero-intro__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f97316;
}

.membership-hero-intro__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.membership-hero-intro__breadcrumbs a {
  color: #e5e7eb;
}

.membership-hero-intro__badge {
  display: inline-block;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  max-width: 280px;
}

.membership-hero-intro__badge span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7dd3fc;
}

.membership-hero-intro__badge p {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin: 6px 0 0;
}

/* Existing about sections below intro */
.about-page-hero {
  padding: 90px 0 80px;
}

.about-page-hero .thumb {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.25);
}

.about-page-hero .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.about-page-hero .thumb:hover img {
  transform: scale(1.06);
}

/* Make about intro text feel like a clean card on desktop */
@media (min-width: 992px) {
  .about-page-hero .info {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    padding: 24px 26px;
  }
}

.about-page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 10px;
}

.about-page-hero-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.8rem;
  color: #4b5563;
}

/* Core values cards */
.about-core-values {
  padding: 72px 0;
  background: radial-gradient(circle at top left, #f9fafb 0, #e5f4ff 45%, #f9fafb 100%);
}

.about-core-values .site-heading h2 {
  font-size: 1.8rem;
}

.about-core-values .wedo-items .item {
  border-radius: 18px;
  padding: 26px 20px 22px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: aboutFadeUp 0.6s ease-out;
}

.about-core-values .single-item:nth-child(1) .item { animation-delay: 0.05s; }
.about-core-values .single-item:nth-child(2) .item { animation-delay: 0.12s; }
.about-core-values .single-item:nth-child(3) .item { animation-delay: 0.19s; }
.about-core-values .single-item:nth-child(4) .item { animation-delay: 0.26s; }

.about-core-values .wedo-items .item i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #2563eb;
}

.about-core-values .wedo-items .item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.about-core-values .wedo-items .item p {
  font-size: 0.9rem;
  color: #64748b;
}

/* More modern core value cards */
.about-core-card {
  background: linear-gradient(145deg, #ffffff 0, #eef2ff 100%);
  border-radius: 18px;
  padding: 26px 20px 24px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.about-core-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: radial-gradient(circle at 30% 20%, #dbeafe, #bfdbfe);
  color: #2563eb;
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

.about-core-card h4 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.about-core-card p {
  font-size: 0.9rem;
  color: #4b5563;
}

.about-core-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
  border-color: rgba(37, 99, 235, 0.5);
}

.about-core-card:hover .about-core-card__icon {
  transform: translateY(-2px) scale(1.05);
}

.about-core-values .wedo-items .item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
  border-color: rgba(37, 99, 235, 0.55);
}

/* Mission / vision split sections */
.about-mission,
.about-vision {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.about-mission::before,
.about-vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.08) 0, transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.about-mission .thumb-1,
.about-vision .thumb-1 {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  animation: aboutFadeUp 0.7s ease-out;
}

.about-mission .thumb-1 img,
.about-vision .thumb-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-mission .info h5,
.about-vision .info h5 {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.about-mission .info h2.text-blur,
.about-vision .info h2.text-blur {
  font-size: 1.8rem;
}

.about-mission .info p,
.about-vision .info p {
  color: #4b5563;
  animation: aboutFadeUp 0.7s ease-out;
}

/* Team grid */
.about-team {
  background-color: #f3f7fd;
  padding: 80px 0 70px;
}

.about-team .volunteer-items .item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.13);
  background: #ffffff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: aboutFadeUp 0.6s ease-out;
}

.about-team .single-item:nth-child(1) .item { animation-delay: 0.05s; }
.about-team .single-item:nth-child(2) .item { animation-delay: 0.12s; }
.about-team .single-item:nth-child(3) .item { animation-delay: 0.19s; }
.about-team .single-item:nth-child(4) .item { animation-delay: 0.26s; }

.about-team .volunteer-items .item .thumb img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.about-team .volunteer-items .item .info {
  padding: 12px 10px 16px;
}

.about-team .volunteer-items .item .info h4 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.about-team .volunteer-items .item .info span {
  font-size: 0.8rem;
  color: #6b7280;
}

.about-team .volunteer-items .item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.21);
}

/* Shared partners layout for About/Membership */
.about-partners .info h2,
.about-partners__title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #6b87b5;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}

.partners-grid__item {
  flex: 0 1 120px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partners-grid__item img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.partners-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.partners-grid__item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}

/* ===========================
   Global footer refresh
   =========================== */

@keyframes footerFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footerGlow {
  0%, 100% {
    opacity: 0.35;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.55;
    transform: translate3d(-4px, 3px, 0);
  }
}

footer.site-footer {
  background: radial-gradient(circle at top left, #1d4ed8 0%, #020617 55%, #020617 100%); /* dark navy with brand blue glow */
  color: #f9fafb;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

footer.site-footer .fixed-shape img {
  opacity: 0.08;
  animation: footerGlow 18s ease-in-out infinite;
}

footer.site-footer .f-items {
  padding: 40px 0 24px;
  animation: footerFadeUp 0.6s ease-out;
}

footer.site-footer .f-items .row {
  align-items: flex-start;
}

@media (min-width: 992px) {
  footer.site-footer .f-items .item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

footer.site-footer .f-item.about img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 18px;
}

/* Explicit footer logo helper class to override any other styles */
.footer-logo-main {
  width: 140px !important;
  height: 140px !important;
  object-fit: contain !important;
  display: block;
  margin-top: -10px;
  margin-bottom: 10px;
}

footer.site-footer .f-item.about p {
  font-size: 1rem;
  line-height: 1.7;
  color: #e5e7eb;
}

footer.site-footer .widget-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #f9fafb;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 4px;
}

footer.site-footer .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #fb923c);
}

footer.site-footer a {
  color: #e0f2fe;
  font-size: 0.9rem;
  position: relative;
}

footer.site-footer a:hover {
  color: #7dd3fc;
  transform: translateY(-1px);
}

footer.site-footer .address ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #f3f4f6;
  margin-bottom: 8px;
}

footer.site-footer .footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 10px 0 14px;
  font-size: 0.9rem;
  color: #e5e7eb;
}

footer.site-footer .footer-bottom-text {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 575.98px) {
  footer.site-footer .f-items {
    padding: 28px 0 16px;
  }
  footer.site-footer .f-items .row {
    row-gap: 24px;
  }
  footer.site-footer .f-items .item {
    text-align: center;
    flex: 0 0 100%;
    max-width: 100%;
  }
  /* Hide Connect on mobile, keep ESWPA + Contact */
  footer.site-footer .f-items .item:nth-child(3) {
    display: none;
  }
  footer.site-footer .widget-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  footer.site-footer .f-item.about p {
    margin-left: auto;
    margin-right: auto;
    max-width: 260px;
  }

  footer.site-footer .footer-bottom {
    text-align: center;
    font-size: 0.88rem;
  }
}

/* ===========================
   Membership page
   =========================== */

.membership-page {
  padding: 70px 0 80px;
  background: #f9fafb;
}

.membership-page .blog-item-box {
  border-radius: 20px;
  padding: 32px 26px 30px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.membership-page h2 {
  font-size: 2rem;
}

.membership-page .membership-intro .lead {
  color: #4b5563;
}

.membership-page .account-info .card {
  border-radius: 16px;
  border: none;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
}

.membership-account-card {
  background: linear-gradient(145deg, #ffffff 0%, #eef2ff 45%, #e0f2fe 100%);
  text-align: left;
}

.membership-account-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #64748b;
  margin-bottom: 6px;
}

.membership-account-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.membership-account-card__description {
  font-size: 0.9rem;
  color: #4b5563;
}

.membership-account-card__number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  margin-top: 4px;
}

.membership-account-card__number span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #cbd5f5;
}

.membership-account-card__number strong {
  font-size: 0.95rem;
}

.membership-page .account-info h4 {
  font-size: 1.05rem;
}

.membership-page .fee-structure table {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.membership-page .fee-structure thead th {
  background: #0f172a;
  color: #f9fafb;
  border: none;
}

.membership-page .fee-structure tbody td {
  font-size: 0.94rem;
}

.membership-page .payment-schedule .card {
  border-radius: 16px;
  border: none;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.membership-page .payment-schedule h5 {
  font-size: 1rem;
}

.membership-page .registration-note .alert {
  border-radius: 18px;
  border: none;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

/* Gentle motion for the "Ready to Join?" card */
@keyframes membershipReadyFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
  }
}

.membership-page .registration-note .alert {
  animation: membershipReadyFloat 6s ease-in-out infinite;
}

.membership-page .registration-note .btn-primary {
  border-radius: 999px;
  padding-inline: 26px;
}

@media (max-width: 575.98px) {
  .membership-page {
    padding: 56px 0 64px;
  }
}

/* Mobile fix: allow page to grow vertically so it can scroll */
@media (max-width: 767.98px) {
  html,
  body,
  .wrapper {
    height: auto !important;
    min-height: 100% !important;
  }
}



@media (max-width: 575.98px) {
  .about-page-hero {
    padding: 56px 0 48px;
  }

  .about-mission,
  .about-vision {
    padding: 56px 0;
  }
}


