/********** Template CSS **********/
:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
}

.fw-medium {
    font-weight: 600 !important;
}

.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 ***/
.carousel-img {
    height: 80vh;
    object-fit: cover;
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}
.btn-danger {
    background: #ff0000;
    border: none;
    transition: all 0.3s ease-in-out;
}
.btn-danger:hover {
    background: #cc0000;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.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);
}



/*** Facts ***/
.fact-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fact-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Icon Styling */
.fact-box i {
    background: rgba(255, 255, 255, 0.2); /* Light circle background */
    color: #b9b9b9; /* Icon color */
    font-size: 2.5rem; /* Increase icon size */
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Makes it round */
    transition: 0.3s ease-in-out;
}

/* Icon Hover Effect */
.fact-box:hover i {
    background: #ffffff; /* Change background color */
    color: #fff; /* Change icon color */
    transform: rotate(360deg); /* Rotate animation */
}



/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}
.shadow {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

a.text-primary:hover {
    color: #d9534f !important;
}

i {
    color: #d9534f;
}

/*** services about ***/
.service-box {
    position: relative;
    display: flex;
    align-items: flex-end; /* Align content at the bottom */
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: url('images/service-bg-light.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    height: 350px; /* Fixed height */
    width: 100%; /* Ensures responsiveness */
    min-height: 250px;
    transition: all 0.3s ease-in-out;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
    .service-box {
        height: 300px; /* Slightly shorter for mobile */
    }
}

/* Light Overlay Effect for Contrast */
.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
    transition: background 0.3s;
}

/* Hover Effect - Lightens */
.service-box:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

/* Content Styling - Positioned at the bottom with background effect */
.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8); /* Background color with transparency */
    padding: 20px;
    text-align: center;
    z-index: 2;
    transition: transform 0.4s ease-in-out, background 0.3s ease-in-out;
    transform: translateY(100%); /* Initially hidden below */
}

/* On hover, slide up content */
.service-box:hover .service-content {
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.9); /* Slightly darker background on hover */
}

/* Title Styling */
.service-content h5 {
    font-size: 20px;
    font-weight: 800;
    color: white;
}

/* Description Styling */
.service-content p {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 5px 0;
}

/* Icon Styling */
.service-content i {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 10px;
}

/* Read More Link */
.service-content a {
    color: #FFD700;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.service-content a:hover {
    color: #FFA500;
}





/*** Booking ***/
.booking {
    background: linear-gradient(rgba(121, 120, 120, 0.7), rgba(0, 0, 0, .7)), 
    url('img/first-auto-team/heavy-loss-repairing-area/heavy-loss-repairing-area.png') 
    center center no-repeat;


    background-size: cover;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** 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)
}


/*** Testimonial ***/
/* .testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
} */
 
/* Icon set - http://ionicons.com/ */

h2.text-dark {
    color: #cc0000 !important; /* Red color */
}


.testimonial-carousel .snip1139 {
    margin: 10px;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

.testimonial-carousel .snip1139:hover {
    transform: translateY(-5px);
}

.testimonial-carousel .snip1139 img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;    
    border: 3px solid #d9534f;
}


/*** 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: 5px;
    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 .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    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;
}

.footer .copyright {
    padding: 25px 0;
    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;
}



/* About Us Section */
.section-info {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.wrapper-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Layout Structure */
.row-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Left Content */
.content-info {
    flex: 1;
    max-width: 55%;
}

.content-info h2 {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.content-info h4 {
    font-size: 24px;
    font-weight: 600;
    color: #444;
    margin-bottom: 18px;
}

.text-highlight {
    font-size: 18px;
    color: #007bff;
    font-weight: bold;
    border-left: 4px solid #007bff;
    padding-left: 12px;
    display: inline-block;
    margin-bottom: 18px;
}

.text-details {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Features List */
.list-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.list-features li {
    font-size: 17px;
    color: #444;
    width: 50%;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.list-features li::before {
    content: "✔";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Right Image Section */
.image-info {
    flex: 1;
    max-width: 40%;
    text-align: center;
}

.image-info img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /* box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); */
}

/* Mission & History Section */
.box-details {
    display: flex;
    justify-content: space-evenly;
    gap: 50px;
    margin-top: 20px;
}

.mission-info, .history-info {
    width: 50%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08); */
}

.mission-info h4, .history-info h4 {
    font-size: 19px;
    font-weight: bold;
    color: #222;
    margin-bottom: 12px;
}

.mission-info p, .history-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.mission-info a, .history-info a {
    font-size: 15px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.mission-info a:hover, .history-info a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .row-info {
        flex-direction: column;
        text-align: center;
    }

    .content-info, .image-info {
        max-width: 100%;
    }

    .list-features li {
        width: 100%;
    }

    .box-details {
        flex-direction: column;
        align-items: center;
    }

    .mission-info, .history-info {
        width: 100%;
        text-align: center;
    }
}



