/* ✅ Royal-Blue & Amber theme - Responsive Edition */

/* Ensure headings are not hidden under sticky navbar */
section {
  scroll-margin-top: 100px;
}

:root {
  --navy: #002d72;          /* dark royal blue */
  --navy-light: #0053b8;
  --light-blue: #f0f4ff;    /* soft section bg */
  --amber: #ffb300;
  --amber-dark: #c68400;
}

/* ----- GLOBAL ----- */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: #fafbfe;
}
html {
  scroll-behavior: smooth;
}
h2.section-title {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
}

/* ----- SPLASH ----- */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: url("images/dark.png") center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
#splash-screen img {
  max-width: 140px;
  margin-bottom: 24px;
  width: 100%;
  height: auto;
}
#splash-screen h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
#splash-screen p {
  font-size: 1.1rem;
  margin-top: 10px;
}
#main-content {
  display: none;
}
body.loaded #main-content {
  display: block;
}

/* ----- NAVBAR ----- */
.navbar-mecl {
  background: linear-gradient(120deg, #002d72 50%, #2e7d32 50%);
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 100px;
  border-bottom: 3px solid #004d40; /* optional accent */
}


.navbar-brand img {
  height: 60px;
}
.navbar-brand h1 {
  font-size: 1.5rem;
}
.subtext {
  font-size: 0.95rem;
}


.navbar-mecl .nav-link {
  color: #fff;
  font-weight: 600;
}
.navbar-mecl .nav-link:hover,
.navbar-mecl .nav-link.active {
  background: var(--navy-light);
  border-radius: 5px;
  color: #fff;
}
.navbar-brand h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.navbar-brand img {
  height: 50px;
  width: auto;
  max-width: 100%;
}
.subtext {
  font-size: 0.85rem;
  color: #dce3ff;
  font-weight: 600;
}

/* ----- HERO ----- */
.hero {
  background: url("images/cave.jpg") center center / cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px;
}
.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
}
.hero-content p {
  font-size: 1.5rem;
  color: white;
}

/* Countdown container */
.countdown-box {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  border-radius: 12px;
  padding: 20px 30px;
  display: inline-block;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Flip Unit */
.flip-unit {
  font-family: 'Courier New', Courier, monospace;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
  min-width: 80px;
}

/* Flip number span */
.flip-number {
  display: inline-block;
  background: #222;
  padding: 10px 20px;
  border-radius: 6px;
  color: #ffe082;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

.flip-animate {
  animation: flip 0.6s ease-in-out;
}

@keyframes flip {
  0%   { transform: rotateX(0deg); }
  50%  { transform: rotateX(-90deg); }
  100% { transform: rotateX(0deg); }
}

.time-units small {
  font-size: 0.75rem;
  color: #ffc107;
  margin-top: 4px;
}

/* CONTACT US SECTION */
#contact {
  background-color: #e6f2ff;
  color: #002d72;
}
#contact h2.section-title {
  color: #002d72;
}
#contact .border {
  background-color: #ffffff;
  color: #222;
  padding: 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  max-width: 90%;
  margin: auto;
}

/* Floating Button */
.fixed-brochure-btn {
  position: fixed;
  top: 30%;
  right: 0; /* ✅ no gap */
  background-color: #0d6efd;
  color: white;
  padding: 12px 16px;
  border-radius: 8px 0 0 8px; /* rounded on left side only */
  font-weight: bold;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.fixed-brochure-btn:hover {
  background-color: #084298;
}


#about, #organizer {
  padding-top: 32px;
  padding-bottom: 32px;
}

#about .card,
#organizer .card {
  margin-bottom: 0;
  border-radius: 1rem;
  background-color: #ffffff;
}

#about p,
#organizer p {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Classy sponsorship table styles */
.classy-table-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 20px;
}

.classy-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.classy-table thead {
  background: var(--navy);
  color: white;
  font-weight: bold;
}

.classy-table th, .classy-table td {
  vertical-align: middle;
  padding: 16px;
  border: 1px solid #dee2e6;
}

