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

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

body {
  margin: 0;
  overflow-x: hidden;
   background: linear-gradient(180deg, rgba(245, 250, 255, 0.298), rgba(147, 203, 240, 0.238)),
              url('img/background/counts.jpg') no-repeat center center fixed;
  background-size: cover;
}


.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** 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 {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 100px;
    height: 50px;
}

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

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

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}


.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800px;
    border-radius: 10px;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-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-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .3);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel-caption {
        padding-left: 15rem !important;
    }

.carousel-item {
    position: relative;
    min-height: 700px;
    }

.carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
    }

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 5rem;
    }
}

.page-header {
    background: linear-gradient(rgba(206, 228, 247, 0.847), rgba(13, 103, 176, 0.689)), url(../img/Background/about.jpeg) center center no-repeat;
    background-size: cover;
}

.page-header-contact {
    background: linear-gradient(rgba(220, 235, 249, 0.872), rgba(20, 102, 169, 0.627)), url(../img/Background/360_F_530960431_c8fPd3HansYvrSJ4fJxZqp9OhjQmYoll.jpg) center center no-repeat;
    background-size: cover;
}



/*** About ***/
.about-img {
    position: relative;
    padding-left: 5px;
    width: 655px;
    height: 470px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 170px;
    height: 250px;
    top: 0;
    left: 0;
    border: 5px solid rgb(20, 50, 106);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}

@media (max-width: 500px) {
  .about-img {
    width: 400px;
    height: auto;
  }
  .esc-item {
    max-width: 56px;
    max-height: 56px;
  }
}


.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
    color: #0c0c0c;
    height: 420px; 
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: linear-gradient(rgba(222, 233, 232, 0.8), rgba(166, 205, 239, 0.987));
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    transition: all 0.3s ease;
}



.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

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


.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}



