/* Service Detail Page Styles */

body {
    background: #f0f4f8;
}


/* Service Header - Dark Blue with Rounded Bottom Corners */

.service-header {
    background: #1e3a5f;
    border-bottom: none;
    border-radius: 0 0 24px 24px;
    padding-bottom: 2rem;
}

.service-header .nav>ul>li>a {
    color: #fff;
}

.service-header .nav-cta {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}


/* Service Hero Section */

.service-hero {
    position: relative;
    background: #1e3a5f;
    border-radius: 0 0 24px 24px;
    padding: 8rem var(--space-xl) 4rem;
    margin-top: -2rem;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.service-hero-content {
    padding-top: 3rem;
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.service-hero-content h1 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 var(--space-sm);
    line-height: 1.2;
}

.service-hero-content span {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    display: block;
}


/* Service Introduction Card */

.service-intro {
    padding: var(--space-3xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-intro-card {
    background: #fff;
    border-radius: 24px;
    padding: var(--space-2xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-intro-image {
    border-radius: 16px;
    overflow: hidden;
}

.service-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.service-intro-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.service-intro-label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-intro-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.2;
}

.service-intro-text {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}


/* Service Features Section */

.service-features {
    padding: var(--space-3xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

.service-feature-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.service-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 12px;
    color: #fff;
    font-size: 1.5rem;
}

.service-feature-content h3 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 var(--space-sm);
}

.service-feature-content p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}


/* Service Conclusion Card */

.service-conclusion {
    padding: var(--space-3xl) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-conclusion-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-conclusion-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* Responsive */

@media (max-width: 1024px) {
    .service-intro-card {
        grid-template-columns: 1fr;
    }
    .service-intro-image {
        order: -1;
    }
    .service-features-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp / Chat floating button - ensure it shows on service detail page */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.whatsapp-float i {
    font-size: 2rem;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
    .whatsapp-float i {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 6rem var(--space-md) 3rem;
    }
    .service-intro {
        padding: var(--space-2xl) var(--space-md);
    }
    .service-intro-card {
        padding: var(--space-xl);
    }
    .service-features {
        padding: var(--space-2xl) var(--space-md);
    }
    .service-conclusion {
        padding: var(--space-2xl) var(--space-md);
    }
}