/********** Template CSS **********/
:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
}

.fw-medium {
    font-weight: 600 !important;
}


/*** Section Label ***/
.section-label-heading {
    margin-bottom: 1rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1.2;
}

.section-label::before,
.section-label::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary));
    flex-shrink: 0;
}

.section-label::after {
    background: linear-gradient(270deg, transparent, var(--primary));
}

.section-label-text {
    display: inline-block;
    padding: 0.55rem 1.35rem;
    background: linear-gradient(135deg, rgba(216, 19, 36, 0.12) 0%, rgba(216, 19, 36, 0.04) 100%);
    border: 1px solid rgba(216, 19, 36, 0.22);
    border-radius: 50px;
    box-shadow: 0 4px 18px rgba(216, 19, 36, 0.1);
    white-space: nowrap;
}

.section-label-light {
    color: #FFFFFF;
}

.section-label-light::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85));
}

.section-label-light::after {
    background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.85));
}

.section-label-light .section-label-text {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
}

.section-label-card {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    gap: 0;
}

.section-label-card::before,
.section-label-card::after {
    display: none;
}

.section-label-card .section-label-text {
    padding: 0.4rem 1rem;
    border: none;
    border-bottom: 2px solid var(--primary);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.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-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    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;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@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 ***/
#header-carousel {
    position: relative;
}

#header-carousel .carousel-item {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    background: #1c1c1c;
}

#header-carousel .carousel-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: brightness(0.6) saturate(0.9);
    opacity: 0.95;
}

#header-carousel .carousel-item-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
    pointer-events: none;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

.carousel-caption .container,
.carousel-caption a,
.carousel-caption button {
    pointer-events: auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    z-index: 10;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        min-height: 420px;
    }

    #header-carousel .carousel-item-custom::before {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 100%);
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
    border: none;
    margin-bottom: 0;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}

.service .service-nav {
    gap: 1rem;
}

@media (min-width: 992px) {
    .service .service-tabs-row {
        align-items: stretch;
    }

    .service .service-tabs-row > .col-lg-4 {
        display: flex;
    }

    .service .service-nav {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .service .service-nav .nav-link {
        flex: 1 1 0;
        min-height: 0;
    }
}


/*** Team ***/
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9)), url(../img/carousel-bg-1.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 12px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .footer-col {
    padding: 0 1.5rem;
}

.footer .footer-col p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.footer .footer-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, .05);
    border-left: 3px solid var(--primary);
}

.footer .footer-hours-day {
    font-weight: 600;
    color: #FFFFFF;
}

.footer .footer-hours-time {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.footer .footer-hours-note {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .8);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 14px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.contact-section {
    padding-bottom: 5rem !important;
}

.contact-section .contact-card {
    padding: 3rem 2.5rem;
}

.contact-section .contact-row {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 2rem;
}

.footer {
    padding-top: 1rem;
}

.footer .footer-main .row {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 2.5rem;
}

@media (min-width: 992px) {
    .footer .footer-main .row {
        --bs-gutter-x: 5rem;
    }

    .footer .footer-col {
        padding: 0 2.5rem;
    }
}

.footer .copyright {
    padding: 30px 0;
    margin-top: 2rem;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}