/* ============================================================
   SERVICE INNER PAGES - MODERN BODY DESIGN
   Applied to all /service/{slug} pages
   ============================================================ */

/* --- PAGE TITLE / HERO BANNER --- */
.service-page .page-title {
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.service-page .page-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11,37,69,0.92) 0%, rgba(6,26,51,0.80) 50%, rgba(232,135,42,0.40) 100%);
    opacity: 1;
}

.service-page .page-title .inner-container {
    position: relative;
    text-align: center;
    z-index: 2;
}

.service-page .page-title h1 {
    float: none;
    font-size: 44px;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: none;
    font-family: 'Inter', 'Raleway', sans-serif;
}

.service-page .page-title .bread-crumb {
    float: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 28px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
}

.service-page .page-title .bread-crumb li {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.service-page .page-title .bread-crumb li a {
    color: #E8872A;
    transition: color 0.3s ease;
}

.service-page .page-title .bread-crumb li a:hover {
    color: #ffffff;
}

/* Decorative accent line under hero */
.service-page .page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E8872A 0%, #0B2545 50%, #E8872A 100%);
    z-index: 2;
}


/* --- SERVICE DETAIL SECTION (BODY) --- */
.service-page .service-detail-section {
    padding: 80px 0 60px;
    background: #F5F7FA;
    position: relative;
}

/* Subtle pattern overlay */
.service-page .service-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(11,37,69,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}


/* --- CONTENT SIDE --- */
.service-page .content-side {
    margin-bottom: 40px;
}

.service-page .service-detail {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(11,37,69,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.service-page .service-detail:hover {
    box-shadow: 0 8px 40px rgba(11,37,69,0.14);
}

/* Service Image */
.service-page .service-detail .image-box {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.service-page .service-detail .image-box figure {
    margin: 0;
    overflow: hidden;
}

.service-page .service-detail .image-box img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.service-page .service-detail:hover .image-box img {
    transform: scale(1.03);
}

/* Gradient overlay on image bottom */
.service-page .service-detail .image-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

/* Lower Content */
.service-page .service-detail .lower-content {
    padding: 35px 40px 40px;
    position: relative;
}

/* Accent bar above title */
.service-page .service-detail .lower-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #E8872A, #D4741A);
    border-radius: 2px;
}

.service-page .service-detail h2 {
    font-size: 32px;
    color: #0B2545;
    font-weight: 800;
    margin-bottom: 5px;
    padding-top: 15px;
    line-height: 1.3;
    font-family: 'Inter', 'Raleway', sans-serif;
    letter-spacing: -0.3px;
}

/* Subtitle decoration */
.service-page .service-detail .lower-content h2 + p::first-line {
    color: #4A4A5A;
}

.service-page .service-detail p {
    font-size: 16px;
    line-height: 1.8;
    color: #4A4A5A;
    font-weight: 400;
    margin-bottom: 25px;
}

.service-page .service-detail h3 {
    font-size: 22px;
    color: #0B2545;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F5F7FA;
    font-family: 'Inter', 'Raleway', sans-serif;
}

.service-page .service-detail ul,
.service-page .service-detail ol {
    margin-bottom: 25px;
    padding-left: 0;
}

.service-page .service-detail ul li,
.service-page .service-detail ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #4A4A5A;
    list-style: none;
}

.service-page .service-detail ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #E8872A, #D4741A);
    border-radius: 50%;
}

/* Content images */
.service-page .service-detail .lower-content img {
    border-radius: 12px;
    margin: 10px 0 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Hide the inner service category list in content area */
.service-page .content-side .sidebar-widget.categories {
    display: none;
}


/* --- SIDEBAR --- */
.service-page .sidebar-side {
    margin-bottom: 40px;
}

.service-page .sidebar-side .service-sidebar {
    position: sticky;
    top: 100px;
}

/* Service List in Sidebar */
.service-page .sidebar-widget.categories {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(11,37,69,0.08);
    padding: 30px;
    margin-bottom: 30px;
    overflow: hidden;
}

/* Sidebar heading */
.service-page .sidebar-widget.categories::before {
    content: 'Our Services';
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #0B2545;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #E8872A;
    font-family: 'Inter', 'Raleway', sans-serif;
    letter-spacing: -0.3px;
}

.service-page .sidebar-widget.categories .service-list {
    margin-bottom: 0;
}

.service-page .sidebar-widget.categories .service-list li {
    margin-bottom: 0;
}

.service-page .sidebar-widget.categories .service-list li:before {
    display: none;
}

.service-page .sidebar-widget.categories .service-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #1B1B2F;
    border: none;
    border-radius: 10px;
    margin-bottom: 4px;
    background: transparent;
    transition: all 0.3s ease;
    font-family: 'Inter', 'Raleway', sans-serif;
}

.service-page .sidebar-widget.categories .service-list li a:after {
    position: relative;
    right: auto;
    top: auto;
    font-size: 14px;
    color: #6B7280;
    transition: all 0.3s ease;
}

