/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
    border-color: #D6C3A5;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: #28A745;
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-primary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid #28A745 !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: #28A745 !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 576px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-dark) !important;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 50px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light) !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}
/*** Carousel Hero Header Start ***/
.header-carousel {
    position: relative; 
}

.header-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    display: none;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 150px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

@media (max-width: 576px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        top: 630px;
        transition: 0.5s;
    }

    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 95% !important;
    }
 
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    position: relative;
    width: 100%;
    height: 700px;
    margin-top: 95px;
    display: block;
    object-fit: cover;
    transition: 0.5s;

}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        margin-top: 0;
        transition: 0.5s;
    }

}

@media (min-width: 992px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin-top: 50px;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    position: relative;
    width: 75%;
    
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 160px 0 60px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2) ;
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item .service-img::before {
    width: 100%;
    height: 0;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
    z-index: 5;
    
}

.service .service-item:hover .service-img::before {
    height: 100%;
    background: rgba(230, 221, 230, .3);
}

.service .service-item .service-img:hover img {
    transform: scale(1.3);
}

.service .service-item .service-content {
    position: relative;
    z-index: 2;

}

.service .service-item .service-content::before {
    width: 100%;
    height: 8px;
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgba(230, 221, 230,1);
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-content::before {
    background: rgba(230, 221, 230,1);
    height: 100%;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}


.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-dark) !important;
    z-index: 9;
}
.service .service-item:hover .service-content .service-content-inner h5 {
    color: var(--bs-secondary);
}

/*** Service End ***/

/*** About Start ***/
.about .about-img {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 10px;
}

.about .about-img .about-img-inner {
    position: absolute;
    left: 0; 
    bottom: 0; 
    border: 10px solid; 
    border-color: var(--bs-white) var(--bs-white) var(--bs-white) var(--bs-white);
    border-radius: 50%;

}

.about .about-img .about-experience {
    position: absolute;
    top: 125px; 
    left: -125px; 
    transform: rotate(-90deg);
    background: transparent;
    color: var(--bs-primary);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
}

/*** About End ***/

/*** Feature Start ***/
.feature .feature-item {
    position: relative;
    display: flex;
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;

}

