/********** QUATLAB - COMPLETE THEME CSS **********/

/* =========================================================
   ROOT / BRAND COLORS
   ========================================================= */

:root {
    --bs-primary: #087EF5;
    --bs-secondary: #16B5F2;

    --bs-dark: #172A52;
    --bs-light: #EAF7FF;
    --bs-white: #FFFFFF;

    --quatlab-navy: #172A52;
    --quatlab-dark: #101B35;
    --quatlab-blue: #087EF5;
    --quatlab-cyan: #16B5F2;
    --quatlab-light: #EAF7FF;
    --quatlab-border: #D9EEFC;
}


/* =========================================================
   GENERAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    color: #5B6680;
    background: #FFFFFF;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #172A52;
}

p {
    line-height: 1.8;
}

a {
    color: #087EF5;
    text-decoration: none;
    transition: .3s;
}

a:hover {
    color: #16B5F2;
}


/* =========================================================
   TEXT COLORS
   ========================================================= */

.text-primary {
    color: #087EF5 !important;
}

.text-secondary {
    color: #16B5F2 !important;
}

.text-dark {
    color: #172A52 !important;
}

.text-white {
    color: #FFFFFF !important;
}


/* =========================================================
   BACKGROUND COLORS
   ========================================================= */

.bg-primary {
    background-color: #087EF5 !important;
}

.bg-secondary {
    background-color: #16B5F2 !important;
}

.bg-dark {
    background-color: #172A52 !important;
}

.bg-light {
    background-color: #EAF7FF !important;
}


/* =========================================================
   BORDER COLORS
   ========================================================= */

.border-primary {
    border-color: #087EF5 !important;
}

.border-secondary {
    border-color: #16B5F2 !important;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;

    width: 48px;
    height: 48px;

    background: #087EF5;
    border: 2px solid #087EF5;

    color: #FFFFFF;

    border-radius: 50%;

    box-shadow: 0 8px 25px rgba(8, 126, 245, .25);

    transition: .4s;
}

.back-to-top:hover {
    background: #172A52;
    border-color: #172A52;
    color: #FFFFFF;

    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(23, 42, 82, .3);
}

.fw-medium {
    font-weight: 500;
}


/* =========================================================
   SPINNER
   ========================================================= */

#spinner {
    opacity: 0;
    visibility: hidden;

    transition:
        opacity .5s ease-out,
        visibility 0s linear .5s;

    z-index: 99999;

    background: rgba(255, 255, 255, .95);
}

#spinner.show {
    transition:
        opacity .5s ease-out,
        visibility 0s linear 0s;

    visibility: visible;
    opacity: 1;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    transition: .4s;
    font-weight: 600;
    border-radius: 6px;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-primary {
    background: #087EF5;
    border-color: #087EF5;
}

.btn-primary:hover {
    background: #172A52;
    border-color: #172A52;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(8, 126, 245, .25);
}

.btn-outline-primary {
    color: #087EF5;
    border-color: #087EF5;
}

.btn-outline-primary:hover {
    background: #087EF5;
    border-color: #087EF5;
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-secondary {
    background: #16B5F2;
    border-color: #16B5F2;
}

.btn-secondary:hover {
    background: #087EF5;
    border-color: #087EF5;
}

.btn-outline-secondary {
    color: #16B5F2;
    border-color: #16B5F2;
}

.btn-outline-secondary:hover {
    color: #FFFFFF;
    background: #16B5F2;
}


/* =========================================================
   BUTTON SQUARE
   ========================================================= */

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50px;

    font-weight: normal;
}


/* =========================================================
   ICON BOX
   ========================================================= */

.icon-box-primary,
.icon-box-light {
    position: relative;

    padding: 0 0 10px 10px;

    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;

    transition: .4s;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;

    content: "";

    width: 35px;
    height: 35px;

    left: 0;
    bottom: 0;

    border-radius: 35px;

    transition: .5s;

    z-index: -1;
}

.icon-box-primary::before {
    background: #087EF5;
}

.icon-box-light::before {
    background: #EAF7FF;
}

