/* Wegenawi Gubignt - Custom Styles with Bootstrap Integration */

/* Brand Colors - Mustard, White, Black only */
:root {
  --brand-mustard: #d4a017;
  --brand-mustard-dark: #b8860b;
  --brand-orange: var(--brand-mustard);
  --brand-black: #0b0b0c;
  --brand-off-white: #f8f8f8;
  --brand-white: #ffffff;
  --brand-gray: #666666;
  --brand-light-gray: #e5e5e5;
  --footer-bg: #ebebeb;

  --primary-color: var(--brand-mustard);
  --text-color: var(--brand-black);
  --text-light: var(--brand-gray);
  --bg-light: var(--brand-off-white);
  --bg-white: var(--brand-white);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

:root {
  --bs-primary: var(--brand-mustard);
  --bs-dark: var(--brand-black);
  --bs-light: var(--brand-off-white);
}

/* Global Button Styles - All buttons rounded and clean */
.btn,
button[type="button"],
button[type="submit"],
input[type="submit"],
a.btn {
  border-radius: 50px !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Orange/Yellow buttons with white text for better contrast */
.btn-primary,
.btn-primary-custom,
.btn-donate-nav,
.btn-hero-primary,
.btn-hero-cta,
.btn-news-link,
.hero-badge {
  color: var(--brand-white) !important;
}

.btn-primary:hover,
.btn-primary-custom:hover,
.btn-donate-nav:hover,
.btn-hero-primary:hover,
.btn-hero-cta:hover,
.btn-news-link:hover {
  color: var(--brand-white) !important;
}

/* Bootstrap button overrides */
.btn-primary {
  background-color: var(--brand-mustard);
  border-color: var(--brand-mustard);
  color: var(--brand-white) !important;
}

.btn-primary:hover {
  background-color: var(--brand-mustard-dark);
  border-color: var(--brand-mustard-dark);
  color: var(--brand-white) !important;
}

/* Outline buttons: mustard/orange theme (no blue) */
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--brand-mustard);
  color: var(--brand-mustard);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.active {
  background-color: var(--brand-mustard);
  border-color: var(--brand-mustard);
  color: var(--brand-white);
}

.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 160, 23, 0.4);
}

/* Custom Bootstrap Classes */
.bg-primary-custom {
  background-color: var(--brand-mustard) !important;
}

.bg-light-custom {
  background-color: var(--brand-off-white) !important;
}

.text-primary-custom {
  color: var(--brand-orange) !important;
}

.text-dark-custom {
  color: var(--brand-black) !important;
}

/* Typography */
body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--brand-black);
  font-size: 16px;
  background-color: var(--brand-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--brand-black);
  line-height: 1.3;
}

/* Header – stable background so it doesn’t flash white during menu load */
#header {
  min-height: 76px;
  background-color: var(--brand-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--brand-light-gray);
}

.navbar-custom {
  background-color: var(--brand-white) !important;
  padding: 1.25rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--brand-light-gray);
  z-index: 1030;
  min-height: 76px;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  max-height: 60px;
}

