* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #fff;
    overflow-x: hidden;
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

canvas#stars {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#header {
    position: relative;
    width: 100%;
    height: 100Vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/astr1.png);
    background-size: cover;
    background-position: center;
    z-index: 1;
    background-attachment: fixed;
}

.container {
    padding: 10px 20px;
    z-index: 1;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}


nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #29068b;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    color: rgb(150, 150, 150);
    text-shadow: 0 5px 15px rgba(234, 232, 238, 0.8);
    overflow: hidden;
    height: 250px;
    transform: rotate(5deg);
    margin: 31px auto 0 300px;
    padding: 14px 100px;
    float: left;
    font-size: 50px;
    text-align: center;
    margin-top: 50px;
    z-index: 2;
    text-transform: uppercase;
    font-family: "Montserrat";
    font-weight: 700;
    transition: transform 1.5s ease;
    transform-origin: center;
}

.header-text:hover {
    transform: rotate(35deg);
}

.header-text h1 {
    font-size: 60px;
    margin-top: 20px;
    z-index: 2;
}


.header-text h1 span {
    background-color: none;
}


/*----about---*/

#about {
    padding: 80px 0;
    color: #ababab;
}

img.build {
    width: 200px;
    height: 500px
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 30x;
    background-color: #29068b;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
    content: "";
    display: block;
    border-bottom: 2px solid #29068b;

}


.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #29068b;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}



/*-------service----*/
#services {
    padding: 30px 0;
}


.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i {
    font-size: 20px;
    margin-bottom: 30px;
 }

.services-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}


.services-list .service-item {
  
    transition: background 0.5s, transform 0.5s;
}

.services-list .service-item.touched {
    background: #200175;
    transform: translateY(-10px);
}


.services-list div:hover {
    background: #200175;
    transform: translateY(-10px);
}


/*----work---*/
#work {
    padding: 50px 0;
}

#work h1 {
    margin-left: 25px;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    max-width: 700px;
    margin: 0 30px;
    height: 400px;
}

.work img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    object-fit: fit;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), #29068b);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 16px;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;

}

.layer a {
    margin-top: 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}


#work .layer p,
#work .layer h3 {
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%
}



/*-----Reviews---*/
#review .sub-title {
    margin-top: 35px;
    margin-left: -25px;
    margin-bottom: 25px;

}

#review {
    padding: 0 50px;
}

.box-area {
    padding: 30px;
    position: relative;
    display: block;
    background: linear-gradient(rgba(0, 0, 0, 0.7), #29068b);
    color: #fff;
    box-shadow: rgba(228, 225, 225, 0.877) 0 5px 15px;
    margin: 40px 0;
}

.box-area h5 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-top: 30px;
    margin-bottom: 5px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.box-area span {
    color: #fff;
    display: block;
    font-size: 13px;
    margin: 0 0 10px;
    font-weight: 400;
}

.box-area .content {
    color: #fff;
    font-size: 14px;
}


.box-area .img-area {
    width: 90px;
    height: 90px;
    position: absolute;
    top: -40px;
    left: 0;
    bottom: 0;
    margin: 0 auto;
    right: 0;
    z-index: 1;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: rgba(240, 240, 243, 0.877) 0 5px 15px;
}

.box-area .img-area img {
    width: 100%;
    height: 100%;
    border-radius: 50%;

}

#review .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
}

#review .owl-prev,
#review .owl-next {
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), #eae8ee);
    position: absolute;
}

#review .owl-prev {
    left: -60px;
    top: -30px;
}

#review .owl-next {
    right: -60px;
    top: -30px;

}


@media only screen and (max-width:991px) {
    .owl-nav {
        display: none;
    }
}



/*----Contact-----*/

.contact-left {
    flex-basis: 35%;
    margin: 30px;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #fff;
    margin-right: 15px;
    font-size: 17px;
}

#a1 {
    color: #fff;
    text-decoration: none;
}

#a1:hover {
    color: #29068b;
}

