:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-color: #1f2937;
  --light-text: #6b7280;
  --background: #ffffff;
  --section-bg: #e0e7ff;
  --gradient-start: #3b82f6;
  --gradient-end: #1d4ed8;
  --gradient: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
}

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

/* Hero Section */
.hero {
  height: 100vh;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.666)),
    url("img/hero/photo-1451187580459-43490279c0fa.jpg") center/cover;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-weight: bold;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
  white-space: normal;
}
@media (max-width: 767px) {
  .hero {
    padding: 0 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
    line-height: 1.5;
  }

  .scroll-down {
    margin-top: 1.5rem;
  }

  .arrow-down {
    width: 30px;
    height: 30px;
    stroke-width: 2.5;
  }
}

.hero .cta-button {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}
.scroll-down {
  margin-top: 2rem;
}

.arrow-down {
  animation: bounce 1.5s ease-in-out infinite;
  width: 40px; /* Adjust as needed */
  height: 40px;
  stroke-width: 3;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.5;
  }
}

/* Typing Animation */
.typing {
  position: relative;
  display: inline-block;
}

/**logo-container**/

/* Scrolling Logo Banner */
.banner-wrapper {
  width: 100%;
  padding: 30px 20px 40px;
  background: white;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.scrolling-banner {
  overflow: hidden;
  white-space: normal;
}

.logo-track {
  display: flex;
  width: fit-content;
  animation: scroll-left 30s linear infinite;
}

.logo-set {
  display: flex;
}

.logo-set img {
  height: 80px;
  margin: 0 60px;
  opacity: 0.8;
  transition: all 0.4s ease-in-out;
}

.logo-set img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/*h2 -----------------------------------------*/
.event-info-section h2,
.speakers h2,
.description-section h2,
.contact-section h2 {
  position: absolute;
  transform: translateX(-50%);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: color 0.3s ease-in-out;
}

/* Effet souligné animé */
.event-info-section h2::after,
.speakers h2::after,
.description-section h2::after,
.contact-section h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  background: var(--primary-color);
  margin: 10px auto 0;
  transition: width 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* Effet au survol */
.event-info-section h2:hover,
.speakers h2:hover,
.description-section h2:hover,
.contact-section h2:hover {
  color: var(--primary-color);
}

.event-info-section h2:hover::after,
.speakers h2:hover::after,
.description-section h2:hover::after,
.contact-section h2:hover::after {
  width: 200px;
  background: var(--secondary-color);
}

/*description *********************************************************************************/
.description-section {
  min-height: 100vh;
  background: url("img/Body/t.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 3rem; /* Ajoute un espace en haut */
  padding-bottom: 1rem;
}
.description-section h2 {
  position: absolute;
  top: 40px; /* Ajuste cette valeur pour qu'il soit bien positionné */
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  line-height: 1.2;
  text-align: center;
  z-index: 10;
}
.description-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 1rem;
}

.description-text {
  flex: 1;
  padding: 2rem;
}
.description-image {
  margin-top: 50px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.description-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.description-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--section-bg);
  border-radius: 0.75rem;
}

.feature-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.feature-text p {
  color: var(--light-text);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .description-content {
    flex-direction: column;
    align-items: center;
    text-align: left; /* meilleure lisibilité */
    gap: 2rem;
  }

  .description-text {
    width: 100%;
    padding: 1rem 0.5rem;
    max-width: 600px; /* pour éviter le texte trop étalé */
    line-height: 1.8;
    font-size: 1rem;
  }

  .feature-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .feature-icon {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .description-section h2 {
    font-size: 1.6rem;
    top: 1rem;
  }
  .speakers h2 {
    font-size: 1.6rem;
    top: 1rem;
  }
}

/******************************************************************************************************/

/* Section styles *************************************************************************************/
.event-info-section {
  height: 70vh;
  background: var(--section-bg);
  background-position: center;
  background-size: cover;
  position: relative;
}

.flex-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem; /* Ajout de padding pour éviter les débordements */
}

.grida {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: 1rem;
  width: 30vw;
  margin-left: 20%;
}

.illustration {
  flex: 1;
  max-width: 35%;
}

.illustration img {
  margin-left: 20%;
  width: 130%;
  height: auto;
}

.carda {
  background-color: white;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.34),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f1f1;
}

.icon {
  color: #2563eb;
  flex-shrink: 0;
}

.capacity-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.capacity-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.blue-line {
  width: 4px;
  height: 4rem;
  background-color: #2563eb;
  border-radius: 9999px;
  flex-shrink: 0;
}

.capacity-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0e0f0f;
  margin-bottom: 0.25rem;
}

.capacity-item p {
  color: #4b5563;
}

.practical-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.label {
  font-weight: 500;
  color: #374151;
}

.info-item p {
  color: #4b5563;
}

/* MEDIA QUERIES RESPONSIVE */

