/* css/solutions.css */

/* --- Solution Page Hero Section --- */
.hero-solution {
    padding: calc(var(--spacing-unit) * 5) 0;
    color: var(--neutral-white); 
    text-align: center;
    position: relative; 
    /* background-image, size, position, repeat are set inline in HTML for unique heroes */
}

.hero-solution .hero-overlay { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 30, 60, 0.65); /* Default overlay, can be adjusted by more specific heroes if needed */
    z-index: 1;
}

.hero-solution .container { 
    position: relative;
    z-index: 2;
}

.hero-solution h1 {
    color: var(--neutral-white); 
    /* font-size: 2.8rem; -- Inherits global h1 style */
    margin-bottom: var(--spacing-unit);
}

.hero-solution .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, e.g., overlay color if needed */
.genesys-hero { /* background-image is inline */ }
.genesys-hero .hero-overlay { /* background-color: rgba(0, 40, 80, 0.7); /* Example override */ }

.ai-cx-hero { /* background-image is inline */ }
.ai-cx-hero .hero-overlay { /* background-color: rgba(10, 0, 50, 0.7); /* Example override */ }

.telephony-hero { /* background-image is inline */ }
.telephony-hero .hero-overlay { /* background-color: rgba(0, 50, 20, 0.7); /* Example override */ }


/* --- Solution Intro Section --- */
.solution-intro { /* Common intro section for solution pages */
    text-align: center;
}
.solution-intro h2 { /* Assuming global h2 style is fine, otherwise specify */
    margin-bottom: var(--spacing-unit);
}
.solution-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);
}
.solution-intro h3 { /* For sub-headings like "Why Cloud Generalist for X?" */
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 0.75);
}

/* --- Features & Benefits Section --- */
.features-benefits h2 {
    text-align: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); /* Slightly adjusted min */
    gap: calc(var(--spacing-unit) * 1.75); /* Adjusted gap */
    margin-top: calc(var(--spacing-unit) * 2);
}
.feature-item {
    background-color: var(--neutral-white);
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 1.75); /* Adjusted padding */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.feature-icon {
    color: var(--primary-teal);
    margin-bottom: var(--spacing-unit);
    display: block; 
    font-size: 2.3rem; /* Adjusted icon size */
}
.feature-item h3 {
    font-size: 1.35rem; /* Adjusted heading */
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.feature-item p {
    font-size: 0.92rem; /* Adjusted text */
    color: var(--neutral-dark-gray);
    margin-bottom: 0;
    line-height: 1.6;
    flex-grow: 1; 
}

/* --- Our Expertise / Methodology Section --- */
/* This section name is used on multiple solution pages, good for common styling */
.our-expertise h2, .our-methodology h2 { /* Assuming .our-methodology is a variant or similar section */
    text-align: center;
}
.our-expertise > .container > p:first-of-type { /* Intro paragraph for the section */
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-size: 1.05rem;
}

.methodology-steps {
    display: grid;
    grid-template-columns: 1fr; 
    gap: calc(var(--spacing-unit) * 1.5); /* Adjusted gap */
    margin-top: calc(var(--spacing-unit) * 2);
}
.step-item {
    background-color: var(--neutral-light-gray);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start; /* Align number and text block */
    border-left: 5px solid var(--primary-teal);
}
.step-number {
    font-size: 1.7rem; /* Adjusted */
    font-weight: 700;
    color: var(--primary-teal);
    margin-right: calc(var(--spacing-unit) * 1.25); /* Adjusted */
    line-height: 1; 
    background-color: var(--neutral-white);
    border-radius: 50%;
    width: 40px; /* Adjusted */
    height: 40px; /* Adjusted */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.step-item h3 {
    font-size: 1.25rem; /* Adjusted */
    margin-bottom: calc(var(--spacing-unit) * 0.3);
    color: var(--primary-blue);
}
.step-item p {
    font-size: 0.93rem; /* Adjusted */
    color: var(--neutral-dark-gray);
    margin-bottom: 0;
}
.methodology-diagram-container { 
    margin-top: calc(var(--spacing-unit) * 2.5);
    padding: var(--spacing-unit);
    background-color: var(--neutral-white); 
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.methodology-diagram { 
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) - 4px); 
}


/* --- Customization & Deployment Section --- */
.custom-deploy h2 { text-align: center; }
.custom-deploy > .container > p:first-of-type { /* Intro paragraph */
    text-align: center; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
    margin-bottom: calc(var(--spacing-unit) * 2); 
    font-size: 1.05rem;
}
.custom-options-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* Adjusted */
    gap: calc(var(--spacing-unit) * 1.75); /* Adjusted */
    margin-top: calc(var(--spacing-unit) * 2); 
}
.custom-option-item { 
    background-color: var(--neutral-white); 
    padding: calc(var(--spacing-unit) * 1.5); 
    border-radius: var(--border-radius); 
    text-align: center; 
    box-shadow: var(--box-shadow); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.option-icon { 
    color: var(--primary-blue); 
    margin-bottom: var(--spacing-unit); 
    font-size: 2rem; /* Adjusted */
}
.custom-option-item h3 { 
    font-size: 1.25rem; /* Adjusted */
    margin-bottom: calc(var(--spacing-unit) * 0.5); 
}
.custom-option-item p { 
    font-size: 0.92rem; /* Adjusted */
    color: var(--neutral-dark-gray); 
    margin-bottom: 0; 
    flex-grow: 1; 
}


/* --- Solution Case Study / Testimonial Snippet --- */
.solution-case-study h2 { text-align: center; }
.testimonial-blockquote { /* This might be global in style.css, if so, these are overrides or ensure consistency */
    max-width: 750px; 
    margin: calc(var(--spacing-unit) * 1.5) auto; 
}
.testimonial-blockquote blockquote { 
    background-color: var(--neutral-light-gray); 
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2); 
    border-left: 5px solid var(--primary-teal); 
    border-radius: 0 var(--border-radius) var(--border-radius) 0; 
    margin: 0; 
}
.testimonial-blockquote blockquote p { 
    font-style: italic; 
    font-size: 1.05rem; 
    margin-bottom: var(--spacing-unit); 
    color: var(--text-color); 
    line-height: 1.7; 
}
.testimonial-blockquote blockquote p strong { 
    color: var(--primary-teal); 
}
.testimonial-blockquote blockquote footer { 
    font-weight: 600; 
    color: var(--primary-blue); 
    font-style: normal; 
    text-align: right; 
}


