@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400&family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding:0;
    box-sizing: border-box;
    
}

body {
    height : 100vh;
    font-family: 'Poppins', 'Fontawesome', 'Comfortaa', sans-serif;
}

/* nav */

.content{
    max-width: 1250px;
    margin: auto; 
    padding: 0px 30px;       
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 10px 5%;
    transition: all 0.3s ease;
    position : fixed;
    width:100%;
}

.navbar.sticky{
    padding: 35px 20px 15px 15px;
    background: #4757EF;
}

.navbar .content{
    display: flex;
    align-items: center;
    justify-content: space-between;;
}

.navbar .logo a{
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Comfortaa', sans-serif;
    text-decoration: none;
}

.navbar .menu-list{
    display: inline-flex;
}

.menu-list li{
    list-style: none;
}

.menu-list li a{
    color: #fff;
    font-family: 'Comfortaa';
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-list li a:hover{
    color: cyan;
}

.banner{
    /* check attachment fixed later */
    height: 70vh;
    background: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/must2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    width: 100%;
}

.text-box{
    width: 100%;
    color: #fff;
    position: relative;
    padding: 6% 0 13% 0;
    text-align: center;
}

/* hero */

.text-box h3{
    text-align: center;
    color: #fff;
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.1rem;
    padding: 0px 15px;
}

.text-box img {
    width: 12vmax;
}

.line {
    width: 150px;
    height: 3px;
    background: #FEC342;
    margin: 10px auto;
}

/* button styling */
.text-box .ctn {
    display: inline-block;
    width: 200px;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    margin-top: 50px;
    border-radius: 7vmin;
    font-family: 'Comfortaa', sans-serif;
    font-weight: bold;
    border: 2px solid #171a38;
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.text-box .ctn span {
    background: #171a38;
    height: 100%;
    width: 0;
    border-radius: 7vmin;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.5s;
    overflow: hidden;
}

.text-box .ctn:hover span {
    width: 100%;
}

.text-box .ctn:hover {
    border: none;
}

.menu-btn1 {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    align-items: right;
    cursor: pointer;
    display: none;
}
/* /header */

.icon{
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: none;
}

.icon.cancel-btn1{
    position: absolute;
    right: 30px;
    top: 20px;
}
/* media query */
@media (max-width: 868px){
    .icon{
        display: block;
    }
    .icon.hide{
        display: none;
    }
    .navbar .menu-list{
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 100%;
    max-width: 400px;
    background: #222;
    display: block;
    padding: 40px 0;
    text-align: center;
    transition: all 0.3s ease;
    }
    .navbar .menu-list.active{
        left: 0%;
        z-index: 1000;
    }
    .navbar .menu-list li{
        margin-top: 45px;
    }
    .navbar .menu-list li a{
        font-size: 23px;
    }
}


/* services */
.service{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.service h2{
    color: #21286F;
    text-align: center;
    font-size: 2rem;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
}

.row h3 {
    text-align: center;
    font-family: 'Comfortaa', sans-serif;
    padding-top: 0.5rem;
    font-size: 1.2rem;
    color: #FEC342;
}

.row p {
    font-size: 15px;
    color: #fff;
    line-height: 30px;
    text-align: center;
    margin-bottom: 40px;
}

/* /* service  */

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.services-col {
    flex-basis: 31%;
    background: #4757EF;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
}

/* h4{
    text-align: center;
    font-weight: 400;
    margin: 10px 0;
    color: #fff;
} */

.services-col:hover {
    box-shadow: 0 0 10px 0px;
}

@media(max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

/* about */
.about2{
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background-color: #4757EF;
}

.row2{
    width: 80%;
    max-width: 1170px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px 30px;
}

.row2 .left{
    overflow: hidden;
}

.row2 .left{
    width: 100;
    height: 100;
    object-fit: cover;
}

.row2 .right{
    display: flex;
    align-items: center;
}

.row2 .right h2{
    color: #FEC342;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 400;
}

.row2 .right p{
    font-size: 16px;
    font-family: 'Comfortaa', sans-serif;
    color: #fff;
    line-height: 30px;
    text-align: justify;
    margin-bottom: 40px;
}

.row2 .skills button {
    border-radius: 10px;
    padding: 5px;
    width: 150px;
    background-color: #FEC342;
    color: #4757EF;
    cursor: pointer;
}

.row2 .skills button a {
    font-size: 22px;
    font-family: 'Comfortaa', sans-serif;
    text-align: center;
    text-decoration: none;
    letter-spacing: 2px;
    border: none;
}

.row2 .skills button:hover {
    transition: 1s;
    background-color: #fff;
    color: #fec544;
}


@media(max-width: 700px) {
    .row2 .right .content {
        padding-left: 0;
    }
    .row2{
        width: 80%;
        grid-template-columns: 1fr;
    }
    .skills button {
        font-size: 19px;
        text-decoration: none;
        padding: 5px;
        width: 160px;
    }
    .row2 .left img{
        width: 100%;
    }
}
/* /about */



/* services seemless */

.our-services {
    padding: 3rem 7%;
    background-color: #21286F;
}

.our-services h2{
    color: #777;
    text-align: center;
    font-size: 3vmax;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 400;
}

.our-services h2 span{
    color: #4757EF;
    font-size: 3vmax;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 400;
}

.main-services{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    grid-gap: 10px;
    max-width: 1200px;
    margin: auto
}

.inner-services{
    background-color: #372775;
    flex: 1 1 300px;
    padding: 1.5vmax;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.inner-services:hover{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.inner-services h3{
    font-family: 'Comfortaa', sans-serif;
    padding: 0.5rem;
    font-size: 1.2rem;
    color: #FEC342;
}

.inner-services p {
    padding: 0;
    font-size: 1rem;
    text-align: justify;
    line-height: 30px;
    color: #fff;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 300;
}

/* gallery */
.veld-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 80vw;
}

.veld-section {
    background: #141414;
}


.projects {
    display: block;
    width: 100%;
    text-decoration: none;
    margin: 1em 0;
    cursor: pointer;
}

.projects figure img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 300px;
}

.projects h3 {
    font-family: 'Comfortaa', sans-serif;
    text-align: center;
    padding: 0.5rem;
    font-size: 1.2rem;
    color: #FEC342;
}

/* gallery media query starts */

@media screen and (min-width: 700px) {
    .veld-wrapper {
        min-width: 200px;
        margin: 0 auto;
    }

    .veld-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 1em;
    }

    .projects:nth-child(1) {
        grid-column: 1 / span 3;
    }

    .projects {
        width: 100%;
        height: 300px;
        text-decoration: none;
        margin: 0;
    }

    .projects figure {
        position: relative;
        overflow: hidden;
    }

    .projects figure img {
        position: relative;
        z-index: 4;
        transition: transform 0.4s;
    }

    .projects figure:hover img {
        transform: translateY(-90px);
    }

    .projects h3 {
        font-family: 'Comfortaa', sans-serif;
        text-align: center;
        font-size: 1.2rem;
        color: #FEC342;
        position: absolute;
        text-align: center;
        left: 0;
        bottom: 0;
        padding: 20px;
        height: 90px;
        width: 100%;
    }

    .split-container {
        max-width: 960px;
        margin: 0 auto;
    }
}

/* /gallery */

/* contact */
.contact-section {
    min-height: 100vh;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/contact.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    color: #fff;
    max-width: 500px;
    line-height: 40px;
    padding-left: 50px;
    font-size: 15px;
}

.contact-info i {
    margin-right: 20px;
    font-size: 20px;
}

.contact-form {
    max-width: 700px;
    margin-right: 50px;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-form h3 {
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    text-transform: lowercase;
    margin-bottom: 30px;
}

.contact-form .text-box1 {
    background: rgb(91, 81, 236);
    color: #fff;
    border: none;
    width: calc(50% - 10px);
    height: 50px;
    padding: 12px;
    font-size: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-form .text-box1:first-child {
    margin-right: 15px;
}

.contact-form textarea {
    background: rgb(91, 81, 236);
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    min-height: 200px;
    max-height: 400px;
    resize: vertical;
    border-radius: 5px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-form .send-btn {
    float: right;
    background: #2e94e3;
    color: #fff;
    border: none;
    width: 120px;
    height: 40px;
    font-size: 15px;
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: 0.3s;
    transition-property: background;
    cursor: pointer;
}

.contact-form .send-btn:hover {
    background-color: #4757EF;
}

@media screen and (max-width: 800px) {
    .contact-section {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        margin: 30px 50px;
    }

    .contact-form h3 {
        font-size: 30px;
        font-weight: 400;
    }

    .contact-form .text-box1 {
        width: 100%;
    }
}

/* css for alert messages */

.alert-success {
    z-index: 1;
    background: #d4edda;
    font-size: 18px;
    padding: 20px 40px;
    min-width: 420px;
    position: fixed;
    right: 0;
    top: 10px;
    border-left: 8px solid #3ad66e;
    border-radius: 5px;
}

.alert-error {
    z-index: 1;
    background: #fff3cd;
    font-size: 18px;
    padding: 20px 40px;
    min-width: 420px;
    position: fixed;
    right: 0;
    top: 10px;
    border-left: 8px solid #ffa502;
    border-radius: 5px;
}

/* footer */
.inner-footer {
    margin: 0;
    padding: 0;
    background-color: #4757EF;
}

.quick-links {
    display: flex;
    justify-content: center;
    width: 400px;
    height: 40px;
    padding: 7px;
    margin: auto;
}

.quick-links ul {
    display: flex;
}

.quick-items {
    list-style: none;
}

.quick-items a {
    text-decoration: none;
    padding: 0 5px;
    font-size: 14px;
    color: #fff;
    transition: all .25s;
}

.quick-items a:hover {
    color: #FEC342;
}

.outer-footer {
    padding: 10px;
    text-align: center;
    color: #FEC342;
    font-size: smaller;
    background-color: rgb(56, 55, 55);
}

/* /footer */

@media (max-width:610px) {

 
    .text-box{
    width: 100%;
    color: #fff;
    position: relative;
    padding: 10% 0 14% 0;
    text-align: center;
}
}

@media (max-width:400px) {

    .header {
        width :125%;
    }

    .service {
        width :125%;
        padding: 30px 30px 0 30px;
    }
    
    .banner {
        height:70vh;
    }

    .about2 {
        width :125%;
    }

    .our-services {
       
        width: 125%;
    }

    .our-services h2 {
      
        font-size: 2rem;
    }

    .our-services h2 span{
      
        font-size: 2rem;
    }

    .veld-section {
     
        width: 125%;
    }

    .contact-section {
        width: 125%;
    }    

    .footer {
        width:125%;
    }

    .text-box img {
        width: 6rem;
    }
    
    .text-box{
    width: 100%;
    color: #fff;
    position: relative;
    padding: 14% 0 14% 0;
    text-align: center;
}
}