/* Tablettes et petits écrans */
@media (max-width: 1024px) {
  .grida {
    width: 45vw;
    margin-left: 10%;
  }

  .illustration {
    max-width: 40%;
  }

  .illustration img {
    margin-left: 10%;
    width: 120%;
  }
}

/* Smartphones et très petits écrans */
@media (max-width: 768px) {
  .event-info-section {
    height: auto;
    min-height: 60vh;
    padding: 2rem 0;
  }

  .flex-container {
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 1rem;
  }

  .grida {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .illustration {
    max-width: 80%;
    align-self: center;
  }

  .illustration img {
    margin-left: 0;
    width: 100%;
  }

  .carda {
    padding: 1.5rem;
  }

  .capacity-item {
    gap: 0.75rem;
  }

  .blue-line {
    height: 3rem;
  }
}

/* Très petits écrans (moins de 480px) */
@media (max-width: 480px) {
  .flex-container {
    padding: 0.5rem;
  }

  .carda {
    padding: 1rem;
  }

  .capacity-info {
    gap: 1rem;
  }

  .capacity-item h3 {
    font-size: 1rem;
  }

  .capacity-item p {
    font-size: 0.9rem;
  }

  .info-item {
    gap: 0.5rem;
  }

  .illustration {
    max-width: 90%;
  }
}

/*------schools-------------------------*/
.page-wrapper {
  max-width: 100%;
  background: white;
  background-position: center;
  background-size: cover;
  padding: 2rem 0;
  margin-bottom: 10px;
}

.page-title-section {
  text-align: center;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.section-titl {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.3rem;
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: #3b82f6;
  margin: 0 auto;
  border-radius: 2px;
}

.schools-container {
  overflow: hidden;
  max-width: 100%;
  position: relative;
  padding: 0.5rem 0;
  background: white;
}

.schools-track {
  display: flex;
  width: fit-content;
  animation: scroll 40s linear infinite;
}

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

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.school-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-right: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.168);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  min-width: 400px;
}

.school-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
}

.school-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.school-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
  color: #3b82f6;
}

.school-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.school-location {
  color: #4b5563;
  margin-left: 2.25rem;
}

