/********** Template CSS **********/
:root {
    --primary: #FF5E14;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02245B;
}

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

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

.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: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

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

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

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


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

/* Global external responsive footer fix */


/* Global mobile responsive + footer call icon final fix */
html,body{max-width:100%;overflow-x:hidden!important;}
img{max-width:100%;height:auto;}
.footer-call-icon,
.footer .fa-phone,
.footer .fa-phone-alt,
.fa-phone.footer-call-icon,
.fa-phone-alt.footer-call-icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:18px!important;
    min-width:18px!important;
    transform:none!important;
    rotate:0deg!important;
    writing-mode:horizontal-tb!important;
    direction:ltr!important;
}
.footer p{display:flex;align-items:center;gap:0;word-break:break-word;}
.footer .btn-link{display:block;text-align:left;padding-left:0;white-space:normal;}
@media(max-width:991.98px){
    .navbar{padding:0 12px!important;min-height:auto!important;}
    .navbar .navbar-brand,.navbar-brand{height:auto!important;padding:8px 0!important;background:#fff!important;max-width:72%!important;}
    .navbar .navbar-brand:after,.navbar-brand:after{display:none!important;}
    .navbar-brand img{height:48px!important;max-width:100%!important;object-fit:contain;}
    .navbar-toggler{margin-left:auto!important;padding:6px 9px!important;box-shadow:none!important;}
    .navbar-collapse{width:100%;max-height:calc(100vh - 74px);overflow-y:auto;background:#fff;}
    .navbar .navbar-nav{padding:10px 0!important;border-top:1px solid #eef2f7;align-items:flex-start!important;}
    .navbar .navbar-nav .nav-link,.nav-link{display:block;width:100%;margin:0!important;padding:12px 4px!important;}
    .nav-link:after{display:none!important;}
    .product-mega-menu,.dropdown-menu{position:static!important;transform:none!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:6px 0 0!important;padding:12px!important;border-radius:16px!important;box-shadow:none!important;overflow:visible!important;}
    .mega-menu-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;}
    .mega-all-btn{width:100%;justify-content:center;padding:10px 14px!important;}
    .mega-category-grid{grid-template-columns:1fr!important;max-height:320px!important;overflow-y:auto!important;gap:10px!important;}
    .mega-category-card{padding:9px!important;border-radius:14px!important;}
    .mega-thumb{width:46px!important;height:46px!important;min-width:46px!important;}
    .container,.container-fluid{max-width:100%!important;}
    .page-hero{min-height:330px!important;padding:55px 0!important;text-align:left;}
    .page-hero h1{font-size:34px!important;line-height:1.15!important;word-break:break-word;}
    .page-hero .lead,.lead{font-size:1rem!important;line-height:1.6!important;}
    .display-5{font-size:2rem!important;line-height:1.2!important;}
    .creative-card img{height:210px!important;}
    .detail-hero-card,.spec-panel,.form-panel,.info-band{padding:22px!important;border-radius:22px!important;}
    .detail-hero-card img{height:285px!important;}
    .product-card-body{padding:20px!important;}
    .row{--bs-gutter-x:1.2rem;}
    .footer{margin-top:2rem!important;}
    .footer .container{padding-top:30px!important;padding-bottom:30px!important;}
}
@media(max-width:575.98px){
    .navbar-brand img{height:42px!important;}
    .page-hero{min-height:285px!important;padding:45px 0!important;}
    .page-hero h1{font-size:28px!important;}
    .display-5{font-size:1.65rem!important;}
    .creative-card img{height:180px!important;}
    .detail-hero-card img{height:230px!important;}
    .btn{width:auto;max-width:100%;white-space:normal!important;}
    .d-flex.gap-3,.d-flex.flex-wrap.gap-3{gap:.65rem!important;}
    .feature-pill{font-size:13px;padding:8px 11px;margin:3px;}
    .footer .row{gap:8px 0;}
    .whatsapp-float{width:52px!important;height:52px!important;right:15px!important;bottom:15px!important;}
}
