/* Service Page Redesign CSS Based on Image */

:root {
    --primary-color: #0f766e;
    --secondary-color: #13201f;
    --text-color: #444;
    --light-bg: #f9f9f9;
    --border-radius-custom: 0;
}

/* Intro Section (Sidebar + Image) */
.intro-section {
    padding: 60px 0;
    background: #fff;
}

.service-sidebar-top {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--border-radius-custom);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 0;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    color: var(--primary-color);
    padding-left: 10px;
}

.intro-image-box img {
    width: 100%;
    border-radius: var(--border-radius-custom);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Redesigned Content Area */
.service-main-content {
    padding-bottom: 60px;
}

.section-header-centered, .section-header-centered-new {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    display: block;
}

.section-header-centered h2, .section-header-centered-new h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-header-centered h2::after, .section-header-centered-new h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #243b39;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 18px;
}

/* How We Work Section (4 Steps) */
.how-it-works-redesign {
    padding: 80px 0;
    background: var(--light-bg);
}

.step-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: var(--border-radius-custom);
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    height: 100%;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.step-card .icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
}

.step-card h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.step-card p {
    font-size: 14px;
    color: #526462;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-redesign {
    padding: 80px 0;
}

.testimonial-card-new {
    background: #fff;
    padding: 35px;
    border-radius: var(--border-radius-custom);
    border: 1px solid #eee;
    height: 100%;
    transition: 0.3s;
}

.testimonial-card-new:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.rating-stars {
    color: #0f766e;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.client-meta {
    display: flex;
    align-items: center;
}

.client-meta .client-initial {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
}

.client-name h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.client-name span {
    font-size: 13px;
    color: #888;
}

/* Bottom CTA Layout */
.bottom-cta-redesign {
    background: var(--primary-color);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.cta-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.technician-image-box {
    flex: 0 0 300px;
    margin-right: 30px;
    position: relative;
}

.technician-image-box img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.cta-content-box {
    flex: 1;
}

.cta-content-box h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content-box p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-btn-white {
    background: #fff;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 0;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
}

.cta-btn-white:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .intro-image-box {
        margin-top: 30px;
    }
    .cta-flex-container {
        flex-direction: column;
        text-align: center;
    }
    .technician-image-box {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .service-detail-text {
        padding-right: 0 !important;
        text-align: center;
    }
    .service-detail-text .section-header-centered-new {
        text-align: center !important;
    }
}

@media (max-width: 767px) {
    .step-card {
        padding: 30px 20px;
    }
    .testimonial-card-new {
        padding: 25px;
    }
    .section-header-centered h2 {
        font-size: 26px;
    }
    .how-it-works-redesign, .testimonials-redesign {
        padding: 60px 0;
    }
}
