/* Sanctuary Dental — stylesheet. Brand tokens sampled from sanctuarydental.in */
:root {
  --navy: #1f2262;
  --indigo: #272c7f;
  --orange: #f2952c;
  --orange-d: #d97f18;
  --blue: #4b75b7;
  --cta: #1f477c;
  --lav: #f3f4ff;
  --sky: #f2fbff;
  --paper: #f7f8fc;
  --ink: #1f2262;
  --text: #222;
  --line: #e1e4f2;
  --green: #21c063;
 --font: "Lato", Arial, sans-serif;
  --shell: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

* {
  margin: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  background: #fff;
  overflow-x: hidden
}

img,
video,
svg {
  max-width: 100%
}

img,
video {
  display: block;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

ul {
  list-style: none;
  padding: 0
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700
}

.shell {
  width: min(var(--shell), 100% - 2.5rem);
  margin-inline: auto
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: .6rem 1rem;
  z-index: 300
}

.skip:focus {
  left: 8px;
  top: 8px
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  padding: .6rem 1.4rem;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--font)
}

.btn:hover {
    background-color: #272c7f !important;
    color: #ffffff !important;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 18px rgba(39, 44, 127, 0.3);
}

.btn--white {
  background: #fff;
  color: var(--navy)
}

.btn--white:hover {
  background: var(--orange);
  color: #fff
}

.btn--sm {
  padding: .28rem .9rem;
  font-size: .78rem
}

/* top bar */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: .9rem
}

.topbar .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .4rem 1rem;
  padding-block: .45rem
}

.topbar ul {
  display: flex;
  flex-wrap: wrap
}

.topbar li {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 .9rem;
  border-left: 1px solid rgba(255, 255, 255, .7)
}

.topbar li:first-child {
  padding-left: 0;
  border-left: 0
}

.topbar svg {
  width: 15px;
  height: 15px;
  fill: #fff;
  flex: none
}

.topbar a:hover {
  color: var(--orange)
}

.social {
  display: flex;
  gap: .55rem
}

.social a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  transition: background .2s
}

.social a:hover {
  background: var(--orange)
}

.social svg {
  width: 14px;
  height: 14px;
  fill: var(--navy)
}

.footer .social a {
  background: var(--orange)
}

.footer .social svg {
  fill: #fff
}

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06)
}

.header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px
}

.logo {
  display: block;
  line-height: 0
}

.logo svg {
  height: 52px;
  width: auto
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem
}

.nav>ul {
  display: flex;
  align-items: center;
  gap: .1rem
}

.nav li {
  position: relative
}

.nav>ul>li>a,
.nav>ul>li>button {
  font: 500 .95rem var(--font);
  color: #111;
  padding: .45rem .8rem;
  background: none;
  border: 0;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .35rem
}

.nav>ul>li>a:hover,
.nav>ul>li>button:hover,
.nav>ul>li>a[aria-current],
.has-sub.open>button,
.has-sub:hover>button {
  color: var(--orange);
  border-color: var(--orange)
}

.caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  flex: none
}

.sub {
  position: absolute;
  left: 0;
  top: 100%;
  width: 285px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transition: .15s
}

.has-sub:hover>.sub,
.has-sub:focus-within>.sub,
.has-sub.open>.sub {
  opacity: 1;
  visibility: visible
}

.sub li {
  border-bottom: 1px solid var(--navy)
}

.sub li:last-child {
  border-bottom: 0
}

.sub a,
.sub button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: .5rem .8rem;
  font: 400 .95rem var(--font);
  color: var(--navy);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sub a:hover,
.sub button:hover,
.sub li:hover > a,
.sub li:hover > button {
    background-color: #f2952c;
    color: #ffffff;
}

.sub .sub {
  left: 100%;
  top: 0
}

.sub .caret {
  transform: rotate(-45deg)
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px auto;
  transition: .2s
}

.burger[aria-expanded=true] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.burger[aria-expanded=true] span:nth-child(2) {
  opacity: 0
}

