@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1fbfe7;
  --primary-dark: #0d7ba0;
  --secondary: #e3f5ff;
  --text: #0f2940;
  --muted: #4d6a7f;
  --bg: #f6fcff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Sarabun', 'Noto Sans Thai', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

header {
  background: linear-gradient(160deg, rgba(31,191,231,0.95), rgba(13,123,160,0.9)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled {
  background: rgba(11,34,53,0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  gap: 1rem;
}

.nav-menu a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: rgba(255,255,255,0.2);
}

.hero {
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 600;
  box-shadow: 0 12px 25px rgba(13,123,160,0.25);
}

.section {
  padding: 3.5rem 1.5rem;
}

.section h2 {
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section p.section-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(15,41,64,0.08);
}

.card img {
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.features {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.06);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.feature-item:last-child {
  border-bottom: none;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-box {
  padding: 1.25rem;
  border-left: 4px solid var(--primary);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 25px 50px rgba(15,41,64,0.22);
}

.cta-banner h3 {
  margin-bottom: 0.75rem;
  font-size: 1.8rem;
}

.cta-banner p {
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.9);
}

footer {
  background: #0b2235;
  color: #d7edf8;
  padding: 2rem 1.5rem;
  text-align: center;
}

footer .socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-card {
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.07);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(15,41,64,0.12);
  font-family: inherit;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.map-placeholder {
  border-radius: 1.25rem;
  border: 1px solid rgba(15,41,64,0.1);
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

@media (min-width: 900px) {
  nav {
    padding: 1.5rem 5%;
  }

  .hero {
    padding: 5rem 5% 6rem;
    text-align: left;
  }

  .hero-content {
    max-width: 600px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .section {
    padding: 4rem 5%;
  }

  .split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
  }
}
