/* ===== Header Brand Styles ===== */
.brand-header {
  animation: fadeInDown 0.8s ease both;
}

/* Smooth scrolling for anchor navigation */
html {
  scroll-behavior: smooth;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.re {
  margin-top: -15px;
}

.brand-logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.brand-logo-link:hover {
  opacity: 0.92;
}

/* Logo crop container — removes built-in PNG whitespace via overflow + object-fit */
.logo-crop-container {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(68, 19, 31, 0.12);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.logo-crop-container:hover {
  box-shadow: 0 8px 36px rgba(244, 196, 48, 0.22);
  transform: translateY(-2px);
}

.logo-crop-container img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}

/* Subtle lift and scale for glass cards */
.glass {
  transition: transform 0.35s cubic-bezier(.2, .9, .2, 1), box-shadow 0.35s ease, opacity 0.35s ease;
  will-change: transform, opacity;
}

.glass:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(68, 19, 31, 0.12);
}

#key-objectives {
  margin-top: 36PX;
}

/* Smooth image transitions */
.object-cover,
.glass img {
  transition: transform 0.6s ease, opacity 0.45s ease;
  will-change: transform, opacity;
}

.group:hover .object-cover {
  transform: scale(1.05);
}

/* Animated gradient text */
.gradient-text {
  background: linear-gradient(90deg, #7b1e2b, #b78211, #7b1e2b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

  .glass,
  .object-cover,
  .gradient-text,
  .logo-crop-container img,
  img,
  video,
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Responsive logo sizing with clamp */
.header-logo-wrap {
  width: clamp(140px, 18vw, 220px);
  height: clamp(48px, 6vw, 72px);
}

/* Subtitle under logo */
.brand-subtitle {
  font-family: var(--font-montserrat), "Montserrat", sans-serif;
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  transition: color 0.3s ease;
}

.brand-logo-link:hover .brand-subtitle {
  color: #7b1e2b;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
  .header-logo-wrap {
    width: clamp(120px, 32vw, 170px);
    height: clamp(42px, 10vw, 60px);
  }

  .brand-subtitle {
    font-size: clamp(0.55rem, 1.8vw, 0.7rem);
    letter-spacing: 0.18em;
  }
}

@media (max-width: 639px) {
  .header-logo-wrap {
    width: clamp(110px, 36vw, 150px);
    height: clamp(38px, 12vw, 54px);
  }

  .brand-subtitle {
    font-size: clamp(0.5rem, 2vw, 0.65rem);
    letter-spacing: 0.15em;
  }
}

/* ===== Existing components ===== */
.mobile-nav-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.mobile-nav-panel.is-open {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 12, 11, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: min(100%, 1100px);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.lightbox-overlay.is-open .lightbox-dialog {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.lightbox-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
}

.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Board Members styles */
.board-grid {
  align-items: start;
}

.member-card img {
  width: 112px;
  height: 112px;
  border-radius: 9999px;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(.2, .9, .2, 1), box-shadow 0.35s ease;
  box-shadow: 0 6px 18px rgba(43, 17, 20, 0.08);
}

.member-card:hover img {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 48px rgba(43, 17, 20, 0.12);
}

.member-card {
  transition: transform 0.35s cubic-bezier(.2, .9, .2, 1), box-shadow 0.35s ease, background 0.25s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(43, 17, 20, 0.08);
}

.member-card h5 {
  transition: color 0.25s ease;
}

.member-card:hover h5 {
  color: #7b1e2b;
}

/* small utility for consistent spacing on the about page */
.container.space-y-12>.board-grid {
  margin-top: 0.5rem;
}

/* Decorative headings and premium section styling */
.section-decor {
  position: relative;
  overflow: visible;
}

.section-decor .section-sub {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(123, 30, 43, 0.06), rgba(183, 130, 17, 0.04));
  color: #7b1e2b;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.section-decor h2 {
  margin-top: 0.6rem;
  letter-spacing: -0.02em;
}

.section-decor h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #7b1e2b, #b78211);
  margin: 1rem auto 0;
  opacity: 0.85;
}

/* Centered Get Involved premium card */
.get-involved-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.get-involved-centered .glass {
  max-width: 900px;
  width: 100%;
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  box-shadow: 0 20px 40px rgba(43, 17, 20, 0.06);
}

.get-involved-centered .cta-group {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.btn-cta {
  padding: 0.7rem 1.1rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: transform 0.28s cubic-bezier(.2, .9, .2, 1), box-shadow 0.25s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #7b1e2b, #b78211);
  color: #fff;
  box-shadow: 0 12px 30px rgba(183, 130, 17, 0.12);
}

.btn-secondary {
  background: transparent;
  color: #7b1e2b;
  border: 1px solid rgba(123, 30, 43, 0.12);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.01);
}

.btn-secondary:hover {
  transform: translateY(-3px);
}

/* Board members strip to make cards stand out */
.board-strip {
  margin-top: 2rem;
  padding: 2.25rem 0;
  background: linear-gradient(180deg, rgba(123, 30, 43, 0.06), rgba(183, 130, 17, 0.03));
}

.board-strip .container {
  position: relative;
}

.board-strip .member-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px) saturate(120%);
}

