/* ===================================
   Single Service Page Styles
   =================================== */

.service-single-page {
    margin: 0;
    padding: 0;
}

/* Hero */
.service-single-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #b8861f);
}

.service-single-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.service-single-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-single-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(184, 134, 31, 0.85) 0%, rgba(26, 26, 26, 0.85) 100%);
}

.service-single-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 40px 0;
}

/* Breadcrumb */
.service-single-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    overflow-wrap: break-word;
    word-break: normal;
}

.service-single-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-single-breadcrumb a:hover {
    color: white;
}

.service-single-breadcrumb span {
    color: white;
    font-weight: 600;
}

.service-single-breadcrumb i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.service-single-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.3px;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Content Area */
.service-single-content {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

.service-single-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
}

/* Main Content */
.service-single-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
    max-width: 100%;
}

.service-single-body {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-light);
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}

.service-single-body * {
    word-break: normal;
    overflow-wrap: break-word;
}

.service-single-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 15px;
    overflow-wrap: break-word;
    word-break: normal;
}

.service-single-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 25px 0 12px;
    overflow-wrap: break-word;
    word-break: normal;
}

.service-single-body p {
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-word;
}

.service-single-body li {
    text-align: justify;
    text-justify: inter-word;
}

.service-single-body ul,
.service-single-body ol {
    margin: 20px 0;
    padding-left: 25px;
}

.service-single-body li {
    margin-bottom: 10px;
}

.service-single-body img,
.service-single-body iframe,
.service-single-body video {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 20px 0;
}

.service-single-body table {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    overflow-x: auto;
}

/* CTA */
.service-single-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c29020 100%);
    border-radius: 16px;
    padding: 35px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.service-single-cta-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.service-single-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

.service-single-cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.service-single-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-single-cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.service-single-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.service-single-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Sidebar */
.service-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 100px;
}

.service-info-box,
.service-related-box {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(208, 157, 40, 0.1);
}

.service-info-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(208, 157, 40, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-info-box-title i {
    color: var(--primary-color);
}

.service-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-info-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.service-info-list li i {
    color: var(--primary-color);
    width: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.service-info-list li div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.service-info-list li strong {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 700;
}

.service-info-list li span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-info-list li a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Related Services */
.service-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-related-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.service-related-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-related-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-related-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-related-title:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-single-wrapper {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .service-single-hero {
        min-height: 250px;
    }

    .service-single-hero-content {
        padding: 25px 0;
    }

    .service-single-breadcrumb {
        font-size: 0.8rem;
        gap: 5px;
    }

    .service-single-title {
        font-size: 1.6rem;
    }

    .service-single-content {
        padding: 30px 0 50px;
    }

    .service-single-wrapper {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .service-single-main {
        gap: 25px;
    }

    .service-single-sidebar {
        position: static;
    }

    .service-single-body {
        padding: 22px 18px;
        font-size: 0.95rem;
    }

    .service-single-cta {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
    }

    .service-single-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .service-single-cta .btn-primary,
    .service-single-cta .btn-secondary {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-single-title {
        font-size: 1.35rem;
    }

    .service-single-body {
        padding: 16px 14px;
        font-size: 0.9rem;
    }

    .service-info-box,
    .service-related-box {
        padding: 18px 15px;
    }
}