/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}





.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.sans-font{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

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

.test-bg{
    background-color: #01b9fc3d;
}

.bg-blue{
    background-color: #06a3da;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.color-black{
    color: black;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.text-justify{
    text-align: justify;
}

.text-black{
    color: #000;
}

.text-white{
    color: #ffffff;
}

.text-green{
    color: #1ba44c;
}

.research-table tbody th{
    font-weight: normal;
}

.mng-team-text h4{
    font-size: 15px;
    font-weight: normal;    
}

.mng-team-text p{
    font-size: 12px;
    font-weight: normal;    
}

.team-text h4{
    font-size: 18px;
    font-weight: normal;
    color:black;
}


#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;
}

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

.top-shape::before {
    position: absolute;
    content: "";
    width: 53px;
    height: 134%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}






@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 auto;
        width: 4.666667%;
    }
  }

.text-center h1{
    font-size: 42px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    
}

.text-left{
    text-align: left;
}


/* dropdown-menu */

.dropdown-menu{
    z-index: 1050;
    display: none;
    font-family: 'roboto' sans-serif;
    font-size: 15px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.71;
    letter-spacing: normal;
    text-align: center;
    color: #000000;
    min-width: 100%;
    background: #fc8282;
    text-decoration: none;
    -webkit-transition: color .5s ease;
    -o-transition: color .5s ease;
    transition: color .5s ease;
    -moz-transition: color .5s ease;
    -ms-transition: color .5s ease;
    padding-top: 0px;
    padding-bottom: 0px;
    border-radius: 0px;
    animation: scaleZ 500ms;
    transform-origin: top center;
}

@keyframes scaleZ {
    0% {
      opacity: 0;
      transform: scale(0);
    }
    
    80% {
      transform: scale(1.07);
    }
  
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }






/* dropdown-item */

.dropdown-item {
    padding: 10px 15px;
}

.dropdown-item:hover {
    background: #06a2da57 !important;
}

.dropdown-item.active {
    background: #06a2da91;
}

.dropdown-item {
    border-top: 1px solid #5a59599a;
}

.dropdown-item:first-child {
    border-top: none;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:active {
    background: #06a2da91;
}

.dropdown-item:focus {
    background: #06a2da91;
}

.dropdown-item:active,
.dropdown-item:focus {
    color: #ffffff;
}

.dropdown-item:active,
.dropdown-item:focus {
    background: #06a2da91;
}

.dropdown-item:active,
.dropdown-item:focus {
    color: #ffffff;
}

.dropdown-item:active,
.dropdown-item:focus {
    background: #06a2da91;
}


/* marquee */
/* Container styling */
.recent-bar-area {
  background: #ffffff;
  color: #004aad;
  overflow: hidden;
  padding: 12px 0;
  font-family: "kalpurush", sans-serif;
}

/* Wrapper holds marquee content */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

/* Moving content */
.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 50s linear infinite;
  -webkit-animation: marquee 50s linear infinite;
}

/* Hover করলে marquee থেমে যাবে */
.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

/* Links inside marquee */
.marquee-content a {
  color: #004aad;
  text-decoration: none;
  margin-right: 60px;
  font-size: 20px;
  display: inline-block;
  transition: color 0.3s ease;
}

.marquee-content a:hover {
  color: #ff6600;
}

/* Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive breakpoints */
@media (max-width: 992px) {
  .marquee-content a {
    font-size: 15px;
    margin-right: 45px;
  }
}

@media (max-width: 768px) {
  .marquee-content a {
    font-size: 14px;
    margin-right: 35px;
  }
}

@media (max-width: 576px) {
  .marquee-content a {
    font-size: 13px;
    margin-right: 25px;
  }
}

@media (max-width: 400px) {
  .marquee-content a {
    font-size: 12px;
    margin-right: 20px;
  }
}

/* marque end */


/* carousel */

.carousel-item {
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 62, 0.349); /* হাল্কা নীল রঙ, opacity সহ */
    z-index: 1;
}

.carousel-item img {
    position: relative;
    z-index: 0;
}


@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 26px;
        font-weight: 600 !important;
    }
}

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

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

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-bar h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-bar h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}


.logo{
    height: 50px;
    width: 60px;
}

@media  (max-width: 576px) {
    .logo{
        margin-left: 0px;
    }

}



.form-control{
    color: #000 !important; 
}


.bg-sky{
    background-color: #6ba1d3 ;
}

.bg-green{
    background-color:#038607 ;
}

.bg-light-green{
    background-color:#4caf4f65 ;
}



.bg-light-red{
    background-color: #ff566c;
}




.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/slider/3.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/slider/3.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

/* ---- Team card: image sizing, equal heights, hover, fix seam ---- */
.team-row .col {
  display: flex;             /* columns stretch to same height */
  align-items: stretch;
}

.team-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;          /* <-- fixes the thin line/seam under image */
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;              /* ensures equal height when parent col is flexed */
  cursor: pointer;
}

