/********** Template CSS **********/
:root {
    --primary: #0B5394;
    --secondary: #51CFED;
    --light: #F1F6FA;
    --dark: #06182B;
}

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

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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: 600;
    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;
}

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

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

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

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

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

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

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .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 ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 24, 43, .6), rgba(6, 24, 43, .6)), url(../img/slide-1.jpg) center center / cover no-repeat, linear-gradient(135deg, #06182B 0%, #0B5394 100%);
    background-size: cover;
}

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


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item .btn-slide {
    margin-top: auto !important;
    align-self: flex-start;
}

.service-item > p {
    flex-grow: 1;
}

.service-item img {
    transition: .5s;
}

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

.service-item a.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.service-item a.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span {
    background: var(--secondary);
}



/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


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

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

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

.footer .copyright a {
    color: var(--light);
}

/*** Hero slider: vertical 3-D cube ***/
.hero {
    --hero-h: clamp(580px, calc(100vh - 82px), 920px);
    --slide-time: 7s;
    position: relative;
    height: var(--hero-h);
    overflow: hidden;
    background: var(--dark);
    perspective: 2200px;
}

.hero-cube {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: translateZ(calc(var(--hero-h) / -2)) rotateX(var(--angle, 0deg));
    transition: transform 1.3s cubic-bezier(.77, 0, .18, 1);
}

.hero-slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: rotateX(calc(var(--i) * -90deg)) translateZ(calc(var(--hero-h) / 2));
    filter: brightness(.4);
    transition: filter 1.3s ease;
}

.hero-slide.active {
    filter: brightness(1);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    will-change: transform;
}

.hero-slide.active .hero-bg {
    animation: heroZoom 10s ease-out forwards;
}

.hero-bg-1 {
    background-image: url(../img/slide-1.jpg), linear-gradient(135deg, #06182B 0%, #0B5394 100%);
}

.hero-bg-2 {
    background-image: url(../img/slide-2.jpg), linear-gradient(160deg, #04111f 0%, #0a3d6b 100%);
}

.hero-bg-3 {
    background-image: url(../img/slide-3.jpg), linear-gradient(120deg, #06182B 0%, #0e5a8f 100%);
}

.hero-bg-4 {
    background-image: url(../img/slide-4.jpg), linear-gradient(145deg, #06182B 0%, #0B5394 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 24, 43, .85) 0%, rgba(6, 24, 43, .5) 55%, rgba(6, 24, 43, .12) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.2rem, 5.2vw, 4.6rem);
    line-height: 1.1;
}

.hero h5 {
    letter-spacing: 2px;
}

.hero .anim {
    opacity: 0;
    transform: translateY(32px);
}

.hero-slide.active .anim,
.hero-slide.leaving .anim {
    animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) forwards;
}

.hero-slide.active .d1 { animation-delay: .8s; }
.hero-slide.active .d2 { animation-delay: 1s; }
.hero-slide.active .d3 { animation-delay: 1.2s; }
.hero-slide.active .d4 { animation-delay: 1.4s; }

/* the outgoing face keeps its text until it has rolled out of view */
.hero-slide.leaving .anim {
    animation: none;
    opacity: 1;
    transform: none;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.14); }
}

@keyframes heroIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroProgress {
    from { width: 0; }
    to { width: 100%; }
}

.hero-arrow {
    position: absolute;
    left: 50%;
    z-index: 5;
    width: 52px;
    height: 52px;
    margin-left: -26px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    transition: .3s;
    cursor: pointer;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
    background: var(--primary);
    border-color: var(--primary);
}

.hero-prev { top: 24px; }
.hero-next { bottom: 24px; }

@media (min-width: 992px) {
    .hero-arrow { display: flex; }
}

.hero-dots {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-dot {
    width: 4px;
    height: 48px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-dot span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: var(--secondary);
}

.hero-dot.active span {
    animation: heroProgressV var(--slide-time) linear forwards;
}

@keyframes heroProgressV {
    from { height: 0; }
    to { height: 100%; }
}

.hero.is-paused .hero-dot.active span,
.hero.is-paused .hero-slide.active .hero-bg {
    animation-play-state: paused;
}

.hero-scroll {
    position: absolute;
    left: 32px;
    bottom: 32px;
    z-index: 5;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    animation: heroBounce 2s ease-in-out infinite;
}

@keyframes heroBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@media (max-width: 575.98px) {
    .hero { --hero-h: clamp(520px, calc(100vh - 82px), 920px); }
    .hero-dots { right: 14px; }
    .hero-dot { height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cube, .hero-slide { transition: none; }
    .hero-slide.active .hero-bg,
    .hero-scroll { animation: none; }
    .hero .anim { opacity: 1; transform: none; animation: none !important; }
    .hero-dot.active span { animation: none; height: 100%; }
}

/*** Brand logo ***/
.brand-logo {
    height: 66px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 64px;
    width: auto;
    display: block;
}

/*** Service cards (photo, round icon badge, title, text) ***/
.svc-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0a2744 0%, var(--dark) 100%);
    border: 1px solid rgba(81, 207, 237, .28);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(6, 24, 43, .22);
    transition: transform .35s, border-color .35s, box-shadow .35s;
}

.svc-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: 0 20px 44px rgba(6, 24, 43, .32);
}

.svc-photo {
    display: block;
    width: 100%;
    height: auto;
}

.svc-badge {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 76px;
    margin: -38px auto 0;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.svc-body {
    flex-grow: 1;
    padding: 1rem 1.6rem 2rem;
    text-align: center;
}

.svc-body h4 {
    margin: 1rem 0 0;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.svc-body h4::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin: .8rem auto 1rem;
    background: var(--secondary);
}

.svc-sub {
    margin: -.4rem 0 .8rem;
    font-size: .85rem;
    letter-spacing: .5px;
    color: var(--secondary);
}

.svc-body p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .8);
}

/*** Cargoes we handle ***/
.cargo-item {
    text-align: center;
}

.cargo-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: .3s;
}

.cargo-item:hover .cargo-icon {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-4px);
}

/*** Form status ***/
.form-status:empty {
    display: none;
}

.form-status {
    text-align: left;
    margin-bottom: 0;
}

/*** Gallery ***/
.gallery-item {
    display: block;
    height: 100%;
    overflow: hidden;
    background: #FFFFFF;
    color: inherit;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: transform .3s;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-img {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--light);
}

.gallery-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.07);
}

.gallery-caption {
    display: block;
    padding: 1rem 1.25rem 1.1rem;
}

.gallery-caption strong {
    display: block;
    color: var(--dark);
    font-size: 1.02rem;
    line-height: 1.35;
}

.gallery-caption small {
    display: block;
    margin-top: 4px;
    color: var(--primary);
    font-weight: 600;
}

.lb {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 16px 24px;
    background: rgba(6, 24, 43, .94);
}

.lb.open {
    display: flex;
}

.lb img {
    max-width: min(1100px, 100%);
    max-height: calc(100vh - 150px);
    object-fit: contain;
}

.lb-caption {
    margin-top: 14px;
    text-align: center;
    color: #FFFFFF;
}

.lb-caption small {
    display: block;
    color: var(--secondary);
}

.lb button {
    position: absolute;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .1);
    color: #FFFFFF;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: .3s;
}

.lb button:hover,
.lb button:focus-visible {
    background: var(--primary);
    border-color: var(--primary);
}

.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }


/*** Header contact ***/
.header-contact h6 {
    font-size: .95rem;
    white-space: nowrap;
}
