/* Timeline Styles */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #5d57f4;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 4px solid #5d57f4;
  top: 25px;
  border-radius: 50%;
  z-index: 1;
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-date {
  font-weight: bold;
  color: #5d57f4;
  margin-bottom: 10px;
}

.timeline-content {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  margin: 0 0 10px 0;
  color: #333;
}

.timeline-content p {
  margin: 0;
  color: #666;
}

@media screen and (max-width: 768px) {
  .timeline-container::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 21px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 21px;
  }
}

/* Keynotes Styles */
.keynote-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  margin: 0 auto;
  max-width: 350px;
}

.keynote-card:hover {
  transform: translateY(-10px);
}

.keynote-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.keynote-image img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  transition: transform 0.3s ease;
}

.keynote-card:hover .keynote-image img {
  transform: scale(1.1);
}

.keynote-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 162, 189, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.keynote-card:hover .keynote-overlay {
  opacity: 1;
}

.keynote-social {
  display: flex;
  gap: 15px;
}

.keynote-social a {
  color: #fff;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.keynote-social a:hover {
  transform: scale(1.2);
}

.keynote-content {
  padding: 25px;
}

.keynote-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.keynote-content .position {
  display: block;
  color: #5d57f4;
  font-weight: 600;
  margin-bottom: 15px;
}

.keynote-content .biography {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.biography-preview {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

.btn-read-more {
  background: none;
  border: none;
  color: #5d57f4;
  font-weight: 600;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  margin: 0 auto;
}

.btn-read-more:hover {
  color: #0a7a8c;
}

.btn-read-more i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-read-more:hover i {
  transform: translateX(5px);
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  border: none;
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding: 20px 25px;
}

.modal-title {
  color: #333;
  font-weight: 600;
}

.modal-body {
  padding: 25px;
}

.biography-full {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.modal-body img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .keynote-image {
    height: 250px;
  }

  .keynote-card {
    max-width: 100%;
  }
}

/* Speaker Modal Styles */
.speaker-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.speaker-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 15px;
  max-width: 800px;
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

.speaker-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.speaker-modal-header h5 {
  margin: 0;
  color: #333;
  font-weight: 600;
}

.speaker-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.speaker-modal-body {
  padding: 20px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .speaker-modal-content {
    margin: 10% auto;
    width: 90%;
  }
}

/* Team Section Styles */
.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  padding: 20px;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-image-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 5px solid #5d57f4;
  box-shadow: 0 0 20px rgba(93, 87, 244, 0.2);
}

.team-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-image-circle img {
  transform: scale(1.1);
}

.team-content {
  padding: 15px 0;
}

.team-content h4 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.2rem;
}

