* {
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
  background-color: white;
  border-bottom: 1px solid #ddd;
  font-family: Arial, sans-serif;
  gap: 50px;
  z-index: 1000;
}

.webLogo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 18px;
  position: absolute;
  left: 40px;
}

.webLogo img {
  height: 30px;
  width: auto;
}

.headerSelection ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.headerSelection ul li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: color 0.3s ease;
}

.headerSelection ul li a:hover {
  color: #f57c00;
}

.home {
  display: flex;
  flex-direction: column;
}

.homeContent {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;

  background: linear-gradient(
      rgba(245, 227, 211, 0.8),
      rgba(255, 255, 255, 0.8)
    ),
    url("../assets/image/homebg.jpg") no-repeat center center / cover;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.homeText {
  width: 500px;
  height: 200px;
  text-align: center;
}

.homeText h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin: 20px 0;
  text-align: center;
}

.homeText p {
  font-size: 1rem;
  color: #777777;
}

.monitorBtn {
  background: #f57c00;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

.monitorBtn:hover {
  background: #e66c00;
  box-shadow: 0 6px 16px rgba(245, 124, 0, 0.4);
  transform: translateY(-2px);
}

.monitorBtn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(245, 124, 0, 0.3);
}

.homeInformative {
  height: 30vh;
  background-color: #fafafa;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.informativeCard {
  background-color: white;
  border: 1px solid #eee;
  border-radius: 16px;
  height: 50%;
  width: 23%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.informativeCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.informativeCard h1 {
  color: #1ab385;
  font-weight: 900;
  text-align: center;
}

.informativeCard p {
  color: #979797;
}

.announcement {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  height: auto;
}

.announcement h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
}

.announcementContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1000px;
}

.announcementCard {
  background: #fafafa;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  min-height: 150px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.announcementCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.announcementCard h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1ab385;
  margin-bottom: 10px;
}

.announcementCard p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.announcementCard .date {
  font-size: 13px;
  color: #999;
  align-self: flex-end;
}

.healthMapContainer {
  font-family: Arial, sans-serif;
  margin: 20px;
}

/* Container */
.healthMapContainer {
  font-family: Arial, sans-serif;
  margin: 20px;
  color: #333;
}

/* Header */
.mapHeader h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.mapHeader p {
  color: #666;
  font-size: 14px;
  margin-top: 4px;
}

/* Layout */
.mapContent {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

/* Left side */
.left {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 70vh;
}

/* Search bar */
.mapSearch {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
  transition: border 0.3s;
}

.mapSearch:focus {
  outline: none;
  border-color: #007bff;
}

/* Filters */
.mapFilters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.mapFilters select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 13px;
}

.heatmapToggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* Map box */
.mapBox {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  height: 80vh;
}

/* Right sidebar */
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Legend + Heatmap Key */
.legendBox {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.legendBox h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.legendBox ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legendBox li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 5px 0;
}

/* Dots */
.legendBox .dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.legendBox .green { background: green; }
.legendBox .yellow { background: yellow; }
.legendBox .orange { background: orange; }
.legendBox .red { background: red; }

.heatDot {
  height: 14px;
  width: 40px;
  background: linear-gradient(to right, lightgreen, rgb(128, 15, 0));
  display: inline-block;
  border-radius: 5px;
}

/* Info note */
.infoNote {
  background: #f0f8ff;
  border: 1px solid #a3cfff;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 900px) {
  .mapContent {
    flex-direction: column;
  }

  .right {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .legendBox,
  .infoNote {
    flex: 1 1 45%;
  }
}

.contactSection {
  max-width: 1100px;
  margin: 60px auto;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  padding: 0 20px;
}

.contactHeader {
  text-align: center;
  margin-bottom: 40px;
}

.contactHeader h2 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.contactHeader p {
  font-size: 15px;
  color: #666;
}

/* Layout */
.contactContent {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Left Form */
.contactForm {
  flex: 1;
  min-width: 320px;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid orange;
  border-bottom: 3px solid green;
}

.contactForm form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contactForm label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.contactForm input,
.contactForm textarea {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.contactForm input:focus,
.contactForm textarea:focus {
  border-color: #f57c00;
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.15);
}

.contactForm button {
  background: linear-gradient(135deg, #f57c00, #e96d00);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.contactForm button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #e96d00, #cc5a00);
}

/* Right Info Cards */
.contactInfo {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.infoCard {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid orange;
  border-bottom: 3px solid green;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.infoCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.infoCard .icon {
  background: #f57c00;
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infoCard h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.infoCard p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #555;
}

footer {
  background-color: #0f172a; /* dark navy */
  color: #d1d5db; /* light gray */
  padding: 20px 40px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-logo {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}

.footer-title {
  font-weight: bold;
  margin-left: 8px;
  color: #fff;
}

.footer-copy {
  font-size: 12px;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #f97316; /* orange hover */
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: #d1d5db;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #f97316; /* orange hover */
}
