@font-face {
    font-family: 'arabic';
    src: url('../img&font/normal_arabic.woff2') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'arabic';
    src: url('../img&font/bold_arabic.woff2') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Emoji';
    src: url('../img&font/Noto_Emoji.woff2') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    display: flex;
    height: 100vh;
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    background-color: #0F1318;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    background-image: 
        
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
        url('../img&font/body_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'uthman', 'times';
    scroll-behavior: smooth; 
    font-display: swap;
}

::-webkit-scrollbar {
  display: none;
}
/*
::-webkit-scrollbar-track {
  background-color: #0F1318;
}
::-webkit-scrollbar-thumb {
  background-color: #007063;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
      background-color: #3F908D;
}
*/
header {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    padding: 10px;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 10px; 
}

.blocks {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.blocks i {
    font-family: 'Emoji';
    font-size: 1.4em;
    font-style: normal;
} 

.lt_block {
    color: beige;
    font-size: 18px;
    cursor:pointer;
    order: 3;
    transition: color 0.2s;

}

.rt_block {
    color: beige;
    font-size: 1.4em;
    cursor: pointer;
    order: 1;
    transition: color 0.2s;
}

.rt_block:hover, .lt_block:hover {
    color: #739A77;
    text-decoration: none;
} 

 
    
.logo {
    order: 2;
    flex: 0 0 250px;
}

.logo img {
    height: 75px;
}

.form {
    width: 20%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.form h2 {
    margin: 0 0 40px;
}
input[type="text"], input[type="email"] {
    width: 100%;
    margin: 5px 0;
    padding: 14px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
    color: #00C6CF;
    background-color: #4A4A4A;
    transition: all 0.3s ease;
    text-align: center;
}

input:focus, select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
    color: #cbd5e0;
    background-color: #393B40;
}

::placeholder{
    color: #A3ABBD;
}

.stage {
    display: none; 
}

.stage.active {
    display: block;
}

button {
    display: flex;
    width: 100%;
    color: white;
    font-weight: bold;
    justify-content: center;
    margin-top: 15px;
    padding: 12px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    background-color: #7591A7;
    cursor: pointer;
    transition: transform 0.3s ease;
}

button:hover {
    background: linear-gradient(to right, #357abd, #2c5aa0);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
    transform: translateY(-4px);
}
button:active {
    transform: translateY(0);
}

button:nth-child(even) {
    background-color: #6c757d;
}

a {
    display: flex;
    align-content: center;
    justify-content: center;
    color: #B0ECE8;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}
a:hover {
    opacity: 0.9;
    text-decoration: underline;
}


.black_bg{
    display: flex;
    position: absolute;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.9);
    visibility: hidden;
    opacity: 0;
    z-index: 10;
    transition: opacity 1.2s ease;
}

.finish{
    position: relative;
    width:550px;
    color: aliceblue;
    text-align:center;
    padding: 40px 20px;
    margin: 90px auto 0;
    border: 4px solid #2FA391;
    border-radius: 22px;
    background-color: #00747D;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease;
}

.black_bg.active, .finish.active{
    opacity:1;
    visibility: visible;
}

.final_msg{
    overflow: hidden;
    transition: max-height 0.8s ease;
}

.finish h3{
    font-size: 1.8em;
    margin: 10px 0 0;
}
.finish p{
    font-size: 1.4em;
}

@media (max-width: 770px) {
    .form {
        padding: 20px;
    }
    button {
        padding: 5%;
        font-size: 2vw;
    }
    a {
        font-size: 2vw;
    }
    .finish {
        width: 55%;
    }
    .finish h3{
        font-size: 3.5vw;
    }
    .finish p{
        font-size: 2.5vw;
    }
    .finish button{
        font-size: 2vw;
    }
}

@media (max-width:640px){
    .main h1{
        font-size: 2.7em;
    }
    .arrow{
        display: none;
    }

    form {
        font-size: 3vw;
    }
    input[type="text"], input[type="email"], #dropdown {
        font-size: 2vw;
    }

    textarea {
        font-size: 2.2vw;
    }
    ::placeholder{
        font-size: 2.4vw;
    }

    
    .button{
        font-size: 3vw;
    }

}

@media (max-width:475px){
    header{
        position:absolute;
    }
    .main h1{
        font-size: 2.3em;
    }
    .line-pic img {
        width: 50px ;
    }
    .focus{
        display: none;
    }
    .radios {
        margin-bottom: 0px;
 }
    .check::before {
        top: 0.15rem;
        right: 1.2rem;
        width: 15px;
        height: 15px;
    }
    .check::after {
        top: -0.2rem;
        right: 25px;
        width: 14.2px;
        height: 14.2px;
    }
    .long{
        margin: 10px 0 18px;
    }
    .info{
        height: 112px;
    }
    .spamw{
        font-size: 3.2vw;
        height: 25px;
        padding-top: 0px;
    }
    .info-data a{
        font-size: 2.8vw;
        height: 25px;
        padding-top: 2.5px;
    }   
}
@media (max-width:365px){
    .main h1{
        font-size: 10vw;
    }
    label input{
        font-size: 14px;
        height: 10px;
        width: 14px;
    }
    .line-pic img {
        width: 18% ;
    }
    .two .tcolor{
        padding: 5px;
}
    .info{
        height: 100px;
    }
    .spamw{
        padding-top: 1px;
        height: 20px;

    }
    .info-data a{
        height: 20px;
        padding-top: 1px;
    }   
}