/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#138808;
    --primary-dark:#0f7007;

    --secondary:#FF9933;

    --background:#f5f7fb;

    --card:#ffffff;

    --text:#222;

    --subtitle:#666;

    --border:#dcdcdc;

    --shadow:0 18px 45px rgba(0,0,0,.08);

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:linear-gradient(
        135deg,
        #f8fafc,
        #f4f7fb
    );

    color:var(--text);

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

}

/* ==========================================
   CONTAINER
========================================== */

.container{

    width:100%;

    max-width:820px;

}

/* ==========================================
   CARD
========================================== */

.card{

    background:var(--card);

    border-radius:24px;

    padding:45px;

    box-shadow:var(--shadow);

    border:1px solid rgba(0,0,0,.04);

    position:relative;

    overflow:hidden;

}

/* Decorative top line */

.card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:6px;

    background:linear-gradient(
        90deg,
        #FF9933,
        #ffffff,
        #138808
    );

}

/* ==========================================
   HEADER
========================================== */

.header{

    text-align:center;

    margin-bottom:35px;

}

/* ==========================================
   TOP HEADER
========================================== */

.header-top{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

/* ==========================================
   LOGOS
========================================== */

.vvp-logo{

    width:115px;

    height:auto;

}

.gov-logo{

    width:80px;

    height:auto;

}

/* ==========================================
   HEADER TEXT
========================================== */

.header-text{

    text-align:left;

}

.header-text h3{

    font-size:28px;

    font-weight:700;

    color:#111;

    margin-bottom:4px;

}

.header-text p{

    font-size:18px;

    font-weight:600;

    color:#333;

    margin-bottom:2px;

}

.header-text span{

    font-size:14px;

    color:#777;

}

/* ==========================================
   DIVIDER
========================================== */

.divider{

    width:100%;

    height:1px;

    background:#e5e7eb;

    margin:28px 0;

}

/* ==========================================
   TITLES
========================================== */

.hindi-title{

    font-size:24px;

    font-weight:700;

    color:#111;

}

.english-title{

    margin-top:10px;

    color:var(--primary);

    font-size:18px;

    font-weight:600;

    letter-spacing:.4px;

}

.app-title{

    margin-top:28px;

    font-size:42px;

    font-weight:700;

    color:var(--primary);

}

.support-title{

    margin-top:6px;

    font-size:18px;

    color:var(--secondary);

    font-weight:600;

}

/* ==========================================
   DESCRIPTION
========================================== */

.description{

    text-align:center;

    color:#666;

    line-height:1.9;

    margin-bottom:35px;

    font-size:15px;

}

/* ==========================================
   FORM
========================================== */

form{

    width:100%;

}

.input-group{

    margin-bottom:24px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    font-size:15px;

    font-weight:600;

    color:#333;

}

input,
textarea{

    width:100%;

    padding:16px 18px;

    border:1px solid var(--border);

    border-radius:14px;

    font-size:15px;

    font-family:'Poppins',sans-serif;

    background:#fff;

    transition:all .25s ease;

    outline:none;

}

input::placeholder,
textarea::placeholder{

    color:#9ca3af;

}

textarea{

    resize:vertical;

    min-height:150px;

}

input:hover,
textarea:hover{

    border-color:#c6c6c6;

}

input:focus,
textarea:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(19,136,8,.12);

}

/* ==========================================
   BUTTON
========================================== */

button{

    width:100%;

    height:56px;

    border:none;

    border-radius:14px;

    background:linear-gradient(
        90deg,
        #138808,
        #0f7007
    );

    color:white;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

    font-family:'Poppins',sans-serif;

}

button:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(19,136,8,.25);

}

button:active{

    transform:scale(.98);

}

/* ==========================================
   LOADING BUTTON
========================================== */

button.loading{

    pointer-events:none;

    opacity:.85;

}

button.loading span{

    display:inline-flex;

    align-items:center;

    gap:10px;

}

button.loading span::before{

    content:"";

    width:18px;

    height:18px;

    border:2px solid rgba(255,255,255,.4);

    border-top-color:#fff;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

/* ==========================================
   FOOTER
========================================== */

.footer{

    margin-top:35px;

    text-align:center;

    border-top:1px solid #ececec;

    padding-top:25px;

}

.footer h3{

    color:var(--primary);

    margin-bottom:8px;

    font-size:18px;

}

.footer p{

    color:#666;

    font-size:14px;

    margin:6px 0;

}

.footer strong{

    color:#333;

}

/* ==========================================
   SIMPLE LINK STYLE
========================================== */

.footer a{

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

}

.footer a:hover{

    text-decoration:underline;

}

/* ==========================================
   ANIMATION
========================================== */

@keyframes spin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}


/* ==========================================
   SUCCESS MODAL
========================================== */

.modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    opacity:0;

    visibility:hidden;

    transition:.3s ease;

    backdrop-filter:blur(6px);

    z-index:999;

}

.modal.show{

    opacity:1;

    visibility:visible;

}

.modal-content{

    width:100%;

    max-width:500px;

    background:#fff;

    border-radius:22px;

    padding:40px;

    text-align:center;

    transform:scale(.9);

    transition:.3s ease;

    box-shadow:0 25px 60px rgba(0,0,0,.15);

}

.modal.show .modal-content{

    transform:scale(1);

}

.success-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:#eaf9ee;

    color:#138808;

    font-size:46px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:20px;

}

.modal-content h2{

    color:#138808;

    margin-bottom:18px;

    font-size:30px;

}

.modal-content p{

    color:#555;

    line-height:1.8;

    margin:12px 0;

}

.reference-box{

    background:#f8fafc;

    border:1px dashed #138808;

    border-radius:16px;

    padding:18px;

    margin:25px 0;

}

.reference-box small{

    color:#666;

    display:block;

    margin-bottom:8px;

    font-size:13px;

}

.reference-box h3{

    color:#138808;

    font-size:24px;

    letter-spacing:2px;

}

#closeModal{

    margin-top:20px;

    background:#138808;

}

#closeModal:hover{

    background:#0f7007;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:768px){

    body{

        padding:18px;

    }

    .card{

        padding:28px;

        border-radius:18px;

    }

    .header-top{

        flex-direction:column;

        gap:15px;

    }

    .header-text{

        text-align:center;

    }

    .header-text h3{

        font-size:24px;

    }

    .header-text p{

        font-size:16px;

    }

    .vvp-logo{

        width:90px;

    }

    .gov-logo{

        width:65px;

    }

    .app-title{

        font-size:34px;

    }

    .hindi-title{

        font-size:20px;

    }

    .english-title{

        font-size:16px;

    }

    .description{

        font-size:14px;

    }

    .modal-content{

        padding:28px;

    }

}

@media(max-width:480px){

    .card{

        padding:20px;

    }

    input,
    textarea{

        padding:14px;

    }

    button{

        height:52px;

    }

    .app-title{

        font-size:28px;

    }

    .support-title{

        font-size:16px;

    }

    .modal-content{

        padding:22px;

    }

    .success-icon{

        width:75px;

        height:75px;

        font-size:36px;

    }

    .modal-content h2{

        font-size:24px;

    }

}

/* ==========================================
   FADE ANIMATION
========================================== */

.card{

    animation:fadeUp .6s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}