.hero {
  display: flex;
  background-color: #fff9f3;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0px;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-left {
  max-width: 100%;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  background-color: white;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}
.rating-badge a{text-decoration: underline !important;}
.rating-badge img {
  height: auto;
  margin: 0 5px;
}

.hero .bannerheading {
  font-size: 65px;
  line-height: 1.2;
  font-weight: 600; color:#222;
  margin-bottom: 20px;
  font-family: var(--heading-font);
}

.hero .bannerheading span {
  color: #7da341;
}

.hero p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #444;
}

.hero .btn {
  background-color: #fecd29;
  padding: 12px 24px;
  border: none;
  border-radius: 0px 20px 0 20px;
  font-weight: 500;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.hero .btn:hover {
  background-color: #f5bd00;
}

.hero .btn span {
  margin-left: 10px;
  font-size: 16px;
}

.heroright {
  position: relative;
  width: 700px;float: right;
}

.heroright .image-container {
  position: relative;
  width: 100%;
  height: 500px;
   /* aspect-ratio: 16 / 9; */
  border-radius: 100px 0 100px 0;
  z-index: 1;
}

/* Yellow outer border */
.heroright .image-container::before {
  content: "";
  position: absolute;
  left: -11px;
  top: -12px;
  width: 350px;height: 250px;
  border: 12px solid #FFCC29;
  border-radius: 110px 0 110px 0;
  z-index: -1;
}

/* Green inner border */
.heroright .image-container::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -11px;
  border: 12px solid #82AA4B;
   width: 350px;height: 250px;
  border-radius: 110px 0 110px 0;
  z-index: -1;
}

.heroright .image-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
 object-position: top center;
  border-radius: 100px 0 100px 0;
}
.heroright .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 object-position: top center;
  border-radius: 100px 0 100px 0;
}

/* background accent shapes */
.yellow-border,
.green-border {
position: absolute;
width: 100%;
height: 100%;
border-radius: 100px 0 100px 0;
z-index: 1;
}

.yellow-border {
border: 11px solid #fecd29;
top: 0px;
left: 0px;
z-index: 1;
}

.green-border {
background-color: #a4c468;
bottom: 0px;
right: 0px;
z-index: 0;
}

.highlight {
color:var(--surface-color);
}
.patientsection {
padding: 3rem 0px;
text-align: center;
background-color: #0d3b2e;
}

.patientsection h2 {
font-size: 28px;
font-weight: 600;
}

.highlight {
color: #f5c71a;
}

.testimonial-wrapper {
margin-bottom: 20px;
margin-top: 20px;
}

.testimonial-wrapper .card {
background-color: white;
color: black;
border-radius: 0px 50px 0 50px;
padding: 20px 0px 0px 0px;
width: 100%;
min-height: 100%;
position: relative;
overflow: hidden;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
transition-duration: .2s;
transition-property: transform;
border: 0px;
}
.testimonial-wrapper .card:hover{
transform: translateY(-5px);
}
.contentleft{display: flex;flex-direction: column;align-items: flex-start;padding: 0px 15px 0px 15px;}
.play-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.play-icon img {
  width: 27px;
  height: 27px;filter: brightness(0) invert(1);
}

.play-icon:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Pulsing animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(130, 170, 75, 0.8);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(208, 238, 196, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(208, 238, 196, 0);
  }
}

.testimonial-img-wrapper {
position: relative;
display: flex;
align-items: flex-end;
justify-content: space-between;
position: relative;
margin-left: 10px;
}

.testimonial-img-wrapper img {  width: 100%;
  height: auto;
  object-fit: contain;position: relative;
  left: -10px;top:0px;
  /* transform: scale(1.1); */
}

.bg1 {
  aspect-ratio: 250 / 207;
  width: 100%;height: 100%;
  background:url("../images/red.webp") no-repeat;
  background-position: left top;
  background-size: cover;
}
.bg2 {
  aspect-ratio: 250 / 207;
  width: 100%;
  height: 100%;
  background:url("../images/purple.webp") no-repeat;
  background-position: left top;
  background-size: cover;
}
.bg3 {
  aspect-ratio: 250 / 207;
  width: 100%;
  height: 100%;
  background:url("../images/yellow.webp") no-repeat;
  background-position: left top;
  background-size: cover;
}
.bg4 {   aspect-ratio: 250 / 207;
  width: 100%;
  height: 100%;
  background:url("../images/cyan.webp") no-repeat;
  background-position: left top;
  background-size: cover;
}

.bg5 {   aspect-ratio: 250 / 207;
  width: 100%;
  height: 100%;
  background:url("../images/green.webp") no-repeat;
  background-position: left top;
  background-size: cover;
}
 .bg6 {
    aspect-ratio: 250 / 207;
    width: 100%;
    height: 100%;
    background: url("../images/bg-6.webp") no-repeat;
    background-position: left top;
    background-size: cover;
  }
.testimonial-name {
font-weight: 600; font-size: 20px;
margin-bottom: 4px;
}

.testimonial-subtext {
color: #7a7a7a;padding-bottom: 10px;
font-size: 15px; font-weight: 400;
}

.affiliations-section {
text-align: center;
padding: 3rem 0px;
}

.affiliation-logos {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 10px;
}


