/*** 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%;
}

.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: var(--bs-burgundy);
}

.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 var(--bs-primary) !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: var(--bs-primary) !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;
    }
}



/* Logo sizing – responsive, no hard fixed width */
.navbar-brand .logo {
  width: clamp(70px, 8vw, 100px); /* ~100px on laptops */
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

/* Ensure navbar doesn't squash the logo */
.navbar {
  align-items: center;
}

.navbar-brand img.logo {
  max-width: none !important;
}

/* Optional: fine-tune brand spacing */
.navbar-brand {
  padding: 6px 0;
}











/*** 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 {
    transition: 0.5s;
}

.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/ResourcesBG.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(21, 185, 217, .3);*/
background: rgba(128, 0, 32, 0.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(21, 185, 217, .5);*/
background: rgba(128, 0, 32, 0.5)
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-content::before {
/*    background: rgba(21, 185, 217, .5);*/
    background: rgba(128, 0, 32, 0.5);
    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-white) !important;
    z-index: 9;
}
.service .service-item:hover .service-content .service-content-inner h5 {
    color: var(--bs-secondary);
}

/*** Service End ***/




/*** testimonials Start ***/
.testimonials .testimonials-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2) ;
}

.testimonials .testimonials-item .testimonials-img {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonials .testimonials-item .testimonials-img img {
    transition: 0.5s;
}

.testimonials .testimonials-item .testimonials-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;
    
}

.testimonials .testimonials-item:hover .testimonials-img::before {
    height: 100%;
/*    background: rgba(21, 185, 217, .3);*/
background: rgba(128, 0, 32, 0.3);
}

.testimonials .testimonials-item .testimonials-img:hover img {
    transform: scale(1.3);
}

.testimonials .testimonials-item .testimonials-content {
    position: relative;
    z-index: 2;

}

.testimonials .testimonials-item .testimonials-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(21, 185, 217, .5);*/
background: rgba(128, 0, 32, 0.5)
    transition: 0.5s;
    z-index: 3;
}

.testimonials .testimonials-item:hover .testimonials-content::before {
    background: rgba(128, 0, 32, 0.5);
    height: 100%;
}

.testimonials .testimonials-item .testimonials-content .testimonials-content-inner {
    transition: 0.5s;
}


.testimonials .testimonials-item:hover .testimonials-content .testimonials-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    z-index: 9;
}
.testimonials .testimonials-item:hover .testimonials-content .testimonials-content-inner h5 {
    color: var(--bs-secondary);
}


.testimonials-carousel .testimonials-content {
    padding: 1.25rem;
}

.testimonials-carousel h5 {
    font-size: 1rem;
}

.testimonials .testimonials-item .testimonials-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}



/*** Testimonials ***/



/*** 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);*/
    background: rgba(128, 0, 32, 0.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(203, 141, 157, 0.9), rgba(203, 141, 157, 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 ***/















/* Testimonial Styling */
.testimonial {
    background-color: #3a3a3a;
}

.testimonial-inner {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-inner-img img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.testimonial-carousel .owl-stage {
    display: flex;
}

.testimonial-carousel .owl-item {
    display: flex;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    text-align: center;
}

.testimonial-carousel .owl-nav button {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 14px;
    margin: 0 5px;
    border-radius: 6px;
}

.testimonial-carousel .owl-dots {
    margin-top: 20px;
    text-align: center;
}

.testimonial-carousel .owl-dot span {
    background: rgba(255,255,255,0.4);
}

.testimonial-carousel .owl-dot.active span {
    background: #fff;
}





/* Blog Carousel Fixes */
.blog-carousel .owl-stage {
    display: flex;
}

.blog-carousel .owl-item {
    display: flex;
    height: 100%;
}

.blog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-centent {
    flex-grow: 1;
}

.blog-carousel .owl-nav {
    margin-top: 30px;
    text-align: center;
}

.blog-carousel .owl-nav button {
    border: 1px solid #ccc;
    background: transparent;
    padding: 6px 14px;
    margin: 0 6px;
    border-radius: 6px;
}

.blog-carousel .owl-dots {
    margin-top: 20px;
    text-align: center;
}







/*This carouel is for new testimonials*/


.testimonials-carousel.service-item {
    height: 100%;
}

..testimonials-carousel .owl-stage {
    display: flex;
}

..testimonials-carousel .owl-item {
    display: flex;
}




/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    background-color: #c4a7a7;
}

.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.2);
}

