/*************************
Theme Main Css File

It Includes All the styles of Elements Used In This Theme
0. Root Variables
1.Common Elements
2.Preloader
3. Main Header
4.Banner Slider Section
5.About Us Section
6.Benefits Section
7.What We Do Section
8.Why Choose Us Section
9.Reviews Section
10.Brands Section
10.Send Message Section
11.Main Footer
12. Reponsive Media Queries

******************/



/**************************************
This is Base Colors Of Theme For Easy to use
    
    Blue: #0083b7;
    dark blue (near to black): #314856;
    Light Bg: #f1f5f7;
    Text Color: #626262;

**************************************/

/**************************************
Common Elements
**************************************/
html {
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #6b6b6b;
    font-size: 16px;
    line-height: 26px;
    overflow-x: hidden;
}

body.sticky-pad {
    padding-top: 76px;
}

/****************
Headings
*****************/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: 'Rubik', sans-serif;
    color: #314856;
}

.h1,
h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
}

/****************
Lists
*****************/
dl,
ol,
ul {
    margin-bottom: 0;
}

/****************
Links
*****************/
a {
    color: #fff;
    transition: all ease-in-out 0.4s;
    text-decoration: none;
}

a:hover {
    color: #0083b7;
    text-decoration: none;
}

/****************
Basic color & background classes for direct use
*****************/
.bc-txt {
    color: #0083b7 !important;
}

.bc-bg {
    background-color: #0083b7 !important;
}

.sc-txt {
    color: #314856 !important;
}

.sc-bg {
    background-color: #314856 !important;
}

.light-bg {
    background-color: #f1f5f7 !important;
}

/****************
Base Section Styles
(Common Paddings, Section Title, Text align)
*****************/
.main-content-wrap {
    width: 100%;
}

.section-pad {
    padding: 90px 0;
}

.section-title-3 {
    margin-bottom: 15px;
    position: relative;
}

.section-title-3 h5 {
    color: #0083b7;
    position: relative;
    display: inline-block;
}

.section-title-3 h5::after,
.section-title-3.center-title h5::before{
    content: '';
    position: absolute;
    top: 10px;
    width: 65px;
    height: 2px;
    background: #314856;
    border-radius: 4px;
}

.section-title-3 h5::after{
    right: -90px;
}

.section-title-3.center-title h5::before{
    left: -90px;
}


.section-title-3 h2 {
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1.4;
    color: #314856;
    text-transform: uppercase;
}

.sepretor {
    display: block;
    width: 50px;
    height: 3px;
    background: #0083b7;
}

.text-justify {
    text-align: justify;
}

/****************
Buttons Style
*****************/
button,
button:focus,
button:hover {
    outline: none;
    border: none;
}

.theme-btn {
    position: relative;
    background: #0083b7;
    padding: 8px 30px;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.7;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    transition: all ease-in-out 0.4s !important;
    z-index: 2;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.theme-btn.btn-sm {
    padding: 5px 22px;
    font-size: 16px;
    line-height: 1.5;
}

.theme-btn.alt-btn {
    background: #314856;
}

.theme-btn > i {
    margin-left: 8px;
}

.theme-btn.lg-btn > i {
    margin-left: 12px;
}

.theme-btn:hover {
    background-color: #314856;
}

.theme-btn.alt-btn:hover {
    background: #0083b7;
}

.theme-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: -110%;
    background: #314856;
    text-align: center;
    border-radius: 12px;
    top: 0;
    transition: all ease-in-out 0.4s;
    z-index: -1;
}

.theme-btn.alt-btn::before {
    background: #0083b7;
}

.theme-btn:hover::before {
    left: 0;
}

/****************
Card Style
*****************/
.card{
    border-radius: 12px;
}
.card-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: linear-gradient(200deg, #0083b7 45%, #314856);
    color: #ffffff;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    margin: 20px auto 0;
}

/****************
Accordian Style
*****************/
.accordion-item {
    border: 1px solid #e3e3e3 !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-item + .accordion-item {
    margin-top: 12px;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    padding: 12px 15px;
}

.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #314856;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: #314856;
    box-shadow: none;
}

