body
{
    background-image:url("https://villagematrimony.com/image/flower.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    height:100vh;
}
:root
{
  --primary:#FF7C59;
  --secondary:#ffcc66;
  --light:#fff8f0;
  --dark:#2b2b2b;
}
*
{
    box-sizing:border-box;
    margin:0;
    padding:0;
    font-family:Segoe UI, Arial, sans-serif
}
.container
{
    width:768px;
    max-width:1200px;
    margin:auto;
    padding:25px
    background:red;
    margin-top:60px;
    border-radius:15px;
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(5px);
    animation:scale 300ms ease;
}
.smallheader
{
    background:linear-gradient(var(--color4),var(--color8));-webkit-background-clip:text;background-clip:text;color:transparent;
    padding:12px 30px;position:sticky;
    top:0;z-index:10;
    text-align:center;
    margin-top:70px;
}
.smallheader h1
{
    font-size:19px;
}
.card
{
    
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.0);
    padding:25px;
    margin-bottom:25px
    background:rgba(255,255,255,0.7);
    animation:scale 500ms ease;
}
.section-title
{
    font-size:22px;
    color:var(--color7);
    margin-bottom:15px;
    border-left:6px solid var(--secondary);
    padding-left:10px
}
.form-grid
{
    display:grid;grid-template-columns:repeat(2,1fr);
    gap:18px
}
.form-group
{
    display:flex;
    flex-direction:column;
    background:linear-gradient(var(--color6),var(--color10));-webkit-background-clip:text;background-clip:text;color:transparent;
}
.form-group-hide
{
    display:none;
    flex-direction:column
}
label
{
    font-weight:600;
    margin-bottom:8px
}
input,select,textarea
{
    padding:11px;
    border:1px solid #bbb;
    border-radius:8px;
    font-size:14px
}
input::placeholder
{
    color:var(--color2); 
}
select:invalid
{
    color:var(--color2); 
}
.checkbox
{
    width:13px;
    height:13px;
}
.terms
{
    width:100%;
    height:auto;
    font-size:13px;
    margin:auto;
    margin-top:20px;
    text-align:center;
}
.terms a
{
    text-decoration: none;
    font-size:13px;
    color:rgba(123,30,58,.9);
}
select 
{
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background:white;
}
textarea
{
    resize:vertical
}
.full{grid-column:1/3}
.button
{
    background:linear-gradient(rgba(123,30,58,.3),rgba(123,30,58,.9));
    color:#fff;
    border:none;
    padding:14px 22px;
    border-radius:10px;
    font-size:15px;
    cursor:pointer;
    transition:.3s
}
.button:hover
{
    background:#8a002f;
}
.actions
{
    text-align:center;
    margin-top:20px
}
.photo-preview
{
    margin-top:10px;
    width:120px;
    height:140px;
    border:2px dashed #ccc;border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden
}
.photo-preview img
{
    width:100%;
    height:100%;
    object-fit:cover
}
footer
{
    background:#2b2b2b;
    color:#fff;
    text-align:center;
    padding:20px;
    margin-top:30px
}
@media(max-width:768px)
{
    body
    {
        height:230vh;
    }
    .form-grid
    {
        grid-template-columns:1fr;
    }
    .full
    {
        grid-column:1
    }
    .container
    {
      width:98%;
      max-width:1200px;
      margin:auto;
      padding:0px;
      margin-top:60px;
    }
    .card
   {
    padding:20px;
    margin-bottom:10px;
   }
    .checkbox
   {
       width:10px;
       height:10px;
   }
}