/********** Template CSS **********/
:root {
	--primary: #B91C1C;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #1a1a2e;
}

/* Bootstrap primary color overrides */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #991B1B !important;
    border-color: #991B1B !important;
}
.bg-primary {
    background-color: var(--primary) !important;
}
.text-primary {
    color: var(--primary) !important;
}
.border-primary {
    border-color: var(--primary) !important;
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}
a {
    color: var(--primary);
}
a:hover {
    color: #991B1B;
}
.bg-dark {
    background-color: var(--dark) !important;
}

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

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

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

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Noto Sans', sans-serif;
    padding: 35px 15px;
    font-size: 15px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.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  {
        padding: 10px 0;
    }
}

/* Carousel - text-only slides with gradient backgrounds */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.carousel-slide-bg {
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide-bg.slide-1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}
.carousel-slide-bg.slide-2 {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b1b 40%, #3d1515 100%);
}
.carousel-slide-bg.slide-3 {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 50%, #16213e 100%);
}
.carousel-slide-bg.slide-4 {
    background: linear-gradient(135deg, #2d1b1b 0%, #1a1a2e 50%, #0f3460 100%);
}

/* Homepage carousel background images */
.carousel-inner .carousel-slide-bg.slide-1 {
    background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(22,33,62,0.7) 40%, rgba(15,52,96,0.7) 100%), url('../img/1.jpg') center/cover no-repeat;
}
.carousel-inner .carousel-slide-bg.slide-2 {
    background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(45,27,27,0.7) 40%, rgba(61,21,21,0.7) 100%), url('../img/2.jpg') center/cover no-repeat;
}
.carousel-inner .carousel-slide-bg.slide-3 {
    background: linear-gradient(135deg, rgba(15,52,96,0.7) 0%, rgba(26,26,46,0.7) 50%, rgba(22,33,62,0.7) 100%), url('../img/3.png') center/cover no-repeat;
}
.carousel-inner .carousel-slide-bg.slide-4 {
    background: linear-gradient(135deg, rgba(45,27,27,0.7) 0%, rgba(26,26,46,0.7) 50%, rgba(15,52,96,0.7) 100%), url('../img/4.jpg') center/cover no-repeat;
}

.carousel-slide-bg .carousel-content {
    text-align: center;
    padding: 60px 40px;
    max-width: 800px;
}

.carousel-slide-bg .carousel-content h5 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin-bottom: 20px;
}

.carousel-slide-bg .carousel-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.2;
}

@media (max-width: 576px) {
    .carousel-slide-bg {
        min-height: 360px;
    }
    .carousel-slide-bg .carousel-content h1 {
        font-size: 28px;
    }
    .carousel-slide-bg .carousel-content {
        padding: 40px 20px;
    }
}

/* Smaller header for inner/service pages */
.carousel-slide-bg.page-header-sm {
    min-height: 280px;
}
.carousel-slide-bg.page-header-sm .carousel-content {
    padding: 40px 30px;
}
.carousel-slide-bg.page-header-sm .carousel-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
}
@media (max-width: 576px) {
    .carousel-slide-bg.page-header-sm {
        min-height: 220px;
    }
    .carousel-slide-bg.page-header-sm .carousel-content h1 {
        font-size: 24px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

/* Product Cards */
.product-card-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 36px 28px;
    transition: all .3s ease;
    height: 100%;
}
.product-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    border-color: var(--primary);
}
.product-card-item .product-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}
.product-card-item h5 {
    margin-bottom: 12px;
}
.product-card-item p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}
.product-card-item .product-link {
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.product-card-item .product-link i {
    transition: transform .3s;
}
.product-card-item:hover .product-link i {
    transform: translateX(4px);
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.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(--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(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

/* Page header for inner pages */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b1b 50%, #3d1515 100%);
    padding: 100px 0 60px;
}
.page-header h1 {
    color: #fff;
    font-size: 42px;
}
.page-header p {
    color: rgba(255,255,255,.7);
    font-size: 18px;
    max-width: 700px;
}

/* Feature icon circles in Why Choose Us */
.feature-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.feature-icon-circle i {
    color: #fff;
    font-size: 20px;
}
