@import url("https://fonts.googleapis.com/css2?family=Muli&display=swap");




/* Desktop hover effect only */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Mobile/Tablet dropdown fix */
@media (max-width: 991.98px) {
    .nav-item.dropdown .dropdown-menu {
        display: none; /* initially hidden */
        position: static; /* allow full width */
        float: none;
        width: 100% !important; /* full width */
        margin-top: 0;
    }

    .nav-item.dropdown.show .dropdown-menu {
        display: block; /* Bootstrap JS toggle */
    }
}


.intro {
    display: none;
}


/*product slider*/

.projects-carousel .work {
    height: 300px; /* slider height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin: 10px;
}

.projects-carousel .desc {
    display: none; /* hide by default */
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 100%;
    padding: 10px;
    position: absolute;
    bottom: 0;
    transition: all 0.3s ease;
}

/* Show overlay on hover of work item */
.projects-carousel .work:hover .desc {
    display: block;
}

.projects-carousel .desc h2 a {
    color: #fff;
    text-decoration: none;
}

.projects-carousel .desc h2 a:hover {
    color: #ffc107;
}

.projects-carousel .icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.projects-carousel .icon:hover {
    background: #ffc107;
    color: #fff;
}

/* Desktop: show full input */
.search-input {
    width: 200px; /* desktop default width */
    transition: width 0.3s ease;
}

@media (max-width: 991.98px) {
    /* Mobile: hide input initially */
    .search-input {
        width: 0;
        padding: 0;
        border: none;
        opacity: 0;
        transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }


    .searchform.active .search-input {
        width: 150px; /* expanded width */
        padding-left: .75rem;
        padding-right: .75rem;
        border: 1px solid #ccc;
        opacity: 1;
    }

    .search-btn {
        cursor: pointer;
        border: 2px solid white;
    }
    .search-icon{
        font-size: 15px;
        color: dimgray;
    }
}
img.footer-logo {
    width: 130px;
    height: auto;
}

span.text.f-contact {
    color: #727171 !important;
}

span.f-contact {
    color: #727171 !important;
}

/*button.btn.search-btn {*/
/*    border: 1px solid dimgray;*/
/*}*/

@media (max-width: 991.98px) {
    button.btn.search-btn {
        border: 1px solid dimgray;
    }
}


/* Topbar logo desktop-only */
.topbar-logo {
    display: flex; /* Desktop */
}

/* Mobile logo inside menu */
.mobile-logo {
    display: none; /* Desktop hide */
}

@media (max-width: 991.98px) {
    /* Hide topbar logo in mobile */
    .topbar-logo {
        display: none !important;
    }

    /* Show mobile logo inside navbar */
    .mobile-logo {
        display: block !important;
    }
}


/* ✅ Default: Desktop mode (visible at top) */
.social-media {
    display: flex;
}