.service-page .sidebar-widget.categories .service-list li a:hover,
.service-page .sidebar-widget.categories .service-list li.active a {
    background: linear-gradient(135deg, rgba(232,135,42,0.08), rgba(232,135,42,0.15));
    color: #E8872A;
    padding-left: 22px;
    border: none;
}

.service-page .sidebar-widget.categories .service-list li a:hover::after,
.service-page .sidebar-widget.categories .service-list li.active a::after {
    color: #E8872A;
    transform: translateX(3px);
}


/* --- CONSULTATION / CTA BOX --- */
.service-page .sidebar-widget.consultation {
    margin-bottom: 30px;
}

.service-page .consult-box {
    border-radius: 16px;
    overflow: hidden;
    padding: 45px 35px 40px;
    text-align: center;
    position: relative;
    margin-bottom: 0;
}

.service-page .consult-box:before {
    background: linear-gradient(135deg, rgba(11,37,69,0.95) 0%, rgba(6,26,51,0.88) 100%);
    border-radius: 16px;
    opacity: 1;
}

/* Accent decoration */
.service-page .consult-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #E8872A, #D4741A);
    z-index: 2;
}

.service-page .consult-box h4 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    padding-bottom: 20px;
    margin-bottom: 18px;
    font-family: 'Inter', 'Raleway', sans-serif;
    letter-spacing: -0.2px;
    line-height: 1.4;
}

.service-page .consult-box h4:before {
    width: 50px;
    height: 3px;
    background: #E8872A;
    border-radius: 2px;
}

.service-page .consult-box p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 25px;
}

.service-page .consult-box .theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E8872A;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 2;
    border: 2px solid #E8872A;
}

.service-page .consult-box .theme-btn:hover {
    background: transparent;
    color: #E8872A !important;
    border-color: #E8872A;
}

.service-page .consult-box .theme-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service-page .consult-box .theme-btn:hover i {
    transform: translateX(4px);
}




/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablets */
@media (max-width: 991px) {
    .service-page .page-title {
        padding: 90px 0 60px;
        background-attachment: scroll;
    }

    .service-page .page-title h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .service-page .service-detail-section {
        padding: 60px 0 40px;
    }

    .service-page .service-detail .image-box img {
        height: 300px;
    }

    .service-page .service-detail .lower-content {
        padding: 30px 28px 35px;
    }

    .service-page .service-detail .lower-content::before {
        left: 28px;
    }

    .service-page .service-detail h2 {
        font-size: 26px;
    }

    .service-page .sidebar-side .service-sidebar {
        position: static;
    }

}

/* Mobile */
@media (max-width: 767px) {
    .service-page .page-title {
        padding: 80px 0 50px;
    }

    .service-page .page-title h1 {
        font-size: 26px;
        letter-spacing: 0.5px;
    }

    .service-page .page-title .bread-crumb {
        padding: 8px 20px;
    }

    .service-page .page-title .bread-crumb li {
        font-size: 12px;
    }

    .service-page .service-detail-section {
        padding: 40px 0 30px;
    }

    .service-page .service-detail {
        border-radius: 12px;
    }

    .service-page .service-detail .image-box {
        border-radius: 12px 12px 0 0;
    }

    .service-page .service-detail .image-box img {
        height: 220px;
    }

    .service-page .service-detail .lower-content {
        padding: 25px 20px 30px;
    }

    .service-page .service-detail .lower-content::before {
        left: 20px;
        width: 45px;
    }

    .service-page .service-detail h2 {
        font-size: 22px;
        padding-top: 12px;
    }

    .service-page .service-detail p {
        font-size: 14px;
        line-height: 1.7;
    }

    .service-page .sidebar-widget.categories {
        border-radius: 12px;
        padding: 22px;
    }

    .service-page .consult-box {
        border-radius: 12px;
        padding: 35px 25px 30px;
    }

}

/* Small phones */
@media (max-width: 480px) {
    .service-page .page-title h1 {
        font-size: 22px;
    }

    .service-page .service-detail .image-box img {
        height: 180px;
    }

}


/* ============================================================
   SERVICE DETAIL - STRUCTURED SECTIONS
   Benefits, Process, Gallery, FAQs, CTA
   ============================================================ */

/* --- Common Section Styles --- */
.service-page .srv-section {
    margin-top: 40px;
    padding-top: 35px;
    border-top: 2px solid #F0F2F5;
}

.service-page .srv-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.service-page .srv-section-header .srv-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(232,135,42,0.1), rgba(232,135,42,0.2));
    color: #E8872A;
    font-size: 20px;
    flex-shrink: 0;
}

.service-page .srv-section-header h3 {
    font-size: 24px;
    color: #0B2545;
    font-weight: 800;
    margin: 0;
    padding: 0;
    border-bottom: none;
    font-family: 'Inter', 'Raleway', sans-serif;
}


/* --- Benefits Section --- */
.service-page .srv-benefits-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    padding-left: 0;
    margin-bottom: 0;
}

.service-page .srv-benefits-content ul li {
    background: #F8FAFB;
    padding: 14px 18px 14px 42px;
    border-radius: 10px;
    border: 1px solid #EEF1F4;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.service-page .srv-benefits-content ul li:hover {
    background: #FFF8F0;
    border-color: rgba(232,135,42,0.3);
    transform: translateX(4px);
}

