@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "poppins", sans-serif;
  background: #f5f7fa;
  color: #222;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* LOGO */
.header-logo {
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo img {
  width: 100%;
  max-width: 175px;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: linear-gradient(90deg, #004aad, #053958);
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 5px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* NAV LINKS (desktop) */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  transition: 0.3s;
  width: fit-content;
}

.nav-links a:hover {
  color: #00aaff;
}

.active1 {
  border-bottom: 2px solid #ff8040;
}

/* HAMBURGER */
.nav-toggle {
  font-size: 28px;
  color: #004aad;
  cursor: pointer;
  display: none;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 18px;
  transition: transform 0.4s ease;
}

/* ROTATE WHEN ACTIVE */
.nav-toggle.active {
  transform: rotate(90deg);
}

/* ------------------ MOBILE VIEW ------------------ */
@media (max-width: 768px) {

  .header-logo {
    justify-content: flex-start;
    padding: 10px 15px;
  }

  .navbar {
    padding: 0px;
  }

  /* SHOW MENU BUTTON */
  .nav-toggle {
    display: block;
  }

  /* STACK + ANIMATION */
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 15px;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      max-height 0.45s cubic-bezier(.2, .9, .2, 1),
      opacity 0.35s ease,
      transform 0.35s ease;
    pointer-events: none;
  }

  /* ACTIVE MENU */
  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 14px;
    width: 80%;
    text-align: center;
  }

  /* Smaller logo */
  .header-logo img {
    max-width: 150px;
  }
}

/* Below 480px */
@media (max-width: 480px) {
  .nav-links a {
    font-size: 12px;
  }

  .header-logo img {
    max-width: 125px;
  }
}

/* Hero Section */
.hero {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin: 0px;
  padding: 0px;
}

/* Image Wrapper */
.hero-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Hero Image */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fills hero area perfectly */
  display: block;
}

main {
  width: 100%;
  max-width: 1280px;
  margin: 25px auto;
  padding: 0px 25px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
}

#events {
  width: 100%;
  max-width: 1280px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 30px;
  grid-row-gap: 50px;
  padding: 0px 30px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  border-radius: 20px 20px 0px 0px;
}

.card-content {
  padding: 7.5px 15px 20px 15px;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: flex-start;
}

.card-content h3 {
  font-size: 14px;
  font-weight: 600;
}

.card-content p {
  font-size: 14px;
  line-height: 2em;
}

.button-primary {
  margin-top: 5px;
  background: #002561;
  color: #fff;
  border: none;
  padding: 8px 20px;
  width: fit-content;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button-primary:hover {
  background: #043585;
}

#upcoming,
#previous {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#about {
  width: 100%;
  max-width: 1440px;
  margin: 50px auto;
  padding: 0px 60px;
}

.content {
  width: 70%;
  padding: 30px;
}

/* -----------------------------------------
   TITLES & HEADINGS
------------------------------------------*/

.title {
  font-size: 32px;
  font-weight: 800;
  color: #003e7e;
  margin-bottom: 10px;
  line-height: 1.4;
  text-align: center;
}


.section-title {
  font-size: 28px;
  margin-bottom: 20px;
  border-left: 5px solid #004aad;
  padding-left: 10px;
}


.sub-title {
  font-size: 24px;
  font-weight: 600;
}

/* -----------------------------------------
   PARAGRAPHS
------------------------------------------*/
.section-paragraph {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
  text-align: justify;
}

/* -----------------------------------------
   LOGO IMAGE
------------------------------------------*/
.logo-section {
  margin: 25px 0;
  text-align: center;
}

.logo-section img {
  max-width: 250px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

/* -----------------------------------------
   TRACK HEADERS
------------------------------------------*/
.content strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
  color: #003e7e;
}

/* -----------------------------------------
   UL / LI LISTS
------------------------------------------*/
.section-list {
  margin-left: 20px;
  margin-bottom: 20px;
}

.section-list li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
  position: relative;
  margin-left: 10px;
}

.guest-img {
  width: 100%;
  max-width: 200px;
  background-color: #cdcdcd;
  margin-top: 15px;
}

