body {
    font-size: 1rem;
}

/* กำหนด h1 เฉพาะใน header เท่านั้น */
header h1 {
    font-size: 2rem;
}

/* ปรับขนาด img เฉพาะใน highlight-item และ container, ไม่กระทบโลโก้ใน header */
.container img,
.highlight-item img {
    width: 100%;
    height: auto;
}

/* ป้องกันโลโก้หรือไอคอนใน header ขยายเต็มความกว้าง */
header img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Layout */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.item {
    flex: 1 1 30%;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .highlight-items {
        flex-direction: column;
    }
    footer {
        font-size: 12px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-section {
        width: 100%;
    }
}

/* Responsive: Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        flex-direction: row;
    }
    .highlight-items {
        flex-direction: row;
    }
    footer {
        font-size: 14px;
    }
}

/* Responsive: Desktop */
@media (min-width: 1024px) {
    .container {
        flex-direction: row;
    }
    .highlight-items {
        flex-direction: row;
    }
    footer {
        font-size: 16px;
    }
}

/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 15px;
    font-family: 'Prompt', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-section {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-section h3 {
    color: #f4a52d;
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-divider {
    border-top: 1px solid #555;
    margin: 20px 0;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #ffffff;
}
.container, .highlight-items {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* หรือ space-between แล้วแต่ดีไซน์ */
}
@media (max-width: 900px) {
  .navbar-menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0;
  }
  .navbar-menu li {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .navbar-menu li a,
  .navbar-menu .dropdown > a,
  .navbar-menu .dropdown-content a {
    font-size: 18px !important;
    font-family: 'Prompt', sans-serif !important;
    font-weight: 600 !important;
    text-align: center;
    color: white;
    display: block;
  }
}