.logo-card {
  background-color: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 15px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  height: 100%;
  object-fit: cover;
}
.logo-card img{
  width: 178px;
  height: 75px;
  object-fit: contain;
}

.logo-card:hover {
transform: scale(1.02);
box-shadow: 0 0 8px rgba(0, 0, 0, 0.03);
}


.trispecialityservice{ background-color: var(--lightbluebg);padding: 3rem 0px 1.5rem 0px;}
.trispecialityservice .mainheading{padding-bottom: 10px;}
/* .wrapperx {
    width: 100%;
    position: relative;
}
.wrapperx .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 15px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 15px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-left: 2px;
}

.wrapperx.three .carousel {
  grid-auto-columns: calc((100% / 3) - 15px);
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel.no-transition {
  scroll-behavior: auto;
}

.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
  user-select: none;
}

.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}
.carouselcard {
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
}
  .carousel .servicecard {
    border-radius: 0px 50px 0px 0px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(31% - 1rem);
    justify-content: flex-start;
    flex-shrink: 0;
    touch-action: pan-y;
    pointer-events: auto;
    user-select: none;
    width: 99%;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
    transition-duration: .2s;
    transition-property: transform;
  }
  .carousel .servicecard:hover{transform: translateY(-5px);}
  .carousel .servicecard img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0px;
   border-radius: 0px 50px 0px 0px;
  }*/

  .wrapperx {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem; margin-top: 10px;
    justify-content: space-between;
}
.servicecard {
  flex: 0 1 calc(33.333% - 1.5rem);
  overflow: hidden;justify-content: center;
  scroll-snap-type: x mandatory;
  gap: 15px;text-align: center;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  }
  .carimg img{width: 100%;}
.card-image img {
  width: 100%;
  object-fit: contain;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.card-content {
  padding: 20px;
  min-height:30%;
  border-top: 1px solid #eee;
  border-radius: 0px 50px 0 50px;
  position: relative;
  background-color: #fff;
  border: 1px solid #B3CAE7;
  margin: -30px 30px 30px 30px;
  transition: all ease-in-out 0.3s;
  box-shadow: 0px 5px 20px 0px #00000021;
}

.card-content .card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 3px;
}

.card-content p {
  font-size: 14px;
  color: #555;
  margin: 0;
  padding-right: 30px;
}

.arrow-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #F5B100;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow-icon img{width: 20px;height: 20px; border-radius: 0px !important;}

.arrow-icon:hover{
  background-color: #6AA43D;
}
.arrow-icon:hover img{filter: brightness(0) invert(1);}
 .triservicerow {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 0;
  margin: auto;
  overflow: hidden;
}
.invisalign-section{padding: 3rem 0px;}
.invisalign-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Push content to right */
  min-height: 550px;
}

/* Background image styling */
.herobgimage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Foreground (Text + Badges) */
.invisalignright {
  position: relative;
  z-index: 2;
  padding: 40px;
  /* background: rgba(255, 255, 255, 0.9); */
  border-radius: 30px;
  max-width: 600px; text-align: center;
  margin-right: 2rem;
}

.invisalignright .mainheading{
  font-size: 58px; font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.1;
}

.invisalignright .green {
  color: var(--accent-color);
}

.invisalignright .black {
  color: #000;
}