#a1 i.fa-paper-plane:hover {
    color: #29068b;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 25px;
    margin-left: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #29068b;
    transform: translateY(-5px);
}


.contact-right form {
    width: 100%;
    padding-bottom: 30px;
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 5px;
    cursor: pointer;
    background: linear-gradient(rgba(0, 0, 0, 0.7), #29068b);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form .btn:hover {
    background-color: #262626;
    color: #fff;
}

form ::placeholder {
    color: white;
}

form input:hover,
form textarea:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.7), #29068b);
    color: #fff;
    border: 1px solid #ccc;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    position:relative;
    margin-top: 20px;
    bottom:-30px;
}

        

/*---nav&small screen----*/
nav .fas {
    display: none;
}


@media only screen and (max-width: 599px){
    
    #review .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    
     #work .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    
    #services .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    #about .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    
    #contact .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 55px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    
 
    .services-list {
        font-size: 25px;
    }

    .tab-contents ul li {
        font-size: 13px;
    }

    .box-area {
        padding: 10px;
        font-size: 22px;
    }

    .box-area h5 {
        font-size: 15px;
        margin-top: 40px;
    }

    .box-area span {
        font-size: 12px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .box-area .content {
        font-size: 15px;

    }

    .box-area .img-area {
        width: 70px;
        height: 70px;
        top: -30px;
    }

    .box-area .img-area img {
        border: 3px solid #fff;
    }



    #header {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/astro.png);
        background-size:cover;
        width: 100%;
        height: 100vh;
        background-position: center;
        overflow: hidden;
        background-attachment: scroll;
        z-index: 2;
    }



    .header-text {
        color: rgb(150, 150, 150);
        text-shadow: 0 5px 15px rgba(234, 232, 238, 0.8);
        transform: rotate(5deg);
        margin: 31px auto;
        padding: 14px 20px;
        font-size: 30px;
        margin-top: 10px;
    }
    .header-text:hover {
        transform: rotate(15deg);
    }
    nav .fas {
        display: block;
        font-size: 25px;
        position: absolute;
        right: -2;
        margin-top:7px;

    }

    nav .fas:hover {
        color: #29068b;
    }

    nav ul {
        background: linear-gradient(rgba(0, 0, 0, 0.7), #29068b);
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        text-align: left;
        z-index: 2;
        transition: right 0.5s;
        max-height: 0;
        overflow: hidden;
    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .subtitle {
        font-size: 40px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-1 {
        margin-bottom: 30px;
    }

    .about-col-2 {
        font-size: 16px;
    }

    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }

    .copyright {
        font-size: 12px;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (min-width: 600px) and (max-width: 699px){
    #review .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
     #work .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    #services .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    
    #about .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    #contact .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 55px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    
    .services-list {
        font-size: 25px;
    }

    .tab-contents ul li {
        font-size: 13px;
    }

    .box-area {
        padding: 10px;
        font-size: 22px;
    }

    .box-area h5 {
        font-size: 15px;
        margin-top: 40px;
    }

    .box-area span {
        font-size: 12px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .box-area .content {
        font-size: 15px;

    }

    .box-area .img-area {
        width: 70px;
        height: 70px;
        top: -30px;
    }

    .box-area .img-area img {
        border: 3px solid #fff;
    }



    #header {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/astro.png);
        background-size:cover;
        width: 100%;
        height: 100vh;
        background-position: center;
        overflow: hidden;
        background-attachment: scroll;
        z-index: 2;
    }



    .header-text {
        color: rgb(150, 150, 150);
        text-shadow: 0 5px 15px rgba(234, 232, 238, 0.8);
        transform: rotate(5deg);
        margin: 31px auto;
        padding: 14px 20px;
        font-size: 30px;
        margin-top: 10px;
    }
    .header-text:hover {
        transform: rotate(15deg);
    }
    nav .fas {
        display: block;
        font-size: 25px;
        position: absolute;
        right: -2;
        margin-top:7px;

    }

    nav .fas:hover {
        color: #29068b;
    }

    nav ul {
        background: linear-gradient(rgba(0, 0, 0, 0.7), #29068b);
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        text-align: left;
        z-index: 2;
        transition: right 0.5s;
        max-height: 0;
        overflow: hidden;
    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .subtitle {
        font-size: 40px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-1 {
        margin-bottom: 30px;
    }

    .about-col-2 {
        font-size: 16px;
    }

    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }

    .copyright {
        font-size: 14px;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (min-width: 700px) and (max-width: 767px) {
    #review .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
     #review {
        padding: 50px 0;
    }

    .owl-nav {
        display: none;
    }

    .box-area {
        text-align: center;
    }

    
     #work .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    #services .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    
    #about .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    #contact .sub-title {
        margin-top: 10px;
        margin-right: auto;
        margin-bottom: 55px;
        margin-left: auto;
        text-align: center;
        font-size: 30px;
    }
    
    .services-list {
        font-size: 25px;
    }

    .tab-contents ul li {
        font-size: 14px;
    }

    .box-area {
        padding: 10px;
        font-size: 12px;
    }

    .box-area h5 {
        font-size: 15px;
        margin-top: 40px;
    }

    .box-area span {
        font-size: 12px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .box-area .content {
        font-size: 15px;

    }

    .box-area .img-area {
        width: 70px;
        height: 70px;
        top: -30px;
    }

    .box-area .img-area img {
        border: 3px solid #fff;
    }



    #header {
       background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/astro.png);
        background-size:cover;
        width: 100%;
        height: 100vh;
        background-position: center;
        overflow: hidden;
        background-attachment: scroll;
        z-index: 2;
    }



    .header-text {
        color: rgb(150, 150, 150);
        text-shadow: 0 5px 15px rgba(234, 232, 238, 0.8);
        transform: rotate(5deg);
        margin: 31px auto;
        padding: 14px 20px;
        font-size: 30px;
        margin-top: 10px;
    }
    .header-text:hover {
        transform: rotate(15deg);
    }
    nav .fas {
        display: block;
        font-size: 25px;
        position: absolute;
        right: -2;
        margin-top:7px;

    }

    nav .fas:hover {
        color: #29068b;
    }

    nav ul {
        background: linear-gradient(rgba(0, 0, 0, 0.7), #29068b);
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        text-align: left;
        z-index: 2;
        transition: right 0.5s;
        max-height: 0;
        overflow: hidden;
    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .subtitle {
        font-size: 40px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 45%;
    }

    .about-col-1 {
        margin-bottom: 30px;
    }

    .about-col-2 {
        font-size: 14px;
    }

    .tab-links {
        font-size: 15px;
        margin-right: 20px;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }

    .copyright {
        font-size: 10px;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
    



@media only screen and (min-width: 768px) and (max-width: 1024px) {
    
   
   
   
    nav .fas {
        display: block;
        font-size: 30px;
        position: absolute;
        right: -4;
        margin-top:7px;

    }

    nav .fas:hover {
        color: #29068b;
    }

    nav ul {
        background: linear-gradient(rgba(0, 0, 0, 0.7), #29068b);
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        text-align: left;
        z-index: 2;
        transition: right 0.5s;
        max-height: 0;
        overflow: hidden;
    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    #header {
       
        background-size: cover;
        width: 100%;
        height: 100vh;
        background-position: center;
        overflow: hidden;
        background-attachment:scroll;
        z-index: 2;
    }



    .header-text {
        color: rgb(150, 150, 150);
        text-shadow: 0 5px 15px rgba(234, 232, 238, 0.8);
        transform: rotate(5deg);
        margin: 31px auto;
        padding: 14px 20px;
        font-size: 40px;
        margin-top: 30px;
    }
    .header-text:hover {
        transform: rotate(15deg);
    }
    


    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }

    .copyright {
        font-size: 14px;
    }
    
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    
}
    