.board-strip .member-card::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 6px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(180deg, #b78211, #7b1e2b);
  opacity: 0.95;
}

/* General spacing and smoother typography */
body.font-sans {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h2,
h3,
h4,
h5 {
  line-height: 1.12;
}

p {
  line-height: 1.8;
}

/* Floating decorative animation for subtle dynamics */
@keyframes floaty {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

.floaty {
  animation: floaty 6s ease-in-out infinite;
}

/* Core values / Programs icon list */
.icon-list {
  counter-reset: li;
}

/* Fix: prevent extra bottom whitespace when pages use `min-h-screen` on body */
.min-h-screen {
  min-height: auto !important;
}

.icon-list li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 0.6rem;
}

.icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, #b78211, #7b1e2b);
  box-shadow: 0 6px 18px rgba(123, 30, 43, 0.12);
}

/* inline SVG icon container for list items */
.li-icon {
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  margin-right: 0.6rem;
  vertical-align: middle;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
}

.icon-list li svg {
  display: block;
}

/* Highlight style for the selected board member card */
.member-card.highlight {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 36px 80px rgba(123, 30, 43, 0.12);
  border: 1px solid rgba(183, 130, 17, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.member-card.highlight img {
  box-shadow: 0 18px 36px rgba(123, 30, 43, 0.08);
  transform: scale(1.02);
}

/* Gallery highlight styling */
.gallery-figure {
  transition: transform 0.45s cubic-bezier(.2, .9, .2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.gallery-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-figure:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 60px rgba(43, 17, 20, 0.08);
  border-color: rgba(183, 130, 17, 0.12);
}

/* Board grid center highlight on larger screens */
.board-grid>.member-card:nth-child(2) {
  transform: translateY(-6px) scale(1.02);
}

@media (max-width: 1023px) {
  .board-grid>.member-card:nth-child(2) {
    transform: none;
  }
}

/* Tighter footer spacing when page is compact */
footer {
  margin-top: 0;
  /* controlled by utility class on the page */
}

/* Ensure headings and section text on About page match homepage fonts */
.board-strip h4,
.section-decor h2,
.member-card h5,
.gallery-figure figcaption,
.core-programs h4,
.core-programs .glass h4 {
  font-family: var(--font-montserrat), "Montserrat", sans-serif;
}

/* Improve core-programs card visuals */
.core-programs .glass {
  padding: 1.25rem;
  border-left: 6px solid rgba(183, 130, 17, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.core-programs .glass h4 {
  font-weight: 700;
  color: #7b1e2b;
}

.core-programs .icon-list li::before {
  width: 1.15rem;
  height: 1.15rem;
  top: 0.45rem;
}

/* Board member role styling and contrast */
.member-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.member-card h5 {
  font-family: var(--font-montserrat), "Montserrat", sans-serif;
  font-size: 1.05rem;
}

/* Make gallery captions slightly bolder and Montserrat */
.gallery-figure figcaption {
  font-family: var(--font-montserrat), "Montserrat", sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* Slightly tighten section spacing */
.container.mx-auto.space-y-12.px-4>.board-strip {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Advanced Animation for Board Members and Gallery Highlights Headings */
@keyframes premiumGradientGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#about-welcome h2.font-display,
#board-members h2.font-display,
#gallery-highlights h2.font-display {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #7b1e2b, #b52c40, #7b1e2b, #5a141e);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: premiumGradientGlow 6s ease infinite;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
  cursor: default;
  position: relative;
}

#about-welcome h2.font-display:hover,
#board-members h2.font-display:hover,
#gallery-highlights h2.font-display:hover {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 8px 12px rgba(123, 30, 43, 0.35));
}

/* Enhanced Animations for About Us Info Cards (What We Do, Mission, Vision, Values) */
@keyframes fadeInUpLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  /* Start hidden */
  animation: fadeInUpLoad 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.25s;
}

.delay-3 {
  animation-delay: 0.4s;
}

.delay-4 {
  animation-delay: 0.55s;
}

#about-welcome .glass {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out, border-color 0.4s ease-in-out, background-color 0.4s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

#about-welcome .glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-25deg);
  opacity: 0;
  pointer-events: none;
}

#about-welcome .glass:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 32px -8px rgba(123, 30, 43, 0.15);
  border-color: rgba(183, 130, 17, 0.3);
  /* Softer ngoGold highlight */
  background-color: rgba(255, 255, 255, 0.95);
}

#about-welcome .glass:hover::after {
  animation: shineSweep 0.8s ease-in-out forwards;
}

@keyframes shineSweep {
  0% {
    left: -150%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    left: 200%;
    opacity: 0;
  }
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 0px;
  background: #fff8d6;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease-in-out, transform 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for readability */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(43, 17, 22, 0.85),
      rgba(43, 17, 22, 0.25),
      rgba(255, 248, 214, 0.1));
}

