/* Services Page Styles */
.services-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 75%, rgba(0, 188, 212, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(38, 198, 218, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.services-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.85) 0%, rgba(26, 54, 93, 0.9) 100%);
    z-index: 1;
}

.services-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.services-hero .hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.services-hero .hero-description {
    font-size: 1.4rem;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Services Grid Section */
.services-grid-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    position: relative;
    overflow: hidden;
}

.services-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="services-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(0,188,212,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23services-pattern)"/></svg>');
    z-index: 1;
}

.services-grid-section .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* Service Card - Glass Design */
.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 3;
}

/* Service Image - Full Width */
.service-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    width: 100%;
}

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

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.service-overlay i {
    font-size: 2rem;
    color: var(--white);
    background: rgba(0, 188, 212, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

/* Service Content */
.service-content {
    padding: 2rem 2.5rem 2.5rem;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Service Button - Clean Design */
.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.2);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.3);
}

.service-btn i {
    font-size: 0.9rem;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Services Hero Mobile */
    .services-hero .hero-title {
        font-size: 2.5rem;
    }

    .services-hero .hero-description {
        font-size: 1.1rem;
    }

    .services-hero .hero-content {
        padding: 1rem;
    }

    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        margin: 0 1rem;
    }

    .service-image {
        height: 220px;
    }

    .service-content {
        padding: 1.5rem 2rem 2rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .service-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-hero .hero-title {
        font-size: 2rem;
    }

    .service-card {
        margin: 0 0.5rem;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        padding: 1.2rem 1.5rem 1.8rem;
    }

    .service-content h3 {
        font-size: 1.1rem;
    }

    .service-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .service-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}