.burger[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* home hero */
.hero {
    background: var(--blue) url(../images/home-hero-banner.png) center / cover no-repeat;
    padding: 5.5rem 0;
    overflow: hidden;
}

.hero-box {
    background: rgba(200, 213, 233, 0.92);
    border-radius: 10px;
    padding: 1.8rem 2rem;
    max-width: 510px;
    box-shadow: 0 6px 24px rgba(31, 34, 98, 0.2);
}

.hero-box h1 {
  font-size: 1.65rem;
  margin-bottom: .9rem
}

.hero-box p {
  font-size: .95rem;
  color: #111;
  margin-bottom: 1.3rem
}

/* page banner */
.banner {
  background: #616c9a url(../images/banner-bg.svg) center/cover no-repeat;
  color: #fff;
  padding: clamp(3.2rem, 8vw, 5.6rem) 0;
  overflow: hidden
}

.banner h1 {
  color: #fff;
  font-size: 1.8rem;
  max-width: 900px
}

.sect {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.sect--lav {
  background: var(--lav)
}

.sect--sky {
  background: var(--sky)
}

.sect--paper {
  background: var(--paper)
}

.title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 34px;
}

/* trust cards */
.trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}


.tcard {
  background: linear-gradient(160deg, var(--indigo), var(--navy));
  color: #fff;
  border-radius: 19px;
  padding: 1.5rem 1.2rem;
  min-height: unset;
  box-shadow: 0 4px 12px rgba(31, 34, 98, 0.25);
   position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}


.tcard svg {
    width: 42px;
    height: 42px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 18px;
    display: block;
}


.tcard h3 {
  font-family: var(--font);  
    color: #ffffff;
    font-family: "Lato", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.tcard p {
  font-family: var(--font);
    color: #ffffff;
    font-family: "Lato", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.tcard:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 12px 25px rgba(31, 34, 98, 0.35) !important;
}


/* about split */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding-top:10px ;
}

.about-section {
    padding-top: 10px;
    padding-bottom: 10px;
}
.about .ph img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 5px 5px 0 var(--indigo);
}

.about h2 {
    font-family: "Lato", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about p {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-align: justify;
    margin: 0 0 24px 0;
}

.about p strong {
    font-weight: 700;
}

.about .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 28px;
    min-height: 48px;
    border-radius: 10px;
    box-sizing: border-box;
}

/* Keep About image-side text visible */
.about h2,
.about p,
.about .btn {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Start animation when section becomes visible */
.about.animate-in h2,
.about.animate-in p,
.about.animate-in .btn {
    opacity: 1;
    transform: none;
}


@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 24px 16px;
    }

    .about p {
        font-size: 16px;
        line-height: 1.6;
    }

    .about h2 {
        font-size: 26px;
    }
}


.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat {
    background-color: #f2952c;
    color: #ffffff;
    border-radius: 12px;
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.4s ease,
     color 0.4s ease,
      transform 0.4s ease;
    transform: scale(1);
    margin-bottom: 15px;
}

.stat strong {
    display: block;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    transition: color 0.4s ease;
}

.stat span {
    display: block;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.4s ease;
}

/* Hover effect */
.stat:hover {
    background-color: #191970;
    color: #ffffff;
    transform: scale(1.05);
}

.stat:hover strong,
.stat:hover span {
    color: #ffffff;
}

/* Tablet and mobile screens */
@media (max-width: 768px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Small mobile screens */
@media (max-width: 400px) {
    .stats {
        gap: 12px;
    }

    .stat {
        padding: 20px 10px;
    }

    .stat strong {
        font-size: 26px;
    }

    .stat span {
        font-size: 14px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .stat,
    .stat strong,
    .stat span {
        transition: none;
    }

    .stat:hover {
        transform: none;
    }
}




/* doctors */
.docs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: min(1300px, calc(100vw - 60px));
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Doctor cards */
.doc {
    background: #1f2262;
    color: #ffffff;
    text-align: center;
    border-radius: 12px;
    padding: 28px 18px 25px;
    min-height: 420px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease,
     box-shadow 0.5s ease,
     background-color 0.5s ease;
}

/* Doctor circular photos */
.doc .av {
    width: 225px;
    height: 225px;
    border-radius: 50%;
    background: #ffffff;
    margin: 0 auto 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
       transition: transform 0.5s ease;
}

.doc:hover .av {
    transform: scale(1.06);
}

.doc .av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.doc .av svg {
    width: 100%;
    height: 100%;
}

/* Doctor names */
.doc h3 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
     transition: color 0.4s ease;
}

.doc:hover h3 {
    color: #f2952c;
}

/* Orange line */
.doc hr {
    border: 0;
    border-top: 2px solid #f2952c;
    width: 160px;
    margin: 18px auto 17px;
}

/* Qualifications */
.doc p {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
    
}
.doc:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(31, 34, 98, 0.35);
    background-color: #292d80;
}

/* View All Doctors button spacing */
.more {
    text-align: center;
    margin-top: 36px;
}

