﻿/* Section Container */
.container-fluid {
    max-width: 1280px; /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem; /* py-12 px-4 */
}

@media (min-width: 640px) {
    .container-fluid {
        padding-left: 1.5rem; /* sm:px-6 */
        padding-right: 1.5rem; /* sm:px-6 */
    }
}

@media (min-width: 1024px) {
    .container-fluid {
        padding-left: 2rem; /* lg:px-8 */
        padding-right: 2rem; /* lg:px-8 */
    }
}

/* Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem; /* mb-16 */
}

    .section-header h2 {
        font-size: 0.75rem; /* text-xs */
        font-weight: 600;
        color: var(--accent-teal);
        text-transform: uppercase;
        letter-spacing: 0.05em; /* tracking-widest */
        margin-bottom: 0.5rem; /* mb-2 */
    }

    .section-header h1 {
        font-size: 2.25rem; /* text-4xl */
        line-height: 1.25;
        font-weight: 800;
        color: var(--primary-blue);
    }

@media (min-width: 640px) {
    .section-header h1 {
        font-size: 3rem; /* sm:text-5xl */
    }
}

.section-header p {
    margin-top: 1rem;
    font-size: 1.125rem; /* text-lg */
    color: #4b5563; /* gray-600 */
    max-width: 42rem; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* gap-8 */
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
    }
}

@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr); /* lg:grid-cols-3 */
    }
}

/* Service Card Styling */
.service-card {
    background-color: var(--bg-light);
    box-shadow: var(--shadow-base);
    padding: 2rem; /* p-8 */
    border-radius: 0.75rem; /* rounded-xl */
    transition: all 0.3s ease-in-out;
}

    .service-card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-0.25rem); /* hover:-translate-y-1 */
    }

    /* Card Headings and Icons */
    .service-card .card-header {
        display: flex;
        align-items: center;
        column-gap: 1rem; /* space-x-4 */
        margin-bottom: 1rem; /* mb-4 */
    }

    .service-card h3 {
        font-size: 1.5rem; /* text-2xl */
        font-weight: 700;
        color: var(--primary-blue);
    }

    .service-card p {
        color: #6b7280; /* gray-500 */
        margin-bottom: 1rem; /* mb-4 */
    }

.icon-wrapper {
    padding: 0.75rem; /* p-3 */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-wrapper svg {
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
    }

/* Teal Card Specific Styles (1, 3, 5) */
.service-card.teal-border {
    border-top: 4px solid var(--accent-teal);
}

    .service-card.teal-border .icon-wrapper {
        background-color: rgba(13, 148, 136, 0.1); /* accent-teal/10 */
    }

        .service-card.teal-border .icon-wrapper svg {
            color: var(--accent-teal);
        }

    .service-card.teal-border li svg {
        color: var(--accent-teal);
    }

/* Blue Card Specific Styles (2, 4) */
.service-card.blue-border {
    border-top: 4px solid var(--primary-blue);
}

    .service-card.blue-border .icon-wrapper {
        background-color: rgba(30, 58, 138, 0.1); /* primary-blue/10 */
    }

        .service-card.blue-border .icon-wrapper svg {
            color: var(--primary-blue);
        }

    .service-card.blue-border li svg {
        color: var(--primary-blue);
    }

/* List Styling */
.service-card .list-title {
    font-weight: 600;
    color: #374151; /* gray-700 */
    margin-bottom: 0.5rem; /* mb-2 */
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.25rem; /* pb-1 */
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem; /* mt-6 */
    font-size: 0.875rem; /* text-sm */
    color: #4b5563; /* gray-600 */
}

    .service-card ul li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 0.5rem; /* space-y-2 */
    }

        .service-card ul li svg {
            width: 1rem; /* w-4 */
            height: 1rem; /* h-4 */
            margin-right: 0.5rem; /* mr-2 */
            margin-top: 0.25rem; /* mt-1 */
            flex-shrink: 0;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

/* CTA Card Styling (Blue card) */
.cta-card {
    background-color: var(--primary-blue);
    box-shadow: var(--shadow-base);
    padding: 2rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: none; /* Disable hover effects for CTA */
}

    .cta-card > svg {
        width: 2.5rem; /* w-10 */
        height: 2.5rem; /* h-10 */
        color: var(--bg-light);
        margin-bottom: 1rem; /* mb-4 */
        stroke-width: 1.5; /* Slightly thicker stroke for main icons */
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .cta-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--bg-light);
        margin-bottom: 0.5rem; /* mb-2 */
    }

    .cta-card p {
        color: rgba(255, 255, 255, 0.5); /* Primary-blue/20 equivalent for text on dark background */
        margin-bottom: 1.5rem; /* mb-6 */
    }

    .cta-card a {
        display: inline-flex;
        align-items: center;
        padding: 0.75rem 1.5rem; /* px-6 py-3 */
        border: 1px solid transparent;
        font-size: 1rem; /* text-base */
        font-weight: 500;
        border-radius: 9999px; /* rounded-full */
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        color: var(--primary-blue);
        background-color: var(--bg-light);
        text-decoration: none;
        transition: background-color 0.15s;
    }

        .cta-card a:hover {
            background-color: #f3f4f6; /* hover:bg-gray-100 */
        }