.feature .feature-item::before {
    width: 0;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover::before {
    width: 100%;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    display: inline-flex;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    position: relative;
    z-index: 2;
}

.feature .feature-item:hover .feature-content {
    position: relative;
    color: var(--bs-white);
    z-index: 2;
}

.feature .feature-item:hover .feature-content h5 {
    color: var(--bs-dark);
}
/*** Feature End ***/


/*** Appointment Start ***/
.appointment {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.appointment .appointment-form {
    background: rgba(239, 162, 134, 0.3);
}

.appointment .appointment-form .btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.appointment .appointment-form .btn.btn-primary:hover {
    box-shadow: inset 600px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Youtube Video start ***/
.video {
    position: relative;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 33px;
    height: 44px;
    border-radius: 50%;
    transition: 0.5s;
    

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 115px;
    height: 115px;
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
    transition: 0.5s;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    transition: all 300ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 33px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    margin-left: 5px;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/
/*** Appointment End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: -125px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
}

.team .team-item .team-img:hover .team-icon {
    margin-bottom: 145px;
}

.team .team-item:hover .team-img::before {
    background: rgba(21, 185, 217, .3);
}

.team .team-item .team-content {
    color: var(--bs-primary);
    transition: 0.5s;
}

.team .team-item .team-content h5 {
    color: var(--bs-secondary);
    transition: 0.5s;
}

.team .team-item:hover .team-content h5 {
    color: var(--bs-dark);
}

.team .team-item:hover .team-content {
    background: var(--bs-primary);
    color: var(--bs-white);
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial {
    background: linear-gradient(rgba(21, 185, 217, 0.9), rgba(21, 185, 217, 0.9)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    background: transparent;
}

.testimonial .testimonial-item .testimonial-inner .testimonial-inner-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--bs-white);
}

.testimonial .testimonial-carousel.owl-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
}


.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-primary) !important;
    color: var(--bs-white) !important;
}


@media (max-width: 900px) {
    .testimonial .testimonial-carousel .owl-nav .owl-prev {
        margin-top: -190px;
        margin-left: 40px;
    }

    .testimonial .testimonial-carousel .owl-nav .owl-next {
        margin-top: -190px;
        margin-right: 40px;
    }
    
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
    border: 1px solid var(--bs-white);
    background: transparent;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    background: var(--bs-secondary) !important;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

.testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
    transition: 0.5s;
}

@media (min-width: 900px) {
    .testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
        font-size: 20px;
    }
}


/* Testimonial Section Title Start */
.testimonial .section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.testimonial .section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.testimonial .section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.testimonial .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Testimonial End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-img::after {
    background: rgba(21, 185, 217, .5);
}

.blog .blog-item .blog-centent {
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-top: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
/*** Blog End ***/


/*** Contact Start ***/
.contact {
    background: linear-gradient(rgba(247,245,242,1), rgba(230,221,230, 1)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


.contact .contact-form .btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.contact .contact-form .btn.btn-light:hover {
    box-shadow: inset 600px 0 0 0 var(--bs-primary) !important;
    color: var(--bs-secondary) !important;
}

.contact .contact-form .form-floating input,
.contact .contact-form .form-floating textarea,
.contact .contact-form .form-floating label {
    color: #B08A5C;
}



/* Testimonial Section Title Start */
.contact .section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.contact .section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.contact .section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.contact .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-primary);
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark) !important;
}
/*** copyright end ***/



/*** image shaping***/
 .i1 {
     border-radius: 71% 29% 100% 0% / 100% 73% 27% 0%;

 }

 /*** modal trial ***/



 /*** signup form ***/
form {
  /* Just to center the form on the page */
  margin: 0 auto;
  width: 400px;
}

.modal-bottom-slide .modal-dialog {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0;
  width: 100%;
  max-width: none;
}

.modal-bottom-slide .modal-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0;
   /* width: 100vw;*/
   /* max-width: 100vw;*/
    transition: transform 0.3s ease;
    transform: translateY(100%);
    pointer-events: none;
    z-index: 1055;
}

.modal.show .modal-dialog.modal-bottom-slide {
    transform: translateY(0);
    pointer-events: auto;
}

.modal-bottom-slide .modal-content {
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
    width: 100%;
    margin: 0;
}
/* Apply only to modal with ID loginModal */
#loginModal .modal-dialog.modal-bottom-slide {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0;
   /* width: 100vw;
    max-width: 100vw;*/
    transition: transform 0.3s ease;
    transform: translateY(100%);
    pointer-events: none;
    z-index: 1055;
}

#loginModal.show .modal-dialog.modal-bottom-slide {
    transform: translateY(0);
    pointer-events: auto;
}

#loginModal .modal-content {
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
   /* width: 100%;
    margin: 0;*/
}

/* Only style custom modal content if needed */
#loginModal .modal-content {
  /* Your custom login styling here */
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.2);
}

#loginModal .modal-dialog {
    transition: transform 0.3s ease;
    transform: translateY(100%);
    pointer-events: none;
   /* margin: 1.75rem auto;
         These center it horizontally */
    position: fixed;
    bottom: 0;
    left: 50%;
    top:50%;
    z-index: 1055;
    max-width: 450px;
    transform: translate(-50%, 100%);
    margin: 0;
}

#loginModal.show .modal-dialog {
    transform: translateY(0);
    pointer-events: auto;
}

/* Style.css */
/* General styling for all modals */
.modal-dialog {
    transition: transform 0.3s ease;
    pointer-events: auto;
    z-index: 1055;
    max-width: 450px; /* Adjust as needed */
    margin: 1.75rem auto; /* Center the modal */
}

/* Specific styling for the login modal */
#loginModal .modal-dialog {
    position: fixed;
    bottom: 0;
    left: 50%;
    top: auto; /* Override top positioning */
    transform: translate(-50%, 100%); /* Horizontal centering, start off-screen */
    margin: 0;
}

