/* Services Hero Section */
.services-hero {
    background: linear-gradient(rgba(14, 80, 124, 0.7), rgba(14, 80, 124, 0.7)), url('../images/services_hero_bg.jpg') no-repeat center center/cover; /* Dark blue overlay */
    color: var(--white);
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 70px; /* To account for sticky header */
}

.services-hero h1 {
    color: var(--white);
    font-size: 3em;
    margin-bottom: 10px;
}

.services-hero p {
    font-size: 1.2em;
}

/* Service Categories Grid */
.service-categories {
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card .icon-circle {
    background-color: var(--teal);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: var(--white);
}

.service-card .icon-circle i {
    font-size: 2.5em;
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 0.9em;
    color: #444;
}

.service-card ul li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.service-card ul li::before {
    content: '\2713'; /* Checkmark */
    color: var(--teal);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Service Process Section */
.service-process {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.service-process .section-title {
    color: var(--white);
}

.service-process .section-title::after {
    background-color: var(--teal);
}

.process-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    position: relative; /* For the connector line */
}

.step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1; /* Ensure steps are above the connector line */
}

.step .step-icon {
    background-color: var(--teal);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8em;
    border: 3px solid var(--white);
}

.step h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.step p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

/* Connector line for process steps (desktop only) */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50%; /* Adjust to align with center of icons */
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 0;
    display: none; /* Hidden by default and kept hidden for all screen sizes */
    transform: translateY(-50%); /* Adjust to perfectly center */
}

@media (min-width: 992px) { /* Show connector only on larger screens */
    .process-steps::before {
        display: none; /* Changed to none to hide the line permanently */
    }
}


/* CTA for Services */
.cta-services {
    padding: 60px 0;
    text-align: center;
    background-color: var(--light-gray);
}

.cta-services h2 {
    color: var(--dark-blue);
    font-size: 2.5em;
    margin-bottom: 15px;
}

.cta-services p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Responsive adjustments for services page */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5em;
    }

    .service-grid, .process-steps {
        grid-template-columns: 1fr; /* Stack grid items vertically for mobile */
    }

    .process-steps::before {
        display: none; /* Hide connector line on mobile */
    }
}