/* Service Detail Section Styles */
.service-detail-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.02);
}

.service-description h3 {
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.service-description h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.service-content {
    line-height: 1.8;
    color: #495057;
}

.quote-form-card .card {
    border-radius: 15px;
    overflow: hidden;
}

.quote-form-card .card-title {
    color: #2c3e50;
    font-weight: 600;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.additional-info .card {
    border-radius: 15px;
}

.additional-info h5 {
    color: #2c3e50;
    font-weight: 600;
}

.additional-info ul li {
    padding: 5px 0;
    transition: transform 0.2s ease;
}

.additional-info ul li:hover {
    transform: translateX(5px);
}

.related-services-section .service-card .card {
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.related-services-section .service-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-services-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

.section-title {
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

@media (max-width: 768px) {
    .service-image img {
        height: 250px;
    }

    .quote-form-card {
        margin-top: 2rem;
    }
}

/* How We Work Section Styles */
.work-step-card {
    padding-top: 2.5rem !important;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.work-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.step-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #0d6efd;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
    z-index: 2;
}

.work-step-card:hover .step-badge {
    background-color: #0b5ed7;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* FAQ Custom Styles */
.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: #f8f9fa;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: rgba(13, 110, 253, 0.1);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
}

.accordion-item {
    overflow: hidden;
}

/* Modal Styles */
.success-icon-wrapper,
.error-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon-wrapper {
    background-color: #d4edda;
}

.error-icon-wrapper {
    background-color: #f8d7da;
}

.success-checkmark {
    animation: scaleIn 0.3s ease-out;
}

.error-icon {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#quoteSuccessModal .modal-content,
#quoteErrorModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#quoteSuccessModal .modal-body,
#quoteErrorModal .modal-body {
    padding: 3rem 2rem;
}