/********** Template CSS **********/
:root {
    --lightred: #d9b5be;
    --primary: #c3002f;
    --secondary: #2B2E4A;
    --light: #F4F5F8;
    --dark: #1C1E32;
}

.display-1 {
    color: #c3002f;
}

.display-4 span {
    color: #c3002f !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;
}

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

/* loader */
/* .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.rpm-meter {
    position: relative;
    width: 250px; Increased to match marker circle
    height: 250px; Increased to match marker circle
    border-radius: 50%;
    background: #e0e0e0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dial {
    position: relative;
    width: 160px; Increased to match marker circle
    height: 160px; Increased to match marker circle
    border-radius: 50%;
    background: white;
    border: 5px solid #333;
}

.needle {
    position: absolute;
    width: 4px;
    height: 65px; Adjusted for larger dial
    background: red;
    border-radius: 2px;
    transform-origin: bottom center;
    left: 50%;
    bottom: 45%; Adjusted to align with the larger dial
    margin-left: -2px;
    animation: swing 1.5s ease-in-out infinite;
}

.text {
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    color: black;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.marker {
    position: absolute;
    font-size: 12px; 
    color: black;
    left: 50%;
    top: 50%;
    transform-origin: 0 100%;
    text-align: center;
    padding: 0;
    margin: 0;
}

@keyframes swing {
    0% {
        transform: rotate(-30deg);
    }
    50% {
        transform: rotate(30deg);
    }
    100% {
        transform: rotate(-30deg);
    }
}
 */



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

.navbar-brand h1 img {
    width: 280px;
    height: 80px
}

.nav-bar::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: #c3002f;
}

.nav-bar::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: #c3002f;
}

@media screen and (max-width : 500px) {

    .nav-bar::after,
    .nav-bar::before {
        background: white;
    }
}

.navbar-dark .navbar-nav .nav-link {
    padding: 30px 15px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary);
    font-weight: bold;
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 15px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(28, 30, 50, .2); */
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }

    .nav-bar::after,
    .nav-bar::before {
        background: white;
    }

    .navbar-brand h1 img {
        width: 180px;
        height: 50px;
        padding-bottom: 0;
        padding-top: 0;
    }
    #about{
        width: 700px !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.page-header {
    height: 300px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(50, 28, 28, 0.9), rgba(28, 30, 50, .9)), url(../img/bg-banner.jpg);
    background-attachment: fixed;
}
#about{
    width: 1000px;
}
@media (max-width: 991.98px) {
    .page-header {
        height: 300px;
    }
}

.service-item {
    height: 320px;
    background: #fae9ed;
    ;
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item h1,
.service-item h4 {
    transition: .5s;
}

.service-item:hover h1,
.service-item.active h1 {
    color: var(--dark) !important;
}

.service-item:hover h4,
p .service-item.active h4 {
    color: var(--light);
}

.service-item:hover p {
    color: var(--light);
}

.rent-item {
    padding: 30px;
    text-align: center;
    background: #fae9ed;
    transition: .5s;
}

.rent-item:hover,
.rent-item.active {
    background: var(--primary);
}

.rent-item span {
    color: #2B2E4A;
}

.rent-item span :hover {
    color: white;
}

.rent-item h4 {
    transition: .5s;
}

.rent-item:hover h4,
.rent-item.active h4 {
    color: var(--light);
}

.rent-item:hover span,
.rent-item.active h4 {
    color: var(--light);
}

.rent-item:hover i,
.rent-item.active h4 {
    color: var(--light);
}

.team-item {
    padding: 30px 30px 0 30px;
    text-align: center;
    background: #fae9ed;
    ;
    transition: .5s;
}

.team-item:hover,
.owl-item.center .team-item {
    background: var(--primary);
}

.team-item h4 {
    transition: .5s;
}

.owl-item.center .team-item h4,
.owl-item.center .rent-item h4 {
    color: var(--light);
}

.team-item .team-social {
    top: 0;
    left: 0;
    opacity: 0;
    transition: .5s;
    background: #fae9ed;
}

.owl-item.center .team-item .team-social,
.owl-item.center .rent-item {
    background: var(--primary);
}

.team-item:hover .team-social {
    opacity: 1;
    background: var(--primary);
}

.team-carousel .owl-nav,
.related-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 60px;
    top: calc(50% - 30px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next,
.related-carousel .owl-nav .owl-prev,
.related-carousel .owl-nav .owl-next {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--secondary);
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover,
.related-carousel .owl-nav .owl-prev:hover,
.related-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

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

.vendor-carousel .owl-dot,
.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    transition: .5s;
}

.vendor-carousel .owl-dot.active,
.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

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

.testimonial-carousel .owl-item .testimonial-item {
    height: 350px;
    transition: .5s;
    background: #fae9ed;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-item h1,
.testimonial-carousel .owl-item .testimonial-item h4 {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item h1 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h4 {
    color: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item p {
    color: white;
}

/* .bg-banner {
    background: url(..img/digitalmarketing/bg-baaner.jpg);
    background-attachment: fixed;
} */
/* General style for both image containers */
/* Style for the section heading */
.text-center h2 {
    color: #c6274c; /* Accent color */
    margin-bottom: 15px;
    text-transform: uppercase;
}

.text-center p {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.img-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px; /* Increase banner height */
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the full image is visible without cutting */
    transition: transform 0.4s ease;
    background-color: #fae9ed; /* Add background in case the image doesn't fill the container */
}

/* Hover effect for both banners */
.img-container:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.img-container:hover img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Common caption style */
.img-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px); /* Hidden and positioned below */
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
}

.img-container:hover .img-caption {
    opacity: 1;
    transform: translateY(0); /* Slide the caption up into view */
}

/* Festive design for the Navaratri banner */
.festive-container .img-caption {
    color: black; /* Gold color for the festive caption */
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow to make the text pop */
}

.festive-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(255, 215, 0, 0.3), rgba(255, 0, 0, 0.3)); /* Gold and red gradient overlay */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.festive-container:hover::before {
    opacity: 1; /* Show the festive gradient overlay on hover */
}

/* General gradient overlay for the "Coming Soon" car banner */
.img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)); /* Subtle gradient for the car banner */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-container:hover::before {
    opacity: 1;
}

/* Caption border line effect */
.img-caption::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #fff;
    margin-top: 10px;
    transition: width 0.4s ease;
}

.img-container:hover .img-caption::after {
    width: 100px; /* Expand the line on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .img-container {
        margin-bottom: 20px;
        height: 300px; /* Reduce banner height on smaller screens */
    }

    .img-caption {
        font-size: 1.5rem;
    }

    .festive-container .img-caption {
        font-size: 2rem; /* Adjust festive text size on mobile */
    }
}



.service-item {
    padding: 40px 20px;
    /* Increases the height by adding space inside */
}

.service-item {
    height: 400px;
    /* You can adjust the value as per your requirement */
}

.testimonial-height {
    min-height: 400px;
    /* Adjust the height as needed */
}

.owl-carousel {
    display: none;
}