:root {
  --primary:   #1a1154;
  --primary-light: #3a2d7a;
  --accent:    #F5E905;
  --accent2:   #fffacd;
  --dark:      #000000;
  --light:     #f9f9f9;
  --text:      #1a1a1a;
  --muted:     #8b8b8b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, .display-font { font-family: 'Playfair Display', serif; }

/* ── TOP BAR ── */
.topbar {
  background: var(--primary);
  color: #cde8d6;
  font-size: .78rem;
  padding: .45rem 0;
  letter-spacing: .03em;
}
.topbar a { color: var(--accent2); text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ── NAVBAR ── */
.navbar {
  background: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.navbar-logo {
  height: 78px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .navbar-logo {
    height: 62px;
  }
}
.brand-logo {
  width: 52px; height: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent2);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}
.brand-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.brand-text .tag {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: .88rem;
  padding: .4rem .65rem !important;
  letter-spacing: .02em;
  transition: color .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary-light) !important; }

.dropdown-menu {
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border-radius: .5rem;
  padding: .5rem 0;
}
.dropdown-item {
  font-size: .85rem;
  color: var(--text);
  padding: .5rem 1.25rem;
}
.dropdown-item:hover { background: var(--light); color: var(--primary); }

.btn-member {
  background: var(--accent);
  color: var(--dark);
  font-weight: 600;
  font-size: .85rem;
  border: none;
  border-radius: 2rem;
  padding: .5rem 1.4rem;
  letter-spacing: .03em;
  transition: background .2s, transform .15s;
}
.btn-member:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(42,31,120,.92) 45%, rgba(245,233,5,.18) 100%),
    url('../images/group photo 1.JPG') center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 5rem 0 4rem;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(245,233,5,.25);
  color: var(--accent2);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(245,233,5,.35);
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #fff;
}
.hero h1 span { color: var(--accent2); }
.hero p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 2.2rem;
}
.btn-hero-primary {
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  border: none;
  border-radius: 2rem;
  padding: .8rem 2rem;
  font-size: .95rem;
  text-decoration: none;
  display: inline-block;
  margin-right: .8rem;
  margin-bottom: .6rem;
  transition: background .2s, transform .15s;
}
.btn-hero-primary:hover { background: var(--accent2); color: var(--dark); transform: translateY(-2px); }
.btn-hero-outline {
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  border-radius: 2rem;
  padding: .8rem 2rem;
  font-size: .95rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: .6rem;
  transition: border-color .2s, background .2s;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* hero stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent2);
}
.stat-item .lbl { font-size: .78rem; color: rgba(255,255,255,.65); letter-spacing: .06em; text-transform: uppercase; }

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--primary);
  padding: .6rem 0;
  overflow: hidden;
}
.marquee-inner {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-inner span {
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-inner span i { color: var(--accent2); margin-right: .5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION COMMONS ── */
section { padding: 5rem 0; }
.section-label {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(27,67,50,.08);
  padding: .3rem .9rem;
  border-radius: 2rem;
  margin-bottom: .9rem;
  font-weight: 600;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
}
.divider-leaf {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem 0 1.6rem;
}

/* ── ABOUT ── */
.about-section { background: var(--light); }
.about-img-wrap {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
}
.about-img-wrap img { width: 100%; border-radius: 1.2rem; object-fit: cover; height: 420px; }
.about-badge {
  position: absolute;
  bottom: 1.8rem;
  left: 1.8rem;
  background: var(--primary);
  color: #fff;
  border-radius: .8rem;
  padding: 1rem 1.4rem;
}
.about-badge .yr { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--accent2); line-height: 1; }
.about-badge .yrtext { font-size: .72rem; color: rgba(255,255,255,.75); letter-spacing: .06em; text-transform: uppercase; }
.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .92rem; line-height: 1.6;
  margin-bottom: .7rem; color: var(--text);
}
.check-list li i { color: var(--primary-light); margin-top: .15rem; flex-shrink: 0; }

/* ── PRODUCTS ── */
.products-section { background: #fff; }
.product-card {
  border-radius: 1rem;
  border: 1.5px solid #e8f0eb;
  padding: 2rem 1.6rem;
  height: 100%;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  background: #fff;
  cursor: default;
}
.product-card:hover {
  box-shadow: 0 16px 48px rgba(27,67,50,.12);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.product-icon {
  width: 56px; height: 56px;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(27,67,50,.08);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.product-card h5 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.product-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; margin: 0; }
.product-card .learn-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600;
  color: var(--primary-light);
  text-decoration: none;
  margin-top: 1rem;
  transition: gap .2s;
}
.product-card .learn-link:hover { gap: .7rem; color: var(--primary); }

/* ── SAVINGS ACCOUNTS ── */
.accounts-section { background: var(--light); }
.account-tab-nav { gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; border: none; }
.account-tab-nav .nav-link {
  border-radius: 2rem !important;
  border: 1.5px solid #cce0d2 !important;
  color: var(--muted) !important;
  font-size: .84rem;
  font-weight: 500;
  padding: .45rem 1.2rem !important;
  background: #fff !important;
  transition: all .2s;
}
.account-tab-nav .nav-link.active,
.account-tab-nav .nav-link:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.account-detail {
  background: #fff;
  border-radius: 1rem;
  padding: 2.2rem 2rem;
  border: 1.5px solid #e4ede7;
}
.account-detail h4 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.account-detail p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.feature-pill {
  display: inline-block;
  background: rgba(27,67,50,.07);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 2rem;
  padding: .3rem .85rem;
  margin: .25rem .15rem;
  letter-spacing: .03em;
}

/* ── LOAN PRODUCTS ── */
.loans-section { background: var(--primary); }
.loans-section .section-title { color: #fff; }
.loans-section .section-sub { color: rgba(255,255,255,.7); }
.loans-section .section-label { background: rgba(255,255,255,.12); color: var(--accent2); }
.loans-section .divider-leaf { background: var(--accent2); }
.loan-card {
  border-radius: 1rem;
  border: 1.5px solid rgba(255,255,255,.14);
  padding: 1.8rem 1.5rem;
  background: rgba(255,255,255,.06);
  transition: background .25s, transform .25s;
  height: 100%;
}
.loan-card:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.loan-card .icon { font-size: 1.8rem; color: var(--accent2); margin-bottom: 1rem; }
.loan-card h5 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #fff; font-weight: 700; margin-bottom: .4rem; }
.loan-card p { font-size: .85rem; color: rgba(255,255,255,.68); line-height: 1.65; margin: 0; }

/* ── WHY FIC ── */
.why-section { background: #fff; }
.why-card {
  text-align: center;
  padding: 1.8rem 1.2rem;
}
.why-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(27,67,50,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 0 auto 1.2rem;
  transition: background .2s, color .2s;
}
.why-card:hover .why-icon { background: var(--primary); color: var(--accent2); }
.why-card h5 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.why-card p { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── MEMBERSHIP CTA ── */
.membership-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 5rem 0;
}
.membership-section h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.membership-section p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 2rem; font-size: .97rem; line-height: 1.75; }
.btn-cta-gold {
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  border: none;
  border-radius: 2rem;
  padding: .85rem 2.2rem;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  margin-right: .8rem;
  margin-bottom: .6rem;
  transition: background .2s, transform .15s;
}
.btn-cta-gold:hover { background: var(--accent2); color: var(--dark); transform: translateY(-2px); }
.btn-cta-outline {
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
  border-radius: 2rem;
  padding: .85rem 2.2rem;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: .6rem;
  transition: all .2s;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ── NEWS ── */
.news-section { background: var(--light); }
.news-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1.5px solid #e4ede7;
  transition: box-shadow .25s, transform .25s;
  height: 100%;
}
.news-card:hover { box-shadow: 0 16px 40px rgba(27,67,50,.1); transform: translateY(-4px); }
.news-card img { width: 100%; height: 190px; object-fit: cover; }
.news-card-body { padding: 1.4rem 1.4rem 1.6rem; }
.news-cat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary-light);
  margin-bottom: .5rem;
}
.news-card h6 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: .5rem;
}
.news-card p { font-size: .84rem; color: var(--muted); line-height: 1.6; margin: 0; }
.news-meta { font-size: .75rem; color: #a0b0a6; margin-top: .8rem; }

/* ── BLOG CARDS ── */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(26,17,84,.08);
  transition: box-shadow .3s ease, transform .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(26,17,84,.06);
}

