*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    min-width: 300px;
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

.main{
    width: 100%;
    height: 100vh;
    background-image: url("../images/poduct\ bg.png");
    background-size: cover;
    background-position: top left;
    position: relative;
}

.logo img{
    height: 20px;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 30px;
    background-color: white;
    box-shadow: 2px 2px 20px rgba(90, 118, 252, 0.14);
    z-index: 1;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
}

nav ul{
    display: flex;
    margin: 0px;
    padding: 0px;
}

nav ul li a{
    height: 40px;
    line-height: 42px;
    margin: 8px;
    padding: 0px 22px;
    display: flex;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 400;
    color: #111;
    letter-spacing: 1px;
}

nav ul li a:hover{
    background-color: #5a76fd;
    color: white;
    box-shadow: 5px 10px 30px rgba(90, 118, 252, 0.5);
    transition: all ease 0.2s;
}

.home-content{
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.home-img{
    width: 500px;
    height: 400px;
    margin: 20px;
}

.home-img img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.home-text{
    width: 500px;
    margin: 20px;
}

.home-text h1{
    font-size: 3.5rem;
    line-height: 55px;
    color: #22252e;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0px;
}

.home-text p{
    font-size: 1rem;
    color: #777474;
}

.main-login{
    width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #5a76fd;
    color: white;
    box-shadow: 5px 10px 30px rgba(90, 118, 252, 0.5);
    text-transform: uppercase;
}

.main-login:hover{
    background-color: #5a62fd;
    transition: all ease 0.3s;
}

.timing{
    position: absolute;
    left: 20%;
    bottom: 10px;
    transform: translateX(-20%);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.office-time,
.office-number{
    margin: 0px 20px;
}

.office-time h3,
.office-number h3{
    font-weight: 700;
    color: #22252e;
    font-size: 1.6rem;
    margin: 0px;
}

.office-time p,
.office-number p{
    color: #777474;
    font-size: 1.1rem;
}

.office-time font,
.office-number font{
    color: #7b92fd;
    font-weight: 700;
}

.arrow{
    align-items: end;
    border-right: 1px solid #5a62fd;
    width: 50%;
    height: 20%;
    margin-bottom: 4em;
    position: absolute;
    bottom: 5px;
    right: 70px;
    animation: arrow-animation ease 1.5s;
}

.arrow::after{
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0px 10px;
    border-color: #5a76fd transparent transparent transparent;
    right: -0.7em;
    bottom: -2px;
}

.scroll{
    position: absolute;
    right: 55px;
    bottom: 20px;
    font-weight: 600;
}

@keyframes arrow-animation{
    0%{
        bottom: 70px;
        opacity: 0.2;
    }
    100%{
        bottom: 5px;
        opacity: 1;
    }
}

.services{
    background-image: url("../images/poduct\ bg.png");
    background-size: 1000px;
    background-position: center;
}

.services-heading{
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.services-heading h2{
    line-height: 55px;
    font-size: 2.2rem;
    color: #22252e;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0px;
}

.services-heading p{
    font-size: 1rem;
    color: #777474;
    width: 50%;
}

.box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 30px;
}

.box{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 500px;
    height: 400px;
    text-align: center;
    box-shadow: 2px 2px 20px rgba(90, 118, 252, 0.14);
    border-radius: 10px;
    background-color: white;
    margin: 20px;
    flex-grow: 1;
}

.box img{
    height: 150px;
    margin: 10px;
}

.box font{
    font-size: 1.5rem;
    color: #22252e;
    letter-spacing: 1px;
    font-weight: 700;
}

.box p{
    font-size: 1rem;
    color: #777474;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
}

.box a{
    width: 150px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #5a76fd;
    text-transform: uppercase;
    margin: auto;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0px;
}

.box a:hover{
    background-color: #5a76fd;
    color: white;
    box-shadow: 5px 10px 30px rgba(90, 118, 252, 0.5);
    transition: all ease 0.3s;
}

footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0px 5%;
    border-top: 1px solid rgba(168, 168, 168, 0.2);
}

footer a,
footer p{
    color: #5e5e5e;
}

nav .menu-btn{
    display: none;
}

/* Media Queries */
/* Screen width less than 1100px */
@media (max-width: 1100px){
    nav{
        justify-content: space-between;
        height: 65px;
    }

    .menu{
        display: none;
        position: absolute;
        top: 65px;
        left: 0px;
        background-color: white;
        border-bottom: 4px solid #5a76fd;
        width: 100%;
    }

    .menu li{
        width: 100%;
    }

    .menu li a{
        width: 100%;
        height: 40px;
        justify-content: center;
        align-items: center;
        margin: 0px;
        padding: 25px;
        border: 1px solid rgba(38, 38, 38, 0.04);
    }

    nav .menu-icon{
        cursor: pointer;
        float: right;
        padding: 28px 20px;
        position: relative;
        user-select: none;
    }

    nav .menu-icon .nav-icon{
        background-color: #333;
        display: block;
        height: 2px;
        position: relative;
        transition: background 0.2s ease-out;
        width: 18px;
    }

    nav .menu-icon .nav-icon:before,
    nav .menu-icon .nav-icon:after{
        background-color: #333;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all 0.2s ease-out;
        width: 100%;
    }

    nav .menu-icon .nav-icon:before{
        top: 5px;
    }

    nav .menu-icon .nav-icon:after{
        top: -5px;
    }

    nav .menu-btn:checked ~ .menu-icon .nav-icon{
        background: transparent;
    }

    nav .menu-btn:checked ~ .menu-icon .nav-icon:before{
        transform: rotate(-45deg);
        top: 0;
    }

    nav .menu-btn:checked ~ .menu-icon .nav-icon:after{
        transform: rotate(45deg);
        top: 0;
    }

    nav .menu-btn{
        display:none;
    }

    nav .menu-btn:checked ~ .menu{
        display: block;
    }

    .home-img{
        display: none;
    }

    .home-text{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 45vh;
        background-color: rgba(38, 38, 38, 0.36);
        margin: 0px;
    }

    .home-content{
        width: 100%;
        margin: 0px;
        position: static;
        transform: translate(0px, 70px);
        background-image: url("../images/bg2.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top right;
        box-shadow: 2px 2px 30px rgba(90, 118, 252, 0.5);
    }

    .home-content h1{
        color: white;
        padding: 0px 20px;
        font-size: 2.5rem;
        border: 1px solid white;
    }

    .home-content p{
        color: rgba(255, 255, 255, 0.85);
        margin: 10px 0px 20px 0px;
        width: 50%;
    }

    .arrow{
        height: 70px;
    }

    .main{
        background-size: 500px;
    }

    .timing, .arrow, .scroll{
        bottom: 40px;
    }
}

/* Screen width less than 720px */
@media (max-width: 720px){
    .home-text p{
        width: 70%;
        text-align: center;
    }

    .office-number,
    .office-time{
        flex-grow: 1;
        margin: 10px;
    }

    .office-number h3,
    .office-time h3{
        font-size: 1rem;
    }

    .office-number p,
    .office-time p{
        font-size: 0.8rem;
    }

    .arrow, .scroll{
        display: none;
    }

    .home-content h1{
        font-size: 1.9rem;
        padding: 10px 10px;
        line-height: 30px;
    }

    .timing{
        width: 100%;
        flex-wrap: wrap;
        margin: 0px;
        padding: 0px 20px;
    }

    .services-heading{
        margin: 20px;
    }

    .services-heading h2{
        font-size: 1.7rem;
        line-height: 40px;
    }

    .services-heading p{
        width: 100%;
    }

    .box{
        width: 100%;
        margin: 20px 0px !important;
        padding: 0px 20px;
        flex-grow: 1;
    }

    .box img{
        height: 100px;
        width: 100%;
        object-fit: contain;
    }

    footer p,
    footer a{
        text-align: center;
        font-size: 0.9rem;
    }

    footer{
        padding: 0px 10px;
    }
}