/* Wellness Insights Thailand - Academic & Trustworthy Theme */

/* CSS Variables */
:root {
  --primary-blue: #0D47A1;
  --sand-bg: #F5F5DC;
  --graphite-text: #263238;
  --white: #FFFFFF;
  --light-gray: #ECEFF1;
  --accent-gold: #C5A059;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sarabun', sans-serif;
  background-color: var(--light-gray);
  color: var(--graphite-text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.u2vsucvp {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.bq3n6xy9 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.inic6l3o {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t6iooxxo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
}

.e5rwa2xx {
  font-family: 'Prompt', sans-serif;
  font-size: 1.4rem;
  color: var(--primary-blue);
  font-weight: 700;
}

.e5rwa2xx span {
  color: var(--accent-gold);
}

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

.tukjvry4 a {
  font-family: 'Prompt', sans-serif;
  font-size: 0.95rem;
  color: var(--graphite-text);
  padding: 8px 0;
  position: relative;
}

.tukjvry4 a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

.tukjvry4 a:hover {
  color: var(--primary-blue);
}

.tukjvry4 a:hover::after {
  width: 100%;
}

/* Hero Section */
.m6ch1vac {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1565C0 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.m6ch1vac::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1920&q=80') center/cover;
  opacity: 0.1;
}

.ahx1x0cv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pvpbpa8e h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.pvpbpa8e p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.vr63skf8 {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vr63skf8:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.d6y3xt64 {
  position: relative;
}

.d6y3xt64 img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.ed5u6hgx {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--white);
  color: var(--primary-blue);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
}

/* Main Content Layout */
.kt5np903 {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Articles Section */
.mona9n9x h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent-gold);
  display: inline-block;
}

.u5zggzi2 {
  background-color: var(--sand-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.ktmwlabe {
  padding: 25px;
}

.u5zggzi2 h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary-blue);
}

.u5zggzi2 p {
  color: var(--graphite-text);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.cpf4gpkl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  color: #666;
}

.cpf4gpkl .a0iejqxj {
  color: var(--primary-blue);
  font-weight: 600;
}

.l5ncnz5y {
  color: var(--primary-blue);
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.l5ncnz5y:hover {
  gap: 10px;
}

/* Sidebar */
.j9qz0fgy {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.yrh3wu6b {
  background-color: var(--white);
  border-radius: 8px;
  padding: 25px;
  box-shadow: var(--shadow);
}

.yrh3wu6b h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-blue);
}

/* Self-Diagnosis Form */
.a7fjho46 .bcjn2pec {
  margin-bottom: 20px;
}

.a7fjho46 label {
  display: block;
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--graphite-text);
  font-size: 0.9rem;
}

.a7fjho46 select,
.a7fjho46 input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Sarabun', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.a7fjho46 select:focus,
.a7fjho46 input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.mhyoxyuc {
  width: 100%;
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  border-radius: 4px;
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mhyoxyuc:hover {
  background-color: #083275;
}

/* Expert Section */
.etp8jzs5 {
  background-color: var(--white);
  padding: 60px 0;
}

.dnq01901 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.etp8jzs5 h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent-gold);
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.cvi9f5bb {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  background-color: var(--sand-bg);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.ckds613w {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.f15nz4r6 h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.ggv53ch6 {
  color: var(--accent-gold);
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
}

.f15nz4r6 blockquote {
  font-style: italic;
  border-left: 4px solid var(--primary-blue);
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--graphite-text);
}

.f15nz4r6 p {
  margin-bottom: 15px;
}

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

.iqxi171o {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.iy4h99bs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.xc16pq7d h4 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.xc16pq7d p,
.xc16pq7d a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.8;
}

.xc16pq7d a:hover {
  color: var(--accent-gold);
}

.xgzimi9s {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.v59qlve7 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.j0gf3z1g {
  background-color: var(--white);
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalSlideIn 0.3s ease;
}

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

.i47v1td2 {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--graphite-text);
  transition: color 0.3s ease;
}

.i47v1td2:hover {
  color: var(--primary-blue);
}

.fsvzlf0m {
  width: 80px;
  height: 80px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 40px;
}

.j0gf3z1g h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.j0gf3z1g p {
  color: var(--graphite-text);
  margin-bottom: 25px;
  font-size: 1rem;
}

.irissri8 {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 4px;
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.irissri8:hover {
  transform: translateY(-2px);
}

/* Canvas Chart Container */
.qur2cdvu {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: var(--shadow);
}

.qur2cdvu h4 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

#healthChart {
  width: 100%;
  height: 250px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .ahx1x0cv {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .d6y3xt64 {
    order: -1;
  }

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

  .j9qz0fgy {
    order: -1;
  }

  .cvi9f5bb {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ckds613w {
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .bq3n6xy9 {
    flex-direction: column;
    gap: 15px;
  }

  .tukjvry4 {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pvpbpa8e h1 {
    font-size: 1.6rem;
  }

  .ed5u6hgx {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.highlight {
  color: var(--accent-gold);
}
