*,
*::before,
*::after{
    margin:0;
    padding:0;
    text-decoration: none;
}

.hero{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
    min-height: 75vh;
}

.video-bg{
position: absolute;
top:50;
left:50;
background-color: rgba(0,0,0,0.25);
min-width: 100%;
min-height: 100%;
z-index: -1;
overflow: hidden;
}


nav{
    background-color: #000;
    height: 60px;
    box-shadow: 0 4px 6px 0 dodgerblue;
    width: 100%
}


ul{
    float: right;
    margin-left: 10%;
}


ul li{
    margin:0;
    padding:0;
    position: relative;
    display: inline-block;
}

ul li a{
    font-size: 20px;
    font-weight: 400;
    line-height: 45px;
    color:aliceblue;
    text-transform: uppercase;
    padding: 15px;
}

ul li a::before{
    position: absolute;
    content: '';
    left:0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s linear;
}

ul li a:hover:before{
transform: scaleX(1);
transform-origin: left;
}

ul li a:hover{
    color: dodgerblue;
}

.checkbtn{
color: #fff;
font-size: 25px;
cursor: pointer;
float: right;
display: none;
line-height: 80px;
margin-right: 10px;
}

.logo{
width: 60px;
}

#check{
    display: none;
}

@media (max-width: 952px){
    .logo{
        font-size: 30px;
        padding-left: 50px;
    }

    ul li a{
        font-size: 15px;
    }
}

@media (max-width: 858px){
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 50vh;
        background: #2e2e2e;
        top: 78px;
        left: -120%;
        text-align: center;
        transition: all .5s;
        z-index: 1;
    }

    ul li{
        display: block;
        margin: 10px 0;
        line-height: 30px;
    }

    ul li a{
        font-size: 20px;
    }

    #check:checked ~ ul{
        left:0;
    }
}



#content{
    display:flex;
    justify-content: center;
    align-items: center;
    top:auto;
    min-height: 200px;
    background-color: #ccc;
    overflow: hidden;
    letter-spacing: 1px;
    font-weight: bolder;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
}




#content p{
    color:rgb(15, 15, 15);
    font-size: 16px;
    font-weight: bolder;
}

#content div{
    height: 200px;
    width: 335px;
    margin:60px;
    text-align: center;
    border-radius: 5px;
    padding:5px;
   
}

