/* ========================================
   Eye Care Academy - EdTech Style
   Color Palette:
   - Background: #FAFAFA
   - Deep Teal: #006064
   - Soft Yellow: #FFF176
   ======================================== */

/* CSS Variables */
:root {
  --bg-color: #fafafa;
  --deep-teal: #006064;
  --deep-teal-light: #00838f;
  --soft-yellow: #fff176;
  --soft-yellow-dark: #fdd835;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a5a;
  --text-light: #7a7a8a;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 96, 100, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 96, 100, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 96, 100, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-heading: "Mitr", sans-serif;
  --font-body: "Sarabun", sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

/* Buttons */
.fpjqamdv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  gap: 8px;
}

.cvkeuv7g {
  background: linear-gradient(
    135deg,
    var(--deep-teal) 0%,
    var(--deep-teal-light) 100%
  );
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.oyr4l7bh {
  border: 2px solid var(--deep-teal);
  color: var(--deep-teal);
  background: transparent;
}

.oyr4l7bh:hover {
  background: var(--deep-teal);
  color: var(--white);
}

.rzhxh58p {
  padding: 16px 40px;
  font-size: 18px;
  border-radius: var(--radius-lg);
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 16px 0;
}

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

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

.t7j39242 {
  width: 48px;
  height: 48px;
}

.so8p97ea {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--deep-teal);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.e56u30t1 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text-medium);
  transition: var(--transition);
}

.e56u30t1:hover {
  color: var(--deep-teal);
}

.e56u30t1.rfuesqmu {
  background: var(--deep-teal);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-md);
}

.e56u30t1.rfuesqmu:hover {
  background: var(--deep-teal-light);
  color: var(--white);
}

.qwnhmfnd {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.qwnhmfnd span {
  width: 24px;
  height: 2px;
  background: var(--deep-teal);
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.v5hub0ad {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-color) 100%);
}

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

.caxabv9y {
  max-width: 600px;
}