.blog .blog-item:hover .blog-img::after {
    /*background: rgba(21, 185, 217, .5);*/
   background: rgba(203, 141, 157, 0.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(203, 141, 157, 0.9), rgba(203, 141, 157, 0.9)), 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-white) !important;
}

.contact .contact-form .form-floating input,
.contact .contact-form .form-floating textarea,
.contact .contact-form .form-floating label {
    color: var(--bs-light);
}



/* 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.7), rgba(0, 0, 0, 0.7)), url(../img/ResourcesBG.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-primary);

}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    
    background: var(--bs-burgundy) !important;
    
}
/*** copyright end ***/





/* Carousel Navigation Wrapper */
.testimonial-carousel .owl-nav {
    position: absolute;
    top: -80px;
    right: 0;
    display: flex;
    gap: 12px;
}

/* Circular Buttons */
.carousel-btn {
    width: 46px;
    height: 46px;
    background-color: #7A1E2D; /* your accent */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Hover = “send button feel” */
.carousel-btn:hover {
    background-color: #5e1622;
    transform: translateY(-2px);
}

/* Remove default owl styles */
.owl-nav button {
    background: transparent !important;
    border: none !important;
}

/* Mobile reposition */
@media (max-width: 768px) {
    .testimonials-carousel .owl-nav {
        top: -60px;
    }
}

/* Ensure carousel is positioning context */
.testimonials-carousel {
    position: relative;
}

/* Owl nav container */
.testimonials-carousel .owl-nav {
    position: absolute;
    top: 38%; /* aligns with image center */
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: auto; /* allows clicks only on buttons */
}

/* Individual buttons */
.testimonials-carousel .owl-nav button {
    pointer-events: auto;
}

/* Chat-style circular arrows */
.carousel-btn {
    width: 48px;
    height: 48px;
    background-color: #7A1E2D;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Hover interaction */
.carousel-btn:hover {
    background-color: #5e1622;
    transform: translateY(-2px);
}

/* Left / Right spacing */
.testimonials-carousel .owl-nav .owl-prev {
    margin-left: -22px;
}

.testimonials-carousel .owl-nav .owl-next {
    margin-right: -22px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .testimonials-carousel .owl-nav {
        top: 42%;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}



/* Blog Banner */
.blog-banner {
    background: linear-gradient(
        rgba(58, 58, 58, 0.65),
        rgba(58, 58, 58, 0.65)
    ),
    url("../img/blog/blog-banner.jpg") center/cover no-repeat;
    padding: 90px 0 80px;
    color: #ffffff;
}

.blog-banner-post {
    padding: 80px 0 70px;
}

.blog-banner-content {
    max-width: 820px;
    text-align: center;
}

.blog-banner h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #7A1E2D;;
text-align: center;
}

.blog-banner p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #f0f0f0;
}


/* Category tag */
.blog-category {
    display: inline-block;
    background-color: #7A1E2D;
    padding: 6px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Meta text */
.blog-meta {
    font-size: 0.85rem;
    color: #dddddd;
}

.blog-back-link {
    text-decoration: none;
    font-size: 0.9rem;
    color: #7A1E2D; /* your accent color */
    font-weight: 500;
}

.blog-back-link:hover {
    text-decoration: underline;
}



/* Dropdown for resources*/
.dropdown-menu .dropdown-item {
    color: #6c757d !important; /* Bootstrap secondary grey */
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #343a40;
}

.text-soft-grey {
    color: #b0b0b0;
}



/*logo */

.logo {
    max-width: 120px;   /* Desktop */
    height: auto;
}

/* Tablets */
@media (max-width: 768px) {
    .logo {
        max-width: 90px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .logo {
        max-width: 70px;
    }
}


.share-cta {
    padding: 30px;
    border-top: 1px solid #e5e5e5;
}

.share-cta p {
    font-size: 1rem;
    color: #444;
}



.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 110px; /* stacked above back-to-top */
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}



@media (max-width: 576px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-float {
        right: 20px;
        bottom: 95px;
    }
}


/*/new books css/*/

.ebooks-popup-content {
    background: #f8f9fa;
}

.ebook-popup-card .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ebook-popup-card .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.ebook-popup-card img {
    height: 260px;
    object-fit: cover;
}

.ebook-popup-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    /*color: #222;*/
    color:#7A1E2D;
}

.ebook-popup-card .card-text {
    line-height: 1.5;
}

@media (max-width: 768px) {
    .ebook-popup-card img {
        height: 220px;
    }
}

.ebooks-popup-content {
    background: #f8f9fa;
}

.ebook-popup-card .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ebook-popup-card .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.ebook-popup-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.ebook-popup-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color:#7A1E2D;
    line-height: 1.4;
}

