/* Ensure menu expands from left side on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 60%;
        background-color: #f8f9fa;
        z-index: 1050;
        padding: 10px;
    }

    .navbar-nav .nav-item {
        display: block;
        text-align: left;
    }
}


/* index.html file's css styoe  */
.sb_card {
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 0.5px solid #ced4da;
}

.sb_card:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.sb_card-img-top {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 20px auto;
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.sb_card:hover .sb_card-img-top {
    filter: hue-rotate(45deg);
    transform: scale(1.1);
}

.sb_card-title {
    font-weight: bold;
    color: #000000;
    text-align: center;
}

.sb_card-text {
    color: #000000;
    text-align: center;
}


/* footer css  */
.footer {
    background-color: #f8f9fa;
    color: #212529;
    padding: 20px 0;
    overflow: hidden;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    /* Reset margin */
}

.footer-column {
    flex: 1 1 calc(25% - 1rem);
    height: 240px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px;
    max-width: 100%;
}

.footer-column h4 {
    margin: 0;
    padding: 10px;
    background-color: #e9ecef;
    color: #495057;
    border-bottom: 1px solid #ced4da;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.footer-column-content {
    flex: 1;
    overflow-y: auto;
    padding-top: 5px;
}

.frame-responsive {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    margin-top: auto;
    margin-bottom: auto;
}

.frame-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-bottom {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #e9ecef;
    color: #495057;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom img {
    max-height: 40px;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-column {
        height: 310px;
        max-width: 100%;
        flex: none !important;

    }
}

.sb_slider-container {
    position: relative;
    max-width: 100%;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sb_slides {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.sb_slide {
    width: 100%;
    flex-shrink: 0;
}

.sb_slide img {
    width: 100%;
    display: block;
}

/* Navigation Indicators */
.sb_indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 7px 12px 7px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
}

.sb_indicator:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.sb_left {
    left: 10px;
}

.sb_right {
    right: 10px;
}


.bangla_style {
    font-size: 13px !important;
    font-weight: 400;
    font-family: none !important;
}

/* #subcategory_col,
#category_col {
    display: none;
} */
#sb_button_success,
#sb_button_danger,
#sb_button_simple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #28a745;
    color: white !important;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 1px 15px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-right: 0.5rem;
    position: relative;
    transition: background-color 0.3s, padding-right 0.3s;
    overflow: hidden;
    min-width: 85px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb_text-success {
    color: #28a745 !important;
}

#sb_button_danger {
    background-color: #dc3545 !important;
}

#sb_button_success::after {
    content: "\f2f6";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s, transform 0.3s;
    display: inline-block;
    width: 0;
    margin-left: 0;
}

#sb_button_success:hover {
    background-color: #218838;
    padding-right: 8px;
}

#sb_button_success:hover::after {
    opacity: 1;
    transform: translateX(0);
    width: 20px;
    margin-left: 10px;
}

.sb_card_design {
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
        rgba(14, 30, 37, 0.32) 0px 2px 16px 0px !important;
    padding: .25rem !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: 10px;
}

/* Hover Effect */
.sb_card_design:hover {
    box-shadow: rgba(14, 30, 37, 0.2) 0px 4px 12px 0px,
        rgba(14, 30, 37, 0.4) 0px 6px 20px 0px !important;
    transform: translateY(-5px);
}



/* team and members section */
.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s ease-in-out;
}

.carousel-item-section {
    flex: 0 0 25%;
    box-sizing: border-box;
    padding: 15px;
}

