html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px; /* Adjust to your navbar height */
}
/*==========================================
 MY SERVICES
==========================================*/

#my_services{
    width:100%;
    background:#fff;
    padding:50px 0;
}

/*==========================================
 HERO SLIDER
==========================================*/
/*=========================================
  MISSION SLIDER
=========================================*/
/* =========================================================
   MS SLIDER
   ========================================================= */

.ms-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 72px 0 0 0; /* fixed navbar height */
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   SLIDER
   ========================================================= */

.ms-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0;
}


/* =========================================================
   SLIDER TRACK
   ========================================================= */

.ms-track {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


/* =========================================================
   SLIDES / IMAGES
   ========================================================= */

.ms-slide {
    display: none;

    width: 100%;
    height: auto;

    max-width: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;

    vertical-align: middle;
}

.ms-slide.active {
    display: block;
}


/* =========================================================
   REMOVE ANY NAVIGATION
   ========================================================= */

.ms-nav,
#msPrevBtn,
#msNextBtn,
#msDots {
    display: none !important;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .ms-container {
        margin-top: 72px;
    }

    .ms-slider,
    .ms-track {
        width: 100%;
        height: auto;
    }

    .ms-slide {
        width: 100%;
        height: auto;
    }
}

/* =========================================================
   RESPONSIVE - MOBILE / TABLET
========================================================= */
/* =========================================================
   RESPONSIVE - MOBILE / TABLET
========================================================= */

@media (max-width: 768px) {

    .ms-container {
        margin-top: 72px;
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .ms-slider,
    .ms-track {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .ms-slide {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: center;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .ms-container {
        margin-top: 72px;
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .ms-slider,
    .ms-track {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .ms-slide {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 768px) {

    .ms-container {
        margin-top: 72px;
        min-height: 400px;
        width: 100%;
        overflow: hidden;
    }

    .ms-slide {
        width: 100%;
        height: auto;
        display: block;
    }
}




/*==========================================
 HERO NAVIGATION
==========================================*/

.ms-slider-nav{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:35px;
    margin:px 0 70px;
}

.ms-slider-nav button{

    border:none;
    background:none;

    font-size:13px;
    color:#555;

    cursor:pointer;
    transition:.3s;
}

.ms-slider-nav button:hover{

    color:#ee5149;

}




/* =========================================
   SERVICE SLIDER NAVIGATION
   INDEPENDENT CSS
========================================= */

.service-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

/* Previous / Next buttons */

#servicePrevBtn,
#serviceNextBtn {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;

    font-family: inherit;
    font-size: 15px;
    font-weight: 500;

    cursor: pointer;
}

/* Previous */

#servicePrevBtn {
    color: #222;
}

/* Next */

#serviceNextBtn {
    color: #222;
}


/* =========================================
   SERVICE DOTS
========================================= */

#serviceDots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

/* Inactive dot */

#serviceDots .service-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;

    padding: 0;
    margin: 0;

    border: none;
    border-radius: 50%;

    background: #d6d6d6;

    outline: none;
    box-shadow: none;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    transform: none;
}

/* Active dot */

#serviceDots .service-dot.active {
    background: #ee5149;

    border: none;
    transform: none;
}




/*==========================================
SERVICE CONTENT
==========================================*/

.ms-content {
    width: 100%;
    max-width: 1200px;

    margin: 80px auto;

    text-align: center;
}


/*==========================================
SERVICE TITLE
==========================================*/

#msTitle {
    width: 100%;

    margin: 0 auto 40px;

    font-size: 42px;
    font-weight: 300;
    line-height: 1.3;

    color: #2f2f2f;

    text-transform: uppercase;

    text-align: center;
}

/*==========================================
SERVICE CONTENT
==========================================*/

.ms-content {
    width: 100%;
    max-width: 1200px;

    margin: 80px auto;

    padding: 0 20px;

    text-align: center;
}

#msTitle {
    width: 100%;

    margin: 0 auto 40px;

    font-size: 42px;
    font-weight: 300;
    line-height: 1.3;

    color: #2f2f2f;

    text-transform: uppercase;

    text-align: center;
}

#msDescription {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    font-size: 16px;
    line-height: 2;

    color: #666;

    text-align: center;
}


/*==========================================
TABLET
==========================================*/

@media (max-width: 992px) {

    .ms-content {
        width: 90%;
        margin: 60px auto;
        padding: 0;
    }

    #msTitle {
        font-size: 34px;
        margin-bottom: 30px;
    }

    #msDescription {
        font-size: 16px;
        line-height: 1.9;
    }

}


/*==========================================
MOBILE
==========================================*/

