* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* =========================
   TOP BANNER
========================= */
.top-banner {
  position: relative;           /* REQUIRED for absolute children */
  width: 100%;
  height: 260px;
  overflow: hidden;
}

/* Background Image */
.top-banner img.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay */
.top-banner .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      rgba(40, 0, 70, 0.35),
      rgba(40, 0, 70, 0.35)
    ),
    linear-gradient(
      135deg,
      rgba(147, 51, 234, 0.5),
      rgba(236, 72, 153, 0.45)
    );
}

/* Text Container */
.top-banner .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  max-width: 1000px;
  text-align: center;
  color: white;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.6);
}

/* Heading */
.top-banner .hero-text h3 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Subtitle */
.top-banner .hero-text p {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

/* Location Badge */
.top-banner .additional-info p {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

/* =========================
   RESPONSIVE FIXES
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .top-banner {
    height: 220px;
  }

  .top-banner .hero-text h3 {
    font-size: 1.6rem;
  }

  .top-banner .hero-text p {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .top-banner {
    height: 200px;
  }

  .top-banner .hero-text h3 {
    font-size: 1.25rem;
  }

  .top-banner .hero-text p {
    font-size: 0.85rem;
  }

  .top-banner .additional-info p {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* Small Phones */
@media (max-width: 420px) {
  .top-banner {
    height: 240px;   /* increased for safe text wrapping */
  }

  .top-banner .hero-text {
    top: 55%;        /* push text slightly downward */
    padding: 0 12px;
  }

  .top-banner .hero-text h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .top-banner .hero-text p {
    font-size: 0.9rem;
  }

  .top-banner .additional-info p {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}





/* =========================
   NAVBAR BASE
========================= */
.navbar {
  position: relative;   /* NOT fixed initially */
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #ccc;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

/* Sticky state (activated on scroll) */
.navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* =========================
   GRID CONTAINER
========================= */
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 20px;
}

/* =========================
   LOGOS
========================= */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
}

/* Left stays left */
.left-logo {
  justify-self: start;
}

/* Right stays right */
.right-group {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

/* =========================
   NAV LINKS (CENTER)
========================= */
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
}

.nav-links li {
  white-space: nowrap;
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 8px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #555;
}

/* =========================
   DROPDOWN
========================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  list-style: none;
  padding: 6px 0;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Cross animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   TABLET & MOBILE
========================= */
@media (max-width: 1024px) {

  .hamburger {
    display: flex;
  }

  /* Off-canvas menu */
  .nav-links {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 64px);
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
    box-shadow: -6px 0 18px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 1100;
  }

  .nav-links.active {
    right: 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 12px;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}

/* =========================
   SMALL MOBILE (SAFE)
========================= */
@media (max-width: 480px) {

  .logo img {
    height: 32px;
  }

  .right-logo img {
    height: 28px;
  }
}


/* =========================
   POSTER SECTION
========================= */
.poster-section {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    135deg,
    #f5f3ff,
    #fafafa
  );
  overflow: hidden; /* critical for small screens */
}

/* Poster Image */
.poster-section img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.18),
    0 8px 18px rgba(147, 51, 234, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Subtle hover lift (desktop only) */
@media (hover: hover) {
  .poster-section img:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
      0 28px 60px rgba(0, 0, 0, 0.22),
      0 12px 25px rgba(147, 51, 234, 0.25);
  }
}

/* =========================
   RESPONSIVE ADJUSTMENTS
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .poster-section {
    padding: 32px 16px;
  }

  .poster-section img {
    border-radius: 14px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .poster-section {
    padding: 24px 14px;
  }

  .poster-section img {
    border-radius: 12px;
  }
}

/* Small Phones (iPhone SE safe) */
@media (max-width: 480px) {
  .poster-section {
    padding: 20px 10px;
  }

  .poster-section img {
    border-radius: 10px;
    box-shadow:
      0 14px 30px rgba(0, 0, 0, 0.18);
  }
}




.about-section {
  padding: 60px 80px;
  background: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;   /* ← THIS fixes centering */
}

/* Heading */
.about-section h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  color: #333;
}

/* Underline like Conference Tracks */
.about-section h2::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background-color: #9333ea;
  bottom: -10px;
  left: 20%;
}

