/* Reset and basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #43125F;      /* deep purple - elegant base */
  --secondary-color: #FF6B3D;    /* vibrant orange for buttons & accents */
  --accent-color: #C9367D;       /* magenta for titles, hover, and links */
  --light-bg: #FBF7FB;           /* soft lavender white for sections */
  --text-dark: #2C0E38;          /* dark plum text for readability */
  --text-light: #FFEFF7;         /* pale pink-white overlay text */
  --white: #FFFFFF;
  --warm-yellow: #FF9E3D;        /* soft orange-yellow hover tone */
}



body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navbar (desktop default) --- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(90deg, #43125F 0%, #C9367D 100%);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 600;
}

/* Desktop links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--secondary-color);
}

/* Underline hover animation */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 2000;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Mobile view --- */
@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #43125F 0%, #C9367D 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 16px 16px;
    padding: 1rem 0;
    display: none;
    z-index: 1500;
  }

  .nav-menu.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-link {
    color: var(--white);
    width: 100%;
    padding: 0.8rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
  }

  .hamburger {
    display: flex;
  }
}


/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
 background:
  linear-gradient(
    180deg,
    rgba(50, 10, 90, 0.9) 0%,     /* deep violet top */
    rgba(95, 30, 135, 0.8) 50%,   /* pure purple mid */
    rgba(130, 60, 170, 0.7) 100%  /* light lavender bottom */
  ),
  url('../assets/pinkbackground.png') center/cover no-repeat;

}


/* Overlay for cinematic effect */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 10, 40, 0.25); /* neutral dark filter */
  mix-blend-mode: soft-light; /* smoother color merging */
  backdrop-filter: blur(1.5px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-light);
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 54, 125, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 8px;
  min-width: 80px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.count-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--white);
}

.count-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    background-size: cover;
    background-position: center top;
    min-height: 90vh;
  }

  .hero-title {
    font-size: 2.2rem;
    padding: 0 1rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
}


/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 3rem 0 2rem;
  color: var(--accent-color);
}

/* About Section */
.about {
  padding: 80px 0 40px 0;  /* reduced bottom padding from 80px to 40px */
}
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}
.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}
.stat-item {
  background: var(--white);
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.stat-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
}

/* About Video */
.about-video iframe {
  width: 100%;
  height: 315px;
  border-radius: 8px;
}

/* Program Section */
.program {
  padding: 80px 0;
  background: var(--white);
}
.program-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.tab-btn {
  padding: 10px 30px;
  background: var(--light-bg);
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.tab-btn:hover,
.tab-btn.active {
  background: var(--secondary-color);
  color: var(--primary-color);
}
.program-content {
  width: 100%;
}
.day-schedule {
  display: none;
}
.day-schedule.active {
  display: block;
}
.schedule-item {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background: var(--light-bg);
  margin-bottom: 1rem;
  border-radius: 8px;
  border-left: 6px solid var(--secondary-color);
}
.time {
  font-weight: bold;
  color: var(--accent-color);
  min-width: 120px;
}
.speaker {
  font-style: italic;
  color: var(--text-light);
}

/* Speakers Section */
.speakers {
  padding: 80px 0;
  background: var(--light-bg);
}
.speakers-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.speaker-card {
  background: var(--light-bg);
  border: 2px solid var(--accent-color);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.speaker-card:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(250,204,21,0.15);
}
.speaker-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}
.speaker-title {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.speaker-bio {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.speaker-social a {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin: 0 5px;
  transition: color 0.3s;
}
.speaker-social a:hover {
  color: var(--secondary-color);
}

/* Sponsors Section */
.sponsors {
  padding: 80px 0;
}
.sponsors-tiers {
  display: grid;
  gap: 2rem;
}
.sponsors-tiers h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}
.sponsors-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
}
.sponsor-logo {
  border: 2px solid transparent;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.sponsor-logo img {
  max-width: 100%;
  max-height: 180px;   /* bigger, but not huge */
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.sponsor-logo:hover img {
  filter: grayscale(0);
}

.sponsor-logo:hover {
  border-color: var(--accent-color);
}
.sponsor-logo:hover img {
  filter: grayscale(0);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--white);
}
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-info {
  flex: 1;
  font-size: 1.1rem;
}
.contact-info p {
  margin-bottom: 1rem;
}
.contact-info i {
  margin-right: 8px;
}
.social-links a {
  font-size: 1.5rem;
  margin-right: 10px;
  color: var(--accent-color);
  transition: color 0.3s;
}
.social-links a:hover {
  color: var(--secondary-color);
}
.contact-map {
  flex: 1;
  min-width: 300px;
}
.contact-map iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 8px;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--light-bg);
  padding: 50px 0 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-section h3 {
  margin-bottom: 1rem;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section a {
  color: var(--secondary-color);
  text-decoration: none;
  opacity: 1;
  transition: color 0.3s;
}
.footer-section a:hover {
  color: var(--warm-yellow);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.8;
}

/* Comité Section */
.committee {
  background: #1E3A8A; /* a bit darker blue */
  padding: 60px 0;
}

.committee-member {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 1.5rem 1rem;
  text-align: center;
  width: 220px;
}

.committee-member img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--white);
}