#loginModal.show .modal-dialog {
    transform: translate(-50%, 0); /* Slide into view */
    pointer-events: auto;
}

#loginModal .modal-content {
    border-radius: 16px 16px 16px 16px;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.4);
}

#loginModal .modal-header {
    border-bottom: none; /* Remove border for a cleaner look */
}
  @media (max-width: 576px) {
    .modal-dialog {
        margin: 0; /* Remove default margins */
        max-width: 100%;
    }
}
/*style for cartpage*/
.cart-container {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
    background-color: #f9f9f9; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    
}


table { 
    width: 100%; background: #fff; 
    border-collapse: collapse; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

th, td { 
    padding: 10px; 
    border-bottom: 1px solid #ccc; 
    text-align: center; 
}
th { 
    background-color: #dac1f2; 
    color: white; 
}
.cart-container img { 
    width: 120px;
    height: 120px; 
    object-fit: cover; 
    border-radius: 4px; 
}
 input[type="number"] { 
    width: 60px; padding: 5px; 
}
        
.remove-btn { 
    color: red; 
    text-decoration: none; 
}
        
.remove-btn:hover { 
    text-decoration: underline; 
}
        
.update-btn { 
    margin-top: 10px; 
    padding: 8px 12px; 
    background: #28a745; 
    color: white; 
    border: none; 
    cursor: pointer;
 }

/*products page button style*/
.btn-outline-primary {
    border-radius: 8px;
    padding: 6px 14px;
    font-weight: 500;
    transition: 0.3s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: #a1d430;
    border-color: #a1d430;
    color: white;
}

.btn-primary.btn-sm {
    background-color: #a1d430;
    border: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
}

.btn-primary.btn-sm:hover {
    background-color: #8bbf2f;
}
.service-item {
    border: 1px solid #e1e1e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Hides the new address form by default */
#newAddressFields {
    display: none;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 10px;
}

/* Optional: style the radio buttons for better visibility */
.form-check-input:checked + .form-check-label {
    font-weight: bold;
    color: #198754; /* Bootstrap's success color */
}


/* checkout page */
   .card-custom { border: 1px solid #d4d4d4; border-radius: 1rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
    .bb-green { background-color: #a1d430; border-color: #a1d430; }
    .bb-green:hover { background-color: #8cc02e; }
    .section-hidden { display: none; }
    .form-label { font-weight: 500; }



    /*profile page*/

    
.profile-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.profile-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px auto;
}

.profile-container label {
    margin-top: 10px;
    font-weight: 500;
}

.profile-container input,
.profile-container select {
    margin-bottom: 10px;
    width: 100%;
}

.profile-container .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.profile-container button {
    width: 48%;
}
.section-hidden {
    display: none;
}

/*order confermed page */

    #container .container {
      background: #fff;
      max-width: 500px;
      width: 100%;
      padding: 40px 30px;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(76, 60, 180, 0.1);
      text-align: center;
      position: relative;
      transition:
        width 0.6s ease,
        height 0.6s ease,
        border-radius 0.6s ease,
        padding 0.6s ease,
        background-color 0.6s ease,
        opacity 0.6s ease;
      opacity: 1;
    }

    /* Circle shrink animation with black background */
    #container .circle-shrink {
      width: 80px !important;
      height: 80px !important;
      padding: 0 !important;
      border-radius: 50% !important;
      background-color: #000 !important;  /* <-- black background */
      opacity: 0.9;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(49, 135, 220, 0.4);
      margin: auto;
    }

    #container h1 {
      color: #4CAF50;
      margin-bottom: 20px;
      font-size: 2rem;
      transition: opacity 0.3s ease;
    }

    #container p {
      font-size: 1.1rem;
      margin-bottom: 15px;
      transition: opacity 0.3s ease;
    }

    #container .btn-home {
      display: inline-block;
      margin-top: 25px;
      padding: 12px 28px;
      font-size: 1rem;
      color: #fff;
      background-color: #0d6efd;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      user-select: none;
    }

    #container .btn-home:hover {
      background-color: #3574d4ff;
    }

    /* Fade out text and button on circle shrink */
    #container .circle-shrink h1,
    .circle-shrink p,
    .circle-shrink .btn-home {
      opacity: 0;
      pointer-events: none;
      user-select: none;
    }


