﻿.module-hero {
    text-align: center;
    padding: 4rem 15%;
    border-radius: 0px 0px 24px 24px;
    color: white;
    margin-bottom: 1rem;
    animation: fadeIn 0.8s ease-in-out;
}

    .module-hero h2 {
        text-align: start;
        padding-top: 5px;
        padding-bottom: 5px;
        font-weight: 300;
    }

    .module-hero p {
        text-align: start;
        padding-top: 10px;
        padding-bottom: 0px;
        font-weight: 300;
    }

    .module-hero.customers {
        background: linear-gradient(135deg, #1E222F, #37416B);
    }

    .module-hero.suppliers {
        background: linear-gradient(135deg, #1E222F, #5A6D9A);
    }



.module-hr {
    align-self: start;
    border: none;
    height: 1.5px;
    background-color: #5B687E;
    width: 5%;
    margin-left: 50px auto;
    margin-top: 0.5rem;
}


.module-problem-solution-container {
    background-color: #F0F3F6;
    display: flex;
    flex-wrap: wrap;
    /*    grid-template-columns: 1fr 1fr;
*/ gap: 20px;
    padding: 30px 10%;
}

.problem-statement,
.solution-details {
    flex: 1; /* Allows boxes to grow and fill the container space equally */
    padding: 20px;
    border-radius: 5px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

/* Styling the problem section */
.problem-statement {
    background-color: rgba(248,215,218, 0.4);
    border: 0px solid #dc3545;
    color: #f8d7da;
}

/* Styling the solution section */
.solution-details {
    background-color: rgba(212,237,218, 0.4);
    border: 0px solid #28a745;
    color: #d4edda;
}

    /* Styling the headers */
    .problem-statement h2,
    .solution-details h2 {
        margin-top: 0;
        font-size: 1.5rem;
        font-weight:300;
        border-bottom: 2px solid; /* Underline effect for headers */
        padding-bottom: 10px;
    }

.module-problem {
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5rem;
}



.module-features {
    background-color: transparent;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;

    position: relative;
    padding: 0% 10% 5% 10%;
}

.module-feature {
    display: flex;
    flex-direction: row;
    border: 1px solid rgba(240,243,246, 0.3);
    align-items: flex-start;
    gap: 20px;
    min-height: 30%;
    padding: 1rem;
    border-radius: 20px;
    font-weight: 400;
    margin: 10px;
    top:0px;
}

    .module-feature h2 {
        font-weight: 300;
    }



.module-feature-items {
    top: 0;
    display: grid;
    grid-template-rows: repeat(auto-fit, minmax(10px, 1fr));
    gap: 2px;
    position: relative;
    font-size: 1rem;
}


.module-how {
    background: #0f172a;
    width: 100%;
    padding: 2rem;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeSlideUp 0.8s ease-in-out forwards;
}

    .module-how h4 {
        text-align: start;
        margin-left: 1rem;
        font-weight:200;
    }
    .module-how h6 {
        text-align: start;
        margin-left: 1rem;
        color: rgba(155,183,212);
        font-weight: 250;
    }


.module-how-it-works {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    margin: 0 auto;
    background: #0f172a;
    width: 100%;
    padding: 3rem 3rem;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeSlideUp 0.8s ease-in-out forwards;
}



.module-step {
    padding: 10px 20px 10px 30px; /* Adjust padding for text and arrow overlap */
    color: #1E222F;
    position: relative;
    margin-right: 15px; /* Adjust margin to control overlap */
    z-index: 2; /* Must be higher than the background-number z-index */
    background: #1e293b;
    /* The parent must have a position other than 'static' */
    /*    overflow: hidden;
*/
}

    .module-step short {
        min-height: 80px;
    }

    /* Create the right-pointing arrow effect */
    .module-step::after {
        content: "";
        position: relative;
        position: absolute;
        right: -15px; /* Half of the margin-right */
        top: 0;
        border-top: 20px solid transparent; /* Half of step height */
        border-bottom: 20px solid transparent; /* Half of step height */
        border-left: 15px solid rgba(155,183,212,0.3); /* Matches background color */
    }

    /* Create the left-pointing indent effect */
    .module-step::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 15px solid #9BB7D4; /* Matches page background */
    }

    /* Style for the first and last steps to have flat edges */
    .module-step:first-child::before {
        display: none;
    }

    .module-step:last-child::after {
        display: none;
    }

    /* Style for active step */
    .module-step.active {
        background: #007bff;
    }

        .module-step.active::after {
            border-left-color: #007bff;
        }


.module-step-background-number {
    position: absolute; /* Positions the number relative to .hero-container */
    top: 35%;
    left: -7px;
    font-size: 80vw; /* Makes the number large and responsive */
    color: rgba(155,183,212,0.3); /* Light color so it looks like a background */
    z-index: 1; /* Puts it in the background */
    pointer-events: none; /* Allows clicks to pass through to elements behind it */
    background-color: transparent;
}

.module-step-foreground-content {
    position: relative; /* Brings this content to the front */
    z-index: 2; /* Must be higher than the background-number z-index */
    padding-left: 10px;
    padding-top: 10px;
    height: 100px;
    text-align: center;
    color: rgba(155,183,212);
    font-size:1.2rem;
}






/*---------------------------
*//* Modern card styling */
.module-expand {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    padding:50px 200px;
}

@media (min-width: 768px) {
    .module-expand {
        grid-template-columns: 1fr 1fr;
    }
}

.module-expand-detail {
    border: 0.5px solid #394D73;
    border-radius: 7px;
    background-color: transparent;
    box-shadow: 0 2px 2px rgba(0,0,0,0.06);
    overflow: hidden;
}

    .module-expand-detail > summary {
        list-style: none; /* remove default marker */
        padding: 1rem 1.25rem;
        cursor: pointer;
        display: grid;
        row-gap: 0.25rem;
    }

        .module-expand-detail > summary::-webkit-details-marker {
            display: none;
        }

.module-expand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .module-expand-header h3 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: #F0F3F6;
    }

.module-subtitle {
    margin: 0;
    color: #F0F3F6;
    font-size: 0.9rem;
}

.chevron {
    width: 16px;
    height: 16px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: rotate(-45deg);
    transition: transform 200ms ease;
}

.module-expand-detail[open] .chevron {
    transform: rotate(135deg);
}

.module-expand-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
    color: #F0F3F6;
}

