/* navbar  */

.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    padding: 0px;
}

.nav-link {
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
    padding: 5px 10px;
    margin: 0px 2px;
    text-align: center;
}

.nav-link:hover {
    color: #ffffff;
    background-color: #0f467a;
    padding: 5px 10px;
    margin: 0px 2px;
    text-align: center;
    border-radius: 5px;
}

.btn-primary {
    background-color: #ffcf01 !important;
    border-color: #ffcf01 !important;
    transition: background-color 0.3s ease;
    color: black !important;
}

.btn-primary:hover {
}

/* breadcrumbd  */
.breadcrumb-container {
    padding: 20px 0;
    color: #fff; /* Text color for better visibility */
    height: 300px; /* Set a fixed height for the breadcrumb section */
    width: 100%; /* Ensures the breadcrumb section spans the full width */
    display: flex; /* Flexbox for centering the content */
    justify-content: center; /* Horizontally center the content */
    align-items: center; /* Vertically center the content */
    position: relative; /* Required for positioning the overlay */
    background-size: cover; /* Ensure the background image covers the entire section */
    background-position: center; /* Center the background image */
}

/* .breadcrumb-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1; 
}

.breadcrumb-container .breadcrumb {
    position: relative; 
    z-index: 2; 
} */


  .breadcrumb {
    background-color: transparent; 
  }

  .breadcrumb-item a {
    text-decoration: none;
    color: #fff; 
    font-weight: 500;
  }

  .breadcrumb-item a:hover {
    text-decoration: underline;
  }

  .breadcrumb-item.active {
    color: #e02025; 
  }

/* banner  */
.slider-image {
    height: 525px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

/* Show desktop image on larger screens */
.desktop-img {
    display: block;
}

.mobile-img {
    display: none;
}
@media (min-width: 1440px) {
    .slider-img:{
        height: 600px !important;
        width: auto;
    }
}

/* Show mobile image on smaller screens */
@media (max-width: 768px) {
    .desktop-img {
        display: none;
        
    }
.breadcrumb-container{
        height: 200px;
}
    .mobile-img {
        display: block;
        height:400px;
    }
}

/* Flex container */
.flex-container {
    display: flex;
}

/* Flex item for 75% part */
.flex-item.large {
    flex: 1;  /* This will take the remaining space (75%) */
}

/* Flex item for 25% part */
.flex-item.small {
    flex: 0 0 25%;  /* This part will be fixed at 25% width */
}

/* Optional: Add some styling for better visuals */
.flex-section {
    margin: 0 10px;
}

.flex-item p {
    /* font-size: 16px;
    line-height: 1.5; */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .flex-item.large {
        flex: 0 0 100%;  /* On mobile, the large item takes 100% of the width */
    }
    
    .flex-item.small {
        display: block; 
    }
    
    .flex-section {
        margin: 0;  /* Remove margins for better mobile layout */
    }
}

@media (max-width: 767px) {
    .flex-container {
        display: block;
    }
    .flex-item.large, .flex-item.small {
        width: 100%;
        margin-bottom: 20px;
    }
    .img-fluid {
        width: 100%;
        height: auto;
    }
}

/* section  */
.section-title h2 {
    font-size: 25px;
    color: #0f467a;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 2px;
    background-color: #0f467a;
}
.section-title p {
    font-size: 15px;
    width: 100%; 
    max-width: 600px; 
    margin: 5px auto; 
    text-align: center; 
}
.section-title-left h2 {
    font-size: 20px;
    color: #0f467a;
    position: relative;
    /* padding-bottom: 10px; */
    text-align: left; /* Align the title to the left */
}

.section-title-left h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; /* Align the line to the left */
    transform: translateX(0); /* Remove centering for the line */
    width: 70px;
    height: 2px;
    background-color: #0f467a;
}

.section-title-left p {
    font-size: 15px;
    width: 100%; 
    max-width: 600px; 
    margin: 5px auto; 
    text-align: left; /* Align the paragraph text to the left */
}



/* about  */
p {
    font-size: 15px;
}

/* Service Card Styling */
.service {
    background-color: #f8f9fa;
}
.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;

}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 20px;
    text-align: center;
}

.service-content h5 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.service-content .btn-primary {
    border: none;
    color: #fff;
    padding: 6px 20px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}


/* Why Choose Us Section */
.why-choose-us h4 {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}


.why-choose-icon-wrapper {
    width: 40%;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.why-choose-icon-img {
    width: 70%;
    height: 70%;
    /* height: auto; */
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 20px;
    margin: 10px;
    box-shadow: 2px 1px 10px 1px rgba(0, 0, 0, .2);
    border-radius: 50%;
}


/* gallery result  */

#gallery-result .carousel-inner {
    height: 100%;
}

#gallery-result .carousel-item img {
    object-fit: cover;
    /* height: 400px;  */
}
.list-unstyled li{
    margin: 13px 10px;
    line-height: 26px;
}
.list-unstyled .icon{
    color: rgb(255 207 1) !important
}

/* faq */
.accordion h6{
    font-size: 15px;
} 


/* hair treatment service */

#hair-treatment-services {
    background-color: #f7f9fc;
}

.title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 70, 122, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transform: translateY(0);
    /* transition: transform 0.4s ease; */
}

.title-box p {
    font-size: 14px;
    margin: 10px 0 0 0;
    opacity: 0;
    transform: translateY(30px);
    /* transition: opacity 0.1s ease, transform 0.1s ease; */
}

.image-wrapper:hover .title-box h4 {
    opacity: 1;
}

.image-wrapper:hover .title-box p {
    opacity: 1;
    transform: translateY(0);
}
.icon-img {
    width: 50px; /* Adjust the size as needed */
    height: 50px;
    object-fit: contain;
}