.icon-box-primary i {
    color: #172A52;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar {
    background: #FFFFFF !important;

    box-shadow: 0 4px 25px rgba(23, 42, 82, .07);

    z-index: 1000;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;

    padding: 20px 0;

    color: #172A52;

    font-size: 18px;
    font-weight: 500;

    outline: none;

    transition: .3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #087EF5;
}

.navbar .dropdown-toggle::after {
    border: none;

    content: "\f107";

    font-family: "Font Awesome 5 Free";
    font-weight: 900;

    vertical-align: middle;

    margin-left: 8px;
}


/* Logo */

.navbar-brand img {
    max-height: 58px;
    width: auto;
}


/* Navbar toggler */

.navbar-toggler {
    border: 1px solid #087EF5;
    padding: 7px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(8, 126, 245, .15);
}


/* Dropdown */

.navbar .dropdown-menu {
    background: #FFFFFF;

    border: none;

    border-top: 3px solid #087EF5;

    box-shadow: 0 15px 40px rgba(23, 42, 82, .12);

    border-radius: 0 0 8px 8px;
}

.navbar .dropdown-item {
    color: #172A52;

    padding: 10px 20px;

    transition: .3s;
}

.navbar .dropdown-item:hover {
    color: #087EF5;
    background: #EAF7FF;
}


/* Mobile Navbar */

@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;

        border-top: 1px solid #D9EEFC;

        padding-top: 10px;
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        border-top: 0;
    }
}


@media (min-width: 992px) {

    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: 68px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;

        border: none;

        margin-top: 0;

        top: 150%;

        opacity: 0;

        visibility: hidden;

        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;

        visibility: visible;

        opacity: 1;
    }
}


/* =========================================================
   HEADER / HERO
   ========================================================= */

@media (min-width: 992px) {

    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(23, 42, 82, .90),
            rgba(8, 126, 245, .45)
        );

    z-index: 1;
}

.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3,
.carousel-caption p {
    color: #FFFFFF;
}

.carousel-caption h1 {
    font-weight: 700;
}


/* Carousel Controls */

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;

    border-radius: 3.5rem;

    background-color: #087EF5;

    border: 15px solid #087EF5;

    transition: .3s;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #16B5F2;
    border-color: #16B5F2;
}


/* Mobile Hero */

