/* AM About Supply Chain Section (S-Curve) */
.am-about-sc-section {
    width: 100%;
    padding: 100px 20px 140px 20px;
    background-color: #0b0c10; /* Very dark background */
    background-image: radial-gradient(circle at center, #151516 0%, #0b0c10 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.am-asc-container {
    max-width: 1400px; /* Extremely wide layout to match image */
    width: 100%;
    margin: 0 auto;
}

/* Header */
.am-asc-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 100px auto;
}

.am-asc-title {
    font-family: 'Megante', serif;
    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.am-asc-title span {
    color: #3858e9;
}

.am-asc-desc {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.8;
    color: #94a3b8;
    margin: 0;
}

/* Pipeline Layout */
.am-asc-pipeline {
    position: relative;
}

/* SVG Overlay for Dotted Line */
.am-sc-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.am-sc-path {
    fill: none;
    stroke: #3858e9;
    stroke-width: 2.5;
    stroke-dasharray: 8 12; /* Dotted effect */
    animation: dash-move 30s linear infinite; /* Moving effect */
}

@keyframes dash-move {
    to { stroke-dashoffset: -1000; }
}

/* The Grid */
.am-asc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        "node0 node1"
        "node3 node2"
        "node4 node5";
    row-gap: 80px;
    column-gap: 250px; /* Very wide horizontal gap */
    position: relative;
    z-index: 1;
}

/* Grid Area Assignments */
.node-0 { grid-area: node0; }
.node-1 { grid-area: node1; }
.node-2 { grid-area: node2; }
.node-3 { grid-area: node3; }
.node-4 { grid-area: node4; }
.node-5 { grid-area: node5; }

/* Pipeline Cards */
.am-asc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.am-asc-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
    display: inline-block;
}

.am-asc-icon {
    width: 80px;
    height: 80px;
    background-color: #0b0c10;
    border: 2px solid rgba(56, 88, 233, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.am-asc-icon svg {
    width: 32px;
    height: 32px;
    opacity: 0.8;
}

/* Active Glow for Step 1 or Hover */
.am-asc-icon.is-active,
.am-asc-card:hover .am-asc-icon {
    border-color: #3858e9;
    box-shadow: 0 0 25px rgba(56, 88, 233, 0.5), inset 0 0 10px rgba(56, 88, 233, 0.4);
}

.am-asc-icon.is-active svg,
.am-asc-card:hover .am-asc-icon svg {
    border-color: #55f3fb;
    opacity: 1;
    color: #3858e9;
}

/* The Number Badge (01, 02) */
.am-asc-badge-num {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #3858e9;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 2px solid #0b0c10;
}

.am-asc-icon.is-active + .am-asc-badge-num {
    background-color: #55f3fb; /* Bright cyan accent for active */
    color: #0b0c10;
}

/* Text Content */
.am-asc-phase {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #3858e9;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.am-asc-icon.is-active ~ .am-asc-phase {
    color: #55f3fb;
}

.am-asc-card-title {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.am-asc-card-desc {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #718096;
    margin: 0;
    max-width: 280px;
}

/* Responsive */
@media (max-width: 768px) {
    .am-about-sc-section {
        padding: 80px 20px;
    }

    .am-asc-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        grid-template-areas: 
            "node0"
            "node1"
            "node2"
            "node3"
            "node4"
            "node5";
        row-gap: 50px;
    }
}
