﻿.header-center {
    display: flex;
    align-items: center; /* Vertically align image and text */
    gap: 10px; /* Adds space between the image and text */
}

.header-center img {
display: inline-block; /* Ensures proper alignment */
}

.header-center .text-container {
        display: flex;
        flex-direction: column; /* Stacks "Pico Rivera" and "Family Dentistry" vertically */
        justify-content: center; /* Aligns text with the image */
}

.text-green {
    color: #167042 !important;
}

.text-red {
    color: red !important;
}
/*-----------------------------------*/
.banner .bg-primary,
.banner .bg-secondary {
    border-radius: 24px;
}
.price-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.testimonial-carousel {
    border-radius: 36px !important;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.15);
    border: 1px solid rgba(255,255,255,.15);
}
.testimonial-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,.25);
}


    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 45px rgba(0,0,0,.12);
    }

    .service-item img {
        border-top-left-radius: 22px;
        border-top-right-radius: 22px;
    }
    .service-item .bg-light {
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
        border-top: 1px solid rgba(0,0,0,.05);
        padding: 18px;
        font-weight: 600;
    }
#safety .position-relative.bg-light {
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.05);
}
#safety .d-flex.justify-content-between {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,.08);
}

#safety .d-flex.justify-content-between:last-child {
    border-bottom: none;
}

.section-title,
.team-item {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: all .3s ease;
}

    .team-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 50px rgba(0,0,0,.12);
    }

    .team-item img {
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
    }
    .team-item .position-absolute.bg-light {
        border-radius: 50px;
        padding: 8px 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,.12);
    }
.team-text {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    /* ADD THIS */
    display: none;
    justify-content: center;
    align-items: center;
}

.custom-modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    background: white;
    padding: 10px;
    border-radius: 12px;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

