/* css/services.css */

/* --- Service Page Hero Section --- */
/* Styles for the .hero-service class itself if common across all service pages */
.hero-service {
    padding: calc(var(--spacing-unit) * 5) 0;
    color: var(--neutral-white); 
    text-align: center;
    position: relative; 
    /* background-image, size, position, repeat are primarily set inline in HTML for specific heroes */
    /* This ensures unique backgrounds per service page */
}
.hero-service .hero-overlay { /* Default overlay for service heroes */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 30, 60, 0.7); /* Adjust default tint/opacity as needed */
    z-index: 1;
}
.hero-service .container { /* Ensures content is above overlay */
    position: relative;
    z-index: 2;
}

.hero-service h1 {
    color: var(--neutral-white); /* Explicitly set for hero titles */
    /* font-size is inherited from global h1 styles */
    margin-bottom: var(--spacing-unit);
}

.hero-service .hero-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9); 
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Specific hero classes can be used for minor tweaks if needed, */
/* e.g., slightly different overlay opacity, but background images are inline. */
.professional-services-hero {
    /* background-image URL set in HTML */
}
.professional-services-hero .hero-overlay {
    /* background-color: rgba(0, 51, 102, 0.75); /* Example: slightly different tint for this hero */
}

.managed-services-hero { 
    /* background-image URL set in HTML */
}
.managed-services-hero .hero-overlay {
    /* background-color: rgba(0, 128, 128, 0.75); /* Example: slightly different tint */
}


/* --- Service Intro Section --- */
/* Styles for the common introductory section on service pages */
.service-intro {
    text-align: center;
}
.service-intro h2 { /* Assuming global h2 style is fine, otherwise specify */
    margin-bottom: var(--spacing-unit);
}
.service-intro p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}
.service-intro h3 { /* For sub-headings like "Our Consultative Approach" */
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 0.75);
}

/* --- Service Offerings Section (Cards for specific services) --- */
.service-offerings h2 {
    text-align: center;
}
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted min for better fit */
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
}
.offering-item {
    background-color: var(--neutral-white);
    padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 2); /* Adjusted padding */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; 
    flex-direction: column; /* To align content if card heights vary */
}
.offering-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.offering-icon {
    color: var(--primary-teal);
    margin-bottom: var(--spacing-unit);
    font-size: 2.2rem; /* Adjusted icon size */
}
.offering-item h3 {
    font-size: 1.35rem; /* Adjusted heading size */
    margin-bottom: calc(var(--spacing-unit) * 0.7); 
}
.offering-item p {
    font-size: 0.93rem; /* Adjusted text size */
    color: var(--neutral-dark-gray);
    margin-bottom: 0;
    line-height: 1.65; /* Adjusted line height */
    flex-grow: 1; /* Ensures paragraphs expand to make card heights equal if in a row */
}

/* --- Service Case Study / Testimonial Section --- */
/* This often reuses .testimonial-blockquote from style.css or another shared CSS file. */
/* If specific styling is needed for service page testimonials, add here. */
.service-case-study h2 { /* Heading for this section on service pages */
    text-align: center;
}
/* Example: If you need to adjust margins for testimonials specifically on service pages: */
/* #professional-services-page .testimonial-blockquote { margin-top: var(--spacing-unit); } */
/* #managed-services-page .testimonial-blockquote { margin-bottom: var(--spacing-unit); } */


/* --- Engagement Model Section (Typically for Professional Services) --- */
.engagement-model h2 {
    text-align: center;
}
.engagement-model > .container > p { /* Introductory paragraph for this section */
    text-align: center;
    max-width: 800px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.engagement-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* Adjusted min for better fit */
    gap: calc(var(--spacing-unit) * 1.75); /* Adjusted gap */
    margin-top: calc(var(--spacing-unit) * 1.5);
}
.engagement-option {
    background-color: var(--neutral-light-gray);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius);
    text-align: center;
    border-left: 4px solid var(--primary-teal);
    display: flex; 
    flex-direction: column; /* To align content if card heights vary */
}
.engagement-icon {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-unit);
    font-size: 2rem; /* Adjusted icon size */
}
.engagement-option h3 {
    font-size: 1.25rem; /* Adjusted heading size */
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--primary-blue);
}
.engagement-option p {
    font-size: 0.9rem; /* Adjusted text size */
    color: var(--neutral-dark-gray);
    margin-bottom: 0;
    flex-grow: 1; /* Ensures paragraphs expand */
}


/* --- Specific to Managed Services Page: Service Level Guarantees --- */
.service-level-guarantees h2 {
    text-align: center;
}
.service-level-guarantees > .container > p.text-center { /* Targeting the intro p for SLG section */
    max-width: 800px; 
    margin-left:auto; 
    margin-right:auto; 
    margin-bottom:1.5rem; /* As per inline style in HTML */
}

.guarantees-list {
    list-style: none;
    padding: 0;
    margin-top: calc(var(--spacing-unit) * 1.5);
    max-width: 750px; /* Constraining width for better readability of list items */
    margin-left: auto;
    margin-right: auto;
}
.guarantees-list li {
    background-color: var(--neutral-white);
    padding: calc(var(--spacing-unit) * 1.2); /* Adjusted padding */
    margin-bottom: var(--spacing-unit);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.07); /* Slightly softer shadow */
    display: flex;
    align-items: center; /* Vertically align icon and text */
    font-size: 0.95rem; /* Base font size for list items */
}
.guarantees-list li i {
    color: var(--primary-teal);
    font-size: 1.4rem; /* Adjusted icon size */
    margin-right: calc(var(--spacing-unit) * 1.2); /* Adjusted margin */
    flex-shrink: 0; /* Prevent icon from shrinking */
}
.guarantees-list li strong {
    color: var(--primary-blue); /* Make the strong text stand out */
}

/* --- Benefits/Advantages List (e.g., "Why Cloud Generalist for Professional Services?") --- */
/* This section reuses .advantages-list which should be defined in style.css or solutions.css */
/* If specific tweaks are needed for services pages, target them with page ID or more specific class */
/* Example: */
/* #professional-services-page .advantages-list li { font-size: 1rem; } */


/* --- Responsive Adjustments for Service Pages Specific Sections --- */
@media (max-width: 991px) { /* Tablet */
    .hero-service h1 { font-size: 2.5rem; } /* Overrides global h1 if needed for service heroes */
    .hero-service .hero-subtext { font-size: 1.15rem; }

    .offerings-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust for tablet */
    }
    .engagement-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust for tablet */
    }
}

@media (max-width: 767px) { /* Mobile */
    .hero-service h1 { font-size: 2.1rem; } /* Overrides global h1 for mobile service heroes */
    .hero-service .hero-subtext { font-size: 1.05rem; }

    .offerings-grid,
    .engagement-options-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .offering-item, .engagement-option {
        padding: calc(var(--spacing-unit) * 1.25); /* Adjust padding for mobile */
    }
    .offering-icon { font-size: 2rem; }
    .engagement-icon { font-size: 1.8rem; }
    .offering-item h3, .engagement-option h3 { font-size: 1.2rem; }
    .guarantees-list li {
        font-size: 0.9rem;
    }
    .guarantees-list li i {
        font-size: 1.2rem;
        margin-right: var(--spacing-unit);
    }
}