@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: "Roboto Slab", serif;
    font-family: "Noto Sans", sans-serif;
    font-family: "Roboto", sans-serif;
}

:root {
    --bs-yellow: #ffc800;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray-dark: #343a40;
    --bs-gray: #6c757d;
    --bg-color: #f9f9f9;
    --bg-black-color: #212529;

}

/* primary btn style */
.primaray_btn {
    padding: 17px 30px;
    background: var(--bs-yellow);
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.11rem;
    border: none;
    border-radius: 6px;
}

/* all section heading style */
.main_heading {
    text-align: center;
    color: var(--bs-gray-dark);
    font-size: 3rem;
    font-weight: 800;
    margin-top: 4rem;
}

/* primary peragraph */
.primary_pera {
    text-align: center;
    color: var(--bs-gray);
    font-style: italic;
}

/* second peragraph */
.second_pera {
    text-align: center;
    color: var(--bs-gray);
    width: 88%;
}

/* social icon */
.social_icon i {
    background: var(--bs-black);
    font-size: 20px;
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* header part */
.banner {
    background: linear-gradient(0deg, rgb(16, 16, 16)-19.5%, rgb(16, 16, 16, 0) 100%),
        url(../img/header-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 500px;
}

.banner h1 {
    font-size: 70px;
    margin-bottom: 90px;
}

.logo h1 {
    color: var(--bs-yellow);
    font-size: 2rem;
    font-weight: 500;
    margin-left: 25px;
}

ul,
li,
a {
    font-size: 0.95rem;
    color: var(--bs-white);
    text-transform: uppercase;
    text-decoration: none;
}

ul,
li,
a:last-child {
    margin-right: 10px;
}

ul,
li,
a:hover {
    color: var(--bs-yellow);
}

/* service section */
.service_item i {
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background-color: orange;
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
}

.service_part {
    padding-bottom: 2rem;
}

/* portfolio section */
.portfolio_description {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: space-evenly;
    align-items: center;

}

.portfolio_item {
    position: relative;
    display: inline-block;
}

.portfolio_item img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.overly i {
    font-size: 50px;
    color: white;
}

.portfolio_item .overly {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 74%;
    background: #f10707c9;
    opacity: 0;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio_item:hover .overly {
    opacity: 1;
}

/* team section */
.team_part {
    padding: 50px 0px;
    background-color: var(--bg-color);
}

.team_info img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 10px solid #e1e1e1;
    margin-bottom: 20px;
}

.team_info p {
    color: var(--bs-gray);
}

.team_peragraph {
    width: 60%;
    text-align: center;
    margin: 45px auto;
    color: var(--bs-gray);
    line-height: 197%;
}

/* social media part */
.media_item {
    background-color: #fbfbfb;
    padding: 60px 0px;
}

.social_item h1 {
    color: #adb5bd;
}

/* form part */
.contact {
    padding: 50px 10px;
    background: url(../img/map-image.png);
    background-color: var(--bg-black-color);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.contact h1 {
    color: var(--bs-white);
}

form.form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-column-gap: 20px;
}

.form_left_part input {
    width: 100%;
    padding: 20px 0px;
    background-color: white;
    color: gray;
    border-radius: 8px;

}

.fotter_description p {
    color: var(--bs-gray-dark);
}

/* responsive design */
/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    /* header part */
    ul,
    li,
    a {
        display: none;
    }

    .banner h1 {
        font-size: 28px;
        margin-bottom: 66px;
    }

    .banner {
        height: 380px;
    }

    /* service section */
    .service {
        flex-direction: column;
    }

    .service_item p {
        text-align: center;
        margin: 18px auto;
        width: 80%;
    }

    /* portfolio section */
    .portfolio_description {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    /* team section */
    .team_description {
        flex-direction: column;
    }

    .team_info {
        margin-bottom: 30px;
    }

    /*social media section  */
    .social_media {
        flex-direction: column;
    }

    .media_item {
        padding: 0px 0px;
    }

    .social_item h1 {
        font-size: 42px;
        margin: 10px 0px;
    }

    /* contact part */
    form.form {
        grid-template-columns: repeat(1, 1fr);
    }

    .form_right_part {
        margin-top: 15px;
    }

    /* footer section */
    .fotter_description {
        flex-direction: column;
    }

    .fotter_description .social_icon {
        margin-bottom: 15px;
    }
}


/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

    /* banner part */
    .logo h1 {
        font-size: 1.6rem;
    }

    ul,
    li,
    a:last-child {
        margin-right: 0px;
    }

    .banner h1 {
        font-size: 38px;
        margin-bottom: 44px;
    }

    .primaray_btn {
        padding: 12px 10px;
        font-size: 1rem;
    }

    .banner {
        height: 320px;
    }

    /* service part */
    .main_heading {
        font-size: 2rem;
    }

    .service {
        flex-direction: column;
    }

    .second_pera {
        width: 100%;
        font-size: 15px;
    }

    /* portfolio part */
    .portfolio_description {
        grid-template-columns: repeat(1, 1fr) !important;
        justify-content: center;
        padding: 0px 50px;
    }

    /* team section */
    .team_part {
        padding: 1px 0px 20px;
    }

    .team_description {
        flex-direction: column;
    }

    .team_peragraph {
        margin: 0px auto;
    }

    .team_info {
        margin-bottom: 30px;
    }


    /* social media part */
    .social_media {
        flex-direction: column;
    }

    /* contact part */
    form.form {
        grid-template-columns: repeat(1, 1fr);
    }

    .form_right_part {
        margin-top: 17px;
    }

    /* footer part */
    .fotter_description {
        flex-direction: column;
    }

    .fotter_description p {
        font-size: 1.05rem;
    }

    .social_icon i {
        margin-bottom: 1rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

    /* header parat */
    .logo h1 {
        margin-left: 10px;
    }

    ol,
    ul,
    dl {
        margin-top: 0;
        margin-bottom: 0rem;
    }

    /* portfolio part */
    .portfolio_description {
        grid-template-columns: repeat(2, 1fr);
    }

    /* team part */
    .team_description {
        flex-direction: column;
    }

    .team_part {
        padding: 1px 0px 20px;
    }

    /* social part */
    .social_icon {
        margin-bottom: 13px;
    }

    /* contact part */
    form.form {
        grid-template-columns: repeat(1, 1fr);
    }

    .form_right_part {
        margin-top: 18px;
    }

}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {}

/*  XX-Large devices (larger desktops) */