.ebook-popup-card .card-text {
    line-height: 1.5;
    font-size: 0.9rem;
}

.modal-dialog {
    max-width: 950px;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
}

@media (max-width: 991.98px) {
    .modal-dialog {
        max-width: 90%;
    }

    .ebook-popup-card img {
        height: 230px;
    }
}

@media (max-width: 767.98px) {
    .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1rem 1rem 1.5rem;
    }

    .ebook-popup-card img {
        height: 220px;
    }

    .ebook-popup-card .card-title {
        font-size: 0.95rem;
    }

    .ebook-popup-card .card-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .ebook-popup-card img {
        height: 200px;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .modal-body p.text-muted {
        font-size: 0.9rem;
    }
}





/*feature ebook-carousel*/

.ebook-carousel .card img {
    height: 260px;
    object-fit: cover;
}

.ebook-carousel .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-carousel .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.ebook-carousel .card-title {
    font-size: 1rem;
    font-weight: 600;
}

.ebook-carousel .card-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Card Styling */
.ebook-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

/* Image */
.ebook-img-wrapper {
    position: relative;
    overflow: hidden;
}

.ebook-img-wrapper img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* Overlay */
.ebook-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ebook-card:hover .ebook-overlay {
    opacity: 1;
}

/* Featured Badge */
.badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #7A1E2D;
    color: #fff;
    padding: 5px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
    z-index: 2;
}

/* Price Label */
.ebook-price {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #0d6efd;
    font-size: 0.95rem;
}


/* Position carousel nav arrows on sides */
.ebook-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* prevents blocking content */
}

/* Style buttons */
.ebook-carousel .owl-nav button {
    pointer-events: all; /* re-enable click */
    background: #0d6efd !important;
    color: #fff !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    border: none;
    font-size: 18px;
    transition: 0.3s;
}

/* Left button */
.ebook-carousel .owl-nav .owl-prev {
    margin-left: -20px; /* pushes slightly outside */
}

/* Right button */
.ebook-carousel .owl-nav .owl-next {
    margin-right: -20px;
}

/* Hover effect */
.ebook-carousel .owl-nav button:hover {
    background: #7A1E2D !important;
}

/* Ensure carousel container allows positioning */
.ebook-carousel {
    position: relative;
}

.ebook-carousel .owl-stage-outer {
    padding: 0 20px;
}


/* Promo Video popup */

#videoPopup .modal-content {
    background: #000;
}

/* #videoPopup video {
    max-height: 70vh;
    object-fit: cover;
} */

#videoPopup .modal-content {
    background: #000;
    color: #fff;
}

#videoPopup video {
    max-height: 85vh;
    object-fit: cover;
}

#videoPopup h5 {
    font-size: 1.2rem;
}

#videoPopup .btn {
    font-weight: 500;
}
/* Promo Video popup ends */