/* --- SERVICES PAGE STYLES --- */
.services-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/hero-team-collaboration.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.services-intro {
    padding: 80px 0;
    text-align: center;
}

.services-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

[data-theme="dark"] .services-intro h2 {
    color: var(--primary-color);
}

.services-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
}

.main-services-list {
    padding-bottom: 100px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.service-row:nth-child(even) .service-txt {
    order: 2;
}

.service-row:nth-child(even) .service-img {
    order: 1;
}

.service-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

[data-theme="dark"] .service-img img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.service-img img:hover {
    transform: scale(1.02);
}

.service-txt h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-txt p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: var(--text-muted);
}

.service-txt ul {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.service-txt ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.service-txt ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-row:nth-child(even) .service-txt {
        order: 0;
    }

    .service-row:nth-child(even) .service-img {
        order: 0;
    }
}

/* --- GENERIC SERVICE FEATURES SECTION --- */
.service-features {
    padding: 80px 0;
    text-align: center;
}

.service-features h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

[data-theme="dark"] .service-features h2 {
    color: var(--primary-color);
}

.service-features p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- SERVICE DETAIL PAGE STYLES --- */
.service-hero-detail {
    height: 50vh;
    min-height: 400px;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
    position: relative;
}

/* Specific Backgrounds for Service Pages */
.service-hero-bg-sap {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/business-coding.jpg');
}

.service-hero-bg-fiori {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/mobile-ui-dashboard.jpg');
}

.service-hero-bg-integration {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/digital-network.jpg');
}

.service-hero-bg-automation {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/automation-workflow.jpg');
}

.service-hero-detail h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero-detail p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.content-section {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
}

.tech-stack {
    background: var(--surface-hover);
    padding: 60px 0;
    margin-top: 60px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tech-item {
    background: var(--surface-color);
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.why-us {
    padding: 80px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us-grid strong {
    color: var(--text-main);
}

.why-us-grid div {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .service-hero-detail h1 {
        font-size: 2rem;
    }
}