/* Custom Styles for ELONGA KAHANDE Justine Website */

:root {
  --primary-color: #1e293b;
  --primary-dark: #0f172a;
  --secondary-color: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-gold: #f59e0b;
  --accent-color: #e74c3c;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --nav-bg: rgba(11, 19, 41, 0.96);
  --nav-border: rgba(255, 255, 255, 0.08);
}

html {
  height: 100%;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fafbfc;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto !important;
}

/* ==========================================================================
   CREATIVE BESPOKE NAVBAR
   ========================================================================== */

.creative-header {
  z-index: 1050;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.creative-navbar {
  background: var(--nav-bg) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
  padding: 0.85rem 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none !important;
}

.creative-navbar.scrolled {
  background: rgba(8, 14, 28, 0.98) !important;
  padding: 0.55rem 0;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: none !important;
}

/* Hero Section & Page Header - Seamless integration under navbar */
.hero-section,
.page-header {
  margin-top: 0 !important;
  padding-top: 125px !important;
  padding-bottom: 4.5rem !important;
  background: linear-gradient(135deg, #0b1329 0%, #1c283f 50%, #0f172a 100%) !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.12), transparent 40%);
  pointer-events: none;
}


.creative-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none !important;
}

.brand-avatar-frame {
  position: relative;
  padding: 2.5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #6366f1, #3b82f6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.creative-brand:hover .brand-avatar-frame {
  transform: scale(1.06);
  box-shadow: none !important;
}

.brand-avatar {
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1.5px solid #0f172a;
  transition: all 0.3s ease;
}

.brand-identity {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: none;
  transition: color 0.3s ease;
}

.creative-brand:hover .brand-name {
  color: #f8fafc;
}

.brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: none;
  display: inline-block;
}

/* Nav Links Styling */
.creative-nav-list {
  gap: 0.3rem;
}

.creative-nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.55rem 1.05rem !important;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
}

.creative-nav-link .nav-link-text {
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

.creative-nav-link:hover {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}

/* Active State — No background, no border, only sleek bottom indicator bar */
.creative-nav-link.active {
  color: #ffffff !important;
  font-weight: 600;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.creative-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2.5px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f59e0b, #6366f1);
  box-shadow: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.creative-nav-link:hover::after {
  transform: translateX(-50%) scaleX(0.65);
  opacity: 0.7;
}

.creative-nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

/* Auth Buttons */
.creative-btn {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.52rem 1.15rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: none !important;
}

.creative-btn-ghost {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: none !important;
}

.creative-btn-ghost:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: none !important;
}

.creative-btn-glow {
  color: #ffffff !important;
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 50%, #06b6d4 100%);
  background-size: 200% auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none !important;
}

.creative-btn-glow:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: none !important;
}

/* User Profile Chip */
.user-chip-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.32rem 0.85rem 0.32rem 0.35rem;
  border-radius: 9999px;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.user-chip-btn:hover,
.user-chip-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: none !important;
}

.user-chip-avatar {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-flex;
}

.user-chip-avatar img {
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.user-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  background: #10b981;
  border: 2px solid #0f172a;
  border-radius: 50%;
}

.user-chip-name {
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-chip-chevron {
  font-size: 0.72rem;
  transition: transform 0.3s ease;
  opacity: 0.75;
}

.user-chip-btn[aria-expanded="true"] .user-chip-chevron {
  transform: rotate(180deg);
}

/* User Dropdown Menu */
.creative-dropdown-menu {
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 1.15rem !important;
  padding: 0.85rem !important;
  min-width: 230px;
  box-shadow: none !important;
  margin-top: 0.65rem !important;
  animation: dropdownSlideFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownSlideFade {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.creative-dropdown-menu .dropdown-header {
  padding: 0.4rem 0.6rem 0.6rem;
  color: #cbd5e1;
}

.creative-dropdown-menu .dropdown-header strong {
  color: #ffffff;
}

.creative-dropdown-menu .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 0.4rem 0;
}

.creative-dropdown-item {
  border-radius: 0.65rem;
  padding: 0.6rem 0.85rem;
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  box-shadow: none !important;
}

.creative-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  transform: translateX(4px);
}

.creative-dropdown-item.admin-item:hover {
  background: rgba(99, 102, 241, 0.2) !important;
  color: #a5b4fc !important;
}

.creative-dropdown-item.logout-item:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
}

