/*** 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;
    z-index: 99;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5a8, #2563eb);
    color: #fff;
    font-size: 18px;
    border: 3px solid #fff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    cursor: pointer;
    animation: bounce 1.5s infinite;
}

.back-to-top:hover {
    animation-play-state: paused; /* stop bouncing on hover */
    background: #0c9497;
    transform: scale(1.05);
}

.back-to-top:active {
    transform: scale(0.95);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}



/*** 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 {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white);
}

.btn.btn-secondary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    border: 1px solid var(--bs-secondary);
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary) !important;
}

/*** Topbar Start ***/
.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: 768px) {
    .topbar {
        display: none;
    }
}

/*** Topbar End ***/


/*** Navbar ***/
.nav-bar .categories-bars .categories-bars-item {
    padding: 5px 15px;
    border-bottom: 1px solid rgba(256, 256, 256, 0.1);
    display: flex;
    justify-content: space-between;
    transition: 0.5s;
    
}

.nav-bar .categories-bars .categories-bars-item a,
.nav-bar .categories-bars .categories-bars-item span {
    color: var(--bs-dark);
    transition: 0.5s;
}

.nav-bar .categories-bars .categories-bars-item:hover {
    background: var(--bs-primary);
}

.nav-bar .categories-bars .categories-bars-item:hover a,
.nav-bar .categories-bars .categories-bars-item:hover span {
    color: var(--bs-white);
}

.nav-bar .navbar.navbar-light {
    padding: 0 !important;
}



.navbar-light .navbar-toggler {
    color: rgb(255 255 255) !important;
    border-color: rgb(255 255 255) !important;
    margin-left: -18px !important;
}


.nav-bar .navbar .navbar-nav .nav-link {
    padding: 18px 15px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    transition: .5s;
    color: #fff !important;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: #efcf41 !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 992px) {
    .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;
    }
}

@media (max-width: 992px) {
    .nav-bar .navbar .navbar-nav .nav-link {
        padding: 8px 0px;
    }
}

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

.navbar .navbar-toggler {
    padding: 5px 15px;
}

#allCat {
    position: absolute;
    left: 0;
    right: 0;
    top: 51px;
    z-index: 999;
    background: var(--bs-light);
}

.nav-bar .navbar-toggler {
    border-radius: 5px !important;
    box-shadow: none !important;
}

/*** Navbar End ***/

/*** Carousel Header Start ***/
.header-carousel.owl-carousel .owl-nav .owl-prev,
.header-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 87%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
}

