* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif
}

.navbar {
    background: whitesmoke;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: rgb(46, 135, 203);
    background-image: linear-gradient(to top, rgb(13, 117, 203) 0%, rgb(27, 98, 196) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;

}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%
}

/*
.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: rgb(46, 135, 203);
    color: #fff;
    transition: transform 0.3s;
}

.button:active {
    transform: scale(0.8);
}

*/

.navbar__links:hover {
    color:rgb(46, 135, 203);
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
    }

    .navbar__menu.active {
        background: whitesmoke;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: black;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);

    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

}

/* Hero section */

.main {
    background-color: white;
}

.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: 90vh;
    background-color: white;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
}

.main__content h1 {
    font-size: 4rem;
    background-color: rgb(46, 135, 203);
    background-image: linear-gradient(to top, rgb(46, 135, 203) 0%, skyblue 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content h2 {
    font-size: 4rem;
    background-color: rgb(122, 2, 133);
    background-image: linear-gradient(to top, rgb(122, 2, 133) 0%, rgb(165, 89, 172) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content p {
    margin-top: 1rem;
    font-size: 20px;
    font-weight: 700;
    color: #444;
}

.main__btn {
    font-size: 1rem;
    background-image: linear-gradient(to top, rgb(46, 135, 203) 0%, skyblue 100%);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #444;
    margin-top: 15px;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
}

.main__btn a {
    position: relative;
    z-index: 2;
    color: white;
    text-decoration: none;
}

.main__btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgb(132, 5, 143);
    transition: all 0.35s;
    border-radius: 4px;
}

.main__btn:hover {
    color: #fff;
}

.main__btn:hover:after {
    width: 100%;
}

.main__img--container {
    text-align: center;
}

#main__img {
    height: 80%;
    width: 80%;
}

/*  mobile responsive  */

@media screen and (max-width: 768px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;
    }
    .main__content {
        text-align: center;
        margin-bottom: 4rem;
    }

    .main__content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main__content h2 {
        font-size: 3rem;
    }

    .main__content p {
        margin-top: 1rem;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2 {
        font-size: 2rem;
    }

    .main__content p {
        margin-top: 2rem;
        font-size: 20px;
    }

    .main__btn {
        padding: 12px 36px;
        margin: 2.5rem 0;
    }
}


/*  Services CSS  */

.services {
    background: whitesmoke;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin-bottom: 20px;
}

.services h1 {
    background-color: rgb(46, 135, 203);
    background-image: linear-gradient(to right, rgb(84, 162, 222) 0%, rgb(96, 145, 209) 0%, rgb(98, 146, 228) 21%, rgb(70, 142, 201) 52%, rgb(99, 159, 183) 78%, skyblue 100%);
    background-size: 100%;
    margin-bottom: 5rem;
    font-size: 2.5rem;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.services__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.services__card {
    margin: 1rem;
    height: 525px;
    width: 400px;
    border-radius: 4px;

    background-image: linear-gradient(
        to bottom, 
      rgba(0,0,0,0) 0%, 
      rgba(7, 6, 6, 0.6) 100%
      ), 
      url('code3.jpg');

    background-size: cover;
    position: relative;
    color: white;
}

.services__card:nth-child(2) {

    background-image: linear-gradient(
        to bottom, 
      rgba(0,0,0,0) 0%, 
      rgba(7, 6, 6, 0.6) 100%
      ), 
      url('building.jpg');

}

.services h2 {
    position: absolute;
    top: 350px;
    left: 30px;
}

.services__card p {
    position: absolute;
    top: 400px;
    left: 30px;
}

.services__card button {
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    border: none;
    outline: none;
    border-radius: 4px;
    background: rgb(46, 135, 203);
    position: absolute;
    top: 440px;
    left: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.services__card button:active {
    transform: scale(0.8);
}

.services__card:hover {
    transform: scale(1.075);
    transition: 0.2s ease-in;
    cursor: pointer;
}

.services__card a {
    color: white;
    text-decoration: none;
    display: inline-block;
}


@media screen and (max-width: 960px) {
    .services {
        height: 1600px;
    }

    .services h1 {
        font-size: 2rem;
        margin-top: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .services {
        height: 1400px;
    }

    .services h1 {
        font-size: 1.2rem;
    }

    .services__card {
        width: 300px;
    }
}

/*  footer CSS  */

.footer__container {
    background-color: white;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer__logo {
    color: #444;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.midtext {
    color: #444;
    font-size: 20px;
}


.middiv {
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

.contactclass {
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    height: max-content;
}


.form-contact {
    margin: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contactmess {
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

.sentmessage {
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

.checkdiv {
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

.success {
    font-size: 20px;
    background-color: rgb(122, 2, 133);
    background-image: linear-gradient(to top, rgb(122, 2, 133) 0%, rgb(165, 89, 172) 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.contacth2 {
    font-size: 3rem;
    background-color: rgb(46, 135, 203);
    background-image: linear-gradient(to top, rgb(46, 135, 203) 0%, skyblue 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

#fmessage {
    height: 84px;
    padding: 10px;
    resize: none;
}

#placeholder22 {
    color: #7f7f7f
}

.form-contact textarea {
    width: 350px;
    height: 84px;
    padding: 0.5rem;
    border-radius: 16px;
    border: none;
    outline: none;
    box-shadow: 1px 1px 5px black;
}

.form-contact input {
    width: 350px;
    height: 40px;
    padding: 0.5rem;
    border-radius: 16px;
    border: none;
    outline: none;
    box-shadow: 1px 1px 5px black;
}

.form-contact input[type="submit"]{

    background-color: rgb(142, 20, 153);
    background-image: linear-gradient(to top, rgb(133, 15, 143) 0%, rgb(165, 89, 172) 100%);
    background-size: 100%;

    padding: 10px 20px;
    margin-top: 8px; /* Add some spacing between the form and the submit button */

    color: white;
    display: none;
    border-radius: 10px;
    outline: none;
    height: 40px;
    width: 300px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s;
}

.form-contact input[type="submit"]:active {
    transform: scale(0.8); /* Shrink the button on click */
}

/*--------------------------------*/

.services1 {
    background: whitesmoke;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin-bottom: 20px;
}

.services1 h1 {
    background-color: rgb(46, 135, 203);
    background-image: linear-gradient(to right, rgb(84, 162, 222) 0%, rgb(96, 145, 209) 0%, rgb(98, 146, 228) 21%, rgb(70, 142, 201) 52%, rgb(99, 159, 183) 78%, skyblue 100%);
    background-size: 100%;
    margin-bottom: 5rem;
    font-size: 2.5rem;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.services1__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.services1__card {
    margin: 1rem;
    height: 525px;
    width: 400px;
    border-radius: 4px;

    background-image: linear-gradient(
        to bottom, 
      rgba(0,0,0,0) 0%, 
      rgba(7, 6, 6, 0.6) 100%
      ), 
      url('code3.jpg');

    background-size: cover;
    position: relative;
    color: white;
}

.services1__card:nth-child(2) {

    background-image: linear-gradient(
        to bottom, 
      rgba(0,0,0,0) 0%, 
      rgba(7, 6, 6, 0.6) 100%
      ), 
      url('building.jpg');

}

.services1 h2 {
    position: absolute;
    top: 350px;
    left: 30px;
}

.services1__card p {
    position: absolute;
    top: 400px;
    left: 30px;
}

.services1__card button {
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    border: none;
    outline: none;
    border-radius: 4px;
    background: rgb(46, 135, 203);
    position: absolute;
    top: 440px;
    left: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.services1__card button:active {
    transform: scale(0.8);
}

.services1__card:hover {
    transform: scale(1.075);
    transition: 0.2s ease-in;
    cursor: pointer;
}

.services1__card a {
    color: white;
    text-decoration: none;
    display: inline-block;
}


@media screen and (max-width: 960px) {
    .services1 {
        height: 1600px;
    }

    .services1 h1 {
        font-size: 2rem;
        margin-top: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .services1 {
        height: 1400px;
    }

    .services1 h1 {
        font-size: 1.2rem;
    }

    .services1__card {
        width: 300px;
    }
}


/*-----Captcha-------*/

.containerr {
    text-align: center;
    align-items: center;
    justify-content: center;

}

.containerr input {
    width: 250px;
    height: 40px;
    padding: 0.5rem;
    border-radius: 16px;
    border: none;
    outline: none;
    box-shadow: 1px 1px 5px black;

}

#capbtn {
    background-color: rgb(142, 20, 153);
    background-image: linear-gradient(to top, rgb(133, 15, 143) 0%, rgb(165, 89, 172) 100%);
    background-size: 100%;
    padding: 10px 20px;
    margin-top: 8px; /* Add some spacing between the form and the submit button */
    color: white;
    border: none;
    border-radius: 10px;
    outline: none;
    height: 40px;
    width: 250px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s;
 
}

#capbtn:active {
    transform: scale(0.8); /* Shrink the button on click */
}


.message {
    margin-top:7px;
    font: 16px;
    display: none;
}

.message.active {
    display: block;
}

.input_field {
    margin-top: 10px;
}


/*--Services page edit--*/
.p1 {
    margin-top: 1rem;
    font-size: 20px;
    font-weight: 700;
    color: #444;
}

.divp1 {
    justify-content: center;
    align-items: center;
    text-align: center;
}
