/* ============================================
   Mangaldeep Saving & Credit Co-operative Ltd.
   Main Stylesheet
============================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  margin: 0;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--dark); font-weight: 600; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f0f7f0; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== Loading Screen ===== */
#loader {
  position: fixed; inset: 0; background: #fff; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease;
}
#loader.hidden { opacity: 0; pointer-events: none; }
.spinner {
  width: 60px; height: 60px; border: 4px solid #e0f2e0;
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Scroll Progress ===== */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient); z-index: 10000; transition: width .1s;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary); color: #fff;
  font-size: .85rem; padding: 10px 0;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--accent); }
.top-bar .info-block { display: flex; align-items: center; gap: 10px; }
.top-bar .info-block i { font-size: 1.1rem; }
.top-bar .info-block .lbl { font-weight: 600; }
.top-bar .socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.12); margin-left: 6px;
}
.top-bar .socials a:hover { background: rgba(255,255,255,.28); transform: translateY(-2px); }

/* ===== LOGO SECTION (Fixed & Balanced) ===== */
.logo-section {
  background: #fff;
  padding: 22px 0;
  border-bottom: 1px solid #eef4ee;
}
.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  text-align: left;
}
.logo-wrap .logo-img {
  width: 82px; height: 82px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 2rem;
  box-shadow: 0 6px 20px rgba(46,125,50,.35);
  flex-shrink: 0;
  border: 4px solid #fff;
  outline: 2px solid var(--accent);
}
.logo-wrap .logo-text .np {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.55rem; color: var(--dark); margin: 0; line-height: 1.2;
}
.logo-wrap .logo-text .en {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.1rem; color: var(--primary); margin: 4px 0 0; letter-spacing: .3px;
}
.logo-wrap .logo-text .tagline {
  font-size: .82rem; color: var(--gray); margin-top: 2px; letter-spacing: .5px;
}