.platinum-row {
  background: #e3f2fd;
  font-weight: bold;
}

.gold-row {
  background: #fff8e1;
  font-weight: bold;
}

.silver-row {
  background: #f0f4ff;
  font-weight: bold;
}

.classy-table tbody tr:hover {
  background-color: #f9f9f9;
  transition: background 0.3s ease;
}
/* ====== RESPONSIVE FIXES FOR NAVBAR & HERO SECTION ====== */

/* Navbar responsiveness */
@media (max-width: 768px) {
  .navbar-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .navbar-brand h1 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .subtext {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .navbar-mecl .nav-link {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .navbar-toggler {
    font-size: 1rem;
  }
}

/* Hero section responsiveness */
@media (max-width: 576px) {
  .hero {
    min-height: 65vh;
    padding: 20px 10px;
    background-position: center top;
  }

  .hero-content {
    padding: 20px 10px;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-content .btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  .countdown-box {
    padding: 10px 15px;
    font-size: 0.8rem;
    width: 100%;
  }

  .flip-unit {
    font-size: 1.2rem;
    min-width: 60px;
  }

  .flip-number {
    padding: 6px 12px;
  }

  .time-units {
    flex-wrap: wrap;
    gap: 8px;
  }
}
/* Agenda styling */
.agenda-card {
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.agenda-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.6rem 1.2rem rgba(0,0,0,0.15) !important;
}
.agenda-list {
  margin: 0;
  padding-left: 1.2rem;
}
.agenda-list li {
  margin-bottom: 6px;
  line-height: 1.5;
}
/* Agenda + headings */
/* Agenda session heading */
.session-heading {
  color: var(--navy);
  font-size: 1rem;       /* smaller than default h5 */
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.agenda-card h6 {
  letter-spacing: 0.2px; /* keeps the bold labels crisp */
}

/* Agenda styling end */

/* star faq */
/* FAQ Box */
.faq-box {
  max-height: 400px;   /* scrollable */
  overflow-y: auto;
}
.faq-box::-webkit-scrollbar {
  width: 6px;
}
.faq-box::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 10px;
}
.faq-box .accordion-button {
  font-weight: 600;
  color: var(--navy);
}
.faq-box .accordion-button:not(.collapsed) {
  background-color: var(--light-blue);
  color: var(--navy);
}

/* end faq */






/* ----- BUTTONS ----- */
.btn-mecl {
  background: var(--amber);
  color: #fff;
  font-weight: 600;
  border: none;
}
.btn-mecl:hover {
  background: var(--amber-dark);
  color: #fff;
}

/* ----- SECTIONS ----- */
section {
  padding: 52px 0;
}
.bg-light-blue {
  background: var(--light-blue);
}
.card {
  border-radius: 0.8rem;
}
.shadow-sm {
  box-shadow: 0 0.125rem 0.6rem rgba(0,0,0,0.08) !important;
}

/* custom card colors */
.card.bg1 { background: #e3f2fd; }
.card.bg2 { background: #e8f5e9; }
.card.bg3 { background: #fff8e1; }
.card.bg4 { background: #fce4ec; }
.card.exhibit-box { background: #ede7f6; }
.card.ad-box { background: #f3e5f5; }

/* ----- FOOTER ----- */
footer {
  background: #09142d;
  color: #fff;
  padding: 22px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ----- RESPONSIVE BREAKPOINTS ----- */
@media (max-width: 992px) {
  .hero-content h2 { font-size: 2.5rem; }
  .hero-content p { font-size: 1.3rem; }
}
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero-content h2 { font-size: 2rem; }
  .hero-content p { font-size: 1.1rem; }
  section { padding: 40px 0; }
}
@media (max-width: 576px) {
  .hero-content { padding: 20px; }
  .hero-content h2 { font-size: 1.6rem; }
  .hero-content p { font-size: 1rem; }
  .countdown-box { padding: 15px 20px; }
  .fixed-brochure-btn { top: 20%; right: 10px; padding: 10px 14px; font-size: 0.85rem; }
}