.accordion-button::after {
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin-left: auto;
    content: "\f067";
    background-image: none !important;
    transition: transform .2s ease-in-out;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/****************
Path Shape wrapper for shaped images
*****************/
.path-shape-wrapper{
    display: block;
    width: 0px;
    height: 0px;
}


/****************
Common Social Bar
*****************/
.social-bar > li {
    margin-right: 5px !important;
}

.social-bar > li > a {
    padding: 5px 10px;
}

.social-bar.style-2 > li > a {
    background: #0083b7;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 42px;
    display: block;
    padding: 0;
    color: #ffffff;
    text-align: center;
}

.social-bar.style-2 > li > a:hover {
    background: #ffffff;
    color: #314856;
}

/***************
Back To Top
************/
.back-to-top {
    background: #314856;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 40px 40px 0 0;
    position: absolute;
    right: 20px;
    top: -35px;
    cursor: pointer;
    font-size: 24px;
}

/****************
Owl Carousel Styles
*****************/
.owl-stage-outer { 
    overflow: visible !important;
}

.owl-item {
   opacity: 0;
   transition: opacity 500ms;
}
.owl-item.active {
  opacity: 1;
}
.owl-theme .owl-nav [class*=owl-]:hover {
    background: transparent !important;
    color: initial !important;
    text-decoration: none !important;
}

.owl-nav .owl-next span,
.owl-nav .owl-prev span {
    width: 40px;
    display: block;
    height: 40px;
    line-height: 36px;
    border: 1px solid #d3d3d3;
    border-radius: 50%;
    font-size: 20px;
    color: #ffffff;
}

.owl-nav .owl-next span:hover,
.owl-nav .owl-prev span:hover {
    background-color: #0083b7;
    border-color: #0083b7;
    color: #fff;
}

.owl-nav .owl-next,
.owl-nav .owl-prev {
    position: absolute;
    top: 43%;
}

.owl-nav .owl-prev {
    left: 10px;
}

.owl-nav .owl-next {
    right: 10px;
}

/**************************************
Preloader 
**************************************/
.preloader {
    position: fixed;
    background-color: #ffffff;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}
.preloader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.preloader-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: #314856 #314856 transparent transparent;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
}
.preloader-icon:after, .preloader-icon:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent #0083b7 #0083b7;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-animation: rotationBack 0.5s linear infinite;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
}
.preloader-icon:before {
    width: 40px;
    height: 40px;
    border-color: #314856 #314856 transparent transparent;
    -webkit-animation: rotation 1.5s linear infinite;
    animation: rotation 1.5s linear infinite;
}

/****************
Preloader Keyframes
*****************/
@-webkit-keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/**************************************
Main Header
**************************************/
.top-bar {
    width: 100%;
    background-color: #314856;
    padding-top: 8px;
    padding-bottom: 8px;
}

.contact-bar li {
    margin-right: 15px !important;
}

.contact-bar li > a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.contact-bar li > a:hover {
    color: #ffffff;
}

.contact-bar li.highlight-item > a {
    font-weight: 600;
    color: #0083b7;
}

.contact-bar li > a > i {
    color: #0083b7;
    margin-right: 10px;
}

.navbar-brand > img {
    width: 160px;
    height: auto;
    transition: all ease-in-out 0.4s;
}

header.main-header.is-sticky .navbar-brand > img {
    width: 140px;
}

