/********** Template CSS **********/
:root {
    --primary: #45B71B;
    --secondary: #637184;
    --light: #F4F7F9;
    --dark: #102C56;
    --nexgen-blue: #123D7A;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.whatsapp-help {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}

.whatsapp-help i {
    font-size: 1.4rem;
}

.whatsapp-help:hover,
.whatsapp-help:focus {
    color: #fff;
    background: #1fb85a;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    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;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.navbar .navbar-brand img { width: 78px; height: 78px; object-fit: contain; border-radius: 50%; }
.navbar .navbar-brand .brand-name { display: flex; flex-direction: column; color: var(--nexgen-blue); line-height: 1.05; white-space: nowrap; }
.navbar .navbar-brand .brand-name strong { font-family: 'Rubik', sans-serif; font-size: 1.42rem; letter-spacing: .08em; font-style: italic; }
.navbar .navbar-brand .brand-name small { margin-top: 5px; font-size: .52rem; font-weight: 700; letter-spacing: .09em; }

@media (max-width: 991.98px) {
    .navbar .navbar-brand { height: 72px; padding-left: 12px !important; gap: 8px; }
    .navbar .navbar-brand img { width: 48px; height: 48px; }
    .navbar .navbar-brand .brand-name strong { font-size: 1.18rem; }
    .navbar .navbar-brand .brand-name small { font-size: .43rem; }
    .navbar-toggler { padding: .3rem .5rem; }
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 28px;
    height: 86px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    z-index: 2;
}

.navbar .navbar-brand::after { display: none; }

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
    .navbar .navbar-brand {
    position: relative;
    padding-right: 28px;
    height: 86px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    z-index: 2;
}

@media (min-width: 992px) {
    .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;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item > img.img-fluid { width: 100%; height: 270px; object-fit: cover; }
.service-item .service-img { overflow: hidden; }
.service-item .service-img img { width: 100%; height: 100%; object-fit: cover; }

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Project ***/
.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}


/*** Client ***/
.client-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.client-logo img {
    width: 100px;
}

.client-logo small {
    display: block;
}

.client-item a {
    transition: .5s;
}

.client-item a:hover {
    color: var(--primary);
    letter-spacing: 1px;
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-brand::after { display: none; }
.brand-topbar { background: #102C56 !important; }
.brand-topbar .topbar-right, .brand-topbar .topbar-right::before { background: #173e70; }
.nav-cta { border-radius: 3px; font-size: .95rem; }
.hero-wrap { margin-bottom: 0 !important; }
.hero-wrap .carousel-item { position: relative; height: 210px; min-height: 210px; overflow: hidden; background: var(--dark); }
.hero-wrap .carousel-item img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 12%; filter: saturate(.78); }
.hero-wrap .carousel-caption { align-items: flex-start; padding-top: .5rem; padding-bottom: .35rem; background: linear-gradient(90deg, rgba(8, 29, 60, .95) 0%, rgba(12, 43, 78, .76) 48%, rgba(12, 43, 78, .12) 100%); }
.about-section { padding-top: 1rem !important; }
.hero-wrap .carousel-caption .container { max-width: 1240px; }
.hero-wrap .carousel-caption .col-lg-10 { max-width: 920px; }
.hero-wrap .carousel-caption p.text-primary { color: #83de4d !important; letter-spacing: .15em; font-size: .9rem !important; }
.hero-wrap .carousel-caption h1 { max-width: 850px; font-size: clamp(1.65rem, 3vw, 2.4rem) !important; line-height: 1; letter-spacing: -.045em; margin-bottom: .35rem !important; }
.hero-accent { color: #86dc50; }
.hero-lede { max-width: 570px; margin: 0 0 .35rem; color: rgba(255,255,255,.84); font-size: .82rem; line-height: 1.25; }
.hero-wrap .btn-primary { background: #45b71b; border-color: #45b71b; }
.hero-wrap .btn { padding: .55rem 1.15rem !important; }
.facts .text-primary { color: #80d84d !important; }
.contact-note { display: flex; align-items: center; padding: 1.1rem 1.25rem; background: var(--light); border-left: 3px solid var(--primary); color: var(--dark); font-weight: 600; }
.project-band { background: #102c56 !important; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.footer-brand span { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: .08em; font-style: italic; }
.footer-brand small { display: block; margin-top: 4px; font-family: 'Open Sans', sans-serif; font-size: .48rem; font-style: normal; letter-spacing: .07em; }
.footer-tagline { margin-top: 1rem; color: #a5df82; font-size: 1rem; font-weight: 600; letter-spacing: .03em; }
.footer { background: #102744 !important; }
.copyright { background: #0a1d35 !important; }
@media (max-width: 991.98px) {
    .navbar .navbar-brand { height: 72px; padding-left: 12px !important; gap: 8px; }
    .navbar .navbar-brand img { width: 58px; height: 58px; }
    .navbar .navbar-brand .brand-name strong { font-size: 1.18rem; }
    .navbar .navbar-brand .brand-name small { font-size: .43rem; }
    .navbar-toggler { padding: .3rem .5rem; }
}
@media (max-width: 768px) {
    .navbar .navbar-brand { max-width: calc(100vw - 92px); padding-right: 4px !important; }
    .navbar .navbar-brand .brand-name strong { font-size: clamp(.95rem, 4.4vw, 1.18rem); letter-spacing: .04em; }
    .navbar .navbar-brand .brand-name small { font-size: clamp(.34rem, 1.7vw, .43rem); letter-spacing: .045em; }
    .hero-wrap .carousel-item { height: 190px; min-height: 190px; }
    .hero-wrap .carousel-item img { height: 100%; min-height: 0; }
    .hero-wrap .carousel-caption { padding: .4rem 2.5rem 0; background: linear-gradient(90deg, rgba(8, 29, 60, .95), rgba(12, 43, 78, .72)); }
    .hero-wrap .carousel-caption p.text-primary { font-size: .58rem !important; letter-spacing: .09em; margin-bottom: .25rem !important; }
    .hero-wrap .carousel-caption h1 { font-size: clamp(1.15rem, 5.3vw, 1.8rem) !important; margin-bottom: .25rem !important; }
    .hero-lede { margin: 0 0 .25rem; font-size: clamp(.62rem, 2.3vw, .78rem); line-height: 1.15; }
    .hero-wrap .btn { padding: .4rem .65rem !important; font-size: .75rem; }
    .carousel-control-prev-icon, .carousel-control-next-icon { width: 2rem; height: 2rem; border-width: 7px; }
    .facts { margin: 2.5rem 0; padding: 1.5rem !important; }
    .facts .border { padding: 1.4rem !important; }
    .container-fluid.py-5 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
    .about-section { padding-top: .65rem !important; }
    .row.g-5 { --bs-gutter-y: 2rem; }
    .service-item { margin-left: .25rem; margin-right: .25rem; }
    .display-5 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
    .contact-note { align-items: flex-start; overflow-wrap: anywhere; }
}

@media (max-width: 380px) {
    .navbar .navbar-brand img { width: 42px; height: 42px; }
    .navbar .navbar-brand .brand-name strong { font-size: .88rem; }
    .navbar .navbar-brand .brand-name small { font-size: .31rem; }
    .hero-wrap .carousel-item { min-height: 175px; height: 175px; }
    .hero-wrap .carousel-item img { min-height: 0; height: 100%; }
    .hero-wrap .carousel-caption { padding-left: 2.1rem; padding-right: 2.1rem; }
    .hero-wrap .carousel-caption h1 { font-size: 1.1rem !important; }
    .hero-lede { font-size: .6rem; }
}

@media (max-width: 767.98px) {
    .whatsapp-help {
        right: 16px;
        bottom: 22px;
    }

    .back-to-top {
        right: 16px;
        bottom: 78px;
    }
}
