/********** Template CSS **********/

:root {
    --font-heading: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--font-body) !important;
    font-weight: 400;
    line-height: 1.65;
    color: #475569;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
    letter-spacing: -0.025em;
}

h1, .h1 { font-weight: 800; }
h2, .h2 { font-weight: 700; }
h3, .h3 { font-weight: 700; }
h4, .h4 { font-weight: 600; }
h5, .h5 { font-weight: 600; }
h6, .h6 { font-weight: 600; }

.text-stroke {
    font-family: var(--font-heading) !important;
    font-weight: 800;
    letter-spacing: 0.05em;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
    color: transparent;
}

.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-family: var(--font-heading) !important;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.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;
}

/*** Navbar ***/
.navbar .navbar-brand,
.navbar .navbar-phone {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-family: var(--font-heading) !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-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 ***/
.owl-carousel-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

.header-carousel .owl-carousel-item {
    height: 448px;
    overflow: hidden;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-carousel .display-1 {
    font-size: clamp(2.1rem, 4.4vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.header-carousel p {
    margin-bottom: 1.25rem !important;
    padding-bottom: 0 !important;
}

.header-carousel .btn {
    padding-top: .85rem !important;
    padding-bottom: .85rem !important;
}

@media (max-width: 991.98px) {
    .header-carousel .owl-carousel-item {
        height: 368px;
    }
}

@media (max-width: 575.98px) {
    .header-carousel .owl-carousel-item {
        height: 288px;
    }

    .header-carousel .display-1 {
        font-size: 1.65rem;
    }

    .header-carousel p {
        font-size: 14px !important;
        margin-bottom: 1rem !important;
    }

    .header-carousel .btn {
        padding: .55rem 1.25rem !important;
    }
}

.page-header {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.page-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: brightness(0.35);
}

.page-header-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.page-header-inner h1 {
    font-family: var(--font-heading) !important;
    font-weight: 800;
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}


@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 p {
        font-size: 16px !important;
    }
}


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


/*** Service ***/
.service-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item .service-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--bs-dark);
    z-index: 10;
    transition: .5s;
}

.service-item .service-icon i {
    font-size: 1.1rem;
}

.service-item:hover .service-icon {
    background: var(--bs-primary);
    color: #FFFFFF;
}



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


/*** Project Portfolio ***/
.portfolio-inner {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.portfolio-img {
    position: relative;
}

.portfolio-cat {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px 24px;
    background: rgba(255, 255, 255, .7);
    z-index: 1;
}


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

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

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

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


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-light);
    font-weight: normal;
    text-transform: uppercase;
    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(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

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

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

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

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    padding: 30px 20px;
    transition: .5s;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .05);
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF;
    border-color: var(--bs-primary);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .1);
}

.testimonial-img {
    display: inline-block;
    position: relative;
}

.testimonial-img .btn-square {
    position: absolute;
    bottom: 25px;
    right: -10px;
    border-radius: 50%;
}

.testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.testimonial-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CCCCCC;
    display: inline-block;
    transition: .3s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    border-radius: 6px;
    background: var(--bs-primary);
}

