*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    min-height:100vh;
    background:url('bg.jpg') center center;
    background-size:cover;
    overflow-x:hidden;
    position:relative;
}

.bg-overlay{
    position:fixed;
    inset:0;
    background:rgba(255,255,255,0.35);
    backdrop-filter:blur(8px);
}

.page{
    position:relative;
    z-index:2;
    width:100%;
    max-width:500px;
    margin:auto;
    padding:20px;
}

.hero{
    position:relative;
    border-radius:30px;
    overflow:hidden;
    margin-bottom:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.hero-image{
    width:100%;
    height:240px;
    object-fit:cover;
}

.hero-content{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    padding:30px;
}

.hero-content h1{
    color:#fff;
    font-size:34px;
    text-align:center;
    margin-bottom:20px;
    font-weight:600;
}

.gallery-btn{
    background:#1e6f72;
    color:#fff;
    text-decoration:none;
    padding:14px 30px;
    border-radius:20px;
    font-size:18px;
    transition:.3s;
}

.gallery-btn:hover{
    transform:scale(1.05);
}

.upload-card{
    background:rgba(255,255,255,0.2);
    border:1px solid rgba(255,255,255,0.3);
    backdrop-filter:blur(15px);
    border-radius:30px;
    padding:25px;
    box-shadow:0 10px 40px rgba(0,0,0,0.1);
}

.input-group{
    margin-bottom:20px;
}

.input-group input,
.input-group textarea{
    width:100%;
    border:none;
    outline:none;
    background:rgba(255,255,255,0.45);
    border:2px solid rgba(53, 180, 150, 0.5);
    border-radius:25px;
    padding:20px;
    font-size:17px;
    color:#174f53;
}

.input-group textarea{
    height:170px;
    resize:none;
}

.upload-area{
    border:2px dashed #63b8a6;
    border-radius:25px;
    padding:35px;
    text-align:center;
    cursor:pointer;
    transition:.3s;
    background:rgba(255,255,255,0.2);
}

.upload-area:hover{
    background:rgba(255,255,255,0.4);
}

.upload-icon{
    width:90px;
    height:90px;
    border-radius:50%;
    background:#8d8d95;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:35px;
    margin:auto;
    margin-bottom:15px;
}

.upload-inner p{
    font-size:20px;
    color:#174f53;
    margin-bottom:5px;
}

.upload-inner span{
    font-size:14px;
    color:#4c7375;
}

#preview{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}

.preview-item{
    width:90px;
    height:90px;
    border-radius:15px;
    overflow:hidden;
    position:relative;
}

.preview-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.submit-btn{
    width:100%;
    margin-top:25px;
    border:none;
    background:#1e6f72;
    color:#fff;
    padding:18px;
    border-radius:20px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.submit-btn:hover{
    transform:translateY(-2px);
}

.progress{
    width:100%;
    height:12px;
    background:#ddd;
    border-radius:30px;
    margin-top:20px;
    overflow:hidden;
}

.progress-bar{
    width:0%;
    height:100%;
    background:#1e6f72;
    transition:.2s;
}

#result{
    margin-top:20px;
    text-align:center;
    font-size:16px;
    color:#1e6f72;
    font-weight:600;
}

@media(max-width:600px){

    .hero-content h1{
        font-size:26px;
    }

    .upload-card{
        padding:18px;
    }

}