@media (max-width: 500px) {
  .service .service-item {
    height: 520px;
  }
  
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(230, 242, 250, 0.8), rgba(2, 80, 148, 0.909)), url(../img/Background/counts.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
   background: linear-gradient(rgba(222, 228, 233, 0.8), #0577b0);
    box-shadow: 0 0 45px rgba(232, 229, 229, 0.05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: linear-gradient(rgba(222, 233, 232, 0.8), rgba(166, 205, 239, 0.987));
    display: flex;
    align-items: center;
    justify-content: center;
}
.group_title{
    color: #FFFFFF;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    z-index: 1;
}

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

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
  
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer{
   background: linear-gradient(rgba(2, 80, 148, 0.909), rgba(1, 47, 88, 0.909)), url(../img/Background/counts.jpg) left center no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgb(154, 155, 155);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
  
}


.footer .btn-square{
    height: 30px;
    width:40px;
    gap:5px;
}

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

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

.header-size{
    font-size: 18px;
}

.footer_font-size{
    font-size: 14px;
}




.journey {
  top: 40px;
  background: #E4EDEE;
  padding: 0px;
  text-align: center;
  position: relative;
}

.title {
  padding: 10px;
  color: #024e79;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 0px;

}

.timeline {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.timeline ul {
  display: flex;
  align-items: center;
  gap: 220px;
  position: relative;
  padding: 150px;
  margin: 0;
  list-style: none;
  will-change: transform;
}

.timeline ul::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 300%;
  height: 3px;
  background: linear-gradient(90deg, #024e79, #024e79, #024e79);
  box-shadow: 0 0 15px rgba(45, 178, 255, 0.576);
  z-index: 1;
}

.timeline ul li {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 12px;
  background: #024e79;
  border-radius: 50%;
  flex-shrink: 0;
}

.timeline ul li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}

.content {
  position: absolute;
  width: 400px;
  background: #02649d;
  border-radius: 5px;
  padding: 2px 18px;
  box-shadow: 0 6px 18px rgba(14, 104, 160, 0.45);
  backdrop-filter: blur(4px);
  transition: transform 4s ease;
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  height: 100px;
}

.content:hover {
  transform: scale(5.05);
  box-shadow: 0 0 25px rgba(3, 2, 65, 0.677);
}

.year {
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
}

/* Top box */
.content.top {
  bottom: 0px;
  left: 50%;
  transform: translateX(-5%) translateY(-23%);
  padding: 2px;
}

.timeline ul li:nth-child(odd)::after {
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: #024e79;
}

/* Bottom box */
.content.bottom {
  top: 2px;
  left: 50%;
  transform: translateX(-5%) translateY(20%);
   padding: 2px;
}

.timeline ul li:nth-child(even)::after {
  top: 5px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  border-top-color: #024e79;
}



@media (max-width: 770px) {
  .timeline {
    overflow-y: hidden;
    white-space: nowrap;        /* যাতে item গুলো এক লাইনে থাকে */
    padding-bottom: 20px;       /* scroll bar-এর জন্য একটু gap */
  }

  .timeline ul {
    display: inline-flex;       /* flex রাখলাম scrollable করার জন্য */
    flex-direction: row;
    flex-wrap: nowrap;          /* এক লাইনে সব item */
    justify-content: flex-start;
    align-items: center;
    gap: 200px;
    position: relative;
    min-width: max-content;     /* যাতে scroll করতে পারে */
  }

  .timeline ul::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #248689;
    transform: translateY(-50%);
    border-radius: 1px;
    z-index: 0;
  }

  .timeline ul li {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
  }

  .timeline ul li::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-bottom: 10px;
    z-index: 2;
  }

  .content {
    border-radius: 5px;
    padding: 15px 18px;
    width: 250px;               /* card width একটু ছোট */
    height: 120px;
    box-shadow: 0 3px 8px rgba(58, 55, 55, 0.15);
    text-align: center;
    white-space: normal;        /* text wrap করবে */
  }

  .content h3 {
    font-size: 1.1rem;
    color: #248689;
  }

  .content p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* Count background color change*/
.bg-overlay {
  position:relative;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:1;
  background: linear-gradient(rgba(222, 233, 232, 0.8), rgba(166, 205, 239, 0.987));
}




 



    /* ===== Section Container ===== */

.bilkis{
      background: linear-gradient(rgba(222, 233, 232, 0.8), rgba(166, 205, 239, 0.987));
}

    
.container-board {
  display: flex;
  flex-wrap: wrap;
  margin-top: 80px;
  margin-bottom: 120px;
  gap: 20px;
  
}

/* LEFT SIDEBAR */
.sidebar {
  flex: 1 1 260px;
  background: linear-gradient(rgba(222, 233, 232, 0.8), rgba(166, 205, 239, 0.987));
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 20px;
  height: fit-content;
}

.sidebar h5 {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: 600;
  margin-bottom: 20px;
  color: #00677c;
}

.member-list {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  list-style: none;
  padding: 0;
  margin: 0;
}

.member-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background: transparent;
}

.member-list li:hover {
  background: rgba(66, 198, 221, 0.05); /* হালকা কালো ট্রান্সপারেন্ট ব্যাকগ্রাউন্ড */
  border: 1px solid #0c6e7150;       /* হালকা নীল বর্ডার */
  transform: scale(1.03);          /* সামান্য বড় হবে (zoom effect) */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* হালকা ছায়া */
}

.member-list img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  border: 2px solid #00677c;
}

.member-list span {
  font-size: 0.9rem;
  color: #00334a;
  font-weight: 500;
}

/* MAIN CONTENT */
.main-content {
  flex: 3 1 600px;
  background: linear-gradient(rgba(222, 233, 232, 0.8), rgba(166, 205, 239, 0.987));
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 30px;
}

.profile-photo {
  width: 300px;
  max-height: 380px;
  object-fit: cover;
  border-radius: 10px;
  margin: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.bio-text {
  font-size: 1 rem;
  font-family: 'Times New Roman', Times, serif;
  font-style: normal;
  color: #093649;
  line-height: 1.7;
  margin-bottom: 40px;

}

.section-title {
  font-family:'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 10px;
  padding: 0px 0px 20px;
  color: #00677c;
  text-align: center;
}

.message {
  text-align: right;
  font-size: 1.3rem;
  color: #1c3645;
  font-weight: var(--thm-body-font-weight);
  line-height: 20px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  
}

@media (max-width: 992px) {
  .container-board {
    flex-direction: column;
  }
}

/* Search */
.search-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #0374a8; /* teal border to match theme */
  border-radius: 5px;
  overflow: hidden;
  height: 36px;                /* smaller height */
  margin-right: 10px;   /* pushes it to right side */
}

