body {
    font-family: 'Inter', sans-serif;
    margin: 0px;
}

.title-icon{
  border-radius: 30px;
}

/* Menu */
.navbar {
  position: fixed; /* Fix อยู่ด้านบน */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* ดันขึ้นหน้าสุด */
  background-color: rgba(255, 255, 255, 0.8); /* สีขาวโปร่ง 80% */
  backdrop-filter: blur(10px); /* ทำให้เบลอพื้นหลังนิดหน่อย ดูพรีเมียม */
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); /* เงาเล็กน้อย */
  padding: 10px 0;
}
  
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 17px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.logo {
  width: 20px;
}

.icon {
  width: 18px;
}

/* Content 1 */
.main-content {
  width: 100%;
  overflow: hidden;
}

.hero-section {
  background-size: cover;
  background-position: center;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: start;
  text-align: center;
  border-bottom: 15px solid white; /* เส้นคั่นอ่อนๆ */
  position: relative;
}

.hero-section-alt {
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: end;
  text-align: center;
  border-bottom: 15px solid white; /* เส้นคั่นอ่อนๆ */
  position: relative;
  padding-bottom: 50px;
}

.hero-content {
  background: rgba(255, 255, 255, 0.0);
  padding: 20px;
}


.hero-content h1 {
  font-size: 48px;
  margin-top: 30px;
  margin-bottom: 0px;
}

.hero-content h2 {
  font-size: 24px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 20px;
  color: #555;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-primary, .btn-secondary {
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #0071e3;
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #0071e3;
  color: #0071e3;
}

.gradient-text {
  background: linear-gradient(90deg, blue, indigo, violet, red, orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Content 2 */
.grid-section {
  padding: 0px 0;
  background-color: white;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 คอลัมน์ */
  gap: 15px; /* ระยะห่างระหว่างช่อง */
  max-width: 100%;
  margin: 0 auto;
}

.grid-item {
  background-color: #fff;
  height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: top;
  padding: 20px;
}

.grid-item .content {
  width: 100%;
  padding: 10px;
  text-align: center;
}

.grid-item .content h1 {
  font-size: 40px;
  margin-top: 20px;
  margin-bottom: 0px;
}

.grid-item .content p {
  font-size: 20px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.style-text {
  font-family: 'Dancing Script', cursive;
  font-size: 40px;
  color: #0070c9; /* สีฟ้าแบบ Apple */
}

.grid-item-light {
  background-color: #fff;
  color: white;
  height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 20px;
}

.grid-item-light .content {
  width: 100%;
  padding: 10px;
  text-align: center;
}

.grid-item-light .content h1 {
  font-size: 38px;
  margin-top: 20px;
  margin-bottom: 0px;
}

.grid-item-light .content p {
  font-size: 20px;
  margin-top: 0px;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: #f5f5f7;
  padding: 40px 20px;
  font-size: 14px;
  color: #6e6e73;
  margin-top: 15px;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-note {
  margin-bottom: 30px;
  line-height: 1.5;
}

.footer-links {
  border-top: 1px solid #d2d2d7;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  font-weight: bold;
  margin-bottom: 10px;
  color: #1d1d1f;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column ul a {
  color: #6e6e73;
  text-decoration: none;
}

.footer-column ul a:hover {
  color: #6e6e73;
  text-decoration:underline;
}

.footer-bottom {
  border-top: 1px solid #d2d2d7;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-policy a {
  color: #6e6e73;
  text-decoration: none;
  margin-left: 10px;
}
