/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #008080; /* Deep Teal */
  --secondary: #2e8bc0; /* Sky Blue */
  --accent: #4caf50; /* Leaf Green */
  --light: #f8f9fa;
  --dark: #333;
  --gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BILINGUAL DISPLAY SYSTEM ===== */
.lang-en [lang="fr"] {
  display: none !important;
}

.lang-fr [lang="en"] {
  display: none !important;
}

/* Improved Language Switcher */
.lang-switcher {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1001;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 25px;
  width: 60px;
  height: 30px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}

.lang-switcher:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

.lang-switcher::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  z-index: 1;
}

.lang-fr .lang-switcher::before {
  transform: translateX(0);
}

.lang-en .lang-switcher::before {
  transform: translateX(30px);
}

.lang-switcher span {
  position: relative;
  z-index: 2;
  width: 50%;
  text-align: center;
  transition: color 0.3s ease;
}

.lang-fr .lang-switcher span:first-child {
  color: var(--primary);
  font-weight: bold;
}

.lang-fr .lang-switcher span:last-child {
  color: white;
}

.lang-en .lang-switcher span:first-child {
  color: white;
}

.lang-en .lang-switcher span:last-child {
  color: var(--primary);
  font-weight: bold;
}

/* ===== HEADER & NAVIGATION ===== */
/* header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  color: var(--primary);
  font-size: 1rem;
  font-weight: bold;
  display: block;
}

.logo-text span {
  color: var(--secondary);
  display: block;
  font-size: 0.9rem;
  font-weight: normal;
} */
/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  max-width: 70%; /* Prevents logo from taking too much space */
}

.logo-image {
  width: 80px; /* Increased from 60px */
  height: 80px; /* Increased from 60px */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text {
  color: var(--primary);
  font-size: 1.2rem; /* Increased from 1rem */
  font-weight: bold;
  line-height: 1.3;
}

.logo-text span {
  color: var(--secondary);
  display: block;
  font-size: 1rem; /* Increased from 0.9rem */
  font-weight: normal;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  z-index: 1001;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

/* ===== HERO CAROUSEL ===== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-indicator.active {
  background: white;
  transform: scale(1.2);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid var(--primary);
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: transparent;
  color: var(--primary);
}

.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--secondary);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: transparent;
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  height: 300px;
  background:
    linear-gradient(rgba(0, 128, 128, 0.8), rgba(46, 139, 192, 0.8)),
    url("assets/images/photosite/w1.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 3rem;
  position: relative;
}

.page-banner[style*="url"] {
  background-blend-mode: overlay;
}

.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumb span {
  opacity: 0.6;
}

/* ===== INFINITE LOGO CAROUSEL ===== */
.logo-carousel {
  background: var(--light);
  padding: 3rem 0;
  overflow: hidden;
  position: relative;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  width: 150px;
  height: 80px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  padding: 1rem;
  transition: var(--transition);
}

.logo-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-150px * 6 - 3rem * 6));
  }
}

/* ===== SECTIONS ===== */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Board Member Styles */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.board-member {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.board-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 128, 128, 0.2);
}

/* Member Avatar with Photo */
.member-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;

  /* Gradient border effect */
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 4px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  background: white;
  display: block;
}

/* Hover effects */
.board-member:hover .member-avatar {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 128, 128, 0.4);
}

.board-member:hover .member-avatar img {
  transform: scale(1.1);
}

/* Optional overlay effect on hover */
.member-avatar::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.2),
    rgba(46, 139, 192, 0.2)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.board-member:hover .member-avatar::after {
  opacity: 1;
}

/* Member name styling */
.board-member h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.board-member p {
  color: var(--gray);
  font-size: 1rem;
  margin: 0.25rem 0;
  font-weight: 500;
}

