/* ============================================
   Siam Bio-Guard - Family Bio-Safety Styles
   Theme: Trust & Purity
   ============================================ */

/* CSS Variables */
:root {
  --color-white: #ffffff;
  --color-sky-blue: #e0f2f1;
  --color-lime-green: #8bc34a;
  --color-lime-dark: #689f38;
  --color-text-dark: #263238;
  --color-text-light: #546e7a;
  --color-accent-blue: #00acc1;
  --color-shadow: rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(
    135deg,
    #e0f2f1 0%,
    #ffffff 50%,
    #f1f8e9 100%
  );
  --gradient-hero: linear-gradient(180deg, #e0f2f1 0%, #ffffff 100%);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sarabun", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-white);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Kanit", "Sarabun", sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Container */
.e8ik4cn0 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--color-shadow);
  z-index: 1000;
  padding: 15px 0;
}

.header .e8ik4cn0 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mt4hjt5q {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Kanit", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-lime-dark);
}

.wnbaifvt {
  width: 45px;
  height: 45px;
  background: linear-gradient(
    135deg,
    var(--color-lime-green),
    var(--color-accent-blue)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.dcduu1fi {
  display: flex;
  gap: 30px;
  list-style: none;
}

.dcduu1fi a {
  font-weight: 500;
  color: var(--color-text-dark);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.dcduu1fi a:hover {
  color: var(--color-lime-dark);
  background: var(--color-sky-blue);
}

/* Mobile Menu Toggle */
.fz988z3s {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.fz988z3s span {
  width: 25px;
  height: 3px;
  background: var(--color-text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.s7h42eoz {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.s7h42eoz::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(
    ellipse,
    rgba(139, 195, 74, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.s7h42eoz .e8ik4cn0 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.bu7hq6pz {
  animation: fadeInLeft 1s ease;
}

.bu7hq6pz h1 {
  color: var(--color-text-dark);
  margin-bottom: 20px;
  font-size: 3rem;
}

.bu7hq6pz .sov5odzl {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--color-text-light);
}

.ra5wz60r {
  animation: fadeInRight 1s ease;
  position: relative;
}

.ra5wz60r img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.sziygx60 {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: white;
  padding: 20px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 15px;
}

.vn528ecu {
  width: 50px;
  height: 50px;
  background: var(--color-lime-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* CTA Button */
.mzcsgup9 {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--color-lime-green),
    var(--color-lime-dark)
  );
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-family: "Kanit", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.mzcsgup9:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 195, 74, 0.5);
}

/* ============================================
   Section: ภัยแฝงที่คาดไม่ถึง (4 Sources)
   ============================================ */
.fe1r896h {
  padding: 100px 0;
  background: var(--color-white);
}

.z0cwopmh {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.z0cwopmh h2 {
  color: var(--color-text-dark);
  margin-bottom: 15px;
}

.z0cwopmh p {
  font-size: 1.1rem;
}

.gk699xn0 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.p199cd6m {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  text-align: center;
  padding: 30px 20px;
}

.p199cd6m:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.zknq1rnh {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.p199cd6m h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.p199cd6m p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ============================================
   Section: ฟื้นฟูระบบขับถ่ายและภูมิคุ้มกัน
   ============================================ */
.obmmmip5 {
  padding: 100px 0;
  background: var(--gradient-primary);
}

.lcljcxjj {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gkc06yjk {
  position: relative;
}

.gkc06yjk img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.jgteiorx {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-lime-green);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: "Kanit", sans-serif;
  font-weight: 600;
}

.tqlbznvc h2 {
  margin-bottom: 25px;
  color: var(--color-text-dark);
}

.tqlbznvc p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.kn4mp325 {
  list-style: none;
}

.kn4mp325 li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 10px var(--color-shadow);
}

.ji750m69 {
  width: 40px;
  height: 40px;
  background: var(--color-lime-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.kn4mp325 li span {
  color: var(--color-text-dark);
  font-weight: 500;
}

/* ============================================
   Section: พลังจากสมุนไพรสกัดเข้มข้น
   ============================================ */
.ipd8kqox {
  padding: 100px 0;
  background: var(--color-white);
}

.pkm8jxms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.mrx9xycq {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.mrx9xycq:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.mrx9xycq img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.q2dkwnqp {
  padding: 25px;
}

.q2dkwnqp h3 {
  color: var(--color-lime-dark);
  margin-bottom: 10px;
}

.q2dkwnqp p {
  font-size: 0.95rem;
}

/* ============================================
   Modal Styles
   ============================================ */
.gqytligh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.gqytligh.w9vxlnb8 {
  display: flex;
}

.ia7c5rs9 {
  background: white;
  border-radius: var(--border-radius);
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ndhjhwq4 {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: var(--color-sky-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ndhjhwq4:hover {
  background: var(--color-lime-green);
  color: white;
}

.xi71y9ns {
  background: var(--gradient-primary);
  padding: 30px;
  text-align: center;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.xi71y9ns h3 {
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.xi71y9ns p {
  color: var(--color-text-light);
}

.s6xma60k {
  padding: 30px;
}

/* Quiz Styles */
.j2cyoxyc {
  display: none;
}

.j2cyoxyc[data-quiz-step]:not([data-quiz-step="hidden"]) {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.furlag04 {
  margin-bottom: 25px;
}

.furlag04 h4 {
  color: var(--color-text-dark);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.y6orawl4 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

[data-quiz-option] {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: var(--color-sky-blue);
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

[data-quiz-option]:hover {
  border-color: var(--color-lime-green);
  background: white;
}

[data-quiz-option] input[type="radio"] {
  display: none;
}

[data-quiz-option="true"] {
  border-color: var(--color-lime-green);
  background: rgba(139, 195, 74, 0.1);
}

.jsm53lkz {
  flex: 1;
  color: var(--color-text-dark);
  font-weight: 500;
}

/* Form Styles */
.f1fk8l2x {
  margin-bottom: 20px;
}

.f1fk8l2x label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-dark);
  font-weight: 500;
}

.f1fk8l2x input,
.f1fk8l2x select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--color-sky-blue);
  border-radius: var(--border-radius-sm);
  font-family: "Sarabun", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.f1fk8l2x input:focus,
.f1fk8l2x select:focus {
  outline: none;
  border-color: var(--color-lime-green);
}

.p185kf29 {
  width: 100%;
  padding: 18px;
  background: linear-gradient(
    135deg,
    var(--color-lime-green),
    var(--color-lime-dark)
  );
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: "Kanit", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.p185kf29:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
}

.tfc61w49 {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}

.o5frkaar {
  width: 10px;
  height: 10px;
  background: var(--color-sky-blue);
  border-radius: 50%;
  transition: var(--transition);
}

.o5frkaar[data-progress-dot="w9vxlnb8"] {
  background: var(--color-lime-green);
}

.o5frkaar[data-progress-dot="completed"] {
  background: var(--color-lime-dark);
}

.aij0y7jx {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.xsbf0f1p {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: "Kanit", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.n4rnvcns {
  background: var(--color-sky-blue);
  color: var(--color-text-dark);
}

.n4rnvcns:hover {
  background: #b2dfdb;
}

.b6wn7rbt {
  background: var(--color-lime-green);
  color: white;
}

.b6wn7rbt:hover {
  background: var(--color-lime-dark);
}

/* Success Message */
.rk2l05gk {
  text-align: center;
  padding: 30px 20px;
}

.jmirw3e8 {
  width: 80px;
  height: 80px;
  background: var(--color-lime-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
  color: white;
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.rk2l05gk h4 {
  color: var(--color-text-dark);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.rk2l05gk p {
  color: var(--color-text-light);
  margin-bottom: 25px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-text-dark);
  color: white;
  padding: 60px 0 30px;
}

.urr4ult0 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.qs1sp5hz .mt4hjt5q {
  color: white;
  margin-bottom: 20px;
}

.qs1sp5hz p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.asc67gt1 h4 {
  color: white;
  margin-bottom: 20px;
}

.asc67gt1 ul {
  list-style: none;
}

.asc67gt1 li {
  margin-bottom: 12px;
}

.asc67gt1 a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.asc67gt1 a:hover {
  color: var(--color-lime-green);
}

.ulk8ffwe p {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.sfis85rc {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.sfis85rc a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 10px;
}

.sfis85rc a:hover {
  color: var(--color-lime-green);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .gk699xn0 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pkm8jxms {
    grid-template-columns: repeat(2, 1fr);
  }

  .urr4ult0 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }

  .dcduu1fi {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-card);
  }

  .dcduu1fi[data-menu-open="true"] {
    display: flex;
  }

  .fz988z3s {
    display: flex;
  }

  .fz988z3s[data-menu-open="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .fz988z3s[data-menu-open="true"] span:nth-child(2) {
    opacity: 0;
  }

  .fz988z3s[data-menu-open="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .s7h42eoz .e8ik4cn0 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bu7hq6pz {
    text-align: center;
  }

  .bu7hq6pz h1 {
    font-size: 2rem;
  }

  .ra5wz60r {
    order: -1;
  }

  .ra5wz60r img {
    height: 300px;
  }

  .sziygx60 {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  .lcljcxjj {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gk699xn0 {
    grid-template-columns: 1fr;
  }

  .pkm8jxms {
    grid-template-columns: 1fr;
  }

  .urr4ult0 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .e8ik4cn0 {
    padding: 0 15px;
  }

  .mzcsgup9 {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .ia7c5rs9 {
    margin: 10px;
  }

  .aij0y7jx {
    flex-direction: column;
  }
}
