html{
    scroll-behavior: smooth;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    color: white;
    background-color: black;
    font-family: 'Poppins', sans-serif;
    }
img{
    pointer-events: none;
    }

/* --------navbar ------------ */
.navbar{
    width: 100%;
    margin: 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 10px 30px;
    background-color: black;
    border-radius: 10px;
    z-index: 1000;
    position: sticky;
    top: 0px;
}

.nav-links{
    display:flex;
    gap:45px;
    color: white;
}

.nav-links a{
    text-decoration:none;
    color:black;
}

.con{
    color: white;
    font-size: 17px;
}
.logo-img{
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
}
.con:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
    border-bottom: 2px solid #f9bc07;
    color: #f9bc07;
}

.menu-icon{
    font-size:25px;
    cursor:pointer;
    display:none;
    color: white;
}
.menu-icon:hover {
    color: #f9bc07;
}


@media(max-width:768px){

    .menu-icon{
        display:block;
    }

    .nav-links{
        display:none;
        flex-direction:column;
        position:absolute;
        top:80px;
        right:20px;
        background: black;
        width:200px;
        padding:20px;
        border-radius:10px;
    }

    .nav-links.active{
        display:flex;
    }
}
.dropdown{
    position: relative;
}

.dropdown-content{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: black;
    z-index: 1000;
}

.dropdown-content a{
    display: block;
    padding: 12px;
    text-decoration: none;
    color: white;
}

.dropdown-content a:hover{
    background: rgba(255, 255, 255, 0.867);
    color: black;
}

.show{
    display: block;
}
.bg-img{
    height: 80vh;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
.bg-op{
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.203);
    height: 100%;
    width: 100%;
    padding: 0px 10%;
    display: flex;
    align-items: center;
}

.adjust{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bg-head{
    color: #d6a513;
    font-size: 40px;
    font-weight: bold;
    display: flex;
}
.icon{
    color: #d6a513;
    font-size: 30px;
}
.line{
    display: flex;
    gap: 20px;
    line-height: 1.5;
    font-size: 22px;
    padding: 20px;
    opacity: 0;
}
.line.active{
    animation: lightSpeedInRight 1s forwards;
}

@keyframes lightSpeedInRight {

    from{
        opacity: 0;
        transform: translateX(-100px);
    }

    to{
        opacity: 1;
        transform: translateX(0);
    }
}

/* ----------page2------------- */
.page2{
    min-height: 850px;
    height: auto;
    padding: 20px 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.process-img{
    width:140px;
    max-width:100%;
    height:auto;
    margin:auto;
}
.boxx{
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}
.boxes-ani{
    opacity: 0;
}
.boxes-ani.display {
    animation: backInUp 2s forwards;
}

@keyframes backInUp {
    from{
        opacity: 0;
        transform: translateY(80px);
    }

    to{
        opacity: 1;
    }  
    
}
.boxes{
    min-height: 350px;
    height: auto;
    max-width: 100%;
    width: 320px;
    border: 2px solid #f9bc07;
    border-radius: 20px;
    text-align: center;
    padding: 10px;
    line-height: 1.5;
    transition: all 1s ease;
}
.boxes:hover {
    transform: scale(1.1);
    border: 4px solid #b78c0d;
}

.page2-head{
    font-size: 40px;
    text-align: center;
    text-shadow: 5px 5px 10px rgba(255, 255, 255, 0.332);
}
span{
    color: #d8a818;
}

/* --------------page3--------- */
.pg2{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px;
    justify-content: space-evenly;
}
.info{
    height: 550px;
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 25px;
    border-radius: 20px;
    border: 2px solid #f9bc07;
    line-height: 2;
    opacity: 0;
}
.info.show {
    animation: backInLeft 2s forwards;
}
@keyframes backInLeft {
    from{
        opacity: 0;
        transform: translateX(-160px);
    }

    to{
        opacity: 1;
    }  
}
.info-head{
    width: 100%;
    font-size: 23px;
}
.box{
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 20px;
}
.box:hover {
    color: rgb(247, 232, 123);
}
#icon{
    flex-shrink: 0;
    font-size:28px;
    color: #f9bc07;
    margin-top: 5px;
}
.user-info{
    height: 550px;
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 25px;
    border-radius: 20px;
    border: 2px solid #f9bc07;
    opacity: 0;
}
.user-info.show {
    animation: backInRight 2s forwards;
}
@keyframes backInRight {
    from{
        opacity: 0;
        transform: translateX(160px);
    }

    to{
        opacity: 1;
    }  
}
form{
    line-height: 2.5;
}
.user-box{
    height: 40px;
    width: 100%;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.011);
    color: white;
    padding: 10px;
}
textarea.user-box{
    height: auto;
    padding: 10px;
    resize: none;
}
.submit-btn{
    height: 40px;
    width: 100px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #f9bc07;
    border-radius: 10px;
    border: none;
}
.submit-btn:active {
    color: #f9bc07;
    background-color: rgba(0, 0, 0, 0);
    border: 2px solid #f9bc07;
}

