/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Dark Green Header */
.main-header {
  background-color: #1a4d3a;
  color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.header-logo a {
  display: inline-block;
  text-decoration: none;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
  padding: 0.5rem 0;
}

.nav-list a:hover {
  opacity: 0.8;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  display: block;
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

section {
  margin-bottom: 3rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

section:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

section:last-child {
  margin-bottom: 0;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1a4d3a;
  font-weight: 700;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: #1a4d3a;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.8;
}

strong {
  font-weight: 600;
  color: #1a4d3a;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

thead {
  background-color: #1a4d3a;
  color: #ffffff;
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

tbody tr:hover {
  background-color: #f5f5f5;
}

/* Banner Images */
.banner-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-image:first-of-type {
  margin-top: 0;
}

/* Dark Green Footer */
.main-footer {
  background-color: #1a4d3a;
  color: #ffffff;
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-logo a {
  display: inline-block;
  text-decoration: none;
}

.footer-nav {
  display: flex;
  justify-content: center;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-nav-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.footer-nav-list a:hover {
  opacity: 0.8;
}

.footer-copyright {
  text-align: right;
}

.footer-copyright p {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-list {
  margin-top: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #333;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #1a4d3a;
}

.faq-question strong {
  flex: 1;
  margin-right: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a4d3a;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 500px;
  padding: 0 0 1.25rem 0;
}

.faq-answer p {
  margin: 0;
  padding-top: 0.5rem;
}

ul.nav-list, ul.footer-nav-list {
  margin: 0;
  padding: 0;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: #1a4d3a;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  z-index: 999;
  opacity: 0;
}

.scroll-to-top.visible {
  display: flex;
  opacity: 1;
}

.scroll-to-top:hover {
  background-color: #0f3d2a;
  transform: translateY(-3px);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}

/* 404 Page */
main.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
}

.error-404 {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.error-404 h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #1a4d3a;
}

.error-404 p {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 1rem;
}

.error-404 p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */

/* PC - min 1025px */
@media (min-width: 1025px) {
  .header-container,
  .footer-container,
  main {
    max-width: 1200px;
  }
}

/* Laptop - max 1024px */
@media (max-width: 1024px) {
  .header-container,
  .footer-container {
    max-width: 100%;
  }

  main {
    max-width: 100%;
    padding: 1.5rem 1.25rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .footer-container {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }
}

/* Tablet - max 768px */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a4d3a;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  .header-nav.active {
    display: block;
   
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
    align-items: center;

  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  main {
    padding: 1.25rem 1rem;
  }

  section {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .scroll-to-top {
    width: 48px;
    height: 48px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-copyright {
    text-align: center;
  }

  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 0.75rem;
  }
}

/* Mobile L - max 425px */
@media (max-width: 425px) {
  .header-container {
    padding: 0.75rem 1rem;
  }

  .header-logo img {
    height: 40px;
  }

  .mobile-menu-toggle {
    display: flex;
  }



  main {
    padding: 1rem 0.75rem;
  }

  section {
    margin-bottom: 2rem;
    padding: 1.25rem;
  }

  h1 {
    font-size: 1.25rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  ul {
    padding-left: 1.5rem;
  }

  li {
    font-size: 0.95rem;
  }

  .faq-question {
    padding: 1rem 0;
    font-size: 0.95rem;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .footer-container {
    padding: 0 1rem;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    padding: 0.5rem;
    white-space: nowrap;
  }

  .banner-image {
    margin: 1.5rem 0;
  }

  .error-404 h1 {
    font-size: 3rem;
  }

  .error-404 p {
    font-size: 1rem;
  }
}

/* Mobile M - max 375px */
@media (max-width: 375px) {
  .header-container {
    padding: 0.75rem 0.75rem;
  }

  .header-logo img {
    height: 35px;
  }

  main {
    padding: 0.75rem 0.5rem;
  }

  h1 {
    font-size: 1.15rem;
  }

  h2 {
    font-size: 1rem;
  }

  p {
    font-size: 0.9rem;
  }

  li {
    font-size: 0.9rem;
  }

  .footer-container {
    padding: 0 0.75rem;
  }

  .footer-logo img {
    height: 35px;
  }

  table {
    font-size: 0.8rem;
  }

  th,
  td {
    padding: 0.4rem;
  }
}

/* Mobile S - max 320px */
@media (max-width: 320px) {
  .header-container {
    padding: 0.5rem 0.5rem;
  }

  .header-logo img {
    height: 30px;
  }

  main {
    padding: 0.5rem 0.5rem;
  }

  section {
    padding: 1rem;
  }

  h1 {
    font-size: 1rem;
  }

  h2 {
    font-size: 0.95rem;
  }

  p {
    font-size: 0.85rem;
  }

  li {
    font-size: 0.85rem;
  }

  ul {
    padding-left: 1.25rem;
  }

  .footer-container {
    padding: 0 0.5rem;
  }

  .footer-logo img {
    height: 30px;
  }

  .footer-nav-list {
    gap: 0.75rem;
  }

  table {
    font-size: 0.75rem;
  }

  th,
  td {
    padding: 0.35rem;
  }

  .faq-question {
    padding: 1rem 0;
    font-size: 0.9rem;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 1rem;
    right: 1rem;
  }

  .error-404 {
    padding: 2rem 1rem;
  }

  .error-404 h1 {
    font-size: 2.5rem;
  }
}

