/* ===================================
   GLOBAL RESET
=================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f6f8;
}


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

.navbar-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===================================
   LOGO
=================================== */

.logo {
  flex: 1;
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;   /* adjust this value */
  width: 130px;    /* maintain aspect ratio */
  object-fit: contain;
}
/* ===================================
   NAVIGATION MENU
=================================== */

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 2;
}

/* ===================================
   NAV LINKS
=================================== */

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #4082ab;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #4082ab;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ===================================
   RIGHT SIDE WRAPPER
=================================== */

.navbar-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

/* ===================================
   NAVBAR DONATE BUTTON
=================================== */

.navbar-donate-btn {
  display: inline-block;
  width: fit-content;
  background: #900a0a;
  color: #ffffff !important;
  padding: 10px 26px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s ease;
  white-space: nowrap;
}

.navbar-donate-btn:hover {
  background: #d31a1a;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ===================================
   HAMBURGER
=================================== */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.4s;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

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

@media (max-width: 768px) {

  .navbar-custom {
    padding: 18px 5%;
  }

  .nav-menu {
    position: absolute;
    top: 75px;
    left: -100%;
    flex-direction: column;
    background: #ffffff;
    width: 100%;
    padding: 30px 0;
    gap: 22px;
    transition: 0.3s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

}


/* ===================================
   HERO SECTION
=================================== */

.hero-section {
  margin-top: 20px;
}

.hero-container {
  padding: 0 80px;
}

.hero-banner-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f3f3;
}

.hero-banner {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-border {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid white;
  border-radius: 12px;
  pointer-events: none;
}

.mobile-banner {
  display: none;
}

@media (max-width: 992px) {
  .hero-container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 0 20px;
  }
  .desktop-banner {
    display: none;
  }
  .mobile-banner {
    display: block;
  }
  .hero-border {
    display: none;
  }
}


/* ===================================
   SECTION HEADING
=================================== */

.info-section {
  margin-top: 50px;
}

.section-heading h2 {
  font-weight: 600;
  font-size: 34px;
  color: #222;
  margin-bottom: 10px;
}

.heading-underline {
  width: 70px;
  height: 4px;
  background: #dc3545;
  margin: auto;
  border-radius: 10px;
}


/* ===================================
   CAMPAIGN CARDS
=================================== */

.info-section{
  margin-bottom: 150px;
}

.info-card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.Campaigns-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin: auto;
}

.card-btn {
  background: #900a09;
  color: white;
  border: none;
  padding: 8px 22px;
  border-radius: 25px;
  transition: 0.3s;
}

.card-btn:hover {
  background: #d82727;
}

/* EXPERT SECTION STYLES */

.expert-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.top-tag {
    color: #900a09;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.heading-underline {
    width: 50px;
    height: 3px;
    background: #900a09;
    margin: 15px auto 0;
}

/* CARD DESIGN */
.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%; /* Ensures all cards are same height */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

/* IMAGE FIX */
/* Update the existing .service-img rule */
.service-img {
    position: relative;
    height: 240px; /* Or your desired height */
    overflow: hidden;
    /* Add border-radius here */
   border-radius: 15px;
}

/* Ensure the image itself respects the border radius */
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* Apply border-radius directly to the image too, if necessary */
    border-top-left-radius: 15px; /* Adjust radius value to match container */
    border-top-right-radius: 15px; /* Adjust radius value to match container */
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-tag-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #900a09;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* CONTENT AREA */
.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.service-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    text-decoration: none;
    color: #900a09;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.2s;
}

.card-link span {
    transition: margin-left 0.2s;
}

.card-link:hover span {
    margin-left: 8px;
}

/* BOTTOM BUTTON */
.explore-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #900a09;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(144, 10, 9, 0.2);
    transition: 0.3s;
}

.explore-btn:hover {
    background: #d82727;
    color: white;
    transform: scale(1.05);
}


/* ===================================
   FAQ SECTION
=================================== */

