:root {
  --purple-dark: #6B21A8;
  --purple-mid: #7C3AED;
  --purple-light: #EDE9FE;
  --pink: #BE185D;
  --pink-light: #FCE7F3;
  --gold-yellow: #D97706;
  --light-bg: #fcfdfe;
  --text-dark: #1e0a3c;
  --glass: rgba(255, 255, 255, 0.9);
}

/* Global Form Elements Border Standardization */
.form-control,
.form-select,
input,
textarea,
select {
  border: 2px solid var(--purple-dark) !important;
  transition: all 0.3s ease-in-out;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--purple-dark) !important;
  box-shadow: 0 0 0 0.25rem rgba(107, 33, 168, 0.1) !important;
  outline: 0;
}

/* ── Donation Modal ── */
.don-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 60, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.don-modal.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.don-modal-content {
  background: var(--glass);
  width: 100%;
  max-width: 450px;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.close-don {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--purple-dark);
}

.don-modal h2 {
  margin-bottom: 20px;
  color: var(--purple-dark);
  font-weight: 800;
}

.amount-chips {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 16px;
  border: 2px solid var(--purple-mid);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
}

.chip.active,
.chip:hover {
  background: var(--purple-mid);
  color: #fff;
}

.don-modal .form-control {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

/* ── Video Modal ── */
.vid-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.vid-modal.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.vid-modal-content {
  width: 100%;
  max-width: 900px;
  position: relative;
}

.close-vid {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.ratio-16x9 {
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.ratio-16x9 iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Hero Video Button ── */
.hero-video-btn-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.play-btn {
  pointer-events: auto;
  width: 80px;
  height: 80px;
  background: rgba(233, 30, 140, 0.85);
  /* var(--pink) */
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.4);
  animation: pulse-pink 2s infinite;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.play-btn:hover {
  transform: scale(1.1);
  background: var(--pink);
  box-shadow: 0 10px 25px rgba(233, 30, 140, 0.5);
}

.play-btn i {
  margin-left: 5px;
}

@keyframes pulse-pink {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(233, 30, 140, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(233, 30, 140, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(233, 30, 140, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex !important;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-carousel:hover .owl-nav {
  opacity: 1;
}

.hero-carousel .owl-nav button {
  pointer-events: auto;
  background: rgba(74, 26, 122, 0.8) !important;
  color: #fff !important;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 24px !important;
  transition: 0.3s !important;
  margin: 0 !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--gold-yellow) !important;
  opacity: 1 !important;
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
}

.hero-carousel .owl-nav button.owl-prev {
  left: 30px !important;
}

.hero-carousel .owl-nav button.owl-next {
  right: 30px !important;
}

.hero-carousel .owl-nav button.owl-prev {
  margin-left: 30px !important;
}

.hero-carousel .owl-nav button.owl-next {
  margin-right: 30px !important;
}

.hero-carousel .owl-nav button:hover {
  background: #4a1a7a !important;
  color: #fff !important;
}

.hero-carousel .owl-dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.hero-carousel .owl-dot span {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  transition: 0.3s !important;
}

.hero-carousel .owl-dot.active span {
  background: #fff !important;
  width: 30px !important;
}

*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: #fff;
}

/* ══════════════════════════════
   NAVBAR
   ══════════════════════════════ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 60px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(74, 26, 122, .10);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--purple-dark);
  line-height: 1.25;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  transition: color .2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--purple-mid);
}

.nav-links a.active {
  color: var(--purple-mid);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-admin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 10px rgba(168, 85, 247, 0.3);
}

.btn-admin:hover {
  transform: translateY(-2px);
  background: var(--purple-mid);
  color: #fff;
}

.btn-don {
  background: linear-gradient(135deg, var(--pink), #c2185b);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Nunito', sans-serif;
}

.btn-don:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 30, 140, .38);
}

.btn-don-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, .25);
  border-radius: 50%;
  font-size: 13px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--purple-dark);
  border-radius: 2px;
  transition: all .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--purple-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity .3s;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
}

.mobile-nav a:hover {
  color: var(--pink);
}

.mobile-nav .btn-don {
  font-size: 16px;
  padding: 14px 32px;
  margin-top: 10px;
}

/* ══════════════════════════════
   HERO — rounded card, floats on white bg
   ══════════════════════════════ */
.hero-section {
  background: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, .18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, .12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: stretch;
  background: url("../img/hero1.jpeg") no-repeat center center / cover;
  z-index: 1;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-deco svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-left {
  position: relative;
  z-index: 3;
  width: 50%;
  display: flex;
  align-items: center;
  padding: 52px 44px 52px 52px;
}

.hero-content {
  max-width: 420px;
}

.hero-carousel .hero-content {
  opacity: 1;
}


.owl-item.active .hero-content {
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.3s;
}



.hero-content h1 {
  font-family: 'Nunito', serif;
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 14px;
}

.hero-content p {
  font-size: clamp(13px, 1.3vw, 16px);
  color: rgba(255, 255, 255, .88);
  margin-bottom: 30px;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
  font-family: 'Nunito', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(233, 30, 140, .42);
}

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: 'Nunito', sans-serif;
  transition: background .2s, border-color .2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
}

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 60px;
  padding: 48px 40px 40px;
  background: #fff;
  text-align: center;
}

.stat-item {
  min-width: 120px;
}

.stat-number {
  font-family: 'Nunito', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--purple-dark);
}

.stat-label {
  font-size: 13px;
  color: #aaa;
  margin-top: 4px;
  font-weight: 600;
}

section {
  padding: 60px 60px;
}

.section-title {
  font-family: 'Nunito', serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--purple-mid));
  margin: 0 auto 38px;
  border-radius: 2px;
}

.text-center {
  text-align: center;
}

.btn-secondary {
  background: transparent;
  color: var(--purple-dark);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid var(--purple-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s, color .2s;
  font-family: 'Nunito', sans-serif;
}

.btn-secondary:hover {
  background: var(--purple-dark);
  color: #fff;
}

.domaines {
  background: #fff;
  padding: 50px 60px;
}

.domaines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 38px;
}

.domaine-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: all .3s ease;
  border: 2px solid var(--gold-yellow);
}

