/* =====================================================
   GLOBAL RESET & BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #ffffff;
}*/
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #222;
  background: #ffffff;
}

/* =====================================================
   HEADER (OVER HERO SLIDER)
===================================================== */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* =====================================================
   NAVBAR – CLEAR & PROMINENT
===================================================== */
.navbar {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.55)
  );
  padding: 14px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
}

.navbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.navbar ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.4px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.navbar ul li a:hover {
  background: rgba(255, 215, 0, 0.18);
  color: #ffd700;
}

/* =====================================================
   HERO SLIDER
===================================================== */
.hero-slider {
  position: relative;
  height: 60vh;
  max-height: 520px;
  overflow: hidden;
}

.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   HERO TEXT – STYLISH & PROMINENT
===================================================== */
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 26px 40px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.35),
    rgba(0,0,0,0)
  );
}

.slide-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.0rem;   /* increased */
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-shadow: 0 6px 18px rgba(0,0,0,0.95);
}

.slide-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.slide-content p {
  font-size: 1.05rem;
  font-weight: 600;
}

/* =====================================================
   IMPORTANT ALERT
===================================================== */
.important-alert {
  display: none;
  width: 100%;
  background: #8b0000;
  color: #ffffff;
  padding: 12px 15px;
  font-weight: 700;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.important-alert.active {
  display: flex;
  animation: alertBlink 1.8s infinite;
}

.alert-label {
  background: #ffcc00;
  color: #000;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
}

@keyframes alertBlink {
  0% { background: #8b0000; }
  50% { background: #b22222; }
  100% { background: #8b0000; }
}

/* =====================================================
   ANNOUNCEMENT BAR
===================================================== */
.announcement-bar {
  width: 100%;
  background: #fffbdd;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-track {
  display: inline-block;
  padding: 12px 0;
  animation: scrollText 25s linear infinite;
}

.announcement-track span {
  font-size: 1rem;
  font-weight: 700;
  color: #003366;
  padding-left: 100%;
}

@keyframes scrollText {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.announcement-bar:hover .announcement-track {
  animation-play-state: paused;
}

/* =====================================================
   ORGANIZER LOGOS
===================================================== */
.organizers-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin: 55px 0 45px;
  flex-wrap: nowrap;
}

/*.organizer {
  padding: 20px 26px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  text-align: center;
}*/
.organizer {
  padding: 30px 30px;      /* Increased padding */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-align: center;
  width: 260px;
}

/*.organizer img {
  max-width: 220px;
  height: 120px;
  object-fit: contain;
}*/
.organizer img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}
.organizer p {
  margin-top: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #000;
}

/* =====================================================
   CONTENT
===================================================== */
.content {
  max-width: 1100px;
  margin: auto;
  padding: 50px 20px;
}

.content h2 {
  color: #003366;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* =====================================================
   TABLE STYLING
===================================================== */
/*.table-container {
  overflow-x: auto;
  margin: 25px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th, td {
  padding: 12px 15px;
  text-align: center;
}

thead th {
  background: #003366;
  color: #fff;
}

tbody tr:nth-child(even) {
  background: #f4f8ff;
}*/
/* =====================================================
   TABLE STYLING
===================================================== */

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

th, td {
  padding: 12px 15px;
  text-align: center;
}

thead th {
  background: #003366;
  color: #ffffff;
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background: #f4f8ff;
}

/* =====================================================
   SPONSORS
===================================================== */
.sponsors-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 35px 0;
  flex-wrap: wrap;
}

.sponsor img {
  max-width: 200px;
  object-fit: contain;
}

/* =====================================================
   NEARBY ATTRACTIONS
===================================================== */
.attractions-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.attraction-marquee {
  overflow: hidden;
}

.attraction-track {
  display: flex;
  gap: 20px;
  animation: attractionScroll 30s linear infinite;
}

@keyframes attractionScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.attraction-card {
  min-width: 260px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.attraction-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* =====================================================
   CONTACT PAGE
===================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border-radius: 10px;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #003366;
  color: #ffffff;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .hero-slider { height: 45vh; }
  .slide-content h1 { font-size: 2rem; }

  .organizers-container {
    flex-wrap: wrap;
    gap: 30px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}
/* ===== PDF PRINT PREVIEW STYLE ===== */

.pdf-preview-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pdf-preview-container iframe {
  width: 80%;
  height: 900px;           /* A4-like preview height */
  border: 1px solid #ccc;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  background: #fff;
}

/* Download Button */
.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #002147;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.download-btn:hover {
  background-color: #004080;
}
/* ==========================
   CLEAN CLICK DROPDOWN
========================== */

.navbar ul li {
  position: relative;
}

/* Hide dropdown by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 260px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border-radius: 6px;
  z-index: 999;
}

/* Dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #003366;
  font-weight: 600;
}

.dropdown-menu li a:hover {
  background: #f0f4ff;
}

/* Show only when JS adds .open */
.dropdown.open .dropdown-menu {
  display: block;
}
/* Fix dropdown flashing / white block issue */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;              /* Fixed width */
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 9999;
}

/* Show only when open */
.dropdown.open .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Fix dropdown link visibility */
.dropdown-menu li a {
  color: #003366 !important;   /* Dark blue text */
  font-weight: 600;
}

/* Hover effect */
.dropdown-menu li a:hover {
  background: #f0f4ff;
  color: #ffd700;   /* Yellow on hover */
}
/* =========================
   CONTENT IMPROVEMENT
========================= */

.content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #000;              /* Black heading */
  margin-bottom: 18px;
  border-left: 6px solid #003366;
  padding-left: 12px;
}

.content p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #000;              /* Strong black */
  text-align: justify;
}

.content ul {
  font-size: 1.05rem;
  color: #000;
  line-height: 1.8;
}
/* Welcome + Important Dates Side by Side */
.welcome-dates-container {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  align-items: flex-start;
}

.welcome-box,
.dates-box {
  flex: 1;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.dates-box ul {
  padding-left: 20px;
}

.dates-box li {
  margin-bottom: 10px;
}

/* Responsive (Mobile View) */
@media (max-width: 900px) {
  .welcome-dates-container {
    flex-direction: column;
  }
}
/* ===== VENUE MAP ===== */

.venue-map{
  text-align:center;
  margin:30px 0 40px 0;
}

.venue-map img{
  width:100%;
  max-width:900px;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(0,0,0,0.2);
}

.map-caption{
  font-size:14px;
  color:#555;
  margin-top:10px;
  font-style:italic;
}
/* ===== VENUE SECTION ===== */

.venue-container{
  display:flex;
  align-items:center;
  gap:40px;
  margin:30px 0;
  flex-wrap:wrap;
}

.venue-image{
  flex:1;
  min-width:300px;
}

.venue-image img{
  width:100%;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(0,0,0,0.2);
}

.venue-text{
  flex:1;
  min-width:300px;
  text-align:justify;
}
.reg-table{
width:100%;
border-collapse:collapse;
margin-top:20px;
font-size:15px;
}

.reg-table th,
.reg-table td{
border:1px solid #444;
padding:10px;
text-align:center;
}

.reg-table thead th{
background:#87CEFA;   /* light blue header */
color:#000;
border:1px solid #444;   /* visible border */
font-weight:600;
}

.reg-table th:first-child{
text-align:left;
}