/* ===== SERVICES PAGE STYLES ===== */

/* Services Hero */
.services-hero {
    background: linear-gradient(135deg, #0a223e 0%, #0a223e 100%);
    color: white;
    padding: 8rem 2rem 4rem;
    padding-top: calc(80px + 4rem); /* Header height + padding */
    text-align: center;
    position: relative;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ff4757" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ff4757" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    z-index: 1;
}

.services-hero p {
    font-size: 1.2rem;
    color: #bdc3c7;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Detailed Services */
.detailed-services {
    padding: 4rem 0;
    background: #0a223e;
}

.service-detail {
    background: #1c3a56;
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border-left: 4px solid #ff4757;
}

.service-detail:hover {
    transform: translateY(-5px);
}

.service-detail h2 {
    color: #ff4757;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 3px solid #ff4757;
    padding-bottom: 0.5rem;
}

.service-detail p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #bdc3c7;
}

.service-detail ul {
    list-style: none;
    padding: 0;
}

.service-detail ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #bdc3c7;
    font-weight: 500;
}

.service-detail ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff4757;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Services CTA */
.services-cta {
    background: #0a223e;
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-top: 4px solid #ff4757;
}

.services-cta h2 {
    color: #ff4757;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #bdc3c7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Active Navigation */
.nav-menu a.active {
    color: #ff4757;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero {
        padding: 7rem 1rem 4rem;
        padding-top: calc(120px + 3rem); /* Increased for mobile header clearance */
        min-height: auto;
    }

    .services-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .services-hero p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: none;
    }

    .detailed-services {
        padding: 3rem 0;
    }

    .service-detail {
        padding: 2rem;
        margin-bottom: 2rem;
        border-radius: 8px;
    }

    .service-detail h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .service-detail p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-detail ul {
        margin-top: 1rem;
    }

    .service-detail li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .services-cta {
        padding: 3rem 0;
    }

    .services-cta h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .services-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 6rem 0.75rem 3rem;
    }

    .services-hero h1 {
        font-size: 1.65rem;
        line-height: 1.15;
    }

    .services-hero p {
        font-size: 0.95rem;
    }

    .detailed-services {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 0.75rem;
    }

    .service-detail {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 6px;
    }

    .service-detail h2 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .service-detail p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .service-detail ul {
        margin-top: 0.75rem;
        padding-left: 1.25rem;
    }

    .service-detail li {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.4rem;
    }

    .services-cta {
        padding: 2.5rem 0;
    }

    .services-cta h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .services-cta p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .btn-primary {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
        text-align: center;
    }
}

/* Extra small devices (phones in portrait mode) */
@media (max-width: 480px) {
    .services-hero {
        padding-top: calc(140px + 2rem); /* Extra padding for small screens */
    }
}
