/* Left bar */

.phone-banner {
    background-color: var(--primary-color);
    color: var(--third-color);
    text-align: center;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
}
.info-card {
    background-color: #333;
    color: white;
    padding: 20px;
    border-radius: 5px;
    font-size: 14px;
}
.info-card h5 {
    font-weight: bold;
    margin-bottom: 15px;
}
.info-card i {
    color: var(--primary-color);
    margin-right: 8px;
}
.info-card p {
    margin: 5px 0;
}


/* Side Bar */

.service-list {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}
.service-item {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    position: relative;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}
.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: #ccc;
    transition: background-color 0.3s ease;
}
.service-item a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 15px;
    transition: color 0.3s ease;
}
.service-item:hover {
    background-color: var(--primary-color);
}
.service-item:hover::before {
    background-color: #272727;
}
.service-item:hover a {
    color: #fff;
}
.service-item:not(:last-child) {
    margin-bottom: 10px;
}
.service-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
}
.service-list .active {
    background-color: var(--primary-color);
    color: var(--third-color);

}

.page-subtitle:after {
    content: '';
    display: inline-block;
    margin-left: 15px;
    background: #fff;
    width: 72px;
    height: 2px;
}


/* Collapse component */
/* Base Styles */
.custom-accordion {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.custom-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
}

.custom-accordion .accordion-button {
    background-color: #ffffff;
    color: #333333;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

.custom-accordion .accordion-button:hover {
    background-color: #f9f9f9;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    background-color: #f1f1f1;
    border: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.custom-accordion .accordion-button::after {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.custom-accordion .accordion-button.collapsed::after {
    transform: rotate(-90deg);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(90deg);
}

.custom-accordion .accordion-body {
    background-color: #f5f5f5;
    color: #555555;
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-accordion .accordion-button {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .custom-accordion .accordion-body {
        padding: 1rem;
    }
}

.custom-accordion .accordion-body {
    max-height: 400px;
    overflow-y: auto;
}

.custom-accordion .accordion-body::-webkit-scrollbar {
    width: 6px;
}

.custom-accordion .accordion-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.custom-accordion .accordion-body::-webkit-scrollbar-track {
    background-color: transparent;
}

.carousel-control-prev,
.carousel-control-next {
    display: none;
}
