@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
    font-family: "Questrial", sans-serif;
}

:root {
    --teamColor: #0C2635;
    --backgroundColor: #F4F4F4;
}

/* Navbar section */

header {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    padding: 0px 20px 0px 0px;
    background-color: var(--teamColor);
    z-index: 1000;
}

header.sticky {
    width: 100%;
    top: 0px;
    padding: 0px 80px 1px 80px;
    background-color: #0E222C;
    box-shadow: 3px 4px 4px 0px rgba(214, 214, 214, 0.50);
}

header .logo {
    position: relative;
    color: var(--textColor);
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.6s;
}

.logo {
    background-color: #fff;
    padding: 15px;
}

.logo a {
    text-decoration: none;
    text-align: center;
}

.logo h6 {
    color: #000000;
    font-weight: bolder;
}

.nav__list {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav__item {
    position: relative;
    list-style: none;
}

.nav__item a {
    position: relative;
    margin: 0 20px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
    transition: 0.6s;
}

.nav__link {
    padding: 10px;
    color: #0E222C;
    font-weight: 600;
}

.header__close,
.header__toggle {
    display: none;
}

header.sticky .logo,
header.sticky ul li a {
    color: #ffffff;
}

.nav__list a {
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.nav__list a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: -13px;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #FFF500;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.nav__list a:hover:after {
    width: 100%;
    left: 0;
}

/* banner section css */

.banner-section {
    background-image: url('images/service/banner-img.webp');
    background-position: center;
    background-size: cover;
    height: 65vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
}

.pagination a,
.pagination p {
    color: #fff;
    text-decoration: none;
}

/* service-section css */

.service-section {
    margin-top: 100px;
}

.line {
    height: 3px;
    width: 50px;
    background-color: #FFF500;
}

.service-section h2 {
    color: #0c2635a8;
}

.service-section p {
    color: #0000009d;
}

.list-round {
    height: 30px;
    width: 30px;
    border-radius: 50px;
    background-color: #1B97CB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-round img {
    height: 13px;
    width: auto;
}

.list-items {
    display: flex;
    align-items: center;
}

.list-items h5 {
    color: #1e1e1ea6;
}

/* what-we-do-section css */

.what-we-do-section {
    margin-top: 100px;
}

.line-center {
    height: 3px;
    width: 50px;
    background-color: #FFF500;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.what-we-do-section h2 {
    color: #0c2635a8;
}

/* contact-section css */

.contact-section {
    margin-top: 100px;
    background-color: var(--teamColor);
    height: auto;
    width: 100%;
    padding: 60px 0px;
    text-align: center;
}

.contact-section h1 {
    color: #fff;
}

.contact-section p {
    color: #ffffff91;
}

.contact-btn button {
    padding: 10px 35px;
    border: 0px;
    background-color: #1B97CB;
    color: #fff;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* gallery-section css */

.gallery-section {
    margin-top: 100px;
}

.gallery-section h2 {
    color: #0c2635a8;
}

.work-img {
    position: relative;
}

.work-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-img:hover::after {
    opacity: 1;
}

/* footer section css */

footer {
    margin-top: 100px;
}

.footer-details {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.footer-details h4 {
    font-weight: bold;
    color: #1B97CB;
    text-align: center;
}

.footer-details h5 {
    color: #1B97CB;
}

.footer-details h6 {
    color: #00000075;
}

.social-media {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.line-social {
    width: 100%;
    height: 1px;
    background-color: #00000075;
}

.social-media-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-round {
    height: 50px;
    width: 50px;
    background-color: #000000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-round a {
    text-decoration: none;
    color: #fff;
}

.icon-round i {
    font-size: 22px;
    color: #fff;
}

.footer-nav {
    margin-top: 80px;
    height: 70px;
    width: 100%;
    background-color: var(--teamColor);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-nav p {
    color: #ffffff8e;
}

/* media query starting */
@media all and (min-width:1300px) {

    .banner-section h1 {
        color: #fff;
        font-size: 70px;
    }
}

@media all and (max-width:900px) {

    /* navbar css */
    body {
        overflow-x: hidden;
    }

    body.overflow-hidden {
        overflow: hidden;
    }

    header {
        position: fixed;
        top: 0px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: 0.6s;
        padding: 0px 20px 0px 0px;
        background-color: var(--teamColor);
        z-index: 1000;
    }

    .logo a {
        font-size: 0.9rem;
    }

    .header__toggle {
        display: inline;
        color: #fff;
        font-size: 24px;
    }

    header.sticky .header__toggle {
        display: inline;
        color: #ffffff;
        font-size: 24px;
    }

    .header__close {
        position: absolute;
        right: 24px;
        display: block;
        font-size: 24px;
        border-radius: 50%;
        z-index: 1000;
        color: #ffffff;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--teamColor);
        color: #ffffffee;
        width: 40%;
        height: 100vh;
        padding: 24px 0;
        z-index: 1000;
        transition: 0.5s;
        border-radius: 0 0 0 50%;
        z-index: 1000;
    }

    header.sticky {
        padding: 5px 20px 10px 20px;
        background-color: #0E222C;
        box-shadow: 3px 4px 4px 0px rgba(214, 214, 214, 0.50);
    }

    header.sticky .nav__item a {
        color: #ffffff;
    }

    header .logo {
        position: relative;
        color: var(--textColor);
        text-decoration: none;
        text-transform: uppercase;
        transition: 0.6s;
    }

    .logo img {
        height: 40px;
    }

    .nav__list {
        display: flex;
        flex-direction: column;
    }

    .show {
        right: 0;
    }

    .nav__item a {
        color: #ffffff;
    }

    .nav__item {
        margin: 2rem 0;
    }

    .nav__list a {
        text-decoration: none;
        display: inline-block;
        position: relative;
    }

    .nav__list a:after {
        background: none repeat scroll 0 0 transparent;
        bottom: 0;
        content: "";
        display: block;
        height: 2px;
        left: 50%;
        position: absolute;
        background: #FFF500;
        transition: width 0.3s ease 0s, left 0.3s ease 0s;
        width: 0;
    }

    /* banner section css */

    .banner-section {
        background-image: url('images/service/banner-img.webp');
        background-position: center;
        height: 50vh;
        display: flex;
        align-items: center;
        text-align: center;
    }

    .banner-section h1 {
        color: #fff;
    }

    /* service section */
    .service-img {
        margin-bottom: 30px;
    }
}

@media all and (max-width:768px) {

    /* navbar css */
    body {
        overflow-x: hidden;
    }

    body.overflow-hidden {
        overflow: hidden;
    }

    header {
        height: auto;
        justify-content: space-between;
        padding: 0px 3px;
    }

    .logo {
        background-color: #fff;
        padding: 5px;
    }

    .logo h6 {
        color: #000000;
        font-weight: bolder;
    }


    .header__toggle {
        display: inline;
        color: #ffffffee;
        font-size: 26px;
    }

    .header__close {
        position: absolute;
        right: 24px;
        display: block;
        font-size: 24px;
        border-radius: 50%;
        z-index: 1000;
        color: #ffffff;
    }

    .nav__item a {
        color: #ffffff;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--teamColor);
        color: #eeee;
        width: 100%;
        height: 100vh;
        padding: 24px 0;
        z-index: 1000;
        transition: 0.5s;
        border-radius: 0 0 0 0%;
        z-index: 1000;
    }

    .nav__list {
        display: flex;
        flex-direction: column;
        margin-left: 22%;
    }

    .show {
        right: 0;
    }

    .nav__item {
        margin: 1.5rem 0;
    }

    header.sticky {
        padding: 0px 0px;
        background-color: #0E222C;
        box-shadow: 3px 4px 4px 0px rgba(214, 214, 214, 0.50);
    }

    /* banner section css */

    .banner-section {
        background-image: url('images/service/banner-img.webp');
        background-position: center;
        height: 60vh;
        display: flex;
        align-items: center;
        text-align: center;
    }

    /* footer section css */

    footer {
        margin-top: 80px;
    }

    .footer-details {
        display: block;
        justify-content: center;
        margin-top: 20px;
    }

    .footer-details h4 {
        font-weight: bold;
        color: #1B97CB;
        text-align: center;
        margin-left: 0rem !important;
        margin: 10px 0px 0px 0px;
    }

    .footer-details h5 {
        color: #1B97CB;
        text-align: center;
        margin-left: 0rem !important;
        margin: 10px 0px 0px 0px;
    }

    .footer-details h6 {
        color: #00000075;
        text-align: center;
        margin-left: 0rem !important;
        margin: 10px 0px 0px 0px;
    }

    .social-media-icon {
        margin-left: 0rem !important;
    }

    .social-media {
        display: block;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
    }

    .line-social {
        display: none;
    }

    .icon-round {
        height: 40px;
        width: 40px;
        background-color: #000000;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icon-round a {
        text-decoration: none;
        color: #fff;
    }

    .icon-round i {
        font-size: 18px;
        color: #fff;
        margin-top: 0rem !important;
    }

    .footer-nav {
        margin-top: 30px;
        height: 70px;
        width: 100%;
        background-color: var(--teamColor);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px 20px;
    }

    .footer-nav p {
        color: #ffffff8e;
        text-align: center;
    }
}