/* 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;
}

.mxer13sl {
  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;
}

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

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

.yp8vvfmb {
  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;
}

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

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

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

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

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

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

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

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

.q86p2q4s::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;
}

.zyvf8461 {
  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;
}

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

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

.fngj9jg3 {
  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;
}

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

.g4xyutzo {
  position: relative;
}

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

.m9g02uzp {
  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 */
.w19ewosv {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.gcxt7kuu {
  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;
}

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

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

.rlq464vt {
  padding: 25px;
}

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

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

.w158oo4l {
  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;
}

.w158oo4l .s04wozd9 {
  color: var(--primary-blue);
  font-weight: 600;
}

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

.ctakcorj:hover {
  gap: 10px;
}

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

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

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

/* Self-Diagnosis Form */
.vg4jvujk .iq1itgxj {
  margin-bottom: 20px;
}

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

.vg4jvujk select,
.vg4jvujk 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;
}

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

.li0xku8e {
  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;
}

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

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

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

.sd3lsbsx 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%);
}

.gqa3e8x9 {
  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);
}

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

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

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

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

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

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

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

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

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

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

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

.p5ep7ufl {
  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 */
.yyk1cr63 {
  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;
}

.cmlihz55 {
  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);
  }
}

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

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

.gk0rjscy {
  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;
}

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

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

.dx7machc {
  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;
}

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

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

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

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

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

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

  .g4xyutzo {
    order: -1;
  }

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

  .f6v2n0r6 {
    order: -1;
  }

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

  .x8kwcka4 {
    margin: 0 auto;
  }

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

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

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

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

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

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

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

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