.domaine-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(250, 204, 21, .3);
}

.dc1 {
  background: linear-gradient(160deg, #4c1680 0%, #7b2fbf 100%);
}

.dc2 {
  background: linear-gradient(160deg, #c25010 0%, #4a1a7a 100%);
}

.dc3 {
  background: linear-gradient(160deg, #5b1a9a 0%, #8b35d6 100%);
}

.dc4 {
  background: linear-gradient(160deg, #7b0fa0 0%, #c026d3 100%);
}

.domaine-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 68%;
  border-radius: 0 16px 0 60%;
  overflow: hidden;
  opacity: .75;
}

.domaine-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.domaine-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom-left, transparent 40%, rgba(0, 0, 0, .3) 100%);
}

.domaine-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .70) 0%, rgba(0, 0, 0, .08) 55%, transparent 100%);
}

.domaine-card-content {
  position: relative;
  z-index: 2;
  padding: 18px;
  color: #fff;
}

.domaine-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 9px;
}

.domaine-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}

.domaine-card p {
  font-size: 11px;
  opacity: .82;
  line-height: 1.55;
}

.portraits {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #3d1266 0%, #5b1a9a 45%, var(--purple-mid) 100%);
  padding: 60px 60px 50px;
}

.portraits::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 75% at 5% 50%, rgba(249, 115, 22, .18) 0%, transparent 55%),
    radial-gradient(ellipse 45% 65% at 95% 25%, rgba(168, 85, 247, .22) 0%, transparent 55%);
}

.portraits::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple-light));
}

.portraits .section-title {
  color: #fff;
}

.portraits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 38px;
  position: relative;
  z-index: 1;
}