.committee-member h3 {
  color: var(--white); /* white for names */
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.committee-title {
  color: var(--white); /* white for titles */
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.committee .section-title {
  color: var(--white); /* white for Comité section title */
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 1); /* white with 100% opacity */
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    color: var(--secondary-color); /* yellow text */
  }
  .hamburger {
    display: flex;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    box-shadow: 0 4px 24px rgba(30,58,138,0.12);
    border-radius: 0 0 12px 12px;
    padding: 1rem 0;
    display: none;
    z-index: 999;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    width: 100%;
    color: var(--primary-color); /* dark blue text for better readability */
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    font-size: 1.1rem;
    text-align: left;
    background: transparent;
  }
  .nav-link:hover,
  .nav-link:focus,
  .nav-link.active {
    background: var(--secondary-color); /* yellow background */
    color: var(--primary-color);        /* dark blue text on hover */
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .hamburger {
    display: flex;
    z-index: 1000;
  }
}

/* Make sure nav-menu is always above hero */
.navbar {
  z-index: 1000;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-transition {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.section-transition.visible {
  opacity: 1;
  transform: translateY(0);
}
.president-message {
  background: #FFFFFF;
  padding: 80px 0;
}

@media (max-width: 768px) {
  .president-message {
    padding: 60px 0;
    background: #FFFFFF !important;
  }
  
  .president-message .section-title {
    color: var(--accent-color) !important;
  }
}
/* Program schedule consistency on all devices */
.schedule-item .event {
  min-height: 100px;         /* force equal height even with fewer lines */
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertically center text */
}

.schedule-item .event h4 {
  margin-bottom: 0.4rem;     /* consistent spacing under title */
  font-size: 1.1rem;
}

.schedule-item .event p {
  margin-bottom: 0.3rem;
  font-size: 1rem;
  color: var(--text-dark);
}

/* Even if no speaker, keep space */
.schedule-item .event .speaker {
  min-height: 1.2rem;        /* reserve line height */
  display: block;
}
.video-section {
  padding: 40px 0 80px 0;  /* reduced top padding from 80px to 40px */
}

.video-section video {
  width: 100%;
  height: auto;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(30,58,138,0.12);
}
/* Sleeker, more professional navbar for desktop */
@media (min-width: 901px) {
  .nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;              /* tighter spacing */
    flex: 1;
  }

  .nav-link {
    padding: 0.35rem 0.8rem;  /* smaller height + width */
    font-size: 0.95rem;       /* slightly smaller text */
    font-weight: 500;
    letter-spacing: 0.3px;    /* elegant spacing */
  }

  /* Clean underline hover effect */
  .nav-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  /* Keep logo smaller so it balances */
  .logo {
    height: 40px;   /* was 40px */
    margin-right: 8px;
  }

  .brand-text {
    font-size: 1rem;
    font-weight: 600;
  }
}
.program-tabs {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 8px;
  padding: 5px 12px; /* <-- ADD THIS */
  scroll-behavior: smooth;
}

.program-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 0 0 auto;
}