/* Title styling with accent color */
.board-member p:first-of-type {
  color: var(--secondary);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Organization/position text */
.board-member p:last-of-type {
  color: var(--dark);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .member-avatar {
    width: 150px;
    height: 150px;
  }

  .board-member h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .board-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .board-member {
    padding: 1.5rem;
  }

  .member-avatar {
    width: 140px;
    height: 140px;
    padding: 3px;
    margin-bottom: 1rem;
  }

  .member-avatar::after {
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
  }
}

@media (max-width: 480px) {
  .board-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .board-member {
    padding: 1.5rem;
  }

  .member-avatar {
    width: 130px;
    height: 130px;
    padding: 3px;
  }

  .board-member h3 {
    font-size: 1rem;
  }

  .board-member p {
    font-size: 0.9rem;
  }
}

/* History Section */
.history-content {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: justify;
}

.history-content p {
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.pillars-intro {
  max-width: 900px;
  margin: 3rem auto 2rem;
  text-align: center;
}

.pillars-intro p {
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.8;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pillar-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-top-color: var(--secondary);
}

.pillar-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
}

.pillar-card h3 {
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Community Section */
.community-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.community-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 12px;
  transition: var(--transition);
  border-left: 4px solid var(--accent);
}

.community-card:hover {
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.community-icon {
  width: 70px;
  height: 70px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.community-card:hover .community-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.community-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.community-card p {
  color: var(--dark);
  line-height: 1.8;
  text-align: justify;
}

/* ===== PROGRAMS PAGE ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s ease;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 15px 35px rgba(0, 128, 128, 0.3),
    0 5px 15px rgba(0, 128, 128, 0.2),
    0 0 30px rgba(0, 128, 128, 0.1);
  background: linear-gradient(135deg, #ffffff 0%, #f0fffe 100%);
  filter: brightness(1.05);
}

.stat-card:hover::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

.stat-card:hover .stat-number {
  text-shadow:
    0 0 10px rgba(0, 128, 128, 0.5),
    0 0 20px rgba(0, 128, 128, 0.3),
    0 0 30px rgba(0, 128, 128, 0.2);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--light);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.stat-card p {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.stat-card:hover p {
  color: var(--light);
  font-weight: 500;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.program-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-5px);
}

/* .program-image {
  height: 200px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  background-size: cover;
  background-position: center;
}

.program-content {
  padding: 1.5rem;
} */
.program-image {
  aspect-ratio: 16 / 9; /* Creates a consistent 16:9 rectangular shape */
  width: 100%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px; /* Rounded corners */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Optional hover effect */
.program-card:hover .program-image {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Program Feature Styles */
.program-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.program-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.program-feature.reverse {
  grid-template-columns: 1fr 1fr;
}

.program-feature.reverse .program-feature-content {
  order: 2;
}

.program-feature.reverse .program-feature-image {
  order: 1;
}

.program-feature-content {
  padding: 1rem;
}

.program-number {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.program-feature-content h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.program-feature-content p {
  color: var(--dark);
  line-height: 1.8;
  font-size: 1rem;
}

/* .program-feature-image {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
} */
/* Program Feature Image Styles */
.program-feature-image {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* For background images (Option 1) */
.program-feature-image[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hover effect - zoom image slightly */
.program-feature:hover .program-feature-image[style*="background-image"] {
  transform: scale(1.05);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.1),
    rgba(46, 139, 192, 0.1)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--primary);
  border-radius: 12px;
}

.image-placeholder i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.image-placeholder p {
  color: var(--gray);
  font-size: 1rem;
  margin: 0;
}

/* Achievements Section */
.achievements-section {
  margin-bottom: 2rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.achievement-card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
}

.achievement-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.achievement-card:hover .achievement-icon {
  background: white;
  color: var(--primary);
  transform: scale(1.1);
}

.achievement-card h4 {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.stat-card-achievement {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-card-achievement:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.stat-card-achievement:hover .stat-icon {
  background: white;
  color: var(--primary);
  transform: scale(1.1);
}

.stat-card-achievement .stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin: 0.5rem 0;
}

.stat-card-achievement h4 {
  color: white;
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
}

.stat-card-achievement p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-placeholder:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.gallery-placeholder i {
  font-size: 3rem;
  color: white;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.gallery-placeholder p {
  color: white;
  font-size: 1rem;
  margin: 0;
}

/* ===== RESOURCES PAGE ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-left: 4px solid var(--primary);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-left-width: 6px;
}

.resource-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.resource-meta {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.resource-meta span {
  background: var(--light);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.press-card {
  border-left-color: var(--secondary);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== GALLERY TABS ===== */
.gallery-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0 2rem;
  flex-wrap: wrap;
}

.gallery-tab-btn {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gallery-tab-btn i {
  font-size: 1.3rem;
}

.gallery-tab-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 128, 128, 0.2);
}

.gallery-tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 128, 128, 0.3);
}

.gallery-tabs-content {
  margin-top: 3rem;
}

.gallery-tab-panel {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.gallery-tab-panel.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MASONRY GALLERY ===== */
.masonry-gallery {
  column-count: 3;
  column-gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-placeholder {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.1),
    rgba(46, 139, 192, 0.1)
  );
  border: 2px dashed var(--primary);
  border-radius: 12px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.gallery-placeholder.tall {
  min-height: 400px;
}

.gallery-placeholder.wide {
  min-height: 250px;
}

.gallery-placeholder i {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  transition: var(--transition);
}

.gallery-placeholder:hover i {
  opacity: 0.6;
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.gallery-placeholder:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.gallery-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* ===== VIDEOS GRID ===== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.video-placeholder {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.2),
    rgba(46, 139, 192, 0.2)
  );
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.video-placeholder i {
  font-size: 5rem;
  color: white;
  transition: var(--transition);
  opacity: 0.8;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.video-placeholder:hover i {
  transform: scale(1.2);
  opacity: 1;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  color: white;
}

.video-overlay h4 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
}

.video-info {
  padding: 1.5rem;
}

.video-info h5 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.video-info p {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.video-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.video-meta span {
  background: var(--light);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* ===== VIDEO PLAY BUTTON ===== */
.video-play-btn {
  background: white;
  color: var(--primary);
  border: none;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
}

.video-play-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

/* ===== GOOGLE MAPS STYLE ===== */
.map-section {
  margin-top: 3rem;
}

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #e9ecef;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Office Cards */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.office-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.office-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.office-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.office-card p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* ===== EVENTS PAGE ===== */
.calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.event-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.event-date {
  background: var(--primary);
  color: white;
  padding: 1rem;
  text-align: center;
}

.event-date .day {
  font-size: 2rem;
  font-weight: bold;
}

.event-content {
  padding: 1.5rem;
}

/* Events Tabs */
.events-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.events-tab-btn {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.events-tab-btn i {
  font-size: 1.2rem;
}

.events-tab-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 128, 128, 0.2);
}

.events-tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 128, 128, 0.3);
}

.events-tabs-content {
  margin-top: 3rem;
}

.events-tab-panel {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.events-tab-panel.active {
  display: block;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.partner-badge {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
}

.event-meta {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(0, 128, 128, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
}

.event-meta p {
  margin: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.event-meta strong {
  color: var(--primary);
}

.event-description {
  margin: 1.5rem 0;
  line-height: 1.8;
  color: var(--dark);
}

.event-description p {
  margin-bottom: 1rem;
}

.event-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 2rem;
  background: var(--light);
  border-radius: 12px;
}

.event-stat {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.event-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.event-stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.event-stat p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

.event-highlights {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1),
    rgba(46, 139, 192, 0.1)
  );
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.event-highlights h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-highlights ul {
  list-style: none;
  padding-left: 0;
}

.event-highlights ul li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.event-highlights ul li::before {
  content: "✓";
  position: absolute;
  left: 0.5rem;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.event-schedule {
  margin: 2rem 0;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid var(--primary);
}

.event-schedule h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schedule-item {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.05),
    rgba(46, 139, 192, 0.05)
  );
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  transition: var(--transition);
}

.schedule-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.schedule-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.schedule-item p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* ===== EVENT PAGE ADDITIONAL STYLES ===== */

/* Past event styling */
.past-event {
  opacity: 0.8;
}

.past-event .event-date {
  position: relative;
  background: var(--gray) !important;
}

.past-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Featured event styling */
.featured-event {
  border: 2px solid var(--primary);
  transform: scale(1.02);
}

.featured-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.upcoming-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--secondary);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Event actions buttons */
.event-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.event-actions .btn {
  flex: 1;
  min-width: 150px;
}

/* Timeline styles */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--primary),
    var(--secondary),
    var(--accent)
  );
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-date {
  width: 100px;
  text-align: right;
  padding-right: 2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.date-day {
  font-size: 1.5rem;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}

.date-month {
  font-size: 0.9rem;
  color: var(--gray);
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-left: 2rem;
  position: relative;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.15);
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 20px;
  width: 20px;
  height: 20px;
  background: white;
  transform: rotate(45deg);
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--gray);
  margin: 0.25rem 0;
}

.timeline-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  color: white;
  margin-top: 0.5rem;
}

.timeline-badge.primary {
  background: var(--primary);
}

.timeline-badge.secondary {
  background: var(--secondary);
}

.timeline-badge.accent {
  background: var(--accent);
}

/* ===== EVENT CARD IMAGE STYLES ===== */

/* Option 1: Header Image */
.event-card .event-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.event-card .event-image .event-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  z-index: 2;
}

