
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* 🌙 Base Layout */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0b0f1a;
  color: #ffffff;
  padding-top: 80px;
  padding-bottom: 60px;
}

/* 🏠 Hero Section */
.hero {
  padding: 60px 20px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  color: #ccc;
}
.hero-cta {
  margin-top: 20px;
}

/* 🔘 Buttons */
.btn-primary {
  background: linear-gradient(135deg, #1A73E8, #42A5F5);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: inline-block;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #42A5F5, #1A73E8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.btn-secondary {
  background: white;
  color: #1A73E8;
  padding: 14px 32px;
  border: 2px solid #1A73E8;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 10px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.btn-secondary:hover {
  background: #1A73E8;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* 🖼 Dashboard Image */
.dashboard {
  padding: 40px 20px;
  text-align: center;
}
.dashboard img {
  max-width: 40%;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.dashboard-caption {
  font-size: 0.95rem;
  color: #ccc;
  font-style: italic;
  margin-top: -10px;
}

/* 📦 Platform Section */
.platform {
  padding: 40px 20px;
  text-align: center;
}
.platform h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #90CAF9;
  line-height: 1.4;
}
.platform p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* 🔹 Features Grid */
.features {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
.feature-card {
  background-color: transparent;
  border: none;
  text-align: center;
  flex: 1 1 240px;
  min-width: 200px;
}
.feature-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: #aaa;
  font-size: 0.95rem;
}

/* 📅 Roadmap / Timeline / CTA */
.timeline,
.pricing,
.final-cta {
  text-align: center;
  padding: 60px 20px;
}
.timeline h2,
.pricing h2 {
  font-size: 2rem;
  color: #90CAF9;
  margin-bottom: 20px;
  line-height: 1.4;
}
.timeline-line {
  font-size: 1.1rem;
  color: #ccc;
}

/* 💳 Pricing */
.pricing-table {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.plan {
  background-color: #111827;
  border: 1px solid #2a2f45;
  padding: 20px 30px;
  border-radius: 12px;
  width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 12px rgba(66, 165, 245, 0.3);
}
.plan h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 10px;
}
.plan p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 🔚 Final CTA */
.final-cta .btn-primary {
  margin-top: 30px;
  font-size: 18px;
  padding: 16px 40px;
}

/* 👁 Vision Section */
.vision {
  text-align: center;
  padding: 50px 20px;
}
.vision .en {
  font-size: 1.2rem;
  color: #90CAF9;
  margin-bottom: 10px;
}
.vision .th {
  font-size: 1.1rem;
  color: #ccc;
}

/* 🌟 WHY TECP Section */
.why-tecp {
  padding: 60px 20px;
  background-color: #0b0f1a;
  text-align: center;
}
.why-tecp h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #ffffff;
}
.why-tecp .features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}
.why-tecp .feature-card {
  background-color: #111827;
  padding: 20px;
  border-radius: 12px;
  min-width: 240px;
  max-width: 280px;
  flex: 1 1 240px;
  text-align: center;
  border: 1px solid #2a2f45;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.why-tecp .feature-card h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.why-tecp .feature-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 📱 Responsive */
@media (max-width: 1024px) {
  .features,
  .why-tecp .features,
  .pricing-table {
    flex-direction: column;
    align-items: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .plan {
    width: 80%;
    max-width: 320px;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}
.nav-more {
  position: relative;
  cursor: pointer;
}

.nav-more span {
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.nav-more .dropdown {
  display: none;
  position: absolute;
  background-color: #0b1d42;
  padding: 10px;
  border-radius: 6px;
  top: 30px;
  right: 0;
  z-index: 999;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-more:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown a:hover {
  background-color: #1A73E8;
}

.feature-card {
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  min-height: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background-color: rgba(255,255,255,0.02);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.feature-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 4px #1a73e8aa); /* เพิ่มเงาน้ำเงินเบาๆ */
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #90CAF9;
}

.feature-card p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  text-align: center;
}


.dashboard-carousel {
  position: relative;
  text-align: center;
}

/* ===== 🎯 ปรับ container carousel ===== */
.dashboard-carousel {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  text-align: center;
}

/* ===== 🖼 แต่ละ slide ===== */
.carousel-track {
  display: flex;
  transition: transform 1.8s ease-in-out;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}



/* ===== ⬅️➡️ ปุ่มเลื่อน slide ===== */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

/* ===== 🖼 รูปภาพแต่ละ slide ===== */
.carousel-slide img {
  width: 95%;
  max-width: 780px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(0,0,0,0.4);
  margin: 0 auto;
  display: block;
}

/* ===== 📝 Caption ===== */
.dashboard-caption {
  margin-top: 12px;
  color: #ccc;
  font-style: italic;
  font-size: 0.95rem;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #666;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.carousel-dot.active {
  background-color: #ffffff;
  opacity: 1;
}
.about .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  color: #eee;
}

.about-block {
  margin-bottom: 40px;
}

.about-block ul {
  padding-left: 20px;
}

.about-block blockquote {
  border-left: 4px solid #1A73E8;
  padding-left: 16px;
  margin-left: 0;
  color: #ccc;
  font-style: italic;
}

.section-header {
  text-align: center;
  color: #42A5F5;
  font-size: 2rem;
  margin-bottom: 40px;
}
.about .container {
  padding-bottom: 80px; /* เพิ่มจากเดิม */
}
.mission-table {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  border-collapse: collapse;
  background-color: transparent;
  color: #ccc;
  font-size: 0.95rem;
}

.mission-table thead th {
  text-align: left;
  padding: 12px;
  border-bottom: 2px solid #2a2f45;
  color: #90CAF9;
  font-size: 1rem;
}

.mission-table td {
  padding: 12px;
  vertical-align: top;
  border-bottom: 1px solid #2a2f45;
}
.final-cta {
  margin-bottom: 60px; /* ปรับตามความเหมาะสม เช่น 60px หรือมากกว่า */
}
.recommendation-box,
.pricing-summary {
  background-color: #0d2a48;
  padding: 20px;
  border-radius: 10px;
  color: #ffffff;
  margin-bottom: 60px;   /* ✅ ลดจากค่าเดิม เช่น 20px */
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-summary ul {
  padding-left: 24px;  /* หรือ 32px ตามความเหมาะสม */
}

footer {
  margin-top: 60px;      /* ✅ ลดจาก 20px/40px ให้พอดี */
}


