.service-dropdown-container {
    font-family: 'Lora', serif;
    /* or set none if you want full width */
    width: 100%;
    /* full width of parent */
    margin: 1em 0;
    /* vertical margin only, no auto centering */
    position: relative;
}

.service-dropdown-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    border: 1px solid #B0A5D8; /* Updated border color */
    border-radius: 7px; /* Updated border-radius */
    background-color: #B0A5D8;
    color: white;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.service-dropdown-button:hover,
.service-dropdown-button:focus {
    background-color: #6E60A3;
    color: white;
    outline: none;
}

.arrow {
    font-size: 0.8rem;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.service-dropdown-button[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

.service-dropdown-list {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
    padding: 0;
    list-style: none;
    border: 1px solid #6E60A3; /* Updated border color */
    border-radius: 7px; /* Added border-radius to dropdown */
    background: white;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-dropdown-list li a {
    display: block;
    padding: 12px 20px;
    color: #6E60A3;
    text-decoration: none;
    border-bottom: 1px solid #A69E96; /* Updated border color */
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.service-dropdown-list li:last-child a {
    border-bottom: none;
}

.service-dropdown-list li a:hover,
.service-dropdown-list li a:focus {
    background-color: #6E60A3;
    color: white;
    border-color: #6E60A3; /* Hover border color */
    outline: none;
}

/* Responsive mobile tweaks */
@media (max-width: 600px) {
    .service-dropdown-container {
       max-width: 100% !important;
       margin: 0px !important;
       padding: 0px !important;
    }
}
