body{
    background-color: var(--bs-blue);
    overflow-x: hidden !important;
}
#pageContent{
  width: 100vw;
}
.bg-white{
    background-color: #fff;
}
.text-blue{
    color: var(--bs-blue);
}
.letter-sm{
    letter-spacing: 0.2em;
}

/* Navbar */
.nav-link{
  position: relative;
  overflow: hidden;
}
.nav-link::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 1px;
  background-color: white;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}
.nav-link:hover::before{
  width: 100%;
}
.dropdown:hover > .dropdown-menu {
  display: block;
}
.booking-service::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 52, 73, .4);
  z-index: 1;
}
.booking-title{
  z-index: 2;
}
.booking-title::before{
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background-color: #fff;
  z-index: -1;
}
.services a img {
    transition: transform 0.5s ease;
}

.services a:hover .icon {
    transform: rotate(180deg);
}

.booking-service img {
    transition: transform 0.5s ease;
}

.booking-service:hover img {
    transform: scale(0.95);
}

.booking-service:hover .booking-title {
    transform: translate(-50%, -50%) scale(1.05);
    transition: transform 0.5s ease;
}
.services span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px; 
    background-color: white;
    transition: width 0.3s ease;
}
.services span:hover::after {
    width: 100%;
}

header.fixed-top {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.fixed-top.scrolled {
    background-color: var(--bs-blue);
    box-shadow: 0 10px 4px rgba(0, 0, 0, 0.15);
}

header.logo img {
    transition: height 0.3s ease;
}

header .padding {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

header .badge {
    transform: translateY(-100%);
}

header .logo .image{
    height: 75px;
}

header .logo {
    transform: translateY(-20%);
}


/* Home page */
.hero-img {
    max-width: 100% !important;
    height: auto !important;
}
.custom-btn{
  background-color: #9149EB; 
  border-top-right-radius: 5rem;
  border-bottom-right-radius: 5rem;
  padding-right: 2.5rem !important; 
  box-shadow: 0 8px 4px rgba(0, 0, 0, 0.25);
}

.dental-btn{
  background-color: #9149EB; 
  box-shadow: 0 8px 4px rgba(0, 0, 0, 0.25);
}

.container-review {
  background-color: var(--bs-blue);
  height: 30vh;
  box-shadow: 0 8px 4px rgba(0, 0, 0, 0.25);
}
.advantage {
  position: relative;
  background-color: #9149EB;
  box-shadow: 0 10px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: all 0.5s ease;
}

.advantage::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background-color: #fff;
  z-index: 0;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.advantage:hover::after {
  opacity: 1;
}

.advantage:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.advantage img,
.advantage .card-body {
  position: relative;
  z-index: 1;
  transition: filter 0.3s ease, color 0.3s ease;
}

.advantage:hover img {
  filter: brightness(0) saturate(100%) invert(33%) sepia(55%) saturate(749%) hue-rotate(240deg) brightness(98%) contrast(94%);
}

.advantage .card-body p {
  color: white;
}

/*team*/

.team-image-wrapper .image {
    object-fit: cover !important;
}

.team-image-wrapper::after,
.about-us-hero::after,
.contact-us-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(13, 29, 43, 0.25) 0%, rgba(13, 29, 43, 1) 100%) !important;
    z-index: 2;
    pointer-events: none;
}

.contact-us-hero::after {
  z-index: 1;
}

.find-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to left, rgba(13, 29, 43, .25) 0%, rgba(13, 29, 43, 1) 100%);
    z-index: 2;
    pointer-events: none;
} 

.card-image-2 img,
.card-image-2 {
    transition: all .45s ease;
  }

.image-content:hover .card-image-2 img{
    /*opacity: 0;*/
    transform: scale(1.05); 
  }

.gallery-slider .my-slider img {
  width: 100%;
  height: 350px;
  padding: 0;
  object-fit: cover;    
  object-position: center;
  display: block;       
}

/*about-us*/
.about-us-hero {
    height: 80vh;
}

.about-us-hero::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(30, 52, 73, .4);
    pointer-events: none;
    z-index: 0;
}