/* Responsive */
@media (max-width: 900px) {
    .docs {
        grid-template-columns: repeat(2, 1fr);
    }

    .doc h3 {
        font-size: 21px;
    }
}

@media (max-width: 600px) {
    .docs {
        grid-template-columns: 1fr;
    }

    .doc {
        min-height: 400px;
    }

    .doc .av {
        width: 200px;
        height: 200px;
    }

    .doc h3 {
        font-size: 22px;
    }

    .doc p {
        font-size: 16px;
    }
}



/* service cards (home/hub) */

.scards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    width: 1300px;
    max-width: calc(100vw - 40px);
    margin: 0 auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.scard-h {
    background: #ffffff;
    border-radius: 0;
    padding: 12px 12px 12px;
    text-align: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
   height: 490px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scard-h:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.20);
}

.scard-h img {
    width: 100%;
    height: 240px;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.scard-h h3 {
    font-size: 21px;
    font-weight: 700;
    color: #10145c;
    margin: 20px 0 30px;
}

.scard-h p {
    font-size: 16px;
    line-height: 1.38;
    font-weight: 400;
    color: #000000;
    padding: 0 5px;
    margin: 0 0 35px;
    flex: 1;
}

/* View More button inside service cards only */

.scard-h .btn {
    display: inline-block;
    align-self: center;
    width: auto;
    flex: 0 0 auto;
    margin-top: auto;
    background-color: #f79426;
    color: #ffffff;
    padding: 8px 8px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 380;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.scard-h .btn:hover {
    background-color: #e8830c;
    transform: translateY(-2px);
}


.btn {
    display: inline-block;
    background-color: #f7941d;
    color: #ffffff;
    padding: 12px 28px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #e8830c;
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 2px solid #1f2262;
    outline-offset: 3px;
}

/* CTA Banner */
.cta {
  background-image: url("../images/cta-image.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 350px;
  padding: 65px 20px;
  color: #ffffff;
  margin-bottom: 40px;
  margin-top: 40px;
}

.cta .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.cta h2 {
  color: #ffffff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  padding: 30px;
  margin: 0;
}
/* Only CTA Button */
.cta .btn {
    background-color: #ffffff;
    color: #1f2262;
    border: 1px solid #ffffff;
    border-radius: 5px;
}

/* Only CTA Button Hover */
.cta .btn:hover {
    background-color: #f7941d !important;
    color: #ffffff;
    border-color: #f7941d;
}

/* faq */
.faqwrap {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.faqwrap h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #202263;
  line-height: 1.3;
}
.faq details {
  background: transparent;
  color: #fff;
  border-radius: 5px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 15px 10px 32px;
  min-height: 60px;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #ffffff;
  border-radius: 5px;
  font-weight: 400;
  font-size: 17px;
  position: relative;
  line-height: 1.4;
  transition: background-color 0.3s ease;
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::before {
  content: "";
  position: absolute;
  left: .8rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s
}

.faq details[open] summary::before {
  transform: translateY(-30%) rotate(225deg)
}

.faq details p {
  background: #ffffff;
  color: #111111;
  border: 1px solid #f7941d;
  border-radius: 5px;
  padding: 20px;
  margin: 12px 0 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  min-height: 130px;
}

.faq summary:hover,
.faq details[open] > summary {
  background: #f7941d;
  color: #ffffff;
}

/* Smooth FAQ expand and collapse */
.faq details {
  overflow: hidden;
}

.faq details::details-content {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease, content-visibility 0.4s allow-discrete;
}

.faq details[open]::details-content {
  height: auto;
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
}
/* testimonials */
.gr {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, .12);
  padding: 1.2rem 1rem;
  max-width: 900px;
  margin: 0 auto
}

.gr .sum {
  text-align: center;
  font-size: .85rem;
  color: #333
}

.gr .sum b {
  display: block;
  font-size: .95rem;
  letter-spacing: .02em;
  color: #111
}

.stars {
  color: #fbbc04;
  letter-spacing: 2px;
  font-size: 1.15rem
}

.glogo {
  font: 700 1.25rem "Product Sans", Arial, sans-serif
}

.glogo i {
  font-style: normal
}

.glogo .b {
  color: #4285f4
}

.glogo .r {
  color: #ea4335
}

.glogo .y {
  color: #fbbc04
}

.glogo .g {
  color: #34a853
}

.rail {
  display: flex;
  gap: .8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth
}

.rail::-webkit-scrollbar {
  display: none
}

.rv-card {
  flex: 0 0 calc(50% - .4rem);
  background: #f4f4f4;
  border-radius: 6px;
  padding: .8rem;
  scroll-snap-align: start;
  font-size: .82rem;
  color: #222
}

.rv-card header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .4rem
}

.rv-card .a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #7e57c2;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none
}

.rv-card b {
  display: block;
  font-size: .82rem
}

.rv-card small {
  color: #777;
  font-size: .72rem
}

.rv-card .stars {
  font-size: .9rem;
  display: block;
  margin-bottom: .3rem
}

.rv-card .rm {
  color: #777;
  font-size: .74rem;
  display: block;
  margin-top: .3rem
}

.rbtn {
  display: flex;
  gap: .4rem;
  justify-content: flex-end;
  margin-top: .5rem
}

.rbtn button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer
}