/* ✅ Mobile mode: Hide from top initially */
@media (max-width: 991.98px) {
    .social-media {
        display: none !important;
    }

    /* ✅ Show again under the menu (mobile navbar) */
    .mobile-social {
        display: flex !important;
        justify-content: center;
        margin-top: 15px;
        gap: 10px;
    }

    .mobile-social a {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: #222;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

    .mobile-social a:hover {
        background: #f39c12;
    }

    .col-md-3.d-flex.justify-content-end.align-items-center {
        display: none !important;
    }

    .top-mail {
        font-size: 11px !important;
        color: white;
        background-color: #F78445;
        padding: 5px;
    }
    .top-phone{
        font-size: 11px !important;
        color: white;
        background-color: #F78445;
        padding: 5px;
    }
}


.top-wrap {
    display: flex;
    align-items: center; /* icon ও text vertically center */
}

.top-wrap .icon {
    width: 35px;
    height: 35px;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 16px;
    color: #333;
}

.top-wrap .text {
    font-size: 14px;
    color: #000;
}



/* ===== Topbar alignment fix ===== */
.wrap.topbar {
    padding: 10px 0;
}

.wrap.topbar .row {
    align-items: center; /* সবকিছু vertically মাঝ বরাবর */
}

.topbar-logo img {

    width: 80%;
    padding: 4px;
}
.topbar {
    background: #f8f9fa;
}



.btn-custom {
    background-color: #F78445;
    border-color: #F78445;
    color: #fff;
    text-transform: none;
    transition: 0.3s;
}
.btn-custom:hover {
    background-color: #fff;
    border-color: #d96e34;
    color: #d96e34;
}


.mobile-enquiry-buttons a {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

/* Animation for mobile buttons when menu opens */
.mobile-enquiry-buttons {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* When navbar collapse opens */
.navbar-collapse.show .mobile-enquiry-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* ✅ Hide topbar enquiry buttons in mobile view */
@media (max-width: 991.98px) {
    .topbar-enquiry {
        display: none !important;
    }
}

/* ✅ Desktop view: hide mobile buttons */
@media (min-width: 992px) {
    .mobile-enquiry-buttons {
        display: none !important;
    }
}

/* Optional: button color customization */
.btn-custom {
    background-color: #F78445;
    border-color: #F78445;
    color: #fff;
    padding: 3px 3px !important;
    margin-left: 4px;
}

.btn-custom:hover {
    background-color: #d96e34;
    border-color: #d96e34;
    color: #fff;
}




/*================*/

/*FAQ*/

.faq-title {
    margin: 50px 0 30px;
    text-align: center;
    color: #E78C58;
}

.faq-container {
    margin: 0 auto;
    max-width: 950px;
}

.faq {
    background-color: transparent;
    border: 1px solid #9fa4a8;
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
    padding: 30px;
    position: relative;
    transition: 0.3s ease;
}

.faq.active {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.faq.active::before,
.faq.active::after {
    color: #E78C58;
    content: "\f075";
    font-size: 7rem;
    left: 20px;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    z-index: 0;
}

.faq.active::before {
    color: #E78C58;
    left: -30px;
    top: -10px;
    transform: rotateY(180deg);
}

.faq-title {
    margin: 0 35px 0 0;
}

.faq-text {
    display: none;
    margin: 30px 0 0;
}

.faq.active .faq-text {
    display: block;
    color: #565857;
    font-size: 15px;
}

.faq-toggle {
    align-items: center;
    background-color: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    font-size: 1rem;
    height: 30px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 30px;
    top: 30px;
    width: 30px;
}
.faq-toggle .fa-times,
.faq.active .faq-toggle .fa-chevron-down {
    display: none;
}

.faq.active .faq-toggle .fa-times {
    color: #fff;
    display: block;
}

.faq-toggle .fa-chevron-down {
    display: block;
}

.faq.active .faq-toggle {
    background-color: #9fa4a8;
}




@media (max-width: 991.98px) {
    .faq-container {
        padding: 7px;
    }

    .faq-title {
        font-size: 14px;
    }

    .faq.active .faq-text {
        font-size: 12px;
    }
    .contact-form{
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
}



.slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    background: #fff;
}

.slide-track {
    display: flex;
    width: max-content; /* dynamic width according to content */
    animation: scroll 20s linear infinite;
}

.slide {
    flex: 0 0 auto; /* important: prevent shrinking */
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-img {
    width: 150px;
    height: auto;
    /*filter: grayscale(100%);*/
    transition: 0.3s;
}

.slide-img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* duplicate array -> smooth loop */
}

/* Responsive */
@media (max-width: 768px){
    .slide { width: 140px; }
    .slide-img { width: 120px; }
}

@media (max-width: 480px){
    .slide { width: 120px; }
    .slide-img { width: 100px; }
}


.card {
    transition: 0.3s;
}
.card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

img.card-img-top {
    height: 220px;
    width: 100%;
}

.product-card {
    height: 380px; /* পুরো কার্ডের height fix */
    display: flex;
    flex-direction: column;
}

.product-img {
    height: 220px;   /* সব images এক height */
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.product-card .card-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-card .card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 22px;
    height: 44px;         /* ২ লাইনের height fix */
    overflow: hidden;     /* বেশি হলে hide */
}

/* Mega Menu Dropdown */
.mega-parent {
    position: relative;
}

.mega-menu {
    position: absolute !important;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 650px; /* তোমার ইচ্ছামতো */
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    z-index: 9999;
    display: none;
}

/* Hover show */
.mega-parent:hover .mega-menu {
    display: block;
}

/* Columns */
.mega-menu .row {
    display: flex;
    flex-wrap: wrap;
}

.mega-menu .col-lg-3 {
    padding: 8px;
}

.mega-menu h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

.mega-menu ul {
    padding-left: 0;
    margin: 0;
}

.mega-menu li {
    list-style: none;
}

.mega-menu a.dropdown-item {
    padding: 2px 0;
    display: block;
    color: #333;
}



/* update 10Feb2026 */

/* Client Card */
.client-item {
    width: 200px;       /* fixed width */
    height: 220px;      /* fixed height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid #eee; /* optional border */
    border-radius: 8px;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Image styling */
.client-item img {
    width: 100%;
    height: 120px;      /* fixed image height */
    object-fit: contain; /* maintain aspect ratio, no crop */
    margin-bottom: 10px;
}

/* Hover effect */
.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Client title */
.client-item h6 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Brand Card */
.brand-item {
    width: 200px;       /* fixed width */
    height: 220px;      /* fixed height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid #eee; /* optional */
    border-radius: 8px;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Brand image */
.brand-item img {
    width: 100%;
    height: 120px;       /* fixed image height */
    object-fit: contain; /* maintain aspect ratio */
    margin-bottom: 10px;
}

/* Hover effect */
.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Brand title */
.brand-item h6 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}


.custom-col-border{
    border-right: 1px solid darkgray !important;
    border-bottom: 1px solid darkgray !important;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 767px) {
    .mobile-only {
        display: inline-block !important;
    }
}
