/* ===================================================
   UPBRINGING PAYMENT PAGE
   PART 1
=================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#0d1b6e;
    --secondary:#1565c0;
    --green:#25d366;
    --gold:#ffd54f;
    --danger:#e53935;
    --bg:#f5f7fc;
    --text:#333;

}

body{

    background:var(--bg);

    font-family:'Roboto',sans-serif;

    color:var(--text);

    line-height:1.6;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* ==========================
   HEADER
========================== */

.payment-header{

    background:var(--primary);

    padding:18px 0;

    box-shadow:0 8px 25px rgba(0,0,0,.12);

}

.payment-header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo img{

    height:60px;

}

.secure{

    background:#fff;

    color:var(--primary);

    padding:10px 18px;

    border-radius:40px;

    display:flex;

    align-items:center;

    gap:8px;

    font-weight:700;

    font-size:15px;

}

/* ==========================
   MAIN PAGE
========================== */

.payment-page{

    padding:60px 0;

}

.payment-grid{

    display:grid;

    grid-template-columns:1fr 400px;

    gap:35px;

    align-items:start;

}

/* ==========================
   LEFT COLUMN
========================== */

.left-card{

    display:flex;

    flex-direction:column;

    gap:25px;

}

/* ==========================
   CARD
========================== */

.course-box,

.course-details,

.instructions{

    background:#fff;

    border-radius:18px;

    padding:30px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.badge{

    display:inline-block;

    background:var(--gold);

    color:#000;

    padding:8px 18px;

    border-radius:30px;

    font-size:12px;

    font-weight:bold;

    margin-bottom:18px;

}

.course-box h1{

    color:var(--primary);

    font-size:34px;

    margin-bottom:10px;

}

.course-box p{

    color:#666;

}

/* ==========================
   COURSE DETAILS
========================== */

.course-details h2{

    color:var(--primary);

    margin-bottom:20px;

}

.course-select{

    width:100%;

    padding:15px;

    border:2px solid #dfe6ff;

    border-radius:10px;

    font-size:17px;

    font-weight:600;

    margin-bottom:25px;

    background:#fff;

    cursor:pointer;

    transition:.3s;

}

.course-select:hover{

    border-color:var(--secondary);

}

.course-select:focus{

    outline:none;

    border-color:var(--secondary);

    box-shadow:0 0 0 4px rgba(21,101,192,.15);

}

.fee-row{

    display:flex;

    justify-content:space-between;

    padding:15px 0;

    border-bottom:1px solid #ececec;

}

.fee-row:last-child{

    border:none;

}

.fee-row span{

    color:#666;

}

.fee-row strong{

    color:var(--primary);

    font-size:17px;

}

/* ==========================
   PAYMENT STEPS
========================== */

.instructions h2{

    color:var(--primary);

    margin-bottom:25px;

}

.step{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:20px;

}

.number{

    width:42px;

    height:42px;

    border-radius:50%;

    background:var(--secondary);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:bold;

    flex-shrink:0;

}

/* ==========================
   RIGHT COLUMN
========================== */

.right-card{

    position:sticky;

    top:20px;

    height:fit-content;

}

.payment-card{

    background:#fff;

    border-radius:18px;

    padding:30px;

    box-shadow:0 20px 45px rgba(0,0,0,.10);

    text-align:center;

}

.payment-card h2{

    color:var(--primary);

    margin-bottom:8px;

}

.payment-card p{

    color:#666;

    margin-bottom:20px;

}

/* ==========================
   QR BOX
========================== */

.qr-box{

    width:260px;

    height:260px;

    margin:25px auto;

    display:flex;

    justify-content:center;

    align-items:center;

    border:2px dashed #d9d9d9;

    border-radius:18px;

    background:#fafafa;

}

.qr-box img{

    width:220px;

    max-width:100%;

}

/* ==========================
   UPI
========================== */

.upi-box{

    margin-top:25px;

}

.upi-box div:first-child{

    font-weight:700;

    margin-bottom:10px;

}

.upi-row{

    display:flex;

    gap:10px;

}

.upi-row input{

    flex:1;

    padding:14px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:15px;

    background:#fafafa;

}

.upi-row button{

    border:none;

    background:var(--secondary);

    color:#fff;

    padding:0 18px;

    border-radius:10px;

    cursor:pointer;

    font-weight:700;

    transition:.3s;

}

.upi-row button:hover{

    background:var(--primary);

}

/* ==========================
   PAY BUTTON
========================== */

.pay-online-btn{

    display:block;

    width:100%;

    margin-top:25px;

    padding:16px;

    background:#e53935;

    color:#fff;

    border-radius:12px;

    text-decoration:none;

    font-weight:700;

    font-size:17px;

    transition:.3s;

}

.pay-online-btn:hover{

    background:#c62828;

    transform:translateY(-2px);

}

/* ==========================
   PAID BUTTON
========================== */

.paid-btn{

    width:100%;

    margin-top:15px;

    padding:16px;

    border:none;

    background:#25d366;

    color:#fff;

    font-size:17px;

    font-weight:700;

    border-radius:12px;

    cursor:pointer;

    transition:.3s;

}

.paid-btn:hover{

    transform:translateY(-2px);

    background:#1faa52;

}

/* ==========================
   SUPPORT
========================== */

.support-box{

    margin-top:30px;

    border-top:1px solid #eee;

    padding-top:20px;

    text-align:left;

}

.support-box h3{

    color:var(--primary);

    margin-bottom:15px;

}

.support-box a{

    display:block;

    color:#555;

    margin:10px 0;

    text-decoration:none;

}

.support-box a:hover{

    color:var(--secondary);

}

/* ==========================
   FAQ
========================== */

.faq{

    padding:60px 0;

}

.faq h2{

    text-align:center;

    color:var(--primary);

    margin-bottom:40px;

}

.faq-item{

    background:#fff;

    padding:25px;

    border-radius:14px;

    margin-bottom:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

}

.faq-item h3{

    color:var(--secondary);

    margin-bottom:10px;

}

.faq-item p{

    color:#666;

}

/* ==========================
   FOOTER
========================== */

.payment-footer{

    background:var(--primary);

    color:#fff;

    text-align:center;

    padding:22px;

    margin-top:40px;

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

.payment-grid{

grid-template-columns:1fr;

}

.right-card{

position:static;

}

.qr-box{

width:220px;

height:220px;

}

.qr-box img{

width:190px;

}

}

@media(max-width:576px){

.container{

width:94%;

}

.course-box,

.course-details,

.instructions,

.payment-card{

padding:20px;

}

.course-box h1{

font-size:28px;

}

.upi-row{

flex-direction:column;

}

.upi-row button{

height:48px;

}

.secure{

font-size:13px;

padding:8px 12px;

}

.logo img{

height:50px;

}

}