:root {
    --brand-gold: #efb506;
    --brand-gold-dark: #d49b00;
    --brand-dark: #111111;
    --brand-text: #222222;
    --brand-muted: #5b5b5b;
    --brand-light: #f8f9fb;
    --brand-border: #e9e9e9;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--brand-text);
    background: var(--white);
}

.service-detail-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Hero */
#service-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Specific hero images */
.data-analytics-hero {
    background-image: url('/resources/Services/Data Analytics.jpg');
}

.ai-ml-hero {
    background-image: url('/resources/Services/AI and ML.jpg');
}

.cybersecurity-hero {
    background-image: url('/resources/Services/Cybersecurity.jpg');
}

.cloud-development-hero {
    background-image: url('/resources/Services/Cloud Development.jpg');
}

.it-staffing-hero {
    background-image: url('/resources/Services/IT Staffing.jpg');
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0.48)
    );
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: var(--white);
}

.service-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-hero-subtext {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Main Section */
#service-detail-section {
    padding: 90px 0;
    background: var(--brand-light);
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: 32px;
    align-items: start;
}

/* Sidebar */
.service-sidebar {
    display: grid;
    gap: 24px;
}

.service-sidebar-card,
.service-image-card,
.service-content-card {
    background: var(--white);
    border: 1px solid var(--brand-border);
    border-radius: 24px;
    padding: 30px 26px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.service-sidebar-card h2,
.service-content-card h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.service-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.service-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--brand-text);
    background: #fafafa;
    border: 1px solid #eeeeee;
    font-weight: 500;
    transition: all 0.25s ease;
}

.service-nav a:hover {
    background: rgba(239, 181, 6, 0.08);
    border-color: rgba(239, 181, 6, 0.25);
}

.service-nav a.active-service {
    background: rgba(239, 181, 6, 0.12);
    border-color: rgba(239, 181, 6, 0.3);
    color: var(--brand-dark);
    font-weight: 700;
}

.service-check-list {
    padding-left: 20px;
    margin: 0;
}

.service-check-list li {
    margin-bottom: 12px;
    color: var(--brand-text);
    line-height: 1.7;
}

/* Main Content */
.service-main-content {
    display: grid;
    gap: 24px;
}

.service-image-card {
    padding: 16px;
}

.service-image-card img {
    width: 100%;
    display: block;
    border-radius: 18px;
    object-fit: cover;
    max-height: 430px;
}

.service-content-card p {
    color: var(--brand-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.feature-item {
    padding: 16px 18px;
    border-radius: 16px;
    background: #fafafa;
    border: 1px solid #ededed;
    color: var(--brand-text);
    font-weight: 500;
    line-height: 1.5;
}

.service-benefit-list {
    padding-left: 20px;
    margin: 0;
}

.service-benefit-list li {
    margin-bottom: 12px;
    color: var(--brand-text);
    line-height: 1.75;
}

/* CTA */
#service-cta-section {
    padding: 0 0 90px;
    background: var(--brand-light);
}

/* Responsive */
@media (max-width: 1100px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #service-hero {
        padding: 125px 20px 65px;
    }

    .service-sidebar-card,
    .service-image-card,
    .service-content-card {
        padding: 24px 20px;
    }

    .service-sidebar-card h2,
    .service-content-card h2 {
        font-size: 1.55rem;
    }

    .service-feature-grid {
        grid-template-columns: 1fr;
    }

    .service-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .service-cta-box {
        padding: 30px 24px;
    }
}