/* Custom Animated Hamburger Button */
.creative-toggler {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  outline: none;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.creative-toggler:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none !important;
}

.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.creative-toggler.is-active .bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.creative-toggler.is-active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.creative-toggler.is-active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Mobile Navigation */
@media (max-width: 1199.98px) {
  .creative-collapse {
    background: rgba(11, 17, 33, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 1.25rem;
    margin-top: 0.85rem;
    box-shadow: none !important;
  }


  .creative-nav-list {
    gap: 0.4rem;
    margin-bottom: 1rem;
    margin-right: 0 !important;
  }

  .creative-nav-link {
    padding: 0.75rem 1.15rem !important;
    border-radius: 0.75rem;
    width: 100%;
    justify-content: flex-start;
    background: transparent !important;
    border: none !important;
  }

  .creative-nav-link::after {
    left: 1.15rem;
    transform: scaleX(0);
    transform-origin: left;
  }

  .creative-nav-link:hover::after {
    transform: scaleX(0.65);
  }

  .creative-nav-link.active::after {
    left: 1.15rem;
    transform: scaleX(1);
    transform-origin: left;
  }

  .creative-nav-actions {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .auth-buttons-group {
    width: 100%;
    gap: 0.75rem;
  }

  .auth-buttons-group .creative-btn {
    flex: 1;
    text-align: center;
  }

  .user-dropdown {
    width: 100%;
  }

  .user-chip-btn {
    width: 100%;
    justify-content: space-between;
  }

  .creative-dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin-top: 0.5rem !important;
  }
}


/* Hero Section */
.hero-section {
  min-height: 80vh;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)),
    url("/placeholder.svg?height=800&width=1200") center / cover;
  position: relative;
}