/* footer */
.footer {
  background: var(--navy);
  color: #ffffff;
  padding-top: 20px;
  font-size: 18px;
  opacity: 1;
  visibility: visible;
  transform: none;
  display: block;
}

.fcols {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.2fr;
  gap: 60px;
  padding-top: 10px;
  padding-bottom: 25px;
  align-items: start;
}

.footer .logo {
  display: inline-block;
  background: #ffffff;
  border-radius: 6px;
  padding: 15px 15px;
  margin-bottom: 25px;
}

.footer .logo svg {
  height: 60px;
  width: auto;
  max-width: 100%;
}

.footer p {
  text-align: justify;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}

.footer h4 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
  padding-top: 10px;
}

.footer li {
  margin-bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
}

.footer .ql li::before {
  content: "";
  margin-top: 0.55em;
  border-left: 6px solid #ffffff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  flex: none;
}

.footer li svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  flex: none;
  margin-top: 4px;
}

.footer a:hover {
  color: var(--orange);
}

.fbar a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.fbar a:hover {
    color: #1d225f;
    opacity: 1;
    transform: translateY(-3px);
}

.fbar {
  background: var(--orange);
  border-radius: 22px;
  text-align: center;
  padding: 32px 20px;
  margin-bottom: 25px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.7;
}

.fbar .wc {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.fbar .wc i {
  font-style: normal;
  color: #7ed957;
}

.footer .ftail {
  height: 15px;
}

@media (max-width: 900px) {
  .fcols {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer h4 {
    font-size: 27px;
  }

  .footer p,
  .footer li {
    font-size: 16px;
  }

  .fbar {
    font-size: 17px;
    padding: 25px 15px;
  }
}


/* Original footer social icons */
.footer .social,
.footer .socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer .social a,
.footer .socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #f7941d;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer .social a svg,
.footer .socials a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
}

.footer .social a:hover,
.footer .socials a:hover {
  background: #ffffff;
  color: #f7941d;
  transform: translateY(-3px);
}

/* Keep footer background visible */
.footer {
  opacity: 1;
  transform: none;
}

/* Footer text and content animation */
.footer .shell {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 2s ease,
              transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reveal footer content */
.footer.footer-visible .shell {
  opacity: 1;
  transform: translateY(0);
}

/* Individual service card */
.sc {
    background: #ffffff;
    border: 1px solid #1f2262;
    border-bottom: 5px solid #1f2262;
    border-radius: 12px;
     margin-bottom: 50px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: border-color 0.4s ease,
                box-shadow 0.4s ease,
                transform 0.4s ease;
}

/* Navy edge effect on hover */
.sc:hover {
    border-color: #1f2262;
    border-bottom-color: #1f2262;
    box-shadow: 0 10px 25px rgba(31,34,98,0.18);
    transform: translateY(-5px);
}

/* Service image */
.sc img {
    width: 330px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* Heading */
.sc h2 {
    display: block;
    opacity: 1;
    color: #1f2262;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 26px;
}

/* Description */
.sc > p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 36px;
}

/* Benefits box */
.sc .ben {
    display: block;
    background: #f8f9ff;
    border: 1px solid #edf0ff;
    border-radius: 20px;
    padding: 18px 20px;
    margin-bottom: 28px;
}

.sc .ben b {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

/* Benefits list */
.sc .ben li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.6;
    margin: 3px 0;
}

.sc .ben li::before {
    content: "✔";
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1f2262;
    color: white;
    font-size: 9px;
    flex-shrink: 0;
}

/* Bottom price and booking row */
.sc .chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 36px;
    padding: 8px;
    border: 1px solid #edf0ff;
    border-radius: 18px;
}

/* Orange buttons */
.sc .chip {
    display: inline-block;
    background: #f79426;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 3px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.sc a.chip:hover {
    background: #1f2262;
    transform: translateY(-3px);
}


@media (max-width: 768px) {
    .scol {
        width: calc(100vw - 24px);
        gap: 45px;
    }

    .sc {
        padding: 20px;
    }

    .sc img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .sc h2 {
        font-size: 24px;
    }

    .sc > p,
    .ben li {
        font-size: 16px;
    }

    .ben b {
        font-size: 23px;
    }

    .chips {
        gap: 10px;
    }

    .chip {
        font-size: 15px;
    }
}


.art {
  max-width: 820px;
  margin: 0 auto
}

.art h2 {
  margin: 1.8rem 0 .7rem;
  font-size: 1.35rem
}

.art p {
  margin-bottom: 1rem
}

.art ul {
  margin-bottom: 1rem
}

.art ul li {
  padding-left: 1.4rem;
  position: relative;
  margin: .3rem 0
}

.art ul li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange)
}

