/* =========================================
   Kyaw Dentist Clinic — Mobile-first CSS
   ========================================= */

/* REPLACE: COLORS (edit these to change whole site) */
:root{
  --primary: #1E64FF;
  --primary-deep: #0B2D6B;
  --accent-soft: #EAF2FF;

  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;

  --good: #16A34A;
  --shadow: 0 10px 30px rgba(2, 8, 23, .08);

  --radius: 18px;
  --radius-sm: 14px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Noto Sans Myanmar", "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(30,100,255,.12), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(14,165,233,.10), transparent 55%),
              var(--bg);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.mm{ display:block; }
.en{
  display:block;
  color: var(--muted);
  font-size: .92em;
  margin-top: 2px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

/* Topbar */
.topbar{
  background: linear-gradient(90deg, rgba(30,100,255,.10), rgba(30,100,255,.05));
  border-bottom: 1px solid rgba(226,232,240,.8);
}
.topbar__inner{ padding: 8px 0; }
.topbar__text{
  margin: 0;
  font-size: .92rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248,250,252,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.9);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.brand__icon{
  width: 42px;
  height: 42px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30,100,255,.16), rgba(30,100,255,.06));
  color: var(--primary);
  border: 1px solid rgba(30,100,255,.18);
}
.brand__text{
  display:flex;
  flex-direction:column;
  line-height: 1.15;
  min-width: 0;
}
.brand__mm{
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__en{
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav */
.nav a{
  font-weight: 600;
  color: var(--primary-deep);
  opacity: .92;
}
.nav a:hover{ opacity: 1; }
.nav--desktop{
  display:none;
  gap: 18px;
}
.nav--mobile a{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 12px;
}
.nav--mobile a:hover{
  background: rgba(30,100,255,.08);
}

.header__ctas{
  display:flex;
  align-items:center;
  gap: 10px;
}
.menu-btn{
  width: 46px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  display:grid;
  place-items:center;
  box-shadow: 0 6px 18px rgba(2,8,23,.06);
}
.menu-btn__bars{
  width: 18px;
  height: 12px;
  position: relative;
}
.menu-btn__bars::before,
.menu-btn__bars::after,
.menu-btn__bars{
  background: transparent;
}
.menu-btn__bars::before,
.menu-btn__bars::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height: 2px;
  background: var(--primary-deep);
  border-radius: 2px;
}
.menu-btn__bars::before{ top: 0; }
.menu-btn__bars::after{ bottom: 0; }
.menu-btn__bars{
  display:block;
}
.menu-btn__bars span{
  display:none;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor:pointer;
  font-weight: 700;
  min-height: 44px;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ box-shadow: 0 10px 22px rgba(2,8,23,.08); }
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: linear-gradient(135deg, var(--primary), #2AA3FF);
  border-color: rgba(30,100,255,.2);
  color: white;
}
.btn--primary:hover{ box-shadow: 0 14px 30px rgba(30,100,255,.20); }

.btn--ghost{
  background: rgba(255,255,255,.7);
}
.btn--sm{
  padding: 9px 12px;
  min-height: 40px;
}
.btn--full{ width: 100%; }
.btn__sub{
  display:none;
  font-size: .82em;
  opacity: .92;
  margin-left: 6px;
}

/* Mobile menu drawer */
.mobile-menu{
  position: fixed;
  inset: 0;
  display:none;
}
.mobile-menu.is-open{ display:block; }
.mobile-menu__backdrop{
  position:absolute;
  inset:0;
  border:0;
  background: rgba(2, 8, 23, .45);
}
.mobile-menu__panel{
  position:absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px;
  transform-origin: top right;
  animation: pop .18s ease;
}
@keyframes pop{
  from{ transform: translateY(-8px) scale(.98); opacity: .6; }
  to{ transform: translateY(0) scale(1); opacity: 1; }
}
.mobile-menu__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mobile-menu__title{
  font-weight: 800;
  color: var(--primary-deep);
}
.icon-btn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor:pointer;
}
.mobile-menu__ctas{
  display:grid;
  gap: 10px;
  margin-top: 10px;
}
.mobile-menu__note{
  margin: 12px 6px 2px;
  color: var(--muted);
  font-size: .92rem;
}