.navbar-nav .nav-link {
  color: var(--brand-black) !important;
  font-weight: 500;
  margin: 0 0.75rem;
  transition: color 0.2s ease;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.navbar-nav .nav-link:hover {
  color: var(--brand-orange) !important;
}

.navbar-nav .nav-link.active {
  color: var(--brand-orange) !important;
}

.btn-donate-nav {
  background-color: var(--brand-orange);
  color: var(--brand-white) !important;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  margin-left: 0.5rem;
}

.btn-donate-nav:hover {
  background-color: var(--brand-mustard-dark);
  color: var(--brand-white) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 33, 33, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Modern Hero Section */
.hero-section-modern {
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-image-wrapper {
  height: 600px;
  overflow: hidden;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content-wrapper {
  background-color: var(--brand-off-white);
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
  min-height: 600px;
}

.hero-content {
  width: 100%;
}

.hero-title-modern {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle-modern {
  font-size: 1.3rem;
  color: var(--brand-gray);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background-color: var(--brand-orange);
  color: var(--brand-white);
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-hero-primary:hover {
  background-color: var(--brand-mustard-dark);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background-color: transparent;
  color: var(--brand-black);
  border: 2px solid var(--brand-black);
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-hero-secondary:hover {
  background-color: var(--brand-black);
  color: var(--brand-white);
}

/* Modern Stats Section */
.stats-section-modern {
  background-color: var(--brand-off-white);
  padding: 4rem 0;
}

.stat-card-modern {
  background-color: var(--brand-off-white);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--brand-light-gray);
  transition: all 0.3s ease;
  height: 100%;
}

.stat-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: var(--brand-orange);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--brand-orange);
}

.stat-icon i {
  display: inline-block;
}

.stat-card-modern .stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 0.5rem;
}

.stat-card-modern .stat-label {
  font-size: 1.1rem;
  color: var(--brand-gray);
  font-weight: 500;
}

/* Highlight Sections */
.highlight-section-modern {
  padding: 5rem 0;
  background-color: var(--brand-white);
}

.highlight-section-alt {
  background-color: var(--brand-off-white);
}

.highlight-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.highlight-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.highlight-image-wrapper:hover .highlight-image {
  transform: scale(1.05);
}

.highlight-content {
  padding: 2rem 0;
}

.highlight-badge {
  display: inline-block;
  background-color: var(--brand-orange);
  color: var(--brand-black);
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.highlight-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.highlight-text {
  font-size: 1.1rem;
  color: var(--brand-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.btn-highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-black);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.2s ease;
}

.btn-highlight-link:hover {
  color: var(--brand-orange);
  gap: 1rem;
}

.btn-highlight-link span {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.btn-highlight-link:hover span {
  transform: translateX(5px);
}

/* Modern Partners Section – horizontal carousel with subtle arrows */
.partners-section-modern {
  background-color: var(--brand-off-white);
  padding: 5rem 0;
}
.partners-section-modern .partners-carousel-outer {
  position: relative;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.partners-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
  color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.partners-carousel-btn:hover {
  color: var(--brand-orange, #e85d04);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.partners-carousel-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(232, 93, 4, 0.25);
}
.partners-carousel-prev {
  left: 0;
}
.partners-carousel-next {
  right: 0;
}
@media (min-width: 768px) {
  .partners-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
  .partners-section-modern .partners-carousel-outer {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .partners-carousel-prev { left: 0.25rem; }
  .partners-carousel-next { right: 0.25rem; }
}
@media (min-width: 992px) {
  .partners-section-modern .partners-carousel-outer {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .partners-carousel-prev { left: 0.5rem; }
  .partners-carousel-next { right: 0.5rem; }
}

/* Horizontal scroll carousel */
.partners-slider-wrap {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin: 0 -0.5rem;
  padding: 0.5rem;
}
/* When few partners: center the track so images sit in the middle */
.partners-slider-wrap.partners-carousel-centered {
  justify-content: center;
}
.partners-slider-wrap::-webkit-scrollbar {
  height: 8px;
}
.partners-slider-wrap::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
}
.partners-slider-wrap::-webkit-scrollbar-thumb {
  background: var(--brand-orange, #e85d04);
  border-radius: 4px;
}
.partners-slider-track {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 1.5rem;
  align-items: stretch;
  min-width: min-content;
  padding: 0.25rem 0;
}
.partners-slider-wrap .partner-card-modern {
  flex: 0 0 auto;
  min-width: 200px;
  max-width: 220px;
}
@media (max-width: 767px) {
  .partners-slider-wrap .partner-card-modern {
    min-width: 160px;
    max-width: 180px;
  }
}

.partner-card-modern {
  background-color: var(--brand-white);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--brand-light-gray);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
/* When card is a link to partner website */
a.partner-card-modern.partner-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.partner-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: var(--brand-orange);
}

.partner-logo {
  max-width: 150px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.partner-card-modern:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-card-modern .partner-logo.placeholder {
  min-height: 80px;
  width: 100%;
}
.partner-card-modern .partner-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-black);
  margin-top: 0.5rem;
}

/* Modern News Section */
.news-section-modern {
  background-color: var(--brand-off-white);
  padding: 5rem 0;
}

.section-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title-modern {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-black);
  margin: 0;
}

.btn-news-link {
  background-color: var(--brand-orange);
  color: var(--brand-white);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-news-link:hover {
  background-color: var(--brand-mustard-dark);
  color: var(--brand-white);
  gap: 1rem;
}

.news-card-modern {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-light-gray);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: var(--brand-orange);
}

.news-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card-modern:hover .news-image {
  transform: scale(1.1);
}

.news-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.85rem;
  color: var(--brand-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.news-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-excerpt {
  font-size: 1rem;
  color: var(--brand-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-link {
  color: var(--brand-orange);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.news-link:hover {
  color: var(--brand-black);
  gap: 0.5rem;
}

/* Modern Beneficiaries Hero */
.beneficiaries-hero-modern {
  background: linear-gradient(135deg, var(--brand-black) 0%, #2a2a2a 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--brand-white);
}

/* Beneficiaries listing: tighter spacing (hero → search → tabs → grid) */
.beneficiaries-listing .beneficiaries-hero-modern {
  padding-bottom: 50px;
}

.beneficiaries-listing .beneficiaries-search-section {
  padding-top: 10px;
  padding-bottom: 0;
}

.beneficiaries-listing .beneficiary-list-section {
  padding-top: 20px;
  padding-bottom: 4rem;
}

.beneficiaries-listing #beneficiary-controls .beneficiary-tabs-wrapper {
  margin-bottom: 20px;
}

.beneficiaries-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brand-white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.beneficiaries-hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-badge {
  display: inline-block;
  background-color: var(--brand-orange);
  color: var(--brand-white);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
}

/* Legacy Hero Section (for backward compatibility) */
.hero-section {
  background-color: var(--brand-white);
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  color: var(--brand-black);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--brand-gray);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-hero-cta {
  background-color: var(--brand-orange);
  border: none;
  color: var(--brand-white);
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-hero-cta:hover {
  background-color: var(--brand-mustard-dark);
  color: var(--brand-white);
}

.btn-primary-custom {
  background-color: var(--brand-mustard);
  border-color: var(--brand-mustard);
  color: var(--brand-white);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.btn-primary-custom:hover {
  background-color: var(--brand-mustard-dark);
  border-color: var(--brand-mustard-dark);
  color: var(--brand-white);
}

.btn-secondary-custom {
  background-color: transparent;
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.btn-secondary-custom:hover {
  background-color: var(--brand-mustard);
  border-color: var(--brand-mustard);
  color: var(--brand-white);
}

/* Section Styling */
.section-padding {
  padding: 4rem 0;
}

/* Hero content (below subtitle, above buttons) */
.hero-content-text {
  margin-bottom: 1.5rem;
}
.hero-content-body {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--brand-gray);
}
.hero-content-body p:last-child {
  margin-bottom: 0;
}

/* Alternating section backgrounds */
.stats-section-modern {
  background-color: var(--brand-white);
}

.highlight-section-modern {
  background-color: var(--brand-white);
}

.highlight-section-alt {
  background-color: var(--brand-off-white);
}

.news-section-modern {
  background-color: var(--brand-white);
}

.about-section {
  background-color: var(--brand-off-white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--brand-black);
  font-size: 2.5rem;
  font-weight: 600;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--brand-black);
}

/* About Section */
.about-section {
  background-color: var(--brand-off-white);
}

/* Separator Section */
.separator-section {
  padding: 3rem 0;
  background-color: white;
}

.separator-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-orange), var(--brand-orange), transparent);
  flex: 1;
  margin: 0 1rem;
}

.separator-icon {
  font-size: 2rem;
  background-color: white;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.separator-section .row {
  align-items: center;
}

.about-text h3 {
  color: var(--brand-black);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.proverb-box {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0;
  border-left: 4px solid var(--brand-orange);
  margin-top: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.proverb-box p {
  margin-bottom: 0.5rem;
}

.proverb-box strong {
  color: var(--brand-orange);
}

/* Achievements Section */
.stat-card {
  background-color: var(--brand-white);
  color: var(--brand-black);
  padding: 2.5rem;
  border: 1px solid var(--brand-light-gray);
  text-align: center;
  transition: all 0.2s ease;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  max-height: 200px;
}

.stat-card:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-number {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--brand-orange);
}

.stat-label {
  font-size: 1.1rem;
  color: var(--brand-gray);
}

/* Partners Section */
.partners-section {
  background-color: var(--brand-off-white);
}

.partner-card {
  background-color: white;
  padding: 2rem;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 200px;
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  min-height: 200px;
  max-height: 200px;
}

.partner-card:hover {
  transform: translateY(-5px) scale(1.05);
}

.partner-card img {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
}

.partner-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-jet-black);
  margin-top: 0.5rem;
}

/* Future Plans Section */
.plans-section {
  background-color: white;
}

.plans-text h3 {
  color: var(--brand-black);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.plans-text ul {
  list-style: none;
  padding-left: 0;
}

.plans-text li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.plans-text li::before {
  content: "✓";
  color: var(--brand-orange);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Legacy Beneficiaries Hero (for backward compatibility) */
.beneficiaries-hero {
  background-color: var(--brand-off-white);
  color: var(--brand-black);
  padding: 3rem 0;
  text-align: center;
}

.search-container {
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 2rem auto;
  max-width: 600px;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--brand-off-white);
  border-radius: 25px;
  font-size: 1.1rem;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 0.2rem rgba(252, 176, 26, 0.25);
}

.beneficiary-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.beneficiary-photo {
  width: 100%;
  height: 200px;
  background-color: var(--brand-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 1.1rem;
}
.beneficiary-photo img {
  
    min-width:100%;
    object-fit: scale-down;
    
    height:100%;
}

.beneficiary-info {
  padding: 1.5rem;
}

.beneficiary-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-orange);
  margin-bottom: 0.75rem;
}

.beneficiary-description {
  color: var(--brand-jet-black);
  margin-bottom: 1rem;
}

.bank-details {
  background-color: var(--brand-off-white);
  padding: 1rem;
  border-radius: 10px;
  margin-top: 0.75rem;
  display: none;
}

.bank-details.show {
  display: block;
}

.bank-details h4 {
  color: var(--brand-orange);
  margin-bottom: 0.75rem;
}

.bank-details p {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.toggle-bank-btn {
  background-color: var(--brand-orange);
  color: var(--brand-black);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.toggle-bank-btn:hover {
  background-color: var(--brand-mustard-dark);
}

/* Join Movement Form */
.join-form {
  background-color: var(--brand-off-white);
  padding: 3rem;
  border-radius: 15px;
  margin-top: 3rem;
}

.join-form h3 {
  text-align: center;
  color: var(--brand-black);
  margin-bottom: 2rem;
}

.form-control-custom {
  border: 2px solid var(--brand-off-white);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control-custom:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 0.2rem rgba(252, 176, 26, 0.25);
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--brand-black);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--brand-light-gray);
}


.contact-info {
  color: var(--brand-black);
}

.contact-info h3 {
  color: var(--brand-black);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--brand-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--brand-black);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.footer-social a.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.35rem;
  text-decoration: none;
  font-size: 1.05rem;
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease,
    box-shadow 0.15s ease;
  flex-shrink: 0;
}

.footer-social a.footer-social-tile-fallback {
  background-color: var(--brand-orange);
  color: #fff;
}

.footer-social a.footer-social-tile-fallback:hover {
  transform: translateY(-2px);
  background-color: var(--brand-black);
  color: #fff;
}

.footer-social a.footer-social-tile-brand:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.footer-social a.footer-social-tile-brand svg {
  display: block;
}

.social-admin-brand-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.3rem;
  vertical-align: middle;
  flex-shrink: 0;
}

.social-links-admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.social-admin-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid #e6e6e6;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.75rem 0.85rem;
}

.social-admin-row-main {
  flex: 1;
  min-width: 0;
}

.social-admin-row-meta {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.social-admin-row-actions {
  min-width: 126px;
  text-align: right;
}

.social-admin-row-actions .social-sl-sort {
  max-width: 90px;
  margin-left: auto;
}

.social-admin-brand-tile svg {
  display: block;
}

.social-admin-brand-tile-fallback {
  background-color: var(--brand-orange, #c9a227);
  color: #fff;
}

.social-admin-brand-tile-fallback i {
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--brand-light-gray);
  text-align: center;
  color: var(--brand-gray);
  font-size: 0.9rem;
}

.footer-phone-value {
  white-space: pre-line;
}

.map-container {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--brand-light-gray);
  margin-top: 1rem;
}

.map-container iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

/* Responsive Design */

@media (max-width: 992px) {
  .hero-section-modern {
    min-height: auto;
  }
  
  .hero-image-wrapper {
    height: 400px;
  }
  
  .hero-content-wrapper {
    min-height: auto;
    padding: 3rem 2rem;
  }
  
  .hero-title-modern {
    font-size: 2.5rem;
  }
  
  .highlight-image {
    height: 300px;
  }
  
  .highlight-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0 2.5rem;
  }
  
  .hero-section-modern {
    min-height: auto;
  }
  
  .hero-image-wrapper {
    height: 300px;
  }
  
  .hero-content-wrapper {
    padding: 2.5rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-title-modern {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-subtitle-modern {
    font-size: 1.1rem;
  }
  
  .beneficiaries-hero-title {
    font-size: 2.5rem;
  }
  
  .beneficiaries-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-title-modern {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-card-modern .stat-number {
    font-size: 2.5rem;
  }
  
  .join-form {
    padding: 2rem;
  }
  
  .navbar-brand img {
    height: 50px;
    max-height: 50px;
  }
  
  .btn-donate-nav {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
  }
  
  .about-text h3 {
    font-size: 1.5rem;
  }
  
  .highlight-title {
    font-size: 1.75rem;
  }
  
  .highlight-text {
    font-size: 1rem;
  }
  
  .news-title {
    font-size: 1.25rem;
  }
  
  .section-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-padding {
    padding: 1.5rem 0;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.shadow-custom {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.shadow-custom:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.border-radius-custom {
  border-radius: 15px !important;
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Value Items */
.value-item {
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  min-height: 100%;
}

.value-item:hover {
  transform: translateY(-3px);
}

.value-item h5 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.value-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Beneficiary Cards */
.beneficiary-card {
  transition: all 0.3s ease;
}

.beneficiary-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.beneficiary-card .beneficiary-name {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.beneficiary-card .beneficiary-description {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Beneficiary filter: tab style, left-aligned, minimal */
.beneficiary-tabs-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.beneficiary-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  font-weight: 500;
  font-size: 1rem;
}

.beneficiary-tabs .beneficiary-tab {
  color: var(--brand-black);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.beneficiary-tabs .beneficiary-tab:hover {
  color: var(--brand-mustard);
}

.beneficiary-tabs .beneficiary-tab.active {
  color: var(--brand-mustard);
  border-bottom-color: var(--brand-mustard);
  font-weight: 600;
}

.beneficiary-tabs .beneficiary-tab:focus {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

.beneficiary-tabs .beneficiary-tab-sep {
  color: var(--brand-gray);
  user-select: none;
  pointer-events: none;
}

/* Pagination – inactive: white bg + mustard border/text; active: solid mustard + white text */
.pagination .page-link {
  background-color: #ffffff;
  color: var(--brand-mustard);
  border: 1px solid var(--brand-mustard);
}

.pagination .page-item.active .page-link {
  background-color: var(--brand-mustard);
  color: #fff;
  border-color: var(--brand-mustard);
}

.pagination .page-link:hover {
  background-color: var(--brand-mustard-dark);
  color: #fff;
  border-color: var(--brand-mustard-dark);
}

.pagination .page-item.disabled .page-link {
  background-color: var(--brand-light-gray);
  border-color: var(--brand-light-gray);
  color: var(--brand-gray);
}

.pagination .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 160, 23, 0.4);
  outline: none;
}

/* Info Boxes */
.info-box {
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--brand-orange);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--brand-mustard-dark);
}

.breadcrumb-item.active {
  color: var(--brand-jet-black);
}

.beneficiary-detail-breadcrumb {
  margin-top: 100px;
  padding: 2rem 0;
  background-color: var(--brand-off-white);
}

/* Loading Spinner */
.spinner-border.text-primary-custom {
  color: var(--brand-orange) !important;
}

/* Beneficiaries Grid */
#beneficiariesGrid {
  display: flex;
  flex-wrap: wrap;
}

/* Modern About Page Styles */
.about-card-modern {
  background: var(--brand-white);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-card-header {
  margin-bottom: 2rem;
}

.about-card-badge {
  display: inline-block;
  background: var(--brand-orange);
  color: var(--brand-white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.about-card-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 0;
  line-height: 1.2;
}

.about-card-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--brand-black);
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--brand-black);
  margin-bottom: 1.5rem;
}

/* Timeline Styles */
.timeline-modern {
  position: relative;
  padding: 2rem 0;
}

.timeline-modern::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--brand-orange), rgba(212, 160, 23, 0.3));
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 21px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-white);
  border: 4px solid var(--brand-orange);
  z-index: 2;
}

.timeline-marker-active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 6px rgba(252, 176, 26, 0.2);
}

.timeline-content {
  background: var(--brand-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--brand-orange);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.timeline-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1rem;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-gray);
  margin-bottom: 0;
}

/* Mission & Vision Cards */
.mission-vision-card {
  background: var(--brand-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--brand-orange);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.mission-vision-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.mission-vision-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(252, 176, 26, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
}

.mission-vision-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1.5rem;
}

.mission-vision-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--brand-gray);
  margin-bottom: 0;
}

/* Principles Cards */
.section-title-modern {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1rem;
}

.section-subtitle-modern {
  font-size: 1.2rem;
  color: var(--brand-gray);
  margin-bottom: 3rem;
}

.principle-card {
  background: var(--brand-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--brand-orange);
}

.principle-card:hover::before {
  transform: scaleX(1);
}

.principle-number {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(252, 176, 26, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.principle-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1rem;
}

.principle-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-gray);
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-card-modern {
    padding: 2rem;
  }
  
  .about-card-title {
    font-size: 2rem;
  }
  
  .timeline-modern::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-marker {
    left: 11px;
    width: 18px;
    height: 18px;
  }
  
  .mission-vision-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .principle-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title-modern {
    font-size: 2rem;
  }
}