.art ol {
  padding-left: 1.3rem;
  list-style: decimal;
  margin-bottom: 1rem
}

.art img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1.5rem
}

/* blogs */
.bgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 900px;
  margin: 0 auto
}

.bc {
  background: #fff;
  border: 1px solid #ececf3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.bc .im {
  aspect-ratio: 3/1.4;
  background: linear-gradient(135deg, #dfe6f6, #b8c6e8);
  display: grid;
  place-items: center
}

.bc .im svg {
  width: 34px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6
}

.bc .b {
  padding: .8rem .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1
}

.bc h3 {
  font-size: .83rem;
  line-height: 1.35
}

.bc p {
  font-size: .78rem;
  flex: 1;
  line-height: 1.45
}

.bc .rm {
  font-size: .68rem;
  font-weight: 900;
  color: var(--orange);
  text-transform: uppercase
}

/* gallery / media */

/* Gallery / Media */
.ggrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery Cards */
.ggrid button {
    padding: 0;
    background: none;
    border: 1.5px solid var(--navy);
    border-radius: 6px;
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
}

/* Gallery Images */
.ggrid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    /* Zoom-in animation when page opens */
    animation: galleryZoomIn 1.2s ease-out both;

    transition: transform 0.4s ease;
}

/* Zoom-in animation */
@keyframes galleryZoomIn {
    from {
        transform: scale(1.2);
    }
    to {
        transform: scale(1);
    }
}

/* Zoom effect when hovering over an image */
.ggrid button:hover img {
    transform: scale(1.08);
}

/* Lightbox */
.lb {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 40, .92);
    display: none;
    place-items: center;
    z-index: 400;
    padding: 1.5rem;
}

.lb.on {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb img {
    display: block;
    width: 85vw;
    height: 80vh;
    max-width: 1200px;
    max-height: 850px;
    object-fit: contain;
    border-radius: 8px;
}

/* Tablet */
@media (max-width: 768px) {
    .ggrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .ggrid {
        grid-template-columns: 1fr;
    }
}


.lb {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 40, .92);
  display: none;
  place-items: center;
  z-index: 400;
  padding: 1.5rem
}

.lb.on {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb img {
    display: block;
    width: 85vw;
    height: 80vh;
    max-width: 1200px;
    max-height: 850px;
    object-fit: contain;
    border-radius: 8px;
}

.lb button {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto
}

.vgrid video {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2)
}

/* contact */
.cgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  max-width: 960px;
  margin: 0 auto
}

.cbox {
  background: #fff;
  border-radius: 6px;
  padding: 1.3rem 1.4rem 1.6rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .14)
}

.cbox h2 {
  font-size: 1.35rem;
  padding-bottom: .55rem;
  margin-bottom: 1rem;
  background: linear-gradient(var(--green), var(--green)) left bottom/70px 2px no-repeat, linear-gradient(#ddd, #ddd) left bottom/100% 1px no-repeat
}

.cbox>p {
  font-size: .88rem;
  margin-bottom: 1.2rem
}

.ci li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .88rem;
  margin-bottom: .9rem
}

.ci svg {
  width: 14px;
  height: 14px;
  fill: var(--navy);
  margin-top: .35em;
  flex: none
}

.ci a:hover {
  color: var(--orange)
}

.fld {
  margin-bottom: .6rem
}

.fld input,
.fld textarea {
  width: 100%;
  padding: .5rem .7rem;
  border: 1px solid #8aa4d6;
  border-radius: 2px;
  background: #fff;
  font: inherit;
  font-size: .85rem
}

.fld textarea {
  min-height: 92px;
  resize: vertical
}

