/* ==================================================
   ONLINE ENQUIRY FORM - PREMIUM UNIVERSITY STYLE
================================================== */

.enquiry-section{
    padding:80px 20px;
    background:linear-gradient(135deg,#f7f9fc,#edf3ff);
}

.card{
    max-width:1100px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    padding:45px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    border:1px solid rgba(0,0,0,.05);
}

.card h2{
    text-align:center;
    color:#7a0019;
    font-size:38px;
    margin-bottom:40px;
    font-weight:700;
}

/* ==================================================
   FORM GRID
================================================== */

.grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:25px;
}

.grid input,
.grid select{

    width:100%;
    padding:15px 18px;

    font-size:15px;

    border:1px solid #d7dce5;

    border-radius:12px;

    background:#fff;

    transition:.35s;

    font-family:inherit;

    box-sizing:border-box;
}

.grid input:focus,
.grid select:focus{

    outline:none;

    border-color:#7a0019;

    box-shadow:0 0 0 5px rgba(122,0,25,.08);

    transform:translateY(-2px);
}

/* ==================================================
   JEE & GATE SECTION
================================================== */

#jeeSection,
#gateSection{

    margin-top:30px;

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:25px;
}

#jeeSection select,
#jeeSection input,
#gateSection select,
#gateSection input{

    width:100%;

    padding:15px 18px;

    border:1px solid #d7dce5;

    border-radius:12px;

    font-size:15px;

    transition:.35s;

    box-sizing:border-box;
}

#jeeSection select:focus,
#jeeSection input:focus,
#gateSection select:focus,
#gateSection input:focus{

    outline:none;

    border-color:#7a0019;

    box-shadow:0 0 0 5px rgba(122,0,25,.08);
}

/* ==================================================
   BUTTON
================================================== */

button{

    margin-top:35px;

    width:100%;

    padding:16px;

    border:none;

    border-radius:50px;

    background:linear-gradient(135deg,#7a0019,#a10028);

    color:#fff;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.35s;
}

button:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(122,0,25,.25);
}

/* ==================================================
   PLACEHOLDER
================================================== */

input::placeholder{

    color:#9a9a9a;
}

/* ==================================================
   SELECT ARROW
================================================== */

select{

    appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%237a0019' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:right 18px center;

    padding-right:50px;
}

/* ==================================================
   ANIMATION
================================================== */

.card{

    animation:fadeUp .6s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);
    }

    to{

        opacity:1;

        transform:translateY(0);
    }
}

/* ==================================================
   RESPONSIVE
================================================== */

@media(max-width:992px){

    .grid{

        grid-template-columns:1fr;
    }

    #jeeSection,
    #gateSection{

        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .enquiry-section{

        padding:50px 15px;
    }

    .card{

        padding:25px;
    }

    .card h2{

        font-size:30px;
    }

}