/* Services Section - Enhanced Styling */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.services-section .container {
    position: relative;
    z-index: 2;
    padding: 30px 15px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.services-section .section-header {
    text-align: center;
    margin: 0 auto 50px;
    padding: 30px 15px 50px;
    max-width: 1200px;
    position: relative;
    z-index: 3;
}

.services-section h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    padding: 20px 0 30px;
    position: relative;
    display: block;
    line-height: 1.3;
    text-transform: none;
    background: white;
    border-radius: 10px;
}

.services-section h2 span {
    color: #ff9800;
    position: relative;
    display: inline-block;
    margin-left: 8px;
}

.services-section h2::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff9800, #f57c00);
    border-radius: 2px;
    display: block;
}

/* Services Accordion */
.services-accordion {
    padding: 0 1rem 0 0;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff9800 #f0f0f0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.services-accordion::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.services-accordion::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border-radius: 10px;
}

.services-accordion::-webkit-scrollbar-thumb {
    background: #ff9800;
    border-radius: 10px;
}

.service-item {
    background: #ffffff;
    margin-top: 10px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}

/* Right Column - Image */
.col-lg-6 {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.service-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    background: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    mix-blend-mode: multiply;
}

.service-image.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .services-accordion {
        max-height: 50vh;
        margin-bottom: 30px;
        padding-right: 0;
    }
    
    .service-item {
        padding: 20px 15px;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #ff9800;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.15);
    border-color: #ff9800;
}

.service-item.active {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border-color: #f57c00;
    box-shadow: 0 10px 30px rgba(255, 121, 0, 0.25);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.service-number {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-item.active .service-number {
    background: rgba(255, 255, 255, 0.9);
    color: #ff9800;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    transition: all 0.3s ease;
    flex-grow: 1;
}

.service-item.active .service-title {
    color: white;
    transform: translateX(5px);
}

.service-icon {
    color: #ff9800;
    font-size: 1.4rem;
    font-weight: 300;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.service-item.active .service-icon {
    color: white;
    transform: rotate(45deg);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 47px;
}

.service-item.active .service-content {
    max-height: 200px;
    padding: 15px 0 0 47px;
}

.service-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.service-item.active .service-content p {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    transform: translateY(0);
}

/* Service Images */
.service-image-container {
    position: sticky;
    top: 20px;
    height: 70vh;
    min-height: 500px;
    max-height: 80vh;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 20px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.95);
    padding: 20px;
}

.service-image.active {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .services-section {
        padding: 80px 0;
    }
    
    .service-item {
        padding: 16px 18px;
    }
    
    .service-title {
        font-size: 1.05rem;
    }
    
    .service-image-container {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 1199px) {
    .services-section h2 {
        font-size: 2.5rem;
    }
    
    .services-section .section-header {
        padding: 0 15px 35px;
        margin-bottom: 30px;
    }
}

@media (max-width: 991px) {
    .services-section {
        padding: 60px 0 50px;
    }
    
    .services-section .section-header {
        padding: 0 15px 30px;
        margin-bottom: 30px;
    }
    
    .services-section h2 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .service-image-container {
        height: 50vh;
        min-height: 350px;
        margin: 40px auto 0;
        position: relative;
        top: 0;
        max-width: 90%;
    }
    
    .services-accordion {
        max-height: none;
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 1199px) {
    .services-section h2 {
        font-size: 2.5rem;
        padding: 15px 0 25px;
    }
    
    .services-section .section-header {
        padding: 0 15px 40px;
    }
}

@media (max-width: 991px) {
    .services-section {
        padding: 60px 0 80px;
    }
    
    .services-section h2 {
        font-size: 2.2rem;
        padding: 15px 0 25px;
    }
    
    .services-section .section-header {
        margin-bottom: 30px;
        padding: 0 15px 35px;
    }
}

@media (max-width: 767px) {
    .services-section {
        padding: 50px 0 60px;
    }
    
    .services-section .section-header {
        padding: 0 15px 30px;
        margin-bottom: 20px;
    }
    
    .services-section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        padding: 15px 0 25px;
    }
    
    .services-section h2::after {
        bottom: 10px;
        width: 70px;
        height: 3px;
    }
    
    .services-section h2::after {
        width: 70%;
        left: 15%;
        bottom: 3px;
        height: 12px;
    }
    
    .service-item {
        padding: 14px 16px;
        margin-bottom: 10px;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    .service-image-container {
        height: 45vh;
        min-height: 300px;
        margin: 30px auto 0;
    }
}

/* Removed duplicate rules */

    .service-title {
        font-size: 1rem;
    }

    .service-content {
        padding-left: 44px;
    }


@media (max-width: 576px) {
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .service-number {
        margin-right: 0;
    }

    .service-content {
        padding-left: 0;
    }
}