:root {
    --dark-bg: #1a1a1a;
    --dark-surface: #252525;
    --light-text-primary: #ffffff;
    --light-text-secondary: #cccccc;
    --accent-purple: #8a2be2;
    --border-color: #333333;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text-primary);
    font-family: "Inter", sans-serif;
}

.services-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.services-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.services-hero-text p {
    font-size: 1.2rem;
    color: var(--light-text-secondary);
}

.services-hero-icon {
    background-color: var(--dark-surface);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
}

.services-hero-icon img {
    width: 100px;
    height: 100px;
    filter: invert(100%) sepia(0%) saturate(7489%) hue-rotate(279deg)
        brightness(108%) contrast(100%); /* Adjust to fit the light grey icon color in the image */
}

.services-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.service-card {
    background-color: var(--dark-surface);
    border-radius: 10px;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    perspective: none;
    height: 500px;
    position: relative;
    width: 100%;
}

.service-card::before,
.service-card::after {
    content: none;
}

.service-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    color: #ffffff;

    display: block;
    border-radius: 0;
}

.service-card p {
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    display: block;
    border-radius: 0;
}

.service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem;
}

.service-icon {
    width: 50%;
    height: 100%;
    margin-top: 0;
    overflow: hidden;
    background: none;
    box-shadow: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: flat;
    z-index: 1;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    border-radius: 10px;
}

.cms-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    border-radius: 0;
}

.cms-image.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .services-hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .services-hero-text h1 {
        font-size: 2.5rem;
    }

    .services-hero-text p {
        font-size: 1rem;
    }

    .services-hero-icon {
        margin-top: 1rem;
        width: 80px;
        height: 80px;
    }

    .service-card {
        flex-direction: column;
        height: auto;
    }

    .service-card h2 {
        text-align: center;
    }
    .service-card p {
        text-align: center;
        padding-inline: 0.2rem;
    }

    .service-icon {
        width: 100%;
        height: 300px;
    }

    .cms-image {
        box-shadow: none;
    }
}

/* Examples Section Styles */
.examples-section {
    width: 100%;
    margin: 4rem 0;
    padding: 3rem 0;
    text-align: center;
}

.examples-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text-primary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;

    padding: 0.8rem 1.5rem;
    display: inline-block;
    border-radius: 0;
}

.examples-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.examples-section li {
    font-size: 1.2rem;
    color: var(--light-text-primary);
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    background-color: rgba(37, 37, 37, 0.6);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}
.examples-section li a {
    text-decoration: none;
    color: white;
}

.examples-section li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.examples-section li a:hover {
    color: #8a2be2;
}

@media (max-width: 768px) {
    .examples-section {
        margin: 2rem 0;
        padding: 2rem 0;
    }

    .examples-section h2 {
        font-size: 2rem;
        padding: 0.6rem 1rem;
    }

    .examples-section ul {
        padding: 0 1rem;
    }

    .examples-section li {
        font-size: 1rem;
        padding: 0.8rem 1rem;
        display: block;
    }
}
