/* === Fonts & Base === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fdf8f2;
  color: #2c0e0e;
  line-height: 1.5;
  overflow-x: hidden;
}

/* === Header / Navbar === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(44,14,14,0.85);
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 20px 5%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 50px;
  width: auto;
  cursor: pointer;
}

.site-title {
  font-weight: 700;
  font-size: 1.8rem;
  color: #f5ede0;
  letter-spacing: 1px;
}

/* Navbar links */
.nav-links {
  list-style: none;
  display: flex; /* default desktop */
  gap: 25px;
  margin-left: 50px;
}

.nav-links a {
  text-decoration: none;
  color: #f5ede0;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
}

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

.nav-ico {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1500;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #f5ede0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Sections === */
.section {
  padding: 40px 5%;
  text-align: center;
  background-color: #e7cfbc9c;
}

#committees {
  padding-top: 60px;
}

#studyguides {
  padding-bottom: 60px;
}

.section h2 {
  margin-bottom: 10px;
}

.section p {
  margin-bottom: 10px;
}

.btn-secondary {
  margin-top: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #6a1b1b;
  color: #fdf8f2;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #8b2c2c;
  transform: scale(1.05);
}


/* Committee Section */
.committee-page {
  padding: 100px 15px 80px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.committee-page h1 {
  font-size: 2.5rem;
  color: #6a1b1b;
  margin-bottom: 25px;
}

.committee-page p {
  font-size: 1.1rem;
  color: #3a1e1e;
  margin-bottom: 50px;
  text-align: justify;
}

/* PDF Section */
.pdf-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Individual PDF box */
.pdf-box {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  flex: 1 1 48%;
  max-width: 48%;
  min-width: 300px;
}

/* Heading for each box */
.pdf-box h2 {
  color: #6a1b1b;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Embedded PDF */
.pdf-box iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .pdf-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



/* Footer */
footer {
  background-color: #2c0e0e;
  color: #fdf8f2;
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

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

footer a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 12px 20px;
  }

  nav a {
    margin: 8px 0;
  }

  .committee-page {
    padding: 70px 20px;
  }

  .pdf-section {
    flex-direction: column;
    align-items: center;
  }

  .pdf-box iframe {
    height: 450px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
/* Committee Section (Refined for Aesthetic) */
.committee-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.committee-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  padding: 60px 40px;
}

.committee-title {
  color: #6a1b1b;
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.committee-agenda {
  color: #8b2c2c;
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 25px;
}

.committee-desc {
  color: #3a1e1e;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 25px;
}

.committee-note {
  font-style: italic;
  color: #6a1b1b;
  text-align: center;
  margin-top: 30px;
  font-size: 1rem;
}

/* PDF Dual Box Layout */
.pdf-duo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}

.pdf-duo .pdf-box {
  flex: 1 1 480px;
  max-width: 520px;
}

/* Animation for smooth load */
.committee-container {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn {
  display: inline-block;
  background: #6a1b1b;
  color: #fdf8f2;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 20px;
}

.btn:hover {
  background: #8b2c2c;
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #2c0e0e;
  color: #f5ede0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 50px;
  flex-wrap: wrap;
  min-height: 250px;
  position: relative;
}

footer .footer-info {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

footer .footer-info p {
  margin: 5px 0;
  font-size: 1rem;
}

footer iframe {
  border: 0;
  width: 400px;
  height: 250px;
  border-radius: 10px;
}

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

/* === Responsive === */
@media (max-width: 1024px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  footer .footer-info {
    max-width: 100%;
    margin-top: 0;
  }

  footer iframe {
    width: 100%;
    height: 200px;
  }
}
/* Animation */
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  #countdown { gap: 20px; }
  .time-box { width: 100px; padding: 20px; }
  .time-box span { font-size: 2rem; }
}
