body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f0f0f0;
}

.main-container {
  width: 960px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
  background: white;
  border-bottom: 3px solid #003366;
}

.header-content {
  padding: 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.logo-container img {
  margin-right: 20px;
}

.org-name {
  font-size: 24px;
  color: #003366;
  font-weight: bold;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #003366;
  display: flex;
  justify-content: space-around;
}

nav ul li {
  flex: 1;
  text-align: center;
}

nav ul li a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 10px 5px;
  font-size: 12px;
  font-weight: bold;
}

nav ul li a:hover {
  background: #004488;
}

.hero-section {
  position: relative;
  height: 300px;
  background: #003366;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: white;
  font-size: 48px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content-section {
  flex: 1;
  padding: 20px 30px;
}

.content-section section {
  margin-bottom: 30px;
}

.content-section h2 {
  color: #003366;
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

nav ul li a.active {
  background: #004488;
}

.content-section h2 {
  color: #003366;
  font-size: 16px;
  margin-top: 25px;
  margin-bottom: 10px;
  border-bottom: none;
}

.content-section h1 {
  color: #003366;
  font-size: 24px;
  margin-bottom: 20px;
}

.content-section p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.notice-box {
  background: #f8f8f8;
  border: 4px solid #ff0000;
  padding: 15px;
  margin: 20px 0;
  font-size: 0.9em;
  color: #555;
}

footer {
  background: #003366;
  color: white;
  padding: 20px;
  font-size: 12px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: fight;
}

.footer-content .copyright a {
  color: white;
  text-decoration: none;
}

.footer-content .copyright a:visited {
  color: white;
}

.footer-content .copyright a:hover {
  text-decoration: underline;
}

.language-options a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

.page-content {
  display: flex;
  background: #fff;
}

.sidebar {
  width: 200px;
  padding: 20px;
  background: #f0f0f0;
}

.sidebar h3 {
  color: #003366;
  font-size: 14px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #003366;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin-bottom: 8px;
}

.sidebar ul li a {
  color: #003366;
  text-decoration: none;
  font-size: 13px;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

.back-to-top {
  text-align: right;
  font-size: 12px;
  margin-top: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.back-to-top a {
  color: #003366;
  text-decoration: none;
}

.back-to-top a:hover {
  text-decoration: underline;
}

.timeline {
  border-collapse: collapse;
  margin: 20px 0;
}

.timeline td {
  padding: 12px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.timeline .year {
  width: 100px;
  font-weight: bold;
  color: #003366;
  background: #fff;
}

.timeline .event {
  background: #fff;
}

.timeline .description {
  color: #444;
  font-size: 0.9em;
  padding-top: 5px;
}

.org-structure {
  width: 100%;
  text-align: center;
  margin: 20px 0;
  border: 1px solid #ccc;
  padding: 10px;
  background: #f8f8f8;
}

.primary-structure {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.other-agencies {
  font-size: 0.9em;
  color: #444;
}

.hq-content {
  display: flex;
  gap: 20px;
  align-items: start;
  margin: 20px 0;
}

.hq-image {
  width: 300px;
  border: 1px solid #ccc;
  padding: 3px;
  background: #fff;
}

.org-box {
  display: inline-block;
  border: 1px solid #003366;
  padding: 8px 15px;
  margin: 5px;
  background: #fff;
}

.org-arrow {
  display: block;
  margin: 5px auto;
  color: #003366;
  font-weight: bold;
}


.capability-card {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.capability-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
}

.capability-icon img {
  width: 100%;
  height: 100%;
}

.capability-text {
  flex-grow: 1;
}

.contact-email {
  font-size: 16px;
  color: #003366;
  font-weight: bold;
  margin: 20px 0;
}

.role-info {
  background: #f5f5f5;
  padding: 15px;
  margin: 20px 0;
  border: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.6;
}

.testimonial-box {
  background: #f9f9f9;
  padding: 20px;
  margin: 15px 0;
  border-left: 4px solid #003366;
  font-style: italic;
}

.testimonial-author {
  margin-top: 10px;
  font-style: normal;
  color: #666;
}

.content-section ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.content-section ul li {
  margin-bottom: 8px;
  line-height: 1.4;
  list-style-type: disc;
}

.back-link {
  margin: 20px 0;
  padding: 0 20px;
}

.back-link a {
  color: #003366;
  text-decoration: none;
  font-size: 14px;
}

.back-link a:hover {
  text-decoration: underline;
}

.news-intro {
  margin: 20px 0;
  line-height: 1.6;
  color: #444;
}

.news-container {
  margin-top: 30px;
}

.news-links {
  margin-bottom: 20px;
}

.news-links a {
  display: block;
  color: #003366;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  padding: 5px 0;
}

.news-links a:hover {
  text-decoration: underline;
}

.news-links .date {
  color: #666;
  font-size: 11px;
  display: block;
  margin-top: 2px;
}

.news-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.news-item h2 {
  color: #003366;
  font-size: 18px;
  margin-bottom: 5px;
}

.news-date {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.news-summary {
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.read-more:hover {
  text-decoration: underline;
}

.news-article {
  max-width: 800px;
  margin: 0 auto;
}

.news-content {
  line-height: 1.6;
  margin-top: 20px;
}

.news-content p {
  margin-bottom: 15px;
}

.news-content h2 {
  color: #003366;
  font-size: 20px;
  margin: 25px 0 15px 0;
}

/* Mobile Responsiveness */
@media screen and (max-width: 1024px) {
  .main-container {
    width: 100%;
    max-width: 960px;
  }
}

@media screen and (max-width: 768px) {
  .main-container {
    width: 100%;
  }

  .header-content {
    padding: 10px;
  }

  .logo-container {
    flex-direction: column;
    text-align: center;
  }

  .logo-container img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .org-name {
    font-size: 20px;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid #004488;
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav ul li a {
    padding: 15px 10px;
    font-size: 14px;
  }

  .page-content {
    flex-direction: column;
  }

  .sidebar {
    width: auto;
    padding: 15px;
  }

  .content-section {
    padding: 15px;
  }

  .hero-section {
    height: 200px;
  }

  .welcome-text {
    font-size: 36px;
    bottom: 20px;
    left: 20px;
  }

  /* Timeline Adjustments */
  .timeline {
    display: block;
    margin: 10px 0;
  }

  .timeline td {
    display: block;
    width: auto;
  }

  .timeline .year {
    width: auto;
    border-bottom: none;
  }

  /* Capability Cards */
  .capability-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .capability-icon {
    margin-bottom: 15px;
  }

  /* Organization Structure */
  .org-structure {
    padding: 5px;
  }

  .org-box {
    width: 90%;
    margin: 5px auto;
  }

  /* News Items */
  .news-article {
    max-width: 100%;
  }

  .hq-content {
    flex-direction: column;
  }

  .hq-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 15px;
  }
}

@media screen and (max-width: 480px) {
  .logo-container img {
    width: 80px;
    height: 80px;
  }

  .org-name {
    font-size: 18px;
  }

  .welcome-text {
    font-size: 28px;
    bottom: 15px;
    left: 15px;
  }

  .content-section h1 {
    font-size: 20px;
  }

  .content-section h2 {
    font-size: 16px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .role-info {
    padding: 10px;
  }

  .testimonial-box {
    padding: 15px;
  }
}

/* Print Styles */
@media print {
  .main-container {
    width: 100%;
    box-shadow: none;
  }

  nav,
  .sidebar,
  .back-link,
  .footer {
    display: none;
  }

  .content-section {
    padding: 0;
  }

  .notice-box {
    border: 4px solid #ff0000;
    padding: 10px;
  }
}