/*
        .password-box {
            max-width: 400px;
            margin: 60px auto;
            background: #fff;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .password-box h3 {
            text-align: center;
            margin-bottom: 20px;
            color: var(--bs-primary, #2d6a4f);
        }
        .password-box label {
            font-weight: 500;
            margin-bottom: 6px;
            display: block;
        }
        .password-box input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 14px;
            border: 1px solid #ccc;
            border-radius: 6px;
        }
        .password-box button {
            width: 100%;
            background: var(--bs-primary, #2d6a4f);
            color: #fff;
            padding: 12px;
            border: none;
            border-radius: 6px;
            font-size: 15px;
            cursor: pointer;
        }
        .password-box button:hover {
            background: #1b4332;
        }
        .msg {
            text-align: center;
            margin-bottom: 15px;
            font-size: 14px;
            padding: 8px;
            border-radius: 6px;
        }
        .msg.success { background: #d8f3dc; color: #1b4332; }
        .msg.error { background: #ffe0e0; color: #9d0208; }
*/


/*mobile view css */
/* ============================================
   MOBILE OPTIMIZATION STYLES
   Add this section to the end of your style.css
   ============================================ */

/* Mobile Product Grid Optimization */
@media (max-width: 767px) {
    /* Make product cards full width on mobile */
    .service .row .col-md-6,
    .service .row .col-lg-4,
    .service .row .col-xl-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    /* Reduce product card image height */
    .service-img {
        height: 220px;
        overflow: hidden;
    }
    
    .service-img img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    /* Compact product card content */
    .service-content {
        padding: 1rem !important;
    }
    
    .service-content h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem !important;
        line-height: 1.3;
    }
    
    /* Reduce section padding */
    .service.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Mobile Product Details Sections */
@media (max-width: 767px) {
    /* Reduce spacing in product detail sections */
    .container-fluid.about {
        padding: 1.5rem 0 !important;
    }
    
    .about .container {
        padding: 0.5rem !important;
    }
    
    .about .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* Stack images and content vertically */
    .about .row {
        margin: 0 !important;
    }
    
    .about .col-lg-5,
    .about .col-lg-7 {
        padding: 0.5rem !important;
    }
    
    /* Optimize product detail images */
    .about-img {
        padding-bottom: 1rem !important;
        padding-left: 0 !important;
        margin-bottom: 1rem;
    }
    
    .about-img img {
        max-height: 200px;
        width: 100%;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* Remove the decorative inner image on mobile */
    .about-img-inner {
        display: none;
    }
    
    /* Compact typography in product details */
    .about .display-3 {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-bottom: 0.75rem !important;
    }
    
    .about .section-title h4 {
        font-size: 0.9rem;
    }
    
    .about p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.5rem !important;
    }
    
    .about .mb-4 {
        margin-bottom: 0.75rem !important;
    }
    
    .about .text-secondary {
        font-size: 0.8rem;
    }
    
    /* Reduce icon size */
    .about .fa-check {
        font-size: 0.8rem;
    }
}

/* Hero Carousel Mobile Optimization */
@media (max-width: 767px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 400px;
        margin-top: 0;
    }
    
    .carousel-caption {
        padding: 30px 0 !important;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem !important;
        line-height: 1.2;
        margin-bottom: 1rem !important;
    }
    
    .carousel-caption h5 {
        font-size: 0.85rem !important;
        letter-spacing: 1px !important;
    }
    
    .carousel-caption p {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4;
    }
    
    .carousel-caption-content {
        padding: 1rem !important;
        width: 90% !important;
    }
}

