body {
    font-family: 'Open Sans', sans-serif;
}

.text-pink{
    color: #cb6ce6;
}
.pink-container{
    background-color: #cb6ce6;
}
.blue-container{
    background-color: #163853;
}
.btn-outline-primary {
    color: #163853;
    background-color: transparent;
    border: 1px solid #163853;
    transition: all 0.3s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: #cb6ce6;
    color: white;
    border: 1px solid #cb6ce6;
}

.btn-outline-primary:active,
.btn-outline-primary:focus {
    background-color: #cb6ce6 !important;
    color: white !important;
    border: 1px solid #cb6ce6 !important;
    box-shadow: none; /* Optional: removes the default Bootstrap focus shadow */
}

.navbar-toggler{
    color:white;
}
.text-blue{
    color:#163853;
}
.bg-white{
    background-color: white ;
}
.service-card {
    overflow: hidden;
    color: white;
    background-color: rgba(0, 0, 0, 0.862);
}

.card-img-top {
    transition: transform 0.5s ease-in-out;
}

.service-card:hover .card-img-top {
    transform: scale(1.1);
    
}

/* Background overlay effect */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(22, 55, 83, 0.7), rgba(22, 53, 83, 0.774));
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.service-card:hover .overlay {
    opacity: 1;
}

/* Text and button styling */
.card-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    color: white;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    transition: all 0.5s ease-in-out;
    z-index: 2;
}

.know-more {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    color: white;
}
.know-more:hover{
    color: #cb6ce6;
}
.service-card:hover .card-content {
    bottom: 50%;
    transform: translate(-50%, 50%);
    text-shadow: #cb6ce6;
    color: #cb6ce6;
}

.service-card:hover .know-more {
    opacity: 1;
    transform: translateY(0);
}



.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: auto; /* Prevents cards from getting too wide */
}

.service-card img {
    object-fit: cover;
    width: 100%;
    height: 350px; /* Adjust height dynamically if needed */
}
.full-height {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.custom-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.nav-link {
    position: relative;
    text-decoration: none; /* Remove default underline */
    color: inherit; /* Keep default color */
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px; /* Adjust this to position the line */
    width: 0;
    height: 2px;
    background-color: #cb6ce6;
    transition: width 0.3s ease-in-out;
}

.nav-link:hover {
    color: #cb6ce6;
}

.nav-link:hover::after {
    width: 100%;
}
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.hover-card img {
    transition: transform 0.3s ease;
}

.hover-card:hover img {
    transform: scale(1.05);
}