.blog-card:hover {
  box-shadow: 0 12px 32px rgba(26,17,84,.15);
  transform: translateY(-6px);
}

.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--light);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--primary);
  padding: .35rem .8rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.blog-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: .8rem;
}

.blog-excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: auto;
  margin-top: 0;
}

.blog-meta {
  font-size: .8rem;
  color: #a0b0a6;
  margin: 1rem 0 1.2rem 0;
  display: flex;
  align-items: center;
}

.btn-blog-read {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  padding: .65rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: .9rem;
  transition: all .2s ease;
  border: 2px solid var(--accent);
  width: fit-content;
}

.btn-blog-read:hover {
  background: var(--primary);
  color: var(--accent);
  transform: translateX(2px);
}

/* ── TESTIMONIALS ── */
.testimonials-section { background: #fff; }
.testi-card {
  background: var(--light);
  border-radius: 1rem;
  padding: 2rem 1.8rem;
  border-left: 4px solid var(--accent);
  height: 100%;
}
.testi-card .quote { font-size: 2rem; color: var(--accent); line-height: 1; margin-bottom: .5rem; }
.testi-card p { font-size: .9rem; color: var(--text); line-height: 1.75; font-style: italic; margin-bottom: 1.2rem; }
.testi-card .name { font-weight: 600; font-size: .85rem; color: var(--primary); }
.testi-card .role { font-size: .78rem; color: var(--muted); }

/* ── CONTACT ── */
.contact-section { background: var(--light); }
.contact-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.8rem;
  border: 1.5px solid #e4ede7;
}
.contact-card h5 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 1.2rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: .85rem;
  margin-bottom: 1rem;
}
.contact-item .ci-icon {
  width: 38px; height: 38px;
  border-radius: .5rem;
  background: rgba(27,67,50,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: .9rem;
  flex-shrink: 0;
}
.contact-item .ci-text label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: block; margin-bottom: .15rem; }
.contact-item .ci-text span { font-size: .88rem; color: var(--text); }
.contact-item .ci-text a { color: var(--primary-light); text-decoration: none; font-size: .88rem; }
.contact-item .ci-text a:hover { color: var(--primary); text-decoration: underline; }

