/* Sleek and mobile-responsive styles with red, black, and white */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    line-height: 1.6;
/*    background-image: url(../images/tyre.jpg);
    background-repeat: repeat; */
}

ul {
   font-size: 15px;
}

li {
   font-size: 15px;
}
/*.mt-4 {
  background-color: #FFFFFF;
border-radius: 20px;
padding-top: 30px;
padding-bottom: 30px;
}*/
@media (max-width: 768px) {
    .home .hero-overlay {
        max-width: 70%;
opacity: 0.8;
    }
}

@media (max-width: 576px) {
    .home .hero-overlay {
        max-width: 80%;
opacity: 0.8;
    }
}
.navbar {
    background: linear-gradient(90deg, #D32F2F 0%, #B71C1C 100%);
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 15px;
    margin-left: 15px;
    padding: 8px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.navbar-toggler {
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    padding: 5px;
}

.navbar-toggler-icon {
    color: #FFFFFF;
    font-size: 24px;
}

.navbar-collapse {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .navbar-collapse {
        position: fixed;
        top: 56px;
        right: 0;
        width: 70%;
        max-width: 280px;
        height: calc(100% - 56px);
        background: linear-gradient(90deg, #D32F2F 0%, #B71C1C 100%);
        transform: translateX(100%);
        padding: 15px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-end;
    }

    .navbar-nav .nav-link {
        margin: 8px 0;
        font-size: 16px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 8px 10px;
    }

    .navbar-brand img {
        height: 32px;
    }

    .navbar-toggler {
        font-size: 20px;
    }
}

.carousel {
    position: relative;
    z-index: 1; /* Ensure carousel is below hero-overlay */
border-radius: 10px; /* Add rounded corners to carousel container */
    overflow: hidden; /* Clip content to rounded corners */
}

.carousel-item img {
    height: 600px;
    object-fit: cover;
    filter: brightness(70%);
border-radius: 10px; /* Add rounded corners to images */
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.65);
    padding: 12px 20px;
    border-radius: 8px;
    bottom: 20%;
    transform: translateY(50%);
    z-index: 10; /* Below hero-overlay */
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: 10; /* Below hero-overlay */
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 400px;
    }

    .carousel-caption {
        bottom: 10%;
        padding: 10px 15px;
    }

    .carousel-caption h5 {
        font-size: 20px;
    }

    .carousel-caption p {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 300px;
    }

    .carousel-caption {
        bottom: 5%;
        padding: 8px 12px;
    }

    .carousel-caption h5 {
        font-size: 16px;
    }

    .carousel-caption p {
        font-size: 11px;
    }
}

/* Hero image overlay for home page */
.home .hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 50%;
    height: auto;
    z-index: 20; /* Above carousel images, captions, and controls */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
opacity: 0.8;
}

@media (max-width: 768px) {
    .home .hero-overlay {
        max-width: 70%;
    }
}

@media (max-width: 576px) {
    .home .hero-overlay {
        max-width: 80%;
    }
}
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #D32F2F;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}

.card-text {
    font-size: 13px;
    color: #000000;
}

@media (max-width: 576px) {
    .card {
        margin-bottom: 20px;
    }

    .card-img-top {
        height: 160px;
    }

    .card-body {
        padding: 12px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-text {
        font-size: 12px;
    }
}

.btn-primary {
    background: #D32F2F;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
}

.btn-success, .btn-warning, .btn-danger {
    border-radius: 5px;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-success {
    background: #000000;
    border: none;
}

.btn-success:hover {
    background: #D32F2F;
    transform: translateY(-2px);
}

.btn-warning {
    background: #D32F2F;
    border: none;
    color: #FFFFFF;
}

.btn-warning:hover {
    background: #000000;
    transform: translateY(-2px);
}

.btn-danger {
    background: #000000;
    border: none;
}

.btn-danger:hover {
    background: #D32F2F;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .btn-primary, .btn-success, .btn-warning, .btn-danger {
        padding: 6px 12px;
        font-size: 12px;
    }
}

h1 {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
}

p.lead {
    font-size: 15px;
    color: #000000;
}

@media (max-width: 576px) {
    h1 {
        font-size: 24px;
    }

    p.lead {
        font-size: 14px;
    }
}

.form-control {
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 14px;
    padding: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #D32F2F;
    box-shadow: 0 0 8px rgba(211, 47, 47, 0.3);
}

.form-control-file {
    font-size: 14px;
}

@media (max-width: 576px) {
    .form-control, .form-control-file {
        font-size: 12px;
        padding: 6px;
    }

    .form-group {
        margin-bottom: 12px;
    }
}

.alert-danger {
    background: #D32F2F;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    padding: 10px;
}

.alert-success {
    background: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    padding: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    font-size: 14px;
}

.table th, .table td {
    padding: 8px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .table {
        font-size: 12px;
    }

    .table th, .table td {
        padding: 6px;
    }

    .table img {
        height: 40px;
    }

    .table .btn-sm {
        padding: 4px 8px;
        font-size: 11px;
    }
}

iframe {
    max-width: 100%;
}

/* Static image styles */
.static-image-container {
    max-width: 100%;
    overflow: hidden;
}

.static-hero-img {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);*/
    transition: transform 0.3s ease;
}

.static-hero-img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .static-hero-img {
        max-width: 70%;
    }
}

@media (max-width: 576px) {
    .static-hero-img {
        max-width: 90%;
    }
}

/* about page image styles */
.about-img {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}



/* Repair page image styles */
.repair-img {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.repair-img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .order-md-1, .order-md-2 {
        order: unset !important;
    }
}

/* Repair page h2 font size and weight */
.repair-content h2 {
    font-size: 1.2rem;
    font-weight: bold;
}

/* about page h2 font size and weight */
.about-content h2 {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Global fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}