/********** Template CSS **********/

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.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;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 25px;
    bottom: 25px;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Oswald', sans-serif;
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-light);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, .5);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h2 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.feature::after {
    position :absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: var(--bs-dark);
    z-index: -1;
}

.feature .feature-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature .feature-overlay {
    position: relative;
    background: rgba(15, 23, 43, .5);
    z-index: 1;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-item .team-overlay {
    position: absolute;
    top: 50%;
    right: 50%;
    bottom: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 43, .5);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--bs-primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

@media (min-width: 991.98px) {
    .credit {
        background: rgba(255, 255, 255, .05);
    }
}


/* =========================================
   SERVICES HERO
========================================= */

.services-hero {
    position: relative;
    min-height: 720px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-image:
        url("../images/services-hero.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: #ffffff;
}


/* =========================================
   DARK CINEMATIC OVERLAY
========================================= */

.services-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 5, 0.44) 0%,
            rgba(5, 7, 10, 0.42) 38%,
            rgba(5, 7, 10, 0.52) 68%,
            rgba(5, 7, 10, 0.25) 100%
        );

    z-index: 1;
}


/* Subtle bottom shadow */

.services-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 180px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72),
        transparent
    );

    z-index: 1;
}


/* =========================================
   HERO CONTENT
========================================= */

.services-hero__content {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 120px 40px 170px;
}


/* =========================================
   SMALL LABEL
========================================= */

.services-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: #c9a227;
}


/* Gold line before label */

.services-hero__label::before {
    content: "";

    width: 42px;
    height: 2px;

    background: #c9a227;
}


/* =========================================
   H1
========================================= */

.services-hero h1 {
    max-width: 780px;

    margin: 0;

    font-family: "Barlow Condensed", sans-serif;

    font-size: clamp(55px, 7vw, 92px);
    font-weight: 700;

    line-height: 0.95;

    letter-spacing: -1px;
    text-transform: uppercase;
    color: #FFFFFF;
}


/* Gold H1 line */

.services-hero h1 span {
    display: block;
    color: #c9a227;
}


/* =========================================
   DECORATIVE LINE
========================================= */

.services-hero__line {
    width: 85px;
    height: 4px;

    margin: 28px 0 24px;

    background: #c9a227;
}


/* =========================================
   H2
========================================= */

.services-hero h2 {
    max-width: 650px;

    margin: 0 0 34px;

    font-family: "Inter", sans-serif;

    font-size: 19px;
    font-weight: 400;

    line-height: 1.65;

    color: rgba(255, 255, 255, 0.86);
}


/* =========================================
   BUTTONS
========================================= */

.services-hero__buttons {
    display: flex;
    align-items: center;
    gap: 15px;

    flex-wrap: wrap;
}


.services-hero__buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;
    padding: 0 28px;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.8px;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}


/* Primary */

.btn-primary {
    background: #c9a227;
    color: #111111;

    border: 1px solid #c9a227;
}


.btn-primary:hover {
    background: #ffffff;
    border-color: #ffffff;

    transform: translateY(-3px);
}


/* Outline */

.btn-outline {
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.55);

    background: rgba(255, 255, 255, 0.04);
}


.btn-outline:hover {
    background: #ffffff;
    border-color: #ffffff;

    color: #111111;

    transform: translateY(-3px);
}


/* =========================================
   BOTTOM STATS
========================================= */

.services-hero__bottom {
    position: absolute;

    z-index: 4;

    right: 0;
    bottom: 0;

    display: flex;

    min-height: 115px;

    background: rgba(8, 10, 12, 0.82);

    backdrop-filter: blur(10px);

    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
}


.hero-stat {
    min-width: 190px;

    padding: 24px 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right: 1px solid rgba(255, 255, 255, 0.10);
}


.hero-stat strong {
    font-family: "Barlow Condensed", sans-serif;

    font-size: 42px;
    line-height: 1;

    color: #c9a227;
}


.hero-stat span {
    margin-top: 7px;

    font-family: "Inter", sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.65);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .services-hero {
        min-height: 680px;

        background-position: 62% center;
    }

    .services-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 7, 10, 0.94),
                rgba(5, 7, 10, 0.68)
            );
    }

    .services-hero__content {
        padding: 100px 24px 170px;
    }

    .services-hero h1 {
        font-size: 58px;
    }

    .services-hero h2 {
        font-size: 16px;
        line-height: 1.55;
    }

    .services-hero__bottom {
        left: 0;
        right: 0;

        width: 100%;
    }

    .hero-stat {
        min-width: 0;
        width: 33.33%;

        padding: 18px 12px;
    }

    .hero-stat strong {
        font-size: 34px;
    }

    .hero-stat span {
        font-size: 9px;
        letter-spacing: 0.7px;
    }
}


@media (max-width: 480px) {

    .services-hero h1 {
        font-size: 48px;
    }

    .services-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .services-hero__buttons a {
        width: 100%;
    }

}