/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
  padding: 10px;
}

/* ===== BANNER IMAGE ===== */
#banner {
  position: relative;
}
#banner img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#banner1 {
  text-align: center;
  margin: 20px 0;
}

#banner1 img {
  /* width: 50%; */
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* ===== NAVIGATION BAR ===== */
#navigation {
  text-align: right;
  padding: 10px 20px;
  background-color: #fff;
}

#navigation ul {
  list-style-type: none;
  transition: all 0.3s ease-in-out;
  display: flex; /* Always display as flex by default */
  flex-direction: row;
  justify-content: flex-end;
}

#navigation ul li {
  display: inline-block;
  margin-left: 20px;
}

#navigation ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;

  transition: color 0.3s ease;
}

#navigation ul li a:hover {
  color: #007BFF;
}

#navigation ul li a.active {
  color: #0056b3;
}

/* ===== TOGGLE MENU ICON (Hamburger) ===== */
.toggle-menu-icon {
  display: none; /* Hide by default on all screens */
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 8px;
  z-index: 9999;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* Make the box a flex container for better centering */
  display: none; /* Will be overridden to 'flex' in media query */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.toggle-menu-icon:hover {
  background-color: rgba(255, 255, 255, 1);
}

.toggle-menu-icon span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #333;
  margin: 3px 0; /* Reduced margin for better spacing */
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toggle-menu-icon.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.toggle-menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.toggle-menu-icon.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* ===== HERO SECTION ===== */
#hero {
  background: linear-gradient(to right, #f0f4ff, #e5eaff);
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 1220px;
}

#hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

#hero p {
  font-size: 18px;
  color: #444;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* ===== CARD SECTIONS ===== */
.card {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
  margin: 20px auto;
  padding: 50px;
  max-width: 1220px;
}

/* Headings inside card */
.card h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.card h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #007BFF;
  margin: 10px auto 20px;
}

/* Top-level ordered list inside card */
.card ol {
  padding-left: 20px;
  line-height: 1.5;
}

.card ol li {
  margin-bottom: 12px;        /* Spacing between FAQ items */
}

.card ol li:last-child {
  margin-bottom: 0;
}

/* Nested bullet list inside ordered list */
.card ol li ul {
  margin-top: 10px;
  margin-bottom: 15px;
  padding-left: 30px;         /* Indentation for nested list */
  list-style-type: disc;
}

.card ol li ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Prize list (used on Lucky Draw page) */
.prize-list {
  list-style-type: none;
  padding: 0;
  font-size: 18px;
  color: #444;
}

.prize-list li {
  padding: 8px 0;
}

/* ===== HIGHLIGHTED CARD ===== */
.highlighted-card {
  background-color: #e9f2ff;
  border-left: 5px solid #007BFF;
}


/* ===== THEMED FINAL CARDS ===== */
.themed-card {
  background-color: #fff9ed;
  border-left: 5px solid #ff9800;
}

.themed-card h2 {
  color: #d17c00;
}

/* ===== ANIMATION FOR CARDS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== ENHANCED FOOTER STYLES ===== */
#footer {
  background-color: #222;
  color: #ccc;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
  gap: 30px;
  column-gap: 40px;
    row-gap: 30px;     /* space between rows if they wrap */
 /* slightly more breathing room */

}

.footer-column {
  flex: 1 1 100px;
  min-width: 300px;
}

.footer-column h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-column p {
  margin-bottom: 10px;
  line-height: 1.5;
}

#footer a {
  color: #66b3ff;
  text-decoration: none;
}

#footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Mobile-friendly stack */
@media (max-width: 768px) {

#footer {
     padding: 20px 20px 10px 20px; /* reduce bottom padding */
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 0; /* disable flex gap if you're using 'gap' */

  }


.footer-column {
  margin-bottom: 0; /* reset all */
}


  .footer-column:not(:last-child) {
    margin-bottom: 15px;
 
  }
  .footer-column p {
  margin-bottom: 8px; /* reduce spacing between lines */
}
.footer-column p:last-child {
  margin-bottom: 0; /* ensure no trailing margin in last column */
}
}

@media (max-width: 768px) {
  .toggle-menu-icon {
    display: flex; /* Show hamburger only on mobile, using flex for alignment */
  }

  #navigation ul {
    display: none; /* Hide by default on mobile */
    flex-direction: column;
    align-items: flex-start;
    background-color: #fff;
    padding: 15px;
    position: absolute;
    top: 60px;
    right: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    width: 130px;
    z-index: 999;
    transition: all 0.3s ease;
  }

  #navigation ul.show {
    display: flex; /* Show when toggled */
  }

  #navigation ul li {
    display: block;
    margin: 4px 0;
  }

  /* Other mobile styles */
  #hero h1 {
    font-size: 24px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .card {
    padding: 15px;
  }
}

/* ===== INTRO TEXT ===== */
.intro-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.contact-table th,
.contact-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.contact-table th {
  background-color: #1e2072;
  color: white;
}

.contact-table tr:nth-child(even) {
  background-color: #f9f9f9;
}
