/* Services Page Specific Styles */

.services-hero {
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #f9f9fa 0%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

body.dark-mode .services-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--brand-purple);
    position: relative;
    z-index: 2;
}

.services-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.dark-mode .service-card {
    background: var(--card-bg);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    margin-top: auto;
    color: var(--brand-purple);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.service-link:hover {
    gap: 12px;
    color: var(--brand-pink);
}

/* Embedded Request Form Wrapper */
.contact-content {
    background: var(--bg-secondary);
    border-radius: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }

    .services-hero p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 20px 0;
        gap: 20px;
    }

    .services-hero {
        padding: 120px 20px 40px;
        /* Increased top padding from 80px to 120px */
    }

    .service-card {
        padding: 30px 20px;
    }
}