/* ================= GOOGLE FONTS ================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap");

/* ================= ROOT VARIABLES ================= */
:root {
  --primary: #0d6efd;
  --secondary: #1f2d3d;
  --light: #f8f9fa;
  --soft-blue: #f1f5ff;
  --text: #444;
  --radius: 12px;

  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* ================= BASE ================= */
body {
  padding-top: 120px;
  font-family: var(--font-body);
  color: var(--text);
}

@media (max-width: 768px) {
  body {
    padding-top: 110px;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--secondary);
}

p {
  font-size: 16px;
  line-height: 1.7;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
}

/* ================= NAVBAR ================= */

.custom-navbar {
  padding: 12px 0;
  background: #fff !important;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.custom-navbar:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Logo */
.site-logo {
  height: 80px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .site-logo {
    height: 65px;
  }
}

/* Nav links */
.navbar-nav .nav-link {
  margin: 0 12px;
  font-weight: 500;
  color: var(--secondary);
  transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

/* ================= REMOVE DEFAULT BOOTSTRAP ARROW ================= */
.navbar .dropdown-toggle::after {
  display: none !important;
}

/* ================= CUSTOM ARROW ================= */
.navbar .bi-chevron-down {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.navbar .dropdown:hover .bi-chevron-down {
  transform: rotate(180deg);
}

/* Fine alignment */
.navbar .dropdown-toggle .big {
  position: relative;
  top: 1px;
}

/* ================= DROPDOWN ================= */
.dropdown-menu {
  border-radius: var(--radius);
  border: none;
  padding: 10px 0;
}

.dropdown-item {
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: #f5f5f5;
  padding-left: 24px;
}

/* ================= HOVER DROPDOWN ================= */
@media (min-width: 992px) {
  .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }

  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ================= STICKY SHRINK ================= */
.custom-navbar.scrolled {
  padding: 6px 0;
}

.custom-navbar.scrolled .site-logo {
  height: 50px;
}

/* ================= CARDS ================= */
.member-card,
.donate-card {
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
  transition: all 0.3s ease;
}

.member-card:hover,
.donate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Member */
.member-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  background: #eee;
}

.member-card h5 {
  margin-bottom: 5px;
}

/* Donate */
.donate-card {
  background: var(--light);
}

.donate-card h3 {
  font-weight: 700;
  color: var(--primary);
}

/* ================= SECTIONS ================= */
.bank-box {
  background: var(--soft-blue);
  padding: 20px;
  border-radius: var(--radius);
}

.map-container iframe {
  border-radius: var(--radius);
}

/* Lists */
ul {
  line-height: 1.8;
}

/* ================= FOOTER ================= */

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 50px 0 20px;
}

/* Logo */
.footer-logo {
  height: 60px;
}

/* Headings */
.site-footer h5 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Contact links */
.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

/* Divider */
.site-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

/* Bottom text */
.site-footer p {
  font-size: 14px;
}

/* Zoom effect */
.carousel-item img {
  transform: scale(1);
  transition: transform 2s ease;
}

.carousel-item.active img {
  transform: scale(1.08);
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  font-weight: 500;
  color: var(--primary);
  transition: 0.2s;
}

.read-more:hover {
  text-decoration: none;
  padding-left: 4px;
}

/* ================= DONOR CARDS ================= */

.donor-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  transition: 0.3s;
  border: 1px solid #eee;
}

.donor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Card */
.donor-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  border: 1px solid #eee;
  transition: 0.3s;

  border-left: 4px solid var(--primary);
}

.donor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Facility (less important) */
.donor-title {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Donor name (MAIN HERO) */
.donor-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

/* Memory note */
.donor-note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

/* =========================================
   Managing Committee
========================================= */

.committee-title {
  color: #b02141;
  font-weight: 700;
  margin-bottom: 8px;
}

.committee-subtitle {
  color: #6c757d;
  font-size: 1.05rem;
}

/* Member Card */

.member-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Top Section */

.member-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Member Image */

.member-img {
  width: 125px;
  height: 155px;
  object-fit: cover;
  background: #e9ecef;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Member Information */

.member-info {
  min-width: 0;
  flex: 1;
}

.member-info h5 {
  color: #b02141;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 7px;
  line-height: 1.25;
}

/* Designation */

.designation {
  display: inline-block;
  color: #b02141;
  background: #f9e8ed;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 10px;
}

/* Details */

.member-details {
  color: #606978;
  font-size: 0.84rem;
  line-height: 1.45;
}

.member-details > div {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 7px;
}

.member-details i {
  color: #b02141;
  font-size: 0.95rem;
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.member-details strong {
  color: #505765;
  font-weight: 600;
}

/* Brief Profile */

.profile-box {
  background: #f5f2ef;
  border-radius: 8px;
  padding: 13px 14px;
  margin-top: 16px;
  flex-grow: 1;
}

.profile-box h6 {
  color: #b02141;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.profile-box p {
  color: #606978;
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
}

/* Tablet */

@media (max-width: 991.98px) {
  .member-img {
    width: 115px;
    height: 145px;
  }

  .member-info h5 {
    font-size: 1.08rem;
  }
}

/* Mobile */

@media (max-width: 575.98px) {
  .committee-title {
    font-size: 1.8rem;
  }

  .committee-subtitle {
    font-size: 0.95rem;
  }

  .member-card {
    padding: 15px;
  }

  .member-img {
    width: 105px;
    height: 135px;
  }

  .member-top {
    gap: 13px;
  }

  .member-info h5 {
    font-size: 1rem;
  }

  .member-details {
    font-size: 0.78rem;
  }

  .designation {
    font-size: 0.75rem;
  }
}