#hair-treatment-services .card {
    position: relative;
    border: none;
    background: transparent;
    text-align: center;
    overflow: hidden;
    transition: height 0.4s ease; /* Smooth height transition */
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.icon-wrapper:hover .icon-img {
    filter: brightness(0) saturate(100%) invert(1) sepia(0%) saturate(1) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 70, 122, 0.9);
    color: #fff;
    text-align: center;
    padding: 10px;
    z-index: 2;
    transition: all 0.4s ease; /* For smooth title box animation */
}

.title-box h4 {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    color: #fff;

}

.title-box p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
    opacity: 0; 
    height: 0;
    visibility: hidden; 
}

/* Hover effect */

.image-wrapper:hover .title-box p {
    opacity: 1; 
    height: auto; 
    visibility: visible; 
}

.image-wrapper:hover .card {
    height: auto; 
}

#hair-treatment-types {
    background-color: #f7f9fc;
    padding-top: 50px;
    padding-bottom: 50px;
}

.icon-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 1 18%; /* 5 icons per row */
    box-sizing: border-box;
}

.icon-wrapper {
    text-align: center;
    padding: 20px;
    background-color: white;
    border: 2px solid #0f467a; /* Blue border */
    border-radius: 50%; /* Circular icon container */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-wrapper i {
    color: #0f467a; /* Default icon color blue */
    transition: color 0.3s ease;
}

.icon-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: #0f467a; /* Change background to blue on hover */
}

.icon-wrapper:hover i {
    color: white; /* Change icon color to white on hover */
}

.icon-item h5 {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    padding: 5px 10px;
}


@media (max-width: 991px) {
    .icon-item {
        flex: 1 1 20%; /* Adjust for medium screens */
    }
}

@media (max-width: 767px) {
    .icon-item {
        flex: 1 1 30%; /* Adjust for small screens */
    }
}

@media (max-width: 575px) {
    .icon-item {
        flex: 1 1 45%; /* Adjust for very small screens (e.g., mobile) */
    }
}

.icon-wrapper:hover + h5 {
    background-color: #0f467a; /* Background matches the icon */
    color: #fffbff; /* Change text color on hover */
    padding: 5px 10px; /* Add padding to the title */
    border-radius: 6px; /* Rounded corners */
    font-size: 16px; /* Font size on hover */
}


/* Why Global Hair Treatment Section */
.why-global-hair-treatment {
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: white;
}

/* .why-global-hair-treatment .section-title h2 {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
} */

/* .why-global-hair-treatment .section-title p {
    font-size: 18px;
    color: #fff;
    line-height: 1.5;
} */

.countdown-item {
    background:rgb(255 207 1);
    padding: 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.countdown-item h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.progress-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 15px;
}

.progress {
    height: 100%;
    background-color: #0f467a;
    border-radius: 5px;
}

.countdown-item span {
    font-size: 24px;
    font-weight: bold;
}

/* scroll btn  */
.scroll-btn {
    position: fixed;
    right: 20px;
    bottom: 20px; /* Adjust as per your design */
    z-index: 1000;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

/* New class for the image size */
.custom-img-size {
    width: 100%; /* Makes the image responsive and take full width of the container */
    max-width: 450px; /* Max width for the image */
    height: auto; /* Keeps the aspect ratio intact */
    object-fit: cover; /* Ensures the image covers the area without distorting */
}

.appoinment-form {
    flex: 0 0 25%; /* Fixed 25% width */
    background-color: #f8f9fa;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.appoinment-form h3{
    font-size:22px;
}
.des-7{
    font-size: 17px;
    color: #0f467a;
}
.des-8{
    background-color: #1f5283;
    padding: 15px 17px;
    border-radius: 40px;
    color: white;
    font-size: 16px;
}
.breadcrumb-container.hair-growth {
  background-image: url('../img/breadcrumb/growth-banner.jpg');
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .breadcrumb-container.hair-growth {
    background-image: url('../img/breadcrumb/growth-mobile.jpg');
  }
}

.breadcrumb-container.hair-loss {
    background-image: url('../img/breadcrumb/loss-banner.jpg');
    background-size: cover;
    background-position: center;
  }
  
  @media (max-width: 768px) {
    .breadcrumb-container.hair-loss {
      background-image: url('../img/breadcrumb/loss-mobile.jpg');
    }
  }
  
  .breadcrumb-container.hair-dandruff {
    background-image: url('../img/breadcrumb/dandruff-banner.jpg');
    background-size: cover;
    background-position: center;
  }
  
  @media (max-width: 768px) {
    .breadcrumb-container.hair-dandruff {
      background-image: url('../img/breadcrumb/dandruff-mobile.jpg');
    }
  }

  .breadcrumb-container.hair-transplant {
    background-image: url('../img/breadcrumb/transplant-banner.jpg');
    background-size: cover;
    background-position: center;
  }
  
  @media (max-width: 768px) {
    .breadcrumb-container.hair-transplant {
      background-image: url('../img/breadcrumb/transplant-mobile.jpg');
    }
  }

/*--------------------------
#thank you page
------------------------------------*/
.thank-you-wrapper {
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgb(0 0 0 / 60%), rgb(0 0 0 / 67%)), url(../img/thank_you.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.thank-you-content {
   background-color: white;
    padding: 2rem;
    border-radius: 5px 30px;
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
    box-shadow: rgb(132 132 132 / 31%) 0px 48px 100px 0px;
}

.thank-you-content h6 {
    color: white;
    font-size: 14px;
    color: #3261b3;
}

.thank-you-content p {
    color: black;
}

