/********** Template CSS **********/
:root {
    --primary: #f57c20;
    --primary-deep: #ea6411;
    --secondary: #f9a85d;
    --light: #fff8f1;
    --dark: #0b1d3a;
    --dark-soft: #132d54;
    --text: #1d2c41;
    --muted: #677489;
    --border: #ebedf3;
    --shadow-soft: 0 12px 30px rgba(12, 29, 58, 0.08);
}

body {
    color: #FFFFFF;
    background: #000000;
    overflow-x: hidden;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p {
    color: #FFFFFF;
}

.bg-light,
.bg-white {
    color: var(--text);
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5,
.bg-light h6,
.bg-light p,
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4,
.bg-white h5,
.bg-white h6,
.bg-white p {
    color: var(--text);
}

img,
svg {
    max-width: 100%;
    display: block;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.contact-detail-text {
    flex: 1;
    min-width: 0;
}

.contact-detail-text p {
    line-height: 1.7;
    font-size: 0.96rem;
    color: var(--primary);
}

@media (max-width: 575.98px) {
    .contact-icon {
        width: 52px;
        height: 52px;
    }

    .contact-detail-text p {
        font-size: 0.85rem;
    }
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#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;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 10px;
    box-shadow: none;
    padding-top: .8rem;
    padding-bottom: .8rem;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    color: #FFFFFF;
    background-color: var(--primary-deep);
    border-color: var(--primary-deep);
    box-shadow: none;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.open > .dropdown-toggle.btn-secondary {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-outline-light {
    border-radius: 10px;
    border-width: 1.5px;
}

.text-primary,
.text-primary:hover {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.home-brand-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.home-brand-copy strong {
    color: #FFFFFF;
    letter-spacing: .02em;
}

.home-brand-name {
    font-size: 1.5rem;
    color: var(--primary) !important;
}

.home-brand-name span {
    color: var(--primary);
}

.home-brand-name em {
    color: #000000;
    font-style: normal;
}

.home-brand-legal {
    color: #000000 !important;
    font-size: .86rem;
}

.home-brand-copy small {
    color: var(--primary);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin-top: 4px;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .navbar-dark:not(.sticky-top) .home-brand-name,
    .navbar-dark:not(.sticky-top) .home-brand-name span,
    .navbar-dark:not(.sticky-top) .home-brand-name em {
        color: #FFFFFF !important;
    }

    .navbar-dark:not(.sticky-top) .home-brand-legal,
    .navbar-dark:not(.sticky-top) .home-brand-copy small {
        color: var(--secondary) !important;
    }
}

.fact-icon {
    flex: 0 0 60px;
    margin-bottom: 0;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.2;
    margin: 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.navbar-brand i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    line-height: 1;
}

.navbar-brand img {
    display: block;
    height: 45px;
    width: auto;
    max-width: none;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(8, 29, 58, 0.82), rgba(8, 29, 58, 0.42));
    z-index: 1;
}

.carousel-caption h5 {
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .95;
}

.carousel-caption h1 {
    font-size: 3.7rem;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

@media (max-width: 576px) {
    .navbar-dark {
        padding: 10px 16px !important;
    }

    .navbar-brand {
        max-width: calc(100% - 62px);
    }

    #header-carousel .carousel-item img {
        height: 430px;
        object-fit: cover;
    }

    .carousel-caption {
        justify-content: flex-start !important;
        padding: 0 10px;
        padding-top: 28px;
    }

    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
        letter-spacing: .08em;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }

    .carousel-caption .btn {
        display: block;
        width: 100%;
        margin: 8px 0 0;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    min-height: 320px;
    padding: 32px 28px 26px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 18px;
    box-shadow: none;
    transition: .35s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 124, 32, 0.25);
    box-shadow: var(--shadow-soft);
}

.service-item .service-icon {
    margin-bottom: 22px;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 124, 32, 0.12);
    border-radius: 16px;
    color: var(--primary);
    transform: none;
}

.service-item .service-icon i {
    font-size: 1.7rem;
    transform: none;
}

.service-item h4 {
    margin-bottom: 14px;
    font-size: 1.5rem;
}

.service-item p {
    color: var(--muted);
    line-height: 1.7;
}

.service-item a.btn {
    position: static;
    width: 46px;
    height: 46px;
    margin-top: 18px;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary);
    border-color: var(--primary);
}

.service-item a.btn:hover {
    background: var(--primary-deep);
    border-color: var(--primary-deep);
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: var(--shadow-soft);
}


/*** Team ***/
.team-item {
    transition: .5s;
    border: 1px solid var(--border);
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: var(--shadow-soft);
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img {
    height: 430px;
    overflow: hidden;
    background: #f3f3f3;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -55px;
        z-index: 1;
    }
}

@media (max-width: 767.98px) {
    .home-brand-lockup {
        gap: 6px;
    }

    .home-brand-lockup #navbar-logo {
        height: 36px !important;
    }

    .home-brand-name {
        font-size: .82rem;
    }

    .home-brand-legal {
        font-size: .62rem;
    }

    .home-brand-copy small {
        font-size: .48rem;
        letter-spacing: .04em;
    }

    .navbar-brand h1 {
        font-size: 1.4rem;
    }

    .display-1 {
        font-size: clamp(2.2rem, 9vw, 3.3rem) !important;
        line-height: 1.1;
    }

    .section-title h1,
    .section-title .mb-0,
    h1.mb-0 {
        font-size: clamp(1.8rem, 6vw, 2.7rem) !important;
        line-height: 1.2;
    }

    .facts .row > div {
        margin-bottom: 12px;
    }

    .facts .bg-primary,
    .facts .bg-light {
        height: 120px !important;
    }

    .service-item {
        min-height: auto;
        padding: 24px 18px;
    }

    .testimonial-item .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .testimonial-item .d-flex img {
        margin-bottom: 12px;
    }

    .team-item .team-img {
        height: 320px;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}