.portrait-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 260px;
  cursor: pointer;
  transition: all .3s ease;
  border: 2px solid var(--gold-yellow);
}

.portrait-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(250, 204, 21, .3);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s;
}

.portrait-card:hover img {
  transform: scale(1.06);
}

.portrait-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .05) 55%, transparent 100%);
}

.portrait-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  color: #fff;
}

.portrait-content h3 {
  font-size: 18px;
  font-weight: 800;
}

.portrait-content p {
  font-size: 13px;
  opacity: .88;
  margin-top: 2px;
}

.projets {
  background: #fff;
}

.projets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 38px;
}

.voir-link-portrait {
  display: inline-block;
  margin-top: 10px;
  color: var(--purple-mid);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s;
}

.voir-link-portrait:hover {
  transform: translateX(5px);
  color: #fff;
}

.projet-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(74, 26, 122, .06);
  transition: all .3s ease;
  background: #fff;
  border: 2px solid var(--gold-yellow);
}

.projet-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(250, 204, 21, .3);
}

.projet-img {
  height: 195px;
  position: relative;
  overflow: hidden;
}

.projet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s;
}

.projet-card:hover .projet-img img {
  transform: scale(1.06);
}

.projet-body {
  padding: 20px;
}

.projet-body h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.projet-body p {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
  margin-bottom: 14px;
}

.voir-link {
  font-size: 13px;
  color: var(--purple-mid);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.voir-link::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--purple-mid);
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
}

.agir {
  background: linear-gradient(140deg, #3d1266 0%, #6b21a8 100%);
  position: relative;
  overflow: hidden;
}

.agir::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 85% 15%, rgba(249, 115, 22, .16) 0%, transparent 55%),
    radial-gradient(ellipse 45% 65% at 15% 85%, rgba(168, 85, 247, .2) 0%, transparent 55%);
}

.agir .section-title {
  color: #fff;
}

.agir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

.agir-card {
  background: rgba(255, 255, 255, .98);
  border-radius: 20px;
  padding: 36px 26px;
  text-align: center;
  transition: all .3s ease;
  border: 2px solid var(--gold-yellow);
}

.agir-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(250, 204, 21, .3);
}

.agir-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.ai1 {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.ai2 {
  background: linear-gradient(135deg, #fbcfe8, var(--pink));
}

.ai3 {
  background: linear-gradient(135deg, #ddd6fe, var(--purple-light));
}

.agir-card h3 {
  font-family: 'Nunito', serif;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.agir-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 22px;
}

.btn-agir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--pink), #c2185b);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s;
  font-family: 'Nunito', sans-serif;
}

.btn-agir:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(233, 30, 140, .38);
}

.partenaires {
  background: #fff;
  padding: 50px 60px;
}

.partenaires-title {
  text-align: center;
  font-size: 18px;
  color: #bbb;
  font-weight: 700;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.partenaires-title::before,
.partenaires-title::after {
  content: '';
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: #e5e5e5;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.logo-text {
  height: 40px;
  padding: 6px 18px;
  background: #f4f4f4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #666;
  gap: 6px;
  filter: grayscale(1);
  opacity: .5;
  transition: filter .2s, opacity .2s;
}

.logo-text:hover {
  filter: grayscale(0);
  opacity: 1;
}

footer {
  background: var(--purple-dark);
  color: rgba(255, 255, 255, .65);
  padding: 22px 60px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color .2s;
}

footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.galerie {
  background: var(--light-bg);
  padding: 65px 60px;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-bottom: 40px;
}

.gal-item:nth-child(1) {
  grid-row: span 2;
}

.gal-item:nth-child(5) {
  grid-row: span 2;
}

.gal-item:nth-child(7) {
  grid-column: span 2;
}

.gal-item:nth-child(10) {
  grid-row: span 2;
}

.gal-item:nth-child(12) {
  grid-column: span 2;
}

.gal-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #f3e8ff;
  border: 2px solid var(--gold-yellow);
  transition: all 0.3s ease;
}

.gal-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.4);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s cubic-bezier(.25, .46, .45, .94);
}