/****************
Sticky Nav Keyframes
*****************/
@keyframes stickySlideDown {
    0% {
        opacity: 0.7;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stickySlideUp {
    0% {
        opacity: 0.7;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

.main-header {
    width: 100%;
}

.main-header .navbar {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    animation-duration: 0.5s;
    animation-name: stickySlideUp;
}

header.main-header.is-sticky nav.navbar {
    position: fixed;
    z-index: 999;
    background-color: #fff;
    padding-top: 8px;
    padding-bottom: 8px;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 2px 5px #cacaca;
    animation-name: stickySlideDown;
}

.main-header .navbar .navbar-nav li.nav-item {
    margin: 0 10px;
}

.main-header li.nav-item a.nav-link {
    position: relative;
    color: #333333;
    font-weight: 400;
    z-index: 0;
}

.main-header li.nav-item a.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 25%;
    width: 50%;
    height: 2px;
    background-color: #0083b7;
    border-radius: 8px;
    transform: scaleX(0);
    transform-origin: center;
    transition: all cubic-bezier(0.7, 0.29, 0.5, 1.04) 0.4s;
    z-index: -1;
}

.main-header li.nav-item a.nav-link:hover::after {
    transform: scaleX(1);
}

.main-header li.nav-item.active a.nav-link {
    color: #333333;
    font-weight: 400;
}

.main-header li.nav-item.btn-nav-item .nav-link::after {
    visibility: hidden;
}

.main-header li.nav-item.btn-nav-item .nav-link {
    color: #333333;
    padding: 8px 30px;
}

.main-header li.nav-item.btn-nav-item .theme-btn > i {
    margin-left: 0px;
    margin-right: 8px;
}

.main-header li.nav-item.btn-nav-item .theme-btn:hover {
    background-color: #333333;
    color: #fff;
}

/**************************************
Banner Slider
**************************************/
.retro-slider .owl-carousel .item{
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.retro-slider .owl-carousel .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.35;
    z-index: -1;
}
.retro-content {
    padding: 150px 0;
    max-width: 90%;
    margin: 0 auto;
}
.retro-content .banner-subtitle {
    background: #ffffff;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.retro-slider .owl-theme .owl-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
}

/**************************************
About Us Section
**************************************/
.about-card-3{
    position: relative;
    z-index: 0;
    background: #f1f5f7;
    overflow: hidden;
}

.about-card-3::before {
    position: absolute;
    content: '';
    width: 95%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: #ffffff;
    z-index: -1;
    border-radius: 0 0 100% 0;
}

.counter-box-2 {
    display: inline-flex;
    align-items: center;
}
.counter-box-2 .counter-txt {
    padding-left: 25px;
}

.counter-box-2 > i {
    color: #0083b7;
    font-size: 42px;
}

.counter-box-2 h3,
.counter-box-2 h3 span {
    font-size: 40px;
    color: #314856;
    font-weight: 600;
    margin-bottom: 0;
}

.counter-box-2 p {
    margin-bottom: 0;
    font-size: 18px;
    position: relative;
}
.counter-box-2 .counter-txt p::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: #0083b7;
    left: 0;
    bottom: -10px;
}

/**************************************
Benefits Section
**************************************/
.benefit-main {
    position: relative;
    padding: 150px 0;
}

.benefit-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    border-radius: 0 0 0 100%;
}

.benefit-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    border-radius: 0 100% 0 0;
}

.benefit-retro .owl-stage-outer {
    padding-bottom: 20px;
}

.benefit-card-3 .benefit-img {
    height: 90px;
    width: 90px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
    background: linear-gradient(200deg, #0083b7 45%, #314856);
    border-radius: 50%;
}

/**************************************
Services Section
**************************************/
.services-main {
    
}

.service-card-3 {
    overflow: hidden;
}

.service-card-3 .card-body{
    position: relative;
}

.service-card-3 .card-icon {
    margin: 0;
    position: absolute;
    top: -30px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    line-height: 50px;
}

/**************************************
Why Choose Section
**************************************/
.why-main {
    background: url(../img/resource/wave-4.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

/**************************************
Review Section
**************************************/
.review-main {
    
}

.review-img img {
    max-width: 60px;
    border-radius: 50%;
    border: 2px solid #0083b7;
}

.review-main .owl-stage {
    padding-top: 20px;
}

.review-retro .review-content {
    position: relative;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 35px;
    z-index: 0;
    background: #f1f5f7;
    overflow: hidden;
}

.review-retro .review-content::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 95%;
    bottom: 0;
    left: 0;
    background: #ffffff;
    z-index: -1;
    border-radius: 100% 0 0 0;
}

.review-content p {
    margin-bottom: 0;
}

.review-retro .review-content span.fa-quote-right {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 26px;
    color: #0083b7;
}

.review-person {
    position: relative;
}

.review-person p {
    margin-bottom: 0;
    font-size: 14px;
}

/**************************************
Brands Section
**************************************/
.brands-retro .brand-img {
    border: 1px solid #e1e1e1;
    padding: 20px;
    border-radius: 12px;
}
.brand-img img {
    filter: grayscale(1);
    transition: all ease-in-out 0.4s;
}

.brand-img:hover img {
    filter: grayscale(0);
}

/**************************************
Send Message Section 
**************************************/
.contact-cont {
    position: relative;
    padding-top: 150px;
}

.contact-cont::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    border-radius: 0 0 100% 0;
}

.form-control {
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
    line-height: 1.8rem;
}

.form-control:focus {
    border: 1px solid #314856;
    box-shadow: none;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    line-height: 1;
    font-size: 14px;
    pointer-events: none;
    transition: all ease-in-out 0.4s;
}

.form-group {
    position: relative;
}

.form-control:focus + label,
label.filled {
    top: -18px;
    font-size: 12px;
}

.contact-card .card-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    line-height: 50px;
}

/**************************************
Footer 
**************************************/
.main-footer {
    position: relative;
    padding: 40px 0;
    background-color: #314856;
    color: #b9b9b9;
    z-index: 100;
}

footer p {
    margin-bottom: 0;
}

footer .widget-title {
    position: relative;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
}