@media (max-width: 1199px) {
    .carousel-item-section {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {
    .carousel-item-section {
        flex: 0 0 50%;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-btn:focus {
    outline: none;
}

.sb_team {
    position: relative;
    overflow: hidden;
}

.sb_team .sb_team-info {
    padding: 10px 0;
}

.sb_team .sb_team-info span {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.sb_team .share {
    background: none;
    position: absolute;
    left: -100px;
    top: 10px;
    width: 40px;
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -ms-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
}

.share ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sb_team:hover .share {
    left: 15px;
}

.sb_team .share ul li {
    margin: 5px 0;
}

.sb_team .share ul li a {
    color: #fff;
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: #868383;
    border-radius: 90px;
    text-align: center;
    display: inline-block;
}

.sb_team .share ul li a:hover {
    background: #14cc5b;
}

.sb_team .sb_team-img {
    position: relative;
}

.sb_team .sb_team-img img {
    width: 100%;
}

.sb_team .sb_team-img:before {
    content: "";
    bottom: 0;
    opacity: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(72, 239, 72, 0);
    /* Start transparent green */
    background: -moz-linear-gradient(top, rgba(72, 239, 72, 0) 0%, rgba(72, 239, 72, 0.8) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(72, 239, 72, 0)), color-stop(100%, rgba(72, 239, 72, 0.8)));
    background: -webkit-linear-gradient(top, rgba(72, 239, 72, 0) 0%, rgba(72, 239, 72, 0.8) 100%);
    background: -o-linear-gradient(top, rgba(72, 239, 72, 0) 0%, rgba(72, 239, 72, 0.8) 100%);
    background: -ms-linear-gradient(top, rgba(72, 239, 72, 0) 0%, rgba(72, 239, 72, 0.8) 100%);
    background: linear-gradient(to bottom, rgba(72, 239, 72, 0) 0%, rgba(72, 239, 72, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ef48', endColorstr='#ccef48', GradientType=0);
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}


.sb_team:hover .sb_team-img:before {
    opacity: 1;
}

.accordion-button {
    background-color: transparent;
    font-weight: 500;
    box-shadow: none;
    outline: none;
}

.accordion-button::after {
    display: none !important;
}

.accordion-button .fa {
    margin-right: 10px;
    transition: transform 0.2s ease-in-out;
}

.accordion-button.collapsed .fa::before {
    content: "\2b";
}

.accordion-button:not(.collapsed) .fa::before {
    content: "\f068";
}

.accordion-item {
    border: none;
}

button:focus {
    box-shadow: none !important;
    outline: none !important;
}


.web_hero_section {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #f8f9fa !important;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.web_hero_section_content {
    padding: 30px 10px 10px 10px;
    border-radius: 0 0 12px 12px;
    width: 100%;
}

.icon-bar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.icon-bar a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2px;
    padding: 3px;
    width: 28px;
    transition: width 0.3s;
    color: white;
    border-radius: 0 5px 5px 0;
    text-decoration: none;
}

.icon-bar a:hover {
    width: 100px;
}

.icon-bar a i {
    min-width: 20px;
    /* Fixed width for the icon area */
    text-align: center;
}

.icon-bar a span {
    opacity: 0;
    /* Hide the text initially */
    transition: opacity 0.3s;
    white-space: nowrap;
    overflow: hidden;
}

.icon-bar a:hover span {
    opacity: 1;
    /* Show the text on hover */
}

.facebook {
    background: #3B5998;
}

.twitter {
    background: #55ACEE;
}

.google {
    background: #dd4b39;
}

.linkedin {
    background: #007bb5;
}

.youtube {
    background: #bb0000;
}

@media only screen and (max-width: 600px) {
    .icon-bar a:hover {
        width: 27px !important;
    }
}


.custom-card {
    border-radius: 12px;
    background: linear-gradient(135deg, #f8faff, #e9f0ff);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 4px 6px rgba(0, 0, 0, 0.08),
        0 10px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
    border: 1px solid #dee2e6;
    position: relative;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
}

.custom-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 10px 15px rgba(0, 0, 0, 0.1),
        0 20px 25px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #e0f0ff, #f6fbff);
    border-color: #c2d6ff;
}

.custom-card .card-body {
    padding: 1rem 1.2rem;
    transition: background-color 0.3s ease;
}

.custom-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2a4365;
    margin-bottom: 0.5rem;
}

.custom-card .card-text {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .custom-card {
        margin-bottom: 1rem;
    }

    .custom-card .card-title {
        font-size: 1rem;
    }

    .custom-card .card-text {
        font-size: 0.875rem;
    }
}

.cat_img {
    max-width: 100px !important;
    max-height: 100px !important;
    border-radius: 8px !important;
    padding: 7px !important;
    align-self: center !important;
}

#star-container .star {
    font-size: 32px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

#star-container .star.selected {
    color: #ffc107;
}

#star-container .star.hovered {
    color: #ffc107;
}