@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,700&family=Roboto:ital@1&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background: linear-gradient(141deg, rgba(1, 33, 63, 1) 19%, rgba(36, 93, 144, 1) 37%, rgba(9, 62, 111, 1) 48%, rgba(16, 55, 91, 1) 99%);
    
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;

}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: red;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(50px);
    z-index: -1;
}


.logo {
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

/* .navbar{
    position: fixed;
    z-index: 1001;
} */

.navbar a {
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
}

#check {
    display: none;
    position: absolute;
    top: 30px;
    right: 7%;
    height: 25px;
    width: 25px;
}

.icons {
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    display: none;
    position: absolute;
    top: 20px;
    right: 5%;
}


/*--------------- Main Style------------------*/

.heading{
    margin-bottom: 50px;
}

.main h1 {
    font-size: 60px;
    color: white;
    font-family: emoji;
    font-style: italic;
    text-align: center;
    margin-top: 250px;
    margin-bottom: 20px;
    margin-right: 5%; 
    margin-left: 5%; 
}

.main p {
    position: absolute;
    font-size: 30px;
    color: white;
    font-family: emoji;
    font-style: italic;
    text-align: center;
    left: 50%;
    /* top: 55%; */
    transform: translate(-50%, -50%);
    z-index: -1;
    margin-top: 5%;
}



/* ----------------------Form Area Style -------------------*/
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #07324c;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 20px;
    border-color: #07324c;
}


.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}


.button {
    background-color: #62addc;
    border-color: black;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-size: large;
    width: 250px;
    height: 50px;
    margin-top: 190px;
    margin-bottom: 60px;
}

.button:hover {
    background-color: #33abd0;
}

.button-container {
    text-align: center;
}

.contact-form {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.send {
    background-color: #08637c;
    border-radius: 10px;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    width: 150px;
    height: 50px;
    text-align: center;
}



.send:hover {
    background-color: rgb(0, 28, 45);

}

.bgtxt {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    margin-left: auto;
    opacity: 15%;
    z-index: -1;

}

.bgtxt h1 {
    font-size: 200px;
    color: #45c0e5;
}








/*------------------- Services --------------------*/

.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: monospace;
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;

}

.item {
    position: absolute;
    width: 260px;
    height: 320px;
    text-align: justify;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    transition: 0.5s;
    left: calc(50% - 110px);
    /* top: 0; */
}

#next,
#prev {
     position: absolute;
    top: 40%;
    color: rgb(1, 89, 121);
    background-color: transparent;
    border: none;
    font-size: xxx-large;
    font-family: monospace;
    font-weight: bold;
    left: 50px;
    z-index: 1;
    cursor: pointer;

}

#next {
    left: unset;
    right: 50px;
}








/*--------------- Testimoinals Design---------------- */

.outerdiv {
    margin-top: 100px;
    width: 100%;
    min-height: 100vh;
    background: #EDF2F8;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.innerdiv {
    transform: scale(0.9);
    margin: 1rem;
    display: grid;
    grid-gap: 1.5rem;
    grid-template-rows: repeat(2, 22rem);
    grid-template-columns: repeat(4, 17rem);


}

.eachdiv {
    padding: 1rem 2rem;
    border-radius: 0.8rem;
    box-shadow: 5px 5px 20px #6d6b6b6b;
    color: white;

}

.div1 {
    background: #733FC8;
    grid-column: 1/3;
    grid-row: 1/2;
    background-repeat: no-repeat;
    background-position-x: 25rem;

}

.div2 {
    background: #49556B;
    grid-column: 3/4;
    grid-row: 1/2;
}

.div3 {
    background: white;
    grid-column: 4/5;
    grid-row: 1/3;
    color: black;
}

.div4 {
    background: white;
    grid-column: 1/2;
    grid-row: 2/3;
    color: black;
}

.div5 {
    background: #18202D;
    grid-column: 2/4;
    grid-row: 2/3;
}

.userdetails {
    display: flex;
}

.imgbox {
    margin-right: 1rem;
}

.imgbox img {
    border-radius: 50%;
    width: 2rem;
    border: 2px solid #cec5c5;
}

.detbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detbox p {
    margin: 0;
}

.detbox .name {
    color: hsl(0, 0%, 81%);
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    font-weight: 600;
}

.detbox .name.dark {
    color: #49505A;
}

.detbox .designation {
    color: hsl(0, 0%, 81%);
    opacity: 50%;
    font-size: 0.8rem;
}

.detbox .designation.dark {
    color: #49505A;
}

.review h4 {
    font-size: 1.4rem;
    color: #F3DEFF;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.review.dark h4 {
    color: #4B5258;
}

.review p {
    font-size: 0.95rem;
    color: #F3DEFF;
    font-weight: 500;
    opacity: 50%;
    line-height: 1.5;
}

.review.dark p {
    color: #0e0e0e;
}

.attribution {
    font-size: 1rem;
    line-height: 1.5;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    text-align: right;
}

.attribution a {
    text-decoration: none;
}




/* ------------------------Footer Design------------------- */