.schools-container::before,
.schools-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.schools-container::before {
  left: 0;
  background: linear-gradient(to right, #f0f7ff, transparent);
}

.schools-container::after {
  right: 0;
  background: linear-gradient(to left, #f0f7ff, transparent);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .section-titl {
    font-size: 1.5rem;
  }

  .school-card {
    min-width: 300px;
    padding: 1rem;
    margin-right: 1rem;
  }

  .school-title {
    font-size: 1rem;
  }

  .school-location {
    font-size: 0.875rem;
  }
}
/******************************************************************************************************/
.site-section {
  padding: 3rem 2rem;
  background: url("img/Body/f.png");
  background-size: cover;
  margin-bottom: 10px;
}

.site-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.feature-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 50px;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.feature-icon.blue {
  background-color: #dbeafe;
  color: #3b82f6;
}

.feature-icon.green {
  background-color: #d1fae5;
  color: #10b981;
}

.feature-icon.purple {
  background-color: #ede9fe;
  color: #8b5cf6;
}

.feature-icon.orange {
  background-color: #fef3c7;
  color: #f59e0b;
}

.feature-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.feature-card p {
  color: #4b5563;
  line-height: 1.6;
}

.image-wrapper img {
  width: 99%;

  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
}

@media (max-width: 1024px) {
  .image-wrapper img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .site-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .feature-grid-wrapper {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .image-wrapper {
    display: none; /* cache complètement l’image sur mobile */
  }

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

@media (max-width: 480px) {
  .feature-header h3 {
    font-size: 1.1rem;
  }

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

/* Stats Banner ***************************************************************************************/
.stats-banner {
  padding: 40px 0;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.stats-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0L60 30L30 60L0 30L30 0Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 60px 60px;
  animation: moveBg 20s linear infinite;
}
/******************************************************************************************************/

/*Banner 2*********************************************************************************************/
.section-banner {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  position: relative;
  padding: 40px 0;
  color: white;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  margin-bottom: 50px;
}

.section-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0L60 30L30 60L0 30L30 0Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 60px 60px;
  animation: moveBg 20s linear infinite;
}

.section-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.banner-content {
  flex: 1;
  max-width: 600px;
}

.banner-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.floating-cards {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1rem;
  animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(even) {
  animation-delay: 1.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 768px) {
  .section-banner .container {
    flex-direction: column;
    text-align: center;
  }

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

  .floating-cards {
    position: relative;
    transform: none;
    margin-top: 2rem;
  }
}

.typing::after {
  content: "";
  position: absolute;
  right: -8px;
  width: 2px;
  height: 100%;
  background-color: white;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
/*****************************e-lab***************************************************/
.carousel-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.carousel-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
  z-index: 2;
  position: relative;
}

.carousel-wrapper {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

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

.carousel-content {
  text-align: center;
  color: white;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
  max-width: 600px;
  backdrop-filter: blur(5px);
}

.carousel-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.carousel-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.carousel-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none;
  padding: 0 40px; /* Ajoute de l'espace pour éloigner les flèches des bords */
}

.carousel-arrow {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid white;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  pointer-events: all; /* Permet d'interagir avec les flèches */
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background: white;
}
.feature-iconn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem auto; /* centrage + espacement */
  border: 2px solid white;
}
/* Responsive - Tablettes et téléphones */
@media (max-width: 768px) {
  .carousel-section {
    height: auto;
  }

  .carousel-wrapper {
    height: 60vh;
  }

  .carousel-content {
    padding: 1rem;
    max-width: 90%;
    font-size: 1rem;
  }

  .carousel-content h3 {
    font-size: 1.5rem;
  }

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

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .carousel-dots {
    bottom: 1rem;
    gap: 0.4rem;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .feature-iconn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Speakers Section ***********************************************************************************/
.speakers {
  padding: 100px 0;
  background: url("img/Body/3.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 10rem; /* Ajoute un espace en haut */
}

.speakers h2 {
  position: absolute;
  top: 40px; /* Ajuste cette valeur pour qu'il soit bien positionné */
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  line-height: 1.2;
  text-align: center;
  z-index: 10;
}

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

.speaker-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.916);
  transition: transform 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

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

.speaker-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.speaker-info {
  padding: 1.5rem;
}

.speaker-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.speaker-role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.speaker-description {
  color: var(--light-text);
  font-size: 0.95rem;
  line-height: 1.6;
}
/******************************************************************************************************/

/* Responsive Design **********************************************************************************/
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

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

  .speaker-image {
    height: 250px;
  }
}
/******************************************************************************************************/

/* Buttons ********************************************************************************************/
.button-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto; /* rend le bouton flexible */
}

.cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.login-button {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.login-button:hover {
  background: var(--primary-color);
  color: white;
}
@media (max-width: 480px) {
  .cta-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    flex-direction: column; /* icône au-dessus du texte si besoin */
    gap: 0.25rem;
  }

  .button-container {
    flex-direction: column;
    align-items: stretch;
  }
}

/*Footer***********************************************************************************************/

.footer {
  background: linear-gradient(to bottom right, #111827, #1f2937);
  color: white;
  position: relative;
}

.decorative-border {
  height: 4px;
  background: linear-gradient(to right, #3b82f6, #8b5cf6, #ec4899);
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  position: relative;
}

/* Separator lines */
.footer-separator {
  display: none;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-separator {
    display: none;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-separator {
    display: block;
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(255, 255, 255, 0.1) 20%,
      rgba(255, 255, 255, 0.1) 80%,
      transparent
    );
  }

  .footer-separator:nth-of-type(1) {
    left: 25%;
  }
  .footer-separator:nth-of-type(2) {
    left: 50%;
  }
  .footer-separator:nth-of-type(3) {
    left: 75%;
  }
}

/* Logo section */
.logo1 {
  font-size: 1.875rem;
  font-weight: bold;
  background: linear-gradient(to right, #60a5fa, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  margin-right: 2rem;
}

.tagline {
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Section titles */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  display: inline-block;
  position: relative;
  color: white;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.nav-title::after {
  background: #3b82f6;
}
.contact-title::after {
  background: #8b5cf6;
}
.social-title::after,
.about-title::after {
  background: #ec4899;
}

/* Navigation links */
.nav-footer {
  list-style: none;
}

.nav-footer li {
  margin-top: 1rem;
}

.nav-footer a,
.contact-info a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s, color 0.3s;
}

.nav-footer a:hover,
.contact-info a:hover {
  transform: translateX(0.5rem);
  color: #93c5fd;
}
.nav-footer a {
  display: block; /* Assure que chaque lien prend une ligne entière */
  margin-top: 1rem; /* Ajoute de l'espacement entre les liens */
}

/* Contact section */
.contact-info {
  list-style: none;
  margin-bottom: 1.5rem;
}

.contact-info li {
  margin-bottom: 1rem;
}

.contact-info .address {
  display: flex;
  gap: 0.75rem;
  color: #d1d5db;
}

.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #374151;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  filter: grayscale(100%);
  transition: filter 0.5s;
}

.map-container iframe:hover {
  filter: grayscale(0%);
}

.about-text {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.7;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.5);
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
}

.footer-bottom p {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}
/* Styles pour la section partenaires */
.partners-section {
  width: 100%;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.partners-title {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

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

.partners-logos img {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partners-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Media query pour les petits écrans */
@media (max-width: 768px) {
  .partners-logos {
    gap: 15px;
  }

  .partners-logos img {
    max-height: 40px;
    max-width: 80px;
  }
}