.fld input:focus,
.fld textarea:focus {
  outline: 2px solid #8aa4d6;
  border-color: var(--navy)
}

.fld .err {
  display: none;
  color: #b3261e;
  font-size: .76rem
}

.fld.bad .err {
  display: block
}

.fld.bad input,
.fld.bad textarea {
  border-color: #b3261e
}

.hp {
  position: absolute;
  left: -9999px
}

.submit {
  width: 100%;
  padding: .55rem;
  margin-top: .4rem
}

.ok {
  display: none;
  background: #e6f6f1;
  border: 1px solid #a8dccb;
  color: #0e5a46;
  border-radius: 6px;
  padding: .8rem;
  margin-top: .8rem;
  font-size: .86rem
}

.ok.on {
  display: block
}

.mapbox {
  max-width: 960px;
  margin: 2rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .14)
}

.mapbox iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block
}


/* about page */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow::before,
.eyebrow.r::after {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--orange);
}

.eyebrow.r::before {
  display: none;
}

.big {
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.core {
  background: linear-gradient(120deg, var(--indigo), var(--navy));
  color: #fff;
  padding: 105px 0;
}

.core .shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.core .big {
  color: #fff;
  font-size: clamp(48px, 4.5vw, 76px);
  margin-bottom: 28px;
}

.core p {
  font-size: 17px;
  line-height: 1.7;
  color: #e6e8ff;
  max-width: 680px;
}

.frost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  padding: 18px;
  display: grid;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.frost div {
  background: #fff;
  border-radius: 25px;
  padding: 30px;
}

.frost small {
  display: block;
  color: var(--orange);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.frost b {
  color: var(--navy);
  font-size: 27px;
  line-height: 1.35;
  display: block;
}

.vals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 35px;
}

.vc {
  background: #fff;
  border: 1px solid #eceef8;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 6px 18px rgba(31, 34, 98, 0.07);
  transition: transform 0.4s ease,
            box-shadow 0.4s ease,
            border-color 0.4s ease;
cursor: default;
}

/* Core Values card hover transition */
.vc:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 34, 98, 0.16);
    border-color: rgba(31, 34, 98, 0.18);
}

.vc header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.vc header span {
  background: var(--lav);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  padding: 8px 10px;
  transition: background-color 0.4s ease,
            transform 0.4s ease;
}

.vc:hover header span {
    background-color: #e3e6ff;
    transform: scale(1.08);
}

.vc header h3 {
  font-size: 19px;
  line-height: 1.4;
}

.vc p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

