/* General Section Styles */
section {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 4rem;
}

/* PAGE HEADER */
.services-header {
    text-align: center;
}
.services-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.services-header p {
    font-size: 1.125rem;
    color: #4b5563; /* gray-700 */
    max-width: 70ch;
    margin: 0 auto;
}
.icon-primary {
    color: #1d4ed8; /* blue-700 */
    margin-right: 0.5rem;
}

/* SERVICES OVERVIEW */
.services-overview h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.services-overview p {
    font-size: 1rem;
    color: #4b5563;
    max-width: 70ch;
    margin-bottom: 1.5rem;
}
.services-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #4b5563;
    max-width: 70ch;
    margin: 0;
}
.services-list li {
    margin-bottom: 0.75rem;
}
.icon-accent {
    color: #3b82f6; /* blue-500 */
    margin-right: 0.5rem;
}

/* SERVICE CATEGORIES */
.services-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media(min-width: 768px) {
    .services-categories {
        grid-template-columns: 1fr 1fr;
    }
}
.service-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.service-card p {
    color: #4b5563;
    margin-bottom: 1rem;
}
.service-card ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #4b5563;
}
.service-card ul li {
    margin-bottom: 0.5rem;
}

/* HOW WE WORK */
.services-how-we-work h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.work-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
}
@media(min-width: 768px) {
    .work-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}
.step-icon {
    font-size: 2rem;
    color: #1d4ed8;
    margin-bottom: 0.5rem;
}
.step h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.step p {
    font-size: 0.875rem;
    color: #4b5563;
}

/* CTA */
.services-cta {
    text-align: center;
    background-color: #1d4ed8;
    color: #ffffff;
}
.services-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.services-cta p {
    font-size: 1.125rem;
    max-width: 60ch;
    margin: 0 auto 1.5rem;
}
.cta-button {
    background-color: #ffffff;
    color: #1d4ed8;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #f3f4f6; /* gray-100 */
}



/* ==========================
   Services Page Responsive
========================== */

/* Large screens / smaller desktops */
@media (max-width: 1024px) {
    .services-header h1 {
        font-size: 2.2rem;
    }

    .services-header p,
    .services-overview p,
    .service-card p,
    .services-cta p {
        font-size: 1rem;
    }

    .services-overview h2,
    .services-how-we-work h2 {
        font-size: 1.75rem;
    }

    .service-card h3 {
        font-size: 1.35rem;
    }
}

/* Tablets / medium screens */
@media (max-width: 768px) {
    .services-header h1 {
        font-size: 1.8rem;
    }

    .services-overview h2,
    .services-how-we-work h2 {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .services-categories {
        grid-template-columns: 1fr;
    }

    .work-steps {
        grid-template-columns: 1fr;
    }

    .step h3 {
        font-size: 1rem;
    }

    .step p {
        font-size: 0.8rem;
    }
}

/* Small phones / very small screens */
@media (max-width: 480px) {
    .services-header h1 {
        font-size: 1.5rem;
    }

    .services-header p,
    .services-overview p,
    .service-card p,
    .services-cta p {
        font-size: 0.9rem;
    }

    .services-overview h2,
    .services-how-we-work h2 {
        font-size: 1.3rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .step h3 {
        font-size: 0.95rem;
    }

    .step p {
        font-size: 0.75rem;
    }
}
