* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* header */
.header-img {
    position: relative;
    height: 150px;
    background-image: url(../img/planet-g59297ebd9_1920.jpg);
    background-size: cover;
    background-position: 0 50%;
    width: 100%;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 5;
}
.header-text-small{
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    z-index: 5;
}
.header-bg {
    position: absolute;
    height: 100%;
    min-width: 100%;
    background-color: rgba(0, 3, 27, 0.4);
}

.header-text h1 {
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 4.5px;
    font-size: 24px;
}


/* navbar */
.nav {
    background-color: #333;
    /*display: flex;*/
    padding-right: 10%;
    font-size: 15px;
    text-align: right;
}

.nav-btn {
    display: inline-block;
    max-height: 80px;
    border: none;
    background: none;
    color: #ffffff;
    font-size: 30px;
    margin-left: auto;
}

.menu-list {
    display: none;
    text-align: center;
    color: white;

}

.nav-item a {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 19px;
}

.show {
    display: block;
    list-style: none;
    width: 100vw;
    margin: 0 auto;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    flex-grow: 1;
    padding: 10px;
}

main h2 {
    margin-bottom: 30px;
    text-transform: uppercase;
    text-align: center;
}

.about-us-box {
    margin: 40px 0;
    position: relative;
    min-width: 355px;
    width: 50vw;
    height: 300px;
    background-attachment: fixed;
    background-position: center;
    border-radius: 50px 20px 50px 20px;
    overflow: hidden;
}

.imporatnt-to-us {
    font-size: 2rem;
}

.top {
    background-image: url(../img/meeting-g3ee79f6f5_1280.png);
    background-attachment: fixed;
    background-position: center;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.middle {
    background-image: url(../img/mobile-phone-g03028db8d_1920.jpg);
}

.bottom {
    background-image: url(../img/hands-gcf3656737_1280.jpg);
}

.about-us-text {
    position: absolute;
    bottom: 20px;
    text-align: center;
    padding: 10px;
    color: #fff;
}

.about-us-text h3 {
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 20px;
}

.about-us-bg {
    position: absolute;
    bottom: 0;
    height: 48%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.main-carousel {
    margin-bottom: 45px;
}

.cell {
    width: 100%;
    height: 350px;
    margin: 0 15px;
    overflow: hidden;
    transition: 45ms;
    border-radius: 8px;
}

.cell img {

    width: 100%;
    height: 350px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(0, 0, 0, 0.6);
}

.cell:hover .overlay {
    opacity: 1;
}

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    border: 2px;
}


.icon-box a {
    margin: 0 5px;
    color: #ddd;
    font-size: 30px;
    transition: color 0.4s;
}

.icon-box a:hover {
    color: #0086f3;
}

/*services*/
.services-list {
    margin: 0 auto;
}

.item-icon {
    width: 40px;
}

.center {
    margin: auto;
}

.service-h3 {
    font-size: 20px;
}

.service-text {
    font-size: 15px;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
    row-gap: 15px;
}

.contact-info {
    font-size: 25px;
}

/* price list*/

.price-grid {
    display: grid;
    row-gap: 15px;
    grid-template-columns: 2fr;
}

.price-border {
    display: flex;
    align-content: center;
    flex-direction: column;
    border: #005bb0 1px solid;

}

.price-border-holder {
    padding: 15px;
    background-color: rgba(0, 81, 255, 0.1);
    border: #0086f3;
    border-style: solid;
    border-radius: 25px;

}

.price-head {
    font-size: 30px;
    text-align: center;
    margin: 5px;
}

.price-text {
    display: inline-block;
    font-size: 20px;
    text-align: center;
    color: rgb(37, 37, 37);
    border: 2px;
    background-color: rgba(0, 0, 0, 0.2);
}

.price-text-up {
    font-size: 50px;
    text-align: center;
    text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;

    color: rgb(37, 37, 37);
    border: 2px;
}

.buy-border {
    margin-top: 20px;
    border: #333 1px;
    padding: 10px;
    background-color: #005bb0;
    cursor: pointer;
    margin-bottom: 10px;
}

.buy-text {
    color: #fff;
    font-size: 20px;
}
/* Footer*/

.footer-container {
    display: flex;
    justify-content: center;
    height: 80px;
    line-height: 80px;
    background-color: #333;
    color: #ddd;
    text-align: center;
    font-size: 20px;

}

.footer-link a {
    text-decoration: none;
    margin: 0 5px;
    color: #ddd;
    font-size: 15px;
    transition: color 0.4s;
}

.footer-link a:hover  {
    color: #0086f3;
}

@media (min-width: 769px) {
    .nav {
        height: 50px;
        background-color: #333;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0px;
        padding-right: 0;
    }

    .nav-btn {
        display: none;
    }

    .nav-btn svg {
        max-height: 100%;
        max-width: 100%;
    }

    .nav-item {
        display: inline-block;
    }

    .menu-list {
        display: inline-block;

    }

    .nav-item a {
        padding: 0 50px;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 16px;
        letter-spacing: 3px;
        transition: color 0.3s;
        margin-bottom: 0;

    }

    .nav-item a:hover {
        color: #0086f3;
    }

    .about-us-text {
        position: absolute;
        bottom: 20px;
        text-align: center;
        padding: 20px;
        font-size: 16px;
        color: #fff;
    }

    .about-us-text h3 {
        margin-bottom: 10px;
        font-size: 22px;
    }


    .cell {
        width: 50%;
    }


    .cell:hover .overlay {
        opacity: 1;
    }

    .service-h3 {
        font-size: 23px;
    }

    .service-text {
        font-size: 18px;
    }

    .contact-info {
        font-size: 30px;
    }

    .price-grid {
        gap: 15px;
        grid-template-columns: 2fr 2fr 2fr;
    }
}
