/* ===== BASIC RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f7f9fb;
  color: #222;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ---- Top bar ---- */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 60px;
}

.site-title {
  font-weight: 700;
  color: #333;
  font-size: 20px;
  letter-spacing: 0.3px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-box input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  width: 280px;
}

.search-box button {
  background: #003b67;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-box button:hover {
  background: #00518e;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #003b67;
}

/* ---- Navbar ---- */
.navbar {
  background: #f2f2f2;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 12px 0;
  margin: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li + li::before {
  content: "|";
  color: #888;
  margin-right: 15px;
  font-weight: normal;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #000;
  text-decoration: underline;
}

/* ---- Dropdown ---- */
.dropdown {
  position: relative;
}

/* Dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 3px solid #003b67;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

/* Dropdown header row (like “Functions”) */
.dropdown-content .dropdown-header {
  font-weight: 700;
  font-size: 14px;
  color: #003b67;
  background: #f2f6fa;
  padding: 10px 16px;
  border-bottom: 1px solid #d9e1ec;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Regular dropdown links */
.dropdown-content li a {
  display: block;
  padding: 10px 16px;
  color: #222;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

/* Remove last border */
.dropdown-content li:last-child a {
  border-bottom: none;
}

/* Hover effect */
.dropdown-content li a:hover {
  background: #003b67;
  color: #fff;
  padding-left: 18px;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* ---- Mobile menu ---- */
@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .search-box {
    display: none;
  }

  .nav-links {
    flex-direction: column;
    display: none;
    background: #003b67;
    gap: 0;
    padding: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links li + li::before {
    content: "";
  }

  .nav-links a {
    display: block;
    color: #fff;
    padding: 14px 18px;
  }

  .dropdown-content {
    position: static;
    display: none;
    background: #002b4c;
    border: none;
    box-shadow: none;
    border-top: none;
    min-width: 100%;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  .dropdown-content .dropdown-header {
    background: #002b4c;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .dropdown-content li a {
    color: #fff;
    border: none;
    padding: 12px 35px;
  }

  .dropdown-content li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 40px;
  }
}

/* ===== BANNER ===== */
.banner {
  background: #003b67;
  color: #fff;
  text-align: center;
  padding: 40px 10px;
}

.banner h1 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 700;
}

.banner p {
  font-size: 16px;
  opacity: 0.9;
}

/* ===== MAIN CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* ===== ACCORDION ===== */
.accordion-item {
  border: 1px solid #ccc;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  background: #003b67;
  color: #fff;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: #00518e;
}

.accordion-header .icon {
  font-weight: bold;
  font-size: 18px;
}

.accordion-body {
  background: #e8f0f5;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.accordion-body.open {
  padding: 20px;
}

.accordion-body h5 {
  color: #003b67;
  font-size: 16px;
  margin: 15px 0 5px;
}

.accordion-body ul {
  list-style: none;
  margin-bottom: 10px;
}

.accordion-body li {
  padding: 4px 0;
}

.accordion-body li a {
  color: #003b67;
  text-decoration: none;
  font-size: 15px;
}

.accordion-body li a:hover {
  text-decoration: underline;
}

.file-links {
  margin-top: 15px;
}

.file-link {
  margin-bottom: 6px;
  font-weight: 600;
}

.file-link a {
  color: #003b67;
  text-decoration: none;
}

.file-link a:hover {
  text-decoration: underline;
}

.pdf-ico {
  margin-right: 6px;
}

/* ===== TABLE STYLE ===== */
.table-wrapper {
  overflow-x: auto;
  margin-top: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead {
  background: #003b67;
  color: #fff;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: left;
}

tbody tr:nth-child(even) {
  background: #f5f9fc;
}

/* ===== FOOTER ===== */
.footer {
  background: #e9f5f7;
  color: #16313a;
  padding: 50px 30px 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 300px;
  min-width: 280px;
}

.footer-section h3 {
  font-size: 18px;
  color: #003b67;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-section p {
  font-size: 14px;
  color: #16313a;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-section .icon {
  color: #00518e;
  margin-right: 8px;
}

.footer-section a {
  color: #003b67;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.read-more {
  background: #1b9bb0;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.read-more:hover {
  background: #007b9e;
}

/* ---- Map ---- */
.map-container {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 170px;
  border: none;
}

/* ---- Footer bottom ---- */
.footer-bottom {
  background: #003b67;
  color: #fff;
  text-align: center;
  padding: 12px 10px;
  font-size: 13px;
  margin-top: 30px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 850px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  .footer-section {
    width: 100%;
  }

  .map-container iframe {
    height: 200px;
  }

  .read-more {
    margin-top: 8px;
  }
}

/* ===== ACCORDION ANIMATION ===== */
.accordion-body {
  transition: max-height 0.5s ease-in-out, padding 0.3s ease;
}
.footer-section a {
    color: #FFFFFF; 
    text-decoration: none;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 14px;
  margin: 20px 0;
  color: #333;
}

.breadcrumb a {
  text-decoration: none;
  color: #003b67;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #555;
}

/* ===== TABLE HEADER SEARCH ===== */
.table-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.table-header label {
  margin-right: 6px;
  color: #333;
}

.table-header input {
  border: 1px solid #ccc;
  padding: 4px 6px;
  border-radius: 3px;
  width: 180px;
  font-size: 14px;
}