footer {
    width: 100%;
    /* position: absolute; */
    margin-bottom: 0;
    background: linear-gradient(to right, #00093c, #2d0b00);
    color: #fff;
    padding: 100px 0 30px;
    border-top-left-radius: 125px;
    font-size: 13px;
    line-height: 20px;
    left: 0;
    right: 0;

}

.row {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}


.col {
    flex-basis: 20%;
    padding: 10px;
}

.col:nth-child(2) .col:nth-child(3) {
    flex-basis: 15%;
}

.logo {
    width: 60px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.col h3 {
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
    font-size: 20px;
}

.email-id {
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

.col p a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;

}

.col p {
    color: #fff;
    font-size: 15px;
}

form {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 50px;
}

form .far {
    font-size: 18px;
    margin-right: 10px;
}

form input {
    width: 100%;
    background-color: transparent;
    color: #ccc;
    border: 0;
    outline: none;
}

form button {
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

form button .fas {
    font-size: 16px;
    color: #ccc;


}

.social-icons .fa-brands {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    background: #fff;
    margin-right: 15px;
    cursor: pointer;
}

hr {
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 20px auto;
}

.footer-p {
    font-size: 15px;
    text-align: center;
}

.underline {
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}

.underline span {
    width: 15px;
    height: 100%;
    background-color: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}






/* ------------Style Autochange as per device width-------------- */

@media (max-width: 700px){
    .main p{
        font-size: 25px;
        
    }
}


/* @media (max-width: 970px){
    .main p{
        top: 65%;
        
    }
} */



@media (max-width: 982px) {
    .header {
        padding: 1.3rem 5%;
    }

}

@media(max-width:768px) {
    .icons {
        display: inline-flex;
    }
    #check:checked~.icons #menu-icon {
        display: none;
    }
    #check:checked~.icons #close-icon {
        display: block;
    }
    .icons #close-icon {
        display: none;
    }
    #check:checked~.navbar {
        height: 17.7rem;
    }

    #check:checked~.navbar a {
        display: block;
        transform: translateY(0);
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, .1);
        backdrop-filter: blur(50px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        transition: .3s ease;
        overflow: hidden;
    }
    .navbar a {
        display: none;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transition: .3s ease;
    }
    .main h1 {
        font-size: 45px;
    }
    .bgtxt h1 {
        font-size: 150px;
    }
}


@media(max-width:600px) {
    .bgtxt h1 {
        font-size: 80px;
    }
}


@media only screen and (max-width: 1000px) {
    .innerdiv {
        transform: scale(0.7);
    }
}


@media only screen and (max-width: 800px) {
    .innerdiv {
        transform: scale(0.6);
    }
}


@media only screen and (max-width: 700px) {
    .div1 {
        background-position-x: 10rem;
    }

    .innerdiv {
        display: flex;
        flex-direction: column;
        transform: scale(1);
        margin: 2rem;
        margin-bottom: 5rem;
    }

    .attribution {
        position: relative;
    }

    .services {
        flex-direction: column-reverse;
    }

    .services img {
        width: 150px;
    }

    .services1 {
        flex-direction: column;
    }

    .services1 img {
        width: 150px;
    }
}

@media (max-width: 670px) {
    footer {
        bottom: unset;
    }

    .col {
        flex-basis: 100%;
    }

    #check:checked ~ footer {
        z-index: -2;
    }

    .col:nth-child(2) .col:nth-child(3) {
        flex-basis: 100%;
    }
}

@media (max-width: 500px){
    .main p{
        margin-top:20%;
        
    }
}

@media (max-width: 350px){
    .main p{
        margin-top:30%;
        
    }
}


@keyframes moving {
    0% {
        left: -20px;
    }

    100% {
        left: 100%;
    }
}




/* ----------------------Service Page----------- */
.s-page{
    margin-top: 150px;
}

.services {
    display: flex;
    align-items: center;
    margin: 50px 0;
    margin-left: 10%;
    margin-right: 5%; 
}

.services > div {
    margin-right: 0; 
    margin-left: 0; 
    flex-direction: row;

}

.leftsection {
    font-size: 1.5rem;
    max-width: 80%;
}

.rightsection img {
    max-width: 100%;
    border-radius: 50%;
    margin-left: 20px;
    
    
}





/* -----------------------About Page----------------------- */
.about-img {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    margin-top: 180px;
}

.about-img img {
    width: 300px;
}

.about{
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 100px;

}

.about h2{
    text-align: center;
    font-size: 60px;
    margin-bottom: 20px;

}

.about p{
    font-size: 25px;
    left: 5%;
    right: 5%;
    
}






/* ----------------------Contact Us Page-------------------- */
.heading1 {
    font-size: 50px;
    text-align: center;
    margin-top: 30px;
    font-family: 'Times New Roman', Times, serif;
    margin-top: 170px;

}
.contact-form1 {
    color: rgb(228, 228, 228);
    font-size: 20px;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
    font-size: 60px;
    padding-bottom: 70px;
    padding-top: 60px;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.contact-form1 form {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form1 form input,
.contact-form1 form textarea {
    border: none;
    outline: none;
    width: 80%;
    padding: 18px;
    background: #555557;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.contact-form1 textarea {
    resize: none;
    height: 55px;
}

.contact-form1 form .send1 {
    display: inline-block;
    padding: 14px 60px;
    background: rgb(23, 182, 200);
    border-radius: 40px;
    font-size: 30px;
    color: #123c5a;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    animation: forwards;
    animation-delay: .5s;
    box-shadow: 0 0 5px rgb(95, 179, 185), 0 0 25px rgb(71, 167, 174);
    cursor: pointer;
    font-family: 'Times New Roman', Times, serif;
}

.contact-form1 form .send1:hover {
    background-color: rgb(0, 0, 33);
    color: rgb(6, 81, 89);
}