@media (max-width: 768px) {

    .ms-content {
        width: 90%;
        max-width: none;

        margin: 25px auto 50px;

        padding: 0;

        text-align: center;
    }

    #msTitle {
        width: 100%;

        margin: 0 auto 25px;

        font-size: 28px;

        font-weight: 300;

        line-height: 1.25;

        text-align: center;
    }

    #msDescription {
        width: 100%;
        max-width: none;

        margin: 0 auto;

        font-size: 15px;

        line-height: 1.8;

        text-align: center;
    }

}
/*==========================================
 OUR SERVICES
==========================================*/
.section-heading{
    text-align:center;
}

.section-heading h2{
    margin: 0;
    font-size: 28px;
    font-weight: 200;
    letter-spacing: 0px;
    color: #2f2f2f;
}

.section-heading span{
    display:inline-block;
    width:50px;
    height:2px;
    background:#807f7f;
}
.my_services_related{
    width:1200px;
    max-width:95%;
    margin:100px auto 0;
}

.my_services_slider{

    margin-top:50px;
    overflow:hidden;
    width:100%;
}

.my_services_track{

    display:flex;
    gap:30px;
    margin-top: 20px;
    transition:.5s ease;
    align-items:center;
    justify-content:center;
}

.service-card{

    min-width:calc((100% - 60px)/3);

    background:#fff;

    border:1px solid #ececec;

    border-radius:20px;
    text-decoration:none;

    color:inherit;

    transition:.35s ease;

    cursor:pointer;

}

.service-card:hover{

    transform:translateY(-8px);

    border-color:#ee5149;

}

.service-card.active-service{

    border:1px solid #ee5149;
    border-radius:20px;

}

.service-card img{

    width:100%;
    height:220px;
    padding:10px;
    border-radius:20px;
    object-fit:cover;

}

.service-content{
    padding:20px;
    text-align:center;
}

.service-content h3{

    font-size:20px;

    margin-bottom:12px;

    color:#2f2f2f;

}

.service-content p{

    font-size:14px;

    line-height:1.8;

    color:#666;

    margin-bottom:20px;

}
.service-content span {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #ee5149;
    background: transparent;

    border: 1px solid #ee5149;
    padding: 12px 26px;

    font-size: 14px;
    border-radius: 20px;
    font-weight: 500;

    height: 40px;
    width: 190px;

    margin: 0 auto;

    transition: .3s;
}

.service-card:hover span {
    background: #ee5149;
    color: #fff;
    border-color: #ee5149;
    transform: translateY(-2px);
}

/*==========================================
 SERVICES NAVIGATION
==========================================*/

.my_services_nav{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:35px;

    margin-top:35px;

}

.my_services_nav button{

    border:none;

    background:none;

    color:#555;

    font-size:13px;

    cursor:pointer;

    transition:.3s;

}

.my_services_nav button:hover{

    color:#ee5149;

}
#serviceDots{
    display:flex;
    align-items:center;
    gap:8px;
}

.service-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#807f7f;
    cursor:pointer;
    transition:.3s;

    /* reset default button styling */
    border:none;
    outline:none;
    padding:0;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
}

.service-dot.active{
    background:#ee5149;
    transform:scale(1.15);
}

/*==========================================
 RESPONSIVE
==========================================*/

@media(max-width:992px){

.ms-slides{

    height:520px;

}

#msTitle{

    font-size:32px;

}

.service-card{

    min-width:calc((100% - 30px)/2);

}

}

@media(max-width:768px){

#my_services{

    padding:22px 0;

}

.ms-slides{

    height:240px;

}

#msTitle{

    font-size:26px;

}

#msDescription{

    font-size:15px;

    line-height:1.8;

}

.ms-slider-nav,
.my_services_nav{

    gap:20px;

}

.service-card{

    min-width:100%;

}

.service-card img{

    height:220px;

}

}

/* ===========================================
   Back To Top Button
=========================================== */

#backToTop{
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    outline: none;
    border-radius: 50%;

    background: #ee5149;
    color: #ffffff;

    cursor: pointer;
    z-index: 9999;

    box-shadow: 0 10px 25px rgba(238, 81, 73, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: all 0.35s ease;
}

#backToTop.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover{
    background: #d93d35;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(238, 81, 73, 0.45);
}

#backToTop:active{
    transform: scale(0.95);
}

#backToTop svg{
    width: 22px;
    height: 22px;
    stroke: #fff;
    transition: transform .3s ease;
}

#backToTop:hover svg{
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width:768px){
    #backToTop{
        width:50px;
        height:50px;
        right:20px;
        bottom:20px;
    }
}


