.custom-box {
    font-family: 'Siyam Rupali', sans-serif;
    max-width: 900px;
    margin: 40px auto;
    border: 2px solid #000;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 10px 10px rgba(57, 53, 152, 0.3);
}

.custom-box img {
    width: 180px;
    height: 180px;
    border: 2px solid #000;
    border-radius: 50%;
    object-fit: cover;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(57, 53, 152, 0.3);
}
.service-section{
    font-family: 'Siyam Rupali', sans-serif;
    max-width: 900px;
    margin: 40px auto;
    border: 2px solid #000;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 6px 13px 9px 0px rgba(13, -5,  152, 0.3);
}
.ortho {
    color: #ffffff;
}
.bond-image-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.slider-img-wrapper {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    overflow: hidden;
}

.slider-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: -10px;
}

.next {
    right: -10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

 .img-box {
text-align: center;
}
.img-box img {
max-width: 100%;
height: auto;
border-radius: 10px;
}
 
.bg-box {
background-size: contain;           /* পুরো ছবিটা দেখাবে, কাটবে না */
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;                      /* সব ছবির জন্য সমান উচ্চতা */
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    padding: 20px;
    background-color: white;
}





 @media (max-width: 768px) {
        .container {
            padding-left: 15px;
            padding-right: 15px;
        }

        .google-map iframe {
            height: 250px; /* Adjusting map height on mobile */
            width: 100%;
        }

        .bg-primary {
            background-size: 70%; /* Adjusting background size on mobile */
            background-position: center center;
        }

        .heading {
            font-size: 1.5rem; /* Adjusting heading size */
        }

        .lead {
            font-size: 1rem; /* Adjusting text size */
        }

        .btn {
            padding: 12px 20px; /* Adjust button size */
        }
    }
    
    
 

    @media (max-width: 768px) {
        .about-img {
        height: 200px;
        margin-top: 20px;
        width: 100%;
        }
    }
    
    .topbar-social a i {
        font-size: 18px;
    }

     

    .email-widget i,
    .email-widget span,
    .emergency-widget i,
    .emergency-widget span {
        color: #ffffff;
        font-size: 16px;
    }

    .gap-3 > * { margin-right: 12px; }
    .topbar-items {
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .topbar-items div {
        flex-shrink: 0;
    }
 
    .ion-mail-outline, .ion-call-outline {
        color: #ffffff;
        font-size: 16px;
    }
    
     

     
    .gap-lg-4 {
        gap: 1.5rem;  
    }

   

    .ion-logo-facebook, .ion-logo-youtube, .ion-logo-whatsapp {
        font-size: 18px; /* Adjust icon size if needed */
    }

    /* Ensure proper alignment of icons */
    .d-flex a {
        display: inline-flex;
        align-items: center;
    }
    
   @media (max-width: 767px) {
        .header-1 .navbar-brand .logo {
            width: 3.625rem; /* Mobile: Set the same width */
            height: auto;
        }
    }
    
@media (max-width: 768px) {
    .custom-slide-wrapper {
        flex-direction: column !important;
        padding: 20px !important;
        text-align: center;
    }

    .custom-slide-image, .custom-slide-content {
        flex: none !important;
        max-width: 100% !important;
        padding-left: 0 !important;
    }

    .custom-slide-content {
        margin-top: 20px;
    }
}

/*MY CSS*/
.icon-color{
    color: #383697 !important;
}
/*.tp-parallax-wrap{*/
/*    left: 732px !important;*/
/*}*/
.tparrows.custom-fa {
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.arijit {
    margin-bottom: 20px;
}
.gourab{
    margin-top: 20px;
    margin-bottom: 20px;
}
/*.sen{*/
/*    height: 241px;*/
/*}*/

.ghosh{
    height: 270px;
}
@media (max-width: 768px) {
   .ghosh{
        height: auto;
    }
}

.marquee-wrapper {
    display: flex;
    align-items: center;
    background: #383697;
    padding: 10px;
    overflow: hidden;
    position: relative;
  }

  .new-badge {
    background:linear-gradient(90deg, #ff0055, #ffcc00, #ff0055);
    color: white;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
    margin-right: 15px;
    animation: blink 1s step-start infinite;
    flex-shrink: 0;
  }

  @keyframes blink {
    50% {
      opacity: 0;
    }
  }

  .marquee-container {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
  }

  .marquee-text {
    display: inline-block;
    white-space: nowrap;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    animation: scroll-left 30s linear infinite;
  }

  .marquee-container:hover .marquee-text {
    animation-play-state: paused;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  .img-box {
    width: 100%;
    height: 250px;  
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

  .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    display: block;
  }
  @media (max-width: 768px) {
  .img-box {
    height: 180px;
  }
}

.dr {
width: 180px !important;
height: 180px !important;
border: 2px solid #000 !important;
border-radius: 50% !important;
object-fit: cover !important;
background-color: #fff !important;
box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}
.drsection{
    display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 20px; margin-top: 30px;
}
.h2section{
    color: #373696; text-align: center; font-weight: bold; margin-top: 20px;
}
.ptext{
    font-size: 16px; font-weight: bold; margin: 0;
}
.psection{
    flex: 1; min-width: 0;
}
.h2text{
    color: #a50c0f; text-align: center; font-weight: bold;
}
.ptext2{
    font-size: 16px;margin: 5px 0 0 0;
}
.spantext{
    float: right; font-weight: bold;
}
.spansection{
    margin-top: 20px;
}
.spantext2{
    background-color: #a50c0f; color: white; padding: 6px 12px; font-weight: bold; border-radius: 4px;
}
.overlay-layer {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    pointer-events:none;
}