/* Paragraphs back to normal reading alignment */
.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #333;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .about-section {
    padding: 40px 20px;
  }

  .about-section h2 {
    font-size: 2rem;
  }

  .about-section p {
    font-size: 1rem;
  }
}



/* =========================
   ANNOUNCEMENT SECTION
========================= */
.announcement-section {
  padding: 70px 20px;
  background: #ffffff;
}

/* Title */
.announcement-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
}

.announcement-title i {
  margin-right: 10px;
  color: #9333ea;
}

/* Table wrapper */
.announcement-table-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Table */
.announcement-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

/* Header */
.announcement-table thead {
  background: #000;
}

.announcement-table th {
  padding: 18px 20px;
  color: #ffffff;
  font-size: 1.1rem;
  text-align: left;
}

/* Rows */
.announcement-table td {
  padding: 18px 20px;
  font-size: 1.05rem;
  color: #333;
  border-bottom: 1px solid #e6e6e6;
}

/* Hover effect */
.announcement-table tbody tr:hover {
  background: #f7f3ff;
}

/* Last row border fix */
.announcement-table tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
  .announcement-title {
    font-size: 2rem;
  }

  .announcement-table th,
  .announcement-table td {
    padding: 14px 12px;
    font-size: 0.95rem;
  }
}



.track-card {
  transform-style: preserve-3d;
}

.track-card:hover {
  transform: rotateY(6deg) rotateX(6deg) scale(1.05);
}

.tracks-section {
  padding: 60px 80px;
  background: #f7f7fc;
  text-align: center;
}

.tracks-section h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  color: #333;
}

.tracks-section h2::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background-color: #9333ea;
  bottom: -8px;
  left: 20%;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.track-card {
  background: white;
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border-left: 5px solid #9333ea;
  text-align: left;
  width: 100%;
  max-width: 320px;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease forwards;
}

/* On hover */
.track-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.25);
  border-left: 5px solid #7e22ce; /* darker violet */
  background: linear-gradient(135deg, #ffffff, #f3e8ff);
}


.track-number {
  font-weight: bold;
  font-size: 1.1rem;
  color: #9333ea;
  display: block;
  margin-bottom: 10px;
}

.track-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.track-card {
  animation: fadeSlideUp 0.6s ease forwards;
  opacity: 0; /* Start hidden */
}

/* Stagger animation delay */
.track-card:nth-child(1) { animation-delay: 0.1s; }
.track-card:nth-child(2) { animation-delay: 0.2s; }
.track-card:nth-child(3) { animation-delay: 0.3s; }
.track-card:nth-child(4) { animation-delay: 0.4s; }
.track-card:nth-child(5) { animation-delay: 0.5s; }
.track-card:nth-child(6) { animation-delay: 0.6s; }
.track-card:nth-child(7) { animation-delay: 0.7s; }
.track-card:nth-child(8) { animation-delay: 0.8s; }
.track-card:nth-child(9) { animation-delay: 0.9s; }
.track-card:nth-child(10) { animation-delay: 1s; }
.track-card:nth-child(11) { animation-delay: 1.1s; }
.track-card:nth-child(12) { animation-delay: 1.2s; }

@media (max-width: 600px) {
  .tracks-section {
    padding: 40px 20px;
  }

  .tracks-section h2 {
    font-size: 1.64rem;
    font-weight: bolder;
  }

  .track-card {
    max-width: 100%;
    padding: 16px 18px;
  }

  .track-card p {
    font-size: 0.95rem;
  }

  .track-number {
    font-size: 1rem;
  }

  .tracks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ------------------ */
/* 💻 Tablet Responsive */
/* ------------------ */
@media (min-width: 601px) and (max-width: 1024px) {
  .tracks-section {
    padding: 50px 40px;
  }

  .tracks-section h2 {
    font-size: 2.3rem;
  }

  .track-card {
    max-width: 100%;
    padding: 18px 22px;
  }

  .track-card p {
    font-size: 1rem;
  }

  .tracks-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}


.site-footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 20px 15px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem; /* base size for desktop */
  border-top: 2px solid #9333ea;
}

.site-footer a {
  color: #9333ea;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Tablet */
@media (max-width: 991px) {
  .site-footer {
    font-size: 0.95rem;
  }
}

/* Phone */
@media (max-width: 600px) {
  .site-footer {
    font-size: 0.88rem;
  }
}
