/* General Styles */
body {
    font-family: Arial, sans-serif;
}
.navbar-custom {
    background-color: #0047ab; /* Modern blue */
    padding: 10px 0;
    border-radius: 8px;
}

.navbar-brand {
    font-size: 20px;
}

.nav-link {
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}
.active{
    font-weight: bold;
}

.nav-link:hover {
    color: #f8d210 !important; /* Gold hover effect */
    font-weight: bold;
}

.dropdown-menu {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #0047ab;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f8d210;
    color: #000;
}


.carousel-content {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.carousel-item {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 50px 0;
}

/* Styling PNG images */
.png-img {
    max-height: 100%; /* Adjust height */
    width: auto;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.2)); /* Soft shadow for better visibility */
}

/* Button */
.btnn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #5895e8;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

.btnn:hover {
    background-color: #ffffff;
    color: #5895e8
}

/* Services Section */
.services {
    background-color: #f8f9fa;
    padding: 0;
    
    animation: fadeInUp 1.5s ease-in-out;
}

.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

/* About Us Section */
#about {
    padding: 60px 0;
    background: linear-gradient(to right, #f9ecec, #e0d3f5);
    animation: fadeIn 1.5s ease-in-out;
}
.about-img {
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-in-out;
}
#about img {
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-in-out;
}
.about-card{
    border-radius: 10px;
    background-color: #ffffff;
    /* width: 100%; */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.5s ease-in-out;
    padding: 30px 10px;
    margin: 10px;
}
/* BreadCrumb */
/* Breadcrumb Container with Background Image */
.breadcrumb-container {
    position: relative;
    height: 250px; /* Adjust height as needed */
    /* display: flex; */
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.about-page {
    background-image: url('images/about-banner.jpeg');
}
.contact-page {
    background-image: url('images/contact-banner.jpeg');
}
.service-page {
    background-image: url('images/caregiver2-banner.jpeg');
}
.adult-service-page {
    background-image: url('images/adult-banner.jpeg');
}
.team-page {
    background-image: url('images/team-banner.jpeg');
}
/* Overlay */
.breadcrumb-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(2, 16, 25, 0.2); /* Dark overlay */
}
.breadcrumb-nav, .hero-title {
    position: relative;
    z-index: 2; /* Ensures text is above the overlay */
}

/* Breadcrumb Content */
.breadcrumb-content {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: inline-block;
    background: rgba(12, 106, 189, 0.9); /* Light transparent background */
    padding: 8px 15px;
    margin-top: 30px;
    border-radius: 20px;
    font-size: 16px;
}

.breadcrumb-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.breadcrumb-divider {
    margin: 0 8px;
    font-weight: bold;
    color: white;
}

.breadcrumb-active {
    color: white;
    font-weight: bold;
}

/* Home Icon */
.breadcrumb-nav i {
    margin-right: 5px;
}

/* Hero Title */
.hero-title {
    margin-top: 10px;
    font-size: 32px;
    font-weight: bold;
}
.department-icon {
    width: 100px;
    height: 100px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background-color: #f8f9fa;
}
.department-icon:hover{
    background-color: #007bff;
}

.department-icon i {
    color: #007bff;
}
.department-icon i:hover{
    color:#f8f9fa;
}
.hero-section {
    position: relative;
    background: url('images/caregiver-banner.jpg') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.container {
    position: relative;
    z-index: 1;
}

h2 {
    font-size: 24px;
}

.btn-primary {
    background-color: #4c52d7;
    border: none;
    padding: 10px 20px;
}
.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.large-circle {
    width: 280px;
    height: 280px;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circle */
}
.circle-item{
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.service-icon{
    width: 100px;
    height: 100px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background-color: #f8f9fa;
}
.service-icon i{
    color: #4ca2f9;
}
.service-icon i:hover{
    color:#f8f9fa
}
.service-icon:hover{
    background-color: #4ca2f9;
}
.carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.carousel-track img {
  width: 200px; /* Adjust to your image size */
  height: auto;
  flex-shrink: 0;
  margin-right: 10px; /* Optional spacing */
}

/* Pause on hover */
.carousel:hover .carousel-track {
  animation-play-state: paused;
}

/* Scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Contact Section */
#contact {
    background-color: #fff;
    padding: 60px 0;
    animation: fadeInUp 1.5s ease-in-out;
}
@media (max-width: 768px) {
    .custom-btn {
      width: 100%;
      font-size: 16px; /* Make text larger if needed */
      padding: 12px 20px;
    }
  }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes blurIn {
    from {
        backdrop-filter: blur(0px);
    }
    to {
        backdrop-filter: blur(5px);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