.search-box input {
   flex: 1;
  border: none;
  outline: none;
  padding: 8px 10px;           /* compact padding */
  font-size: 13px;
  color: #333;
  width: 130px;  
}

.search-box input::placeholder {
  color: #888;
}

.search-box button {
  background: #0374a8;
  color: #fff;
  border: none;
  padding: 7px 14px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
  border-left: 1px solid #0374a8; 
}

.search-box button:hover {
  background: #01557c;
}


.language_search{
    margin-top:30px;
}

.language-btn {
  background: #0374a8;      /* same color as search button */
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: center;
}

.language-btn:hover {
  background: #01557c;
}

.btn-outline-secondary {
    color: #fff;
    background-color: #0374a8;
    border-color: #0374a8;
    border-radius: 6px;
    height: 36px;
    font-weight: 600;
    font-size: 12px;
    margin-left: 8px;
}

.btn-outline-secondary:hover{
    background: #01557c;
    color: #fff;
}

/* OPTIONAL: wrapper to align both search and language properly */
.header-tools {
  display: flex;
  align-items: center;
  gap: 25px; /* overall space between search box and language */
}


/* Hero Section container relative থাকুক */
#header-carousel,
.hero,
.hero-slider {
  position: relative;
  z-index: 1;
}

/* Hero Section container relative রাখো */
#header-carousel,
.hero,
.hero-slider {
  position: relative;
  z-index: 1;
  overflow: hidden; /* যেন অতিরিক্ত scroll না হয় */
}

/* Escalator full height & responsive */
.escalator-wrap {
  position: absolute;
  top: 85px; /* Navbar height অনুযায়ী সামঞ্জস্য করো */
  bottom: 0px;
  height: 434px; /* navbar বাদে হিরো ইমেজের পুরো উচ্চতা */
  left: 100px; /* স্ক্রিনের বাম দিক থেকে সুন্দরভাবে থাকবে */
  width: 5vw; /* responsive width, স্ক্রিন অনুযায়ী auto adjust */
  min-width: 70px; /* ছোট স্ক্রিনেও সুন্দর থাকবে */
  max-width: 100px; /* বড় স্ক্রিনে অতিরিক্ত চওড়া না হয় */

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(102, 190, 237, 0.2), rgba(19, 69, 134, 0.16));
  backdrop-filter: blur(6px);
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ট্র্যাক নিচ থেকে ওপরে চলবে */
.escalator-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: esc-scroll 22s linear infinite;
  will-change: transform;
}

.escalator-wrap:hover .escalator-track {
  animation-play-state: paused;
}

/* প্রতিটি আইটেম */
.esc-item {
  width: 4vw;
  height: 4vw;
  max-width: 64px;
  max-height: 64px;
  min-width: 50px;
  min-height: 50px;

  border-radius: 16px;
  background: #fff;
  padding: 8px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.esc-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.esc-item:hover {
  transform: scale(1.06) rotate(2deg);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.escalator-wrap {
  top: var(--nav-height, 85px);
  height: calc(100% - var(--nav-height, 85px));
  bottom: 0;
}

/* Scroll animation */
@keyframes esc-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* 📱 Responsive Adjustments */
@media (max-width: 1200px) {
  .escalator-wrap {
    width: 6vw;
    left: 80px;
    top: 75px;
    bottom: 0px;
    height: calc(100% - 75px);
  }
}

@media (max-width: 992px) {
  .escalator-wrap {
    width: 3vw;
    top: 7px;
    left: 65px;
    bottom: 0px;
    height: calc(100% - 75px);
    padding: 0px;
    border-radius: 0%;
  }
  .esc-item {
    max-width: 56px;
    max-height: 56px;
  }
}

@media (max-width: 576px) {
  .escalator-wrap {
    width: 8vw;
    left: 22px;
    top: 115px;
    height: calc(100% - 40px);
    border-radius: 6px;
  }
  .esc-item {
    max-width: 50px;
    max-height: 50px;
    gap: 8px;
  }
}

/* ===== Team Overlay Custom Design ===== */
.team-item {
  position: relative;
  overflow: hidden;
}

.team-item .team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(214, 254, 255, 0.8), rgba(2, 31, 32, 0.711));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.team-item:hover .team-overlay {
  opacity: 1;
  visibility: visible;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  text-align: center;
}

/* Row 1: Logo text */
.logo-text {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #024e79; 
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

/* Row 2: Social icons */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons .btn {
  width: 15px;
  height: 30px;
  border-radius: 8px;
  background: #205caa;
  color: #fff;
  transition: all 0.3s ease;
  padding-bottom: 15px;
}

.overlay-row{
    padding-top: 13px;
}
.social-icons .btn:hover {
  background: #024e79;
  transform: scale(1.1);
}

/* Row 3: Read More button */
.readmore-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #024e79;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.readmore-btn:hover {
  background: #ffffff;
  transform: scale(1.05);
  color: #024e79;
  font-weight: 800px;
}

.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}


