@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

*{

    font-family: 'Poppons', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
    --third-bg-color: yellowgreen;
    --fourth-bg-color: yellow;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.0rem 9%;
    background: rgb(3, 59, 3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: .3s;
}

.header.sticky {
    background: rgb(3, 100, 3);
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.navbar a {
    font-size: 1.7rem;
    color: yellow;
    font-weight: 500;
    margin-left: 3.5rem;
    transition: .3s;
}

.navbar a:hover, 
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
}

.heading {
    font-size: 5rem;
    /*margin-bottom: 3rem;*/
    margin-bottom: -5rem;
    text-align: center;
    color: yellow;
    margin-top: 170px;
}

.terms-box {
    display: flex;
    flex-direction: column;
    
    background-color: #081b29;
    color: white;
    font-family: "Poppins", sans-serif;
    padding: 60px 30px;
    /*position: relative;
    bottom: 50px;*/
    margin: auto;
    /*height: 700px;*/
    margin-top: 5em;
}

.terms-text {
    padding: 0 20px;
    height: 400px;
    overflow-y: auto;
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-align: justify;
}

.terms-text::-webkit-scrollbar {
    width: 8px;
    background-color: #112e42;
}

.terms-text::-webkit-scrollbar-thumb{
    background-color: lightskyblue;
}

.terms-text h2 {
    text-transform: uppercase;
}

.terms-box h4 {
    font-size: 13px;
    text-align: center;
    padding: 0 40px;
}

.terms-box h4 span {
    color: yellowgreen;
}

.buttons {
    display: flex;
    padding: 0 20px;
    justify-content: space-between;
}

.btn {
    height: 50px;
    width: calc(50% - 6px);
    border: 0;
    border-radius: 6px;
    font-size: 19px;
    font-weight: 500;
    color: white;
    transition: .3s linear;
}

.green-btn {
    background-color: green;
}

.red-btn {
    background-color: #d13639;
}

.btn:hover {
    opacity: .6;
}
/*------------------------------------------------------------*/
/* Footer */

footer {
    background-color: var(--second-bg-color);
    position: relative;
    width: 100%;
    min-height: 350px;
    padding: 3rem 1rem;
    font-size: small;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.col {
    min-width: 250px;
    color: white;
    font-family: poppins;
    padding:0 2rem;
}

.col .logo {
    width: 250px;
    margin-bottom: 25px;
}

.col h3 {
    color: yellow;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

.col h3::after {
    content: '';
    height: 3px;
    width: 0px;
    background-color: red;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
}

.col h3:hover::after {
    width: 30px;
}

.col .social a i {
    color: yellowgreen;
    margin-top: 2rem;
    margin-right: 5px;
    transition: 0.3s ease;
}

.col .social a i:hover {
    transform: scale(1.5);
    filter:grayscale(25);
}

.col .links a {
    display: block;
    text-decoration: none;
    color: beige;
    margin-bottom: 5px;
    position: relative;
    transition: 0.3s ease;
}

.col .links a:before {
    content: '';
    height: 16px;
    width: 3px;
    position: absolute;
    top: 5px;
    left: -10px;
    background-color: red;
    transition: 0.5s ease;
    opacity: 0;
}

.col .links a:hover::before {
    opacity: 1;
}

.col .links a:hover {
    transform: translateX(-8px);
    color: red;
}

.col .contact-details {
    display: inline-flex;
    justify-content: space-between;
}

.col .contact-details i {
    margin-right: 15px;
}

.col .contact-details a {
    color: #00abf0;
}

.footer-row .footer-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    color: gray;
}

/* Breakpoints */
@media (max-width: 1200px) {
    html {
        font-size: 50%;
    }


}

@media only screen and (max-width: 1150px) {
    .profiles {
        flex-direction: column;
    }

    .profile {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .profile p {
        text-align: center;
        margin: 20px 60px 80px 60px;
        font-size: 20px;
        line-height: 35px;
    }
    
}

@media only screen and (max-width: 900px) {
    .heading {
        /*font-size: 40px;*/
        font-size: 4rem;
        margin-bottom: -4rem;
        color: yellow;
        text-align: center;
        margin-top: 150px;
    }

    /*.heading {
        font-size: 5rem;
        margin-bottom: 3rem;
        text-align: center;
        color: yellow;
        margin-top: 170px;
    }*/

    .profiles {
        margin: 20px 0;
    }

    .profile p {
        margin: 20px 10px 80px 10px;
    }
}

@media (max-width:991px) {
    .header {
        padding: 2rem 4%;
    }

    section {
        padding: 10rem 4% 2rem;
    }

    .home {
        padding: 0 4%;
    }
}

@media (max-width: 900px) {
    .footer-row {
        flex-direction: column;
    }

    .col {
        width: 100%;
        text-align: left;
        margin-bottom: 25px;
    }
}

@media screen and (min-width:800px) {
    .contact {
        max-width: 1100px;
    }

    .contactForm {
        grid-template-columns: 1fr 1fr;
    }

    .contactMethod {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header {
        background: var(--bg-color);
    }

    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background: var(--main-color);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        z-index: 1;
        transition: .25s ease;
        transition-delay: .25s;
    }

    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }

    .navbar .active-nav {
        position: absolute;
        top: 0; 
        left: -100;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        z-index: -1;
        transition: .25s ease;
        transition-delay: 0s;
    }

    .navbar.active .active-nav {
        left: 0;
        transition-delay: .25s; 
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        transform: translateX(-20rem);
        transition: .25 ease;
        transition-delay: 0s;
    }

    .navbar.active a {
        transform: translateX(0);
        transition-delay: .25s;
    }
    
    .home-imgHover {
        pointer-events: none;
        background: var(--bg-color);
        opacity: .6;
    }
    
}

@media (max-width: 520px) {
    html {
        font-size: 50%;
    }

    .home-content {
        display: flex;
        flex-direction: column;
    }

    .home-sci {
        width: 160px;
    }

    .home-sci a {
        width: 38px;
        height: 38px;
    }
    
}

@media (max-width: 462px) {
    .home-content h1 {
        font-size: 5.2rem;
    }

    .services {
        padding: 10rem 4% 5rem 5%;
    }

    .contact form .input-box .input-field {
        width: 100;
    }

}
@media (max-width: 371px) {
    .home {
    justify-content: center;
    }

    .home-content {
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .home-content {
        font-size: 5rem;
    }
}