/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #020617;
  color: white;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 34px;
}
.logo span {
  font-weight: 600;
}

nav a {
  margin-left: 25px;
  color: #94a3b8;
  text-decoration: none;
  position: relative;
}

nav a.active {
  color: #3b82f6;
}
nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3b82f6;
}

/* HERO */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60vh;
  padding: 0 80px;
  overflow: hidden;
}

/* TEXT */
.hero-content {
  z-index: 2;
  max-width: 750px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero p {
  margin-top: 20px;
  color: #94a3b8;
  font-size: 16px;
}
.hero-map {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 65%;
  height: 80%;
  background: url("../images/world-map.svg") no-repeat center;
  background-size: contain;
  opacity: 0.1; /* subtle มาก = premium */
  filter: brightness(1.8);
  pointer-events: none;
  animation: floatMap 20s ease-in-out infinite;
}
.hero-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(37, 99, 235, 0.15),
    transparent 70%
  );
}
@keyframes floatMap {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  text-decoration: none;
  color: white;
  transition: 0.3s;
  box-shadow: 0 5px 25px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* BACKGROUND GLOW */
.hero-bg {
  position: absolute;
  right: 0;
  width: 60%;
  height: 100%;
  background:
    radial-gradient(
      circle at 70% 40%,
      rgba(37, 99, 235, 0.35),
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(59, 130, 246, 0.25),
      transparent 60%
    );
}

/* GRID LINES EFFECT */
.hero-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}

/* CARDS */
.container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 80px;
}

.card {
  /* background: rgba(17, 24, 39, 0.6); */
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.card svg {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  color: #3b82f6;
  margin-bottom: 10px;
  stroke-width: 2;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #3b82f6;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2);
}

.card h3 {
  margin-bottom: 10px;
}
.card p {
  color: #cfcdd8;
  font-size: 14px;
}
.card li {
  justify-content: right;
  color: #cfcdd8;
  font-size: 12px;
}
.card li p {
  justify-content: right;
  color: #757380;
  font-size: 12px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    grid-template-columns: 1fr;
  }
  .hero {
    flex-direction: column;
    padding: 40px;
  }
  .hero h1 {
    font-size: 32px;
  }
}
.pds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 400px;
}
hr {
  border: none; /* ลบเส้นขอบเดิมออก */
  height: 2px; /* กำหนดความหนา */
  background-color: #333; /* กำหนดสี */
  width: 100%; /* กำหนดความยาว (px หรือ %) */
  margin: 20px auto; /* จัดกึ่งกลางและเว้นระยะห่าง */
}