/* Banner Content */
.banner-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 650px;
  z-index: 2;
  color: white;
}

.banner-content h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.85);
}

.banner-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 193, 7, 0.95);
  color: #2b1116;
  transition: 0.3s;
}

.banner-btn:hover {
  background: rgba(255, 193, 7, 1);
  transform: translateY(-2px);
}

/* Slider Buttons */
.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(43, 17, 22, 0.55);
  color: white;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 22px;
  border-radius: 50%;
  z-index: 5;
  transition: 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
  background: rgba(255, 193, 7, 0.9);
  color: #2b1116;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Dots */
.dots {
  position: absolute;
  bottom: 18px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  width: 26px;
  border-radius: 20px;
  background: rgba(255, 193, 7, 0.95);
}

/* Responsive */
@media (max-width: 768px) {
  .banner-slider {
    height: 420px;
  }

  .banner-content h1 {
    font-size: 40px;
  }

  .banner-content p {
    font-size: 14px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.m_set {
  margin-top: 0 !important;
  margin-bottom: -65px  !important;
}
.m_set1 {
  margin-top: 10px !important;

}


.m-45{
  margin-top:45px !important;
}
.gradient_text_n {

  background: linear-gradient(90deg, #ffffff, #e7b853, #bf495a);

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation:
    fadeInUp 1s ease-out forwards,
    gradientShift 6s ease infinite;
}

/* 3. Apply to the Paragraph (Education | Empowerment | Equality) */
.banner-content p {
  opacity: 0;
  /* Starts invisible */
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

.banner-btn {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.banner-btn:hover {
  transform: scale(1.05);
}

.leadership-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
}

.leadership-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 42px);
  margin-top: 34px;
}

.leadership-profile-card,
.leadership-message-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 239, 0.82));
  border: 1px solid rgba(120, 55, 67, 0.12);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(43, 17, 22, 0.12);
  transform: translateY(0);
  transition: all 0.5s ease-in-out, transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  will-change: transform, box-shadow;
}

.leadership-profile-card::before,
.leadership-message-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(183, 130, 17, 0.18), rgba(139, 30, 49, 0.08), rgba(255, 255, 255, 0.4));
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.5s ease-in-out;
}