footer .widget-title::after {
    content: '';
    position: absolute;
    width: 45px;
    height: 2px;
    border-radius: 2px;
    background-color: #0083b7;
    bottom: -14px;
    left: 0;
}

ul.widget-list {
    list-style: none;
    padding-left: 0;
    line-height: 36px;
}

ul.widget-list li {
    display: flex;
    align-items: baseline;
}

ul.widget-list li i {
    color: #0083b7;
    font-size: 15px;
    margin-right: 8px;
}

footer .theme-btn:hover {
    background-color: #fff;
    color: #333333 !important;
}

/**************************************
Mobile Responsive Media Queries 
**************************************/

/**************************************
For All Mobiles
**************************************/
@media only screen and (min-width: 300px) and (max-width: 691px) {

    .h1,
    h1 {
        font-size: 1.9rem;
        font-weight: 800;
    }

    .h5,
    h5 {
        font-size: 1.15rem;
    }

    .section-title-3 h2 {
        font-size: 1.8rem;
    }

    .section-title-3 .w-75 {
        width: 100% !important;
    }
    
    .card-icon {
        margin: 20px 0 0 20px;
    }
    
    .accordion-header {
        margin-bottom: 0;
        line-height: 1.5;
    }
    
    .owl-theme .owl-nav.disabled+.owl-dots {
        margin-top: 0px;
    }

    .contact-bar {
        text-align: center;
    }

    .contact-bar li {
        margin-left: 0;
    }

    .navbar-brand > img {
        width: 140px;
    }
    
    .main-header .navbar-collapse {
        top: 66px !important; 
    }
    
    .counter-box-2 h3, 
    .counter-box-2 h3 span{
        font-size: 26px;
    }
    
    .counter-box-2 > i {
        font-size: 36px;
    }
    
    .counter-box-2 p {
        font-size: 16px;
    }
    
    .contact-card .card-icon {
        margin: 0;
    }
    
    .main-footer {
        padding: 60px 0;
    }
    
    footer .widget-title {
        font-size: 1.3rem;
    }
}


/**************************************
For All Medium Devices (Tablet, phablet etc.)
**************************************/

@media only screen and (min-width: 692px) and (max-width: 991px) {

    .h1,
    h1 {
        font-size: 2.3rem;
        font-weight: 800;
    }

    .h5,
    h5 {
        font-size: 1.15rem;
    }

    .section-title h2 {
        font-weight: 800;
        font-size: 2.2rem;
    }

    .form-control {
        margin-bottom: 15px;
    }

    .navbar-brand > img {
        width: 165px;
    }

    .main-header .navbar {
        padding-left: 30px;
        padding-right: 30px;
    }

    .sm-show-img {
        width: 70% !important;
        margin: 0 auto;
    }

    .main-slider .owl-theme .owl-dots {
        left: 50%;
        bottom: -50px;
        transform: translateX(-50%);
    }

    .service-img {
        margin: 0 auto;
    }
    ul.icon-list li{
        justify-content: center;
    }
    .contact-cont{
        padding-bottom: 40px;
    }
    .contact-card {
        width: 50%;
        float: left;
        min-height: 115px;
    }
}

/**************************************
For All Device Less Then 991px
**************************************/
@media (max-width: 991px) {
    .theme-btn {
        padding: 5px 30px;
        font-size: 17px;
        line-height: 1.7;
    }

    .main-header .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main-header button.navbar-toggler {
        padding: 6px 8px;
        font-size: 18px;
        line-height: 0.8;
        border-color: #0083b7;
        color: #333333;
    }

    .main-header button.navbar-toggler:hover,
    .main-header button.navbar-toggler:active,
    .main-header button.navbar-toggler:focus {
        border-color: #0083b7;
        background-color: #0083b7;
    }
    
    .main-header .navbar-collapse {
        position: absolute;
        top: 70px;
        background: rgb(255, 255, 255);
        width: 100%;
        left: 0px;
        padding: 0 15px 10px;
        z-index: 99;
        border-radius: 8px;
        box-shadow: 0px 2px 10px rgb(0 0 0 / 7%);
    }

    .main-header li.nav-item a.nav-link::after {
        visibility: hidden;
    }
    
    .main-header .navbar .navbar-nav li.nav-item{
        margin: 0;
    }

    .main-header .navbar .navbar-nav li.nav-item + li.nav-item {
        border-top: 1px solid #e4e4e4;
    }

    .main-header li.nav-item.btn-nav-item .theme-btn {
        padding: 2px 15px;
        margin: 12px 0 10px;
        font-size: 16px;
    }
}