/* newsletter form */
.newsletter-form .form-control {
  border: 1.5px solid #d0ddd4;
  border-radius: 2rem;
  padding: .65rem 1.2rem;
  font-size: .88rem;
}
.newsletter-form .form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(27,67,50,.1); }
.btn-subscribe {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: .65rem 1.6rem;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s;
}
.btn-subscribe:hover { background: var(--primary-light); color: #fff; }

/* ── FOOTER ── */
.footer { background: var(--dark); padding: 4rem 0 1.5rem; }
.footer-logo { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; }
.footer-logo .brand-logo { width: 44px; height: 44px; font-size: 1.1rem; }
.footer-logo .name { font-family: 'Playfair Display', serif; font-size: .95rem; font-weight: 700; color: #fff; line-height: 1.1; }
.footer-logo .tag { font-size: .65rem; color: rgba(255,255,255,.45); letter-spacing: .05em; text-transform: uppercase; }
.footer p { font-size: .83rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.footer h6 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .84rem; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent2); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 2.5rem 0 1.5rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); margin: 0; }
.social-links { display: flex; gap: .6rem; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FLOATING BUTTONS ── */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}
.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.floating-whatsapp {
  background: #25d366;
}
.floating-whatsapp:hover {
  background: #20ba5a;
}
.floating-top {
  background: var(--primary);
}
.floating-top:hover {
  background: var(--primary-light);
}
.floating-top.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: 1rem;
    right: 1rem;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { min-height: 75vh; }
  .hero-stats { gap: 1.5rem; }
  .about-badge { bottom: .8rem; left: .8rem; }
}

/* ==========================================
   BOARD & TEAM MEMBER CARDS
========================================== */

