*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: sans-serif;
}
html{
    scroll-behavior: smooth;
}

/* ----------basic styling----------- */

a{
    text-decoration: none;
}
li{
    list-style-type: none;
}
img{
    max-width: 100%;
    height: 100%;
    display: inline-block;

}

/* ----------- core clases----------- */
.container{
    max-width: 90%;
    margin: auto;
}
/* ----------- Home page styling ----------- */
.homepage{
    position: relative;
    height: 110vh;
    overflow: hidden;
    z-index: 2;
}
.homepage::after{
    content: "";
    background-image: url(./images/background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(40%);
    position:absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    
}

/* ----------- navbar styling ----------- */
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img{
    width: 12rem;
}
.nav-btn{
    color: rgb(255,255,255);
    background-color: rgb(229,9,20);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 1rem;
    min-height: 2rem;
    align-content: center;
    border-radius: 0.25rem;
    transition: all .3s ease-in-out;
    cursor: pointer;   

    &:hover{
        background-color: rgb(154, 12, 19) ;
    }
}

/* ----------- Main page styling ----------- */
.main-page{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 2rem;
    text-align: center;
}

h1{
    font-family: sans-serif;
    font-size: 40px;
    color: #ffff;
    text-align: center;

}
p{
    font-size: 16px;
    color: #ffff;
}
h3{
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
}
.sign-form{
    width: 100%;
    height: 4rem;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: white;
}
.sign-form input[type="email"]{
    width: 100%;
    height: 100%;
    border: solid 1px #a9a9a9;
    color: #fff;
    background-color: transparent;
    padding: 1rem; 
    font-weight: 500;
    font-size: 1rem;
}
.email{
    position: relative;
    width: 80%;
    height: 100%;
    
}
.email .label{
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%,-50%);
    color: #a9a9a9;
    transition: all .2s;
}


.sign-form input[type="button"]{
    width: 40%;
    background-color: rgb(229,9,20); 
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.25rem;
    padding: 0.25rem 1rem;
    cursor: pointer;
    transition: all .3s ease-in-out;

    &:hover{
        background-color: rgb(154, 12, 19) ;
    }
}

.curve-container{
    width: 100%;
    position: relative;
    
}
.curve::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin-top: -4px;
    border-radius: inherit;
    z-index: 3;
   background:  linear-gradient(to right, rgba(33, 13, 22, 1) 16%, rgba(184, 40, 105, 1), rgba(229, 9, 20, 1), rgba(184, 40, 105, 1), rgba(33, 13, 22, 1) 84%);
}
.circle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-120%);
    width: 500px;
    height: 30px;
    background-color: rgba(0, 150, 255, 1) ;
    border-radius: 90%;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 50px 30px rgba(0, 150, 255, 0.5);
}
/* ----------- Main styling ----------- */
main{
    background: #000000;
}

/* ----------- section 1  styling ----------- */
h2{
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}
.section{
    padding-top: 4rem;
    padding-bottom: 56px;
}
.section1-cont{
    height: 3rem;
}

.card-container{
    max-width: 93%;
    margin: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 140px;
    gap: 3rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: 1rem;
    padding-bottom: 1rem;
    scrollbar-width:  none;
    -ms-overflow-style: none;
    white-space: nowrap;
    padding-inline: 2rem ;
    scroll-behavior: smooth;
}
.card{
    width: 140px;
    height: 200px;
    border-radius: 10%;
    position: relative;
    scroll-snap-align: start;
    transition: all .3s ease-in-out;

    &:hover{
        transform: scale(1.08);
    }
}