.gal-item:hover img {
  transform: scale(1.08);
}

.gal-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(74, 26, 122, .68) 0%, rgba(74, 26, 122, .1) 60%, transparent 100%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

.gal-zoom-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, .22);
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transform: scale(.7);
  transition: transform .3s;
  color: #fff;
}

.gal-item:hover .gal-zoom-icon {
  transform: scale(1);
}

.gal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 12px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}

.gal-item:hover .gal-caption {
  transform: translateY(0);
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 5, 30, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-inner {
  position: relative;
  max-width: min(90vw, 960px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: lbIn .35s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes lbIn {
  from {
    transform: scale(.88);
    opacity: 0;
  }

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

.lb-img-wrap {
  position: relative;
  width: 100%;
  max-height: 75vh;
  border-radius: 18px;
  overflow: hidden;
  background: #1a0a2e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  transition: opacity .25s;
}

.lb-img-wrap img.fading {
  opacity: 0;
}

.lb-counter {
  position: absolute;
  top: 14px;
  left: 18px;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.lb-caption {
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, .12);
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s, border-color .2s;
  backdrop-filter: blur(4px);
  z-index: 10;
}

.lb-btn:hover {
  background: rgba(233, 30, 140, .55);
  border-color: var(--pink);
  transform: translateY(-50%) scale(1.08);
}

.lb-prev {
  left: -70px;
}

.lb-next {
  right: -70px;
}

.lb-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .12);
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(4px);
}

.lb-close:hover {
  background: rgba(233, 30, 140, .6);
  border-color: var(--pink);
}

.lb-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .2) transparent;
}

.lb-thumbs::-webkit-scrollbar {
  height: 4px;
}

.lb-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.lb-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .2);
  border-radius: 2px;
}

.lb-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s, opacity .2s;
  opacity: .55;
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lb-thumb.active {
  border-color: var(--pink);
  opacity: 1;
  transform: scale(1.05);
}