/* Hero */
.hero{
  position: relative;
  padding: 32px 0 18px;
  overflow: hidden;
}

/* Background photo */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("assets/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.2) contrast(1.15) brightness(0.95); /* ✅ ADD THIS */
  z-index: -2;
}


/* Soft white overlay so text stays readable */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,
      rgba(248,250,252,.18) 0%,
      rgba(248,250,252,.04) 45%,
      rgba(248,250,252,.20) 100%);
  z-index: -1;
}

/* ✅ ONE big glass panel behind BOTH columns (left + right) */
.hero__inner{
  position: relative;
  padding: 16px;            /* space inside the big panel */
  border-radius: 28px;
}

.hero__inner::before{
  content:"";
  position: absolute;
  inset: 0;

  /* panel look */
  background: linear-gradient(90deg,
    rgba(248,250,252,.78) 0%,
    rgba(248,250,252,.62) 55%,
    rgba(248,250,252,.38) 100%);
  border: 1px solid rgba(226,232,240,.90);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(2,8,23,.12);

  border-radius: 28px;
  z-index: 0;
}

/* ✅ keep content ABOVE the panel */
.hero__copy,
.hero__visual{
  position: relative;
  z-index: 1;
}
/* ✅ Force hero text to be LEFT */
.hero__copy,
.hero__title,
.hero__subtitle{
  text-align: left;
}

/* ✅ Pill text also left */
.pill{
  align-items: flex-start;  /* important */
  text-align: left;
}



/* Glass panel behind the hero text area */
.hero__copy{
  position: relative;

  /* ✅ soft glass panel ONLY for the left content */
  background: rgba(248,250,252,.68);
  border: 1px solid rgba(226,232,240,.90);
  border-radius: 24px;
  padding: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(2,8,23,.12);

  /* ✅ prevents “big cover” */
  width: min(760px, 100%);
}

/* ✅ Make the hero text always readable */
.hero__title{
  color: #0B2D6B;                 /* deep blue */
  text-shadow: 0 2px 18px rgba(2,8,23,.12);
}
.hero__subtitle{
  color: rgba(15,23,42,.82);
  text-shadow: 0 2px 12px rgba(2,8,23,.10);
}

/* ✅ Make ghost buttons readable on photo */
.hero__ctas .btn--ghost{
  background: rgba(255,255,255,.92);
  border-color: rgba(226,232,240,.95);
}




.pill{
  display:inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 999px;

  /* ✅ Blue + bright */
  background: linear-gradient(135deg, rgba(30,100,255,.30), rgba(42,163,255,.16));
  border: 1px solid rgba(30,100,255,.45);
  box-shadow: 0 10px 24px rgba(30,100,255,.16);

  width: fit-content;
}

.pill .mm{
  color: #0B2D6B;
  font-weight: 800;
}
.pill .en{
  color: rgba(11,45,107,.80);
  font-weight: 600;
}

.hero__title{
  margin: 14px 0 10px;
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero__subtitle{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.02rem;
}
.hero__ctas{
  display:grid;
  gap: 10px;
}
.hero__micro{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}
.micro-card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  padding: 12px 14px;
}
.micro-card strong{
  color: var(--primary-deep);
}
.micro-card__value{
  display:block;
  font-weight: 700;
  margin-top: 6px;
  color: var(--text);
}
.hero__visual{
  display:none;
}
.hero-card{
  border-radius: 26px;
  border: 1px solid rgba(30,100,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65));
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset: -120px -80px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 30% 30%, rgba(30,100,255,.35), transparent 60%);
  transform: rotate(20deg);
}
.hero-card__badge{
  display:inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(30,100,255,.10);
  border: 1px solid rgba(30,100,255,.18);
  font-weight: 800;
  color: var(--primary-deep);
  position: relative;
}
.hero-card__title{
  font-weight: 900;
  font-size: 1.25rem;
  margin-top: 12px;
  position: relative;
}
.hero-card__list{
  margin-top: 12px;
  display:grid;
  gap: 8px;
  color: var(--muted);
  position: relative;
}
.hero-card__hint{
  margin-top: 14px;
  font-weight: 700;
  color: var(--primary-deep);
  opacity: .9;
  position: relative;
}