.faq-section {
  padding: 60px 20px;
  background: #f5f9ff;
}

.faq-card {
  background: white;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
}

.faq-card .accordion-button {
  font-weight: 500;
  padding: 14px 18px;
}

.faq-card .accordion-body {
  padding: 14px 18px;
  color: #555;
  line-height: 1.6;
}


/* ===================================
   GALLERY SECTION
=================================== */

.gallery-section {
  background: #f2fbfec7;
  padding: 80px 20px;
}

.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border: none;
  padding: 10px 15px;
}

#modalImage {
  border-radius: 12px;
}


/* ===================================
   SERVICES SECTION
=================================== */

.services-section {
  padding: 80px 20px;
  background: #f5f9ff;
}

.services-heading h1 {
  font-weight: 600;
  font-size: 36px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 14px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.service-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.explore-link {
  color: #900a09;
  font-weight: 500;
  text-decoration: none;
}

.explore-link:hover {
  text-decoration: underline;
}

.accordion-button {
  font-weight: 600;
  font-size: 18px;
}

.accordion-button:not(.collapsed) {
  background: #e8f1ff;
  color: #000;
}

.accordion-body {
  color: #555;
  line-height: 1.6;
  text-align: start;
}


/* ===================================
   CONTACT SECTION
=================================== */

.contact-section {
  padding: 80px 20px;
  background: #f5f9ff;
}

.contact-form-box {
  background: white;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.contact-form-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.contact-form-box h3 {
  margin-bottom: 20px;
  font-weight: 600;
}

.form-control {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: 0.3s;
}

.form-control:focus {
  border-color: #900a09;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

.contact-btn {
  background: #900a09;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 500;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #d82727;
  transform: translateY(-2px);
}

.contact-info-box {
  background: white;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.contact-info-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-box h3 {
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-info-box p {
  color: #666;
  margin-bottom: 25px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-item i {
  font-size: 20px;
  color: #900a09;
}

.map-section {
  margin-top: 60px;
}

.map-section iframe {
  border-radius: 12px;
}


/* ===================================
   DONATE PAGE — CSS
=================================== */

:root {
  --primary:       #9e2a0e;
  --primary-hover: #7d2009;
  --gold:          #e8a020;
  --soft-bg:       #faf8f5;
  --card-bg:       #ffffff;
  --border:        #e8e0d8;
  --text-main:     #1a1208;
  --text-muted:    #6b5f52;
  --tag-bg:        #fff3eb;
}

* { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--soft-bg);
  color: var(--text-main);
  min-height: 100vh;
}

/* ── OUTER 2-COLUMN GRID ────────────────────────────── */
.outer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 60px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .outer-wrapper { grid-template-columns: 1fr; }
}

/* ── CAMPAIGN HEADER ────────────────────────────────── */
.campaign-header {
  margin-bottom: 16px;
}

.campaign-header h2 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.campaign-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}
/* ── MEDIA CARD ─────────────────────────────────────── */
.media-card {
  /* background: var(--card-bg); */
  /* border: 1px solid var(--border); */
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  /* box-shadow: 0 2px 12px rgba(0,0,0,.05); */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

/* When empty — shows upload/embed prompt */
.media-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: #fdf5ef;
  border-right: 1px dashed var(--border);
  gap: 14px;
  cursor: pointer;
  transition: background .2s;
  position: relative;
  padding: 24px;
}

.media-placeholder:hover { background: #faeee4; }

.media-placeholder .upload-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--tag-bg);
  border: 2px dashed var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
}

.media-placeholder h6 {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  color: var(--text-main);
}

.media-placeholder p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  line-height: 1.6;
}

.media-type-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.media-type-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.media-type-btn:hover,
.media-type-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--tag-bg);
}

/* ── Portrait video output panel ── */
.media-output {
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  border-radius: 0 14px 14px 0;
  background: #000;
}

.media-output iframe,
.media-output video,
.media-output img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .2s;
}

