/* Custom styles for the Manufacturing splash page */
html, body {
    height: 100%;
    margin: 0;
    /* Removed: overflow: hidden; */
    display: flex;
    flex-direction: column;
}

main.xforia-manufacturing-page {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* This will center all direct children (sections) */
    padding: 2rem 5%;
    box-sizing: border-box;
    /* Removed: overflow-y: auto; */
}

/* Add this to create a container for content that is centered and has a max width */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    margin: 0;
}

header {
    /* Assuming header has a fixed height or adjusts dynamically */
    /* Add any necessary styling for your header here */
    padding: 1rem 5%;
    background-color: #fff; /* Example background */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Example shadow */
    z-index: 1000;
}


.intro-section {
    margin-bottom: 1rem; /* Reduced spacing */
    text-align: center; /* Center the text within the intro section */
    width: 100%; /* Ensure it takes full width to allow centering */
}

.intro-headline {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center; /* Explicitly center the headline */
}

.intro-subheadline {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto; /* Center block element */
    margin-right: auto; /* Center block element */
}

.features-section {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for Business Outcomes and Integration Flow */
    gap: 2rem;
    width: 100%;
    padding: 0px;
    max-width: 1000px;
    margin-bottom: 2rem;
    align-items: start; /* Align items to the top of their grid cells */
}

.feature-card {
    background-color: var(--secondary-bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 100%; /* Ensure cards take full height of their grid cell */
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-header h2 {
    font-size: 1.8em;
    font-weight: 700;
}

.feature-header i {
    font-size: 2em;
    color: var(--accent-color);
}

.pipeline-step {
    margin-bottom: 1rem;
}

.pipeline-step h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.pipeline-step i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.pipeline-step p {
    font-size: 0.9em;
    line-height: 1.5;
    color: var(--text-color);
}

.outcomes-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start; /* Align content to the left inside the card */
}

.outcome-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between each outcome item */
    width: 100%;
    margin-top: 10px;
}

.outcome-item {
    display: flex;
    flex-direction: column; /* Change to column to stack icon/title and text */
    align-items: flex-start;
    gap: 5px; /* Reduced gap between icon/title and paragraph */
    padding: 15px;
    font-size: 1.1em;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.outcome-item:hover {
    transform: translateY(-5px);
}

.outcome-item h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.outcome-item h4 i {
    margin-right: 0; /* Remove right margin since it's now part of flex gap */
}
.outcome-item > i {
    display: none; /* Hide the old icon to prevent duplicates */
}

.outcome-item h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.outcome-item h4 i {
    color: var(--accent-color);
    font-size: 1.5em;
    margin-right: 0.5rem;
}

.outcome-item p {
    margin: 0;
    font-size: 0.9em;
}

.integration-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    align-items: center;
}

.flowchart-container {
    margin-top: 1rem;
    width: 100%;
    display: flex; /* Use flex to center the image if it's smaller than container */
    justify-content: center;
}

.flowchart-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin-top: 2rem;
}

.company-input-group {
    width: 100%;
}

#companyNameInput {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    border: 2px solid var(--text-color);
    font-size: 1em;
    text-align: center;
    box-sizing: border-box; /* Ensures padding doesn't affect total width */
    transition: border-color 0.3s;
}

#companyNameInput::placeholder {
    color: #999;
    font-style: italic;
}

#companyNameInput:focus {
    outline: none;
    border-color: var(--accent-color);
}

.demo-button {
    background-color: var(--accent-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.demo-button:hover {
    background-color: #2c974b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: var(--footer-bg-color, #203731); /* Use your footer background color */
    color: var(--footer-text-color, #ffffff); /* Use your footer text color */
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    flex-shrink: 0; /* Prevents footer from shrinking */
    box-sizing: border-box;
}

/* General styles (assuming this is in style.css or a base CSS) */
:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #38b000; /* A shade of green for buttons/icons */
    --text-color: #4a4a4a;
    --light-text-color: #e0e1dd;
    --bg-color: #f8f9fa;
    --secondary-bg-color: #ffffff;
    --shadow-light: 0 2px 5px rgba(0,0,0,0.08);
    --shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
    --footer-bg-color: #203731; /* Added for footer */
    --footer-text-color: #ffffff; /* Added for footer */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}
