/*==========================
     ADMISSION PROCESS
===========================*/

.admission-process{
    position:relative;
    padding:80px 20px;
    overflow:hidden;
    background:#7c0d0d;
}


/*==========================
     BACKGROUND IMAGE
===========================*/

.admission-bg{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    background-image:url("../image/COMPUTER\ LAB\ IM.png");

    background-repeat:no-repeat;
    background-size:cover;
    background-position:center center;

    z-index:0;

    /* Slight smooth zoom */
    transform:scale(1.01);
}


/*==========================
     CONTENT
===========================*/

.admission-process .container{
    position:relative;
    z-index:2;
}


/*==========================
     SECTION TITLE
===========================*/

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title span{
    color:#f1dfb5;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
}

.section-title h2{
    font-size:40px;
    margin:12px 0;
    color:#fff;
}

.section-title p{
    max-width:650px;
    margin:auto;
    color:#fff;
    line-height:1.8;
}


/*==========================
     PROCESS GRID
===========================*/

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}


/*==========================
     TRANSPARENT CARD
===========================*/

.process-card{

    /* More transparent */
    background:rgba(255,255,255,0.68);

    padding:35px 25px;

    border-radius:18px;

    text-align:center;

    position:relative;

    border:1px solid rgba(255,255,255,0.55);

    /* Glass effect */
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);

    box-shadow:
        0 12px 35px rgba(0,0,0,0.20);

    opacity:0;

    transform:translateY(40px);

    animation:admissionCardShow .8s ease forwards;

    transition:
        transform .4s ease,
        background .4s ease,
        box-shadow .4s ease;
}


/*==========================
     CARD ANIMATION
===========================*/

@keyframes admissionCardShow{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


/* Animation Delay */

.process-card:nth-child(1){
    animation-delay:.1s;
}

.process-card:nth-child(2){
    animation-delay:.25s;
}

.process-card:nth-child(3){
    animation-delay:.4s;
}

.process-card:nth-child(4){
    animation-delay:.55s;
}


/*==========================
     CARD HOVER
===========================*/

.process-card:hover{

    transform:translateY(-10px);

    background:rgba(255,255,255,0.78);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.28);
}


/*==========================
     STEP NUMBER
===========================*/

.step-number{

    position:absolute;

    top:15px;
    right:20px;

    font-size:28px;

    font-weight:700;

    color:rgba(128,0,32,0.15);
}


/*==========================
     ICON
===========================*/

.process-card i{

    display:inline-block;

    width:75px;
    height:75px;

    line-height:75px;

    border-radius:50%;

    background:#800020;

    color:#fff;

    font-size:30px;

    margin-bottom:20px;

    transition:.4s;
}

.process-card:hover i{
    transform:scale(1.08);
}


/*==========================
     CARD TEXT
===========================*/

.process-card h3{

    font-size:22px;

    margin-bottom:15px;

    color:#171717;
}

.process-card p{

    color:#444;

    line-height:1.7;

    margin:0;
}


/*==========================
      TABLET
===========================*/

@media(max-width:992px){

    .process-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

}


/*==========================
      MOBILE
===========================*/

@media(max-width:768px){

    .admission-process{

        padding:55px 15px 60px;

        /* Important */
        min-height:auto;
    }


    /*==========================
       MOBILE BACKGROUND
    ===========================*/

    .admission-bg{

        position:absolute;

        top:0;
        left:0;

        width:100%;
        height:100%;

        background-size:auto 100%;

        background-position:center center;

        background-repeat:no-repeat;

        transform:scale(1);
    }


    /*==========================
       MOBILE TITLE
    ===========================*/

    .section-title{

        margin-bottom:32px;

        padding:0 5px;
    }

    .section-title span{

        font-size:13px;

        letter-spacing:1.2px;
    }

    .section-title h2{

        font-size:29px;

        line-height:1.25;

        margin:10px 0 12px;
    }

    .section-title p{

        font-size:14px;

        line-height:1.7;
    }


    /*==========================
       MOBILE GRID
    ===========================*/

    .process-grid{

        display:grid;

        grid-template-columns:1fr;

        gap:18px;

        width:100%;
    }


    /*==========================
       MOBILE CARD
    ===========================*/

    .process-card{

        width:100%;

        box-sizing:border-box;

        padding:28px 20px;

        border-radius:18px;

        /* More transparent */
        background:rgba(255,255,255,0.58);

        border:1px solid rgba(255,255,255,0.65);

        backdrop-filter:blur(2px);

        -webkit-backdrop-filter:blur(2px);

        box-shadow:
            0 8px 25px rgba(0,0,0,0.18);

        transform:translateY(30px);
    }


    .process-card:hover{

        transform:translateY(-5px);

        background:rgba(255,255,255,0.68);
    }


    .process-card h3{

        font-size:20px;

        margin-bottom:10px;
    }


    .process-card p{

        font-size:14px;

        line-height:1.65;
    }


    .step-number{

        top:12px;

        right:16px;

        font-size:24px;
    }


    .process-card i{

        width:68px;

        height:68px;

        line-height:68px;

        font-size:27px;

        margin-bottom:16px;
    }

}


/*==========================
      SMALL MOBILE
===========================*/

@media(max-width:480px){

    .admission-process{

        padding:45px 12px 50px;
    }


    /* Mobile image ko unnecessarily zoom nahi karega */
    .admission-bg{

        background-size:auto 100%;

        background-position:center center;
    }


    .section-title h2{

        font-size:26px;

        line-height:1.3;
    }


    .section-title p{

        font-size:13.5px;
    }


    .process-grid{

        gap:16px;
    }


    .process-card{

        padding:25px 17px;

        border-radius:16px;

        background:rgba(255,255,255,0.55);
    }


    .process-card i{

        width:64px;

        height:64px;

        line-height:64px;

        font-size:25px;
    }


    .process-card h3{

        font-size:19px;
    }


    .process-card p{

        font-size:13.5px;
    }

}