body {
    overflow-x: hidden;
}

.text-primary {
    background: linear-gradient(135deg, #7984f9, #7becd9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-primary {
    background: linear-gradient(135deg, #7984f9, #7becd9);
    color: #fff !important;
}



.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

/* button shape */
.custom-pill {
    background: linear-gradient(135deg, #7984f9, #7becd9);
    color: white;
    padding: 10px 20px 10px 15px;
    border-radius: 50px 50px 50px 0px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.learn-more-btn {
    color: #000;
    background-color: #fff;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    text-decoration: none;
}

/* Custom carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: linear-gradient(135deg, #7984f9, #7becd9);
}

/* nav card */
.navcard {
    position: absolute;
    right: 30px;
    bottom: -30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    z-index: 10;
}

.customCard:hover {
    background: linear-gradient(135deg, #7984f9, #7becd9);
    color: #000;
}

.customCard {
    background-color: #fff;
    padding: 10px 20px 10px 15px;
    border-radius: 50px 50px 50px 0px;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 2px 5px rgb(19, 18, 18);
}

.customCard h5 {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.icon-circle {
    width: 60px;
    height: 60px;
    color: #fff !important;
    background-color: rgba(var(--bs-primary-rgb), 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    background: linear-gradient(135deg, #7984f9, #7becd9);
    color: #fff;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px 50px 50px 0px;
    font-size: 28px;
    margin: 0 auto;
}

/* services */
.service-card {
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.section-heading {
    font-weight: 700;
    font-size: 2.2rem;
}

.card:hover {
    scale: 105%;
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .navcard {
        margin-left: 50px;
        position: relative;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
}