.isg3qzc9 {
  display: inline-block;
  background: var(--soft-yellow);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.gbk68d3j {
  font-size: 48px;
  color: var(--deep-teal);
  margin-bottom: 16px;
}

.qg3vmyv1 {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 32px;
  line-height: 1.8;
}

.v56c1z1y {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.d7a9nvl0 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  font-size: 15px;
}

.yppuror1 {
  width: 20px;
  height: 20px;
  color: var(--deep-teal);
}

.llwqlhi1 {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.llwqlhi1 img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.alekctps {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
}

.tjphbjne {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.rz9vumhk {
  display: block;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--deep-teal);
}

.u0zi92mz {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: -4px;
}

.enbn3ubv {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

/* ========================================
   Section Styles
   ======================================== */
.a1g9juxy {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.e6p6zj5s {
  display: inline-block;
  background: var(--soft-yellow);
  color: var(--text-dark);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.ru3htdee {
  font-size: 40px;
  color: var(--deep-teal);
  margin-bottom: 16px;
}

.yspm4qa0 {
  font-size: 18px;
  color: var(--text-medium);
  line-height: 1.8;
}

/* ========================================
   Blue Light Section
   ======================================== */
.hf6fqeu7 {
  padding: 100px 0;
  background: var(--white);
}

.wbcs80vh {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 60px;
}

.jdp394gl {
  background: var(--bg-color);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.jdp394gl:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ompdh99r {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.ompdh99r svg {
  width: 100%;
  height: 100%;
}

.dymunszf {
  font-size: 20px;
  color: var(--deep-teal);
  margin-bottom: 12px;
}

.npys8rbm {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
}

.wojdy03o {
  display: flex;
  justify-content: center;
}

.wojdy03o svg {
  width: 80px;
  height: 50px;
}

.tg3j5ftm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 40px;
  background: linear-gradient(
    135deg,
    var(--deep-teal) 0%,
    var(--deep-teal-light) 100%
  );
  border-radius: var(--radius-xl);
  color: var(--white);
}

.lnix18ws {
  text-align: center;
}

.v1xfuz6m {
  display: block;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--soft-yellow);
}

.zl3eqha5 {
  display: block;
  font-size: 15px;
  opacity: 0.9;
  margin-top: 8px;
}

.fjzakuwy {
  width: 2px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Techniques Section
   ======================================== */
.q43xhqhp {
  padding: 100px 0;
  background: var(--bg-color);
}

.fk9hfab5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.az9wek2c {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.az9wek2c::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--deep-teal);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.az9wek2c:hover::before {
  transform: scaleX(1);
}

.az9wek2c.rmj01o32 {
  background: linear-gradient(
    135deg,
    var(--deep-teal) 0%,
    var(--deep-teal-light) 100%
  );
  color: var(--white);
}

.az9wek2c.rmj01o32 .q2smxat5,
.az9wek2c.rmj01o32 .gnnqdewp {
  color: var(--white);
}

.az9wek2c.rmj01o32 .tpzexf30 li {
  color: rgba(255, 255, 255, 0.9);
}

.az9wek2c.rmj01o32 .oyr4l7bh {
  border-color: var(--white);
  color: var(--white);
}

.az9wek2c.rmj01o32 .oyr4l7bh:hover {
  background: var(--white);
  color: var(--deep-teal);
}

.afpnfq14 {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 700;
  color: rgba(0, 96, 100, 0.08);
  line-height: 1;
}

.az9wek2c.rmj01o32 .afpnfq14 {
  color: rgba(255, 255, 255, 0.15);
}

.n6d1ktdy {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.n6d1ktdy svg {
  width: 100%;
  height: 100%;
}

.q2smxat5 {
  font-size: 24px;
  color: var(--deep-teal);
  margin-bottom: 16px;
}

.gnnqdewp {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 24px;
  line-height: 1.7;
}

.tpzexf30 {
  margin-bottom: 28px;
}

.tpzexf30 li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-medium);
  font-size: 15px;
}

.tpzexf30 li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--deep-teal);
  font-weight: 600;
}

/* ========================================
   Quiz Section
   ======================================== */
.ih9tutfq {
  padding: 100px 0;
  background: var(--white);
}

.gceckiao {
  max-width: 800px;
  margin: 0 auto;
}

.q0h1g0ez {
  background: var(--bg-color);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.tyqqs9ro {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.tyqqs9ro:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.vtebg2ve {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: 500;
}

.sb9pgtzm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.dnudzpan {
  position: relative;
}

.dnudzpan input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.hyv6i0on {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.dnudzpan:hover .hyv6i0on {
  border-color: var(--deep-teal-light);
  background: rgba(0, 96, 100, 0.02);
}

.dnudzpan input:checked + .hyv6i0on {
  border-color: var(--deep-teal);
  background: rgba(0, 96, 100, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 96, 100, 0.1);
}

.xm3wrjnq {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
}

.ndu8ewz4 {
  font-size: 13px;
  color: var(--text-light);
}

.syf24z50 {
  width: 100%;
  margin-top: 20px;
}

/* ========================================
   Experts Section
   ======================================== */
.zyzfoj0d {
  padding: 100px 0;
  background: var(--bg-color);
}

.o9mg4d3e {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.zba7yh0x {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: var(--transition);
}

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

.bme84jf5 {
  overflow: hidden;
}

.bme84jf5 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.vair8jqe {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rs3b5dal {
  font-size: 24px;
  color: var(--deep-teal);
  margin-bottom: 8px;
}

.c5si4nto {
  font-size: 15px;
  color: var(--deep-teal-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.be9qfcp4 {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hnnatzt0 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.xrcd7wft {
  background: var(--soft-yellow);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--deep-teal);
  color: var(--white);
  padding: 80px 0 40px;
}

.xhhjjwml {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.tew7u7p4 .bp75r39u {
  margin-bottom: 20px;
}

.tew7u7p4 .t7j39242 {
  stroke: var(--white);
  fill: none;
}

.tew7u7p4 .so8p97ea {
  color: var(--white);
}

.ds4gemj6 {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 24px;
  line-height: 1.7;
}

.mp31d7um {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  opacity: 0.85;
}

.mp31d7um svg {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.jfcsi7tl {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--soft-yellow);
}

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

.xzd1heus a {
  font-size: 15px;
  opacity: 0.85;
  transition: var(--transition);
}

.xzd1heus a:hover {
  opacity: 1;
  color: var(--soft-yellow);
}

.swgqz6d5 {
  display: flex;
  gap: 12px;
}

.m0xpb16e {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.m0xpb16e:hover {
  background: var(--soft-yellow);
}

.m0xpb16e svg {
  width: 22px;
  height: 22px;
  color: var(--deep-teal);
}

.s9l59yfs {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

/* ========================================
   Modal
   ======================================== */
.un8quu1y {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.pej75u6c {
  position: relative;
  background: var(--white);
  padding: 60px 48px;
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  transition: var(--transition);
}

.risqnjpm {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  border-radius: 50%;
  transition: var(--transition);
}

.risqnjpm:hover {
  background: var(--border-color);
}

.risqnjpm svg {
  width: 20px;
  height: 20px;
  color: var(--text-medium);
}

.d6slvg7g {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
}

.d6slvg7g svg {
  width: 100%;
  height: 100%;
}

.rgdres57 {
  font-size: 28px;
  color: var(--deep-teal);
  margin-bottom: 16px;
}

.t9drkyyn {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 32px;
  line-height: 1.7;
}

.pkugkv7a {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gmqemjyj {
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  transition: var(--transition);
}

.gmqemjyj:focus {
  outline: none;
  border-color: var(--deep-teal);
}

.ax3c8hln {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
}

.gmq7zm62 {
  margin-top: 24px;
  padding: 20px;
  background: rgba(0, 128, 0, 0.1);
  border-radius: var(--radius-md);
  animation: fadeIn 0.3s ease;
}

.g8l8i9l2 {
  font-size: 16px;
  color: var(--deep-teal);
  font-weight: 600;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .l4p9g56v {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .caxabv9y {
    max-width: 100%;
    text-align: center;
  }

  .v56c1z1y {
    justify-content: center;
  }

  .llwqlhi1 {
    max-width: 500px;
    margin: 0 auto;
  }

  .llwqlhi1 img {
    height: 500px;
  }

  .wbcs80vh {
    grid-template-columns: repeat(3, 1fr);
  }

  .wojdy03o {
    grid-row: 2;
    grid-column: 2;
  }

  .wojdy03o svg {
    transform: rotate(90deg);
    width: 50px;
    height: 80px;
  }

  .fk9hfab5 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .zba7yh0x {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .bme84jf5 img {
    min-height: 200px;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .qwnhmfnd {
    display: flex;
  }

  .qwnhmfnd.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .qwnhmfnd.active span:nth-child(2) {
    opacity: 0;
  }

  .qwnhmfnd.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .v5hub0ad {
    padding: 120px 0 60px;
  }

  .gbk68d3j {
    font-size: 32px;
  }

  .qg3vmyv1 {
    font-size: 16px;
  }

  .ru3htdee {
    font-size: 28px;
  }

  .yspm4qa0 {
    font-size: 16px;
  }

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

  .wojdy03o {
    grid-row: auto;
    grid-column: auto;
  }

  .wojdy03o svg {
    transform: rotate(90deg);
    width: 50px;
    height: 80px;
  }

  .tg3j5ftm {
    flex-direction: column;
    gap: 32px;
  }

  .fjzakuwy {
    width: 50px;
    height: 2px;
  }

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

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

  .q0h1g0ez {
    padding: 32px 24px;
  }

  .xhhjjwml {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pej75u6c {
    padding: 40px 24px;
  }

  .rgdres57 {
    font-size: 22px;
  }
}

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

  .gbk68d3j {
    font-size: 26px;
  }

  .rzhxh58p {
    padding: 14px 28px;
    font-size: 16px;
  }

  .ru3htdee {
    font-size: 24px;
  }
}