.event-card .event-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

/* Hover effects for event cards with images */
.event-card.featured-event {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.event-card.featured-event:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 128, 128, 0.3);
}

.event-card.featured-event:hover .event-image {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .event-card .event-image {
    height: 150px;
  }

  .event-thumbnail {
    width: 60px;
    height: 60px;
  }

  .main-image {
    height: 140px;
  }

  .thumbnail {
    width: 45px;
    height: 45px;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 4rem 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Responsive timeline */
@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-date {
    width: auto;
    text-align: left;
    padding-right: 0;
    margin-bottom: 0.5rem;
    margin-left: 60px;
  }

  .date-day {
    font-size: 1.2rem;
    display: inline;
    margin-right: 0.5rem;
  }

  .date-month {
    display: inline;
  }

  .timeline-content {
    margin-left: 60px;
    width: calc(100% - 60px);
  }

  .event-actions {
    flex-direction: column;
  }

  .event-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .event-actions {
    flex-direction: column;
  }
}

/* ===== ARTICLE DROPDOWN & DISPLAY SYSTEM ===== */
.article-selector-container {
  max-width: 800px;
  margin: 3rem auto 2rem;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.article-selector-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.article-selector-label i {
  font-size: 1.3rem;
}

.article-dropdown {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  background: white;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.article-dropdown:hover,
.article-dropdown:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46, 139, 192, 0.1);
}

.articles-container {
  max-width: 1000px;
  margin: 2rem auto;
}

.article-content {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 3rem;
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-date {
  color: var(--gray);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-title {
  color: var(--primary);
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 1rem;
}

.article-image-container {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-image {
  width: 100%;
  height: auto;
  display: block;
}

.article-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.1),
    rgba(46, 139, 192, 0.1)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--primary);
}

.article-image-placeholder i {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.article-image-placeholder p {
  color: var(--gray);
  font-size: 1rem;
}

.article-body {
  line-height: 1.8;
  color: var(--dark);
}

.article-body h3 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-body h3 i {
  color: var(--accent);
}

.article-body p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.article-body ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.article-body ul li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-left: 3px solid var(--accent);
  margin-bottom: 0.5rem;
  background: rgba(76, 175, 80, 0.05);
  border-radius: 0 8px 8px 0;
}

.article-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0.5rem;
  color: var(--accent);
  font-weight: bold;
}