/* Section Titles Mobile */
@media (max-width: 767px) {
    .section-title {
        margin-bottom: 1.5rem !important;
    }
    
    .section-title .display-3 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }
    
    .section-title h4 {
        font-size: 0.9rem;
    }
    
    .section-title p {
        font-size: 0.85rem;
    }
    
    /* Hide decorative lines on mobile */
    .sub-style::before,
    .sub-style::after,
    .sub-title::before,
    .sub-title::after {
        display: none;
    }
}

/* Footer Mobile Optimization */
@media (max-width: 767px) {
    .footer {
        padding: 2rem 0 !important;
    }
    
    .footer .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer .col-md-6,
    .footer .col-lg-6,
    .footer .col-xl-3 {
        margin-bottom: 1.5rem;
    }
    
    .footer-item h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem !important;
    }
    
    .footer-item p,
    .footer-item a {
        font-size: 0.85rem;
        line-height: 1.8;
    }
}

/* Navbar Mobile Improvements */
@media (max-width: 991.98px) {
    .navbar-brand h1 {
        font-size: 1.2rem !important;
        margin: 0 !important;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
        font-size: 0.95rem;
    }
}

/* General Mobile Spacing Improvements */
@media (max-width: 767px) {
    /* Reduce container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Compact row gutters */
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .row > * {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Back to top button */
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Accordion Styles for Product Details (if you implement Option 2) */
@media (max-width: 767px) {
    .accordion {
        margin-top: 1rem;
    }
    
    .accordion-button {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
        font-weight: 500;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #a1d430;
        color: white;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .accordion-body img {
        max-height: 180px;
        width: 100%;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .accordion-body p {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
}


/* Compact Product Card Styles */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #28A745;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    min-height: 2.6em; /* 2 lines */
}

.product-size {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
}



/* Mobile Specific */
@media (max-width: 575px) {
    .product-title {
        font-size: 0.85rem;
    }
    
    .product-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        top: 6px;
        right: 6px;
    }
    
    .product-info {
        padding: 0.6rem;
    }
    
    .btn-view {
        padding: 0.35rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Tablet - 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .product-title {
        font-size: 0.95rem;
    }
}






/* Enhanced control buttons for better visibility */
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 50px;
            height: 50px;
            background-color: #198754;
            border-radius: 50%;
            border: 3px solid #ffffff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-control-prev,
        .carousel-control-next {
            width: 8%;
            opacity: 0.6;
        }
        
        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            opacity: 1;
        }
        
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 3rem;
            height: 3rem;
            background-color: rgb(0, 0, 0);
            border-radius: 50%;
            padding: 10px;
        }
                        /* Position buttons at screen edges */
        .carousel-control-prev {
            left: 10px;
            position: absolute;
        }
        
        .carousel-control-next {
            right: 10px;
            position: absolute;
        }
        
       
        /* Enhanced indicators */
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 10px;
             background-color: rgba(87, 224, 248, 0.5) !important;
           
        }

        .carousel-indicators button.active {
            background-color: #28e758;  /* Darker green for active dot */
        }
        
        .carousel-indicators {
            margin-bottom: 2rem;
        }
        
        /* Mobile optimizations */
        @media (max-width: 768px) {
            .carousel-item {
                min-height: auto;
            }
            
            .display-3 {
                font-size: 2rem;
            }
            
            .about-img {
                padding-bottom: 2rem !important;
                padding-left: 0 !important;
            }
            
            /* Larger touch targets for mobile */
            .carousel-control-prev-icon,
            .carousel-control-next-icon {
                width: 2.5rem;
                height: 2.5rem;
            }
            
            .carousel-control-prev,
            .carousel-control-next {
                width: 15%;
            }
            
            .carousel-indicators button {
                width: 10px;
                height: 10px;
            }
            
            /* Better text readability on mobile */
            .text-secondary {
                font-size: 0.9rem;
            }
        }
        
        /* Smooth transitions */
        .carousel-item {
            transition: transform 0.6s ease-in-out;
        }
        
        /* Touch feedback */
        .carousel-control-prev:active,
        .carousel-control-next:active,
        .carousel-indicators button:active {
            transform: scale(0.95);
        }