/* Services Page Specific Styles */
.services-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('../images/services-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.services-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(var(--glow-blue));
}

.services-detailed {
    padding: 5rem 5%;
    background: var(--primary-color);
    position: relative;
}

.services-detailed::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.service-detailed-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 204, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 204, 255, 0.15);
    transition: var(--transition);
    z-index: 1;
}

.service-detailed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: var(--transition);
}

.service-detailed-card:hover {
    border-color: rgba(0, 204, 255, 0.5);
    box-shadow: 0 12px 40px 0 rgba(0, 204, 255, 0.25);
}

.service-detailed-card:hover::before {
    opacity: 1;
}

.service-detailed-card.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-detailed-card.reverse .service-content {
    direction: ltr;
}

.service-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-content {
    position: relative;
    padding: 2rem;
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--electric-blue);
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--electric-blue);
}

@media (max-width: 968px) {
    .service-detailed-card,
    .service-detailed-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .service-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .services-hero-content h1 {
        font-size: 2.5rem;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Makes the image darker to maintain text readability */
}

.services-hero-content {
    position: relative;
    z-index: 1;
}

/* Enhanced service card styles */
.service-detailed-card {
    margin: 2rem auto;
    max-width: 1200px;
}

.service-content .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--electric-blue);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--electric-blue);
}

.service-content .cta-button:hover {
    transform: translateY(-3px);
    background: transparent;
    color: var(--electric-blue);
    box-shadow: var(--glow-blue);
}


