/* =========================================================
   ISHA DENTAL CARE — additions on top of the base design
   (logo image, real photos, blog article, form messages)
   ========================================================= */
html {
  overflow-x: clip;
}

/* Logo image in navbar / footer */
.logo-img img {
  height: 46px;
  width: auto;
}

.footer-logo img {
  height: 64px;
}

/* Optional fields: keep the floating label down until something is typed */
.input-group input:not([required]):placeholder-shown:not(:focus)+label,
.input-group textarea:not([required]):placeholder-shown:not(:focus)+label {
  top: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: transparent;
  font-weight: 400;
}

.input-group input[type="date"]+label {
  top: -0.55rem;
  font-size: 0.75rem;
  color: var(--primary);
  background: #fff;
  font-weight: 500;
}

/* Real photos inside the gradient frames */
.photo-frame {
  padding: 10px;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  position: relative;
  z-index: 1;
}

.about-image.photo-frame img,
.featured-image.photo-frame img {
  object-position: center 20%;
}

.doctor-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.doctor-img.tall {
  height: 340px;
}

.blog-img img,
.featured-post-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-img .blog-tag,
.featured-post-img .blog-tag {
  z-index: 2;
}

.blog-img::before,
.featured-post-img::before {
  z-index: 1;
}

/* Hero visual: logo mark card */
.hero-img .hero-mark {
  width: 70%;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: 0 20px 50px rgba(21, 36, 69, 0.25);
}

/* Doctor profile on home + doctor page */
.doctor-profile .about-visual {
  height: 520px;
}

.qual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
}

.qual-chips span {
  padding: 0.45rem 1rem;
  border-radius: 30px;
  background: rgba(19, 159, 194, 0.1);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.rank-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  margin-bottom: 1.8rem;
}

