/*
 Theme Name:   Kortez Medical Child
 Theme URI:    https://islandcarebd.com/
 Description:  Child theme for Kortez Medical
 Author:       Your Name
 Author URI:   https://islandcarebd.com/
 Template:     kortez-medical
 Text Domain: inland
 Version:      1.0.0
*/

.row {
 
        background: #f9f9f7  !important;
}

.row.bg-light {
  background-color: transparent !important;
} 

.bg-primary-hover:hover {
    color:#fff !important;

background-color: #001b66 !important;

}
.custom-top-bg{background: #001B66  !important;}

.bg-primary {
    background-color: #00ccff4f !important; }
/* =============logo ===============*/
.site-logo .custom-logo {
  max-width: 180px;
  height: 100px;
  margin-bottom: 20px !important;
}

@media (max-width: 991.98px) {
 
  .custom-logo {
    max-width: 120px !important;
    height: 90px;
    
  }
}



#navbar-vertical .navbar-nav {
    max-height: 410px;
    overflow-y: auto;   
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

#navbar-vertical .navbar-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


.text-primary {
    color: #fff !important;
}




   

.navbar-nav.ml-auto.py-0 {
    display: flex !important;

    flex-direction: row !important;
    margin-left: 24px !important;;
    gap: 20px !important;;
}


i.fa.fa-chevron-right .fa-chevron-left {
  display: none !important;
}


/* Fix slide height and image scaling */
.slick-slide-item {
    position: relative;
    height: 410px;  /* consistent height */
}

.slick-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* prevents stretching */
}

/* Center caption text */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.carousel-caption .caption-content h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
}

.carousel-caption .caption-content h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-caption .caption-content h3 {
        font-size: 1.8rem;
    }
    .carousel-caption .caption-content h4 {
        font-size: 1rem;
    }
}


.category-slider .cat-item {
      background: #00ccff4f  !important;
  margin: 10px;
  border-radius: 10px;
}


/* Make slides appear in row */
/* Add this to your stylesheet to force a horizontal display */
.category-slider  .slick-track {
    display: flex !important; /* Forces a horizontal row */
    flex-direction: row !important; /* Ensures it's a row, not a column */
}

/* Space between slides */
.category-slider .slick-slide {
  padding: 0 10px;
}
.category-slider .slick-list {
  margin: 0 -10px;
}

/* Fix arrows & dots */
.slick-prev,
.slick-next {
  background: #00ccff4f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  z-index: 1000;
}
.slick-prev:before,
.slick-next:before {
  color:  #001b66 ;
  font-size: 20px;
}



.slick-dots li button:before {
    font-family: 'slick';
    font-size: 10px;
    
}

/* ************** venddor*/

/* Styles for the vendor slider track */
.vendor-slider .slick-track {
    display: flex !important;
    flex-direction: row !important;
}

a.d-block.rounded.bg-white.p-2.text-reset.shadow-sm.text-center {
  width: 100px;
  height: 143px;
  display: inline-block; /* keep block-like behavior */
  overflow: hidden;      /* crop content if bigger */
  text-align: center;
}


/* ************** mobile menu*/

/* Fullscreen overlay menu */






/* Default for desktop */
.mobile-menu-header {
    display: none !important;
}

/* For mobile */
@media (max-width: 991px) {
    .mobile-menu-header {
        display: block;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 75;
    left: -100%; /* hidden by default */
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: left 0.3s ease;
    padding: 20px;
}

/* Show menu */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 80%;
  max-width: 320px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1050;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}





.fa-lg {
    margin: 11px;
}



.logo-slider__single__img img {
    height: 40px;
    object-fit: contain;
    border-radius: 5px;
}
img, svg {
    vertical-align: middle;
}
img {
    border-style: none;


}

.logo-slider__single {
    text-align: left;
    flex-flow: row;
    display: flex
;
    -webkit-box-align: center;
    align-items: center;
    border-right: 1px solid rgb(217, 217, 217);
}

.my-negative-margin-top{margin-top: -200px !important;}


.banner-slider__bottom__single h4 {
    font-size: 16px !important;; 
    color:#fff !important;;
}
    
    .custom-row-bg{background: linear-gradient(135deg, #001b66, #003c99, #0066cc) !important;}
    .custom-row-bg1 {background-color: #001b66;}
    

element.style {
}
.pb-4, .py-4 {
    padding-bottom: 1.5rem !important;
}
.pt-4, .py-4 {
    padding-top: 1.5rem !important;
}
.w-100 {
    width: 100% !important;
}
.position-absolute {
    position: absolute !important;
    bottom: -28px;
}





        .infographic-container {
            display: flex;
            justify-content: center;
            align-items: stretch;
            flex-wrap: wrap;
            gap: 30px;
        }

        .infographic-card {
            background-color: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            text-align: center;
            flex: 1 1 300px;
            max-width: 380px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .infographic-card h4 {
            font-weight: 700;
            margin-top: 15px;
            margin-bottom: 10px;
        }

        .infographic-card p {
            font-size: 14px;
            color: #6c757d;
            flex-grow: 1; /* Ensures text content fills the space */
        }

        .icon {
            font-size: 50px;
            margin-bottom: 15px;
        }
        
        .icon-target { color: #f05454; }
        .icon-lightbulb { color: #00bcd4; }
        .icon-balance { color: #ffc107; }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .infographic-card {
                flex: 1 1 100%;
                max-width: 100%;
            }
        }
        
        
        
        
        
        .department-card {
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        }
        .department-card:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        .department-card:hover .department-title {
            color: #2563eb;
        }
        .department-card:hover .department-arrow {
            transform: translateX(4px);
        }
        .department-arrow {
            transition: transform 0.3s ease-in-out;
        }
        
      
        
        
    @media (max-width: 991.98px) {
  .banner-slider__bottom {
    position: static !important;}
    
    .banner-slider__bottom h4,
    .banner-slider__bottom p {
            
        text-align: left !important;   /* ensure headings & paragraphs align left */
    }
}
        
      @media (max-width: 991.98px) {
    .custom-row-bg {
        background-color: #001b66 !important; /* light background on tablet/mobile */
    }  
        
        
        .modern-img-layout {
   /* subtle modern background */
  border-radius: 20px;
  padding: 15px;
}

.modern-img {
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.modern-img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.tall-img {
  max-height: 220px; /* keeps the middle image balanced */
  object-fit: cover;
  width: 100%;
}


.department-card .h-50:hover {
  height: 50%; /* keep height */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* subtle hover shadow */
  transform: translateY(-3px); /* small lift effect */
  transition: all 0.3s ease;}
}