.service-page .srv-benefits-content ul li::before {
    content: '\f00c' !important;
    font-family: 'FontAwesome' !important;
    background: none !important;
    color: #E8872A;
    font-size: 14px;
    width: auto;
    height: auto;
    border-radius: 0;
    top: 15px;
    left: 16px;
}

.service-page .srv-benefits-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #4A4A5A;
}


/* --- Process Section --- */
.service-page .srv-process-content ol {
    counter-reset: process-step;
    padding-left: 0;
}

.service-page .srv-process-content ol li {
    counter-increment: process-step;
    background: #F8FAFB;
    padding: 18px 20px 18px 65px;
    border-radius: 12px;
    border: 1px solid #EEF1F4;
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s ease;
    list-style: none;
}

.service-page .srv-process-content ol li:hover {
    background: #FFF8F0;
    border-color: rgba(232,135,42,0.3);
}

.service-page .srv-process-content ol li::before {
    content: counter(process-step) !important;
    font-family: 'Inter', sans-serif !important;
    background: linear-gradient(135deg, #0B2545, #163a64) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.service-page .srv-process-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #4A4A5A;
}


/* --- Gallery Section --- */
.service-page .srv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-page .srv-gallery-item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.service-page .srv-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.service-page .srv-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11,37,69,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-page .srv-gallery-overlay span {
    color: #fff;
    font-size: 24px;
}

.service-page .srv-gallery-item:hover img {
    transform: scale(1.08);
}

.service-page .srv-gallery-item:hover .srv-gallery-overlay {
    opacity: 1;
}


/* --- FAQs Section --- */
.service-page .srv-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-page .srv-faq-item {
    background: #F8FAFB;
    border: 1px solid #EEF1F4;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-page .srv-faq-item.active {
    background: #fff;
    border-color: rgba(232,135,42,0.3);
    box-shadow: 0 4px 20px rgba(11,37,69,0.06);
}

.service-page .srv-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    gap: 15px;
    transition: background 0.3s ease;
}

.service-page .srv-faq-question:hover {
    background: rgba(232,135,42,0.04);
}

.service-page .srv-faq-q-text {
    font-size: 16px;
    font-weight: 700;
    color: #0B2545;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.service-page .srv-faq-item.active .srv-faq-q-text {
    color: #E8872A;
}

.service-page .srv-faq-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E8872A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-page .srv-faq-toggle .fa-minus {
    display: none;
}

.service-page .srv-faq-toggle .fa-plus {
    display: inline;
}

.service-page .srv-faq-item.active .srv-faq-toggle .fa-minus {
    display: inline;
}

.service-page .srv-faq-item.active .srv-faq-toggle .fa-plus {
    display: none;
}

.service-page .srv-faq-item.active .srv-faq-toggle {
    background: #0B2545;
}

.service-page .srv-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 22px;
}

.service-page .srv-faq-item.active .srv-faq-answer {
    max-height: 300px;
    padding: 0 22px 20px;
}

.service-page .srv-faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: #4A4A5A;
    margin-bottom: 0;
    border-top: 1px solid #EEF1F4;
    padding-top: 15px;
}


/* --- CTA Section --- */
.service-page .srv-cta-section {
    margin-top: 35px;
}

.service-page .srv-cta-inner {
    background: linear-gradient(135deg, #0B2545 0%, #163a64 100%);
    border-radius: 16px;
    padding: 40px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.service-page .srv-cta-inner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(232,135,42,0.12);
}

.service-page .srv-cta-inner::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(232,135,42,0.08);
}

.service-page .srv-cta-content {
    position: relative;
    z-index: 1;
}

.service-page .srv-cta-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.service-page .srv-cta-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0;
    line-height: 1.6;
}

.service-page .srv-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E8872A;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 2px solid #E8872A;
    position: relative;
    z-index: 1;
}

.service-page .srv-cta-btn:hover {
    background: #fff;
    color: #0B2545 !important;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}


/* ============================================================
   RESPONSIVE - NEW SECTIONS
   ============================================================ */

@media (max-width: 991px) {
    .service-page .srv-benefits-content ul {
        grid-template-columns: 1fr;
    }

    .service-page .srv-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-page .srv-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 35px 30px;
    }
}

@media (max-width: 767px) {
    .service-page .srv-section {
        margin-top: 30px;
        padding-top: 25px;
    }

    .service-page .srv-section-header h3 {
        font-size: 20px;
    }

    .service-page .srv-section-header .srv-section-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .service-page .srv-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-page .srv-faq-question {
        padding: 15px 18px;
    }

    .service-page .srv-faq-q-text {
        font-size: 14px;
    }

    .service-page .srv-cta-inner {
        padding: 30px 22px;
    }

    .service-page .srv-cta-content h3 {
        font-size: 20px;
    }

    .service-page .srv-process-content ol li {
        padding-left: 55px;
    }
}

@media (max-width: 480px) {
    .service-page .srv-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}
