
/* ===========================
   FORTHMAY ABM MODULE
   FINAL PRODUCTION READY CSS
=========================== */

.forthmay-abm-section{
    padding: 80px 20px;
    background: #070b14;
    font-family: "Segoe UI", sans-serif;
    color: #fff;

    /* ALL 4 CORNERS ROUND */
    border-radius: 50px;

    overflow: hidden;
    margin: 40px;
}

/* ===========================
   MAIN TITLE (H2)
=========================== */

.forthmay-abm-title{
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 60px;

    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===========================
   TIMELINE WRAPPER
=========================== */

.forthmay-timeline{
    max-width: 1000px;
    margin: auto;
    position: relative;
}

/* CENTER LINE */
.forthmay-timeline::before{
    content: "";
    position: absolute;
    width: 2px;
    background: rgba(255,255,255,0.12);
    top: 0;
    bottom: 0;
    left: 50%;
}

/* ===========================
   TIMELINE ITEM
=========================== */

.forthmay-item{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* NUMBER CIRCLE */
.forthmay-num{
    width: 55px;
    height: 55px;
    border-radius: 50%;

    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 16px;

    box-shadow: 0 10px 25px rgba(0,198,255,0.25);
    z-index: 2;
}

/* ===========================
   CONTENT BOX
=========================== */

.forthmay-content{
    width: 80%;

    background: rgba(255,255,255,0.04);
    padding: 22px 25px;

    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    transition: all 0.3s ease;
    cursor: pointer;
}

/* HOVER EFFECT */
.forthmay-content:hover{
    transform: translateY(-6px);
    border-color: rgba(0,198,255,0.5);
    box-shadow: 0 10px 30px rgba(0,198,255,0.15);
}

/* ===========================
   H4 HEADING FIX
=========================== */

.forthmay-content h4{
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;

    color: #ffffff;
    line-height: 1.4;
    letter-spacing: 0.2px;
    opacity: 1;
}

/* ===========================
   PARAGRAPH
=========================== */

.forthmay-content p{
    font-size: 14px;
    line-height: 1.7;

    color: rgba(255,255,255,0.82);

    margin: 0;
    opacity: 1;
}

/* ===========================
   ALTERNATING LAYOUT (DESKTOP)
=========================== */

.forthmay-item:nth-child(odd){
    flex-direction: row;
}

.forthmay-item:nth-child(even){
    flex-direction: row-reverse;
}

/* ===========================
   MOBILE FIX (IMPORTANT)
=========================== */

@media(max-width: 768px){

    .forthmay-abm-section{
        margin: 20px;
        border-radius: 30px;
    }

    /* MOVE LINE TO LEFT */
    .forthmay-timeline::before{
        left: 18px;
    }

    /* STACK ITEMS PROPERLY */
    .forthmay-item{
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
        position: relative;
    }

    /* FIX NUMBER VISIBILITY (1–6 FIX) */
    .forthmay-num{
        position: absolute;
        left: 0;
        top: 0;

        width: 40px;
        height: 40px;

        font-size: 14px;
        z-index: 5;
    }

    /* FULL WIDTH CONTENT */
    .forthmay-content{
        width: 100%;
    }

    .forthmay-abm-title{
        font-size: 30px;
    }
}