body {
  font-family: "Kanit", sans-serif;
  margin: 0;
  background-color: #fff;
  color: #000;
  overflow-x: hidden;

}
header {
  background-color: #2f2ebe;
  color: #fff;
  padding: 1rem;
  text-align: center;
}
.container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
}
h2 {
  color: #2f2ebe;
}
h3 {
  color: #ff5b23;
}
.section {
  margin-bottom: 2rem;
}
.highlight {
  color: #ff5b23;
  font-weight: bold;
}
.btn {
  background-color: #ff5b23;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}
footer {
  background-color: #2f2ebe;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
@media screen and (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  h1,
  h2,
  h3 {
    font-size: 1.2rem;
  }
}
.timeline {
  border-left: 4px solid #2f2ebe;
  padding-left: 1rem;
  margin-top: 1rem;
}
.timeline-item {
  margin-bottom: 1.5rem;
}
.timeline-item h4 {
  margin: 0;
  color: #2f2ebe;
}
.timeline-item p {
  margin: 0.3rem 0 0.5rem 0;
}
.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.card {
  flex: 1 1 300px;
  border: none;
  border-radius: 10px;
  padding: 1.5rem;
  background-color: #2f2ebe;
  transition: 0.3s;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card h3,
.card p,
.card li {
  color: white;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card.square img {
  aspect-ratio: 1 / 1;
}

.card.rectangle img {
  aspect-ratio: 20 / 6;
}
.banner-container {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.banner-image {
  width: 100%;
  height: 200px;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  display: block;
}
.steps-on-blue {
  background-color: #2f2ebe;
  padding: 2rem;
  border-radius: 10px;
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.flow-item {
  /*display: flex;*/
  align-items: flex-start;
  gap: 0.5rem;
  color: white;
  font-size: 1.05rem;
  line-height: 1.6;
}

.circle {
  background-color: #ff5b23;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.vertical-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f9f9f9;
  padding: 1.5rem;
  border-left: 8px solid #2f2ebe;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.step-number {
  font-size: 1.2rem;
  font-weight: bold;
  background: #ff5b23;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-content h4 {
  margin: 0;
  color: #2f2ebe;
  font-size: 1.1rem;
}

.step-content p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #333;
}
.step-split {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .step-split {
    flex-direction: column;
  }
}
.or-separator {
  align-self: center;
  background-color: #ff5b23;
  color: white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.section-header-orange {
  font-color: white;
  background-color: #ff5b23;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: white;
}

.section-header-orange h3 {
  margin: 0;
  font-size: 1.4rem;
}

.section-header-purple {
  background-color: #2f2ebe; /* สีม่วงของ Pathvera */
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: white;
}

.section-header-purple h3 {
  margin: 0;
  font-size: 1.4rem;
  color: white;
}

.site-header {
  background-color: #2f2ebe;
  padding: 0.5rem 1rem;
  color: white;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  height: 50px;
  max-width: 150px;
  object-fit: contain;
}
.site-header h1 {
  font-size: 1.5rem;
  margin: 0;
}
.event-banner {
  background-color: #fff5f0;
  padding: 2rem 1rem;
  border-left: 8px solid #ff5b23;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 1000px;
  font-family: "Kanit", sans-serif;
}

.event-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  /*aspect-ratio: 16 / 9;*/
}

.event-details h2 {
  color: #2f2ebe;
  font-size: 1.4rem;
  margin-top: 0;
}

.event-details p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

.event-details ul {
  padding-left: 1.2rem;
  color: #333;
}

.event-details a {
  color: #ff5b23;
  font-weight: bold;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .event-wrapper {
    flex-direction: row;
    gap: 2rem;
  }

  .event-image {
    flex: 1;
  }

  .event-details {
    flex: 2;
  }
}

.cta-iframe {
  padding: 2rem 1rem;
  background-color: #f9f9ff;
  border-top: 6px solid #ff5b23;
  border-radius: 12px 12px 0 0;
  margin-top: 3rem;
  text-align: center;
}

.cta-iframe h2 {
  color: #2f2ebe;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.cta-iframe p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #444;
}

.airtable-embed {
  max-width: 100%;
  border: none;
}
.cta-button {
  display: inline-block;
  background-color: #ff5b23;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 1rem;
  transition: background-color 0.3s ease, transform 0.2s;
}

.cta-button:hover {
  background-color: #e14f1d;
  transform: scale(1.03);
}
.cta-button-wrapper {
  text-align: center;
  margin: 2rem auto;
}
.contact-section {
  background-color: #f7f9ff;
  padding: 2rem 1rem;
  border-top: 6px solid #2f2ebe;
  border-radius: 12px;
  text-align: center;
  margin-top: 3rem;
}

.contact-section h2 {
  color: #2f2ebe;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.contact-list li a {
  color: #ff5b23;
  font-weight: bold;
  text-decoration: none;
}

.contact-list li a:hover {
  text-decoration: underline;
}

.logoco-banner {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto 1.5rem auto;
  object-fit: contain;
}

.no-aspect {
  aspect-ratio: auto !important;
}

.textcenter {
  text-align: center;
}
.footer-disclaimer {
  font-size: 0.8rem;
  text-align: center;
  padding: 10px 20px;
  border-top: 1px solid #ddd;
  font-style: italic;
  line-height: 1.4;
}

.urgent-heading {
  color: red;
  font-weight: bold;
  font-size: 26px;
}

.card.light-card h3,
.card.light-card p,
.card.light-card li {
  color: #333 !important;
}

.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-btn {
  background-color: transparent;
  border: none;
  padding: 1.2rem 1rem;
  width: 100%;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  color: #2f2ebe;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.accordion-btn:hover {
  background-color: #f5f5ff;
}

.accordion-btn .icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.accordion-btn.active .icon {
  transform: rotate(45deg); /* turns "+" into "x" */
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  background-color: #fafafa;
  transition: max-height 0.3s ease;
}

.accordion-panel p {
  margin: 1rem 0;
  color: #444;
  font-size: 0.98rem;
}

.benefit-card {
  background: white;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  font-size: 1rem;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.4;
}

/* Navbar Styles */
.navbar {
  background-color: #2f2ebe;
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* ✅ เพิ่ม padding ซ้าย-ขวา */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width:100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  max-width: 150px;
  padding: 0; /* ✅ ล้าง padding */
  margin: 0;
}


.navbar-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-links li a:hover {
  color: #ffdd57;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    flex-direction: column;
    background-color: #2f2ebe;
    position: absolute;
    top: 100%;
    right: 1.5rem;
    width: 200px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 1rem;
  }

  .navbar-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.logo-inverted {
  height: 50px;
  filter: invert(1);
  margin-left: 1rem;
}

.about-section {
  /*background: url('holding-american-flag.jpg') center/cover no-repeat;*/
  padding: 3rem 1rem;
  position: relative;
}

.about-overlay {
  background-color: rgba(255,255,255,0.94);
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  border-radius: 12px;
}

.about-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-logo img {
  width: 70%;
  max-width: 500px;
  filter: brightness(0);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-card {
  color: #333;
}

.about-card h3 {
  text-align: center;
  color: #2f2ebe;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-logo img {
    width: 80%;
  }
}

.card-icon {
  width: 40px;
  margin-top: 1rem;
  opacity: 0.2;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.info-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch; /* ⭐️ สำคัญ: ทำให้สูงเท่ากัน */
}

.info-card {
  background-color: #2f2ebe;
  color: white;
  /*border-radius: 10px;*/
  position: relative; 
  padding: 2rem;
  flex: 1 1 300px;       /* ⭐️ ปรับให้การ์ดกว้างขั้นต่ำ 300px */
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;  /* ⭐️ ให้ปุ่ม CTA ไปอยู่ล่างสุด */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.card-subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.card-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.card-link {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
}

.card-link:hover {
  text-decoration: underline;
}

@media (min-width: 992px) {
  .info-cards {
    flex-wrap: nowrap;
  }
}

.card-icon {
  width: 100px;
  margin-top: 1rem;
  opacity: 0.2;
  position: absolute;
  bottom: 0rem;
  right: 0rem;
  filter: invert(1);
}

.eb3-info-wrapper {
  padding: 2rem 1rem;
  background: #f8f9ff;
}

.eb3-info-grid {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  align-items: stretch;
}

.eb3-image {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}

.eb3-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ ครอปภาพให้สูงเท่าเนื้อหา */
  border-radius: 12px;
}

.eb3-info-content {
  flex: 2;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

@media (max-width: 768px) {
  .eb3-info-grid {
    flex-direction: column;
  }

  .eb3-image img {
    height: auto;
  }
}

.cost-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
  background-color: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  align-items: stretch; /* ✅ บังคับกล่องลูกสูงเท่ากัน */
}

.cost-text {
  flex: 2;
  min-width: 0;
}

.cost-image {
  flex: 1;
  max-width: 280px;
  min-width: 200px;
  display: flex;
}

.cost-image img {
  width: 100%;
  height: 100%;          /* ✅ ทำให้รูปสูงเท่ากล่อง */
  object-fit: cover;     /* ✅ ครอปภาพให้ไม่ยืด */
  border-radius: 12px;
}

@media (max-width: 768px) {
  .cost-grid {
    flex-direction: column;
  }

  .cost-image {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
  }

  .cost-image img {
    height: auto;
    object-fit: contain;
  }
}
.contact-image {
  margin-top: 2rem;
  text-align: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}