/* Custom CSS for Home About Section */

.text-primary {
    color: var(--primary-blue) !important;
}

.text-dark-blue {
    color: var(--dark-blue) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Service Cards */
.home-whychoose-sec {
    padding: 100px 0 0px 0;
}

.home-whychoose-sec h2 {
    color: var(--rbheading) !important;
}

.whychoose-card {
    border: 2px solid#eef4fc !important;
    box-shadow: var(--card-shadow) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.whychoose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid var(--primary-blue) !important;
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--rblight);
    /* very light blue background for icon */
}

.service-icon svg {
    stroke: var(--rbsubheading);
}

.whychoose-card h5 {
    transition: all 0.3s ease-in-out;
}

.whychoose-card:hover h5 {
    color: var(--primary-blue) !important;
    transition: all 0.3s ease-in-out;
}

/* Info Banner */
.info-banner {
    background-color: var(--primary-blue);
    background-image: url('../images/wave.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 1.5rem;
}

/* About Section */
.home-about-sec {
    padding: 80px 0 100px 0;
}

.home-about-sec h2 {
    color: var(--rbheading) !important;
}

.about-card {
    border: 2px solid#eef4fc !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease-in-out;
}

.about-card:hover {
    border: 2px solid var(--primary-blue) !important;
    transition: all 0.3s ease-in-out;
}

.about-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-dot-pattern {
    top: -50px;
    left: 0;
    z-index: 0;
    max-width: 250px;
    opacity: 0.8;
}

/* Responsive adjustments for dot pattern */
@media (min-width: 992px) {
    .about-dot-pattern {
        left: -30px;
    }
}

.about-image-wrapper {
    padding-bottom: 15px;
    padding-right: 15px;
}

.about-blue-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: var(--primary-blue);
    z-index: -1;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.home-whychoose-sec h2 {
    letter-spacing: -0.5px;
}

.home-about-sec h2 {
    letter-spacing: -0.5px;
}


@media (max-width: 991px) {
    .home-whychoose-sec {
        padding: 80px 0 0px 0;
    }

    .home-about-sec {
        padding: 70px 0 40px 0;
    }

    .home-about-sec h2 br {
        display: none;
    }
}

@media (max-width: 767px) {
    .about-image-wrapper{
        margin-bottom: 40px;
    }

}
@media (max-width: 576px) {
    .home-whychoose-sec {
        padding: 50px 0 0px 0;
    }

    .home-about-sec {
        padding: 50px 0 10px 0;
    }
}