.rank-card i {
  font-size: 1.8rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rank-card p {
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Testimonials empty state */
.reviews-cta {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  max-width: 720px;
  margin: 0 auto;
}

.reviews-cta .quote-icon {
  opacity: 0.8;
}

.reviews-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-card .stars-row {
  color: #fbbf24;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

/* Services page detail blocks */
.service-detail {
  scroll-margin-top: 120px;
  margin-bottom: 5rem;
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail.flip .featured-visual {
  order: 2;
}

.featured-image .svc-big-icon {
  font-size: 9rem;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
}

/* Timings cards (pricing-card layout) */
.timing-time {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.pricing-card.muted-card {
  opacity: 0.85;
}

/* Blog single */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}

.article {
  border-radius: 30px;
  overflow: hidden;
}

.article-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.article-body {
  padding: 2.5rem;
}

.article-body .blog-meta {
  margin-bottom: 1.5rem;
}

.article-content {
  color: var(--text-dark);
  font-size: 1.02rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.article-content>*+* {
  margin-top: 1.1rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  line-height: 1.3;
  margin-top: 2rem;
}

.article-content h2 {
  font-size: 1.6rem;
}

.article-content h3 {
  font-size: 1.3rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4rem;
  list-style: revert;
}

.article-content li+li {
  margin-top: 0.4rem;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
}

.article-content img {
  border-radius: 16px;
  height: auto;
  margin: 1.5rem auto;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 0.5rem 1.2rem;
  background: rgba(19, 159, 194, 0.07);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.article-content figure {
  margin: 1.5rem 0;
}

.article-content figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

.article-content th,
.article-content td {
  border: 1px solid rgba(19, 159, 194, 0.2);
  padding: 0.6rem 0.8rem;
}

.side-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.side-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.recent-post {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.6rem 0;
}

.recent-post+.recent-post {
  border-top: 1px solid rgba(19, 159, 194, 0.12);
}

.recent-post img {
  width: 70px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.recent-post strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
}

.recent-post span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.recent-post:hover strong {
  color: var(--primary);
}

.side-card .btn {
  margin-top: 0.5rem;
}

/* Empty blog state */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius);
}

.empty-state i {
  font-size: 3rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* Map card with clinic photo */
.map-visual.has-photo {
  background-size: cover;
  background-position: center;
}

.map-visual.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 159, 194, 0.55), rgba(21, 36, 69, 0.6));
}

.map-visual.has-photo>* {
  position: relative;
}

.map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.appt-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

/* Forms */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-msg {
  font-size: 0.9rem;
  margin-top: 0.8rem;
  min-height: 0;
}

.form-msg:empty {
  display: none;
}

.form-msg.ok {
  color: #0f8a5f;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 12px;
}

.form-msg.err {
  color: #c0392b;
  background: rgba(239, 68, 68, 0.08);
  padding: 0.8rem 1rem;
  border-radius: 12px;
}

.footer-contact {
  line-height: 2;
}

.footer-contact i {
  color: var(--primary);
  width: 18px;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  left: 24px;
  bottom: 30px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
}

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

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

  .service-detail.flip .featured-visual {
    order: 0;
  }

  .doctor-profile .about-visual {
    height: 440px;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .logo-img img {
    height: 38px;
  }

  .article-body {
    padding: 1.5rem;
  }

  .service-detail {
    margin-bottom: 3.5rem;
  }

  .exp-card {
    right: 10px;
    bottom: -20px;
    padding: 1rem 1.4rem;
  }

  .exp-card h3 {
    font-size: 2.2rem;
  }

  .wa-float {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    left: 16px;
    bottom: 24px;
  }

  .scroll-top {
    right: 16px;
    bottom: 24px;
  }
}

/* Floating cards stay above photos */
.exp-card,
.featured-badge {
  z-index: 3;
}

/* Custom dental service icons */
.isha-ic { display: inline-block; width: 1.3em; height: 1.3em; background-color: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ic-braces { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath transform='' d='M24 11.5C21 8.5 17.5 7 14.5 7.5C10 8.3 7.8 12.5 8.3 18C8.8 23 10.5 26 11.5 31C12.3 35 13 42 16.5 42C19.5 42 19.8 37.5 20.5 34C21 31.3 22 29.5 24 29.5C26 29.5 27 31.3 27.5 34C28.2 37.5 28.5 42 31.5 42C35 42 35.7 35 36.5 31C37.5 26 39.2 23 39.7 18C40.2 12.5 38 8.3 33.5 7.5C30.5 7 27 8.5 24 11.5Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linejoin='round'/%3E%3Cpath d='M3 20H19M29 20H45' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='19' y='15.5' width='10' height='9' rx='1.5' fill='%23000'/%3E%3C/svg%3E"); }
.ic-implant { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M13.5 21C12.5 12.5 16.5 8 21 8C22.6 8 23 9.2 24 9.2C25 9.2 25.4 8 27 8C31.5 8 35.5 12.5 34.5 21C34.2 23.6 31 24.5 24 24.5C17 24.5 13.8 23.6 13.5 21Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19.5 28.5L22 44H26L28.5 28.5Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17 31.5H31M18 36H30M19.5 40.5H28.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 24.5V28.5M27 24.5V28.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-rootcanal { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath transform='' d='M24 11.5C21 8.5 17.5 7 14.5 7.5C10 8.3 7.8 12.5 8.3 18C8.8 23 10.5 26 11.5 31C12.3 35 13 42 16.5 42C19.5 42 19.8 37.5 20.5 34C21 31.3 22 29.5 24 29.5C26 29.5 27 31.3 27.5 34C28.2 37.5 28.5 42 31.5 42C35 42 35.7 35 36.5 31C37.5 26 39.2 23 39.7 18C40.2 12.5 38 8.3 33.5 7.5C30.5 7 27 8.5 24 11.5Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linejoin='round'/%3E%3Cpath d='M24 16.5C21 16.5 18.5 17.5 18.5 20.5C18.5 23 19.5 24 19 27C18.6 30 17.6 33.5 16.8 37' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M24 16.5C27 16.5 29.5 17.5 29.5 20.5C29.5 23 28.5 24 29 27C29.4 30 30.4 33.5 31.2 37' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-kids { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath transform='' d='M24 11.5C21 8.5 17.5 7 14.5 7.5C10 8.3 7.8 12.5 8.3 18C8.8 23 10.5 26 11.5 31C12.3 35 13 42 16.5 42C19.5 42 19.8 37.5 20.5 34C21 31.3 22 29.5 24 29.5C26 29.5 27 31.3 27.5 34C28.2 37.5 28.5 42 31.5 42C35 42 35.7 35 36.5 31C37.5 26 39.2 23 39.7 18C40.2 12.5 38 8.3 33.5 7.5C30.5 7 27 8.5 24 11.5Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linejoin='round'/%3E%3Ccircle cx='18.5' cy='18' r='2.1' fill='%23000'/%3E%3Ccircle cx='29.5' cy='18' r='2.1' fill='%23000'/%3E%3Cpath d='M18.5 23.5C21 26.5 27 26.5 29.5 23.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-laser { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath transform='translate(-6 8) scale(.82)' d='M24 11.5C21 8.5 17.5 7 14.5 7.5C10 8.3 7.8 12.5 8.3 18C8.8 23 10.5 26 11.5 31C12.3 35 13 42 16.5 42C19.5 42 19.8 37.5 20.5 34C21 31.3 22 29.5 24 29.5C26 29.5 27 31.3 27.5 34C28.2 37.5 28.5 42 31.5 42C35 42 35.7 35 36.5 31C37.5 26 39.2 23 39.7 18C40.2 12.5 38 8.3 33.5 7.5C30.5 7 27 8.5 24 11.5Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linejoin='round'/%3E%3Cpath d='M45 3L38 10' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M35 13L29.5 18.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-cosmetic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath transform='translate(-4 7) scale(.82)' d='M24 11.5C21 8.5 17.5 7 14.5 7.5C10 8.3 7.8 12.5 8.3 18C8.8 23 10.5 26 11.5 31C12.3 35 13 42 16.5 42C19.5 42 19.8 37.5 20.5 34C21 31.3 22 29.5 24 29.5C26 29.5 27 31.3 27.5 34C28.2 37.5 28.5 42 31.5 42C35 42 35.7 35 36.5 31C37.5 26 39.2 23 39.7 18C40.2 12.5 38 8.3 33.5 7.5C30.5 7 27 8.5 24 11.5Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linejoin='round'/%3E%3Cpath d='M37.5 2.5L39.74 8.26L45.5 10.5L39.74 12.74L37.5 18.5L35.26 12.74L29.5 10.5L35.26 8.26Z' fill='%23000'/%3E%3Cpath d='M41.5 22.5L42.76 25.74L46.0 27L42.76 28.26L41.5 31.5L40.24 28.26L37.0 27L40.24 25.74Z' fill='%23000'/%3E%3C/svg%3E"); }
.ic-smiledesign { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect x='5' y='7' width='38' height='27' rx='3.5' fill='none' stroke='%23000' stroke-width='2.8'/%3E%3Cpath d='M17 42H31M24 34V42' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13 16.5C17 27.5 31 27.5 35 16.5Z' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19.5 17V22.5M24 17V24.5M28.5 17V22.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-fullmouth { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M5 21C5 10 13 6 24 6C35 6 43 10 43 21Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.5 8V21M24 6.5V21M33.5 8V21' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 27C5 38 13 42 24 42C35 42 43 38 43 27Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.5 27V40M24 27V41.5M33.5 27V40' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-surgery { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath transform='translate(-5 7) scale(.82)' d='M24 11.5C21 8.5 17.5 7 14.5 7.5C10 8.3 7.8 12.5 8.3 18C8.8 23 10.5 26 11.5 31C12.3 35 13 42 16.5 42C19.5 42 19.8 37.5 20.5 34C21 31.3 22 29.5 24 29.5C26 29.5 27 31.3 27.5 34C28.2 37.5 28.5 42 31.5 42C35 42 35.7 35 36.5 31C37.5 26 39.2 23 39.7 18C40.2 12.5 38 8.3 33.5 7.5C30.5 7 27 8.5 24 11.5Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linejoin='round'/%3E%3Ccircle cx='37' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2.6'/%3E%3Cpath d='M37 7.5V16.5M32.5 12H41.5' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-crown { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath transform='translate(4.3 15.5) scale(.82 .68)' d='M24 11.5C21 8.5 17.5 7 14.5 7.5C10 8.3 7.8 12.5 8.3 18C8.8 23 10.5 26 11.5 31C12.3 35 13 42 16.5 42C19.5 42 19.8 37.5 20.5 34C21 31.3 22 29.5 24 29.5C26 29.5 27 31.3 27.5 34C28.2 37.5 28.5 42 31.5 42C35 42 35.7 35 36.5 31C37.5 26 39.2 23 39.7 18C40.2 12.5 38 8.3 33.5 7.5C30.5 7 27 8.5 24 11.5Z' fill='none' stroke='%23000' stroke-width='2.8' stroke-linejoin='round'/%3E%3Cpath d='M11 16.5L9 4.5L17 10L24 2.5L31 10L39 4.5L37 16.5Z' fill='%23000'/%3E%3C/svg%3E"); }
.ic-guided { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='17' fill='none' stroke='%23000' stroke-width='2.8'/%3E%3Cpath d='M24 2V9M24 39V46M2 24H9M39 24H46' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19.5 15.5H28.5V19H19.5Z' fill='%23000' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M20.5 19L22.5 33.5H25.5L27.5 19' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19 23H29M20 27.5H28' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }