/********** Template Fonts **********/
/*@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&family=Teko:wght@300;400;500;600;700&display=swap");*/
/* @font-face {
    font-family: Barlow;
    src: url("../../common/fonts/Barlow/Barlow-Regular.ttf");
}
@font-face {
    font-family: Teko;
    src: url("../../common/fonts/Teko/Teko-Regular.ttf");
} */
@font-face {
    font-family: Southam;
    src: url("../../common/fonts/Southam/Southam.otf");
    font-display: swap;
}



/********** Template CSS **********/
:root {
    --primary: #02ABFF;
    --secondary: #9FF3FF;
    --light: #E7F3FF;
    --dark: #02245B;
    --text: #2e2e2e;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

/* Button */
.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn-check:focus+.btn, .btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(20, 125, 253, 0.25);
}

.btn-primary {
    color: #FFFFFF !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:active {
    color: var(--light) !important;
    background-color: var(--secondary);
    border-color: var(--primary);
}

.btn-outline-primary:focus,
.btn-outline-primary:active:focus {
    box-shadow: 0 0 0 0.25rem rgba(20, 144, 253, 0.5);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    /*padding-left: 0;
    padding-right: 0;
    text-align: center;*/
}

.back-to-top {
    position: fixed;
    display: none;
    right: 47px;
    bottom: 15px;
    border-radius: 0;
    z-index: 99;
}


/* Form Control */
.form-control:focus {
    border-color: var(--primary);
}

/* Page Item */
.page-item.active .page-link {
    z-index: 3;
    color: var(--light) !important;
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(20, 125, 253, 0.25);
}

/* Box Shadow */
.box-shadow {
    box-shadow: 5px 5px 0 var(--secondary);
}

.box-shadow:hover {
    box-shadow: 5px 5px 0 var(--primary);
}

/* Primary Elements */
.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark) !important;
}

.btn-primary:focus,
.btn-primary:active:focus {
    box-shadow: 0 0 0 0.25rem rgba(17, 146, 215, 0.5);
}

a {
    color: var(--primary) !important;
}


/* Secondary Elements */
.bg-secondary {
    background-color: var(--secondary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

a {
    color: var(--secondary) !important;
}


/* Dark Elements */
.bg-dark {
    background-color: var(--dark) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.border-dark {
    border-color: var(--dark) !important;
}

.btn-dark {
    background-color: var(--dark);
    border-color: var(--dark);
}

a {
    color: var(--dark) !important;
}

/* Form Control */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(20, 156, 253, 0.25);
}

/* Background */
.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light {
    background-color: var(--light) !important;
}


/* Body, Html */
body {
    font-family: Barlow;
    color: var(--text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Teko !important;
}

h2, .h2 {
    font-size: 1.8rem;
}

h3, .h3 {
    font-size: 1.5rem;
}

h4, .h4 {
    font-size: 1.3rem;
}


/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/* Shortcut Button */
.shortcut-btn {
    position: fixed;
    display: none;
    width: 250px;
    height: 40px;
    bottom: 200px;
    left: -110px;
    transition: .5s;
    transform: rotate(-90deg);
    z-index: 100;
}

.shortcut-btn:hover {
    background-color: rgba(20, 144, 253, 0.8) !important;
    border-color: var(--primary) !important;
}


/* Top Bar */
.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


/* Navbar */
.navbar-header .logo,
.navbar .logo {
    width: 100%;
    max-width: 250px;
}

.toggle-btn {
    position:absolute;
    top: 80px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}
.navbar-header .toggle-btn:after {
    display: none;
}

.navbar .navbar-btn:hover {
    background-color: rgba(20, 144, 253, 0.8) !important;
    border-color: var(--primary) !important;
    color: var(--secondary) !important;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 10px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--light) !important;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    width: 330px;
    height: 75px;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.mw-800 {
    max-width: 800px;
}

.dropdown-menu[data-bs-popper] {
    top: 60px;
    border: 1px solid var(--dark);
    /* left: auto;
    right: 0; */
}


/* .dropdown-menu.show {
    display: inline-flex;
} */

.dropdown-item.active,
.dropdown-item:active {
    color: var(--light) !important;
    background-color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

.dropdown-item {
    height: 30px;
    padding: 3px 15px;
    text-transform: capitalize;
}

@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu>li:hover {
        background-color: #f1f1f1
    }

    .dropdown-menu>li:hover>.submenu {
        display: flex;
        flex: 2;
        position: absolute;
        top: 48px;
        left: 0;
    }
}

@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}

/* Carousel */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 15, 40, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}


/*** Page Headers ***/
.page-header {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/pages/home.jpg) center center no-repeat;
    background-size: cover !important;
}

.page-header-home {
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/pages/home.jpg) center center no-repeat;
}

.page-header-about {
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/pages/about.jpg) center center no-repeat;
}

.page-header-financing {
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/pages/financing.jpg) center center no-repeat;
}

.page-header-portfolio {
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/pages/portfolio.jpg) center center no-repeat;
}


/* Facts */
.about-img {
    width: 100%;
    max-width: 300px;
    max-height: 300px;
}

.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

/*.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}*/

.text-sign {
    font-family: Southam;
    font-size: 25px;
    font-weight: 700;
}

/* Service */
.service-item .service-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 100px;
}

.service-item .service-icon i {
    transition: .2s;
}

.service-item:hover .service-icon i {
    font-size: 60px;
}

.service-detail {
    height: 70px;
    overflow: hidden;
}

.service-item-img {
    width: 100%;
    object-fit: cover
}

/* Service Subfields */
.service-sidebar-img {
    width: 100px;
    height: 70px;
}

.service-google-sign {
    width: 50px;
    height: 50px;
}

/* Features */
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.testimonial-num::after {
    content: "+";
}

/* Contact */
.contact-card {
    width: 100%;
    max-width: 300px;
}
@media (min-width: 992px) {

    .testimonial,
    .contact-form {
        margin-left: -90px;
    }
}


/***********************************  About Finance  ************************************/
/*** Fact Items ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--secondary);
}

.fact-item .fact-icon i {
    color: var(--light);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: var(--primary);
}


/***********************************  About Portfolio  ************************************/
.portfolio-type {
    width: 150px;
    height: 80px;
}

.portfolio-type-title {
    background: rgba(5, 122, 218, 0.8);
}

.portfolio-type-title:hover {
    background: rgba(7, 105, 132, 0.2);
}

.portfolio-type-box.active .portfolio-type-title {
    background: rgba(21, 28, 132, 0.2);
}

.portfolio-item {
    margin-bottom: 60px;
    padding: 0;
}

.portfolio-item-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 10px solid #FFFFFF;
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
    padding: 0 30px;
    right: 30px;
    left: 30px;
    bottom: -60px;
    background: #FFFFFF;
    z-index: 3;
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    font-size: 40px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(4, 15, 40, .7);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}


/***********************************  Blogs  ************************************/
.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-sidebar-img {
    width: 100px;
    object-fit: cover;
}

.blog-sidebar-pad {
    min-height: 120px;
}

.blog-content {
    height: 50px;
    overflow: hidden;
}

.blog-detail-content p {
    margin-bottom: 0.2rem;
}

/***********************************  About Us  ************************************/
/* Workers */
.workers-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.workers-item:hover .workers-text {
    width: 100%;
}

.workers-text * {
    transition: .5s;
}

.workers-item:hover .workers-text * {
    letter-spacing: 2px;
}


/************************************  Footer  *****************************************/
.footer-card {
    width: 100%;
    max-width: 250px;
}

.footer-qr {
    width: 100%;
    max-width: 200px;
}

@media (min-width: 576px) {
    .footer-qr {
        align-self: flex-end;
        margin-left: auto;
        width: 100px;
        height: 100px;
    }

    /*.footer-qr {
        width: 100%;
    }*/
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary)
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}


/* Custom Style */
.col-h-fit {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover
}

.badge-alert {
    background-color: #ff2d2d;
    border-radius: 10px;
    animation-duration: 1s;
    animation-name: fadeInOut;
    animation-iteration-count: infinite;
}

@-webkit-keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media only screen and (max-width: 500px) {
    .g-recaptcha {
        transform:scale(0.8);
        transform-origin:0 0;
    }
}