/* --- Why Partner With Us (Solution Specific Advantages) --- */
.why-us-solution h2 { text-align: center; }
.advantages-list { /* This might be global in style.css */
    list-style: none; 
    padding: 0; 
    max-width: 800px; 
    margin: calc(var(--spacing-unit) * 2) auto 0 auto; 
}
.advantages-list li { 
    font-size: 1.05rem; 
    padding: calc(var(--spacing-unit) * 0.75) 0; 
    display: flex; 
    align-items: flex-start;  
    border-bottom: 1px solid var(--neutral-medium-gray); 
}
.advantages-list li:last-child { border-bottom: none; }
.advantages-list li i { 
    color: var(--primary-teal); 
    margin-right: calc(var(--spacing-unit) * 1); 
    margin-top: 4px;  /* Aligns icon with first line of text */
    width: 20px;  
    flex-shrink: 0; 
}
.advantages-list li strong { 
    color: var(--primary-blue); 
    margin-right: 5px; 
}


/* --- ROI Calculators / Tools Placeholders --- */
.roi-calculator-section h2, .tools-section h2 { text-align: center; }
.roi-calculator-placeholder, .tool-placeholder { 
    background-color: var(--neutral-white); 
    padding: calc(var(--spacing-unit) * 2); 
    border: 2px dashed var(--primary-teal); 
    border-radius: var(--border-radius); 
    text-align: center; 
    margin-top: calc(var(--spacing-unit) * 2); 
}
.roi-calculator-placeholder p, .tool-placeholder p { 
    font-size: 1.1rem; 
    color: var(--neutral-dark-gray); 
    margin-bottom: calc(var(--spacing-unit) * 1.5); 
}
.roi-calculator-placeholder i, .tool-placeholder i { 
    color: var(--primary-teal); 
    font-size: 2.5rem; 
    margin-bottom: var(--spacing-unit); 
}


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

    .features-grid, .custom-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Adjust for tablet */
    }
}

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

    .features-grid,
    .custom-options-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .feature-item, .custom-option-item {
        padding: calc(var(--spacing-unit) * 1.25); /* Adjust mobile padding */
    }
    .feature-icon { font-size: 2rem; }
    .option-icon { font-size: 1.8rem; }
    .feature-item h3, .custom-option-item h3 { font-size: 1.2rem; }

    .step-item {
        flex-direction: column; 
        align-items: center;
        text-align: center;
    }
    .step-number {
        margin-right: 0;
        margin-bottom: var(--spacing-unit);
    }
    /* .step-item h3 { text-align: center; } -- already centered by parent */
    
    .advantages-list li {
        font-size: 1rem;
        align-items: center; 
        text-align: center;
        flex-direction: column;
    }
    .advantages-list li i {
        margin-right: 0;
        margin-bottom: calc(var(--spacing-unit) * 0.5);
        margin-top: 0; /* Reset from desktop */
    }
    .roi-calculator-placeholder i, .tool-placeholder i { font-size: 2rem; }
    .roi-calculator-placeholder p, .tool-placeholder p { font-size: 1rem; }
}