/********** Template CSS **********/
:root {
    --primary: #1a56db;
    --light: #F8F8F8;
    --dark: #0f1f45;
}

body {
    font-family: "Heebo", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Lobster Two", cursive;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 700 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** 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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary-soft {
    display: inline-flex;
    align-items: center;
    background: rgba(26, 86, 219, .08);
    color: var(--primary);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: .2px;
}

.btn-primary-soft i {
    transition: transform .3s;
}

.btn-primary-soft:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.btn-primary-soft:hover i {
    transform: translateX(4px);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: .3px;
    box-shadow: 0 10px 25px rgba(26, 86, 219, .25);
    transition: transform .3s, box-shadow .3s;
}

.btn-view-all i {
    transition: transform .3s;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(26, 86, 219, .35);
}

.btn-view-all:hover i {
    transform: translateX(4px);
}


/*** Navbar ***/
.navbar-brand-logo {
    height: 90px;
}

@media (max-width: 991.98px) {
    .navbar-brand-logo {
        height: 60px;
    }
}

@media (max-width: 479.98px) {
    .navbar-brand-logo {
        height: 48px;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}
.header-topbar {
    background: var(--dark);
}
.header-topbar a {
    font-size: 14px;
}
.header-topbar span {
    font-size: 14px;
}
.header-carousel .owl-carousel-item {
    position: relative;
}

.header-carousel .owl-carousel-item img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 767.98px) {
    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

@media (max-width: 767.98px) {
    .header-carousel .owl-dots {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
        top: auto;
        bottom: 8px;
        right: 0;
        gap: 8px;
    }

    .header-carousel .owl-dots .owl-dot {
        width: 26px;
        height: 26px;
        margin: 0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    }

    .header-carousel .owl-dots .owl-dot.active {
        width: 34px;
        height: 34px;
    }
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/page-header-banner.jpg) center center no-repeat;
    background-size: cover;
    background-color: var(--dark);
    height: 390px;
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .page-header {
        height: 220px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item {
    background: #FFFFFF;
    border-radius: 10px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 5px 25px rgba(0, 0, 0, .06);
    transition: .3s;
}

.fact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
}

.fact-item .stat-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 86, 219, .1);
    border-radius: 50%;
    transition: .3s;
}

.fact-item .stat-icon i {
    font-size: 28px;
    color: var(--primary);
    transition: .3s;
}

.fact-item:hover .stat-icon {
    background: var(--primary);
}

.fact-item:hover .stat-icon i {
    color: #FFFFFF;
}

.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    .about-img {
        max-width: 320px;
        margin: 0 auto;
    }
}

.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item {
    background: #FFFFFF;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .07);
    transition: .3s;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.service-item .service-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-item .service-img-wrap a {
    display: block;
    height: 100%;
    cursor: zoom-in;
}

.service-item .service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.service-item:hover .service-img-wrap img {
    transform: scale(1.08);
}

.service-item .service-img-wrap.zoomable::after {
    content: "\f00e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #FFFFFF;
    background: rgba(15, 31, 69, .65);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
    transition: .3s;
    pointer-events: none;
}

.service-item:hover .service-img-wrap.zoomable::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
}

.service-item .service-text p,
.text-justify {
    text-align: justify;
    text-align-last: left;
}

.service-item .service-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 86, 219, .1);
    border-radius: 50%;
    transition: .3s;
}

.service-item .service-icon i {
    font-size: 24px;
    color: var(--primary);
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer {
    background: var(--dark);
    color: #FFFFFF;
}

.footer h3,
.footer p,
.footer .copyright {
    color: #FFFFFF !important;
}

.footer a {
    color: #FFFFFF;
}

.footer i,
.footer .text-primary {
    color: #D4AF37 !important;
}

.footer .btn-outline-body {
    color: #D4AF37;
    border-color: #D4AF37;
}

.footer .btn-outline-body:hover {
    color: var(--dark);
    background: #D4AF37;
    border-color: #D4AF37;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    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: #D4AF37;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #D4AF37;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFEB3B;
}

.footer .copyright a:hover {
    color: #FFF59D;
}


/*** Mobile Responsive Adjustments ***/
@media (max-width: 767.98px) {
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .pt-5 { padding-top: 2rem !important; }
    .pb-5 { padding-bottom: 2rem !important; }
    .p-5 { padding: 2rem !important; }
    .my-5 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }
    .mt-5 { margin-top: 2rem !important; }
}

@media (max-width: 479.98px) {
    .py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .pt-5 { padding-top: 1.5rem !important; }
    .pb-5 { padding-bottom: 1.5rem !important; }
    .p-5 { padding: 1.5rem !important; }
}

@media (max-width: 767.98px) {
    /* Facts / counters: 2 per row instead of a tall single column */
    .facts-top {
        padding-top: 0 !important;
    }

    .fact-item {
        padding: 1.25rem !important;
    }

    .fact-item .stat-icon {
        width: 55px;
        height: 55px;
    }

    .fact-item .stat-icon i {
        font-size: 20px;
    }

    .fact-item h1 {
        font-size: 1.6rem;
    }

    .fact-item h5 {
        font-size: .8rem;
    }

    /* Product cards: tighter image height on small screens */
    .service-item .service-img-wrap {
        height: 180px;
    }
}

@media (max-width: 991.98px) {
    /* Why Choose Us: single clean image instead of the
       overlapping two-image layout that leaves large empty gaps */
    .feature-img {
        min-height: 0;
        height: auto;
    }

    .feature-img img {
        position: static;
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .feature-img img:last-child {
        display: none;
        margin: 0;
    }

    .feature-img::before {
        display: none;
    }
}