:root {
    --color-bg-body: #f5f5f5;
    --color-font-body: #4e4e4e;
    --color-font-body-lt: #f5f5f5;
    --color-font-header: #1e1e1e;
    --color-main: #0078ff;
    --color-main-lighten: #298eff;
    --color-main-darken: #0062d3;
    --color-white: #fff;
    --font-body: 'Montserrat', sans-serif;
    --font-header: 'Mukta', sans-serif;
}

body {
    background-color: var(--color-bg-body);
    color: var(--color-font-body);
    /* font-family: var(--font-body); */
}

h1,h2,h3,h4,h5,h6 { 
    color: var(--color-font-header); 
    font-family: var(--font-header);
}

a {
    color: var(--color-font-body);
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

.hide, .hidden { display: none; }

.box-shadow {
    padding: 2.5rem 1.25rem;
    position: relative;
    background-color: var(--color-bg-body);
    margin: 0 .25rem;
    z-index: 2;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.section-header {
    position: relative;
    margin-bottom: 2.5rem;
}

.section-header:before {
    content: "";
    position: absolute;
    height: 3px;
    background-color: var(--color-main);
    width: 100px;
    bottom: -12px;
}

/**
 *        Header 
 */

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    transition: all 0.5s;
    z-index: 997;
    padding: 20px 0;

    /* background: rgba(0, 0, 0, 0.9);
    padding: 12px 0; */
}

header.header-scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 12px 0;
}

.header .container {
    display: flex!important;
    justify-content: space-between!important;
}

.header .logo {
    opacity: 0;
    font-size: 2rem;
    margin: 0;
    padding: 0;
    font-weight: 600;
    transition: 0.3s;
    font-family: var(--font-header);
}

header.header-scrolled .header .logo { opacity: 1; }

.header .logo a { 
    color: var(--color-font-body-lt); 
}

/**
 *        Navigation 
 */

#navbar {
    padding: 0;
}

#navbar.mobile-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    flex-flow: column-reverse;
    justify-content: flex-end;
    transition: 0.3s;
    background-color: rgba(255, 255, 255, .97);
}

#navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
    display: none;
    font-family: var(--font-header);
}

#navbar.mobile-nav ul {
    width: 100%;
    display: block;
    flex-grow: 1;
    padding: 2rem;
}

#navbar.mobile-nav ul li {
    margin-bottom: 1rem;
}

#navbar.mobile-nav ul li a {
    font-size: 1.75rem;
}

#navbar .mobile-nav-toggle {
    color: var(--color-font-body-lt);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: color 0.5s;
    display: block;
}

#navbar.mobile-nav .mobile-nav-toggle {
    align-self: flex-end;
    position: absolute;
    color: var(--color-font-body);
    right: .875rem;
    top: .875rem;
    font-size: 2rem;
}

@media (min-width: 992px) {
    #navbar ul {
        display: flex;
    }

    #navbar a { 
        position: relative;
        text-transform: uppercase;
        font-size: 1.125rem;
        color: var(--color-font-body-lt);
        margin-left: 1rem;
    } 

    #navbar a:before {
        content: "";
        position: absolute;
        height: 2px;
        bottom: -6px;
        left: 0;
        width: 0;
        background-color: var(--color-bg-body);
        visibility: hidden;
        transition: all 0.3s ease-in-out 0s;
    }

    #navbar a.active:before {
        visibility: visible;
        width: 75%;
    }

    #navbar .mobile-nav-toggle { display: none; }
}

/**
 *        Main Sections
 */

#hero {
    height: 90vh;
    position: relative;
    color: var(--color-font-body-lt);
    position: relative;
    background-image: url('img/counters-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
    box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}

#hero .overlay-hero {
    background-color: rgba(0, 0, 0, 0.85);
    position: absolute;
    top: 0;
    left: 0px;
    padding: 0;
    height: 100%;
    width: 100%;
    opacity: 0.95;
}

#hero .hero-content {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    display: table;
}

#hero .hero-content .container {
    display: table-cell;
    vertical-align: middle;
}

#hero .hero-title {
    color: var(--color-font-body-lt);
    font-weight: 600;
    font-size: 3rem;
}

@media (min-width: 768px) {
    #hero .hero-title {
        font-size: 4.5rem;
    }
}

#hero .hero-subtitle {
    color: var(--color-font-body-lt);
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    #hero .hero-subtitle {
        font-size: 2.5rem;
    }
}

.hero .text-slider-items {
    display: none;
}

section#about {
    padding: 3rem 0;
    position: relative;
    background-image: url('img/overlay-bg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    section#about {
        padding: 6rem 0;
    }

    #about p {
        line-height: 1.625;
    }
}

#about .overlay {
    position: absolute;
    top: 0;
    left: 0px;
    padding: 0;
    height: 100%;
    width: 100%;
    opacity: 0.7;
    background-color: var(--color-main);
}

#about .section-header {
    font-size: 2rem;
}

@media (min-width: 992px) {
    #about .section-header {
        margin-top: 1.5rem;
    }
}

#about .about-img {
    float: left;
    margin-right: 1rem;
    max-width: 150px;
}

@media (min-width: 1400px) {
    #about .about-img {
        margin-right: 2.5rem;
        max-width: 190px;
    }
}

#about .about-links {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    margin-top: 3rem;
    padding-top: .5rem;
    border-top: 1px solid black;
    width: 80%;
}