@media screen and (max-width: 992px) {
  #events {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 768px) {

  main {
    padding: 15px;
    flex-direction: column;
    align-items: center;
    gap: 25px;

  }

  .logo-section img {
    max-width: 200px;
  }

  .content {
    width: 100%;
    padding: 15px;
  }

  .title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .sub-title {
    font-size: 20px;
  }

  .card-content h3 {
    font-size: 14px;
  }

  .card-content p {
    font-size: 12px;
  }

  .button-primary {
    padding: 8px 20px;
    font-size: 12px;
  }

  .content strong {
    font-size: 16px;
  }

  .section-paragraph,
  .section-list li {
    font-size: 14px;
  }

  #about {
    margin: 25px auto;
    padding: 0px 30px;
  }
}

.side-bar {
  width: 25%;
  max-width: 300px;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: fit-content;
  margin-top: 30px;
}

/* For smaller screens */
@media (max-width: 768px) {
  .side-bar {
    width: 100%;
    margin-bottom: 20px;
    margin-top: 0px;
  }
}

/* ------------------------------
   QR SECTIONS
--------------------------------*/
.qr-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qr-subcontainer {
  background: #f5f8ff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #e1e8ff;
  transition: 0.3s ease;
}

.qr-subcontainer:hover {
  box-shadow: 0 4px 15px rgba(50, 80, 200, 0.12);
  transform: translateY(-2px);
}

.qr-subcontainer h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #003e7e;
}

.qr-subcontainer img {
  width: 200px;
  object-fit: cover;
}

/* ------------------------------
   SEPARATOR LINE
--------------------------------*/
.side-bar hr {
  border: none;
  height: 1px;
  background: #eaeaea;
  margin: 25px 0;
}

/* ------------------------------
   SECTION CONTAINERS
--------------------------------*/
.side-bar-container {
  margin-bottom: 10px;
}

.side-bar-container .sub-title {
  font-size: 18px;
  font-weight: 700;
  color: #003e7e;
  margin-bottom: 12px;
}

/* ------------------------------
    LIST ITEMS
--------------------------------*/
.side-bar-container ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.side-bar-container ul li {
  margin: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
}

.side-bar-container ul li i {
  color: #003e7e;
  font-size: 14px;
}

.side-bar-container ul li:hover {
  color: #003e7e;
  transform: translateX(4px);
}

/* ------------------------------
   BROCHURE BUTTON
--------------------------------*/
.brochure-btn {
  display: block;
  width: 100%;
  padding: 12px 0;
  text-align: center;
  background: #003e7e;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s ease;
}

.brochure-btn:hover {
  background: #0054b8;
  box-shadow: 0 4px 10px rgba(0, 62, 126, 0.3);
}

/* ------------------------------
   EXTRA RESPONSIVENESS
--------------------------------*/
@media (max-width: 768px) {
  .qr-subcontainer img {
    width: 150px;
  }
}

.reg-table-wrapper {
  background: #ffffff;
  margin: 25px 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #dce6f5;
}

.reg-table-title {
  background: #003e7e;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.reg-table {
  width: 100%;
  border-collapse: collapse;
}

.reg-table th,
.reg-table td {
  padding: 14px 15px;
  border: 1px solid #dce6f5;
  text-align: center;
  background: #f8fbff;
  font-size: 14px;
}

.reg-table th {
  background: #f1f6ff;
  font-weight: 700;
}

.reg-note {
  padding: 10px 20px;
  font-size: 14px;
  background: #f8fbff;
  color: #003e7e;
  font-weight: 600;
}

.reg-footnote {
  margin-top: 10px;
  color: #d60000;
  font-size: 16px;
  font-weight: 600;
}

@media screen and (max-width:768px) {

  .reg-table-title {
    padding: 9px 15px;
    font-size: 14px;
  }


  .reg-table th,
  .reg-table td {
    padding: 10px;
    font-size: 12px;
  }

  .reg-table th {
    background: #f1f6ff;
    font-weight: 700;
  }

  .reg-note {
    padding: 5px 10px;
    font-size: 12px;
  }

  .reg-footnote {
    font-size: 14px;
  }

}


footer {
  background: #0c2b4e;
  text-align: center;
  padding: 40px 20px 0px 20px;
  color: white;
  margin-top: 50px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.footer-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  justify-content: space-evenly;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-container1 {
  width: 100%;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
  padding: 20px;
  border-top: 1px solid #585858;
}

.helpline {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-subcontainer h3 {
  font-size: 20px;
  color: #ff8040;
  align-self: flex-start;
  border-bottom: 2px solid #696FC7;
  text-align: left;
  display: inline;
  padding: 0px 20px;
}

.footer-subcontainer p {
  font-size: 14px;
  text-align: left;
  color: #CBCBCB;
}