.hero-image {
  max-width: 100%;
  /* border: 5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
}

/* Quote Section */
.quote-section {
  background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.blockquote p {
  position: relative;
}

.blockquote p::before,
.blockquote p::after {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.3;
  position: absolute;
  top: -20px;
}

.blockquote p::before {
  left: -40px;
}

.blockquote p::after {
  right: -40px;
}

/* Cards */
.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.4s;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Buttons */
.btn {
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
}

/* Events Page Styles */
.event-filters .btn {
  margin: 0.25rem;
  border-radius: 20px;
}

.event-filters .btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.event-card {
  background: #fff;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  margin-bottom: 2rem;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


.date-box {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.date-box .day {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.date-box .month {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
}

.event-content {
  padding: 2rem;
  padding-top: 1rem;
}

.event-title {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1rem;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.event-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Timeline Events */
.events-timeline {
  position: relative;
  padding-left: 50px;
}

.events-timeline::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-event {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 50px;
}

.timeline-date {
  position: absolute;
  left: -65px;
  top: 0;
}

.date-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.date-circle .day {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
}

.date-circle .month {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
}

.timeline-content {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--secondary-color);
}

.event-location {
  font-size: 0.9rem;
}

.event-stats {
  margin-top: 1rem;
}

/* Blog Page Styles */
.blog-categories .btn {
  margin: 0.25rem;
  border-radius: 20px;
}

.blog-categories .btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.featured-content {
  padding: 2rem 0;
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.9rem;
}

.blog-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: var(--secondary-color);
}

.blog-excerpt {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.blog-stats {
  display: flex;
  gap: 1rem;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tag-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tag-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Article filtering animation */
.article-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.article-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* Statistics */
.stat-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.stat-icon i {
  font-size: 2rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 1rem 0 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
  margin: 0;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c3e50, #34495e) !important;
}

.social-links a {
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color) !important;
}

/* Biography Page Styles */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  margin-top: 76px;
}

.biography-image {
  max-width: 300px;
  border: 8px solid #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 40px;
}

.timeline-marker {
  position: absolute;
  left: -47px;
  top: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--secondary-color);
}

.timeline-content h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Activities Page Styles */
.activity-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.activity-icon i {
  font-size: 2rem;
  color: white;
}

.activity-title {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1rem;
}

.activity-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.activity-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.activity-features li {
  padding: 0.5rem 0;
  color: var(--text-dark);
}

/* Service Cards */
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.service-icon i {
  font-size: 1.8rem;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-content {
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.stars i {
  font-size: 1rem;
}

/* Gallery Page Styles */
.gallery-filters .btn {
  margin: 0.25rem;
  border-radius: 20px;
}

.gallery-filters .btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.gallery-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
}

.gallery-card img {
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  text-align: center;
}


.modal-body img {
  border-radius: 10px;
}

/* Masonry-like layout for different sized images */
.gallery-item:nth-child(4n + 1) .gallery-card,
.gallery-item:nth-child(4n + 2) .gallery-card {
  height: 300px;
}

.gallery-item:nth-child(4n + 3) .gallery-card,
.gallery-item:nth-child(4n + 4) .gallery-card {
  height: 250px;
}

/* Large featured images */
.gallery-item[data-category="evenements"]:nth-child(4),
.gallery-item[data-category="livres"]:nth-child(5),
.gallery-item[data-category="portraits"]:nth-child(9),
.gallery-item[data-category="evenements"]:nth-child(12) {
  .gallery-card {
    height: 350px;
  }
}

/* Square images for books and portraits */
.gallery-item[data-category="livres"]:nth-child(10),
.gallery-item[data-category="conferences"]:nth-child(11) {
  .gallery-card {
    height: 300px;
  }
}

/* Contact Page Styles */
.contact-form-wrapper {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-info {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.2rem;
  color: white;
}

.contact-details h5 {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--secondary-color);
}

.social-links-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateX(5px);
}

.social-link i {
  font-size: 1.2rem;
  width: 20px;
}

.social-link.facebook:hover {
  background: #1877f2;
}

.social-link.twitter:hover {
  background: #1da1f2;
}

.social-link.linkedin:hover {
  background: #0077b5;
}

.social-link.instagram:hover {
  background: #e4405f;
}

.social-link.youtube:hover {
  background: #ff0000;
}

/* FAQ Styles */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-button {
  background: #fff;
  border: none;
  font-weight: 600;
  color: var(--primary-color);
  padding: 1.5rem;
  border-radius: 10px !important;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button.collapsed::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232c3e50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem;
  background: #f8f9fa;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Form Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: #28a745;
}

.invalid-feedback {
  display: block;
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

.valid-feedback {
  display: block;
  font-size: 0.875rem;
  color: #28a745;
  margin-top: 0.25rem;
}

/* Loading State */
.btn-loading {
  position: relative;
  color: transparent !important;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }

  .hero-image {
    max-width: 250px;
    margin-top: 2rem;
  }

  .blockquote p::before,
  .blockquote p::after {
    display: none;
  }

  .display-4 {
    font-size: 2rem;
  }

  .biography-image {
    max-width: 250px;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-item {
    padding-left: 30px;
  }

  .timeline-marker {
    left: -37px;
    width: 25px;
    height: 25px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
  }

  .icon-circle i {
    font-size: 1.5rem !important;
  }

  .activity-icon {
    width: 60px;
    height: 60px;
  }

  .activity-icon i {
    font-size: 1.5rem;
  }

  .event-card {
    margin-bottom: 1.5rem;
  }

  .event-content {
    padding: 1.5rem;
  }

  .date-box {
    width: 60px;
    height: 60px;
  }

  .date-box .day {
    font-size: 1.2rem;
  }

  .date-box .month {
    font-size: 0.6rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .featured-content {
    padding: 1rem 0;
    margin-top: 2rem;
  }

  .blog-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .blog-stats {
    align-self: flex-end;
  }

  .newsletter-form .row {
    flex-direction: column;
  }

  .newsletter-form .col-md-6,
  .newsletter-form .col-md-auto {
    width: 100%;
  }

  .tags-cloud {
    gap: 0.25rem;
  }

  .tag-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .contact-form-wrapper,
  .contact-info {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .contact-item {
    margin-bottom: 2rem;
  }

  .social-links-contact {
    margin-top: 2rem;
  }

  .accordion-button,
  .accordion-body {
    padding: 1rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   EVENTS PAGE — PREMIUM DESIGN SYSTEM
   ========================================================================== */

/* --- Page Header additions --- */
.ev-header-label {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 9999px;
  backdrop-filter: blur(10px);
}

.ev-header-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.ev-header-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Filter Section --- */
.ev-filter-section {
  background: #f4f6f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.75rem 0;
  position: sticky;
  top: 72px;
  z-index: 100;
}

.ev-filter-form {}

.ev-filter-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 991px) {
  .ev-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ev-filter-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .ev-filter-grid {
    grid-template-columns: 1fr;
  }
  .ev-filter-section {
    position: static;
  }
}

.ev-filter-field {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ev-filter-field:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.ev-field-icon {
  padding: 0 0.85rem;
  color: #94a3b8;
  font-size: 0.9rem;
  flex-shrink: 0;
  pointer-events: none;
}

.ev-field-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.7rem 0.5rem 0.7rem 0;
  font-size: 0.9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  min-width: 0;
}

.ev-field-input::placeholder {
  color: #b0bec5;
}

.ev-field-select {
  padding-right: 2rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
}

.ev-field-clear {
  padding: 0 0.85rem;
  color: #94a3b8;
  text-decoration: none;
  flex-shrink: 0;
  font-size: 0.75rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.ev-field-clear:hover {
  color: #ef4444;
}

.ev-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.5rem;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.ev-filter-btn:hover {
  background: linear-gradient(135deg, #4338ca, #2563eb);
  transform: translateY(-1px);
}

.ev-filter-btn:active {
  transform: translateY(0);
}

/* Active Filters Strip */
.ev-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.ev-af-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ev-af-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  background: rgba(99,102,241,0.1);
  color: #4f46e5;
  border: 1px solid rgba(99,102,241,0.25);
}

.ev-af-reset {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ef4444;
  text-decoration: none;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(239,68,68,0.25);
  background: rgba(239,68,68,0.06);
  transition: all 0.2s ease;
}

.ev-af-reset:hover {
  background: rgba(239,68,68,0.12);
  color: #dc2626;
}

/* --- Events Grid Section --- */
.ev-grid-section {
  padding: 3.5rem 0 5rem;
  background: #f8fafc;
}

/* Results Bar */
.ev-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.ev-results-text {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.ev-results-text strong {
  color: #1e293b;
  font-weight: 700;
}

.ev-results-page {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

/* --- Event Cards --- */
.ev-card {
  background: #ffffff;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid #e8edf4;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.ev-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(30,41,59,0.13);
  border-color: rgba(99,102,241,0.2);
}

.ev-card-img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  height: 220px;
}

.ev-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.ev-card:hover .ev-card-img {
  transform: scale(1.06);
}

.ev-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(15,23,42,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
}

/* Dynamic Status Pills on Cards */
.ev-status-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}

.ev-status-ongoing {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.ev-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
  margin-right: 6px;
  animation: evPulse 1.5s infinite;
}

@keyframes evPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.ev-status-cancelled {
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ev-status-past {
  background: rgba(100, 116, 139, 0.8);
  color: #ffffff;
}

.ev-card-cancelled {
  border-style: dashed;
}

/* Date stamp overlay (bottom-right) */
.ev-card-date-stamp {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #ffffff;
  line-height: 1;
  padding: 0.35rem;
}

.ev-stamp-day {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.ev-stamp-month {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Card Body */
.ev-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ev-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.ev-meta-sep {
  opacity: 0.5;
}

.ev-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ev-card-desc {
  font-size: 0.87rem;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.ev-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.87rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid rgba(99,102,241,0.3);
  border-radius: 9999px;
  align-self: flex-start;
  transition: all 0.25s ease;
}

.ev-card-link:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

/* --- Empty State --- */
.ev-empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1.5px dashed #e2e8f0;
}

.ev-empty-icon {
  font-size: 3.5rem;
  color: #cbd5e1;
  display: block;
  margin-bottom: 1.25rem;
}

.ev-empty-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.ev-empty-sub {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1.75rem;
}

.ev-empty-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ev-empty-btn:hover {
  background: linear-gradient(135deg, #4338ca, #2563eb);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Pagination --- */
.ev-pagination {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.ev-pag-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ev-pag-item {}

.ev-pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #64748b;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ev-pag-btn:hover {
  border-color: #6366f1;
  color: #4f46e5;
  background: rgba(99,102,241,0.06);
}

.ev-pag-num {
  min-width: 40px;
}

.ev-pag-nav {
  min-width: 40px;
}

/* Active page */
.ev-pag-item.ev-pag-active .ev-pag-btn {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #ffffff;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}

/* Disabled prev/next */
.ev-pag-item.ev-pag-disabled .ev-pag-btn {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

/* Ellipsis */
.ev-pag-ellipsis span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: default;
}

@media (max-width: 480px) {
  .ev-pag-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.82rem;
    border-radius: 0.5rem;
  }
  .ev-pag-list {
    gap: 0.2rem;
  }
}

/* ==========================================================================
   AUTHENTICATION PAGES (Connexion & Inscription)
   ========================================================================== */
.login-body {
  background: linear-gradient(135deg, #0b1329 0%, #1c283f 50%, #0f172a 100%) !important;
  min-height: 100vh;
}

.login-form-container {
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-form-container .text-primary {
  color: #3b82f6 !important;
}

.login-form-container .btn-primary {
  background: linear-gradient(135deg, #1c283f 0%, #3b82f6 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.8rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.35) !important;
}

.login-form-container .btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1c283f 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.45) !important;
}

.login-form-container .form-control:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.2) !important;
}

.login-form-container a.text-decoration-none {
  color: #3b82f6 !important;
  transition: color 0.2s ease;
}

.login-form-container a.text-decoration-none:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

/* Blog Cards */
.blog-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.12) !important;
}

.blog-card .blog-card-img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

/* ==========================================================================
   GLOBAL RESPONSIVE SYSTEM (SMARTPHONES, TABLETS & DESKTOPS)
   ========================================================================== */

/* 1. Fluid Typography & Elements */
img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Input font-size safe for iOS mobile devices (prevents auto-zoom) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
input[type="number"],
select,
textarea {
  font-size: 16px !important;
}

@media (min-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="search"],
  input[type="number"],
  select,
  textarea {
    font-size: 0.95rem !important;
  }
}

/* Fluid Headings */
h1, .display-4 {
  font-size: clamp(1.75rem, 4.5vw, 3rem) !important;
  line-height: 1.25 !important;
}

h2, .display-5 {
  font-size: clamp(1.45rem, 3.5vw, 2.25rem) !important;
  line-height: 1.3 !important;
}

h3, .display-6 {
  font-size: clamp(1.25rem, 2.8vw, 1.75rem) !important;
  line-height: 1.35 !important;
}

p.lead {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
}

/* 2. Responsive Breakpoints */

/* --- TABLETS & SMALL LAPTOPS (< 1200px) --- */
@media (max-width: 1199.98px) {
  .hero-section,
  .page-header {
    padding-top: 110px !important;
    padding-bottom: 3.5rem !important;
  }

  .creative-collapse {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- TABLETS PORTRAIT (< 992px) --- */
@media (max-width: 991.98px) {
  .hero-section,
  .page-header {
    padding-top: 105px !important;
    padding-bottom: 3rem !important;
    text-align: center;
  }

  .hero-image {
    max-height: 380px !important;
    margin: 1.5rem auto 0;
  }

  .biography-image {
    margin: 0 auto 1.5rem;
    display: block;
  }

  .sticky-lg-top {
    position: static !important;
    margin-top: 2rem;
  }

  .ev-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ev-filter-btn {
    grid-column: 1 / -1;
  }
}

/* --- SMARTPHONES & SMALL TABLETS (< 768px) --- */
@media (max-width: 767.98px) {
  .hero-section,
  .page-header {
    padding-top: 98px !important;
    padding-bottom: 2.5rem !important;
  }

  .hero-image {
    max-height: 300px !important;
  }

  .quote-section {
    padding: 2.5rem 1rem !important;
  }

  .quote-section p {
    font-size: 1.25rem !important;
  }

  .vmv-section .card {
    margin-bottom: 1rem;
  }

  .blog-post {
    padding: 1.25rem !important;
  }

  .blog-post .post-content {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  #blog-comments {
    padding: 1.25rem !important;
  }

  .card-img-top {
    height: 190px !important;
  }

  .ev-filter-grid {
    grid-template-columns: 1fr;
  }

  .ev-filter-section {
    position: static !important;
    padding: 1.25rem 0 !important;
  }

  .footer .row > div {
    text-align: center !important;
  }

  .social-links {
    margin-top: 1rem;
    justify-content: center;
    display: flex;
  }
}

/* --- SMARTPHONES (< 576px) --- */
@media (max-width: 575.98px) {
  .creative-navbar {
    padding: 0.5rem 0 !important;
  }

  .creative-brand {
    gap: 0.55rem;
  }

  .brand-avatar-frame {
    padding: 2px;
  }

  .brand-avatar {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
  }

  .brand-title {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .creative-toggler {
    width: 38px;
    height: 38px;
    border-radius: 0.6rem;
  }

  .toggler-bar {
    width: 18px;
  }

  .creative-collapse {
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 0.5rem;
  }

  .auth-buttons-group {
    flex-direction: column;
    width: 100%;
  }

  .auth-buttons-group .creative-btn {
    width: 100%;
  }

  .hero-section,
  .page-header {
    padding-top: 92px !important;
    padding-bottom: 2rem !important;
  }

  .hero-image {
    max-height: 250px !important;
  }

  .login-form-container {
    padding: 1.5rem 1.25rem !important;
    border-radius: 1rem !important;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  .ev-pag-btn {
    min-width: 34px;
    height: 34px;
    font-size: 0.8rem;
    padding: 0 0.35rem;
  }

  .ev-pag-list {
    gap: 0.2rem;
  }
}

/* --- EXTRA SMALL SMARTPHONES (< 380px) --- */
@media (max-width: 379.98px) {
  .brand-name {
    font-size: 0.82rem;
  }

  .brand-title {
    font-size: 0.52rem;
  }

  .brand-avatar {
    width: 32px;
    height: 32px;
  }

  .creative-toggler {
    width: 34px;
    height: 34px;
  }
}

/* =============================================================================
   COORDONNÉES DE CONTACT CLIQUABLES & INTERACTIVES
   ============================================================================= */
.contact-coord-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.contact-coord-item {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.contact-coord-item:hover {
  background-color: #ffffff;
  border-color: #c89d5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 157, 92, 0.12);
}

.contact-coord-item.contact-coord-whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15);
}

.contact-coord-icon-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  transition: transform 0.3s ease;
}

.contact-coord-item:hover .contact-coord-icon-box {
  transform: scale(1.08);
}

.contact-coord-title {
  color: #1e293b;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.contact-coord-item:hover .contact-coord-title {
  color: #c89d5c;
}

.contact-coord-item.contact-coord-whatsapp:hover .contact-coord-title {
  color: #128c7e;
}

.contact-coord-arrow {
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 0.9rem;
}

.contact-coord-item:hover .contact-coord-arrow {
  transform: translateX(3px);
  color: #c89d5c !important;
}

.contact-coord-item.contact-coord-whatsapp:hover .contact-coord-arrow {
  color: #25d366 !important;
}

.contact-social-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.contact-social-btn {
  transition: all 0.25s ease;
}

.contact-social-btn:hover {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: var(--primary-color, #c89d5c);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(200, 157, 92, 0.3);
}

/* =============================================================================
   GESTION DES IMAGES & FALLBACKS ÉLÉGANTS
   ============================================================================= */
img {
  text-indent: -9999px; /* Cache le texte alt brisé en cas de défaut temporaire */
}

.blog-card-img,
.card-img-top,
.ev-card-img {
  background-color: #f1f5f9;
  min-height: 180px;
  display: block;
}

.img-fallback-applied {
  background-color: #f8fafc !important;
  object-fit: contain !important;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
  animation: fadeInFallback 0.4s ease forwards;
}

@keyframes fadeInFallback {
  from { opacity: 0.5; }
  to { opacity: 1; }
}