@media (max-width: 900px) {
  .core {
    padding: 65px 0;
  }

  .core .shell {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

@media (max-width: 600px) {
  .core .big {
    font-size: 42px;
  }

  .core p {
    font-size: 17px;
  }

  .frost {
    padding: 18px;
  }

  .frost div {
    padding: 20px;
  }

  .frost b {
    font-size: 21px;
  }

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




/* Advanced Dental Technology */
.adv {
    background: linear-gradient(135deg, #292d75, #34376d);
    border-radius: 30px;
    color: #ffffff;
    padding: 40px 35px;
    display: grid;
  grid-template-columns: 1fr 1.1fr;
gap: 35px;
    align-items: center;
    overflow: hidden;
width: 100%;
max-width: 1450px;
margin-left: auto;
margin-right: auto;
transform: none;
box-sizing: border-box;

}
.adv .eyebrow {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.adv .big {
    color: #ffffff;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.12;
    margin: 0 0 24px;
}

.adv p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 200;
}

.adv .g {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.adv .g div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px 18px;
    padding: 12px 18px;
    min-height: 0px;
    transition: transform 0.4s ease,
                background 0.4s ease,
                box-shadow 0.4s ease;
}

.adv h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.adv .g p {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0;
}
.adv .g div:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}


@media (max-width: 900px) {
    .adv {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 32px;
    }

    .adv .g {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .adv {
        padding: 24px;
    }

    .adv .big {
        font-size: 38px;
    }

    .adv p {
        font-size: 17px;
    }

    .adv .g {
        grid-template-columns: 1fr;
    }

    .adv .g div {
        min-height: auto;
    }
}

/* About Us — Modern Dental Technologies */
.about-page .tgrid {
    gap: 30px;
     display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page .cc {
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.4s ease,
                box-shadow 0.4s ease;
}

.about-page .cc:hover {
    transform: translateY(-10px);
     box-shadow: 0 20px 40px rgba(30, 35, 100, 0.18);
}

.about-page .cc h3 {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
}

.about-page .cc p {
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-page .cc h3 {
        font-size: 22px;
    }

    .about-page .cc p {
        font-size: 16px;
    }
}
/* About Us scroll reveal */
.about-page .adv,
.about-page .tgrid .cc {
    opacity: 0;
    transform: translateY(55px);
     transition: transform 0.4s ease,
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}
.cc:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 35, 100, 0.18);
}
.about-page .adv.is-visible,
.about-page .tgrid .cc.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-page .tgrid .cc.is-visible:hover {
    transform: translateY(-8px);
}

@media (prefers-reduced-motion: reduce) {
    .about-page .adv,
    .about-page .tgrid .cc {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.tgrid {
  display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1.4rem
}

.tc {
    background: #fff;
    border: 1px solid #eceef8;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(31, 34, 98, 0.07);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    min-height: 350px;
}

.tc:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 34, 98, 0.18);
}

.tc .h {
    background: linear-gradient(135deg, var(--indigo), var(--navy));
    color: #fff;
    padding: 22px 26px;
    min-height: 190px;
}

.tc .h span {
    display: inline-block;
    background: rgba(255, 255, 255, .18);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.tc h3 {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
}

.tc .h p {
    font-size: 15px;
    line-height: 1.7;
    color: #e1e4ff;
    margin-top: 12px;
}

.tc .bd {
    padding: 22px 26px;
    min-height: 220px;
}

.tc .bd b {
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--navy);
  text-transform: uppercase;
  display: block;
  margin-bottom: .5rem
}

.dots li {
  font-size: 15px;
   line-height: 1.6;
  color: #444;
  display: flex;
gap: 18px;
  align-items: center;
    margin-top: 12px;
}

.dots li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none
}

.cc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
    width: 100%;
}

.cc .c {
    background: #ffffff;
    border: 1px solid #e2e5f0;
    border-radius: 22px;
    padding: 34px;
    min-height: 425px;
    box-sizing: border-box;
    box-shadow: 0 12px 30px rgba(31, 34, 98, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cc .c:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 34, 98, 0.12);
}

.cc .c {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}



.cc .c ul {
    margin-top: 16px;
    padding-left: 24px;
}

.cc .tag {
    display: inline-block;
    background: #fff3e6;
    color: #a75a00;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 12px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.cc h3 {
    font-size: 22px !important;
    line-height: 1.3;
    font-weight: 800;
    color: #1d225f;
    margin-bottom: 10px;
}

.cc p {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    min-height: 82px;
}
.cc .n {
    font-size: 35px;
    line-height: 1.2;
    font-weight: 400;
    color: #1d225f;
  margin: 18px 0 4px;
}

.cc .n small {
    font-size: 15px;
    font-weight: 750;
    color: #64748b;
    margin-left: 6px;
}

.cc .c li {
    font-size: 17px;
    line-height: 1.6;
    color: #64748b;
}

.cc .c li + li {
    margin-top: 12px;
}

.vmp {
  background: var(--navy);
  color: #fff;
  padding: 2.4rem 0
}

.vmp .shell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem
}

.vmp h3 {
  color: #fff;
  margin-bottom: .4rem
}

.vmp p {
  font-size: .88rem;
  color: #dfe2ff
}

.rv {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1.4s ease,
   transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

@media(max-width:900px) {

  .trust,
  .docs,
  .scards,
  .bgrid,
  .ggrid,
  .vgrid {
    grid-template-columns: repeat(2, 1fr)
  }

  .about,
  .faqwrap,
  .cgrid,
  .core .shell,
  .adv,
  .fcols {
    grid-template-columns: 1fr
  }

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

  .vmp .shell {
    grid-template-columns: 1fr
  }

  .burger {
    display: block;
    position: relative;
    z-index: 230
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 340px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4.5rem 1rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .2)
  }

  .nav.on {
    transform: none
  }

  .nav>ul {
    flex-direction: column;
    align-items: stretch
  }

  .nav>ul>li>a,
  .nav>ul>li>button {
    width: 100%;
    justify-content: space-between;
    border: 0 !important
  }

  .sub,
  .sub .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    width: auto;
    display: none;
    padding-left: .8rem
  }

  .has-sub.open>.sub {
    display: block
  }

  .nav .btn {
    margin-top: 1rem;
    text-align: center
  }
}