.media-remove-btn:hover { background: rgba(200,0,0,.75); }

/* ── Responsive: stack on small screens ── */
@media (max-width: 600px) {
  .media-card {
    flex-direction: column;
  }

  .media-placeholder {
    border-right: none;
    border-bottom: 1px dashed var(--border);
  }

  .media-output {
    width: 100%;
    border-radius: 0 0 14px 14px;
    aspect-ratio: 9 / 16;
  }
}
/* Embed input bar */
.embed-bar {
  display: none;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  gap: 10px;
  align-items: center;
  background: #fff;
}

.embed-bar input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.88rem;
  outline: none;
  font-family: inherit;
  transition: border .2s;
}

.embed-bar input:focus { border-color: var(--primary); }

.embed-bar button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}

.embed-bar button:hover { background: var(--primary-hover); }

/* Rendered media inside the card */
.media-output {
  display: none;
  position: relative;
}

.media-output iframe,
.media-output video,
.media-output img {
  width: 100%;
  display: block;
  border: none;
}

.media-output iframe { height: 360px; }
.media-output video  { max-height: 400px; object-fit: cover; }
.media-output img    { max-height: 400px; object-fit: cover; }

.media-remove-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  transition: background .2s;
}

.media-remove-btn:hover { background: rgba(158,42,14,.85); }

/* ── STICKY TABS ────────────────────────────────────── */
.sticky-tabs {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--soft-bg);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.nav-tabs-custom {
  display: flex;
  gap: 6px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.nav-tabs-custom .nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.nav-tabs-custom .nav-item .nav-link.active,
.nav-tabs-custom .nav-item .nav-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── SECTIONS WRAPPER ───────────────────────────────── */
.sections-wrapper section {
  margin-bottom: 50px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ── PRODUCT CARDS ──────────────────────────────────── */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow .25s, transform .25s;
}

.product-card:hover {
  box-shadow: 0 8px 28px rgba(158,42,14,.12);
  transform: translateY(-2px);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-card-sm img { height: 160px; }

.product-card-body {
  padding: 16px 20px;
}

.product-card-body h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card-body p {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.6;
  margin: 0;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}

.product-price { font-size: 1.1rem; font-weight: 700; }

.btn-add {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .2s;
}

.btn-add:hover { background: var(--primary-hover); }

.product-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 540px) {
  .product-grid-2 { grid-template-columns: 1fr; }
}

/* ── STORY SECTION ──────────────────────────────────── */
.story-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.story-section img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 14px;
  object-fit: cover;
  max-height: 280px;
}

.story-section p {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.93rem;
  margin-bottom: 16px;
}

/* ── UPDATE CARDS ───────────────────────────────────── */
.update-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.update-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--tag-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.update-body h6 { font-weight: 700; font-size: 0.93rem; margin-bottom: 4px; }
.update-body p  { color: var(--text-muted); font-size: 0.86rem; margin: 0; line-height: 1.6; }
.update-date    { font-size: 0.77rem; color: var(--text-muted); margin-top: 6px; }