.team-content .position {
  color: #5d57f4;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

.medal {
  width: 60px;
  height: 60px;
  background: #5d57f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #fff;
  font-size: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-image-circle {
    width: 150px;
    height: 150px;
  }

  .team-card {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Contact Section Styles */
.contact {
  padding: 60px 0;
  background: #f8f9fa;
}

.contact .info-item {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact .info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.contact .info-item i {
  font-size: 24px;
  color: #5d57f4;
  margin-right: 20px;
  line-height: 1;
}

.contact .info-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #2c2c2c;
}

.contact .info-item p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

.contact .php-email-form {
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact .php-email-form .input-group-text {
  background-color: white;
  color: #5d57f4;
  border: 1px solid #ced4da;
  border-right: none;
}

.contact .php-email-form .input-group-text i {
  font-size: 1.1rem;
}

.contact .php-email-form .form-control {
  height: 48px;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  border-left: none;
  border-radius: 0 5px 5px 0;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact .php-email-form textarea.form-control {
  height: auto;
  padding: 15px;
  border-radius: 0 5px 5px 0;
}

.contact .php-email-form .form-control:focus {
  border-color: #5d57f4;
  box-shadow: 0 0 0 0.2rem rgba(93, 87, 244, 0.25);
}

.contact .php-email-form .input-group:focus-within .input-group-text {
  border-color: #5d57f4;
  color: #5d57f4;
}

.contact .php-email-form .btn-primary {
  background: #5d57f4;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.contact .php-email-form .btn-primary i {
  margin-right: 8px;
  color: white;
}

.contact .php-email-form .btn-primary:hover {
  background: #4a45d1;
  transform: translateY(-2px);
}

.contact .php-email-form .btn-primary:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .contact .info-item {
    padding: 15px;
  }

  .contact .php-email-form {
    padding: 20px;
  }

  .contact .php-email-form .form-control {
    height: 42px;
    font-size: 14px;
  }

  .contact .php-email-form .btn-primary {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/* Ajout des styles pour les icônes du formulaire */
.input-group-text {
  background-color: #5d57f4;
  color: white;
  border: none;
}

.input-group-text i {
  font-size: 1.1rem;
}

.input-group .form-control {
  border-left: none;
}

.input-group .form-control:focus {
  border-color: #ced4da;
  box-shadow: none;
}

.input-group:focus-within {
  box-shadow: 0 0 0 0.2rem rgba(93, 87, 244, 0.25);
}

.input-group:focus-within .input-group-text {
  background-color: #4a45d1;
}

.btn-primary i {
  margin-right: 8px;
}

/* Frais de Participation Styles */
.fees {
  padding: 60px 0;
  background: #f8f9fa;
}

.fee-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.fee-card:hover {
  transform: translateY(-10px);
}

.fee-card.featured {
  border: 2px solid #5d57f4;
  position: relative;
}

.fee-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.fee-header h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price .amount {
  font-size: 2rem;
  font-weight: 700;
  color: #5d57f4;
}

.price .currency {
  font-size: 1rem;
  color: #6c757d;
}

.fee-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fee-body ul li {
  padding: 10px 0;
  color: #666;
  display: flex;
  align-items: center;
}

.fee-body ul li i {
  color: #5d57f4;
  margin-right: 10px;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .fee-card {
    max-width: 350px;
    margin: 0 auto;
  }
}

/* Footer Styles */
.footer {
  background: #1a1a1a;
  padding: 60px 0 30px;
  color: #fff;
  font-size: 14px;
}

.footer .footer-info {
  margin-bottom: 30px;
}

.footer .footer-info .logo {
  margin-bottom: 15px;
}

.footer .footer-info .logo span {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-left: 10px;
}

.footer .footer-info p {
  color: #b3b3b3;
  font-size: 15px;
  margin-top: 20px;
  line-height: 1.6;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #5d57f4;
  bottom: 0;
  left: 0;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul li i {
  font-size: 12px;
  margin-right: 5px;
  color: #5d57f4;
}

.footer .footer-links ul li a {
  color: #b3b3b3;
  transition: 0.3s;
  display: inline-block;
  text-decoration: none;
}

.footer .footer-links ul li a:hover {
  color: #5d57f4;
  padding-left: 5px;
}

.footer .footer-contact {
  margin-bottom: 30px;
}

.footer .footer-contact h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-contact h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #5d57f4;
  bottom: 0;
  left: 0;
}

.footer .footer-contact p {
  color: #b3b3b3;
  line-height: 1.8;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #2b2b2b;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 10px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: #5d57f4;
  color: #fff;
}

.footer .copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #2b2b2b;
  color: #b3b3b3;
}

.footer .copyright strong {
  color: #fff;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  filter: brightness(1) invert(0);
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer .footer-info,
  .footer .footer-links,
  .footer .footer-contact {
    margin-bottom: 20px;
  }

  .footer .footer-contact {
    text-align: center;
  }

  .footer .footer-contact h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-logos {
    justify-content: center;
  }
}

/* Coordinators Section Styles (Added) */
.coordinator-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Minimalist */
  transition: transform 0.3s ease;
}

.coordinator-card:hover {
  transform: translateY(-5px);
}

.coordinator-img-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  /* Circular */
  padding: 3px;
  border: 2px solid #5d57f4;
  /* Thin blue border */
  background: white;
}

.coordinator-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.section-title-small {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.coordinators-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #eef2ff 100%);
  border: 1px solid rgba(93, 87, 244, 0.15);
}

.coordinators-container::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(93, 87, 244, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.coordinators-container>* {
  position: relative;
  z-index: 1;
}

/* --- Institutional Theme Overrides --- */
:root {
  --primary-color: #0B1C3D;
  /* Deep Navy Blue */
  --secondary-color: #E65C2F;
  /* Vibrant Orange */
  --accent-color: #1E90FF;
  /* Medical Light Blue */
  --bg-soft: #F4F6F9;
  /* Soft Light Gray */
  --text-dark: #1A202C;
}

body {
  background-color: var(--bg-soft);
  color: var(--text-dark);
}

.header {
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.1;
  margin: 0;
}

.logo-text span {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 400;
  letter-spacing: 2px;
}

/* Navigation */
.navmenu a {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 15px;
  transition: 0.3s;
}

.navmenu a:hover,
.navmenu .active {
  color: var(--secondary-color);
}

/* Dropdown */
.navmenu .dropdown ul {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 10px 0;
  border-top: 3px solid var(--primary-color);
}

.navmenu .dropdown ul a {
  color: var(--text-dark);
  font-size: 14px;
  padding: 10px 20px;
}

.navmenu .dropdown ul a:hover {
  color: var(--primary-color);
  background: #f1f5f9;
}

/* CTA Button */
.btn-getstarted {
  background: var(--primary-color);
  color: white;
  border-radius: 5px;
  padding: 10px 25px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.btn-getstarted:hover {
  background: var(--secondary-color);
  color: white;
}

/* Hero Section Refinement */
.hero {
  padding: 140px 0 80px;
  position: relative;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-title h2 {
  color: var(--primary-color);
  font-weight: 700;
}