/********** Template CSS **********/
:root {
    --bs-tertiary: #636363;
}

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

.fw-bold {
    font-weight: 800 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !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 {
    font-weight: 600;
    transition: .5s;
}

.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;
}


/*** Nav Bar ***/
.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    padding: 0;
    outline: none;
    font-size: 17px;
    color: var(--bs-light);
}

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

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

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

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

@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-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title {
    position: relative;
    padding-left: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 6px;
    background: var(--bs-dark);
}

.section-title.text-primary::before {
    background: var(--bs-primary);
}


/*** Service ***/
.service-item {
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, .06);
    transition: .5s;
}

.service-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.service-item a {
    position: relative;
    display: inline-block;
    font-weight: 600;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0px;
    border-bottom: 2px solid var(--bs-primary);
    transition: .5s;
}

.service-item a:hover {
    color: var(--bs-secondary);
}

.service-item a:hover::after {
    border-color: var(--bs-secondary);
}


/*** Footer ***/
.footer {
    color: rgba(255, 255, 255, .5);
    background: var(--bs-dark);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    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(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}


/*** Copyright ***/
.copyright {
    color: rgba(255, 255, 255, .5);
    background: var(--bs-dark);
    border-top: 2px dashed rgba(255, 255, 255, .1);
}
/* Logiplex brand refresh */
:root {
    --bs-primary: #0077C8;
    --bs-secondary: #063B73;
    --bs-dark: #071B2E;
    --bs-light: #F4F8FC;
    --bs-tertiary: #5B6B7A;
    --logiplex-cyan: #00A9D6;
    --logiplex-blue: #0077C8;
    --logiplex-navy: #063B73;
}

body { color: #243447; background: #fff; }
.navbar { background: linear-gradient(100deg, #071B2E 0%, #063B73 100%) !important; }
.navbar .navbar-nav .nav-link { color: rgba(255,255,255,.92); }
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: #4FD3FF; }
.navbar .navbar-toggler { border-color: rgba(255,255,255,.35); }

.container-fluid.bg-secondary { background: linear-gradient(100deg, #071B2E 0%, #063B73 100%) !important; }
.header-carousel { background: linear-gradient(135deg, #071B2E 0%, #063B73 58%, #0077C8 100%) !important; }
.hero-copy { background: rgba(7,27,46,.78); border: 1px solid rgba(79,211,255,.25); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.hero-copy h1, .hero-copy h2 { letter-spacing: -.02em; }

.btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #0077C8, #00A9D6);
    border-color: #0077C8;
    box-shadow: 0 7px 18px rgba(0,119,200,.22);
}
.btn-primary:hover, .btn-primary:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #0068B1, #008FBB);
    border-color: #0068B1;
    transform: translateY(-1px);
}
.btn-light { color: #063B73 !important; border-color: #fff; box-shadow: 0 7px 18px rgba(0,0,0,.12); }
.btn-light:hover { color: #0077C8 !important; }
.text-primary { color: #0077C8 !important; }
.text-secondary { color: #063B73 !important; }
.bg-primary { background: #0077C8 !important; }
.bg-secondary { background: #063B73 !important; }
.section-title.text-primary::before { background: #00A9D6; }
.service-item { border: 1px solid rgba(6,59,115,.08); border-radius: 14px; overflow: hidden; background: #fff; }
.service-item:hover { box-shadow: 0 16px 36px rgba(6,59,115,.14); transform: translateY(-3px); }
.service-item a::after { border-color: #00A9D6; }
.service-item a:hover { color: #0077C8; }
.contact-card { background: linear-gradient(145deg, #F4F8FC, #EAF5FC); border: 1px solid rgba(0,119,200,.10); }
.form-control:focus { border-color: #00A9D6; box-shadow: 0 0 0 .2rem rgba(0,169,214,.15); }
.footer { background: #071B2E !important; }
.copyright { background: #051523 !important; }
.footer .btn.btn-link:hover { color: #4FD3FF; }

/* Small visual accents that make calls-to-action easier to spot */
a:not(.btn):focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid rgba(0,169,214,.45);
    outline-offset: 2px;
}
@media (max-width: 575.98px) {
    .hero-copy { padding: 1.35rem; }
    .hero-copy h1 { font-size: 2rem; }
}
