@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    font-family: "montserrat", sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #f2f2f2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

i {
    list-style: none;
}

/* Navbar */
nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 17vh;
    background-color: #fff9;
    font-family: 'Poppins', sans-serif;
}
.logo{
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 20px;
}
.logo img{
    transform: translateX(-100px);
    height: 32vh;
    width: 32vh;
    object-fit: scale-down;
}
.nav-links{
    display: flex;
    justify-content: space-around;
    width: 45%;
}
.nav-links li{
    text-decoration: none;
    list-style: none;
}
.nav-links a{
    color: #000;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 16px;
    padding: 20px;
}
li a:hover{
    background-color: #b10000;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    color: white;
}
.burger div{
    width: 25px;
    height: 2px;
    margin: 5px;
    background-color: #000;
}
.burger{
    display: none;
    cursor: pointer;
}

@media screen and (max-width:1024px) {
    .nav-links{
        overflow-x: hidden;
        width: 60%;
    }
}

@media screen and (max-width:768px) {
    body{
        overflow-x: hidden;
    }
    .nav-links{
        position: fixed;
        color: #fff;
        right: 0px;
        height: 82vh;
        top: 18vh;
        background-color: #b10000;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translate(100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links a{
        color: #fff;
    }
    li a:hover{
        background-color: #fff;
        color: #b10000;
        padding: 20px;
        border-radius: 5px;
        width: 90%;
        color: #000;
    }
    .logo img{
        transform: translateX(-70px);
    }
    .burger{
        display: block;
    }
}
.nav-active{
    transform: translate(0%);
}

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}
/* Navbar */

/* Service */
.service {
    padding: 30px 0;
    font-family: "Poppins", sans-serif;
}

.max-width {
    max-width: 1300px;
    padding: 0 45px;
    margin: auto;
}

.max-width h1 {
    text-align: center;
    position: relative;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
}

.max-width h1::after {
    content: '';
    position: absolute;
    width: 170px;
    height: 3px;
    background: #b10000;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    padding: 50px 25px;
    width: calc(26% - 20px);
    border-radius: 6px;
    background: #fff;
    text-align: center;
    user-select: none;
    transition: all 0.3s ease;
}

.card:hover {
    background: #b10000;
    color: #fff;
}

.box {
    transition: all 0.1s;
}

.card:hover .box {
    transform: scale(1.05);
}

.box i {
    font-size: 40px;
    margin-bottom: 15px;
}

.box h3 {
    font-size: 20px;
    padding: 10px 0 7px;
}

.box p {
    text-align: justify;
}

@media screen and (max-width: 1190px) {
    .max-width {
        padding: 0 25px;
    }

    .card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 700px) {
    .card {
        width: 100%;
    }
}


/* Footer */
footer{
    /* position: fixed; */
    bottom: 0px;
    width: 100%;
    background: #33383b;
}
.main-content{
    display: flex;
}
.main-content .box{
    flex-basis: 50%;
    padding: 10px 20px;
}
.box h2{
    padding-left: 5px;
    padding-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}
.box .link a{
    padding: 0 5px;
    color: white;
    cursor: pointer;
    font-size: 18px;
}
.main-content .left .link li{
    padding-bottom: 5px;
    list-style: none;
    text-decoration: none;
}
.main-content .left .link li a:hover{
    background-color: #33383b;
}
.center .content .fas{
    font-size: 1rem;
    background: #1a1a1a;
    color: white;
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}
.center .content .fas:hover{
    background: white;
    color: black;
}
.center .content .text{
    color: white;
    font-size: 15px;
    font-weight: 500;
    padding-left: 10px;
}
.center .content .phone{
    margin: 10px 0;
}
.right .social a{
    padding: 0 2px;
    color: white;
}
.right .social a span{
    height: 40px;
    width: 40px;
    background: #1a1a1a;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}
.right .social a span:hover{
    background: white;
    color: black;
}

@media screen and (max-width: 900px) {
    footer {
        position: sticky;
        bottom: 0px;
    }

    .main-content {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .main-content .box {
        margin: 5px 0;
    }

    .left,
    .center {
        display: none;
    }

    .right .social {
        text-align: center;
    }

    .right h2 {
        text-align: center;
    }
}