/* ── SIDEBAR ────────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 20px;
}

.donate-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

.progress-pct {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-dot {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #2ecc71;
  color: #fff;
  font-size: 0.63rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.donation-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #f0ece6;
  border-radius: 20px;
  padding: 2px 12px;
  font-weight: 600;
}

.progress-bar-wrap {
  height: 8px;
  background: #ede8e0;
  border-radius: 99px;
  margin: 10px 0 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f0a500);
  border-radius: 99px;
  transition: width 1.2s ease;
}

.raised-amt  { font-size: 1.15rem; font-weight: 700; }
.raised-text { font-size: 0.82rem; color: var(--text-muted); }

.amount-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.amount-pill {
  flex: 1;
  min-width: 60px;
  text-align: center;
  padding: 9px 4px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  position: relative;
  transition: all .2s;
  color: var(--text-main);
}

.amount-pill.active {
  border-color: var(--primary);
  background: var(--tag-bg);
  color: var(--primary);
}

.amount-pill .badge-popular {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.58rem;
  border-radius: 20px;
  padding: 2px 7px;
  white-space: nowrap;
  font-weight: 700;
}

.btn-donate {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.btn-donate:hover { background: var(--primary-hover); }

.donors-header { margin-top: 20px; margin-bottom: 12px; }
.donors-title  { font-weight: 700; font-size: 0.97rem; }

.donor-tabs {
  display: flex;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 12px;
}

.donor-tab {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  transition: all .2s;
}

.donor-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.donor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f0ece6;
}

.donor-row:last-child { border: none; }

.donor-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #f0e8df;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.donor-info { flex: 1; }
.donor-name { font-weight: 600; font-size: 0.86rem; }
.donor-meta { font-size: 0.74rem; color: var(--text-muted); }
.donor-amt  { font-weight: 700; font-size: 0.88rem; }

.btn-view-more {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 9px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.87rem;
  cursor: pointer;
  transition: background .2s;
}

.btn-view-more:hover { background: var(--primary-hover); }

/* ── TOAST ──────────────────────────────────────────── */
.toast-bar {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1208;
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.87rem;
  font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  z-index: 999;
  opacity: 0;
  transition: all .4s ease;
  white-space: nowrap;
}

.toast-bar.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── SCROLL REVEAL ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }




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

.footer-section {
  background: linear-gradient(135deg, #ffc089, #f88a5b);
  color: white;
  padding: 60px 20px 30px;
  margin-top: 60px;
}

.footer-logo img {
  height: 100px;
  margin-bottom: 15px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 12px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact i {
  color: #ff0000;
  font-size: 16px;
  margin-top: 4px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
}

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

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

.footer-links a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ff0000;
  padding-left: 5px;
}

.footer-news {
  font-size: 14px;
  line-height: 1.6;
}

.donate-footer-btn {
  display: inline-block;
  margin-top: 10px;
  background: #900a09;
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.donate-footer-btn:hover {
  background: #e22b2b;
  transform: translateY(-3px);
}

.footer-social {
  margin-top: 40px;
}

.footer-social a {
  display: inline-block;
  margin: 0 10px;
  font-size: 22px;
  color: white;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ff0000;
  transform: scale(1.2);
}

.footer-bottom {
  margin-top: 25px;
  font-size: 14px;
  opacity: 0.8;
}


/* ===================================
   FLOATING CALL BUTTON
=================================== */

.floating-call-btn {
  position: fixed;
  bottom: 35px;
  right: 35px;
  z-index: 9999;

  width: 58px;
  height: 58px;
  border-radius: 50%;

  background: #900a09;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;

  box-shadow: 0 6px 20px rgba(144, 10, 9, 0.45);

  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;

  /* Ripple ring animation */
  animation: ripple-ring 2s ease-out infinite;
}

/* Hover state */
.floating-call-btn:hover {
  background: #d82727;
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 12px 30px rgba(144, 10, 9, 0.55);
  color: white;
}

/* Tooltip label */
.call-tooltip {
  position: absolute;
  right: 70px;
  background: #222;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Tooltip arrow */
.call-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #222;
}

/* Show tooltip on hover */
.floating-call-btn:hover .call-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Ripple ring keyframes */
@keyframes ripple-ring {
  0% {
    box-shadow:
      0 6px 20px rgba(144, 10, 9, 0.45),
      0 0 0 0 rgba(144, 10, 9, 0.35);
  }
  70% {
    box-shadow:
      0 6px 20px rgba(144, 10, 9, 0.45),
      0 0 0 16px rgba(144, 10, 9, 0);
  }
  100% {
    box-shadow:
      0 6px 20px rgba(144, 10, 9, 0.45),
      0 0 0 0 rgba(144, 10, 9, 0);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .floating-call-btn {
    bottom: 25px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
}