/* Hover & focus states */
.module-expand-detail > summary:hover {
    background: #394D73;
}

.module-expand-detail > summary:focus {
    outline: 3px solid #93c5fd;
    outline-offset: -3px;
    border-radius: 12px 12px 0 0;
}



.module-why-it-matters{
    padding: 20px 15%;
}

    .module-why-it-matters p {
        font-size: 1.2rem;
        animation: fadeIn 0.8s ease-in-out;
    }



.micro-delight {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    padding: 5%;
}

.micro-delight p{
    text-align:center;
    font-size:1.5rem;
}



















.how-it-works {
    padding: 4rem 2rem;
    background: #0f172a; /* dark tech background */
    color: #f1f5f9;
    text-align: center;

    position: relative; /* Establishes positioning context */
    overflow: hidden; /* Optional: prevents the line from causing horizontal scroll if width is > 100% */
    padding: 20px; /* Add padding so content doesn't sit on the line */
}

    .how-it-works::before {
        content: "";
        position: absolute;
        top: 50%; /* Moves the top of the line to the middle */
        left: 0;
        right: 0; /* Stretches the line across the full width */
        height: 20px; /* Thickness of the line */
        background-color: red; /* Color of the line */
        z-index: -1; /* Puts the line behind other content */
        transform: translateY(-50%); /* Centers the line exactly on the vertical axis */
    }


.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(90deg,#38bdf8,#818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    margin: 0 auto;


    position: relative;
    z-index: 1;
    background: transparent; /* Add a background color to prevent text transparency issues */
    padding: 10px;
}


.step-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .step-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 20px rgba(56,189,248,0.3);
    }

.step-icon {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
}














.how-it-works-timeline {
    padding: 4rem 2rem;
    background: #0f172a;
    color: #f1f5f9;
    
}


.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
    border-left: 2px solid #334155;
}

.timeline-step {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -1.25rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #38bdf8;
    color: #0f172a;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(56,189,248,0.6);
}

.timeline-marker-square {
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 0.5rem;
    height: 2rem;
    border-radius: 0%;
    background: #38bdf8;
    color: #0f172a;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(56,189,248,0.6);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    margin-left:25px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-left: 25px;
}


.cta-section {
   text-align:center;
   padding:5%;
}