:root {
  --primary: #1e3a8a;   /* deep navy blue */
  --accent: #3b82f6;    /* bright blue */
  --light: #f5f8ff;
  --dark: #1f2933;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);

}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand h1 {
  margin: 0;
  font-size: 1.4rem;
}

.brand span {
  font-size: 0.85rem;
  opacity: 0.85;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px;
  font-weight: 500;
  padding-bottom: 4px;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom: 2px solid var(--accent);
}

/* Page Content */
.page {
  font-size: 1.05rem;
}

.page {
  padding: 50px 0;
}

.page h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.page h3 {
  margin-top: 30px;
  color: #444;
}

.page ul {
  padding-left: 18px;
}

/* Footer */
/* ----- Sticky Footer Layout ----- */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main content grows to push footer down */
.page {
  flex: 1;
  padding: 50px 0; /*---------------------------------------------------------------------------------------*/
}

/* ----- Compact Footer ----- */

.site-footer {
  background: var(--primary);   /* deep academic blue */
  color: #f1f5ff;
  font-size: 0.85rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  padding: 12px 0;   /* reduced height */
}

.site-footer h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #fff;
}

.site-footer p {
  margin: 4px 0;
  line-height: 1.5;
}

/* Bottom strip */

.footer-bottom {
  background: #162d6b;   /* darker shade of blue */
  padding: 8px;
  text-align: center;
  font-size: 0.8rem;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 18px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 260px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 999;
  border-radius: 4px;
  overflow: hidden;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background-color: #f2f2f2;
}

/* Hover for desktop */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Smooth appearance */
.dropdown-content {
  animation: fadeDown 0.2s ease-in-out;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ---------- Hamburger Button ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ---------- Mobile Navigation ---------- */
@media (max-width: 900px) {

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--primary);
    width: 100%;
    flex-direction: column;
    display: none;
    padding: 20px 0;
  }

  .main-nav a,
  .dropbtn {
    margin: 10px 20px;
    font-size: 1rem;
  }

  .main-nav.open {
    display: flex;
  }

  /* Dropdown inside mobile menu */
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #fff;
    margin: 8px 20px;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }
}

/* ---------- Hero Banner ---------- */

.hero-banner {
  position: relative;
  height: 45vh;          /* reduced */
  min-height: 280px;    /* reduced */
  background: linear-gradient(
      rgba(30, 58, 138, 0.9),
      rgba(59, 130, 246, 0.85)
    ),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

.hero-content {
  position: relative;
  text-align: center;
  animation: fadeUp 1s ease;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-tagline {
  font-size: 1.3rem;
  margin-bottom: 10px;
  opacity: 0.95;
}

.hero-dates {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--accent);
}

/* Buttons */

.hero-buttons a {
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  margin: 6px;
  font-weight: 600;
  display: inline-block;

  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

/* Primary button */

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  background: #2563eb;   /* slightly deeper blue */
}

/* Secondary button */

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}


/* Animation */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .hero-banner {
    height: 35vh;
    min-height: 220px; /* keeps it neat */
  }
}

/* ---------- Countdown Timer ---------- */

.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 25px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.countdown span {
  background: rgba(255,255,255,0.15);
  padding: 10px 14px;
  border-radius: 4px;
  min-width: 70px;
}
.brochure-link {
  color: var(--accent);
  font-weight: 600;
}

.brochure-link:hover {
  text-decoration: underline;
}
/* ---------- Section Cards ---------- */

.card-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.card {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}
/* ---------- Subtle Scroll Fade ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
/* ---------- Improved Text Spacing ---------- */

.page h2 {
  margin-top: 20px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.page h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.page p {
  margin-bottom: 16px;
  line-height: 1.8;   /* more comfortable reading */
}

.page ul,
.page ol {
  margin-bottom: 18px;
  padding-left: 20px;
}

.page li {
  margin-bottom: 8px;
  line-height: 1.7;
}
/* ---------- Footer QR & Counter ---------- */

.footer-qr {
  text-align: center;
}

.footer-qr img {
  width: 90px;
  margin-top: 6px;
}

.footer-info {
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.visitor-counter img {
  vertical-align: middle;
}



/* ---------- QR Styling Enhancements ---------- */

.footer-qr {
  text-align: center;
}

.footer-qr h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-qr img {
  width: 120px;
  padding: 2px;                 /* creates white space */
  background: #ffffff;         /* WHITE background behind QR */
  border: 1px solid #e5e7eb;    /* soft border */
  border-radius: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-qr img:hover {
  transform: scale(1.12);      /* zoom effect */
  box-shadow: 0 6px 15px rgba(0,0,0,0.35);
}