/* Trustbar */
.trustbar{
  padding: 14px 0 8px;
}
.trustbar__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.trust{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 12px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
}
.trust__icon{
  width: 40px;
  height: 40px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(30,100,255,.10);
  border: 1px solid rgba(30,100,255,.14);
}
.trust__title{
  font-weight: 800;
  color: var(--primary-deep);
  font-size: .98rem;
}
.trust__sub{
  margin-top: 2px;
}

/* Sections */
.section{
  padding: 56px 0;
}
.section--alt{
  background: linear-gradient(180deg, rgba(234,242,255,.55), rgba(248,250,252,0));
  border-top: 1px solid rgba(226,232,240,.7);
  border-bottom: 1px solid rgba(226,232,240,.7);
}
.section__head{
  margin-bottom: 18px;
}
.section__title{
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.25;
}
.section__desc{
  margin: 0;
  color: var(--muted);
}
.section__cta{
  margin-top: 18px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.section__cta--tight{ margin-top: 12px; }

.grid{
  display:grid;
  gap: 12px;
}
.two{ grid-template-columns: 1fr; }
.three{ grid-template-columns: 1fr; }

/* Cards */
.cards{ margin-top: 10px; }
.card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 25px rgba(2,8,23,.06);
  padding: 16px 16px;
}
.card__title{
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.card__text{
  margin: 0;
  color: var(--muted);
}
.card--doctor{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.avatar{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  font-weight: 900;
  color: var(--primary-deep);
  background: rgba(30,100,255,.12);
  border: 1px solid rgba(30,100,255,.18);
}
.mini-list{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 8px;
  color: var(--muted);
}
.mini-list li{
  padding-left: 18px;
  position: relative;
}
.mini-list li::before{
  content: "•";
  position:absolute;
  left: 6px;
  color: var(--primary);
}

/* Schedule */
.schedule{
  margin-top: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  padding: 16px;
  box-shadow: 0 10px 25px rgba(2,8,23,.06);
}
.schedule__head{ margin-bottom: 10px; }
.schedule__title{ margin: 0 0 6px; font-size: 1.05rem; }
.schedule__sub{ margin: 0; color: var(--muted); }
.schedule__grid{
  margin-top: 10px;
  display:grid;
  gap: 8px;
}
.schedule__row{
  display:grid;
  grid-template-columns: 70px 1fr 150px;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.85);
  background: rgba(248,250,252,.75);
  font-size: .95rem;
}
.schedule__row--head{
  font-weight: 800;
  background: rgba(234,242,255,.7);
  border-color: rgba(30,100,255,.16);
  color: var(--primary-deep);
}
.schedule__row--closed{
  opacity: .75;
}

/* Safety chips */
.safety{
  margin-top: 16px;
}
.safety__title{
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.chip{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 25px rgba(2,8,23,.05);
}
.chip__icon{
  width: 40px;
  height: 40px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(30,100,255,.10);
  border: 1px solid rgba(30,100,255,.14);
}
.chip__title{ font-weight: 800; color: var(--primary-deep); }
.chip__sub{ margin-top: 2px; }

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
/* Caption BELOW the photo (always readable) */
.photo{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.photo__cap{
  padding: 10px 12px;
  background: rgba(255,255,255,.94);
  border-top: 1px solid rgba(226,232,240,.85);
}

.photo__label{
  color: #0F172A;
  font-weight: 900;
}

.photo__sub{
  color: rgba(15,23,42,.65);
  font-size: .92rem;
}


/* remove old overlay feeling (we won't use .photo__ph anymore) */
.photo__cap{
  padding: 10px 12px;
  background: rgba(255,255,255,.94);
  border-top: 1px solid rgba(226,232,240,.85);
}

.photo__label{
  color: #0F172A;      /* ✅ black text */
  font-weight: 900;
}

.photo__sub{
  color: rgba(15,23,42,.65);
  font-size: .92rem;
}

.photo.is-real{
  background-size: cover;
  background-position: center;
}
.photo__ph{
  position:absolute;
  inset: 0;
  padding: 14px;
  display:flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent, rgba(2,8,23,.10));
}
.photo__label{
  font-weight: 900;
  color: #000; /* ✅ black */
}

.photo__sub{
  color:  #000; /* ✅ black */
  font-size: .92rem;
}

/* FAQ */
.faq{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}
.faq__item{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 25px rgba(2,8,23,.06);
  overflow:hidden;
}
.faq__q{
  list-style: none;
  cursor: pointer;
  padding: 14px 14px;
  font-weight: 900;
  color: var(--primary-deep);
  display:flex;
  justify-content: space-between;
  gap: 10px;
}
.faq__q::-webkit-details-marker{ display:none; }
.faq__q::after{
  content: "＋";
  font-weight: 900;
  opacity: .8;
}
details[open] .faq__q::after{
  content: "－";
}
.faq__a{
  padding: 0 14px 14px;
  color: var(--muted);
}

/* Hours */
.info-list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.address{
  margin: 10px 0 0;
  font-weight: 800;
  color: var(--text);
}
.note{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(30,100,255,.16);
  background: rgba(234,242,255,.55);
}
.note__icon{
  width: 36px;
  height: 36px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(30,100,255,.12);
}
.note__text{
  margin: 0;
  color: var(--primary-deep);
  font-weight: 700;
}

.muted{ color: var(--muted); margin: 12px 0 0; }

/* Contact */
.contact-buttons{
  display:grid;
  gap: 10px;
  margin-top: 10px;
}
.divider{
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Form */
.form{ margin-top: 12px; }
.form__row{ margin-bottom: 12px; }
.label{
  display:flex;
  flex-direction: column;
  font-weight: 900;
  color: var(--primary-deep);
  margin-bottom: 6px;
}
input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(30,100,255,.45);
  box-shadow: 0 0 0 4px rgba(30,100,255,.14);
}
.hint{
  display:flex;
  flex-direction: column;
  margin-top: 6px;
  color: var(--muted);
  font-size: .92rem;
}
.error{
  display:block;
  color: #B91C1C;
  font-weight: 700;
  margin-top: 6px;
  min-height: 18px;
}
.form__after{
  margin-top: 10px;
  color: var(--muted);
}

/* Floating CTA (mobile) */
.float-cta{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display:flex;
  gap: 10px;
  z-index: 900;
}
.float-cta__btn{
  flex: 1;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.88);
  padding: 12px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(2,8,23,.12);
}
.float-cta__btn--primary{
  background: linear-gradient(135deg, var(--primary), #2AA3FF);
  color: white;
  border-color: rgba(30,100,255,.2);
}
.float-cta__text{ font-size: .98rem; }

/* Footer */
.footer{
  padding: 26px 0 86px; /* extra bottom for floating CTA */
  border-top: 1px solid rgba(226,232,240,.9);
}
.footer__inner{
  display:flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}
.footer__muted{ margin: 0; }

/* Responsive (desktop) */
@media (min-width: 860px){
  .nav--desktop{ display:flex; }
  .menu-btn{ display:none; }
  .hero{ padding: 44px 0 18px; }
  .hero__inner{ grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; }
  .hero__ctas{ grid-template-columns: 1fr 1fr; }
  .hero__visual{ display:block; }
  .trustbar__grid{ grid-template-columns: repeat(6, 1fr); }
  .trust{ padding: 12px 14px; }
  .two{ grid-template-columns: 1fr 1fr; }
  .three{ grid-template-columns: 1fr 1fr 1fr; }
  .gallery{ grid-template-columns: repeat(4, 1fr); }
  .float-cta{ display:none; }
  .footer{ padding-bottom: 26px; }
  .btn__sub{ display:inline; font-weight: 700; opacity: .85; }
}