.lb-thumb:hover {
  opacity: .9;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

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

@keyframes zoomBg {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.owl-item.active .hero {
  animation: zoomBg 20s ease-in-out infinite;
}


.stat-item {
  animation: fadeUp .6s ease both;
}

.stat-item:nth-child(2) {
  animation-delay: .1s;
}

.stat-item:nth-child(3) {
  animation-delay: .2s;
}

.stat-item:nth-child(4) {
  animation-delay: .3s;
}

@media (max-width: 1024px) {
  nav {
    padding: 14px 28px;
    gap: 14px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

  section,
  .domaines,
  .portraits,
  .partenaires {
    padding: 50px 28px;
  }

  footer {
    padding: 20px 28px;
  }

  .domaines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .agir-grid {
    gap: 16px;
  }

  .agir-card {
    padding: 28px 18px;
  }

  .stats {
    gap: 14px 40px;
  }

  .galerie {
    padding: 50px 28px;
  }

  .galerie-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .gal-item:nth-child(12) {
    grid-column: span 1;
  }

  .lb-prev {
    left: -58px;
  }

  .lb-next {
    right: -58px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .btn-don {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  nav {
    padding: 14px 20px;
  }

  .hero {
    flex-direction: column;
    margin: 0;
    min-height: auto;
    border-radius: 0 0 18px 18px;
  }

  .hero-left {
    width: 100%;
    order: 2;
    padding: 30px 24px 36px;
  }

  .hero-right {
    width: 100%;
    height: 240px;
    order: 1;
  }

  .hero-right::before {
    background: linear-gradient(to bottom, transparent 50%, var(--purple-mid) 100%);
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 20px;
    padding: 36px 20px;
  }

  .stat-item {
    min-width: unset;
  }

  section,
  .domaines,
  .portraits,
  .projets,
  .agir {
    padding: 44px 20px;
  }

  .partenaires {
    padding: 36px 20px;
  }

  footer {
    padding: 20px;
    font-size: 12px;
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .domaines-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .portraits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portrait-card {
    height: 230px;
  }

  .projets-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .agir-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .agir-card {
    padding: 30px 22px;
  }

  .galerie {
    padding: 44px 20px;
  }

  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 10px;
  }

  .lb-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .lb-prev {
    left: 6px;
  }

  .lb-next {
    right: 6px;
  }

  .lb-close {
    top: -46px;
  }

  .lb-inner {
    max-width: 96vw;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 12px 16px;
  }

  .logo {
    font-size: 13px;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
  }

  .hero-right {
    height: 200px;
  }

  .hero-left {
    padding: 24px 18px 30px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .btn-primary,
  .btn-outline {
    font-size: 13px;
    padding: 11px 18px;
  }

  .stats {
    padding: 28px 16px;
    gap: 18px;
  }

  .stat-number {
    font-size: 26px;
  }

  section,
  .domaines,
  .portraits,
  .projets,
  .agir {
    padding: 34px 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .partenaires {
    padding: 28px 16px;
  }

  footer {
    padding: 18px 16px;
  }

  .domaines-grid {
    grid-template-columns: 1fr;
  }

  .domaine-card {
    height: 200px;
  }

  .portrait-card {
    height: 200px;
  }

  .logos-row {
    gap: 12px;
  }

  .galerie {
    padding: 32px 12px;
  }

  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 8px;
  }

  .lb-thumb {
    width: 52px;
    height: 40px;
  }
}

/* ══════════════════════════════
   ADMIN PANEL STYLES
   Professional & Unified
   ══════════════════════════════ */
.main-content {
  margin-left: 260px;
  padding: 40px;
  background: #f8f9fa;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

.glass-dark {
  background: #1e0a3c;
  color: #fff;
  border-right: 2px solid var(--gold-yellow);
}

.sidebar-header {
  border-bottom: 2px solid var(--gold-yellow);
}

.nav-link {
  color: #ffffff !important;
  padding: 12px 20px !important;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--gold-yellow) !important;
  transform: translateX(5px);
}

.stat-card {
  border: 2px solid #4a1a7a !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(250, 204, 21, 0.3) !important;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.bg-purple-light {
  background: rgba(123, 47, 191, 0.1);
  color: #7b2fbf;
}

.bg-pink-light {
  background: rgba(233, 30, 140, 0.1);
  color: #e91e8c;
}

.bg-orange-light {
  background: rgba(249, 115, 22, 0.1);
  color: #4a1a7a;
}

.bg-green-light {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.table-premium {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--gold-yellow);
}

/* Redefining Form & Card Architecture with requested contours */
.premium-card {
  background: #fff;
  border: 2px solid var(--gold-yellow) !important;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 25px;
}

.premium-card:hover {
  box-shadow: 0 15px 35px #4a1a7a !important;
}

.glass-form {
  background: #fff;
  border: 2px solid var(--gold-yellow);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(74, 26, 122, 0.08);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.glass-form {
  background: #fff;
  border: 2px solid var(--gold-yellow);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(74, 26, 122, 0.08);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

input,
textarea,
select,
.form-control {
  border: 2px solid var(--gold-yellow) !important;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #fff !important;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px #4a1a7a !important;
}

@media (max-width: 992px) {
  .main-content {
    margin-left: 0;
    padding: 20px;
  }

  .glass-dark {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .glass-dark.open {
    transform: translateX(0);
  }
}

/* ── Mobile Donation Strip ── */
@media (max-width: 991px) {
  .mobile-donation-strip {
    display: block;
    background: #fff;
    padding: 10px 15px;
    border-bottom: 2px solid var(--purple-mid);
    position: sticky;
    top: 70px; /* Adjust based on navbar height */
    z-index: 998;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }

  .btn-don-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pink), #9d174d);
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(190, 24, 93, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .btn-don-mobile i {
    animation: heartBeat 1.5s infinite;
  }

  @keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
  }
}

@media (min-width: 992px) {
  .mobile-donation-strip {
    display: none;
  }
}