/*group of companies*/
:root{
  --accent:#0876c4;
  --bg1:#f7fafc;
  --bg2:#eaf1f8;
  --shadow:0 10px 25px rgba(0,0,0,0.12);
  --trans:cubic-bezier(.42,0,0,.99);
}


/* ===== WRAPPER ===== */
.carousel-wrap{
  max-width:1200px;
  height: auto;
  margin:auto;
  position:relative;
  padding:60px 0 100px;
  border-radius:2px;
  background:linear-gradient(180deg,rgba(255,255,255,0.9),rgba(202, 222, 242, 0.9));
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  overflow:hidden;
}

/* ===== MAIN STAGE ===== */
.carousel-stage{
  position:relative;
  height:360px;
}

/* ===== EACH SLIDE ===== */
.carousel-slide{
  position:absolute;
  top:50%; left:50%;
  width:460px; height:300px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transform-origin:center center;
  transition:transform 1s var(--trans),opacity .2s var(--trans);
  opacity:0;
  cursor:pointer;
  
}
.carousel-slide img{
  width:100%; height:100%; object-fit:cover;
  display:block; transition:transform .3s;
}

/* Position Layers */
/* ===== Position Layers (Fixed for 9 Slides) ===== */
.carousel-slide.center {
  transform: translate(-50%, -50%) scale(1);
  z-index: 30;
  opacity: 1;
}

/* Left side depth */
.carousel-slide.left-1 {
  transform: translate(-90%, -50%) scale(0.85);
  z-index: 25;
  opacity: 1;
}

.carousel-slide.left-2 {
  transform: translate(-130%, -50%) scale(0.7);
  z-index: 20;
  opacity: 0.95;
}

.carousel-slide.left-3 {
  transform: translate(-160%, -50%) scale(0.55);
  z-index: 15;
  opacity: 0.9;
}

.carousel-slide.left-4 {
  transform: translate(-180%, -50%) scale(0.4);
  z-index: 10;
  opacity: 0.85;
}

/* Right side depth */
.carousel-slide.right-1 {
  transform: translate(-10%, -50%) scale(0.85);
  z-index: 25;
  opacity: 1;
}

.carousel-slide.right-2 {
  transform: translate(30%, -50%) scale(0.7);
  z-index: 20;
  opacity: 0.95;
}

.carousel-slide.right-3 {
  transform: translate(60%, -50%) scale(0.55);
  z-index: 15;
  opacity: 0.9;
}

.carousel-slide.right-4 {
  transform: translate(80%, -50%) scale(0.4);
  z-index: 10;
  opacity: 0.85;
}


.carousel-slide.off{opacity:0;z-index:0;}

/* ===== DETAIL OVERLAY ===== */
.detail-overlay {
  position: absolute;
  inset: 0;
  background:linear-gradient(180deg,rgba(248, 250, 251, 0.716),rgba(182, 212, 241, 0.629));
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: center;       /* vertical center */
  align-items: center;           /* horizontal center */
  text-align: center;            /* center align text */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .3s var(--trans), transform .3s var(--trans);
  border-radius: 20px;
  border: 3px solid rgba(7, 85, 158, 0.781);
  
}

/* Group logo inside overlay */
.detail-overlay img.group_logo {
  max-width: 120px;
  height: auto;
}

