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

.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: #ffffff;
}

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

.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: #222C18;
}

.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: #2E391E;
    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: #2E391E;
    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;
}

.footer .btn.btn-link1 {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}


.footer .btn.btn-link1:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}


.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.link-padding {
    margin-right: 10px !important;
    margin-left: 10px !important;
}

.client-logo-section {
    background: #ffffff;
    overflow: hidden;
}

/* Logo wrapper */
.client-logo-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Scrolling track */
.client-logo-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: clientLogoScroll 25s linear infinite;
}

/* Individual logo */
.client-logo {
    width: 100px;
    height: 100px;

    flex: 0 0 100px;

    margin: 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
}

/* Logo image */
.client-logo img {
    width: 100px;
    height: 100px;

    object-fit: contain;

    display: block;
}

/* Right to left animation */
@keyframes clientLogoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause on mouse hover */
.client-logo-wrapper:hover .client-logo-track {
    animation-play-state: paused;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 767.98px) {

    .client-logo-track {
        animation-duration: 20s;
    }

    .client-logo {
        width: 100px;
        height: 100px;

        flex-basis: 100px;

        margin: 0 15px;
    }

    .client-logo img {
        width: 100px;
        height: 100px;
    }

}

@media (max-width: 575.98px) {

    .client-logo-track {
        animation-duration: 18s;
    }

    .client-logo {
        margin: 0 10px;
    }

}
.service-card{
    border-radius: 18px;
    transition: 0.35s ease;
    background: #fff;
}

.service-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08)!important;
}

.icon-box{
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: 0.35s ease;
}

.service-card:hover .icon-box{
    transform: scale(1.06);
}

.service-card a{
    transition: 0.3s;
}

.service-card a:hover{
    letter-spacing: .5px;
}

.accordion-button:not(.collapsed) {
  color: #242424 !important;
  background-color: #ffefe8;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.125);
}
.text-white {
  color: #FFFFFF !important;
}
/* Stats Section */
.stats {
  background: var(--dark);
  color: #fff;
  padding: 25px 0;
}

.stat {
  height: 100%;
  padding: 5px 20px;
  border-right: 1px solid #ffffff2a;
}

.stat:last-child {
  border: 0;
}

.stat strong {
  display: block;
  font: 800 1.5rem var(--display);
}

.stat span {
  font-size: 0.84rem;
  color: #d3dac3;
}

/* Badges Section */
.badges {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-pill {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4a5540;
}

.badge-pill:first-child {
  background: var(--paper);
  border-color: #c9d2b5;
  color: var(--ink);
}
@media (max-width: 575.98px) {
  .stats { padding: 15px 0; }
  .stat { border: 0; padding: 10px 4px; }
  .stat strong { font-size: 1.2rem; }
  .stat span { font-size: 0.74rem; }
  }
}
.container-fluid.py-10 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}
.hide-mobile {
    display: none !important;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: block !important;
    }
}