.leadership-profile-card:hover,
.leadership-message-card:hover {
  box-shadow: 0 30px 80px rgba(43, 17, 22, 0.18), 0 0 34px rgba(183, 130, 17, 0.16);
  transform: translateY(-8px);
}

.leadership-profile-card:hover::before,
.leadership-message-card:hover::before {
  opacity: 1;
}

.leadership-profile-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.leadership-photo-wrap {
  margin: 28px 28px 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  background: #f8f4ef;
  box-shadow: inset 0 0 0 1px rgba(139, 30, 49, 0.08);
}

.leadership-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.7s ease-in-out, filter 0.5s ease-in-out;
}

.leadership-profile-card:hover .leadership-photo {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.08);
}

.leadership-profile-content {
  padding: 28px 24px 32px;
}

.leadership-label,
.leadership-message-label {
  margin: 0 0 10px;
  color: #8b1e31;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.leadership-profile-content h2 {
  margin: 0;
  color: #241316;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.18;
}

.leadership-designation {
  display: inline-flex;
  margin: 16px 0 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(183, 130, 17, 0.14);
  color: #7c1f2f;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.leadership-message-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(28px, 5vw, 56px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.leadership-message-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36)),
    linear-gradient(145deg, rgba(183, 130, 17, 0.12), rgba(139, 30, 49, 0.06), transparent);
  opacity: 0.88;
}

.leadership-message-card h2,
.leadership-message-card h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.leadership-message-card h3.gradient_text_n {
  display: inline-block;
  width: fit-content;
  background: linear-gradient(90deg, #7b1e2b, #b78211, #bf495a, #7b1e2b);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
  animation: leadershipGradientShimmer 5s ease-in-out infinite;
}

.leadership-message-card p:last-child {
  margin: 26px 0 0;
  color: #5f5557;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.9;
}

.reveal-on-scroll.reveal-ready {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out, box-shadow 0.5s ease-in-out;
}

.reveal-on-scroll.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.leadership-profile-card.reveal-ready.is-visible:hover,
.leadership-message-card.reveal-ready.is-visible:hover {
  animation-play-state: paused;
  transform: translateY(-8px);
}

.leadership-profile-card.reveal-ready.is-visible,
.leadership-message-card.reveal-ready.is-visible {
  animation: leadershipFadeSlideUp 0.85s ease-in-out both, leadershipCardFloat 5s ease-in-out 1s infinite;
}

.leadership-message-card.reveal-ready.is-visible {
  animation-delay: 0.12s, 1.12s;
}

@keyframes leadershipFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leadershipCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes leadershipGradientShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 900px) {
  .leadership-section {
    padding: 48px 0 40px;
  }

  .leadership-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
  }

  .leadership-profile-card,
  .leadership-message-card {
    border-radius: 22px;
  }

  .leadership-photo-wrap {
    aspect-ratio: 16 / 13;
    margin: 22px 22px 0;
  }

  .leadership-profile-content,
  .leadership-message-card {
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .impact-stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.botpress-chat-widget {
  position: fixed;
  right: 96px;
  bottom: 24px;
  z-index: 80;
  font-family: inherit;
}

.botpress-chat-toggle {
  display: flex;
  height: 58px;
  width: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, #8b1f35 0%, #5d1425 52%, #2b1116 100%);
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(43, 17, 22, 0.3), 0 0 0 8px rgba(139, 31, 53, 0.08);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
  animation: chatPulse 2.8s ease-in-out infinite;
}

.botpress-chat-toggle:hover {
  transform: translateY(-4px) scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 28px 64px rgba(43, 17, 22, 0.36), 0 0 0 10px rgba(139, 31, 53, 0.1);
}

.botpress-chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(124, 30, 47, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 90px rgba(43, 17, 22, 0.26);
  backdrop-filter: blur(20px);
  transform-origin: bottom right;
  animation: chatPanelIn 0.26s ease both;
}

.botpress-chat-panel-iframe {
  width: min(430px, calc(100vw - 32px));
  height: min(680px, calc(100vh - 140px));
  background: #ffffff;
}

.botpress-chat-panel-iframe iframe {
  display: block;
  height: 100%;
  width: 100%;
  border: 0;
}

.botpress-chat-close-floating {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(43, 17, 22, 0.74);
  backdrop-filter: blur(10px);
}

.botpress-chat-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: 20px;
  background: radial-gradient(circle at 88% 12%, rgba(246, 190, 0, 0.24), transparent 26%),
    linear-gradient(135deg, #371018 0%, #5d1425 58%, #2b1116 100%);
  color: #ffffff;
}

.botpress-chat-header::after {
  position: absolute;
  right: -48px;
  bottom: -74px;
  height: 140px;
  width: 140px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  content: "";
}

.botpress-chat-header p {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.botpress-chat-status {
  display: inline-flex;
  height: 9px;
  width: 9px;
  border-radius: 999px;
  background: #f6be00;
  box-shadow: 0 0 0 5px rgba(246, 190, 0, 0.16);
}

.botpress-chat-header span:not(.botpress-chat-status) {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 280px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.55;
}

.botpress-chat-close {
  position: relative;
  z-index: 1;
  display: flex;
  height: 34px;
  width: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.botpress-chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.botpress-chat-messages {
  display: flex;
  max-height: 330px;
  min-height: 260px;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 20% 0%, rgba(246, 190, 0, 0.08), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(139, 31, 53, 0.08), transparent 30%);
}

.botpress-chat-message {
  max-width: 84%;
  border-radius: 18px;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 12px 26px rgba(43, 17, 22, 0.07);
  animation: chatBubbleIn 0.2s ease both;
}

.botpress-chat-message-bot {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: #f8eef0;
  color: #2b1116;
}

.botpress-chat-message-user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: #8b1f35;
  color: #ffffff;
}

.botpress-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-top: 1px solid rgba(124, 30, 47, 0.1);
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
}