.article-highlight {
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.1),
    rgba(46, 139, 192, 0.1)
  );
  padding: 2rem;
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  margin: 2rem 0;
}

.article-highlight p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.article-highlight strong {
  color: var(--primary);
}

.article-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 2rem;
  background: var(--light);
  border-radius: 12px;
}

.stat-box {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.stat-box .stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-box p {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== MEMBERSHIP FORM ===== */
.membership-form {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Formspree Success/Error Messages */
.form-success {
  background: var(--accent);
  color: white;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  text-align: center;
  animation: slideDown 0.3s ease;
}

.form-error {
  background: #dc3545;
  color: white;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  text-align: center;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--dark);
  margin: 0;
}

.contact-item a {
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ===== OBJECTIVES SECTION ===== */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.objective-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

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

.objective-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}

.objective-card p {
  color: var(--dark);
  line-height: 1.8;
  font-size: 1rem;
}

/* ===== TARGETS SECTION ===== */
.targets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.target-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.target-card:hover {
  border-color: var(--primary);
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.target-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.target-card:hover .target-icon {
  background: var(--secondary);
  transform: scale(1.1);
}

.target-card h4 {
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== ACTIVITIES SECTION ===== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.activity-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.activity-card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.activity-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.activity-card:hover .activity-icon {
  background: white;
  color: var(--primary);
  transform: scale(1.1);
}

.activity-card h4 {
  color: white;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

/* Video container for local videos */
.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-container {
    max-width: 100%;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-links p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-links i {
  margin-right: 0.5rem;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.copyright p {
  margin: 0.5rem 0;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.p-1 {
  padding: 1rem;
}
.p-2 {
  padding: 2rem;
}
.p-3 {
  padding: 3rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .masonry-gallery {
    column-count: 3;
  }
}

@media (max-width: 968px) {
  .program-feature,
  .program-feature.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .program-feature.reverse .program-feature-content,
  .program-feature.reverse .program-feature-image {
    order: initial;
  }

  .program-feature-image {
    height: 300px;
  }

  .achievements-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .masonry-gallery {
    column-count: 2;
    column-gap: 1rem;
  }

  .masonry-item {
    margin-bottom: 1rem;
  }

  .video-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0.75rem 15px;
  }

  .logo {
    gap: 10px;
    max-width: 65%;
  }

  .logo-image {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
  }

  .logo-text {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: white;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    gap: 0;
    z-index: 1100;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

  .hero {
    height: 500px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .page-banner {
    height: 200px;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .lang-switcher {
    top: 80px;
    width: 55px;
    height: 28px;
    font-size: 0.7rem;
  }

  .lang-en .lang-switcher::before {
    transform: translateX(27px);
  }

  .map-container {
    padding-top: 75%;
    border-radius: 8px;
  }

  .map-section {
    margin-top: 2rem;
  }

  .offices-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .office-card {
    padding: 1.5rem;
  }

  .pillars-grid,
  .community-content {
    grid-template-columns: 1fr;
  }

  .history-content,
  .pillars-intro {
    text-align: left;
  }

  .pillar-icon,
  .community-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .program-feature {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .program-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .program-feature-content h3 {
    font-size: 1.2rem;
  }

  .program-feature-image {
    height: 250px;
  }

  .achievements-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .achievement-icon,
  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .gallery-subsection-title {
    font-size: 1.5rem;
  }

  .masonry-gallery {
    column-count: 1;
  }

  .masonry-image-placeholder {
    height: 250px;
  }

  .video-gallery {
    grid-template-columns: 1fr;
  }

  .lightbox-prev,
  .lightbox-next,
  .lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .gallery-tabs-nav,
  .events-tabs-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .gallery-tab-btn,
  .events-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  .event-meta {
    padding: 1rem;
  }

  .event-stats-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .event-schedule {
    padding: 1.5rem;
  }

  .schedule-item {
    padding: 1rem;
  }

  .article-selector-container {
    padding: 1.5rem;
  }

  .article-content {
    padding: 2rem 1.5rem;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .article-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-body h3 {
    font-size: 1.3rem;
  }

  .article-image-placeholder {
    height: 300px;
  }

  .article-stats {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .stat-box .stat-number {
    font-size: 2rem;
  }

  .objectives-grid,
  .targets-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .objective-icon,
  .target-icon,
  .activity-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .video-container {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 10px;
  }

  .logo {
    gap: 8px;
    max-width: 60%;
  }

  .logo-image {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 0.65rem;
    line-height: 1.1;
  }

  .nav-toggle {
    min-width: 40px;
    min-height: 40px;
    font-size: 1.3rem;
  }

  .hero {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .page-banner {
    height: 200px;
  }

  .page-banner h1 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }

  .program-feature {
    padding: 1rem;
  }

  .program-feature-content h3 {
    font-size: 1.1rem;
  }

  .program-feature-content p {
    font-size: 0.95rem;
  }

  .program-feature-image {
    height: 200px;
  }

  .image-placeholder i {
    font-size: 3rem;
  }

  .gallery-placeholder {
    height: 200px;
  }

  .gallery-subsection-title {
    font-size: 1.3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .masonry-image-placeholder {
    height: 200px;
  }

  .masonry-image-placeholder i {
    font-size: 3rem;
  }

  .video-placeholder {
    height: 180px;
  }

  .video-placeholder i {
    font-size: 4rem;
  }

  .video-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .video-info {
    padding: 1rem;
  }

  .video-info h4 {
    font-size: 1rem;
  }

  .gallery-tab-btn,
  .events-tab-btn {
    font-size: 0.9rem;
    padding: 0.875rem 1rem;
  }

  .event-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .event-description {
    font-size: 0.95rem;
  }

  .event-highlights,
  .event-schedule {
    padding: 1rem;
  }

  .article-selector-container {
    padding: 1rem;
    margin: 2rem auto 1rem;
  }

  .article-content {
    padding: 1.5rem 1rem;
  }

  .article-title {
    font-size: 1.3rem;
  }

  .article-body h3 {
    font-size: 1.2rem;
  }

  .article-body p,
  .article-body ul li {
    font-size: 1rem;
  }

  .article-image-placeholder {
    height: 250px;
  }

  .article-image-placeholder i {
    font-size: 3rem;
  }

  .article-highlight {
    padding: 1.5rem;
  }

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

  .objective-card,
  .target-card,
  .activity-card {
    padding: 1.5rem;
  }
}

@media (max-width: 375px) {
  .header-container {
    padding: 0.5rem 8px;
  }

  .logo {
    max-width: 55%;
  }

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

  .logo-text {
    font-size: 0.6rem;
  }

  .nav-toggle {
    min-width: 38px;
    min-height: 38px;
    font-size: 1.2rem;
    padding: 6px;
  }

  .nav-menu {
    top: 60px;
  }
}

/* Responsive adjustments - Proper sizing for all devices */
@media (max-width: 992px) {
  .logo-image {
    width: 70px;
    height: 70px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo-text span {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0.75rem 15px;
  }

  .logo {
    gap: 12px;
    max-width: 75%;
  }

  .logo-image {
    width: 60px; /* Still decent size on tablets */
    height: 60px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-text span {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 10px;
  }

  .logo {
    gap: 10px;
    max-width: 80%;
  }

  .logo-image {
    width: 50px; /* Still visible on mobile */
    height: 50px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .logo-text span {
    font-size: 0.75rem;
  }
}

/* For very small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
  .header-container {
    padding: 0.5rem 8px;
  }

  .logo-image {
    width: 45px;
    height: 45px;
  }

  .logo-text {
    font-size: 0.8rem;
  }

  .logo-text span {
    font-size: 0.7rem;
  }
}
/* ===== ACHIEVEMENTS SECTION - ENHANCED STYLES ===== */
.achievements-section {
  margin-bottom: 3rem;
}

.achievements-section h3 {
  color: white;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.achievements-section h3 i {
  font-size: 1.8rem;
  color: var(--accent);
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.achievement-card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.achievement-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.achievement-card:hover .achievement-icon {
  background: white;
  color: var(--primary);
  transform: scale(1.1) rotate(360deg);
}

.achievement-card h4 {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Stats Grid for Achievements */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card-achievement {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.stat-card-achievement::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.8s ease;
}

.stat-card-achievement:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stat-card-achievement:hover::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.stat-card-achievement:hover .stat-icon {
  background: white;
  color: var(--primary);
  transform: scale(1.1) rotate(360deg);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin: 0.5rem 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-card-achievement h4 {
  color: white;
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  position: relative;
  z-index: 1;
}

.stat-card-achievement p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin: 0;
}

/* Responsive adjustments for achievements */
@media (max-width: 768px) {
  .achievements-section h3 {
    font-size: 1.3rem;
  }

  .achievements-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .achievement-icon,
  .stat-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .achievements-section h3 {
    font-size: 1.2rem;
  }

  .achievement-card,
  .stat-card-achievement {
    padding: 1.5rem;
  }

  .achievement-icon,
  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .achievement-card h4,
  .stat-card-achievement h4 {
    font-size: 1rem;
  }

  .stat-card-achievement p {
    font-size: 0.9rem;
  }
}

/* Simple, clean styles that will definitely show well */
.benefits-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.benefit-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.benefit-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.benefit-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon-wrapper i {
  font-size: 30px;
  color: white;
}

.benefit-details {
  flex: 1;
}

.benefit-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #2c3e50;
}

.benefit-details p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #546e7a;
  margin: 0 0 15px 0;
}

.member-count {
  display: inline-block;
  background: #f0f7ff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(52, 152, 219, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .benefits-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
  }

  .benefit-icon-wrapper {
    margin-bottom: 5px;
  }
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0;
}

.link-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.link-card-header {
  padding: 25px 25px 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.link-icon i {
  font-size: 28px;
  color: white;
}

.link-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  background: #f8f9fa;
  border-radius: 30px;
  color: #7f8c8d;
  border: 1px solid #e9ecef;
}

.link-card-body {
  padding: 0 25px 20px 25px;
  flex: 1;
}

.link-card-body h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #2c3e50;
}

.link-card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #546e7a;
  margin: 0 0 20px 0;
}

.link-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.link-features span {
  font-size: 0.85rem;
  color: #34495e;
  background: #f8f9fa;
  padding: 5px 12px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-features i {
  color: var(--primary);
  font-size: 0.8rem;
}

.link-card-footer {
  padding: 20px 25px 25px 25px;
  border-top: 1px solid #edf2f7;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.link-button i {
  transition: transform 0.3s ease;
}

.link-button:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.link-button:hover i {
  transform: translateX(5px);
}

/* For MINEE card without external link */
.link-card:last-child .link-button {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.link-card:last-child .link-button:hover {
  background: linear-gradient(135deg, #7f8c8d, #95a5a6);
  box-shadow: 0 10px 20px rgba(127, 140, 141, 0.3);
}

/* Responsive */
@media (max-width: 1000px) {
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .link-card-header {
    padding: 20px 20px 10px 20px;
  }

  .link-card-body {
    padding: 0 20px 15px 20px;
  }

  .link-card-footer {
    padding: 15px 20px 20px 20px;
  }

  .link-card-body h3 {
    font-size: 1.4rem;
  }
}
/* ===== STRUCTURE PRINCIPALE ===== */
.main-gallery-nav input[type="radio"] {
  display: none;
}

.main-gallery-labels {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.main-gallery-label {
  padding: 12px 30px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 40px;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.main-gallery-panel {
  display: none;
}

#main-photo:checked ~ .photo-panel,
#main-video:checked ~ .video-panel {
  display: block;
}

#main-photo:checked ~ .main-gallery-labels label[for="main-photo"],
#main-video:checked ~ .main-gallery-labels label[for="main-video"] {
  background: var(--primary);
  color: white;
}

/* ===== NAVIGATION THÉMATIQUE ===== */
.theme-gallery-nav input[type="radio"] {
  display: none;
}

.theme-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 30px;
}

.theme-label {
  padding: 8px 16px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 30px;
  color: #666;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.theme-panel {
  display: none;
}

/* Activation des thèmes photos */
#photo-theme1:checked ~ .photo-theme1,
#photo-theme2:checked ~ .photo-theme2,
#photo-theme3:checked ~ .photo-theme3,
#photo-theme4:checked ~ .photo-theme4,
#photo-theme5:checked ~ .photo-theme5,
#photo-theme6:checked ~ .photo-theme6 {
  display: block;
}

/* Activation des thèmes vidéos */
#video-theme1:checked ~ .video-theme1,
#video-theme2:checked ~ .video-theme2,
#video-theme3:checked ~ .video-theme3,
#video-theme4:checked ~ .video-theme4,
#video-theme5:checked ~ .video-theme5,
#video-theme6:checked ~ .video-theme6 {
  display: block;
}

/* Style du label actif */
#photo-theme1:checked ~ .theme-labels label[for="photo-theme1"],
#photo-theme2:checked ~ .theme-labels label[for="photo-theme2"],
#photo-theme3:checked ~ .theme-labels label[for="photo-theme3"],
#photo-theme4:checked ~ .theme-labels label[for="photo-theme4"],
#photo-theme5:checked ~ .theme-labels label[for="photo-theme5"],
#photo-theme6:checked ~ .theme-labels label[for="photo-theme6"],
#video-theme1:checked ~ .theme-labels label[for="video-theme1"],
#video-theme2:checked ~ .theme-labels label[for="video-theme2"],
#video-theme3:checked ~ .theme-labels label[for="video-theme3"],
#video-theme4:checked ~ .theme-labels label[for="video-theme4"],
#video-theme5:checked ~ .theme-labels label[for="video-theme5"],
#video-theme6:checked ~ .theme-labels label[for="video-theme6"] {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ===== GRILLES ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.photo-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.photo-item:hover img {
  transform: scale(1.08);
  opacity: 0.9;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 128, 128, 0.9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: 0.3s;
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-content {
  padding: 15px;
}

.video-card-content h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1rem;
}

.video-card-content p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.watch-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.watch-btn:hover {
  background: var(--secondary);
}

.theme-title {
  text-align: center;
  color: var(--primary);
  margin: 20px 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .theme-labels {
    flex-direction: column;
    align-items: stretch;
  }
  .theme-label {
    justify-content: center;
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .main-gallery-labels {
    flex-direction: column;
    gap: 10px;
  }
}
/* ===== ALL ARTICLES VISIBLE + QUICK NAV ===== */
.articles-nav {
  background: #ffffff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
  z-index: 999;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.articles-nav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.articles-nav-links a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.articles-nav-links a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Bilingual nav */
.lang-fr .articles-nav-links a span[lang="en"],
.lang-en .articles-nav-links a span[lang="fr"] {
  display: none !important;
}

/* Better spacing when all articles are shown */
.articles-container .article-content {
  margin-bottom: 70px;
}

/* Optional: nicer max width on big screens */
@media (min-width: 1200px) {
  .articles-container {
    max-width: 1100px;
  }
}
/* ===== NEWS PAGE - ACCORDÉON NAVIGATION MOBILE ===== */

/* Navigation accordéon pour mobile */
.articles-nav {
  background: #ffffff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
  z-index: 999;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.articles-nav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.articles-nav-links a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.articles-nav-links a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Accordéon mobile - caché sur desktop */
.mobile-accordion-nav {
  display: none;
}

/* ===== ARTICLES COMPACTS AVEC EXPANSION ===== */

/* Style de base des cartes d'articles */
.article-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-card:hover {
  box-shadow: 0 10px 30px rgba(0, 128, 128, 0.1);
  transform: translateY(-3px);
}

/* En-tête de la carte */
.article-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0.5rem;
}

.article-card-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-card-date {
  color: var(--gray);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Titre de l'article */
.article-card-title {
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0.5rem 1.5rem 1rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}

/* Image container */
.article-card-image {
  margin: 0 1.5rem 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-card-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.02);
}

/* Contenu compact (premier paragraphe) */
.article-card-compact {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--dark);
  max-height: 100px;
  overflow: hidden;
  position: relative;
}

.article-card-compact::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, white);
  pointer-events: none;
}

/* Checkbox pour l'expansion - cachée */
.article-expand-checkbox {
  display: none;
}

/* Bouton Lire la suite / Read more */
.article-expand-btn {
  display: inline-block;
  margin: 0 1.5rem 1.5rem;
  padding: 10px 25px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid var(--primary);
}

.article-expand-btn:hover {
  background: transparent;
  color: var(--primary);
}

/* Contenu complet - caché par défaut */
.article-card-full {
  display: none;
  padding: 1rem 1.5rem;
  border-top: 1px solid #eee;
  background: #fafafa;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bouton Fermer / Close */
.article-close-btn {
  display: inline-block;
  margin: 1rem 1.5rem 1.5rem;
  padding: 8px 20px;
  background: var(--gray);
  color: white;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid var(--gray);
}

.article-close-btn:hover {
  background: transparent;
  color: var(--gray);
}

/* Expansion via checkbox */
.article-expand-checkbox:checked ~ .article-card-full {
  display: block;
}

.article-expand-checkbox:checked ~ .article-expand-btn {
  display: none;
}

/* Structure du contenu complet */
.article-full-content {
  line-height: 1.8;
  color: var(--dark);
}

.article-full-content h3 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-full-content h3 i {
  color: var(--accent);
}

.article-full-content p {
  margin-bottom: 1rem;
}

.article-full-content ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.article-full-content ul li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  border-left: 3px solid var(--accent);
  margin-bottom: 0.5rem;
  background: rgba(76, 175, 80, 0.05);
  border-radius: 0 8px 8px 0;
}

.article-full-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0.5rem;
  color: var(--accent);
  font-weight: bold;
}

.article-highlight {
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.05),
    rgba(46, 139, 192, 0.05)
  );
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  margin: 1.5rem 0;
}

.article-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.article-stat-box {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

/* Bouton Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.back-to-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 128, 128, 0.3);
  transition: var(--transition);
  font-size: 1.2rem;
}

.back-to-top a:hover {
  background: var(--secondary);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(46, 139, 192, 0.4);
}

/* ===== RESPONSIVE: ACCORDÉON MOBILE ===== */
@media (max-width: 768px) {
  /* Cacher la navigation horizontale sur mobile */
  .articles-nav-links {
    display: none;
  }

  /* Afficher l'accordéon mobile */
  .mobile-accordion-nav {
    display: block;
    margin: 1rem 0;
  }

  .accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .accordion-header {
    margin: 0;
  }

  .accordion-checkbox {
    display: none;
  }

  .accordion-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 12px;
  }

  .accordion-label i {
    transition: transform 0.3s ease;
  }

  .accordion-checkbox:checked ~ .accordion-label i {
    transform: rotate(180deg);
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f5f5f5;
  }

  .accordion-checkbox:checked ~ .accordion-content {
    max-height: 300px; /* Assez grand pour les liens */
    overflow-y: auto;
  }

  .accordion-links {
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }

  .accordion-links a {
    text-decoration: none;
    color: var(--dark);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    border-left: 3px solid transparent;
  }

  .accordion-links a:hover {
    background: white;
    border-left-color: var(--primary);
    color: var(--primary);
    padding-left: 1.5rem;
  }

  /* Ajustements des cartes sur mobile */
  .article-card-title {
    font-size: 1.3rem;
    margin: 0.5rem 1rem 0.8rem;
  }

  .article-card-header {
    padding: 1rem 1rem 0.3rem;
  }

  .article-card-image {
    margin: 0 1rem 0.8rem;
  }

  .article-card-compact {
    padding: 0 1rem;
    max-height: 80px;
  }

  .article-expand-btn,
  .article-close-btn {
    margin: 0 1rem 1rem;
  }

  .article-card-full {
    padding: 0.8rem 1rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  .back-to-top a {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .article-card-title {
    font-size: 1.2rem;
  }

  .article-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-stats {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 15px;
    right: 15px;
  }

  .back-to-top a {
    width: 40px;
    height: 40px;
  }
}

/* Pour les très petits écrans */
@media (max-width: 360px) {
  .article-card-category {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .article-card-date {
    font-size: 0.8rem;
  }
}
/* ===== MEMBERSHIP BENEFITS SHOWCASE - IMPROVED VERSION ===== */
.benefits-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.benefit-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.benefit-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: transparent;
  transform: translateY(-5px);
}

.benefit-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon-wrapper i {
  font-size: 30px;
  color: white;
}

.benefit-details {
  flex: 1;
}

.benefit-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #2c3e50;
}

.benefit-details p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #546e7a;
  margin: 0 0 15px 0;
}

.member-count {
  display: inline-block;
  background: #f0f7ff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(52, 152, 219, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .benefits-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
  }

  .benefit-icon-wrapper {
    margin-bottom: 5px;
  }
}
/* ===== FOOTER STYLES ===== */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

/* ===== FOOTER QUICK LINKS - FORCE VERTICAL STACK ===== */
.footer-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.footer-links a {
  display: block !important;
  width: 100% !important;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

/* Override any inline styles that might be causing issues */
.footer-links a[lang="fr"],
.footer-links a[lang="en"] {
  display: block !important;
}

/* CONTACT ITEMS - ONE LINE EACH */
.footer-links p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links p i {
  width: 25px;
  flex-shrink: 0;
}

.footer-links p a {
  display: inline;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-links p a:hover {
  color: white;
  text-decoration: underline;
}

/* SOCIAL LINKS - HORIZONTAL */
.social-links {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* COPYRIGHT */
.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.copyright p {
  margin: 0.5rem 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-links {
    align-items: center;
  }
  
  .footer-links p {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
}