/* ===== NAVBAR ===== */
.main-nav {
  background: var(--primary);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 4px 20px rgba(27,67,50,.15);
  transition: var(--transition);
}
.main-nav.scrolled { background: var(--dark); padding: 2px 0; }
.main-nav .navbar-nav .nav-link {
  color: #fff !important; font-weight: 500; padding: 16px 18px !important;
  position: relative; font-size: .95rem;
}
.main-nav .navbar-nav .nav-link::after {
  content: ''; position: absolute; bottom: 8px; left: 50%;
  width: 0; height: 2px; background: #fff; transition: var(--transition);
  transform: translateX(-50%);
}
.main-nav .navbar-nav .nav-link:hover::after,
.main-nav .navbar-nav .nav-link.active::after { width: 30px; }
.main-nav .navbar-nav .nav-link:hover { color: var(--accent) !important; }
.main-nav .dropdown-menu {
  background: #fff; border: none; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 10px; margin-top: 0;
  animation: fadeDown .3s ease;
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }
.main-nav .dropdown-item {
  border-radius: 8px; padding: 10px 14px; color: var(--text); font-weight: 500;
}
.main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus {
  background: var(--bg); color: var(--primary);
}
.navbar-toggler { border: 2px solid #fff; padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(255,255,255,.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== BUTTONS ===== */
.btn { border-radius: 50px; font-weight: 600; padding: 12px 28px; transition: var(--transition); border: none; }
.btn-primary-green { background: var(--gradient); color: #fff; box-shadow: 0 8px 20px rgba(46,125,50,.25); }
.btn-primary-green:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 25px rgba(46,125,50,.35); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-outline-green { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-green:hover { background: var(--primary); color: #fff; }

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; }
.hero-slider .carousel-item {
  height: 100vh; min-height: 620px; background-size: cover; background-position: center;
  position: relative;
}
.hero-slider .carousel-item::before {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(27,67,50,.85) 0%, rgba(46,125,50,.6) 60%, rgba(0,0,0,.4) 100%);
}
.hero-slider .slide-1 { background-image: linear-gradient(135deg,#1B4332,#2E7D32),url('../assets/hero/slide1.jpg'); }
.hero-slider .slide-2 { background-image: linear-gradient(135deg,#2E7D32,#43A047),url('../assets/hero/slide2.jpg'); }
.hero-slider .slide-3 { background-image: linear-gradient(135deg,#1B4332,#43A047),url('../assets/hero/slide3.jpg'); }
.hero-slider .slide-4 { background-image: linear-gradient(135deg,#2E7D32,#66BB6A),url('../assets/hero/slide4.jpg'); }
.hero-content {
  position: relative; z-index: 2; color: #fff; height: 100%;
  display: flex; align-items: center;
}
.hero-content .glass {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg);
  padding: 50px 45px; max-width: 720px;
}
.hero-content h1 { color: #fff; font-size: 3.4rem; font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; margin-bottom: 30px; opacity: .95; }
.carousel-indicators [data-bs-target] { width: 40px; height: 4px; border-radius: 4px; background: #fff; opacity: .5; }
.carousel-indicators .active { opacity: 1; background: var(--accent); }
.carousel-control-prev, .carousel-control-next { width: 6%; opacity: .8; }

/* ===== SECTIONS ===== */
section { padding: 90px 0; }
.section-title {
  text-align: center; margin-bottom: 60px;
}
.section-title .eyebrow {
  display: inline-block; color: var(--primary); font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; font-size: .85rem; margin-bottom: 12px;
  padding: 6px 16px; background: rgba(46,125,50,.08); border-radius: 50px;
}
.section-title h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 12px; }
.section-title p { color: var(--gray); max-width: 640px; margin: 0 auto; }

/* ===== WELCOME ===== */
.welcome-img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative;
  overflow: hidden;
}
.welcome-img .badge-float {
  position: absolute; bottom: 20px; left: 20px; background: #fff;
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.welcome-img .badge-float i { font-size: 2rem; color: var(--primary); }
.welcome-img .badge-float strong { font-family: var(--font-heading); font-size: 1.3rem; color: var(--dark); }
.welcome-img .placeholder-img {
  height: 500px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 5rem;
}

/* ===== CARDS ===== */
.service-card {
  background: #fff; border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  height: 100%; border: 1px solid #eef4ee; position: relative; overflow: hidden;
}
.service-card::before {
  content:''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left;
  transition: transform .5s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon-box {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(46,125,50,.12), rgba(102,187,106,.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--primary); margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .icon-box { background: var(--gradient); color: #fff; transform: rotate(-8deg) scale(1.05); }
.service-card h5 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: .93rem; margin-bottom: 14px; }
.service-card .read-more {
  font-weight: 600; color: var(--primary); font-size: .9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card .read-more:hover { gap: 12px; }

/* Why Choose Cards */
.why-card {
  background: #fff; border-radius: var(--radius); padding: 30px 24px;
  text-align: center; box-shadow: var(--shadow-sm); height: 100%;
  transition: var(--transition); border: 1px solid #eef4ee;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card .icon-circle {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; box-shadow: 0 8px 20px rgba(46,125,50,.25);
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }
.why-card h5 { margin-bottom: 8px; }
.why-card p { color: var(--gray); font-size: .9rem; margin: 0; }

/* ===== STATS ===== */
.stats-section {
  background: var(--gradient); color: #fff; position: relative; overflow: hidden;
}
.stats-section::before {
  content:''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='2'/%3E%3C/svg%3E") repeat;
  opacity: .3;
}
.stat-item { text-align: center; padding: 20px; position: relative; z-index: 2; }
.stat-item i { font-size: 2.5rem; margin-bottom: 12px; color: rgba(255,255,255,.85); }
.stat-item .counter {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: keep-all;
}
.stat-item .label { font-weight: 500; margin-top: 8px; opacity: .95; }

/* ===== CHAIRPERSON ===== */
.chair-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow); position: relative;
}
.chair-photo {
  width: 100%; max-width: 280px; aspect-ratio: 1; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 5rem; margin: 0 auto; box-shadow: var(--shadow-lg);
  border: 6px solid #fff; outline: 3px solid var(--accent);
}
.chair-card .quote-icon { font-size: 3rem; color: var(--accent); opacity: .3; }
.chair-card .signature { font-family: 'Poppins',cursive; font-style: italic; color: var(--primary); font-size: 1.5rem; }

/* ===== DIGITAL BANKING ===== */
.digital-section { background: linear-gradient(135deg,#F8FFF8 0%,#e8f5e9 100%); }
.phone-mockup {
  width: 280px; height: 560px; margin: 0 auto; position: relative;
  background: #1B4332; border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone-mockup .screen {
  width: 100%; height: 100%; background: var(--gradient); border-radius: 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; padding: 20px;
}
.phone-mockup .screen i { font-size: 4rem; margin-bottom: 20px; }
.phone-mockup .screen h4 { color: #fff; }
.feature-list li {
  padding: 12px 0; display: flex; align-items: center; gap: 12px; font-weight: 500;
}
.feature-list li i {
  color: var(--white); background: var(--gradient); width: 32px; height: 32px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}

/* ===== NOTICES / EVENTS ===== */
.notice-card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); height: 100%; transition: var(--transition);
  border-left: 4px solid var(--primary);
}
.notice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.notice-card .date-badge {
  display: inline-block; background: rgba(46,125,50,.1); color: var(--primary);
  padding: 4px 12px; border-radius: 30px; font-size: .8rem; font-weight: 600;
  margin-bottom: 12px;
}
.notice-card .category { color: var(--gray); font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; }
.notice-card h5 { font-size: 1.1rem; margin: 8px 0; }

.event-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); height: 100%; transition: var(--transition);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-card .event-img {
  height: 200px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 3rem;
  position: relative;
}
.event-card .event-date {
  position: absolute; top: 16px; left: 16px; background: #fff; color: var(--dark);
  border-radius: 10px; padding: 8px 14px; text-align: center; font-family: var(--font-heading);
}
.event-card .event-date strong { display: block; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.event-card .event-body { padding: 22px; }
.event-card .meta { color: var(--gray); font-size: .85rem; display: flex; align-items: center; gap: 6px; }

/* ===== GALLERY ===== */
.gallery-filter { text-align: center; margin-bottom: 40px; }
.gallery-filter button {
  background: #fff; border: 1px solid var(--gray-light); color: var(--text);
  padding: 8px 22px; border-radius: 50px; margin: 4px; font-weight: 500;
  transition: var(--transition);
}
.gallery-filter button.active, .gallery-filter button:hover {
  background: var(--gradient); color: #fff; border-color: transparent;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  cursor: pointer; aspect-ratio: 1; box-shadow: var(--shadow-sm);
}
.gallery-item .img {
  width: 100%; height: 100%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 3rem;
  transition: var(--transition);
}
.gallery-item:hover .img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: rgba(27,67,50,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay i { color: #fff; font-size: 2.5rem; }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 10000;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
#lightbox.active { display: flex; }
#lightbox .lb-content {
  max-width: 90%; max-height: 90%; background: var(--gradient); border-radius: var(--radius);
  padding: 60px; color: #fff; font-size: 5rem; text-align: center;
}
#lightbox .lb-close {
  position: absolute; top: 20px; right: 30px; color: #fff; font-size: 2.5rem;
  cursor: pointer; background: none; border: none;
}

/* ===== DOWNLOADS ===== */
.download-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 18px;
  transition: var(--transition); border: 1px solid #eef4ee; height: 100%;
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.download-card .pdf-icon {
  width: 60px; height: 60px; border-radius: 12px;
  background: linear-gradient(135deg,#f44336,#e53935); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  flex-shrink: 0;
}
.download-card h6 { margin: 0 0 4px; font-size: 1rem; }
.download-card .size { color: var(--gray); font-size: .82rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-section { background: #F8FFF8; }
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow); text-align: center; margin: 20px;
}
.testimonial-card .avatar {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; font-weight: 700; border: 4px solid #fff;
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: #f59e0b; margin-bottom: 14px; font-size: 1.1rem; }
.testimonial-card blockquote { font-style: italic; color: var(--text); margin-bottom: 16px; }

/* ===== FAQ ===== */
.faq-section .accordion-item {
  border: none; margin-bottom: 12px; border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-section .accordion-button {
  font-weight: 600; padding: 18px 24px; color: var(--dark); background: #fff;
}
.faq-section .accordion-button:not(.collapsed) { background: rgba(46,125,50,.08); color: var(--primary); box-shadow: none; }
.faq-section .accordion-button:focus { box-shadow: none; }
.faq-section .accordion-body { color: var(--gray); }
#faqSearch {
  border-radius: 50px; padding: 14px 24px; border: 2px solid var(--gray-light);
}
#faqSearch:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,125,50,.1); }

/* ===== CTA ===== */
.cta-section {
  background: var(--gradient); color: #fff; text-align: center;
  border-radius: var(--radius-lg); padding: 70px 30px; margin: 60px auto;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-section h2 { color: #fff; font-size: 2.4rem; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; margin-bottom: 30px; opacity: .95; }

/* ===== MAP ===== */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  height: 100%; min-height: 400px; background: #e8f5e9;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-direction: column; font-size: 1.2rem;
}
.map-wrap i { font-size: 4rem; margin-bottom: 12px; }
.contact-info-card {
  background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
  height: 100%;
}
.contact-info-card .info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef4ee; }
.contact-info-card .info-row:last-child { border-bottom: none; }
.contact-info-card .icon-sm {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(46,125,50,.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}

/* ===== FOOTER ===== */
footer { background: var(--dark); color: rgba(255,255,255,.8); padding: 70px 0 0; }
footer h5 { color: #fff; margin-bottom: 22px; font-size: 1.15rem; position: relative; padding-bottom: 12px; }
footer h5::after { content:''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent); border-radius: 2px; }
footer a { color: rgba(255,255,255,.8); }
footer a:hover { color: var(--accent); padding-left: 6px; }
footer ul { list-style: none; padding: 0; }
footer ul li { padding: 6px 0; transition: var(--transition); }
footer .footer-logo {
  display: block;
  margin-bottom: 18px;
}
footer .footer-logo img {
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}
footer .contact-line { display: flex; gap: 10px; padding: 6px 0; }
footer .contact-line i { color: var(--accent); font-size: 1.1rem; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; margin-top: 50px;
  font-size: .88rem;
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
  border-radius: 50%; background: var(--gradient); color: #fff; border: none;
  display: none; align-items: center; justify-content: center; font-size: 1.3rem;
  box-shadow: var(--shadow); z-index: 998; cursor: pointer;
}
#backToTop.show { display: flex; }
#backToTop:hover { transform: translateY(-4px); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--gradient); color: #fff; padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ccircle cx='60' cy='60' r='40' fill='none' stroke='rgba(255,255,255,.06)' stroke-width='2'/%3E%3C/svg%3E") repeat;
}
.page-hero h1 { color: #fff; font-size: 3rem; margin-bottom: 10px; position: relative; }
.page-hero .breadcrumb { justify-content: center; margin: 0; position: relative; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ===== TEAM / BOARD ===== */
.member-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); text-align: center;
  padding-bottom: 24px;
}
.member-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.member-card .m-photo {
  height: 280px; background: var(--gradient); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 5rem;
}
.member-card h5 { margin-top: 20px; margin-bottom: 4px; }
.member-card .role { color: var(--primary); font-weight: 600; font-size: .9rem; }
.member-card .bio { color: var(--gray); font-size: .88rem; padding: 0 20px; margin-top: 10px; }
.member-card .socials { margin-top: 14px; }
.member-card .socials a {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg); color: var(--primary); margin: 0 3px;
}
.member-card .socials a:hover { background: var(--primary); color: #fff; }

/* ===== FORM ===== */
.form-control, .form-select {
  border-radius: var(--radius-sm); border: 2px solid var(--gray-light); padding: 12px 16px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.form-label { font-weight: 500; color: var(--dark); }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content:''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.timeline-item { position: relative; margin-bottom: 40px; width: 50%; padding: 0 40px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item .dot {
  position: absolute; top: 20px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--accent);
}
.timeline-item:nth-child(odd) .dot { right: -10px; }
.timeline-item:nth-child(even) .dot { left: -10px; }
.timeline-item .t-card { background: #fff; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.timeline-item h5 { color: var(--primary); }

/* ===== BADGE HIGHLIGHT ===== */
.interest-badge {
  display: inline-block; background: var(--gradient); color: #fff;
  padding: 8px 16px; border-radius: 30px; font-weight: 600; font-size: .9rem;
}
