:root {
  --ink-900: #1A3C6B;
  --ink-800: #244C85;
  --ink-700: #2F5C9E;
  --ink-600: #3E73C2;
  --primary-500: #1A3C6B;
  --primary-400: #244C85;
  --accent-500: #B8860B;
  --accent-400: #DAA520;
  --surface-50: #F5F5F5;
  --surface-100: #E0E0E0;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 20px 50px rgba(26, 60, 107, 0.18);
  --shadow-card: 0 18px 40px rgba(26, 60, 107, 0.14);
}

body {
  font-family:
    "Kanit",
    "Montserrat",
    "Noto Sans Thai",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: #F5F5F5;
  color: #1a1a1a;
}

h1,
h2,
h3,
h4,
h5 {
  font-family:
    "Kanit",
    "Montserrat",
    "Noto Sans Thai",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0.1px;
}

a {
  text-decoration: none;
}

.navbar {
  background: rgba(26, 60, 107, 0.98);
  backdrop-filter: blur(10px);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(120deg, var(--accent-400), var(--accent-500));
  border: none;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(255, 140, 0, 0.45);
  color: #ffffff;
}

.btn-outline-ink {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.hero {
  background:
    radial-gradient(circle at top, rgba(36, 76, 133, 0.3), transparent 50%),
    linear-gradient(135deg, #1A3C6B 0%, #244C85 60%, #2F5C9E 100%);
  color: #ffffff;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  position: relative;
  overflow: hidden;
}

.hero .badge {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-media {
  background: linear-gradient(
    135deg,
    var(--accent-500) 0%,
    var(--accent-400) 55%,
    #ffffff 100%
  );
  border-radius: 28px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(16, 64, 192, 0.18);
  top: -60px;
  right: -40px;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 22px;
  border: 1px solid rgba(0, 32, 112, 0.18);
}

.hero-media-content {
  position: relative;
  z-index: 1;
}

.hero-media-card {
  background: rgba(16, 40, 75, 0.9);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 18px 30px rgba(16, 40, 75, 0.25);
}

.pill-light {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.section {
  padding: 80px 0;
}

.section-title {
  color: var(--ink-900);
  font-weight: 700;
}

.subtle-text {
  color: rgba(255, 255, 255, 0.68);
}

.card-luxe {
  background: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card-luxe .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 64, 192, 0.12);
  color: var(--primary-500);
  font-size: 1.35rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
}

.stat-card h3 {
  color: #ffffff;
}

.bg-soft {
  background: var(--surface-50);
}

.bg-ink {
  background: var(--ink-900);
  color: #ffffff;
}

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 64, 192, 0.12);
  color: #103090;
  font-weight: 500;
}

.list-check li {
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
  color: #1e2a44;
}

.list-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-500);
}

.footer {
  background: #1A3C6B;
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: #ffffff;
}

.footer-cta {
  background: linear-gradient(
    120deg,
    rgba(26, 60, 107, 0.9),
    rgba(36, 76, 133, 0.85)
  );
  border-radius: 22px;
  padding: 20px 24px;
  box-shadow: 0 10px 24px rgba(26, 60, 107, 0.25);
}

.footer-input {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 10px 12px;
}

.footer-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-400);
  transform: translateY(-2px);
}

.form-control,
.form-select {
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 26, 43, 0.12);
  padding: 12px 14px;
}

.media-card {
  background: linear-gradient(
    135deg,
    rgba(16, 64, 192, 0.16),
    rgba(255, 255, 255, 0.35)
  );
  border-radius: var(--radius-xl);
  padding: 26px;
}

.timeline {
  border-left: 2px solid rgba(18, 26, 43, 0.12);
  padding-left: 28px;
}

.timeline .step {
  position: relative;
  margin-bottom: 28px;
}

.timeline .step::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-500);
  box-shadow: 0 0 0 6px rgba(16, 64, 192, 0.2);
}

.pricing-card {
  border: 1px solid rgba(18, 26, 43, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #ffffff;
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.page-hero {
  background: linear-gradient(
    120deg,
    rgba(26, 60, 107, 0.98),
    rgba(36, 76, 133, 0.88)
  );
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 56px;
}

/* Wave Decoration */
.wave-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
}

.wave-decoration svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
}

/* Course Cards */
.course-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.course-card-body {
  padding: 20px;
}

.course-card .price {
  color: var(--primary-500);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Blue outline button */
.btn-outline-blue {
  border: 2px solid var(--primary-500);
  color: var(--primary-500);
  background: transparent;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-outline-blue:hover {
  background: var(--primary-500);
  color: #ffffff;
}

/* Hero Image Container */
.hero-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.hero-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Badge styles */
.badge-weeks {
  background: var(--accent-500);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
}

/* Vision/Mission Cards */
.vm-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
}

.vm-card h4 {
  color: var(--primary-500);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-500);
}

/* Step Numbers */
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-500);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Blog Card */
.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Success Story Card */
.story-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.story-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.story-card-body {
  padding: 20px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1A3C6B 0%, #244C85 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23F5F5F5' d='M0,60L48,55C96,50,192,40,288,35C384,30,480,30,576,35C672,40,768,50,864,50C960,50,1056,40,1152,35C1248,30,1344,30,1392,30L1440,30L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
}

.link-underline {
  position: relative;
  color: #1c2845;
  font-weight: 600;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--primary-500);
}

@media (max-width: 991.98px) {
  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 36px;
  }

  .hero {
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
  }

  .hero-media {
    min-height: 340px;
  }
}

@media (max-width: 575.98px) {
  .page-hero {
    padding: 28px;
  }

  .section {
    padding: 44px 0;
  }

  .hero-media {
    min-height: 280px;
  }
}