html, body {
    overflow-x: hidden !important; 
}
.logo-mask {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.mask-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.counter {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
    display: inline-block;
}

.counter.animate {
    opacity: 1;
    transform: scale(1);
}
.gallery a.gallery-anch {
    padding-bottom: 100%;
}
.gallery img {
    transform: translate3d(-50%, -50%, 0);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 52, 73, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.gallery-overlay::before {
  content: "+";
  font-size: 25px;
  color: #fff;
  transition: transform 0.5s ease;
  scale: 1;
}

.gallery a:hover .gallery-overlay {
    opacity: 1;
}

.gallery a:hover .gallery-overlay::before {
    transform: scale(2.5);
}

/*services*/
.services-hero {
    height: 85vh;
}
.services-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color:  rgba(30, 52, 73, .4);
    z-index: 2;
    pointer-events: none;
}

.logo-mask-card {
    width: 100%;
    min-width: 120px;
    aspect-ratio: 1;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;

    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
}

/* Contacts */
.contacts-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(40, 52, 73, .3) -20%, rgba(40, 52, 73, 1) 100%);
    pointer-events: none;
}
.contacts-section {
  margin-top: -6%;
  position: relative;
  z-index: 2;
}

/* SUPERDOCK SECTION START */
.pill-link {
    text-decoration: none;
    color: white;
    border-radius: 5px;
    border: 2px solid #9149EB;
    padding: 0.40rem 1rem;
    text-transform: uppercase;
    transition: all 0.03s ease-in-out;
    background-color: #9149EB; 
    box-shadow: 0 8px 4px rgba(0, 0, 0, 0.25);
}
.pill-link:hover {
    background-color: transparent;
    color: var(--bs-white) !important;
    border: 2px solid var(--bs-white);
    text-decoration: none;
}
.result-box {
    background-color: var(--bs-blue); 
    padding: 2rem 1rem;
    border-radius: 5px;
    width: 100%;
}
.result-text { margin-top: 0.5rem; }
.result-text small { color: var(--bs-white); font-size: 15px; }
.result-text span { font-weight: 600; color: var(--bs-white); font-size: 15px;}

.cal-head {
    margin: 2rem 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-btn {
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid var(--bs-white);
    cursor: pointer;
    color: var(--bs-white);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}
.nav-btn[disabled]{ opacity:.5; cursor:not-allowed; }
#prevBtn { left: 0; }
#nextBtn { right: 0; }

.day-head {
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bs-white);
    color: var(--bs-white);
}
.earliest .value { color: #9149EB ; }
.earliest .circle {
    background-color: #9149EB;
    color: var(--bs-white);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
}
.earliest-flex {
    background-color: white; 
    padding: 1.5rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
}
.nav-btn:hover { background-color: var(--bs-white); color: #212529 ; }

.slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    min-height: 50px;
    border: 1px solid var(--bs-purple);
    border-radius: 20px;
    background-color: var(--bs-blue);
}
.slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bs-white);
    border-radius: 12px;
    padding: 6px 12px;
    background-color: white;
    color: #9149eb;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    width: 100%;
    height: 100%;
}
.slot:hover { background-color: var(--bs-purple); color: white; }

.day-empty {
    min-height: 180px;
}

.day-empty .the-day-empty {
  border: 1px solid var(--bs-purple);
  border-radius: 20px;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 10px, var(--bs-blue) 10px, var(--bs-blue) 20px);
}

.slot.free {
    border-color: #9149eb;
    color: #9149eb;
    background: #fff;
}

.slot.free:hover {
    background-color: #9149eb;
    color: #fff;
}

.slot.booked {
    border-color: #d6d6d6;
    color: #9aa0a6;
    background: #f6f7f9;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: .8;
}

.slot.booked:hover {
    background: #f6f7f9;
    color: #9aa0a6;
}

@media (max-width: 540px) {
  .slots {
      gap: 2px;
  }
}

/* SUPERDOCK SECTION END */

.image-content .card-image .image {
    object-fit: cover;
}

.image-content:hover .card-image .image {
    /*opacity: 0;*/
    transform: scale(1.05);
}

/*MORE ABOUT DOC END*/

.w-100-w-md-50 {
    width: 50% !important;
}

.photos-service .ratio > img { 
    object-fit: cover; 
}