/* ---------------------page 7--------------- */
.page7{
    min-height: 500px;
    height: auto;
    width: 100%;
}
.pg7-head{
    font-size: 28px;
}
.blocks{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    height: auto;
    padding: 40px 20px;
}
.block{
    height: 430px;
    width: 300px;
    max-width: 100%;
    height: auto;
    font-size: 17px;
    line-height: 2.1;
    padding: 10px;
    text-align: left;
}
.wh{
    font-size: 20px;
}
span:hover {
    color: rgb(247, 232, 123);
}
.ser-anchor{
    color: white;
    text-decoration: none;
}

/* =============responsive============== */

@media (min-width:1025px) and (max-width:1093px){

    .bg-img,
    .bg-op{
        height: 80vh;
    }

    .bg-op{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .adjust{
        margin-top: auto;
    }
}

@media (max-width:1024px){

    .bg-img,.bg-op{
        height: 90vh;
    }

    .boxx{
        gap:20px;
    }

    .boxes{
        width:280px;
    }

    .bg-head{
        font-size:34px;
    }

    .line{
        font-size:20px;
    }
}

@media (max-width:768px){

    .bg-img{
        background-position: center center;
    }
    .bg-img,.bg-op{
        height: 70vh;
        display: flex;
        align-items: center;
        padding: 20px 8%;
    }

    .adjust{
        width: 100%;
    }

    .bg-head{
        font-size: 30px;
        margin-bottom: 15px;
        text-align: left;
    }

    .line{
        font-size: 18px;
        gap: 12px;
        padding: 8px 0;
    }
    .navbar{
        padding:10px 15px;
    }

    .logo-img{
        width:150px;
    }

    .icon{
        font-size:22px;
    }

    .page2-head{
        font-size:30px;
        padding:0 15px;
    }

    .boxes{
        width:100%;
        max-width:350px;
    }

    .info-head{
        font-size:22px;
    }

    .box{
        font-size:16px;
    }

    #icon{
        font-size:24px;
    }

    .block{
        width:100%;
        max-width:400px;
    }

    .pg7-head{
        font-size:24px;
    }
}

@media (max-width:480px){

    .bg-img{
        background-position: center center;
    }
    .bg-img,.bg-op{
        height: 60vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }

    .adjust{
        width: 100%;
        text-align: left;
    }

    .bg-head{
        font-size: 22px;
        margin-bottom: 10px;
    }

    .line{
        font-size: 15px;
        padding: 6px 0;
        gap: 10px;
    }
    .logo-img{
        width: 120px;
    }

    .page2-head{
        font-size:24px;
    }

    .boxes{
        padding:15px;
    }

    .content p{
        font-size:14px;
    }

    .info-head{
        font-size:20px;
    }

    .block{
        font-size:15px;
    }
}