.payment-icons,
.social-icons-s2 {
    display: flex;
    list-style: none;
    gap: 1.3rem;
    flex-direction: row;
}

.payment-icons li i,
.social-icons-s2 li i {
    font-size: 1.7rem;
    cursor: pointer;
    color: #fff;
}

.listing-btns > a > button {
    margin-top: 0.2rem;
    border-radius: 0.4rem;
    background-color: #18afd3;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease-in-out;

    &:hover {
        color: #18afd3;
        background-color: white;
        border: 1px solid #18afd3;
    }
}

.nested-section {
    background-color: #e0e0e0;
}

.read-more {
    color: #00a9d1;
    font-weight: 400;
}

.read-more:hover {
    color: #0084a1;
}

.service-card {
    background-color: #fff;
    border: 2px solid rgb(241, 251, 255) !important;
}

.service-card i {
    background-color: rgb(199, 239, 255);
    border-radius: 50%;
    padding: 13px;
}

.service-card span {
    font-weight: 500;
}

.contact-section ul li a,
.contact-section ul li i {
    color: rgb(1, 58, 99);
}

.contact-section ul li a {
    /* border: 1px solid lightblue; */
    padding: 0.6rem 1.1rem;
    display: block;
    border-radius: 10px;
    margin-top: 3px;
    background-color: rgb(229, 248, 255);
    font-weight: 500;
}

.contact-section ul li:hover a {
    transform: translateY(-2px);
    box-shadow: 0 8px 10px rgb(66, 132, 179);
    background: #d6eefc;
}

.specialty-card {
    /* background: #e8f4fa; */
    /* light pastel blue background */
    background: #fff;
    border: 1px solid #d0e7f5;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: #01497ce6;
    /* bootstrap primary */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.company-logo {
    object-fit: cover;
    border: 4px solid #eaf6fb;
    /* soft pastel border */
    max-height: 120px;
}

.btn {
    border-radius: 20px !important;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.get-direction-btn {
    background: linear-gradient(rgb(1, 58, 99), rgba(1, 73, 124, 1));
    color: #fff;
    border-radius: 15px;
    border: none;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    transition:
        background 0.4s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.get-direction-btn:hover {
    background: linear-gradient(rgba(1, 73, 124, 0.9), rgba(1, 79, 134, 0.9));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(1, 42, 74, 0.4);
    color: white;
}

.card-section {
    height: 100%;
    width: 100%;
    border: 2px solid rgb(241, 251, 255);
    background-color: #fff;
    border-radius: 8px;
}

.about-section {
    /* height: 360px; */
    border: 2px solid rgb(241, 251, 255);
    background-color: #fff;
}

.company-address {
    font-weight: 500;
    color: #505050;
    font-size: 20px;
}

.action-buttons {
    width: 100%;
    justify-content: center;
}

@media (max-width: 988px) {
    .contact-section {
        margin-bottom: 10px;
    }

    .social-icons-s2 {
        display: flex;
        flex-direction: row;
        gap: 2.4rem;
    }

    .social-card {
        height: 80px;
    }
}

@media (max-width: 390px) {
    .social-icons-s2 {
        display: flex;
        flex-direction: row;
        gap: 2.1rem;
    }
}

.social-title {
    font-weight: bold;
    font-size: 1.5rem;
    color: #2e7d32;
    /* health green */
}

/* Social icon list */
.social-icons-s2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons-s2 li {
    display: inline-block;
}

.social-icons-s2 a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #fff !important;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* Hover effects */
.social-icons-s2 a:hover {
    transform: scale(1.1);
    opacity: 0.85;
    color: white;
}

/* Brand Colors */
.social-icons-s2 a.facebook {
    background: #3b5998;
}

.social-icons-s2 a.linkedin {
    background: #0077b5;
}

.social-icons-s2 a.instagram {
    background: #e4405f;
}

.social-icons-s2 a.truth {
    background: #5a3e85;
}

.social-icons-s2 a.twitter {
    background: #1da1f2;
}

.social-icons-s2 a.reddit {
    background: #ff4500;
}

/* photo gallery */

.photo-gallery a {
    display: inline-block;
    width: 250px;
    height: 170px;
    overflow: hidden;
    /* Prevents overflow */
    border-radius: 4px;
    padding: 0 2px;
}

.photo-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keeps images proportional and fills container */
    border-radius: 4px;
    display: block;
}

/* categories and suncategories, apply scrollbar */

.scrollable-content {
    height: 400px;
    /* Fixed height */
    overflow-y: auto;
    /* Enables vertical scrolling */
    overflow-x: hidden;
    /* Hides horizontal scroll */
    padding-right: 10px;
    /* Avoids scrollbar overlap */
    scrollbar-width: thin;
    /* For Firefox */
}

/* Optional: Nice-looking scrollbar (for Chrome, Edge, Safari) */
.scrollable-content::-webkit-scrollbar {
    width: 8px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: transparent;
}

.slick-track {
    margin: 0;
    /* removes auto centering */
}

.review-section-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.sub-headline {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 28px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    color: rgba(45, 46, 47, 1);
}

.blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    /* max-height: 2.8em; */
    word-break: break-word;
    /* Prevent long words from overflowing */
    font-size: 1.12rem;
}

.text-truncate-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 988px) {
    .social-icons-s2 {
        gap: 1rem;
    }

    .social-icons-s2 a {
        width: 37px;
        height: 37px;
    }

    .social-icons-s2 li i {
        font-size: 1.3rem;
    }

    .review-section-top {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .company-address {
        font-size: 16px;
    }
}