/*gallery*/
.gallery .gallery-anch figure { 
    margin:0; 
}
.gallery .gallery-anch figure > img {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

/*slider before-after*/

.image-container {
  max-width: 800px;
  max-height: 90vh;
  aspect-ratio: 2/1;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.image-before {
  position: absolute;
  inset: 0;
  width: var(--position);
  
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.slider-line {
  position: absolute;
  inset: 0;
  width: .2rem;
  height: 100%;
  background-color: #fff;
  left: var(--position);
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-button {
  position: absolute;
  background-color: #fff;
  color: var(--bs-indigo);
  padding: .5rem;
  border-radius: 100vw;
  display: grid;
  place-items: center;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}

.btnFirstSlider {
    color: white;
    background-color: #9149EB; 
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 5px;
    box-shadow: 0 8px 4px rgba(0, 0, 0, 0.25);
}

.btnFirstSlider:hover {
    color: white;
}

.btnSecondSlider {
    color: #9149EB;
    background-color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 5px;
    box-shadow: 0 8px 4px rgba(0, 0, 0, 0.25);
}

.btnSecondSlider:hover {
    color: #9149EB;
}

.slider-container p {
    color: white;
}


@media (max-width: 1205px) {
    header .d-navbar {
        transform: translateX(10%)
    }
}

.media-link {
    aspect-ratio: 1/1;
    width: 35px;
    height: 35px;
    padding: 0;
}




/* IMPROVEMENTS */
.hero-section .main-img-mask {
    border-radius: 20rem 10rem 50rem 50rem;
    position: relative;
    overflow: hidden;
    box-shadow: -15px -40px 20px rgba(140, 80, 255, 0.35), 60px -40px 50px rgba(220, 205, 255, 0.28);
}

.hero-section .main-img-mask::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60%; /* shading will stop before the middle */
    height: 100%;
    pointer-events: none;

    /* Purple shading → fade to transparent */
    background: linear-gradient(
        to right,
        rgba(140, 80, 255, 0.35) 0%,     /* strong at the left */
        rgba(140, 80, 255, 0.20) 30%,    /* softer */
        rgba(140, 80, 255, 0.00) 80%     /* fade out before middle */
    );
}

.btn-gradient {
    border-radius: 50px;
    font-weight: 600;
    color: white !important;
    background: linear-gradient(90deg, #9b5dff, #6e43ff, #4d8dff);
    box-shadow: 0 4px 20px rgba(120, 80, 255, 0.35);
    transition: all 0.2s ease;
}

/* Hover effect — same style as your image */
.btn-gradient:hover {
    box-shadow: 0 6px 24px rgba(120, 80, 255, 0.45);
    transform: translateY(-2px);
}

.btn-outline-glow {
    border-radius: 50px;
    font-weight: 600;
    color: #ffffff !important;
    border: 1.8px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.02); /* very subtle fill like your image */
    backdrop-filter: blur(2px);            /* optional, matches the soft glassy look */
    transition: all 0.25s ease;
}

.btn-outline-glow:hover {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 14px rgba(180, 160, 255, 0.25);
    transform: translateY(-1px);
}

.decore-image-tooth {
    filter: blur(35px) brightness(.7);
    transform: rotate(-18deg) translate(-25%, -40%);
    width: 25vw;
    height: auto;
    left: -25%;
    top: 100%;
    aspect-ratio: 1 / 1;
}

.moto-services, .booking,
.counter-section {
    background: #111D3B;
    background: linear-gradient(90deg,rgba(17, 29, 59, 1) 0%, rgba(28, 54, 81, 1) 100%);
}

/*.slide-item {
  background-color: var(--bs-white);
  aspect-ratio: 1/1;
  border: 0 !important;
}*/

.slide-item:before {
    content: '';
    position: absolute;
    right: -1px;
    left: auto;
    top: auto;
    bottom: -1px;
    mask: url(../../assets/images/services/readmore-btn-bg-shape.svg);
    -webkit-mask: url(../../assets/images/services/readmore-btn-bg-shape.svg);
    mask-repeat: no-repeat;
    mask-position: right bottom;
    mask-size: cover;
    width: 120px;
    height: 110px;
    z-index: 50;
    background-color: var(--bs-blue);
}

.slide-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(145, 73, 235, 0.25) 50%, rgba(145, 73, 235, .8) 100%) !important;
    z-index: 2;
    pointer-events: none;
}

.width-50px {
  width: 50px;
  height: 50px;
  aspect-ratio: 1/1;
  padding: 10px;
  transform: rotate(-45deg);
  transition: all .2s ease;
}

.width-50px:hover {
  transform: none;
}

.slider-services .slide-item {
    background-color: var(--bs-white);
    aspect-ratio: none;
    border: 0 !important;
}

@media (min-width: 992px) {
    .w-md-100 {
        width: 100% !important;
    }
}