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

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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: 600;
    transition: .5s;
    border-radius: 50px;
}

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

.btn-primary {
    color: var(--bs-white);
}

/*** Navbar ***/
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: #000000 !important;
    opacity: 1 !important;
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Navbar Links */
.navbar .navbar-nav .nav-link {
    margin-right: 22px;
    padding: 18px 0;
    color: #ffffff !important;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #e53935 !important;
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        background-color: #000000 !important;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid #333333;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/*** Breadcrumb Banner - Below Fixed Navbar ***/
.page-header {
    position: relative;
    width: 100%;

    /* Fixed navbar-er jonno space */
    margin-top: 0;
    padding-top: 160px;
    padding-bottom: 60px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.72)
        ),
        url("../img/carousel-1.jpg") center center no-repeat;

    background-size: cover;
}

/* Breadcrumb text */
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: #ffffff !important;
}

.page-header .breadcrumb-item.active {
    color: #ff1744 !important;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #ff1744 !important;
}

/* Mobile responsive */
@media (max-width: 991.98px) {
    .page-header {
        padding-top: 140px;
        padding-bottom: 40px;
    }
}

/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

  /* ==============================
   BT LIMITED FOOTER
================================ */

#footer.footer {
    background: #141b24; /* Professional dark ash/slate tone */
    color: #b8c4d2;
    font-size: 14px;
    padding: 0;
    border-top: 3px solid #ff1744;
}

/* Main footer spacing */
#footer .footer-top {
    padding-top: 45px;
    padding-bottom: 40px;
}

/* Red headings */
#footer .footer-heading {
    color: #ff1744;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 13px;
}

#footer .footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 3px;
    background: #d41a40;
    transition: width 0.3s ease;
}

#footer .footer-heading:hover::after {
    width: 105px;
}

#footer .footer-contact p {
    color: #b8c4d2;
    line-height: 1.9;
    margin-bottom: 3px;
}

#footer .footer-contact strong {
    color: #dce5ef;
}

#footer .footer-contact a {
    color: #ff1744;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer .footer-contact a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.8);
}

/* Quick Links */
#footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-links ul li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#footer .footer-links ul li i {
    color: #ff1744;
    font-size: 15px;
    margin-right: 7px;
    transition: transform 0.3s ease, color 0.3s ease;
}

#footer .footer-links ul li a {
    color: #b8c4d2;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

/* Arrow animation on hover */
#footer .footer-links ul li:hover i {
    color: #ff1744;
    transform: translateX(5px) scale(1.2);
    animation: footerArrowBlink 0.7s ease-in-out infinite alternate;
}

#footer .footer-links ul li:hover a {
    color: #ff1744;
    padding-left: 5px;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.35);
}

@keyframes footerArrowBlink {
    from { opacity: 0.45; }
    to { opacity: 1; }
}

/* Social icons */
#footer .footer-social-icons {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

#footer .footer-social-icons a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #202833;
    color: #ffffff;
    font-size: 21px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#footer .footer-social-icons a img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
}

#footer .footer-social-icons a:hover {
    background: #ff1744;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.45);
}

#footer .footer-social-icons .social-facebook { background: #1877f2; }
#footer .footer-social-icons .social-flickr { background: #b00059; }
#footer .footer-social-icons .social-bdtrade { background: #202833; }

#footer .footer-follow .footer-powered {
    border-left: 1px solid #242b34;
    padding-left: 18px;
}

#footer .footer-powered p {
    margin-bottom: 12px;
    color: #b8c4d2;
}

#footer .footer-powered strong {
    color: #ff1744;
}

#footer .footer-powered iframe {
    display: block;
    max-width: 100%;
    border: 0;
    background: transparent;
}

#footer .footer-bottom {
    background: #0f131a;
    border-top: 1px solid #212a38;
    padding: 25px 0;
}

#footer .footer-bottom p {
    margin: 0;
    color: #aab7c7;
    line-height: 1.8;
}

#footer .footer-bottom strong {
    color: #ff1744;
    padding: 0 7px;
}

/* =========================================
   BT LIMITED - ABOUT PAGE BREADCRUMB
========================================= */

.bt-page-breadcrumb {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 0;
    padding: 100px 0 40px;

    background: linear-gradient(
        110deg,
        #202020 0%,
        #2b2b2b 50%,
        #222222 100%
    );

    border-bottom: 1px solid #ff1744;
}

.bt-page-breadcrumb::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -100px;
    right: 5%;

    width: 300px;
    height: 300px;

    background: rgba(255, 23, 68, 0.07);
    border-radius: 50%;
    filter: blur(65px);
    pointer-events: none;
}

.bt-breadcrumb-content {
    position: relative;
    z-index: 1;
}

.bt-breadcrumb-subtitle {
    display: inline-block;
    margin-bottom: 10px;

    color: #ff1744;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.bt-breadcrumb-content h1 {
    margin: 0 0 12px;

    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
}

.bt-breadcrumb-content p {
    margin: 0;

    color: #c5c5c5;
    font-size: 15px;
    line-height: 1.7;
}