@media(max-width:600px) {

  .trust,
  .docs,
  .scards,
  .bgrid,
  .ggrid,
  .vgrid,
  .tgrid,
  .cc,
  .adv .g,
  .vals {
    grid-template-columns: 1fr
  }

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

  .gr {
    grid-template-columns: 1fr
  }

  .rv-card {
    flex-basis: 100%
  }

  .topbar li:nth-child(n+2),
  .topbar .social {
    display: none
  }

  .hero-box {
    max-width: none
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important
  }

  .rv {
    opacity: 1;
    transform: none
  }

  html {
    scroll-behavior: auto
  }
}



/* Subtle zoom and reveal effects */
@media (prefers-reduced-motion: no-preference) {
  .hero-box {
    animation: sanctuaryFadeUp .75s ease both;
  }

  .banner h1 {
    animation: sanctuaryFadeUp .65s ease both;
  }

  .service-card img,
  .doctor-card img,
  .gallery-item img {
    transition: transform .55s cubic-bezier(.2, .7, .2, 1);
  }

  .service-card:hover img,
  .doctor-card:hover img,
  .gallery-item:hover img {
    transform: scale(1.045);
  }

  .service-card,
  .doctor-card,
  .gallery-item {
    transition: box-shadow .3s ease, transform .3s ease;
  }

  .service-card:hover,
  .doctor-card:hover,
  .gallery-item:hover {
    transform: translateY(-3px);
  }
}

@keyframes sanctuaryFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: white;
}

/* Header logo size */
.header .logo img {
    width: 160px;
    height: auto;
    max-width: 100%;
    display: block;
    margin-bottom: 10px;
}

/* Footer logo size */
.footer .logo img {
    width: 150px;
    height: auto;
    max-width: 100%;
    display: block;
}

.footer {
    padding-top: 20px;
}

.fcols {
    gap: 30px;
    padding-top: 10px;
    padding-bottom: 20px;
}

.footer h4 {
    margin-bottom: 18px;
}

.footer li {
    margin-bottom: 12px;
}

.fbar {
    padding: 22px 15px;
    margin-bottom: 15px;
}

.footer .ftail {
    height: 10px;
}

/* Gallery zoom-in animation */
.gallery img {
    animation: galleryZoomIn 1.2s ease-out both;
}

@keyframes galleryZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contact Us cards hover animation */
.cgrid .cbox {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cgrid .cbox:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

/* Blog cards alignment */
.bgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 25px;
    width: 100%;

}

/* Keep both cards equal height */
.bgrid .bc {
    width: 100%;
    height: 100%;
}

/* Keep images aligned */
.bgrid .im img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Mobile view */
@media (max-width: 768px) {
    .bgrid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   INDIVIDUAL BLOG PAGE STYLING
   ========================================= */

/* Blog content width and alignment */
.sect .shell:has(.art) {
    width: 70%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* Article container */
.sect .art {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Orange blog headings */
.sect .art h2 {
    color: #f7941d;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* Blog paragraphs */
.sect .art p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 12px;
}

/* Bullet list */
.sect .art ol {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 5px;
}

/* Bullet points */
.sect .art ol li {
    display: list-item;
    list-style-type: disc;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 2px;
}

/* Facebook and WhatsApp icons */
.blog-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 25px 0 35px;
}

.blog-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1f2262;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease,
                background 0.3s ease;
}

.blog-social a:hover {
    background: #f7941d;
    transform: translateY(-5px);
}

.blog-social svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

/* Tablet */
@media (max-width: 1024px) {
    .sect .shell:has(.art) {
        width: 90%;
    }

    .sect .art h2 {
        font-size: 26px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .sect .shell:has(.art) {
        width: 92%;
    }

    .sect .art h2 {
        font-size: 23px;
        line-height: 1.3;
    }

    .sect .art p {
        font-size: 16px;
        line-height: 1.5;
    }

    .sect .art ol li {
        font-size: 15px;
        line-height: 1.4;
    }

    .blog-social a {
        width: 44px;
        height: 44px;
    }
}

/* Reduce blog image width and height */
.blog-featured-image {
    display: block;
    width: 100%;
    max-width: 700px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 25px;
}

@media (max-width: 768px) {
    .blog-featured-image {
        max-width: 100%;
        height: auto;
    }
}

/* Individual Teeth Whitening blog title */
.banner .shell h1 {
    font-size: 28px;
    white-space: nowrap;
    line-height: 1.3;
}

/* Mobile view */
@media (max-width: 768px) {
    .banner .shell h1 {
        font-size: 22px;
        white-space: normal;
    }
}

/* Make all blog content headings orange */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6,
.blog-content strong {
    color: #f58220 !important;
}