/* Reset & Base */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #f4f6f9;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3 {
    margin-top: 0;
}

.center-text {
    text-align: center;
    max-width: 900px;
    margin: auto;
}

/* HERO */
header {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

header p {
    font-size: 18px;
    max-width: 800px;
    margin: auto;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    background: #ff9800;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.btn:hover {
    background: #e68900;
}

/* SECTIONS */
section {
    padding: 70px 20px;
    max-width: 1200px;
    margin: auto;
}

section.alt {
    background: #eef3f7;
}

h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #0f2027;
}

/* GRID & CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card h3 {
    color: #203a43;
}

/* HIGHLIGHT */
.highlight {
    border-left: 5px solid #ff9800;
}

/* CTA */
.cta {
    background: #203a43;
    color: #fff;
    text-align: center;
}

.cta h2 {
    color: #fff;
}

.cta p {
    max-width: 700px;
    margin: auto;
}

/* FOOTER */
footer {
    background: #0f2027;
    color: #bbb;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    header h1 {
        font-size: 30px;
    }
}

/* ENGINEERING WORKFLOW DIAGRAM */

.workflow-section {
    background: #eef3f7;
    padding: 70px 20px;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: auto;
}

.workflow-step {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 180px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.workflow-step h3 {
    margin: 12px 0 5px;
    font-size: 16px;
    color: #203a43;
}

.workflow-step p {
    font-size: 13px;
    color: #555;
}

/* Icons */
.workflow-step .icon {
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 50%;
    background: #ff9800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-step .icon i {
    font-size: 26px;
    color: #fff;
}

/* Arrows */
.arrow i {
    font-size: 22px;
    color: #999;
}

/* Hover effect */
.workflow-step:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}

/* Responsive (Mobile) */
@media (max-width: 900px) {
    .workflow-diagram {
        flex-direction: column;
    }

    .arrow i {
        transform: rotate(90deg);
    }
}

/* VERTICAL SWIM-LANE WORKFLOW */

.swimlane-section {
    padding: 70px 20px;
    background: #f4f6f9;
}

.swimlane-container {
    max-width: 600px;
    margin: auto;
}

/* Lane Card */
.lane {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Lane Header */
.lane-header {
    background: #203a43;
    color: #fff;
    padding: 10px 15px;
    font-weight: 600;
    text-align: center;
}

/* Lane Body */
.lane-body {
    padding: 25px;
    text-align: center;
}

.lane-body i {
    font-size: 36px;
    color: #ff9800;
    margin-bottom: 10px;
}

.lane-body h3 {
    margin: 10px 0 5px;
    color: #203a43;
}

.lane-body p {
    font-size: 14px;
    color: #555;
}

.role {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    background: #eef3f7;
    padding: 5px 10px;
    border-radius: 20px;
    color: #333;
}

/* Connector Line */
.connector {
    width: 4px;
    height: 30px;
    background: #ff9800;
    margin: 10px auto;
    border-radius: 10px;
}

/* Hover Effect */
.lane:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
}

/* APPROVAL DECISION BRANCH */

.decision {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}

.branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    width: 45%;
}

.branch i {
    font-size: 24px;
    margin-bottom: 5px;
}

/* Approve */
.branch.approve i {
    color: #2e7d32;
}

.branch.approve span {
    color: #2e7d32;
    font-weight: 600;
}

/* Reject */
.branch.reject i {
    color: #c62828;
}

.branch.reject span {
    color: #c62828;
    font-weight: 600;
}

/* Decision lines */
.decision::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    width: 2px;
    height: 15px;
    background: #ff9800;
}

.branch::before {
    content: "";
    position: absolute;
    top: 15px;
    width: 2px;
    height: 15px;
    background: #999;
}

.branch.approve::before {
    left: 25%;
}

.branch.reject::before {
    left: 75%;
}

/* Reject note */
.reject-note {
    margin-top: 10px;
    font-size: 12px;
    color: #c62828;
    font-style: italic;
}


/* MODULE ICONS */
.module {
    text-align: center;
}

.module i {
    font-size: 42px;
    color: #ff9800;
    margin-bottom: 15px;
}

.module h3 {
    margin-top: 10px;
}

/* Optional hover effect */
.module:hover i {
    transform: scale(1.15);
    transition: 0.3s ease;
}