.header-carousel.owl-carousel .owl-nav .owl-prev {
    right: 130px;
    margin-top: 10px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-next {
    right: 60px;
    margin-top: 10px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-prev:hover,
.header-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.carousel .carousel-header-banner {
    position: relative;
}

.carousel .carousel-banner-offer {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.carousel .carousel-banner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/*** Carousel Header End ***/


/*** Page Header start ***/
.page-header {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-1.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/*** Page Header end ***/


/*** Products Start ***/
.product .product-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.product .product-item .product-item-inner {
    height: 100%;
}

.product .product-item .product-item-add {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.product .product-item:hover .product-item-add {
    background: var(--bs-white);
    margin-bottom: -124px;
    opacity: 1;
}

.product .product-item:hover .product-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.product .product-item .product-item-inner .product-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.product .product-item .product-item-inner .product-item-inner-item .product-new,
.product .product-item .product-item-inner .product-item-inner-item .product-sale {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product .product-item .product-item-inner .product-item-inner-item .product-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.product .product-item .product-item-inner .product-item-inner-item .product-sale {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .product-item .product-item-inner img {
    transition: 0.5s;
}

.product .product-item:hover .product-item-inner img {
    transform: scale(1.1);
}

.product .product-item .product-item-inner .product-item-inner-item .product-details {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.product .product-item .product-item-inner .product-item-inner-item .product-details a i {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.product .product-item:hover .product-item-inner .product-item-inner-item .product-details a i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .product-item:hover .product-item-inner .product-details {
    opacity: 1;
}

.product .tab-class .nav .nav-item a.active {
    background: var(--bs-primary) !important;
}

.product .tab-class .nav .nav-item a.active span {
    color: var(--bs-white) !important;
}

/*** Product End ***/


/*** ProductList Categories Start ***/
.productList .productList-carousel {
    height: 215px !important;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {
    position: relative;
    width: calc(100% - 1px);
    transition: 0.5s;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {
    margin-bottom: 75px;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item:hover {
    border-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.productList .productList-carousel .owl-nav .owl-prev,
.productList .productList-carousel .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 40px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.productList .productList-carousel .owl-nav .owl-prev:hover,
.productList .productList-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .owl-nav .owl-next {
    right: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev,
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0px;
    padding: 5px 10px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
    opacity: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev:hover,
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    right: 0;
}

.productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-prev,
.productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-next {
    opacity: 1;
}

/*** ProductList Categories End ***/



/*** bestseller Products Start ***/
.products .products-mini .products-mini-item {
    position: relative;
    border-radius: 10px;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.products .products-mini .products-mini-item .products-mini-img {
    position: relative;
    overflow: hidden;
}

.products .products-mini .products-mini-item .products-mini-img img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover .products-mini-img img {
    border-bottom-left-radius: 0 !important;
    transform: scale(1.3);
}

.products .products-mini .products-mini-item .products-mini-img .products-mini-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon {
    opacity: 1;
}

.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon:hover {
    background: var(--bs-secondary) !important;
}

.products .products-mini .products-mini-item .products-mini-add {
    position: absolute;
    bottom: 0;
    left: -1px;
    right: -1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bs-white);
    transition: 0.5s;
    z-index: 9;
    opacity: 0;
}

.products .products-mini .products-mini-item:hover .products-mini-add {
    opacity: 1;
    margin-bottom: -75px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/*** bestseller Products End ***/

/*** Pagination Start ***/
.pagination {
    display: inline-block;
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}

.pagination a:hover:not(.active) {
    background-color: var(--bs-primary)
}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}

/*** Pagination End ***/

/*** Shop Page Start ***/
.shop .product-categories .categories-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.shop .product-categories .categories-item a {
    transition: 0.5s;
}

.shop .product-categories .categories-item a:hover {
    color: var(--bs-primary) !important;
}

.shop .product-color .product-color-item {
    display: flex;
    padding: 10px 0;
}

.shop .product-color .product-color-item a {
    transition: 0.5s;
}

.shop .product-color .product-color-item a:hover {
    color: var(--bs-secondary);
}

.shop .price {
    padding: 10px 0;
}

.shop .additional-product .additional-product-item {
    padding: 10px 0;
}

.shop .featured-product .featured-product-item {
    display: flex;
    align-items: center;
    justify-content: start;
}

.shop .product-tags .product-tags-items a {
    display: inline-block !important;
    background: var(--bs-white);
    color: var(--bs-dark);
    transition: 0.5;
}

.shop .product-tags .product-tags-items a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/*** Shop Page End ***/


/*** Single Products Start ***/
.single-product .owl-nav .owl-prev,
.single-product .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -13%;
    font-size: 22px;
    color: var(--bs-primary);
}

.single-product .owl-nav .owl-prev {
    left: 0;
}

.single-product .owl-nav .owl-next {
    right: 0 !important;
}


.single-product .single-carousel .owl-dots {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot img {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    margin-right: 15px;
    border: 2px solid var(--bs-primary);
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot.active img {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    border: 4px solid var(--bs-secondary);
}














.related-product .related-carousel .related-item {
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 125px;
    transition: 0.5s;
}

.related-product .related-carousel .related-item .related-item-add {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 99;
}

.related-product .related-carousel .related-item:hover .related-item-add {
    background: var(--bs-white);
    margin-bottom: -125px;
    opacity: 1;
}

.related-product .related-carousel .related-item:hover .related-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new,
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item .related-item-inner img {
    transition: 0.5s;
}

.related-product .related-carousel .related-item:hover .related-item-inner img {
    transform: scale(1.1);
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details a i {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product .related-carousel .related-item:hover .related-item-inner .related-item-inner-item .related-details a i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item:hover .related-item-inner .related-details {
    opacity: 1;
}


.related-product .owl-nav .owl-prev,
.related-product .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 40px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product .owl-nav .owl-prev {
    left: 0;
}

.related-product .owl-nav .owl-next {
    right: 0;
}

.related-product .owl-nav .owl-prev:hover,
.related-product .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
}

/*** Single Products End ***/

/* =========================
   Footer Styling (Clean + Unified)
   ========================= */
.sdl-footer {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-size: 15px;
    color: #333;
    padding: 60px 0 30px;
}

/* Headings */
.sdl-footer-item h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #111;
    position: relative;
    padding-bottom: 6px;
    display: inline-block;
}

.sdl-footer-item h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 2px;
    background: #27408b;
    border-radius: 2px;
}

/* Links only */
.sdl-footer-item a {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
    text-decoration: none;
    line-height: 30px;
    transition: all 0.3s ease;
}

.sdl-footer-item a:hover {
    color: #27408b;
    padding-left: 5px;
}

/* Contact Info (icon + text) */
.sdl-footer-item p {
    margin-bottom: 0.4rem;
    line-height: 28px;
    color: #333;
    /* normal text */
}

.sdl-footer-item p i {
    color: #27408b;
    margin-right: 6px;
}

/* Social Buttons */
.sdl-footer .btn-social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #27408b;
    color: #27408b;
    background: transparent;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-right: 8px;
}

.sdl-footer .btn-social:hover {
    background: #27408b;
    color: #fff !important;
    transform: translateY(-3px) scale(1.05);
}

/* Responsive */
@media (max-width: 991px) {
    .sdl-footer {
        padding: 40px 0 20px;
        text-align: left !important;
    }

    .sdl-footer-item {
        margin-bottom: 25px;
    }

    .sdl-footer-item h5::after {
        left: 0;
        transform: none;
    }
}



/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-primary) !important;
}

/*** copyright end ***/




/* Review Form */
.sdl-review-form {
    max-width: 600px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Marquee Slider */
.sdl-reviews-marquee {
    overflow: hidden;
    width: 100%;
    background: #fff;
    padding: 30px 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.sdl-reviews-track {
    display: inline-flex;
    animation: scroll-left 30s linear infinite;
}

.sdl-reviews-track .review-card {
    display: inline-block;
    margin-right: 30px;
    min-width: 280px;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Card Styling */
.review-card {
    border: 2px solid #2326cf;
    /* border-radius: 10px; */
    padding: 20px;
    background: #f9f9f9;
    text-align: center;
    min-height: 180px;
}

.review-card h5 {
    color: #d63384;
    margin-bottom: 5px;
}

.review-card .text-warning {
    font-size: 18px;
}

.review-card p {
    font-style: italic;
    color: #555;
}

.review-card small {
    color: #888;
}



/* Section Wrapper */
.sdl-services-wrapper {
    width: 100%;
}

/* Inner Container */
.sdl-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Service Card */
.sdl-service-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease-in-out;
    text-align: center;
    height: 100%;
}

.sdl-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Icons */
.sdl-service-icon {
    width: 80px;
    height: 80px;
    background: #1180a1;
    /* your theme red */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-size: 28px;
    transition: 0.3s;
}

.sdl-service-card:hover .sdl-service-icon {
    background: #000;
    transform: rotate(10deg) scale(1.1);
}

.sdl-service-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1180a1;
}

.sdl-service-card p {
    color: #555;
    font-size: 15px;
}

.sdl-header-marquee {
    position: relative;
    width: 100%;
    height: 30px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 0;
    color: #750c0c;
}

.brands-carousel {
    overflow: hidden;
    width: 100%;
}

.brands-track {
    display: flex;
    flex-wrap: nowrap;
    animation: scroll 20s linear infinite;
}

.brand-card {
    flex: 0 0 auto;
    width: 150px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.brand-card img {
    width: 100%;
    height: auto;
}

.sdl-marquee-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 45s linear infinite;
}

.sdl-marquee-track span {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 0 50px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 767px) {
    /* Existing mobile styles */
    .sdl-header-marquee {
        height: 45px;
    }

    .sdl-marquee-track span {
        font-size: 12px;
        margin: 0 1rem;
    }

    img[alt="Eyecareopticals Logo"] {
        max-height: 50px;
    }

    /* Hide marquee on mobile */
    .sdl-header-marquee {
        display: none !important;
    }
}



/* Hide Google default translate bar & branding */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-spinner-pos,
.goog-logo-link {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0px !important;
}



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

/*** Team End ***/


/* Doctor Section */
.sdl-title {
    font-size: 2rem;
    color: #222;
}

.sdl-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

.sdl-doctor-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.sdl-doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sdl-doctor-img {
    width: 100px;
    height: 100px;
    border: 4px solid #f3f5f8;
    object-fit: cover;
}

.sdl-info-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-top: 10px;
}

.branch-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}

.branch-card img {
    height: 220px;
    object-fit: cover;
}


/* ===== SDL Hospital Table Styles (Responsive & Clean) ===== */

.sdl-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 1rem;
    border-radius: 8px;
    /* border: 1px solid #90e0ef; */
    box-shadow: 0 2px 2px rgba(0, 0, 0.4, 0.04);
    /* background-color: #f0f8ff; */
    padding: 5px;
}

.sdl-table {
    width: 100%;
    min-width: 900px; /* ensures horizontal scroll on small screens */
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Roboto', sans-serif;
}

/* Table headers */
.sdl-table thead th {
    background-color: #0077b6; /* hospital blue */
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px 10px;
    border: 1px solid #90e0ef;
}

/* Table body */
.sdl-table tbody td {
    padding: 10px 8px;
    border: 1px solid #caf0f8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    vertical-align: top;
}

/* Row hover effect */
.sdl-table tbody tr:hover {
    background-color: #ade8f4;
}
/* ===== SDL Table Action Buttons (Delete & View) ===== */
.sdl-table tbody td .btn {
    display: inline-flex;          /* Align icon and text properly */
    align-items: center;           /* Vertically center icon */
    justify-content: center;       /* Horizontally center icon */
    gap: 4px;                      /* Space between icon and text (if any) */
    width: 36px;                   /* Fixed square size for consistency */
    height: 36px;
    border-radius: 6px;
    font-size: 0.9rem;
    padding: 0;                    /* Remove extra padding for square buttons */
    transition: 0.2s;
}

/* Delete button */
.sdl-table tbody td .btn-danger {
    background-color: #d90429;
    border: none;
    color: #fff;
}

.sdl-table tbody td .btn-danger:hover {
    background-color: #a0001c;
}

/* View button */
.sdl-table tbody td .btn-primary {
    background-color: #0077b6;
    border: none;
    color: #fff;
}

.sdl-table tbody td .btn-primary:hover {
    background-color: #005f8b;
}

/* Optional: spacing between buttons */
.sdl-table tbody td .btn + .btn {
    margin-left: 6px;  /* small space between delete and view buttons */
}
/* Action buttons cell */
.sdl-table tbody td:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* space between buttons */
  }
  
  /* Ensure uniform size */
  .sdl-table tbody td button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
  }
  
  /* Icons inside */
  .sdl-table tbody td button i {
    font-size: 14px;
    line-height: 1;
  }
  

/* Small screens */
@media (max-width: 992px) {
    .sdl-table thead th,
    .sdl-table tbody td {
        font-size: 0.85rem;
        padding: 6px 4px;
        white-space: normal;
        word-break: break-word;
    }
}
.sdl-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* dimmed background */
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease-in-out;
  }

  .sdl-modal-content {
    background-color: #1180a1;
    color: #fff;
    margin: 8% auto;
    padding: 25px 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: slideIn 0.3s ease-out;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    border-top: 5px solid #1ccbd4;
  }

  .sdl-modal-content h5 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    letter-spacing: 0.5px;
  }

  .sdl-close {
    color: #ccc;
    float: right;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
  }

  .sdl-close:hover {
    color: #1180a1;
    transform: rotate(90deg);
  }

  .sdl-details {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .sdl-details p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.2s;
  }

  .sdl-details p span {
    font-weight: 600;
    color: #fff;
  }

  .sdl-details p:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes slideIn {
    from {
      transform: translateY(-30px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @media (max-width: 480px) {
    .sdl-modal-content {
      padding: 20px;
      margin: 15% auto;
    }

    .sdl-details p {
      font-size: 0.9rem;
      padding: 6px 10px;
    }
  }
  #loadingIndicator {
    text-align: center;
    padding: 10px;
    display: none;
  }
  /* ===== SDL Admin Header Redesigned ===== */
.sdl-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 12px 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .sdl-admin-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
  }
  
  .sdl-admin-icon {
    font-size: 22px;
    color: #0d6efd; /* bootstrap primary color */
  }
  
  .sdl-admin-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
  }
  
  .sdl-admin-title small {
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
  }
  
  .sdl-admin-actions {
    display: flex;
    align-items: center;
  }
  
  .sdl-admin-logout-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
  }
  
  .sdl-admin-logout-btn:hover {
    background: #bb2d3b;
  }
  .sdlsheet-rating-group { display:flex; align-items:center; gap:10px; }
.sdlsheet-star { cursor:pointer; font-size:22px; padding:4px 6px; user-select:none; }
.sdlsheet-stars input { display:none; }
/* star highlighting using CSS + sibling selector */
.sdlsheet-stars input:checked ~ label { color: #ffc107; }
.sdlsheet-stars label { color:#ddd; }
.sdlsheet-stars input#sdlsheet-star5:checked ~ label[for="sdlsheet-star5"],
.sdlsheet-stars input#sdlsheet-star4:checked ~ label[for="sdlsheet-star4"],
.sdlsheet-stars input#sdlsheet-star3:checked ~ label[for="sdlsheet-star3"],
.sdlsheet-stars input#sdlsheet-star2:checked ~ label[for="sdlsheet-star2"],
.sdlsheet-stars input#sdlsheet-star1:checked ~ label[for="sdlsheet-star1"]{}

/* Make earlier stars highlighted when a higher star is checked (JS handles) */
.sdlsheet-testimonials { display:grid; grid-template-columns: 1fr; gap:12px; margin-top:12px; }
.sdlsheet-testimonial-card {
  background:#f8fbfd; border:1px solid #e6f3f8; padding:12px; border-radius:10px;
  box-shadow:0 4px 10px rgba(20,40,80,0.03);
}
.sdlsheet-testimonial-meta { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.sdlsheet-testimonial-name { font-weight:700; }
.sdlsheet-testimonial-message { margin-top:6px; white-space:pre-wrap; }

/* admin visible helper */
.sdlsheet-d-none { display:none !important; }


/* === Review Form Styles (mirror of appointment form) === */

/* Container box (same as .appointment-form) */
.sdlsheet-appointment-form {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.08);
  }
  
  /* Inputs (same as .form-control py-3 border-primary bg-transparent) */
  .sdlsheet-input {
    padding: 0.9rem 1rem;
    border: 1px solid var(--bs-primary);
    background: transparent;
    border-radius: .375rem;
    width: 100%;
  }
  
  /* Button (same as .btn.btn-primary) */
  .sdlsheet-btn {
    font-weight: 600;
    border-radius: .375rem;
  }
  
  /* Rating stars */
  .sdlsheet-rating-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .sdlsheet-star-label {
    font-weight: 500;
    margin-right: 0.5rem;
  }
  
  .sdlsheet-stars {
    display: flex;
    gap: 0.25rem;
  }
  
  .sdlsheet-star {
    font-size: 1.5rem;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
  }
  
  .sdlsheet-stars input[type="radio"] {
    display: none;
  }
  
  .sdlsheet-stars input[type="radio"]:checked ~ label,
  .sdlsheet-star:hover,
  .sdlsheet-star:hover ~ label {
    color: var(--bs-primary);
  }
  
  /* Hide spinner initially */
  .sdlsheet-d-none {
    display: none !important;
  }
  



    .sdlsheet-stars {
      display: flex;
      flex-direction: row; /* stars in left-to-right order */
      gap: 5px;
    }
    .sdlsheet-star {
      font-size: 24px;
      color: #ccc;
      cursor: pointer;
      transition: color 0.2s;
    }
    input[type="radio"] {
      display: none;
    }

    /* highlight selected star and all before it */
    .sdlsheet-stars input:checked ~ label,
    .sdlsheet-stars label:hover,
    .sdlsheet-stars label:hover ~ label {
      color: gold;
    }

    .review-stars {
      font-size: 18px;
      color: #f39c12; /* golden yellow */
    }