.trust-line {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.trust-line .yellow {
  color: #FFCC29;
  font-weight: bold;
}

.badge-list {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
}

.badge-list img {
  background: #fff;
  padding: 1rem;width: 170px;
  border: #d6d6d6 1px solid;
  box-shadow: 0px 5px 25px 0px #0000001A;
}

/* Start of gallerysection */
.dentalgallery {padding: 1rem 0px 3rem 0px;}
.dentalboxheading{ margin:0 auto;text-align: center;width: 100%;}
.dentalboxheading p{font-size: 20px;font-weight: 600; color: var(--accent-color);margin-bottom: 8px;}
.dentalboxheading .mainheading{padding-bottom: 10px;}
.dentalboxheading .mainheading span{color: #f5c71a;}
.grid-container {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
  background-color: #fff;
}
.grideitem img{width: 100%;object-fit: cover;
transition-duration: .2s;min-height: 100%;
transition-property: transform;
}
.grideitem:hover img{transform: translateY(-5px);}

/* Start of featured-section */
.featuredsection {
border-top: #ddd 1px solid;
padding: 3rem 0px;
}

.featured-logos {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 30px;
}

.logo-box {
background-color: #fff;
padding: 20px 40px;
border-radius: 10px;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
display: flex; border: #d1d1d1 1px solid;
align-items: center;
justify-content: center;
}

.logo-box img {
max-height: 75px;
max-width: 160px;
object-fit: contain;
}

.logo-box:hover {
transform: translateY(-4px);
}

/* Start of influencersectioncelebrity */
.influencersectioncelebrity{background-color: var(--lightbluebg);padding: 3rem 0px 3rem 0px;}
.influencersectioncelebrity h2 span{color:#FFCC29}
.influencersectioncelebrity h2 span +span{color:#82AA4B}
.influencercontainer {
      display: flex;
      gap: 1rem;justify-content: center;
      flex-wrap: wrap;
    }

    .influencercard {
      background: var(--white-color);
      overflow: hidden;
      flex: 0 1 calc(25% - 1rem);
      box-sizing: border-box;
      box-shadow: 0px 5px 50px 0px #0000000D;
      text-align: center;
      border-radius: 0px 85px 0px 50px;
      border:#DADFE5 1px solid;
      position: relative;
      transition: all 0.3s ease-in-out;
      transition-duration: .2s;
      transition-property: transform;
    }

  .influencercard:hover{transform: translateY(-5px);}

    .influencerimage{padding: 0px;position: relative;}
    .influencerimage img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 0px 50px 0px 0px;
    }

    .influencercard .info {
      padding: 0px 15px 15px 15px;
    }

    .icrole {
      font-size: 0.9em;font-size: 15px;
      color: #7a7a7a;
    }

    .icname {
      font-weight: 500; font-family: var(--heading-font);
      margin-top: 5px; font-size: 20px; color: var(--default-color);
    }

    .crvideobtns {position: absolute;left:50%;top:42%;z-index: 9;cursor: pointer;transform: translate(-50%, -50%);}
.crvideobtns .circle {color: #fff;position: relative;z-index: 9;height: 54px;line-height: 20px;width: 54px;cursor: pointer;font-size: 30px;border-radius: 100%;background: var(--accent-color);border: 1.5px solid rgba(255, 255, 255, 1);display: flex;outline: 0;align-items: center;justify-content: center;padding: 0px;transition: all 0.4s ease-in-out 0s;}
.crvideobtns .circle img{text-align: center;outline: 0;border: 0px;width: auto;margin-left: 3px;}
.crvideobtns::before,
.crvideobtns::after {content: "";position: absolute;left: 0;top: 0;height: 100%;width: 100%;border-radius: 100%;background: rgba(130, 170, 75, 0.6);z-index: -1;outline: 0;
animation: crZoomInOutInvisible 1s ease-in-out infinite backwards;}

@-webkit-keyframes crZoomInOutInvisible {
0% {transform: scale(1);opacity: 1;}
100% {transform: scale(1.6);opacity: 0;}}
@keyframes crZoomInOutInvisible {
0% {transform: scale(1);opacity: 1;}
100% {transform: scale(1.6);opacity: 0;}
}

/* Start of awardsection */
.awardsection {
max-width: 100%;
margin: 0px auto;
padding: 4rem 0px;
display: flex;
flex-wrap: wrap;
align-items: center;position: relative;
justify-content: space-between;
background-color: #fff9f3;
}

.awardsection::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/awardbefore.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}
.awardtop {flex: 1 1 auto;padding-bottom: 20px;}
.awardtop .mainheading span {color:#82AA4B;}
.awardheading{font-size: 28px;font-weight: 600;font-family: var(--heading-font);}
.awardtop p {line-height: 1.8;margin-bottom: 16px;}
.awardbottom {flex: 1 1 auto; width: 980px;position: relative; margin:20px auto 0 auto;}
.awardbottom img {width: 100%;
  transition-duration: .2s;
  transition-property: transform;
}
.awardbottom:hover img{transform: translateY(-5px);}

/* Start of internationalpatients */
.internationalpatients{padding: 3rem 0px;}
.slider-wrapper {
      position: relative;
      width: 100%;
      max-width: 100%;
      margin: auto;
      overflow: hidden;
    }
.card-container {
      display: flex;
      gap: 28px;
      width: fit-content;
      justify-content: flex-start;
      flex-wrap: nowrap;
      transition: transform 0.5s ease-in-out;
    }

    .ipcard {
      position: relative;
      flex: 0 0 23%;
      height: 100%;
      border-radius: 20px;
      overflow: hidden;
      box-sizing: border-box;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      max-width: 100%;
    }

    .ipcard img {
      display: block;
    }
    .playbtn {position: absolute;top: 1rem;right: 1rem;z-index: 99;cursor: pointer;}
    .ipcard::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 40%;
      width: 100%;
      background: linear-gradient(191deg, rgba(30, 30, 30, 0) 23.45%, rgba(30, 30, 30, 0.78) 55.94%, #1E1E1E 89.79%);
      z-index: 1;
    }

    .cardcontentdiv {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 10px 0px;
      color: white;
      z-index: 2;
    }

   .dots {
  justify-content:center;
  margin-top: 22px;display: unset;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color:#FFCC29;
}

    .flagrow {
      display: flex;
      align-items: center;
      margin-bottom: 2px; font-size: 16px;
      padding: 5px 0px 5px 68px;
    }

    .flag {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      margin-right: 8px;
      border: 1px solid #fff;
    }

    .country {
      font-weight: 500;
      font-size: 16px;
    }

    .treatment {
      font-size: 15px;padding: 5px 0px 5px 68px;
      opacity: 0.9; background-color: #82AA4B;position: relative;
    }
    .treatmentimg{position: absolute;top: -4px;left: 1rem;}
    .treatmentimg img{ border-radius: 50%; object-fit: cover;}

    /* Rounded border for card */
    .ipcard {
      border: 2px solid #e0e0e0;
      background: #fff;
    }

.mtop{margin-top: 12px;text-align: center;}
.green{color: var(--accent-color);}

/* Start of meetsmilesection */
.meetsmilesection{padding: 3rem 0px; background: var(--lightbluebg);}
.meetsmilesection .mainheading{padding-bottom: var(--spacing-sm);}
.boxwrapper {margin-top: 20px;padding-bottom: 0px;max-width: 750px;margin: 0 auto;}
.carding {top: 30px;position: sticky;z-index: 1;min-height: 270px;margin-bottom: 30px;}
.carding .subheading {padding: 0 0 20px 0;font-size: 28px;font-family: var(--heading-font);}
.abcircle{width: 72px; height: 72px; border-radius: 50%;display: flex;align-items: center;justify-content: center;position: absolute;
background-color: var(--accent-color);content: "";top: 50%;left: 0%;transform: translate(-50%, -50%);}
.carding p span {color: var(--accent-color);}
.carding:nth-child(1n),
.carding:nth-child(2n){
  top: 120px;
}
.arrowcircle{border-radius: 50%;width: 36px; height: 36px;text-align: center; border: #1e1e1e 1px solid;line-height: 32px;position: relative;}
/* .carding:nth-child(3n) .carding {top: 0px !important;} */
.carding:last-child {position: relative !important;top:0px !important;margin-bottom: 0px;}
.boxleft{
    margin-right: 1rem;
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
}
.boxrow{display: flex;flex-wrap: wrap;justify-content: flex-start;gap: 30px; margin-bottom: 25px;margin-top: 20px;}
.smilecard{
    background-color: white;
    color: black;
    border-radius: 0px 50px 0 50px;
    padding: 20px 0px 0px 0px;
    width: 350px;display: flex;
    min-height: 340px;flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition-duration: .2s;
transition-property: transform;
}
.smilecard:hover{transform: translateY(-5px);}

.sc01{position: relative;}
.sc01::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url("../images/sc01.webp") no-repeat center center / cover;
}
.sc02{position: relative;}
.sc02::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url("../images/sc02.webp") no-repeat center center / cover;
}
.sc03{position: relative;}
.sc03::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url("../images/sc03.webp") no-repeat center center / cover;
}
.sc04{position: relative;}
.sc04::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url("../images/sc04.webp") no-repeat center center / cover;
}
.contentlefts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 15px 0px 15px;
}

