/* =================================== */
/* SERVICES PAGE BASE STYLES */
/* =================================== */

/* Assuming page-content-wrapper is used for content centering and max-width */
.page-content-wrapper {
    max-width: 1280px; /* Adjust if root variable --max-width is different */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =================================== */
/* 1. INTRO & DESCRIPTION SECTION */
/* =================================== */

.intro-section {
    padding-top: 5rem;
    padding-bottom: 2rem;
    text-align: center;
}

.intro-section h1 {
    color: var(--primary-blue, #3b82f6);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.intro-section p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-color, #333);
}

/* =================================== */
/* 2. SERVICE CARDS GRID */
/* =================================== */

.services-main {
    padding: 2rem 0 5rem;
}

.service-grid {
    display: grid;
    /* Default: 1 column on small screens */
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Tablet / Medium Screens: 2 Columns */
@media (min-width: 640px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop / Large Screens: 3 Columns */
@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* SERVICE CARD STYLING */
.service-card {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
    /* Mimics the soft shadow from the image */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
}

.service-icon {
    /* Large circle background for the icon */
    background-color: var(--primary-blue, #3b82f6);
    color: #fff;
    width: 64px; /* 4rem */
    height: 64px; /* 4rem */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-blue, #3b82f6);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =================================== */
/* 3. WHY CHOOSE US FEATURES           */
/* =================================== */

.feature-section {
    padding: 3rem 0;
}

.feature-section .page-content-wrapper {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.feature-section h2 {
    text-align: left;
    color: var(--primary-blue, #3b82f6);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
}

.feature-icon-check {
    color: #cc0000;
    font-size: 1rem;
    line-height: 1.5;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.feature-item strong {
    color: var(--text-color, #333);
    font-weight: 700;
    margin-right: 0.25rem;
}

.feature-item div {
    color: #666;
    line-height: 1.5;
}

/* =================================== */
/* 4. EMERGENCY CTA */
/* =================================== */

.cta-emergency {
    background-color: var(--primary-blue, #3b82f6);
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.cta-emergency h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-emergency p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.cta-buttons a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-call {
    /* Primary Call to Action */
    background-color: var(--accent-pink, #ec4899);
    color: #fff;
}

.btn-call:hover {
    background-color: #d13a86; /* Darker Pink */
    transform: translateY(-1px);
}

.btn-contact {
    /* Secondary Call to Action */
    background-color: #fff;
    color: var(--primary-blue, #3b82f6);
    border: 2px solid #fff;
}

.btn-contact:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
}

/* Desktop layout for CTA buttons */
@media (min-width: 500px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }
}