.member-card {
  background: #fff;
  border: 1px solid #e8f0eb;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  padding: 0;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

.member-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  flex-shrink: 0;
}

.member-card h5 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 1.15rem;
  margin: 1.5rem 1rem 0.5rem 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.member-role {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  margin: 0.5rem 1rem 1.2rem 1rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
}

.member-card .btn {
  border-radius: 50px;
  padding: 0.6rem 1.6rem;
  margin: 0 1rem 1.4rem 1rem;
  align-self: center;
  flex-shrink: 0;
  background: var(--primary-light);
  color: #fff;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.03em;
}

.member-card .btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,17,84,0.3);
}

/* Leadership Cards (Patron & Chairperson) */

.leadership-card {
  max-width: 420px;
  margin: 0 auto;
  border: 1.5px solid #e8f0eb;
}

.leadership-card img {
  height: 360px;
}

.leadership-card h5 {
  margin: 1.8rem 1.2rem 0.6rem 1.2rem;
  font-size: 1.25rem;
}

.leadership-card .member-role {
  margin: 0.6rem 1.2rem 1.4rem 1.2rem;
  font-size: 0.95rem;
  color: var(--primary-light);
}

/* Mobile */

@media (max-width: 768px) {

  .leadership-card {
    max-width: 100%;
  }

  .leadership-card img {
    height: 300px;
  }

  .member-card img {
    height: 220px;
  }
}

@media (max-width: 480px) {

  .member-card h5 {
    font-size: 1.05rem;
    margin: 1.2rem 0.8rem 0.4rem 0.8rem;
  }

  .member-role {
    font-size: 0.85rem;
    margin: 0.4rem 0.8rem 1rem 0.8rem;
  }

  .member-card .btn {
    margin: 0 0.8rem 1.2rem 0.8rem;
    font-size: 0.78rem;
    padding: 0.5rem 1.4rem;
  }
}

/* ==========================================
   TEAM CARD STYLES
========================================== */

.team-card {
  background: #fff;
  border: 1px solid #e8f0eb;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  padding: 0;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

.team-card .team-avatar {
  width: 100%;
  height: 260px;
  object-fit: cover;
  flex-shrink: 0;
}

.team-card h5 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-size: 1.15rem;
  margin: 1.5rem 1rem 0.5rem 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.team-card .team-role {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  margin: 0.5rem 1rem 1.2rem 1rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
}

.team-card .btn {
  border-radius: 50px !important;
  padding: 0.6rem 1.6rem !important;
  margin: 0 1rem 1.4rem 1rem !important;
  align-self: center;
  flex-shrink: 0;
  background: var(--primary-light) !important;
  color: #fff !important;
  border: none !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.03em;
}

.team-card .btn:hover {
  background: var(--primary) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,17,84,0.3) !important;
}

/* Leadership Card (Team Lead) */

.team-card.leadership-card {
  max-width: 420px;
  margin: 0 auto;
  border: 1.5px solid #e8f0eb;
}

.team-card.leadership-card .team-avatar {
  height: 360px;
}

.team-card.leadership-card h5 {
  margin: 1.8rem 1.2rem 0.6rem 1.2rem;
  font-size: 1.25rem;
}

.team-card.leadership-card .team-role {
  margin: 0.6rem 1.2rem 1.4rem 1.2rem;
  font-size: 0.95rem;
  color: var(--primary-light);
}

/* Responsive Team Cards */

@media (max-width: 768px) {

  .team-card.leadership-card {
    max-width: 100%;
  }

  .team-card.leadership-card .team-avatar {
    height: 300px;
  }

  .team-card .team-avatar {
    height: 220px;
  }
}

@media (max-width: 480px) {

  .team-card h5 {
    font-size: 1.05rem;
    margin: 1.2rem 0.8rem 0.4rem 0.8rem;
  }

  .team-card .team-role {
    font-size: 0.85rem;
    margin: 0.4rem 0.8rem 1rem 0.8rem;
  }

  .team-card .btn {
    margin: 0 0.8rem 1.2rem 0.8rem !important;
    font-size: 0.78rem !important;
    padding: 0.5rem 1.4rem !important;
  }
}