body {
    margin: 0;
    overflow-x: hidden;
}

/* ================= MAIN SLIDER ================= */
.main-slider-wrap {
    height: 947px;
    width: 100%;
    position: relative;
}

.mainSwiper {
    height: 100%;
}

.main-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Slide Overlay */
.main-slide::before {
    content: '';
    position: absolute;
    inset: 0;
}

/* Fixed Title (Top) */
.section-title-wrap {
    margin-left: -556px;
    position: absolute;
    top: 75px;
    z-index: 4;
    left: 50%;
    text-align: center;
    width: 1112px;
}

.section-title {
    margin: 0;
    color: #FFF;
    font-family: Nocturnal;
    font-size: 65px;
    font-weight: 400;
    line-height: 62px;
    align-items: center;
}

.section-title span {
    color: #8AD5D5;
}
.section-title br {
    display: inline;
}
.section-desc br {
    display: inline;
}
.section-desc {
    margin-top: 28px;
    color: #FFF;
    font-size: 26px;
    font-weight: 400;
    line-height: 40px;
    align-items: center;
}

/* Slider Content (Bottom) */
.main-content {
    position: absolute;
    bottom: 35px;
    z-index: 10;
    text-align: center;
    max-width: 885px;
    width: 100%;
    padding: 0 20px;
}

.main-content h1 {
    margin: 0;
    color: #FFF;
    font-family: Nocturnal;
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.9s ease;
}

.main-content p {
    margin-top: 24px;
    font-size: 17px;
    font-weight: 300;
    line-height: 22px;
    color: rgba(255,255,255,.85);
    opacity: 0;
    transform: translateY(40px);
    transition: 0.9s ease .15s;
}
.main-content a {
    transform: translateY(50px);
    opacity: 0;
    transition: 0.9s ease .15s;
}

/* Active Slide Animation */
.swiper-slide-active .main-content h1,
.swiper-slide-active .main-content p,
.swiper-slide-active .main-content a {
    opacity: 1;
    transform: translateY(0);
}

/* ================= THUMB SLIDER ================= */
.dental-section {
    position: absolute;
    top: 38%;
    width: 100%;
    z-index: 20;
    margin-top: 50px;
}

.container {
    max-width: 100%;
    position: relative;
}

.dotted-line {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    border-top: 2px dashed rgba(255,255,255,.3);
}

.swiper.mySwiper .swiper-slide {
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Step Number Style */
.step-no {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    opacity: 0.8;
    position: absolute;
    top: 65px;
    transition: .4s;
    color: #ffffff;
}

.swiper-slide-active .step-no {
    font-size:62px;
    opacity: 1;
    top: -20px;
}

/* Image Wrapper */
.img-wrap {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: .5s cubic-bezier(.4,0,.2,1);
    z-index: 5;
}

.img-wrap img {
    width: 0;
    height: 0;
    opacity: 0;
    transition: .4s ease;
}

/* Active Image State */
.swiper-slide-active .img-wrap {
    width: 136px;
    height: 136px;
    background: transparent;
    border: 3px dotted #fff;
    padding: 10px;
    outline-offset: 5px;
}

.swiper-slide-active .img-wrap img {
    width: 100%;
    height: 100%;
    opacity: 1;
}

/* Thumb Content */
.content {
    position: absolute;
    bottom: 70px;
}

.content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    opacity: .8;
    color: #ffffff;
    white-space: nowrap;
}

.swiper-slide-active .content {
    opacity: 0;
    visibility: hidden;
}

/* Button Styles */
.outline-btn {
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.outline-btn .arrow {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.outline-btn:hover {
    background: #8E431A;
    border: 1px solid #8E431A;
    transition: all .4s;
}



/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-title-wrap { 
    width: 100%;
        left: 50%;
        margin: 0;
        top: 50px;
        text-align: center;
        align-items: center;
        margin-left: -142px;
  }
    
    .main-slider-wrap {
    height: 1000px;

   }
    .section-title{
        font-size: 30px;
        line-height: 38px;
        width: 300px !important;
    }

    .section-title br {
        display: none;
    }
    .section-desc br {
        display: none;
    }

    .section-desc {
        margin-top: 10px;
        font-size: 18px;
        line-height: 26px;
        width: 300px !important;
    }
    .dental-section {

        top: 32%;

    }
    .swiper-slide-active .step-no {
    font-size: 45px;
    opacity: 1;
    top: -10px;
    }
    .main-content h1 {

    font-size: 30px;

    }   
    .main-content p {
    margin-top: 15px;
    font-size: 16px;
 
    }
    .outline-btn {
    margin-top: 10px;
    padding: 16px 28px;
    font-size: 16px;

    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) { 
    .section-title-wrap {
    top: 60px;
   
    } 
    
    .main-slider-wrap {
    height: 830px;

   }
    .section-title{
        font-size: 34px;
        line-height: 38px;

    }

    .section-title br {
        display: none;
    }


    .section-desc {
        margin-top: 10px;
        font-size: 20px;
        line-height: 26px;
    }
    .dental-section {

        top: 32%;

    }
    .main-content h1 {

    font-size: 34px;

    }   
    .main-content p {
    margin-top: 15px;
    font-size: 16px;
 
    }
    .outline-btn {
    margin-top: 15px;
    padding: 16px 28px;
    font-size: 16px;

    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section-title-wrap { 
    width: 100%;
        left: 50%;
        margin: 0;
        top: 50px;
        text-align: center;
        align-items: center;
        margin-left: -364px;
  }
     .main-slider-wrap {
    height: 830px;

   }
    .section-title{
        font-size: 38px;
        line-height: 44px;
        width: 700px !important;
    }

    .section-desc {
        margin-top: 20px;
        font-size: 20px;
        line-height: 26px;
        width: 700px !important;
    }
    .dental-section {

        top: 32%;

    }
    .main-content h1 {

    font-size: 34px;

    }   
    .main-content p {
    margin-top: 15px;
    font-size: 16px;
 
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) { 
  .main-slider-wrap {
    height: 830px;

   }
   .section-title-wrap {
    width: 100%;
    left: 50%;
    margin-left: -390px;

   }
    .section-title{
        font-size: 46px;
        line-height: 50px;
        width: 800px !important;
    }

    .section-desc {
        margin-top: 24px;
        font-size: 24px;
        line-height: 32px;
        width: 800px !important;
    }
    .dental-section {

        top: 35%;

    }
    .main-content h1 {

    font-size: 34px;

    }   
    .main-content p {
    margin-top: 10px;
    font-size: 16px;
 
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) { 
 
    .section-title{
        font-size: 54px;
        line-height: 60px;
    }
}

/* Extra Extra large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) { 
  
}