/* Start of Mini Desktop Screen */
@media screen and (max-width:1400px) and (min-width:1301px){
/* Start of Bannersection */
.hero {padding: 2.5rem 0px;}
.heroright .image-container {height: 425px;}
.heroright {width: 650px;}
.hero .bannerheading {font-size: 55px;}

/* Start of patientsection */
.patientsection {padding: 2rem 0px;}
.dentalgallery {padding: 1rem 0px 2rem 0px;}
.trispecialityservice {padding: 2rem 0px 1rem 0px;}
.influencersectioncelebrity {padding: 2rem 0px 3rem 0px;}
.awardsection {padding: 3rem 0px;}
.internationalpatients {padding: 2rem 0px;}
.meetsmilesection {padding: 2rem 0px;}
.results-section {padding: 2rem 0px;}
.testimonialsection {padding: 2rem 0px;}
.invisalign-section {padding: 2rem 0px;}

/* Start of Our Affiliations */
.boxrow {gap: 20px;margin-bottom: 20px;}
.smilecard {width: 310px;}

/* Start of Our Affiliations */
.affiliations-section {padding: 2rem 0px;}
.logo-card img {width: 150px;height: 70px;}

/* Start of featured-section */
.featuredsection {padding: 2rem 0px;}
.logo-box {padding: 20px 20px;}
.logo-box img {max-height: 68px;max-width: 175px;}
}

/* Start of Mini Desktop Screen */
@media screen and (max-width:1300px) and (min-width:1201px){
/* Start of Bannersection */
.hero {padding: 2.5rem 0px;}
.heroright .image-container {height: 425px;}
.heroright {width: 650px;}
.hero .bannerheading {font-size: 55px;}

/* Start of patientsection */
.patientsection {padding: 2rem 0px;}
.dentalgallery {padding: 1rem 0px 2rem 0px;}
.trispecialityservice {padding: 2rem 0px 1rem 0px;}
.influencersectioncelebrity {padding: 2rem 0px 3rem 0px;}
.awardsection {padding: 3rem 0px;}
.internationalpatients {padding: 2rem 0px;}
.meetsmilesection {padding: 2rem 0px;}
.results-section {padding: 2rem 0px;}
.testimonialsection {padding: 2rem 0px 1rem 0px;}
.invisalign-section {padding: 2rem 0px;}

/* Start of Our Affiliations */
.boxrow {gap: 20px;margin-bottom: 20px;}
.smilecard {width: 310px;}

/* Start of Our Affiliations */
.affiliations-section {padding: 2rem 0px;}
.logo-card img {width: 150px;height: 70px;}

/* Start of featured-section */
.featuredsection {padding: 2rem 0px;}
.logo-box {padding: 20px 20px;}
.logo-box img {max-height: 68px;max-width: 175px;}
}