.botpress-chat-form input {
  min-width: 0;
  border: 1px solid rgba(124, 30, 47, 0.24);
  border-radius: 999px;
  background: #ffffff;
  color: #2b1116;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.botpress-chat-form input::placeholder {
  color: rgba(43, 17, 22, 0.45);
}

.botpress-chat-form input:focus {
  border-color: #8b1f35;
  box-shadow: 0 0 0 4px rgba(139, 31, 53, 0.1);
}

.botpress-chat-form button {
  border: 0;
  border-radius: 999px;
  background: #f6be00;
  color: #2b1116;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.botpress-chat-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

@keyframes chatPanelIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chatBubbleIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chatPulse {
  0%,
  100% {
    box-shadow: 0 22px 48px rgba(43, 17, 22, 0.3), 0 0 0 8px rgba(139, 31, 53, 0.08);
  }

  50% {
    box-shadow: 0 22px 48px rgba(43, 17, 22, 0.3), 0 0 0 14px rgba(139, 31, 53, 0.04);
  }
}

.floating-call-button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, #8b1f35 0%, #5d1425 52%, #2b1116 100%);
  box-shadow: 0 22px 48px rgba(43, 17, 22, 0.3), 0 0 0 8px rgba(139, 31, 53, 0.08);
  animation: callPulse 2.8s ease-in-out infinite;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.floating-call-button:hover {
  transform: translateY(-4px) scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 28px 64px rgba(43, 17, 22, 0.36), 0 0 0 10px rgba(139, 31, 53, 0.1);
}

.floating-call-button svg {
  transition: transform 0.28s ease;
}

.floating-call-button:hover svg {
  transform: rotate(-10deg) scale(1.08);
}

@keyframes callPulse {
  0%,
  100% {
    box-shadow: 0 22px 48px rgba(43, 17, 22, 0.3), 0 0 0 8px rgba(139, 31, 53, 0.08);
  }

  50% {
    box-shadow: 0 22px 48px rgba(43, 17, 22, 0.3), 0 0 0 14px rgba(139, 31, 53, 0.04);
  }
}

@media (max-width: 640px) {
  .botpress-chat-widget {
    right: 16px;
    bottom: 88px;
  }

  .botpress-chat-panel {
    right: -8px;
    width: calc(100vw - 32px);
  }

  .botpress-chat-panel-iframe {
    height: min(620px, calc(100vh - 130px));
  }
}