/* image frame */
.team-item .img-wrap {
  width: 100%;
  height: 260px;             /* adjust as needed */
  overflow: hidden;
  display: block;
  position: relative;
}
.team-item .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s ease;
  border-radius: 0;          /* image inside wrapper, wrapper has border-radius via parent */
}

/* Team text block */
.team-text {
  padding: 7px 8px;
  background-color: #346efd; /* bg-blue in your design; adjust to your color */
  text-align: center;
  flex: 0 0 auto;
  min-height: 110px;         /* FIX: ensures equal space for text area */
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertically center text when short */
}

/* equalize title size */
.team-text h4 {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.2;
  color: #ffffff;
}

/* smaller paragraph style */
.team-text p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.2;
  color: #ffffff;
}

/* Hover & focus effects */
.team-item:hover,
.team-item:focus {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.team-item:hover .img-wrap img,
.team-item:focus .img-wrap img {
  transform: scale(1.05);
}
.team-item:focus {
  outline: none;
}

/* top border line removal if any browser shows it */
.team-text { border-top: none; }

/* responsive tweaks (you can change breakpoints if needed) */
@media (max-width: 992px) {
  .team-item .img-wrap { height: 230px; }
  .team-text { min-height: 100px; }
}
@media (max-width: 576px) {
  .team-item .img-wrap { height: 200px; }
  .team-text { min-height: 90px; padding: 12px; }
}






.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

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


/* test form */


.testform{
    font-family: Arial, sans-serif;
    background-color: #b9dfff;
    padding: 20px;
    max-width: 900px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgba(12, 12, 12, 0.349);
}

.testform h2{
    color: #06A3DA;
    text-align: center;
}

.testform h3{
    color: #000000;
    text-align: center;
}

.testform h4{
    color: #000000;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
table, th, td {
    border: 1px solid black;
}
th, td {
    padding: 10px;
    text-align: left;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    margin-right: 15px;
}


.file-upload {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .testform {
        width: 95%;
        padding: 15px;
    }
    table, th, td {
        font-size: 14px;
    }
    button {
        font-size: 14px;
        padding: 8px;
    }
}
@media (max-width: 480px) {
    table, th, td {
        display: block;
        width: 100%;
    }
    th, td {
        text-align: left;
        padding: 10px;
    }
    button {
        font-size: 12px;
        padding: 6px;
    }
}

.test-consent{
    margin-left: 10px;
    font-family: 'Times New Roman', Times, serif;
}

.test-consent p{
    color: #000;
    font-family: 'Times New Roman', Times, serif;
}

.test-consent tr td{
    color: #000;
    font-family: 'Times New Roman', Times, serif;
}

.test-consent h4{
    font-family: 'Times New Roman', Times, serif;
    color: #000;
    font-style: italic;
}



.generic{
    font-family: 'Times New Roman', Times, serif;
    color: #000;
}

.generic h4{
    font-family: 'Times New Roman', Times, serif;
    color: #000;
    font-style: italic;
}

.bangla{
    font-family: nikosh;
}

.bangla h2{
    font-family: nikosh;
}

.bangla p{
    font-family: nikosh;
    font-size: 16px;
}

.bangla h4{
    font-size: 20px;
    font-family: nikosh;
}

.bangla ul li{
    font-size: 15px;
    margin-top: 10px;
    font-family: nikosh;
    color: #000;
}

.bangla tr td{
    color: #000;
    font-family: nikosh;
}


/* location */

.info {
    margin: 10px 0;
}
.map-container {
    margin-top: 10px;
    align-items: center;
}

.map-container p {
    text-align: center;
    font-weight: 700;
    font-size: 20px;
}
iframe {
    
    width: 100%;
    height: 100px;
    border: none;
    border-radius: 10px;
}

.location{
    border-radius: 10px;    
    color: #ffffff;
    background: linear-gradient(135deg, #00c3ff, #0084ff); /* Yellow to Orange Gradient */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding: 20px;

}

/* Hover Effect - Pulsing Glow */
.location:hover {
    box-shadow: 0 0 30px rgb(0, 255, 242);
    transform: scale(1.05);
}

/* location */

.info {
    margin: 10px 0;
}
.map-container {
    margin-top: 10px;
    align-items: center;
}

.map-container p {
    text-align: center;
    font-weight: 700;
    font-size: 20px;
}
iframe {
    
    width: 100%;
    height: 100px;
    border: none;
    border-radius: 10px;
}

.location{
    border-radius: 10px;    
    color: #ffffff;
    background: linear-gradient(135deg, #00c3ff, #0084ff); /* Yellow to Orange Gradient */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding: 20px;

}

/* Hover Effect - Pulsing Glow */
.location:hover {
    box-shadow: 0 0 30px rgb(0, 255, 242);
    transform: scale(1.05);
}