.box-1{
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    height: 200px;
    width: 300px;
    position: relative;
    background-image: linear-gradient(0deg, #fff, transparent);
    transition: opacity 0.5s;  
}

.box-2{
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    height: 200px;
    width: 300px;
    position: relative;
    background-image: linear-gradient(0deg, #449aeb, transparent);
    transition: opacity 0.5s;
}

.box-2:hover{
    opacity: 1;
}

.box-3{
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    height: 200px;
    width: 300px;
    position: relative;
    background-image: linear-gradient(0deg, #9b9a9a, transparent);
    transition: opacity 0.5s;
}

#content div span{
    color:dodgerblue;
    font-family: arial black, verdana;
}

#content div:hover{
    transform: translateY(-8px);
   

}





.intro{
    overflow: hidden;
}

.intro::after{
    content: '';
    width: 5px;
    height: 480px;
    display: block;
    background-color: dodgerblue;
    position: relative;
    margin-left: 100px;
    margin-top: 20px;
}

.intro::before{
    content:'';
    position: absolute;
    width: 30%;
    height: 8px;
    background-color: #888;
    top:45px;
    left:0;
    margin-top:1270px;
    margin-left: 20px;
}

.intro-content{
    display: block;
    justify-content: left;
    align-items: left;
    width:90%;
    margin: 0px;
    padding: 5%;
    position: absolute;
    overflow: hidden;
}
 
.intro-content h2{
color:#222222;
font-size: 45px;
font-weight: bolder;
margin-top: -25px;
text-decoration: underline;
margin-left: 50px;
}




.intro-image{
    flex:1;
    width: 610px;
    margin:auto;
    float: right;
    display: flex;
    flex-direction:column ;
    margin-right: 10px;
    background-image: linear-gradient(rgba(0,0,0,0.75));
    
}

.intro-image img{
    width:100%;
    height: auto;
    border-radius: 0px;
    float:right;
    margin:110px;
    bottom: -40px;
    box-shadow: dodgerblue solid;
    size: 40px;
    
}

.intro-content p{
    font-size:25px;
    margin:0px;
    padding:0px;
    text-align: left;
    float:left;
    bottom:-500px;
    margin-left: 50px;
}

.intro h1{
    color:#fff;
    font-size: 5rem;
    -webkit-text-stroke-width:2px;
    -webkit-text-stroke-color:transparent;
    align-items: center;
    text-align: center;
    background-color: dodgerblue;
    background: linear-gradient(8deg,rgba(8,52,83,1) 0%,dodgerblue 41%, rgba(41,17,45,1) 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    position: relative;
}

.intro h1::after{
    content: "";
    position: absolute;
    top:100px;
    left:10%;
    height: 8px;
    width: 80%;
    border-radius: 8px;
    background-color: rgba(17, 16, 16, 0.05);
}

.intro-body{
    display: block;
    justify-content: left;
    align-items: left;
    width:80%;
    margin:15px;
    padding: 5%;
    position: absolute;
    overflow: hidden;
    margin-top: -98px;
    margin-left: 100px;
    border: 10px outset dodgerblue;
    
}

.intro-body p{
    margin-top: -40px;
    font-size:28px;
    margin:10px;
    padding:0px;
    text-align: left;
    float:left;
    bottom:-500px;
}

.box{
    min-height: 100vh;
    width: 100%;
    background-color: #ccc;
    overflow: hidden;
    margin: 5px auto;
    margin-left: ;
}

.service-wrapper{
    padding:2% 8%;
}

.service{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service h1{
    color:#fff;
font-size: 5rem;
-webkit-text-stroke-width:2px;
-webkit-text-stroke-color:transparent;
letter-spacing: 4px;
background-color: dodgerblue;
background: linear-gradient(8deg,rgba(8,52,83,1) 0%,dodgerblue 41%, rgba(41,17,45,1) 100%);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
position: relative;
}

.service h1:after{
    content: "";
    position: absolute;
    top:100px;
    left:10%;
    height: 8px;
    width: 80%;
    border-radius: 8px;
    background-color: rgba(17, 16, 16, 0.05);
}

.service h1 span{
    position: absolute;
    top: 100%;
    left: 10%;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: dodgerblue;
    animation: anim 5s linear infinite;
}

@keyframes anim{
    95%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        left: 88%;
    }
}

.cards{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 70px;
    margin-top: 80px;
    margin-left: -40px;
}

.card{
    height: 330px;
    width: 350px;
    background-color: #888;
    padding: 3% 8%;
    border:0.2px solid rgba(114, 226, 174, 0.2);
    border-radius: 8px;
    transition: .6s;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card:after{
    content:"";
    position: absolute;
    top: 150%;
    left:-200px;
    width: 120%;
    transform: rotate(50deg);
    background-color: dodgerblue;
    height: 18px;
    filter: blur(30px);
    opacity: 0.5;
    transition: 1s;
}

.card p{
    text-align: center;
    width:100%;
    margin: 12px 0;
    color:#222222;
    font-size: 17px;
    font-weight: bold;
}

.card:hover{
    background-color: transparent;
    transform: translateY(-8px);
    border-color:dodgerblue;
}

.card:hover i{
    color:#fff;
}

.card:hover:after{
    width:225%;
    top:-100%;
}

.card i{
    color: dodgerblue;
    margin-top:40px;
    margin-bottom: 20px;
    font-size: 3.5rem;
}

.card h2{
    color:#fff;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
}

.regform{
    position: relative;
    display:inline-block;
    width:600px;
    background-color: rgba(0,0,0,6);
    margin:left;
    color:#fff;
    padding:10px 0px 10px 0px;
    text-align: center;
    border-radius: 15px 15px 0px 0px;
    left:400px;
    top:-220px;
}

.main-form{
    background-color: rgba(0,0,0,0.5);
    width: 600px;
    margin:auto;
    margin-left: -220px;
    align-items: center;
    margin-top: 130px;
    overflow: hidden;
}

form{
    position:relative;
    padding: 10px;
    margin: 0 auto;
    height: 100%;
}

.name{
    margin-left:15px;
    margin-top: 45px;
    width: 60px;
    color:#fff;
    font-size: 18px;
    font-weight: 700;
}

.firstname{
    font-size: 16px;
    padding: 2px 0px;
    background-color: #ddd;
    color: black;
    border: none;
    border-bottom: 2px solid #666;
    outline: none;
    position: relative;
    top:-38px;
    left:170px;

}

.lastname{
    font-size: 16px;
    padding: 2px 0px;
    background-color: #ddd;
    color:black;
    border: none;
    border-bottom: 2px solid #666;
    outline: none;
    position: relative;
    left: 310px;
    top: -62px;
}

.firstlabel{
    position: relative;
    color:#fff;
    text-transform: capitalize;
    font-size: 14px;
    left:180px;
    top:-45px

}

.lastlabel{
    position: relative;
    color:#fff;
    text-transform: capitalize;
    font-size: 14px;
    left: 178px;
    top:-45px;
}

.company{
    font-size: 18px;
    padding: 2px 0px;
    background-color: #ddd;
    color: black;
    border: none;
    border-bottom: 2px solid #666;
    outline: none;
    position: relative;
    left: 180px;
    width:65%;
    top: -20px;
}

.email{
    font-size: 18px;
    padding: 2px 0px;
    background-color: #ddd;
    color: black;
    border: none;
    border-bottom: 2px solid #666;
    outline: none;
    position: relative;
    left: 180px;
    width: 65%;
    top: -20px;
}



.number{
    font-size: 18px;
    padding: 2px 0px;
    background-color: #ddd;
    color: black;
    border: none;
    border-bottom: 2px solid #666;
    outline: none;
    position:relative;
    left: 180px;
    width: 65%;
    top:-20px;
}



.phone-number{
    position: relative;
    color:#fff;
    text-transform: capitalize;
    font-size: 16px;
    left:-105px;
    top:-2px;
}


.description{
    width: 365px;
    font-size: 18px;
    padding: 0 5px;
    background-color: #ddd;
    border: none;
    color: black;
    border-bottom: 2px solid #666;
    outline: none; 
    left: 180px;
    top: -20px;
    position: relative;
    display: block;
    height: 70px;
    resize: none;
    overflow: auto;
}

button{
   font-size: 16px;
   display: inline-block;
   padding: 10px 10px;
   background-color: dodgerblue;
   color:#ddd;
   border: 1px solid transparent;
   cursor: pointer;
   transition: 0.3s ease;
   overflow: hidden;
   transition: all 0.3s;
   float:right;
   margin-bottom: 10px;
   margin-right: 240px;
   outline: none;
   align-items: center;
   justify-content: center;
}

button:hover{
    background-color: #2e2e2e;
    color:dodgerblue;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.3);
    border: 1px solid dodgerblue;
}

.background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.heading h1{
    text-align: center;
    display: block;
    position: relative;
    color:#fff;
    font-size: 5rem;
    -webkit-text-stroke-width:2px;
    -webkit-text-stroke-color:transparent;
    letter-spacing: 4px;
    background-color: dodgerblue;
    background: linear-gradient(8deg,rgba(8,52,83,1) 0%,dodgerblue 41%, rgba(41,17,45,1) 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    top: -50px;
}
/* contact section */
.container{
    width: 100;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:30px 8%;
}

.container .row{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.row section.col{
    display:flex;
    flex-direction: column;
}

.row section.left{
    flex-basis: 35%;
    min-width: 320px;
    margin-right: 60px;
    background-color: rgba(0,0,0,0.5);
}

.row section.right{
    flex-basis: 60%;
    background-color:rgba(0,0,0,0.5);
}

section.left .contactTitle h2{
    position: relative;
    font-size: 28px;
    color: #ddd;
    display: inline-block;
    margin-bottom: 25px;
}

section.left .contactTitle h2::before{
    content:'';
    position: absolute;
    width: 50%;
    height: 1px;
    background-color: #888;
    top:120%;
    left:0;
}

section.left .contactTitle h2::after{
    content: '';
    position: absolute;
    width: 25%;
    height: 3px;
    background-color: dodgerblue;
    top: calc(120% - 1px);
    left: 0;
}

section.left .contactTitle p{
    font-size: 17px;
    color: #ccc;
    letter-spacing: 1px;
    line-height: 1.2;
    padding-bottom: 22px;
}

section.left .contactInfo{
    margin-bottom: 16px;
}

.contactInfo .iconGroup{
    display:flex;
    align-items: center;
    margin: 25px 0px;
}

.iconGroup .icon{
    width: 45px;
    height: 45px;
    border: 2px solid dodgerblue;
    border-radius: 50%;
    margin-right: 20px;
    position: relative;
}

.iconGroup .icon i{
    font-size: 20px;
    color: #ddd;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.iconGroup .details span{
    display: block;
    color: #fff;
    font-size: 18px;
}

.iconGroup .details span:nth-child(1){
    text-transform: uppercase;
    color:#fff;
}

section.left .socialMedia{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 22px 0px 20px;
}

.socialMedia a{
    width: 35px;
    height: 35px;
    text-decoration: none;
    text-align: center;
    margin-right: 15px;
    border-radius: 5px;
    background-color: dodgerblue;
    transition: 0.4s;
}

.socialMedia a i{
    color:#ddd;
    font-size: 18px;
    line-height: 35px;
    border: 1px solid transparent;
    transition-delay: 0.4s;
}

.socialMedia a:hover{
    transform: translateY(-5px);
    background-color: #2e2e2e;
    color: dodgerblue;
    border: 1px solid dodgerblue;
}

.socialMedia a:hover i{
    color:dodgerblue;
}

.row section.right .messageForm{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 30px;
}

.row section.right .inputGroup{
    margin: 18px 0px;
    position: relative;
}

.messageForm .halfWidth{
    flex-basis: 48%;
}

.messageForm .fullWidth{
    flex-basis: 100%;
}

.messageForm input, .messageForm textarea{
    width: 100%;
    font-size: 18px;
    padding: 2px 0px;
    background-color: #2e2e2e;
    color: #ddd;
    border: none;
    border-bottom: 2px solid #666;
    outline: none;
}

.messageForm textarea{
    resize:none;
    height: 150px;
    display: block;
}

.inputGroup label{
    left: 0;
    bottom: 4px; 
    color: #fff;
    font-size: 18px;
    transition: 0.4s;
    pointer-events: none;
}

.inputGroup button{
    padding: 8px 16px;
    font-size: 18px;
    background-color: dodgerblue;
    color:#ddd;
    border: 1px solid transparent;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    box-shadow: 0px 8px 15px rgba(0,0,0,0.3);
    transition: 0.4;
}

.inputGroup button:hover{
    background-color: #2e2e2e;
    color:dodgerblue;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.3);
    border: 1px solid dodgerblue;
}


/*portfolio begin*/
.gallerycontainer{
    width:100%;
    min-height: 100vh;
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 50px 8%;
    margin: 90px auto;
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
}

.gallerycontainer h1{
    text-align: center;
    display: block;
    position: absolute;
    color:#fff;
    font-size: 5rem;
    -webkit-text-stroke-width:2px;
    -webkit-text-stroke-color:transparent;
    letter-spacing: 4px;
    background-color: dodgerblue;
    background: linear-gradient(8deg,rgba(8,52,83,1) 0%,dodgerblue 41%, rgba(41,17,45,1) 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    top: 75px;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid: 60px;
    gap: 15px;
    opacity: 0.85;
    margin-left: -170px;
}

.gallery img{
    width:100%;
    height: 100%;
    padding: 10px;
    margin: auto;
    margin-left: -450px auto;
    filter: blur(25);
    
}

.gallery img:hover{
    filter: blur(0);
    transform: scale(1.1);
}

/*footer*/

footer{
    background-color: black;
}

.footerContainer{
    width:100%;
    padding: 70px 30px 60px;
    background-color: #000;
}

.socialIcons{
    display: flex;
    position: relative;
}

.socialIcons a{
    text-decoration: none;
    padding: 10px;
    background-color: dodgerblue;
    margin: 10px;
    border-radius: 50%;
    text-align: center;
}

.socialIcons a i{
    color:#ddd;
    font-size: 18px;
    line-height: 35px;
    border: 1px solid transparent;
    transition-delay: 0.4s;
    top: 50px;
}

.socialIcons a:hover{
    transform: translateY(-5px);
    background-color: #2e2e2e;
    color: dodgerblue;
    border: 1px solid dodgerblue;
}

.socialIcons a:hover i{
    color: dodgerblue;
}

.footerNav{
    margin: 20px 0;
}

.footerNav ul{
    display: flex;
    justify-content: center;
}

.footerNav ul li a{
    color:#fff;
    margin: 25px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
    position: relative;
    top: -100px;
}

.footerNav ul li a:hover{
    opacity: 1;
    color:dodgerblue;
}

.footerBottom{
    background-color: black;
    padding: 5px;
    text-align: center;
}

.footerBottom p{
    color:white;
    position: relative;
    display: block;
    margin-left: -100px;
    margin-top: -25px;
}

@media screen and (min-width:320), (max-width: 760px) {
    .hero{
        font-size: 20px;
        align-items: center;
        justify-content: center;
        margin: 35px 0;
        position: relative;
        display: flex;
    }

    .video-bg{
        align-items: center;
        overflow: hidden;
    }

    nav{
        width: 100%;
    }

    .main-form{
       height:auto ;
       overflow:hidden ;
       width: 510px;
       margin: 100px 0;
       margin-left: -200px ;
       margin-top:auto ;
    }

    .regform{
        position:relative ;
        display: flex;
        top: -300px;
        width: 625px;
        font-size: 19px;
        margin-left: -385px;
        border-radius: none;
        
    }

    .form{
        margin-bottom: 12px;
        width: 80%;
        margin-left: 140px;
        margin-top: auto;
    }

    .form:nth-child(2n){
        justify-content: space-between;
    }

    .name{
       position: revert;
       height: auto;
        width: 100%;
    }

    .firstlabel{
        display: none;
    }

    .lastlabel{
        display: none;
    }

    .lastname{
        display: none;
    }

    .firstname{
        display: revert;
        height: auto;
        width: 60%;
        margin-left: 13px;
        top: -15px;
    }

    .company{
        display: revert;
        height: auto;
        width: 60%;
    }

    .email{
        display: revert;
        height: auto;
        width: 60%;
    }

    .number{
        display: revert;
        height: auto;
        width: 60%;
    }

    .description{
        display: revert;
        height: auto;
        width: 60%;
    }

    button{
        display: revert;
        align-items: center;
        justify-content: center;
    }

    #content{
        display: revert;
    }

    .intro{
        display: revert;
        height: auto;
        width: 100%;
    }

    .intro-content p{
        position: flex;
        flex-direction: row;
        width: 100%;
        height: auto;
        display: revert;
        margin-left: 50px;
        border: 10px;
        padding: 18px;
        font-size: 19px;
        margin: 0px 0 0 35px;
        color:black;
        margin-bottom: 50px;
    }

    .intro-content h2{
        display: block;
        margin: 6px 0 0 5px;
        padding: 1px;
        margin-top: -10px;
    }

    .intro-image{
    display: none;
    }

    .intro::before{
        display: none;
        overflow: hidden;
    }

    .intro::after{
        display: none;
        overflow: hidden;
    }

    .cards{
        grid-template-columns: repeat(1, 1fr);
        display: revert;
    }

    .box{
        margin-top: 470px;
        height: auto;
        position: static;
        display: revert;
    }

    .service{
        align-items: center;
        justify-content: center;
    }

    .intro-body{
        position: flex;
        flex-direction: row;
        width: 100%;
        height: auto;
        display: revert;
        border: 10px;
        padding: 18px;
        font-size: 18px;
        margin: 58px 0 0 32px;
        color:black;
        margin-top: 480px; 
    }

    .intro-body p{
        font-size: 16px;
        margin: 5px 0 0 2px;
        margin-left: -17px;
    }

    .service h1:after{
        content: "";
        position: absolute;
        top:167px;
        left:10%;
        height: 8px;
        width: 60%;
        border-radius: 8px;
        background-color: rgba(17, 16, 16, 0.05);
    }

    .contact{
        position: unset;
        padding: 25px;
        flex-direction: column;
    }
    .container{
        position: static;
        display: revert;
        flex-direction: column;
        margin: 55px;
    }

    .container .contactInfo{
        margin-bottom: 20px;
    }

    .container .contactInfo,
    .contactForm{
        width:100%;
    }

    .socialIcons{
        display: flex;
        position: relative;
        justify-content: center;
    }

    .footerBottom p{
        align-items: center;
        justify-content: center;
        margin: 15px;
    }
   
}