/* Start of Mini Desktop Screen */
@media screen and (max-width:1200.98px) and (min-width:1101px){
/* Start of Bannersection */
.hero {padding: 2.5rem 0px;}
.heroright .image-container {height: 400px;}
.heroright {width: 500px;}
.hero .bannerheading {font-size: 45px;}

/* Start of patientsection */
.patientsection {padding: 2rem 0px;}
.dentalgallery {padding: 1rem 0px 2rem 0px;}
.trispecialityservice {padding: 2rem 0px 1rem 0px;}
.influencersectioncelebrity {padding: 2rem 0px 3rem 0px;}
.awardsection {padding: 3rem 0px;}
.internationalpatients {padding: 2rem 0px;}
.meetsmilesection {padding: 2rem 0px;}
.results-section {padding: 2rem 0px;}
.testimonialsection {padding: 2rem 0px 1rem 0px;}
.marquee-container{gap: 15px;}
.invisalign-section {padding: 2rem 0px;}
.invisalign-wrapper {min-height: 490px;}
.badge-list img {width: 155px;}
.invisalignright .mainheading {font-size: 48px;}
/*
.carousel .servicecard {padding: 0px;} */
.card-content {padding: 10px;margin: -30px 15px 30px 15px;}
.arrow-icon {bottom: 10px;right: 10px;width: 30px;height: 30px;}

.invisalign-section {padding: 2rem 0px;}
.invisalignright {padding: 20px;max-width: 550px;margin-right: 0rem;}

/* Start of Our Affiliations */
.boxrow {gap: 20px;margin-bottom: 20px;}
.smilecard {width: 310px;}

/* Start of Our Affiliations */
.affiliations-section {padding: 2rem 0px;}
.logo-card img {width: 150px;height: 70px;}
.affiliation-logos {display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 10px;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;padding: 10px;}

/* Start of featured-section */
.featuredsection {padding: 2rem 0px;}
.featured-logos {display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 20px;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;padding: 15px;}
.logo-box {padding: 15px 15px;}
.logo-box img {max-height: 68px;max-width: 175px;}

/* Start of awardsection */
.awardbottom {width: 935px;margin: 0px auto 0 auto;}
.smilecard {width: 298px;}
.carding {margin-bottom: 0px;}
}

/* Start of Ipad Pro Screen */
@media screen and (max-width:1100.98px) and (min-width:992px){
/* Start of Bannersection */
.hero {padding: 2.5rem 0px;}
.heroright .image-container {height: 400px;}
.heroright {width: 500px;}
.hero .bannerheading {font-size: 45px;}

/* Start of patientsection */
.patientsection {padding: 2rem 0px;}
.dentalgallery {padding: 1rem 0px 2rem 0px;}
.trispecialityservice {padding: 2rem 0px 1rem 0px;}
.influencersectioncelebrity {padding: 2rem 0px 3rem 0px;}
.awardsection {padding: 3rem 0px;}
.internationalpatients {padding: 2rem 0px;}
.meetsmilesection {padding: 2rem 0px;}
.results-section {padding: 2rem 0px;}
.testimonialsection {padding: 2rem 0px 1rem 0px;}
.invisalign-section {padding: 2rem 0px;}
.invisalign-wrapper {min-height: 465px;}
.badge-list img {width: 155px;}
.invisalignright .mainheading {font-size: 45px;}

.carousel .servicecard {padding: 0px;}
.card-content {padding: 10px;margin: -30px 15px 30px 15px;}
.arrow-icon {bottom: 10px;right: 10px;width: 30px;height: 30px;}

.invisalign-section {padding: 2rem 0px;}
.invisalignright {padding: 20px;max-width: 550px;margin-right: 0rem;}

/* Start of Our Affiliations */
.boxrow {gap: 20px;margin-bottom: 20px;}
.smilecard {width: 310px;}

/* Start of Our Affiliations */
.affiliations-section {padding: 2rem 0px;}
.logo-card img {width: 180px;height: 80px;}
.affiliation-logos {display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 10px;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;padding: 10px;}

/* Start of featured-section */
.featuredsection {padding: 2rem 0px;}
.featured-logos {display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 20px;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;padding: 15px;}
.logo-box {padding: 15px 15px;}
.logo-box img {max-height: 68px;max-width: 175px;}

/* Start of awardsection */
.awardbottom {width: 900px;margin: 0px auto 0 auto;}
.smilecard {width: 298px;}
.carding {margin-bottom: 0px;}
}