/* Company card container */
.company-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Headline text */
.detail-overlay h5 {
  font-size: 18px;
  margin: 10px 0 8px;
  font-weight: 700;
  color: #06232b;
  padding-top: 10px;
}

/* Paragraph text */
.detail-overlay p {
  font-size: 15px;
  color: #334f52;
  max-width: 420px;
  margin: 0 0 20px;
  line-height: 1.6;
}

/* Read More button */
.detail-overlay a {
  background: #205caa;
  color: #fff;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.detail-overlay a:hover {
  background: #063280;
}

/* Show overlay animation when centered */
.carousel-slide.center .detail-overlay.show {
  opacity: 1;
  transform: translateY(0);
}

/* Center image hover zoom */
.carousel-slide.center:hover img {
  transform: scale(1.02);
  transition: transform 0.3s;
}

/* Group logo alignment in overlay */
.group_logo {
  height: 50px;
  margin-bottom: 10px;
}
 .group_headding{padding-top:50px}

.bg_clr{
    background-color: #156ea6d2 !important;
}

.group-overlay{
  position:relative;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:1;
  background: linear-gradient(rgba(222, 233, 232, 0.8), rgba(166, 205, 239, 0.987));
}

/* === Social icon button adjust === */
.btn-dark.mx-1 {
  width: 51px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0;
  background-color: #205caa;
  transition: all 0.3s ease;
}

.btn-dark.mx-1:hover {
  background-color: #024e79;
  transform: scale(1.05);
}

/* Icon image inside button */
.web-icon-img {
  width: 36px !important; 
  height: 28px !important;
  padding: 6px 10px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* make white */
  transition: transform 0.3s ease;
}

.btn-dark.mx-1:hover .web-icon-img {
  transform: scale(1.15);
}


/* Responsive adjustments */
@media (max-width: 992px) {
  .carousel-slide { width: 380px; height: 280px; }
  .carousel-stage { height: 320px; }
  .detail-overlay h3 { font-size: 20px; }
  .detail-overlay p { font-size: 14px; margin-bottom: 5px; }
  .social-icons{ padding: 12px 0px 8px 0px;}
  .overlay-row {padding-top: 5px;}
  .group_headding{ padding-bottom: 10px;}
}

@media (max-width: 768px) {
  .carousel-slide { width: 350px; height: 270px; }
  .carousel-stage { height: 260px; }
  .detail-overlay img.group_logo { max-width: 90px; }
  .detail-overlay h3 { font-size: 18px; }
  .detail-overlay p { font-size: 13px; max-width: 320px; }
  .detail-overlay a { padding: 8px 20px; font-size: 14px; margin-bottom: 5px; }
  .social-icons{ padding: 10px 0px 5px 0px;}
  .overlay-row {padding-top: 5px;}
  .group_headding{ padding-bottom: 20px;}
}

@media (max-width: 600px) {
  .carousel-slide { width: 310px; height: 270px; }
  .carousel-stage { height: 250px; }
  .detail-overlay { padding: 10px; }
  .detail-overlay h3 { font-size: 15px; }
  .detail-overlay p { font-size: 13px;  gap:0px; margin-bottom: 5px;}
  .overlay-row{padding-bottom: 8px;}

}

/*about*/

.section-title {
  font-weight: 700;
  color: #0a2d57;
}

/* Director Card */
.director {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform .3s ease;
    background: linear-gradient(rgba(217, 225, 233, 0.965), rgba(142, 194, 239, 0.905)), url(../img/Background/Search.jpg) left center no-repeat;
    background-size: cover;
}
.director:hover { transform: translateY(-4px); }

.director:nth-child(even) { flex-direction: row-reverse; }

/* Image section */
.director-img {
  flex: 0 0 200px;
  height: 200px;
  position: relative;
}
.director-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director:nth-child(even) .director-img::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-left: 5px dashed #012078b0;
    border-top: 5px dashed #012078b0;

}


.director:nth-child(odd) .director-img::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-right: 5px dashed #012078b0;
    border-top: 5px dashed #012078b0;

}