.bt-breadcrumb-list {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 15px;
    padding: 8px 0;
    background: transparent;
}

.bt-breadcrumb-list .breadcrumb-item {
    color: #ff1744;
    font-size: 14px;
    font-weight: 500;
}

.bt-breadcrumb-list .breadcrumb-item a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bt-breadcrumb-list .breadcrumb-item a:hover {
    color: #ff1744;
}

.bt-breadcrumb-list .breadcrumb-item.active {
    color: #ff1744;
}

.bt-breadcrumb-list .breadcrumb-item + .breadcrumb-item::before {
    color: #ff1744;
}

@media (max-width: 991.98px) {
    .bt-page-breadcrumb {
        padding-top: 130px;
        padding-bottom: 40px;
    }
}
@media (max-width: 767px) {
    .bt-page-breadcrumb {
        padding-top: 90px;
        padding-bottom: 22px;
    }

    .bt-breadcrumb-content h1,
    .bt-breadcrumb-content h2 {
        font-size: 25px;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .bt-breadcrumb-content p {
        font-size: 14px;
    }

    .bt-breadcrumb-list {
        justify-content: flex-start;
        margin-top: 0;
        margin-bottom: 8px;
        padding: 0;
    }

    .bt-page-breadcrumb .row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* --about-- */
.bt-about-content {
    background-color: #222;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.bt-about-content p {
    text-align: left;
    margin-top: 0;
}

.bt-page-breadcrumb > .container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .bt-about-content {
        padding: 25px !important;
    }

    .bt-page-breadcrumb h2 {
        font-size: 26px;
    }
}

/* Dealer Network Map */
.bt-dealer-map {
    display: block;
    width: 474px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* --home - YOKOHAMA QR Verification Image */
.bt-qr-card {
    max-width: 440px;
    margin: 0 auto;
}

.bt-qr-image {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bt-qr-caption {
    font-size: 15px;
    color: #adb5bd;
}
   /* Typography & Title Styling */
.tracking-wider {
    letter-spacing: 2px;
}
.tracking-wide {
    letter-spacing: 1px;
}
.bt-main-title {
    letter-spacing: 0.5px;
}
.bt-title-line {
    width: 60px;
    height: 3px;
    background-color: #dc3545;
    border-radius: 2px;
}
.text-muted-custom {
    color: #cccccc;
    line-height: 1.7;
    font-size: 0.95rem;
}

.bt-management-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bt-management-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(220, 53, 69, 0.5);
}

.bt-img-wrapper {
    width: 110px;
    height: 110px;
    background-color: #2b2b2b;
    border: 2px solid rgba(220, 53, 69, 0.3);
}
.bt-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}
.bt-management-card:hover .bt-img-wrapper img {
    transform: scale(1.08);
}
.bt-about-content p {
    text-align: justify;
}

/* ---products -- */
/* Product Table - Mobile Responsive */
.products-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.products-table {
    width: 100%;
    min-width: 700px;
    margin-bottom: 0;
    border-collapse: collapse;
}

/* Mobile Product Section */
@media (max-width: 767px) {
    .products-page {
        padding-top: 12px !important;
        padding-bottom: 20px !important;
        overflow-x: hidden;
    }

    .products-page .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .products-card {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .products-table-wrapper {
        width: 100%;
        overflow-x: auto;
    }

    .products-table {
        min-width: 700px;
        width: 700px;
        font-size: 13px;
    }

    .products-table thead th,
    .products-table tbody td {
        padding: 9px 10px;
        white-space: nowrap;
    }

    .products-title {
        font-size: 18px;
    }
}

.products-card {
        max-width: 1080px;
        margin: auto;
        padding: 24px;
        background: #202326;
        border: 1px solid #343a40;
        border-radius: 10px;
    }
    .products-table-wrapper {
        width: 100%;
        overflow-x: auto;
    }
    .products-table {
        width: 100%;
        min-width: 700px;
        margin-bottom: 0;
        border-collapse: collapse;
        vertical-align: middle;
        color: #f5f5f5;
    }

    .products-table thead th {
        padding: 13px 12px;
        background: #123b4b;
        color: #6bdcff;
        border: 1px solid #38515b;
        white-space: nowrap;
        font-weight: 700;
    }

    .products-table tbody td {
        padding: 11px 12px;
        background: #242729;
        color: #f2f2f2;
        border: 1px solid #3a3d40;
    }

    .products-table tbody tr.product-row:hover td {
        background: #303a40;
    }

    .products-table tbody tr.origin-row td {
        padding: 14px;
        background: #07516a;
        color: #fff;
        text-align: center;
        font-weight: 700;
        letter-spacing: .7px;
    }

    .products-table tbody tr.category-row td {
        padding: 12px;
        background: #34383b;
        color: #61d8ff;
        font-weight: 700;
    }

    @media (max-width: 767px) {
        .products-page {
            padding-top: 15px;
        }
        .products-card {
            padding: 14px;
            border-radius: 0;
        }
    }