@media (min-width: 992px) {
    #about .about-links {
        /* width: 100%; */
        margin: 2.5rem auto 1rem;
        padding: 0;
        border: none;
        display: flex;
    }
}

@media (min-width: 1400px) {
    #about .about-links {
        width: 60%;
        margin-left: 18rem;
    }
}

#about .about-links li { 
    margin-top: 2rem; 
    text-align: center;
}

@media (min-width: 992px) {
    #about .about-links li {
        flex-grow: 1;
        margin-top: 0;
    }
}

#about .about-links li .bi {
    font-size: 1.5rem;
    line-height: 1;
    position: relative;
    top: 3px;
    margin-right: .5rem;
}

@media (min-width: 992px) {
    #about .about-links li .bi { margin-right: .25rem; }
}

section#services {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

#services .section-header {
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 6rem;
}

#services .section-header:before {
    bottom: -24px;
    height: 4px;
    margin-left: -50px;
}

#services .section-header h2 {
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: bold;
}

#services .section-header p {
    margin-bottom: 3rem;
}

#services .service-container {
    background-color: var(--color-white);
    padding: 2.5rem 1.3rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    height: calc(100% - 3rem);
    text-align: center;
    box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
  }
  
#services .service-container .service-icon {
    margin-bottom: 1rem;
    color: #1e1e1e;
}
  
#services .service-container .circle {
    height: 100px;
    width: 100px;
    font-size: 2rem;
    border-radius: 50%;
    line-height: 1.55;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 0 0 10px var(--color-main);    
    transition: all 500ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
  
#services .service-container:hover .circle {
    transition: all 500ms ease;
    color: var(--color-font-body-lt);
    background-color: var(--color-main);
    box-shadow: 0 0 0 10px #cde1f8;
}
  
#services .service-container .circle i {
    line-height: 0;
    font-size: 40px;
}
  
#services .service-container .s-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem 0;
}
  
#services .service-container .s-description { color: #4e4e4e; }

section#clients {
    padding-bottom: 1rem;
}

#clients .section-header {
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 2.5rem;
}

#clients .section-header:before {
    bottom: -24px;
    height: 4px;
    margin-left: -50px;
}

#clients .section-header h2 {
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0;
}

#clients .client {
    width: 100%;
    height: 160px;
    text-align: center;
}

#clients .client img {
    width: 180px;
    max-height: 160px;
    position: relative;
    transform: translateY(-50%);
    margin-top: 80px;
}

#clients .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

section#testimonials,
section#contact {
    position: relative;
    padding: 8rem 0;
    background-image: url('img/overlay-bg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}

#testimonials .overlay,
#contact .overlay {
    position: absolute;
    top: 0;
    left: 0px;
    padding: 0;
    height: 100%;
    width: 100%;
    opacity: 0.7;
    background-color: var(--color-main);
}

#testimonials .testimonial {
    color: var(--color-font-body-lt);
    text-align: center;
}

#testimonials .testimonial .title {
    color: var(--color-font-body-lt);
    text-transform: uppercase;
    font-weight: 600;
    margin: 1rem 0;
    display: block;
    font-size: 1.4rem;
}

#testimonials .testimonial .description {
    font-size: 1.25rem;
    font-weight: 300;
}

#testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

#testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--color-bg-body);
    opacity: 1;
}

#testimonials .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 0.4;
}

section#contact {
    /* margin-top: 3rem; */
    /* margin-bottom: 3rem; */
    padding: 3rem 0;
}

@media (min-width: 768px) {
    section#contact {
        /* margin-top: 4rem; */
        /* margin-bottom: 4rem; */
        padding: 4rem 0;
    }

    #contact .section-header {
        margin-top: 1.5rem;
    }
}

@media (min-width: 992px) {
    section#contact {
        /* margin-top: 6rem; */
        /* margin-bottom: 6rem; */
        padding: 6rem 0;
    }
}

@media (min-width: 992px) {
    #contact-content {
        padding: 2rem 0;
    }
}

#contact .contact-links {
    list-style: none;
    padding: 0 0 0 .25rem;
    margin: 2rem 0 0;
    width: 80%;
}

@media (min-width: 768px) {
    #contact .contact-links {
        margin-bottom: 2rem;
    }
}

#contact .contact-links li { 
    margin-top: .75rem; 
}

#contact .contact-links li .bi {
    font-size: 1.125rem;
    line-height: 1;
    position: relative;
    top: 1px;
    margin-right: 1rem;
    color: var(--color-main);
}

/**
 *        Footer 
 */

footer {
    text-align: center;
    color: var(--color-font-body-lt);
    padding: 25px 0;
    background: var(--color-main-darken);
}

footer .copyright { margin-bottom: 0.3rem; }

#back-to-top {
    position: fixed;
    /* visibility: hidden;
    opacity: 0; */
    right: 15px;
    bottom: 15px;
    z-index: 996;
    /* background-color: var(--color-main); */
    background-color: var(--color-bg-body);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05), 0 2px 5px 0 rgba(0, 0, 0, 0.3);
}

#back-to-top i {
    font-size: 28px;
    /* color: var(--color-bg-body); */
    color: var(--color-main);
    line-height: 0;
}

#back-to-top:hover {
    background: var(--color-main-lighten);
}

#back-to-top:hover i { 
    color: var(--color-white); 
}

#back-to-top.active {
    visibility: visible;
    opacity: 1;
}