/* Info section */
.director-info {
  flex: 1;
  padding: 30px;
  position: relative;
}
.director-info h5 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.director-info h5.blue { color: #00218e; }
.director-info h5.orange { color: #ff8a00; }
.director-info p.role {
  font-weight: 500;
  margin-bottom: 8px;
  color: #444;
}
.short-desc {
  color: #555;
  margin-bottom: 10px;
}
.full-desc {
  color: #555;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease 0.1s;
  
}
.full-desc.show {
  max-height: 400px;
  opacity: 1;
}

.btn-read {
  background: none;
  border: none;
  color: #000000;
  font-weight: 600;
  padding: 0;
  margin-top: 4px;
  cursor: pointer;
  
}
.btn-read:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
  .director { flex-direction: column !important; text-align: center; }
  .director-img { width: 100%; height: 240px; }
  .director-info { padding: 20px; }
   .full-desc.show {
    max-height: 600px; /* Mobile এ more space দিন */
  }
}




/**/
/* === Mission/Vision Expand Effect (Final Polished) === */
.feature-row {
  display: flex;
  flex-wrap: wrap; /* nowrap বাদ */
  align-items: stretch;
  gap: 12px;
  transition: all 0.5s ease-in-out;
}

.feature-item {
  flex: 1;
  min-height: 200px;
  width: 280px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: 16px;
  background: #fff;
  transition: all 0.6s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  position: relative;
  padding: 0px 5px 5px 10px;
  margin-left: 20px;
    background: linear-gradient(rgba(217, 225, 233, 0.965), rgba(142, 194, 239, 0.905)), url(../img/Background/Search.jpg) left center no-repeat;
    background-size: cover;
}

.feature-item h5 {
  font-size: 15px;
}

/* Logo Box */
.feature-item .feature-icon {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  transition: all 0.4s ease;
}

.feature-icon {
  position: absolute;
  top: -10px;
  left: -40px;
  width: 75px;
  height: 75px;
  background: var(--bs-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(2, 80, 148, 0.25);
  transition: all 0.4s ease;
}

/* Expanded card */
.feature-item.expanded {
  width: 340px; 
  flex: 3;
  background: #f4faff;
  transform: scale(1.44) translateX(-20px);
  box-shadow: 0 10px 35px rgba(2, 80, 148, 0.18);
  z-index: 2;
}

/* Shrink other cards */
.feature-item.collapsed {
  flex: 0.4;
  opacity: 0.6;
  transform: scale(0.92);
}

/* Text control */
.feature-item .short {
  color: #333;
  line-height: 1.3rem;
}

.feature-item .detail {
  display: none;
  opacity: 0;
  margin-top: 10px;
  transition: opacity 0.4s ease;
}

.feature-item.expanded .detail {
  font-size: 13px;
  display: block;
  opacity: 1;
  margin-right: 20px;
  z-index: 3;
}

.feature-item.expanded .short {
  display: none;
}

/* Read More button */
.feature-item a {
  margin-top: auto;
}

/* Fix logo cutting issue */
.feature-item .feature-icon i {
  font-size: 1.8rem;
}



.feature-bottom-gap {
  margin-bottom: 20px;

}

/* ✅ Responsive fixed version */

/* Tablet - প্রতি সারিতে ২টা div */
@media (max-width: 992px) {
  .feature-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-left: 20px;
  }

  .feature-item,
  .feature-item.expanded,
  .feature-item.collapsed {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(90% - 20px);
    margin-left: 0;
    transform: none;
    opacity: 1;
    filter: none;
  }

  .feature-item.expanded {
    width: 370px;
    transform: none;
  }

  .feature-item.expanded .detail {
    font-size: 15px !important;
  }

  .quality_text {
    position: inherit;
  }
}

/* Mobile - প্রতি সারিতে ১টা div */
@media (max-width: 768px) {
  .feature-row {
    flex-direction: column;
    align-items: center;
  }

  .feature-item,
  .feature-item.expanded,
  .feature-item.collapsed {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 20px 0;
    transform: none;
    opacity: 1;
  }

  .feature-item.expanded .detail {
    font-size: 16px !important;
  }

  .quality_text {
    position: inherit;
  }
}

/*video*/
.video-section {
  margin: 30px;
}

.section-title {
  color: #4deaff;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/*  container ta center e nibe and width limit dibe */


.section-title {
  color: #042851;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* Responsive video container */
.video-container {
  position: relative;
  height: 400px;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
  aspect-ratio: 16 / 9;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/*Count*/
/* Section Background */
#count-section {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.count-overlay {
  padding: 60px 20px;
}

/* Container Layout */
.count-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Each Counter Box */
.count-box {
  background: #07679f;
  width: 240px;
  height: 160px;
  border-radius: 16px;
  box-shadow: 2px 10px 25px rgba(3, 78, 103, 0.2);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 5px 20px 10px;
  position: relative;
  cursor: pointer;
}

.count-box:hover {
  transform: translateY(-14px);
  box-shadow: 0 15px 35px rgba(17, 92, 118, 0.3);
}

/* Images */
.count-box img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 0px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Counter Text */
.counter {
  color: #fbfdfe;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 5px 0;

}

/* Description Text */
.count-box p {
  color: #feffff;
  font-weight: 600;
  padding-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .count-container {
    gap: 30px;
  }
  .count-box {
    width: 170px;
    height: 170px;
  }
  .count-box img {
    width: 60px;
    height: 60px;
  }
}

/*newsroom*/
.newsroom-section {
   background: linear-gradient(rgba(230, 242, 250, 0.8), rgba(2, 80, 148, 0.909)), url(../img/Background/counts.jpg) left center no-repeat;
    background-size: cover, url(../img/Background/counts.jpg) left center no-repeat;
    background-size: cover;
  padding: 80px 20px;
  overflow: hidden;
}

/* container: two equal sides */
.newsroom-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Left: GIF */
.newsroom-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsroom-left img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

/* Right: News */
.newsroom-right {
  flex: 1;
  color: #fff;
  position: relative;
}

.news-title {
  color: #021259;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

/* ✅ Scrolling container */
.news-scroll {
  overflow: hidden;
  height: 400px;
  position: relative;
}

.scroll-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scrollNews 20s linear infinite;
}

/* Each news box */
.news-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(251, 251, 253, 0.913);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: scale(1.02);
}

/* All news images same size */
.news-item img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.news-info {
  flex: 1;
}

.news-info h5 {
  font-size: 15px;
  margin-bottom: 4px;
  color: #020362;
  line-height: 1.3;
}

.news-info .date {
  color: #864402;
  font-size: 13px;
}

.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-link:hover .news-item {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

/* ✅ Scroll animation */
@keyframes scrollNews {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* 🔹 Responsive Design */
@media (max-width: 992px) {
  .newsroom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .newsroom-left img {
    max-width: 350px;
    margin-bottom: 30px;
  }

  .news-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .news-item img {
    width: 100%;
    max-width: 300px;
    height: 180px;
    object-fit: cover;
  }

  .news-info {
    margin-top: 10px;
  }

  .news-scroll {
    height: 350px;
    width: 90%;
  }
}
/* Full Width Responsive Map Section */
.map-section {
  position: relative;
  width: 100%;
  height: 500px; /* প্রয়োজনমতো height পরিবর্তন করতে পারো */
  overflow: hidden;
  margin-top: 50px;
 background: linear-gradient(rgba(222, 233, 232, 0.8), rgba(166, 205, 239, 0.987));
}

/* Embedded map full fit */
.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Clickable transparent overlay */
.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  cursor: pointer;
}

/* Hover effect (optional) */
.map-section:hover::after {
  content: "Click to view on Google Maps";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  z-index: 3;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .map-section {
    height: 350px;
  }
}


/*sister congern address*/
.sister-concerns {
  padding: 40px;
  text-align: center;
}

.info-box {
  background: linear-gradient(180deg, rgba(225, 239, 252, 0.877), rgba(125, 199, 248, 0.814)),
              url('img/background/counts.jpg') no-repeat center center fixed;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
   text-align: center;
  max-width: 400px;
  margin: 20px auto;
}

.company-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 50px
}

.company {
  
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: rgb(2, 54, 103);
  cursor: pointer;
  transition: background 0.3s ease;
}

.company:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.03);
  border-left: 4px solid #132b7d;
}
.group_logo_com{
  padding:20px;
}
.com_name h4{
  margin: 0px;
}
.company-logo {
  width: 35px;
  height: 35px;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
  padding: 3px;
}
.company-list-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-right: 8px;
}

#infoBox .info-logo img {
  width: 80px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

#company-logo {
  width: 130px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}