/* FAQ PAGE IMPROVEMENT */
.faq-item {
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-color);
}

.faq-question:hover {
  background: #fff5f5;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.6;
}/* CAMPAIGNS PAGE */
.campaign-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.campaign-btn {
  margin-top: 18px;
  width: 100%;
}

.campaign-section .campaign-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.campaign-section .campaign-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.campaign-section .campaign-content p:last-of-type {
  margin-bottom: 0;
}

.campaign-section .campaign-btn {
  margin-top: auto;
}

@media (max-width: 767px) {
  .campaign-btn {
    width: 100%;
  }
}/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.contact-form-box,
.contact-info-box {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

/* form */
.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.contact-form textarea {
  height: 120px;
}

/* info */
.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 20px;
  color: var(--primary-color);
}

.contact-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* map */
.map-box iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 16px;
}

/* static map image styling */
.map-box img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: none;
  border-radius: 16px;
}

/* responsive */
@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}/* DONOR GRID */
.donor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.donor-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.donor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.donor-card h3 {
  margin-bottom: 10px;
}

.donor-card p {
  margin-bottom: 6px;
  font-size: 14px;
}

/* ACTIONS */
.donor-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

/* responsive */
@media (max-width: 991px) {
  .donor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .donor-grid {
    grid-template-columns: 1fr;
  }
}/* REQUEST FORM */
.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.request-form input,
.request-form select,
.request-form textarea {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.request-form textarea {
  grid-column: span 2;
  height: 120px;
}

.request-form button {
  grid-column: span 2;
}

/* responsive */
@media (max-width: 767px) {
  .request-form {
    grid-template-columns: 1fr;
  }

  .request-form textarea,
  .request-form button {
    grid-column: span 1;
  }
} /* DONOR FORM */
.donor-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.donor-form input,
.donor-form select {
  height: 55px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.donor-form button {
  grid-column: span 2;
}

/* responsive */
@media (max-width: 767px) {
  .donor-form {
    grid-template-columns: 1fr;
  }

  .donor-form button {
    grid-column: span 1;
  }
}:root {
  --primary-color: #d62828;
  --primary-dark: #b71c1c;
  --secondary-color: #ffffff;
  --accent-color: #f8d7da;
  --text-color: #333333;
  --light-text: #666666;
  --light-bg: #f7f7f7;
  --border-color: #e8e8e8;
  --shadow: 0 10px 30px rgba(214, 40, 40, 0.08);
  --shadow-hover: 0 18px 45px rgba(214, 40, 40, 0.15);
  --radius: 18px;
  --radius-sm: 12px;
  --transition: all 0.35s ease;
  --container-width: 1200px;
}

/* Hero animated curvy background */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -30%;
  width: 140%;
  height: 160%;
  background: radial-gradient(closest-side at 20% 20%, rgba(214,40,40,0.12), transparent 20%),
              radial-gradient(closest-side at 80% 80%, rgba(255,123,123,0.08), transparent 20%);
  transform-origin: center;
  z-index: 0;
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  animation: floatCurve 16s ease-in-out infinite;
}

@keyframes floatCurve {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(8px) rotate(1.2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Ensure hero content appears above background */
.hero-section .container { position: relative; z-index: 2; }

/* Site-wide subtle animated gradient background */
body {
  background: linear-gradient(120deg, #fff, #fffaf9 40%, #fff7f7 60%);
  background-size: 400% 400%;
  animation: none;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Gentle entrance for major sections */
.section-space { will-change: auto; }
.reveal { transition: opacity 0.9s ease, transform 0.9s ease; }

/* Slight hover lift for interactive cards across the site */
.info-card, .process-card, .campaign-card, .testimonial-card, .donor-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.info-card:hover, .process-card:hover, .campaign-card:hover, .testimonial-card:hover, .donor-card:hover {
  transform: translateY(-8px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color);
  background: linear-gradient(160deg, #fffdfd 0%, #fff7f7 55%, #fffdfb 100%);
  animation: none;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

:where(.hero-section, .search-section, .section-space, .footer) {
  position: relative;
}

:where(.search-section, .section-space)::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 40, 40, 0.28), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

:where(.search-section, .section-space):hover::after {
  opacity: 1;
  transform: scaleX(1);
}

a[href] {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.35s ease, background-size 0.35s ease, filter 0.35s ease;
}

a[href]:hover {
  background-size: 100% 1px;
  filter: saturate(1.1);
}

:where(.btn, .logo, .footer-social a, .top-right a, .menu-toggle, .hero-slide) {
  background-image: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button,
input,
select,
textarea {
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  color: var(--text-color);
}

p {
  color: var(--light-text);
}

.container {
  width: min(var(--container-width), calc(100% - 32px));
  margin: 0 auto;
}

.section-space {
  padding: 90px 0;
}

.light-bg {
  background: var(--light-bg);
}

.sub-heading {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.white-text {
  color: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

/* Top Bar */
.top-bar {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.top-left,
.top-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-left span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-right a {
  color: #fff;
  font-size: 15px;
}

.top-right a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.navbar {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-color);
}

.logo span {
  color: var(--text-color);
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu ul li a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
  position: relative;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
  color: var(--primary-color);
}

.nav-menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
  color: var(--primary-color);
  cursor: pointer;
}

.desktop-btn {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 30px rgba(214, 40, 40, 0.18);
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--primary-color);
}

.quick-contact-shortcuts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-contact-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.quick-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.quick-contact-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quick-contact-btn img,
.quick-contact-btn span {
  position: relative;
  z-index: 1;
}

.quick-contact-btn img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
}

.quick-contact-call {
  background-image: url("../images/contact.jpg");
}

.quick-contact-call::before {
  background: linear-gradient(135deg, rgba(214, 40, 40, 0.9), rgba(124, 16, 16, 0.6));
}

.quick-contact-whatsapp {
  background-image: url("../images/about-team.jpg");
}

.quick-contact-whatsapp::before {
  background: linear-gradient(135deg, rgba(10, 115, 66, 0.9), rgba(22, 163, 74, 0.58));
}

.inner-page .hero-section {
  padding: 58px 0 42px;
}

.inner-page .hero-section::after {
  width: 250px;
  height: 250px;
  bottom: 6%;
}

.inner-page .hero-grid {
  gap: 34px;
}

.inner-page .hero-text h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  margin-bottom: 14px;
}

.inner-page .hero-text p {
  max-width: 560px;
  font-size: 16px;
  margin-bottom: 18px;
}

.inner-page .hero-buttons {
  margin-bottom: 20px;
}

.inner-page .hero-image {
  padding: 8px 10px 42px;
}

.inner-page .hero-image > img {
  max-height: 320px;
  object-fit: cover;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.inner-page .hero-card {
  max-width: 255px;
  padding: 18px;
}

@media (max-width: 767px) {
  .quick-contact-shortcuts {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }

  .quick-contact-btn {
    min-width: auto;
    padding: 13px 15px;
    font-size: 13px;
  }
}

.btn-light:hover {
  background: #fff5f5;
}

/* Hero */
.hero-section {
  padding: 90px 0 70px;
  background-image: linear-gradient(rgba(0,0,0,0.36), rgba(0,0,0,0.12)), url("../images/N1.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(214, 40, 40, 0.06) 45%, transparent 72%);
  filter: blur(6px);
  animation: heroHalo 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroHalo {
  0%,
  100% { transform: scale(0.96) translate3d(0, 0, 0); opacity: 0.6; }
  50% { transform: scale(1.08) translate3d(0, -10px, 0); opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 20px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

/* Ensure hero text is readable on background images */
.hero-section .hero-text h1,
.hero-section .hero-text p,
.hero-section .sub-heading,
.hero-section .hero-features div {
  color: #ffffff;
}

.hero-text p {
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 28px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-features {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-features div {
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.52);
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  backdrop-filter: blur(10px);
}

.hero-features div::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-features div:hover::before {
  opacity: 1;
}

.hero-features i {
  color: var(--primary-color);
  margin-right: 8px;
}

.hero-image {
  position: relative;
  perspective: 1400px;
  padding: 16px 18px 52px;
}

.hero-image::before,
.hero-image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-image::before {
  width: 160px;
  height: 160px;
  top: -10px;
  right: 10px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 68%);
  animation: orbitGlow 8s ease-in-out infinite;
}

.hero-image::after {
  width: 130px;
  height: 130px;
  left: -8px;
  bottom: 24px;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.28), transparent 70%);
  animation: orbitGlow 8s ease-in-out infinite reverse;
}

@keyframes orbitGlow {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.65; }
  50% { transform: translate3d(0, -12px, 0) scale(1.08); opacity: 1; }
}

.hero-image-frame {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transform: translateZ(0) rotate(-1deg);
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: -30% auto -30% -35%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
  z-index: 2;
  transform: rotate(12deg);
  animation: heroShimmer 9s linear infinite;
  pointer-events: none;
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.16));
  z-index: 3;
  pointer-events: none;
}

@keyframes heroShimmer {
  0% { transform: translateX(-180%) rotate(12deg); opacity: 0; }
  10% { opacity: 0.9; }
  45% { opacity: 0.25; }
  100% { transform: translateX(380%) rotate(12deg); opacity: 0; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1.04);
  filter: saturate(1.06);
  transition: opacity 0.72s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-slide.is-exiting {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1.02);
}

.hero-image:hover .hero-slide.is-active {
  transform: translate3d(0, -3px, 0) scale(1.01);
}

.hero-card {
  position: absolute;
  left: -4px;
  bottom: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  padding: 22px;
  max-width: 290px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  animation: heroCardFloat 6.5s ease-in-out infinite;
}

@keyframes heroCardFloat {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}

.hero-card h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-card p {
  font-size: 14px;
}

.hero-text .sub-heading,
.hero-text h1,
.hero-text p,
.hero-card {
  transition: opacity 0.38s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-text .sub-heading.hidden,
.hero-text h1.hidden,
.hero-text p.hidden,
.hero-card.hidden {
  opacity: 0;
  transform: translateY(8px);
}

.hero-slider-dots {
  position: absolute;
  right: 22px;
  bottom: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, width 0.35s ease;
}

.hero-dot.is-active {
  width: 34px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.hero-dot:hover {
  transform: scale(1.12);
}

/* Search */
.search-section {
  padding: 48px 0 44px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,246,246,0.98));
}

.search-section .container {
  max-width: 1020px;
}

.search-section .section-title {
  margin-bottom: 28px;
}

.search-section .section-title h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.search-form input,
.search-form select {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 0 16px;
  font-size: 14px;
  background: #fff;
}

.search-form .btn {
  min-height: 50px;
  padding: 12px 24px;
}

.search-form input:focus,
.search-form select:focus {
  border-color: var(--primary-color);
}

:where(.search-form, .request-form, .donor-form, .contact-form-box, .contact-info-box, .map-box img, .map-box iframe) {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

:where(.search-form, .request-form, .donor-form, .contact-form-box, .contact-info-box, .map-box img, .map-box iframe):hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 28px;
}

.four-column {
  grid-template-columns: repeat(4, 1fr);
}

.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.process-card,
.stats-card,
.testimonial-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.info-card:hover,
.process-card:hover,
.stats-card:hover,
.testimonial-card:hover,
.campaign-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-box i {
  font-size: 28px;
  color: var(--primary-color);
}

.info-card h3,
.process-card h3,
.campaign-content h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.info-card p,
.process-card p,
.testimonial-card p {
  font-size: 15px;
}

/* About Preview */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img,
.contact-image img {
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-image img:hover,
.contact-image img:hover,
.campaign-card img:hover {
  transform: scale(1.05);
}

.about-content h2,
.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 16px;
}

/* Process */
.process-card span {
  width: 58px;
  height: 58px;
  background: #fff3f3;
  color: var(--primary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
  font-family: "Poppins", sans-serif;
}

/* Blood Types */
.blood-group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.blood-box {
  background: linear-gradient(135deg, #ffffff, #ffe8ea);
  border: 1px solid #f3c7cc;
  border-radius: var(--radius);
  padding: 35px 20px;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-color);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blood-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* CTA */
.cta-box {
  background: linear-gradient(135deg, #d62828, #a91111);
  padding: 45px;
  border-radius: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
}

/* Stats */
.stats-card {
  text-align: center;
}

.stats-card h3 {
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stats-card p {
  font-weight: 600;
  color: var(--text-color);
}

/* Testimonials */
.testimonial-card h4 {
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 20px;
}

.testimonial-card span {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}

/* Campaigns */
.campaign-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.campaign-card img {
  height: 250px;
  object-fit: cover;
  border-radius: 0;
}

.campaign-content {
  padding: 24px;
}

.campaign-content p {
  margin-top: 10px;
  font-size: 15px;
}

.campaign-content i {
  color: var(--primary-color);
  margin-right: 8px;
}

:where(.info-card, .process-card, .stats-card, .testimonial-card, .campaign-card, .donor-card, .blood-box, .faq-item) {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

:where(.info-card, .process-card, .stats-card, .testimonial-card, .campaign-card, .donor-card, .blood-box, .faq-item):hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-hover);
  border-color: rgba(214, 40, 40, 0.22);
}

/* FAQ */
.faq-container {
  max-width: 900px;
}

/* Make sure FAQ title remains visible even if reveal animations are not triggered */
.faq-section .section-title {
  opacity: 1 !important;
  transform: none !important;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 22px 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
}

.faq-question span {
  flex: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease, letter-spacing 0.35s ease;
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-question:hover span,
.faq-item:hover .faq-question span {
  color: var(--primary-color);
  transform: translateX(6px);
  letter-spacing: 0.2px;
}

.faq-item:hover .faq-question i {
  transform: rotate(180deg) scale(1.08);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding: 0 24px;
  transition: grid-template-rows 0.35s ease, opacity 0.28s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  padding: 0 24px 22px;
}

.faq-answer p {
  margin: 0;
  overflow: hidden;
}

/* Contact Preview */
.contact-info p {
  margin-bottom: 18px;
}

.contact-info ul {
  margin-bottom: 24px;
}

.contact-info ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 16px;
  color: var(--text-color);
  font-weight: 600;
}

.contact-info ul li i {
  color: var(--primary-color);
  font-size: 18px;
}

:where(.contact-info ul li, .footer-col ul li, .hero-features div, .section-title .sub-heading, .section-title h2, .icon-box, .process-card span) {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease, letter-spacing 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.contact-info ul li:hover,
.footer-col ul li:hover,
.hero-features div:hover {
  transform: translateX(8px);
}

.process-card:hover h3,
.info-card:hover h3,
.campaign-card:hover h3,
.faq-item:hover h3,
.testimonial-card:hover h4,
.stats-card:hover h3,
.footer-col ul li:hover a,
.contact-info ul li:hover a,
.faq-item:hover .faq-question,
.campaign-card:hover p,
.process-card:hover p,
.info-card:hover p {
  color: var(--primary-color);
}

.testimonial-card:hover span,
.process-card:hover span,
.faq-item:hover .faq-answer p {
  transform: translateX(4px);
}

.testimonial-card h4,
.testimonial-card span,
.stats-card h3,
.campaign-content p,
.info-card h3,
.process-card h3,
.process-card p,
.info-card p,
.footer-col ul li a,
.contact-info ul li a,
.faq-question,
.faq-answer p {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease, letter-spacing 0.35s ease;
}

.section-title:hover .sub-heading {
  transform: translateX(8px);
  letter-spacing: 1.6px;
}

.section-title:hover h2 {
  transform: translateY(-3px);
  color: var(--primary-color);
}

/* Footer */
.footer {
  background: #161616;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 75px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-col h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-col ul li:hover i {
  transform: translateX(3px);
  color: var(--primary-color);
}

.footer-col ul li i {
  transition: transform 0.35s ease, color 0.35s ease;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 45px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

/* Animation */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.reveal-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}
/* =========================
   ABOUT PAGE EXTRA STYLING
========================= */

/* Page hero fine tuning */
.hero-section .hero-text h1 {
  max-width: 700px;
}

.hero-section .hero-text p {
  max-width: 620px;
}

/* About intro image section */
.about-preview .about-image img,
.contact-preview .contact-image img {
  height: 100%;
}

.about-preview .about-content,
.contact-preview .contact-info {
  position: relative;
}

.about-preview .about-content::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  border-radius: 20px;
  background: var(--primary-color);
}

/* Mission / values cards */
.why-choose .info-card {
  height: 100%;
}

.why-choose .info-card p {
  margin-bottom: 0;
}

/* About process cards */
.process-section .process-card {
  position: relative;
  overflow: hidden;
}

.process-section .process-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  background: rgba(214, 40, 40, 0.05);
  border-radius: 50%;
}

.process-section .process-card span {
  position: relative;
  z-index: 2;
}

.process-section .process-card h3,
.process-section .process-card p {
  position: relative;
  z-index: 2;
}

/* Stats section improvement */
.stats-section .section-title {
  margin-bottom: 40px;
}

.stats-section .stats-card {
  position: relative;
  overflow: hidden;
}

.stats-section .stats-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #ff7b7b);
}

.stats-section .stats-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

/* Promise / testimonial cards */
.testimonials-section .testimonial-card {
  height: 100%;
  position: relative;
}

.testimonials-section .testimonial-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 22px;
  color: rgba(214, 40, 40, 0.12);
}

.testimonials-section .testimonial-card p {
  padding-top: 10px;
}

.testimonial-card:hover::before {
  transform: translateY(-4px) scale(1.08);
  color: rgba(214, 40, 40, 0.24);
}

/* Better section backgrounds for about page flow */
.about-preview.light-bg,
.why-choose.light-bg,
.contact-preview.light-bg,
.process-section.light-bg {
  background: linear-gradient(180deg, #fffdfd 0%, #fff7f7 100%);
}

/* CTA section premium polish */
.emergency-cta .cta-box {
  position: relative;
  overflow: hidden;
}

.emergency-cta .cta-box::before,
.emergency-cta .cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.emergency-cta .cta-box::before {
  width: 180px;
  height: 180px;
  top: -70px;
  right: -40px;
}

.emergency-cta .cta-box::after {
  width: 120px;
  height: 120px;
  bottom: -40px;
  left: -20px;
}

.emergency-cta .cta-box > * {
  position: relative;
  z-index: 2;
}

/* Contact preview polish */
.contact-info ul li {
  background: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.contact-info ul li:last-child {
  margin-bottom: 0;
}

/* Hover polish */
.info-card:hover .icon-box,
.process-card:hover span,
.info-card:hover .icon-box i {
  transform: scale(1.08);
  transition: var(--transition);
}

.contact-image img:hover,
.about-image img:hover {
  transform: scale(1.03);
}

/* Responsive about page polish */
@media (max-width: 991px) {
  .about-preview .about-content::before {
    top: -6px;
  }
}

@media (max-width: 767px) {
  .testimonials-section .testimonial-card::before {
    top: 18px;
    right: 18px;
    font-size: 18px;
  }

  .contact-info ul li {
    padding: 12px 14px;
  }
}

@media (max-width: 575px) {
  .about-preview .about-content::before {
    width: 55px;
  }

  .stats-section .stats-card h3 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}