@media (max-width: 767.98px) {

    #header-carousel .carousel-item {
        position: relative;

        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;

        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .carousel-caption {
        padding: 30px;
    }
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header {
    background:
        linear-gradient(
            rgba(23, 42, 82, .86),
            rgba(8, 126, 245, .58)
        ),
        url(../img/testimonial.jpg) center center no-repeat;

    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #FFFFFF;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: #FFFFFF;
}

.page-header .breadcrumb-item a:hover {
    color: #16B5F2;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.section-title {
    position: relative;
}

.section-title h6 {
    color: #087EF5;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title h1,
.section-title h2 {
    color: #172A52;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-fact {
    width: 220px;
    height: 220px;

    background: #FFFFFF;

    border: 1px solid #D9EEFC;

    box-shadow: 0 0 30px rgba(8, 126, 245, .10);

    transition: .4s;
}

.about-fact:hover {
    transform: translateY(-8px);

    border-color: #16B5F2;

    box-shadow: 0 15px 40px rgba(8, 126, 245, .15);
}

.about-fact h1,
.about-fact h2,
.about-fact h3 {
    color: #087EF5;
}

@media (min-width: 576px) {

    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}


/* =========================================================
   SERVICE
   ========================================================= */

.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;

    content: '';

    background: #EAF7FF;

    width: 100%;
    height: 100%;

    left: 0;
    top: 0;

    clip-path:
        polygon(
            0 0,
            100% 0,
            100% 30%,
            0 70%
        );

    z-index: -1;
}

.service-item {
    position: relative;

    height: 100%;

    padding: 45px 30px;

    background: #FFFFFF;

    border: 1px solid #E2F1FB;

    border-top: 3px solid transparent;

    box-shadow: 0 0 45px rgba(23, 42, 82, .06);

    overflow: hidden;

    transition: .5s;
}

.service-item::before {
    position: absolute;

    content: "";

    width: 100%;
    height: 0;

    left: 0;
    bottom: 0;

    transition: .5s;

    background:
        linear-gradient(
            135deg,
            #172A52,
            #087EF5
        );

    z-index: 0;
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item:hover {
    border-top-color: #16B5F2;

    transform: translateY(-8px);

    box-shadow: 0 18px 45px rgba(8, 126, 245, .15);
}

.service-item * {
    position: relative;

    transition: .5s;

    z-index: 1;
}

.service-item h5 {
    color: #172A52;
}

.service-item p {
    color: #667085;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item:hover .icon-box-primary::before {
    background: #16B5F2;
}

.service-item:hover .icon-box-primary i {
    color: #FFFFFF !important;
}


/* =========================================================
   TEAM
   ========================================================= */

.container-team {
    position: relative;
}

.container-team::before {
    position: absolute;

    content: '';

    background: #EAF7FF;

    width: 100%;
    height: 100%;

    left: 0;
    top: 0;

    clip-path:
        polygon(
            0 70%,
            100% 30%,
            100% 100%,
            0% 100%
        );

    z-index: -1;
}

.team-item {
    position: relative;

    background: #FFFFFF;

    border: 1px solid #E2F1FB;

    box-shadow: 0 0 45px rgba(23, 42, 82, .06);

    overflow: hidden;

    transition: .4s;
}

.team-item:hover {
    transform: translateY(-7px);

    box-shadow: 0 15px 40px rgba(8, 126, 245, .15);
}

.team-item .team-social {
    position: absolute;

    width: 0;
    height: 100%;

    top: 0;
    right: 0;

    transition: .5s;

    background:
        linear-gradient(
            180deg,
            rgba(8, 126, 245, .96),
            rgba(23, 42, 82, .96)
        );

    display: flex;

    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;

    color: #FFFFFF;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-info {
    position: relative;
}

@media (min-width: 992px) {

    .contact-info::after {
        position: absolute;

        content: "";

        width: 0;
        height: 100%;

        top: 0;
        left: 50%;

        border-left: 1px dashed rgba(255, 255, 255, .25);
    }
}

@media (max-width: 991.98px) {

    .contact-info::after {
        position: absolute;

        content: "";

        width: 100%;
        height: 0;

        top: 50%;
        left: 0;

        border-top: 1px dashed rgba(255, 255, 255, .25);
    }
}


/* Contact Background */

.contact-section {
    background:
        linear-gradient(
            135deg,
            #172A52,
            #087EF5
        );
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */

.form-control,
.form-select {
    border: 1px solid #D9EEFC;

    border-radius: 6px;

    padding: 12px 15px;

    color: #172A52;

    background: #FFFFFF;

    transition: .3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #087EF5;

    box-shadow:
        0 0 0 .2rem rgba(8, 126, 245, .12);
}

.form-control::placeholder {
    color: #98A2B3;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    position: relative;

    background:
        linear-gradient(
            rgba(23, 42, 82, .97),
            rgba(16, 27, 53, .99)
        ),
        url(../img/footer.png) center center no-repeat;

    background-size: cover;
}

.footer h4,
.footer h5,
.footer h6 {
    color: #FFFFFF;
}

.footer p {
    color: rgba(255, 255, 255, .65);
}

@media (min-width: 992px) {

    .footer::after {
        position: absolute;

        content: "";

        width: 0;
        height: 100%;

        top: 0;
        left: 50%;

        border-left: 1px dashed rgba(255, 255, 255, .15);
    }
}

.footer .btn.btn-link {
    display: block;

    margin-bottom: 8px;

    padding: 0;

    text-align: left;

    color: rgba(255, 255, 255, .65);

    font-weight: normal;

    text-transform: capitalize;

    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;

    content: "\f105";

    font-family: "Font Awesome 5 Free";

    font-weight: 900;

    color: #16B5F2;

    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #16B5F2;

    letter-spacing: 1px;

    box-shadow: none;
}


/* Footer Social Icons */

.footer .btn-square,
.footer .btn-sm-square,
.footer .btn-lg-square {
    background: transparent;

    border: 1px solid rgba(255, 255, 255, .25);

    color: #FFFFFF;

    transition: .3s;
}

.footer .btn-square:hover,
.footer .btn-sm-square:hover,
.footer .btn-lg-square:hover {
    background: #087EF5;

    border-color: #087EF5;

    color: #FFFFFF;

    transform: translateY(-3px);
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.copyright {
    border-top: 1px dashed rgba(255, 255, 255, .2);

    color: rgba(255, 255, 255, .6);
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: #16B5F2;
}


/* =========================================================
   BADGES
   ========================================================= */

.badge.bg-primary {
    background: #087EF5 !important;
}

.badge.bg-secondary {
    background: #16B5F2 !important;
}


/* =========================================================
   PROGRESS BAR
   ========================================================= */

.progress {
    background: #EAF7FF;
}

.progress-bar {
    background:
        linear-gradient(
            90deg,
            #087EF5,
            #16B5F2
        );
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    border: 1px solid #E2F1FB;

    box-shadow: 0 8px 30px rgba(23, 42, 82, .05);

    transition: .4s;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(8, 126, 245, .12);
}

.card-title {
    color: #172A52;
}

.card-text {
    color: #667085;
}


/* =========================================================
   TABLE
   ========================================================= */

.table thead th {
    background: #172A52;
    color: #FFFFFF;

    border: none;
}

.table tbody tr:hover {
    background: #EAF7FF;
}


/* =========================================================
   ALERTS
   ========================================================= */

.alert-primary {
    color: #172A52;

    background: #EAF7FF;

    border-color: #BDE5FA;
}


/* =========================================================
   ACCORDION
   ========================================================= */

.accordion-button {
    color: #172A52;

    font-weight: 600;

    background: #FFFFFF;
}

.accordion-button:not(.collapsed) {
    color: #087EF5;

    background: #EAF7FF;

    box-shadow: none;
}

.accordion-button:focus {
    box-shadow:
        0 0 0 .2rem rgba(8, 126, 245, .12);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pagination .page-link {
    color: #087EF5;

    border-color: #D9EEFC;
}

.pagination .page-item.active .page-link {
    background: #087EF5;

    border-color: #087EF5;

    color: #FFFFFF;
}

.pagination .page-link:hover {
    background: #EAF7FF;

    color: #172A52;
}


/* =========================================================
   SELECTION
   ========================================================= */

::selection {
    background: #087EF5;
    color: #FFFFFF;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #EAF7FF;
}

::-webkit-scrollbar-thumb {
    background: #087EF5;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #172A52;
}


/* =========================================================
   SMOOTH IMAGE EFFECT
   ========================================================= */

img {
    transition: .4s;
}


/* =========================================================
   QUATLAB BRAND GRADIENT
   ========================================================= */

.quatlab-gradient {
    background:
        linear-gradient(
            135deg,
            #172A52 0%,
            #087EF5 60%,
            #16B5F2 100%
        );
}

.quatlab-text-gradient {
    background:
        linear-gradient(
            90deg,
            #087EF5,
            #16B5F2
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .about-fact {
        width: 180px;
        height: 180px;
    }

    .service-item {
        padding: 35px 25px;
    }

    .carousel-caption h1 {
        font-size: 32px;
    }

    .carousel-caption p {
        font-size: 15px;
    }

    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 15px;
    }
}


/* =========================================================
   EXTRA BRAND POLISH
   ========================================================= */

.section-heading-line {
    width: 60px;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #087EF5,
            #16B5F2
        );

    border-radius: 10px;

    margin-top: 10px;
    margin-bottom: 20px;
}

.brand-border {
    border-left: 4px solid #087EF5;
    padding-left: 15px;
}

.brand-shadow {
    box-shadow:
        0 15px 45px rgba(8, 126, 245, .12);
}
/**logo**/
.quatlab-logo {
    height: 58px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

@media (max-width: 767.98px) {
    .quatlab-logo {
        height: 48px;
        max-width: 210px;
    }
}