/* Start of Ipad Screen */
@media screen and (max-width:991.98px) and (min-width:768px){
/* Start of Bannersection */
.hero {padding: 2.5rem 0px;}
.heroright .image-container {height: 360px;}
.heroright {width: 390px;}
.hero .bannerheading {font-size: 35px;}

/* Start of patientsection */
.patientsection {padding: 2rem 0px;}
.dentalgallery {padding: 1rem 0px 2rem 0px;}
.trispecialityservice {padding: 2rem 0px 1rem 0px;}
.influencersectioncelebrity {padding: 2rem 0px 3rem 0px;}
.awardsection {padding: 2rem 0px;}
.internationalpatients {padding: 2rem 0px;}
.meetsmilesection {padding: 2rem 0px;}
.testimonialsection {padding: 2rem 0px 1rem 0px;}
.invisalign-section {padding: 2rem 0px;}
.invisalign-wrapper {min-height: 400px;}
.badge-list img {width: 110px;}
.invisalignright .mainheading {font-size: 35px;}
.influencercontainer {display: flex;gap: 1rem;flex-wrap: nowrap;overflow-x: auto;-webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 10px;     }
.influencercard {flex: 0 0 auto;width: 250px;scroll-snap-align: start;  }
/* .carousel .servicecard {padding: 0px;} */
.card-content {padding: 10px;margin: -30px 15px 30px 15px;min-height: 38%;}
.arrow-icon {bottom: 10px;right: 10px;width: 30px;height: 30px;}
.invisalign-section {padding: 2rem 0px;}
.invisalignright {padding: 20px;max-width: 550px;margin-right: 0rem;}
/* .wrapperx .carousel {grid-auto-columns: calc((100% / 2.2) - 20px);} */
.wrapperx {flex-wrap: nowrap;overflow-x: auto;scroll-snap-type: x mandatory;-webkit-overflow-scrolling: touch;scrollbar-width: none;width: 94%;gap: 1rem; margin: 0 auto;}
.wrapperx::-webkit-scrollbar {display: none; }
.servicecard {flex: 0 0 48%;scroll-snap-align: start;}
.mb{margin-bottom: 15px;}

/* Start of Our Affiliations */
.boxrow {gap: 20px;margin-bottom: 20px;}
.smilecard {width: 310px;}
.boxleft {margin-right: 0rem;text-align: center;}

/* Start of Our Affiliations */
.affiliations-section {padding: 2rem 0px;}
.logo-card img {width: 180px;height: 80px;}
.affiliation-logos {display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 10px;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;padding: 10px;}

/* Start of featured-section */
.featuredsection {padding: 2rem 0px;}
.featured-logos {display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 20px;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;padding: 15px;}
.logo-box {padding: 15px 15px;}
.logo-box img {max-height: 68px;max-width: 175px;}
.grideitem{width: 100%;height: 260px; overflow: hidden;}
.grideitem img {width: 100%;height: 100%; object-fit: cover;display: block;min-height: auto;}

/* Start of awardsection */
.awardbottom {width: 695px;margin: 0px auto 0 auto;}
.smilecard {width: 298px;}
.carding {margin-bottom: 0px;}
.awardtop{text-align: center;}
.awardtop .mainheading span br{display: none;}
#carousel2 {display: flex;will-change: transform;justify-content: flex-start;transition: transform 0.5s ease-in-out;overflow-x: auto;scroll-snap-type: x mandatory;-webkit-overflow-scrolling: touch;}
.ipcard {flex: 0 0 45%;max-width: 300px;overflow: hidden;justify-content: flex-start;box-sizing: border-box;box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); scroll-snap-align: start;}
}


