
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Prompt', 'Sarabun', sans-serif;
  background-color: #f8fafc;
  color: #334155;
  padding-top: 90px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
  margin-bottom: 80px; 
}


#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
  padding: 0 5%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background-color: #5fa78b; 
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

#header #logo a {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

#header #logo a:hover {
  color: #e2e8f0;
}

header ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

header ul a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}

header ul a:hover {
  color: #f59e0b;
}


#hamburger-icon {
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 30px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.4s;
  border-radius: 2px;
}


.open .bar1 { transform: rotate(-45deg) translate(-5px, 6px); }
.open .bar2 { opacity: 0; }
.open .bar3 { transform: rotate(45deg) translate(-5px, -6px); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 75px;
  left: 0;
  width: 100%;
  background-color: #2d6a57;
  padding: 20px;
  list-style: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.cover {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 6px solid #5fa78b;
  border-radius: 16px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  height: 60%;
}

.covertwo {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 6px solid #E1701A; 
  border-radius: 16px;
  margin-top: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.section-title h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 30px;
}


.topic-wrap, .topic-wrap-training {
  padding: 30px 20px;
  border-radius: 12px;
  height: 101%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.topic-wrap { background: linear-gradient(135deg, #e6f4ea 0%, #ceebd8 100%); }
.topic-wrap-training { background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%); }

.topic-wrap:hover, .topic-wrap-training:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.img-container {
  margin-bottom: 20px;
}

.alltopics-imghead {
  width: 120px;
  height: auto;
  padding: 20px 0;
}

.alltopics-imghead2 {
  width: 120px;
  height: auto;
  padding: 20px 0;
}

.topic-wrap h3, .topic-wrap-training h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}


.containerreport2564 {
  padding: 30px;
}

.report25xx {
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.6;
  display: inline-block;
  transition: color 0.2s ease;
}

.report25xx:hover {
  color: #d97706;
}


#footer {
  background-color: #5fa78b;
  color: #ffffff;
  padding: 15px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 0.9rem;
  z-index: 1000;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
}


@media (max-width: 768px) {
  body { padding-top: 85px; }
  #header nav { display: none; }
  #hamburger-icon { display: block; }
  
  .section-title h2 { font-size: 1.25rem; }
  .cover, .covertwo { padding: 20px; }
  .reportlink { text-align: center !important; }
  .alltopics-imghead { width: 75px; }
}