.card1{
    background-image: url(./images/card\ image\ 1.png);
     background-size: cover;
     background-repeat: no-repeat;
}
.card2{
    background-image: url(./images/card\ image\ 2.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.card3{
    background-image: url(./images/card\ image\ 3.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.card4{
    background-image: url(./images/card\ iamge\ 4.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.card5{
    background-image: url(./images/card\ image\ 5.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.card6{
    background-image: url(./images/card\ image\ 6.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.card7{
    background-image: url(./images/card\ image\ 7.png);
    background-size: cover;
    background-repeat: no-repeat;

}
.card8{
    background-image: url(./images/card\ image\ 8.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.card9{
    background-image: url(./images/card\ image\ 9.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.card10{
    background-image: url(./images/card\ image\ 10.png);
    background-size: cover;
    background-repeat: no-repeat;
}


.card span{
    position: absolute;
    color: white;
    font-size: 4rem;
    font-weight: 800;
    -webkit-text-fill-color: #000000;
    -webkit-text-stroke: 3px #fff;
    top: 80%;
    left: -2%;
    transform: translate(-50%,-50%);
}
.section1{
    position: relative;
}
.section1 .lscrollbtn{
    position: absolute;
    top: 40%;
    left: 0%;
    background-color: #262525;
    color: #fff;
    border-radius: 10px;
    padding: 3rem .50rem;
    z-index: 6;
    transition: all .3s ease-in-out;
    font-size: 1rem;
    &:hover{
        background-color: #807c7c;
    }
}
.lbtn-notactive{
    display: none;
}
.section1 .rscrollbtn{
    position: absolute;
    top: 40%;
    right: 0%;
    background-color: #262525;
    color: #fff;
    border-radius: 10px;
    padding: 3rem .50rem;
    z-index: 6;
    transition: all .3s ease-in-out;
    font-size: 1rem;

    &:hover{
        background-color: #807c7c;
    }
}

.rbtn-notactive{
    display: none;
}

/* ---------------------------warapper styling--------------------------- */


.popup{
    width: 700px;
    height: 500px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 4;
    border-radius: 12px;  
    border:  0.0625rem solid rgba(128, 128, 128, 0.4);
    box-shadow: inset 100px -230px 90px black;
    
    
}



.pop1{
    background-image: url(./images/popup/1.png);
    background-position: center;
    background-size: cover;
    display: none;
    
}
.pop1-active{
    display: block;
    scroll-behavior: none;
}

.pop2{
   display: none;
   background-image: url(./images/popup/2.png);
    background-position: center;
    background-size: cover; 
}
.pop2-active{
    display: block;
}
.pop3{
   display: none; 
   background-image: url(./images/popup/3.avif);
    background-position: center;
    background-size: cover;
}
.pop3-active{
    display: block;
}
.pop4{
    display: none; 
    background-image: url(./images/popup/4.png);
    background-position: center;
    background-size: cover; 
}
.pop4-active{
    display: block;
}
.pop5{
    display: none;
    background-image: url(./images/popup/5.webp);
    background-position: center;
    background-size: cover; 
}
.pop5-active{
    display: block;
}
.pop6{
    display: none;
    background-image: url(./images/popup/6.webp);
    background-position: center;
    background-size: cover;
}

.pop6-active{
    display: block;
}

.pop7{
    display: none;
    background-image: url(./images/popup/7.jpg);
    background-position: center;
    background-size: cover;
}
.pop7-active{
    display: block;
}
.pop8{
    display: none;
    background-image: url(./images/popup/8.jpg);
    background-position: center;
    background-size: cover;
}
.pop8 .cont-img{
    max-width: 20%;
}
.pop8-active{
    display: block;
}

.pop9{
    display: none;
    background-image: url(./images/popup/9.webp);
    background-position: center;
    background-size: cover;
}
.pop9-active{
    display: block;
}
.pop10{
    display: none;
    background-image: url(./images/popup/10.jpg);
    background-position: center;
    background-size: cover;
}
.pop10-active{
    display: block;
}

.close-btn{
    position: absolute;
    right: 5%;
    top: 5%;
    font-size: 2rem;
    background-color: transparent;
    padding: 0.50rem 1rem;
    border-radius: 50%;
    color: #fff;
    transition: all .2s ease-in-out;
    cursor: pointer;
    &:hover{
        background-color: rgb(65, 65, 65);
    }
    
}
.popup-content{
   padding-left: 3rem;
   padding-bottom: 2rem;
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cont-img{
    display: inline-block;
    max-width: 30%;
}

.tags span{
    color: rgba(255, 255, 255, 0.7);
    background-color: rgb(65, 65, 65);
    border-radius: 0.25rem;
    padding: 0.1875rem 0.25rem;
    gap: 1rem;
}
.popup-content input[type="button"]{
    width: fit-content;
    background-color: rgb(229,9,20); 
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.25rem;
    padding: 1rem 3rem;
    cursor: pointer;
    transition: all .3s ease-in-out;

    &:hover{
        background-color: rgb(154, 12, 19) ;
    }
}

/* ----------- section 3  styling ----------- */

.join-wrapper{
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.wrap{
    position: relative;
    background: linear-gradient(to bottom right , #0f1737 0%, #0f1737 40%, #4b090e 140% );
    max-width: 100%;
    height: 200px;
    border-radius: 1rem;
    padding: 1rem;
}
.wrap-content{
    display: flex;
    flex-direction: column;
    gap: 12px;

}
.wrap-content h3{
    font-size: 24px;
}

.wrap-img{
    position: absolute;
    bottom:0 ;
    right: 3%;
    width: 5rem;
}

/* ----------- section 4  styling ----------- */
.question-wrapper{
    padding-top: 1rem;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    
}
.quest{
    background: rgb(50, 50, 50);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 5rem;
    padding: 24px 34px;
    transition: all .2s ease-in-out;
    margin-top: 0.5rem;

    &:hover{
        background-color: rgb(65,65,65);
    }
}

.quest-btn{
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: 500;
    
}
.fa-plus{
    font-size:24px ;
}
.fa-multiply{
    font-size: 24px;
}


.quest-cont{
    margin-top: 0.10rem;
    padding:24px;
    background: rgb(50, 50, 50);
    color:rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: none;
    
    
}

.quest-cont1-active{
    display: block;
} 

.quest-cont h2{
    color:rgba(255, 255, 255, 0.7);
    font-size: 24px;
    padding-block: 1rem;
}


/* ----------- section 5  styling ----------- */

.section5 form{
    max-width: 55%;
    margin: auto;
}


/* ----------- section 6  styling ----------- */

.section6 a{
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-decoration: underline;
}
.our-queries a{
    font-size: 14px;
}

.section6 .our-queries{
    padding-block: 3rem;
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.our-queries ul{
    display: flex;
    flex-direction: column;
    flex: start;
    gap: 1rem;
}


#language-selector{
    color: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    background: transparent;
    text-align-last: center;
    
}

.footer{
    padding-block: 2rem;
    padding-bottom: 96px;
}