/* Start of Iphone/Mobile Screen */
@media screen and (max-width:767.98px) and (min-width:600px){
/* Start of Banner */
.hero {padding: 30px 10px;flex-direction: column;text-align: center;}
.hero .bannerheading {font-size: 30px;margin-bottom: 10px;}
.hero .bannerheading br{display: none;}
.heroright {width: 100%;height: 350px; float:none;}
.hero h1 {font-size: 30px;}
.heroright .image-container {width: 100%;height: 350px;margin-top: 25px;}
.heroright .image-container::before {width: 250px;height: 150px;left: -7px;top: -8px;border: 8px solid #FFCC29;}
.heroright .image-container::after {width: 250px;height: 150px;border: 8px solid #82AA4B;right: -8px;bottom: -7px;}
.hero p {margin-bottom: 15px;font-size: 15px;}

.patientsection {padding: 30px 10px;}
.contentleft {padding: 0px 10px 0px 10px;}
.mainheading {font-size: 30px;padding-bottom:0px;}
.affiliations-section{padding: 30px 10px;}
.affiliation-logos {
    display: flex;
    flex-wrap: nowrap; /* Prevent line breaks */
    overflow-x: auto;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; /* Snap to items when scrolling */
    padding: 10px;
}

.logo-card {
    flex: 0 0 30%;
    max-width: 30%;
    margin-left: 2px;
    scroll-snap-align: start;
    height: auto;
}

/* Hide scrollbar (optional) */
.affiliation-logos::-webkit-scrollbar {display: none;}
.logo-card img {width: 100%;height: 100%;}
.awardbottom {width: 100%;}
/* .wrapperx .carousel {grid-auto-columns: calc((100% / 1.2) - 10px);gap: 8px;}
.carousel .servicecard {padding: 0px;width: 99%;} */
.wrapperx {flex-wrap: nowrap;overflow-x: auto;scroll-snap-type: x mandatory;-webkit-overflow-scrolling: touch;scrollbar-width: none;width: 94%;gap: 1rem; margin: 0 auto;}
.wrapperx::-webkit-scrollbar {display: none; }
.servicecard {flex: 0 0 85%;scroll-snap-align: start;}
.card-content {padding: 10px;margin: -30px 10px 25px 10px;}
.invisalign-section{padding: 30px 0px;}
.invisalign-wrapper {flex-direction: column;align-items: center;justify-content: center;min-height: 600px;border: #D1D1D1 1px solid;}
.invisalignright .mainheading { font-size: 30px;line-height: 1.2;}
.invisalignright .mainheading br{display: none;}
.invisalignright {padding: 25px;max-width: 100%;margin-right: 0rem;margin-top: -240px;}
.trust-line {font-size: 16px;margin-top:8px;}
.badge-list {gap: 12px;justify-content: center;}
.badge-list img {padding: 10px;width: 130px;}
.trispecialityservice {padding: 30px 0px 30px 0px;}
.dentalgallery {padding: 30px 0px;}
.grid-container {grid-template-columns: auto;}
.dentalboxheading p {font-size: 18px;margin-bottom: 0px;}
.featuredsection {padding: 30px 0px;}
.featured-logos {display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 10px;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;padding: 15px 10px;width: 92%;margin: 0 auto;}
.featured-logos::-webkit-scrollbar {display: none;}
.logo-box {flex: 0 0 40%; max-width: 40%;scroll-snap-align: start;height: auto;}
.logo-box img {width: 100%;height: 100%;}

.meetsmilesection {padding: 30px 0px;}
.boxleft{text-align: center;margin-right: 0rem;}
.smilecard {padding: 15px 0px 0px 0px;}
.boxrow {gap: 10px;margin-bottom: 10px;margin-top: 10px;flex-wrap:nowrap;justify-content: flex-start;}
.boxwrapper {max-width: 100%;
  margin: 12px auto 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.boxwrapper::-webkit-scrollbar{display: none;}
.carding {top: unset;position: unset;z-index: unset;min-height: 270px;margin-bottom: 10px;
  display: inline-block;
  min-width: 300px;
  width: 580px;
  margin-right: 0px;
  scroll-snap-align: start;
  border-radius: 8px;
  padding: 0em;
}
.carding:nth-child(1n), .carding:nth-child(2n){top: unset; margin-right: 8px;}
.awardheading{font-size: 20px;}
.internationalpatients {padding: 30px 0px;}
#carousel2 {
  display: flex;
  will-change: transform;justify-content: flex-start;
  transition: transform 0.5s ease-in-out;
}
.card-container{gap:10px;overflow-x: auto;padding: 1rem;}
.card-content p {padding-right: 60px;}
.card-container::-webkit-scrollbar {display: none;}
.ipcard {flex: 0 0 48%;max-width: 260px;border-radius: 20px;overflow: hidden;justify-content: flex-start;box-sizing: border-box;box-shadow: 0 4px 10px rgba(0,0,0,0.2);scroll-snap-align: start; }

/* Start of influencersectioncelebrity */
.influencersectioncelebrity {padding: 30px 0px}
.influencercontainer {flex-wrap: nowrap;overflow-x: auto;gap:5px;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;}
.influencercontainer::-webkit-scrollbar{display: none;}
.influencercard {flex: 0 0 47%;scroll-snap-align: start;margin-right: 5px;}
.icname {font-size: 18px;}
.trispecialityservice .mainheading {padding-bottom: 5px;}
.testimonialheading .mainheading{padding-bottom: 2px;}
.testimonial-wrapper .card{width:100%;padding: 12px 0px 0px 0px;min-height:auto;}
.testimonial-wrapper > div:nth-child(2) .card,
.testimonial-wrapper > div:nth-child(4) .card {border-radius: 50px 0px 50px 0px !important;}
.testimonial-wrapper > div:nth-child(3) .card,
.testimonial-wrapper > div:nth-child(4) .card {margin-top: 12px;}
.play-icon {width: 36px;height: 36px;}

/* Start of awardsection */
.awardsection {padding: 30px 0px;position: relative;z-index: 2;}
.awardsection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}
.awardtop{padding-bottom: 0px;text-align: center;}
.awardtop h2 br{display: none;}
.awardtop p{margin-bottom: 0px;}
.marquee-container {gap: 15px;padding: 15px 0;}
.scrollcard {gap: 15px;padding: 1rem;margin-right: 15px;}
}

/* Start of Iphone/Mobile Screen */
@media screen and (max-width:599.98px) and (min-width:320px){
/* Start of Banner */
.hero {padding: 15px 10px;flex-direction: column;text-align: center;}
.hero .bannerheading {font-size: 30px;margin-bottom: 10px;}
.heroright {width: 100%;height: 300px; float:none;}
.hero h1 {font-size: 30px;}
.heroright .image-container {width: 100%;height: 275px;margin-top: 25px;}
.heroright .image-container::before {width: 250px;height: 150px;left: -7px;top: -8px;border: 8px solid #FFCC29;}
.heroright .image-container::after {width: 250px;height: 150px;border: 8px solid #82AA4B;right: -8px;bottom: -7px;}
.hero p {margin-bottom: 15px;font-size: 15px;}
.patientsection {padding: 15px 10px;}
.contentleft {padding: 0px 10px 0px 18px;text-align: left;}
.testimonial-subtext {padding-bottom: 5px;font-size: 14px;}
.testimonial-img-wrapper img {left: 0px;}
.mainheading {font-size: 26px;padding-bottom:0px;}
.affiliations-section{padding: 15px 10px;}
.affiliation-logos {
    display: flex;
    flex-wrap: nowrap; /* Prevent line breaks */
    overflow-x: auto;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; /* Snap to items when scrolling */
    padding: 10px;
}

.logo-card {
    flex: 0 0 48%;
    max-width: 48%;
    margin-left: 2px;
    scroll-snap-align: start;
    height: auto;
}

/* Hide scrollbar (optional) */
.affiliation-logos::-webkit-scrollbar {display: none;}
.logo-card img {width: 100%;height: 100%;}
.awardbottom {width: 100%;}

/* .wrapperx .carousel {grid-auto-columns: calc((100% / 1.2) - 10px);gap: 8px;  }
.carousel .servicecard {padding: 0px;flex: 0 0 calc((100% / 3) - 15px);} */
.wrapperx {flex-wrap: nowrap;overflow-x: auto;scroll-snap-type: x mandatory;-webkit-overflow-scrolling: touch;scrollbar-width: none;width: 94%;gap: 0.8rem; margin: 0 auto;}
.wrapperx::-webkit-scrollbar {display: none; }
.servicecard {flex: 0 0 85%;scroll-snap-align: start;}
.arrow-icon {right: 10px;}
.card-content {padding: 10px;margin:-25px 10px 25px 10px;min-height: 165px;}
.trispecialityservice .mainheading {padding-bottom: 0px;}
.invisalign-section{padding: 15px 0px;}
.invisalign-wrapper {flex-direction: column;align-items: center;justify-content: center;min-height: 600px;border: #D1D1D1 1px solid;}
.invisalignright .mainheading { font-size: 30px;line-height: 1.2;}
.invisalignright {padding: 15px;max-width: 100%;margin-right: 0rem;margin-top: -250px;}
.trust-line {font-size: 16px;margin-top:8px;}
.badge-list {gap: 8px;}
.badge-list img {padding: 10px;width: 90px;}
.trispecialityservice {padding: 15px 0px 15px 0px;}
.dentalgallery {padding: 15px 0px;}
.grid-container {grid-template-columns: auto;}
.dentalboxheading p {font-size: 18px;margin-bottom: 0px;}
.featuredsection {padding: 15px 0px;}
.featured-logos {display: flex;flex-wrap: nowrap;overflow-x: auto;gap: 10px;
  -webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;padding: 15px 10px;width: 92%;margin: 0 auto;
}
.featured-logos::-webkit-scrollbar {display: none;}
.logo-box {flex: 0 0 48%; max-width: 48%;scroll-snap-align: start;height: auto;}
.logo-box img {width: 100%;height: 100%;}
.testimonial-wrapper .card{width:100%;padding: 12px 0px 0px 0px;min-height:auto;}
.testimonial-wrapper > div:nth-child(2) .card,
.testimonial-wrapper > div:nth-child(4) .card {border-radius: 50px 0px 50px 0px !important;}
.testimonial-wrapper > div:nth-child(3) .card,
.testimonial-wrapper > div:nth-child(4) .card {margin-top: 12px;}
.play-icon {width: 36px;height: 36px;}

.meetsmilesection {padding: 15px 0px;}
.boxleft{text-align: center;margin-right: 0rem;}
.smilecard {padding: 15px 0px 0px 0px;}
.smilecard:hover{transform:translateY(0px)}
.boxrow {gap: 10px;margin-bottom: 10px;margin-top: 10px;flex-wrap:nowrap;justify-content: flex-start;}
.boxwrapper {max-width: 100%;
  margin: 12px auto 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.boxwrapper::-webkit-scrollbar{display: none;}
.carding {top: unset;position: unset;z-index: unset;min-height: 270px;margin-bottom: 10px;
  display: inline-block;
  min-width: 300px;
  width: 580px;
  margin-right: 0px;
  scroll-snap-align: start;
  border-radius: 8px;
  padding: 0em;
}
.carding:nth-child(1n), .carding:nth-child(2n){top: unset; margin-right: 8px;}
.awardheading{font-size: 20px;}

.internationalpatients {padding: 15px 0px;}
#carousel2 {display: flex;will-change: transform;justify-content: flex-start;transition: transform 0.5s ease-in-out;}
.card-container{gap:10px;overflow-x: auto;padding: 1rem;}
.card-content p {padding-right: 35px;}
.card-container::-webkit-scrollbar {display: none;}
.ipcard {flex: 0 0 88%;max-width: 300px;border-radius: 20px;overflow: hidden;justify-content: flex-start;box-sizing: border-box;box-shadow: 0 4px 10px rgba(0,0,0,0.2);scroll-snap-align: start; }

/* Start of influencersectioncelebrity */
.influencersectioncelebrity {padding: 15px 0px}
.influencercontainer {flex-wrap: nowrap;overflow-x: auto;gap:5px;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;justify-content: flex-start;margin-top: 10px;}
.influencercontainer::-webkit-scrollbar{display: none;}
.influencercard {flex: 0 0 85%;scroll-snap-align: start;margin-right: 5px;}

/* Start of awardsection */
.awardsection {padding: 15px 0px;position: relative;z-index: 2;}
.awardsection::before {content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;background-image: url(../images/mbaward.webp);background-size: contain;background-repeat: no-repeat;background-position: center; z-index: 1;}
.awardtop{padding-bottom: 0px;text-align: center;}
.awardtop h2 br{display: none;}
.awardtop p{margin-bottom: 0px;}
.marquee-container {gap: 15px;padding: 15px 0;}
.scrollcard {gap: 15px;padding: 1rem;margin-right: 15px;}
.testimonial-name {font-size: 17px;margin-bottom: 0px;}
}
