/********** Template CSS **********/


:root {
    --primary: #21255f;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 30px;
    z-index: 99;
}


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


/*** Button ***/

.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }
    .footer_logo_div {
        padding-left: 0;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
    .costum_nav_style {
        /* padding-left: 16px !important; */
    }
}


/*** Header ***/

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .65);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/images/main_slider_3.jpg) center center no-repeat;
    background-size: cover;
    height: 400px;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/

.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/

.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/

.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/images/main_slider_3.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/

.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/

.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.logo_img {
    /* max-width: 230px; */
    max-height: 90px;
    padding-bottom: 10px;

}

.costum_hegith_carusel_inner {
    max-height: 800px;
}

.costum_hegith_carusel_item {
    max-height: 800px;
}

.costum_topbar_style {
    padding: 10px;
    font-size: 19px;
}

.display_none {
    display: none;
}

.custom_service_style {}

.appointmentt {
    background: linear-gradient(rgba(33, 35, 97, 0.3), rgb(33, 35, 97)), url(../img/images/homrend_background.jpg) center center no-repeat;
    background-size: cover;
}

.product_cat_backgound {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgb(0, 0, 0)), url(../img/images/main_slider_1.jpg) center center no-repeat;
    background-size: cover;
    /* background: linear-gradient(rgba(9, 14, 20), rgba(9, 14, 20)); */
}

.about_page_header {
    background: linear-gradient(rgba(33, 35, 97, 0.3), rgb(33, 35, 97)), url(../img/images/about_page_header_1.png) center center no-repeat;
    background-size: cover;

}

.gallery_page_header {
    background: linear-gradient(rgba(33, 35, 97, 0.3), rgb(33, 35, 97)), url(../img/images/gallereya_1.jpg) center center no-repeat;
    background-size: cover;

}

.contact_page_header {
    background: linear-gradient(rgba(33, 35, 97, 0.3), rgb(33, 35, 97)), url(../img/images/contact_page_header_1.jpg) center center no-repeat;
    background-size: cover;
    
}

.costum_product_img_style {
    height: 350px;
    display: block;
    object-fit: cover;
    width: 100vw;
}

.padding_card {
    padding: 5px;
}




/* Costum Css Styles */

.footer_link_tags_color {
    color: #f7911d;
}



/* Header Categries List Dropdown Click Control */

.pointer-control {
    /* Default for desktop - no pointer events */
    pointer-events: none;
  }
  
  /* Mobile devices - enable pointer events */
  @media (max-width: 767.98px) {
    .pointer-control {
      pointer-events: auto;
      cursor: pointer;
    }
  }


  @media (max-width: 768px) {
    .desktop-image {
        display: none !important;
    }
    .mobile-image {
        display: block !important;
    }
}

    @media (min-width: 769px) {
        .desktop-image {
            display: block !important;
        }
        .mobile-image {
            display: none !important;
        }
    }
    
    
    
    /*   Comntact Information Mini Popup   */

    .chat-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9999;
    }

    .chat-button, .chat-option {
      background-color: #21255f;
      color: white;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0,0,0,0.2);
      transition: transform 0.3s, opacity 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
    }

    .chat-option {
      position: absolute;
      bottom: 0;
      right: 0;
      opacity: 0;
      pointer-events: none;
    }

    .chat-container.open .chat-option {
      opacity: 1;
      pointer-events: auto;
    }

    .chat-option:nth-child(2) { transform: translateY(-70px); background-color: #21255f; }
    .chat-option:nth-child(3) { transform: translateY(-140px); background-color: #21255f; }
    .chat-option:nth-child(4) { transform: translateY(-210px); background-color: #21255f; }

    .chat-container:not(.open) .chat-option {
      transform: translateY(0);
    }

    .chat-button:hover {
      background-color: #494e88;
    }

    .tooltip {
      position: absolute;
      right: 70px;
      color: white;
      background: rgba(0,0,0,0.6);
      padding: 5px 10px;
      border-radius: 4px;
      font-size: 13px;
      white-space: nowrap;
      display: none;
    }

    .chat-option:hover .tooltip {
      display: block;
    }

    .nav-small-text {
    font-size: 1.2rem; /* or any size you prefer */
    }


    @media (max-width: 991.98px) {
        /* Center product name and button on main slide for mobile and tablet */
        .carousel-caption .container .row {
            justify-content: center !important;
        }
        .carousel-caption .container .col-12 {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        .carousel-caption .container .col-12 h2,
        .carousel-caption .container .col-12 a {
            
        }
        .carousel-caption .container .col-12 a {
            width: 50% !important;
            min-width: 100px;
            max-width: 180px;
            padding-left: 0.75rem !important;
            padding-right: 0.75rem !important;
            display: flex;
            justify-content: center;
        }
    }