/* Service Detail Section Styles */
.service-detail-section {
    padding: 60px 0;
    font-family: var(--primary-body-font);
}

.service-content {
    padding-right: 30px;
}

.service-content h1 {
    color: var(--primary-colour);
    margin-bottom: 30px;
    font-size: 2.2em;
    font-family: var(--primary-heading-font);
}

.intro-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Enhanced Sidebar Styles */
.services-sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 100px;
}

.services-sidebar h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--secondary-colour);
    font-size: 1.3em;
    font-family: var(--primary-heading-font);
}

.service-category {
    margin-bottom: 10px;
}

/* Updated Service Category Toggle Styles */
.service-category-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none !important;
}

.service-category-toggle span a {
    color: var(--primary-colour) !important;
    text-decoration: none !important;
    font-weight: inherit;
}

.service-category-toggle:hover {
    color: white;
}

.service-category-toggle:hover span a {
    color: inherit !important;
}

.service-category-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.9em;
    color: #333;
}

.service-category-toggle.active i {
    transform: rotate(180deg);
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.service-list.active {
    display: block;
}

.service-list li {
    margin-bottom: 8px;
    list-style: none;
}

.service-list a {
    color: inherit;
    text-decoration: none;
    padding: 5px 0 5px 15px;
    position: relative;
    transition: color 0.3s;
    font-size: 0.95em;
    display: block;
    line-height: 1.5;
    border-left: 2px solid transparent;
}

.service-list a:hover {
    color: var(--secondary-colour);
}

/* Contact Sidebar Styles */
.contact-sidebar {
    margin-top: 30px;
    text-align: center;
}

.contact-card {
    background: var(--primary-colour);
    color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-card h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    font-family: var(--primary-heading-font);
}

.contact-card p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95em;
}

.contact-btn {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    font-size: 0.95em;
}

.contact-btn:hover {
    background: transparent;
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .services-sidebar {
        position: static;
        margin-top: 50px;
    }
    
    .service-detail-section {
        padding: 50px 0;
    }
    
    .service-content {
        padding-right: 0;
    }
}