

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: auto !important;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  background: #fff;
}
body {
  position: relative;
  overflow-y: hidden;
}
footer {
  position: relative;
  bottom: 0;
}

/********** Template CSS **********/
:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
    --success: #28a745;
    --danger: #D81324;
}




.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-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@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);
}

/*** Car Search Form ***/
.car-search {
    background: var(--primary);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: #fff;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-row select,
.form-row input {
    flex: 1 1 200px;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
}

.search-btn {
    background: var(--dark);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.search-btn:hover {
    background: var(--secondary);
}

.reset-btn {
    background: #555;
}

.reset-btn:hover {
    background: #333;
}

/* Form Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row select,
    .form-row input {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        padding: 8px 10px;
        font-size: 14px;
    }

    .search-btn {
        width: 100%;
        padding: 10px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .form-row select,
    .form-row input {
        font-size: 13px;
        padding: 6px 8px;
    }

    .search-btn {
        font-size: 13px;
        padding: 8px 0;
    }
}

/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-bg-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** 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;
}

/*** Blog Section ***/
.blog_section {
    width: 100%;
    float: left;
}

.blog_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #262626;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.blog_taital::after {
    position: absolute;
    content: '';
    width: 80px;
    border: 4px solid #fc9d22;
    left: 0px;
    right: 0px;
    bottom: 0px;
    margin: 0 auto;
    text-align: center;
}

.blog_section_2 {
    width: 80%;
    float: left;
    padding-top: 30px;
}

.blog_box {
    width: 80%;
    background-color: #fefefd;
    height: auto;
}

.blog_text {
    width: 100%;
    font-size: 24px;
    color: #2d2d2d;
    padding: 0px 0px 10px 0px;
    font-weight: bold;
    text-align: center;
}

.lorem_text {
    width: 70%;
    font-size: 16px;
    color: #3c3c3c;
    margin: 0 auto;
    text-align: center;
}

.read_bt {
    width: 175px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
}

.read_bt a {
    width: 100%;
    float: left;
    font-size: 18px;
    color: #fefefd;
    background-color: #fc9d22;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.read_bt a:hover {
    color: #fefefd;
    background-color: #474646;
}

.blog_img {
    width: 100%;
    text-align: center;
}

.btn_main {
    width: 100%;
    position: relative;
    top: -30px;
}

.date_text {
    width: 320px;
    margin: 0 auto;
    text-align: center;
    display: flex;
}

.date_text a {
    width: 100%;
    float: left;
    font-size: 18px;
    color: #fefefd;
    text-align: center;
    background-color: #fc9d22;
    padding: 10px;
}

.date_text a:hover {
    color: #000000;
    background-color: #fefefd;
    box-shadow: 0px 5px 20px 3px #e9e9e8;
}

.date_text.active a {
    color: #000000;
    background-color: #fefefd;
    box-shadow: 0px 5px 20px 3px #e9e9e8;
}

/*** Image Carousel ***/
.image-carousel .image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.5s ease;
}

.image-carousel .image-item img:hover {
    transform: scale(1.05);
}

.image-carousel .owl-dots {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-carousel .owl-dot {
    width: 14px;
    height: 14px;
    margin: 0 5px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s ease;
}

.image-carousel .owl-dot.active {
    background: var(--primary);
}

/*** 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);
}

/*** Car Cards ***/
.car-section .card {
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.2s;
    font-size: 14px;
}

.car-section .card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.car-section img {
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.car-section .car-card {
    display: none;
}

.car-section .car-card:nth-child(-n+25) {
    display: block;
}
/*** Car Detail Page - Enhanced Gallery & Thumbnails ***/
.container.my-5 {
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Car Title */
.container.my-5 h2 {
    color: var(--secondary);
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.container.my-5 h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
}

/* Enhanced Main Carousel */
#carGallery {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.carousel-inner {
    border-radius: 12px;
}

.main-car-img {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
    cursor: zoom-in;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
}

.main-car-img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 15px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

/* Enhanced Thumbnail Strip */
.thumb-strip-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0 40px 0;
    padding: 0 40px;
}

.thumb-row {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 12px 15px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f1f1;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    max-width: 100%;
}

.thumb-row::-webkit-scrollbar {
    height: 6px;
}

.thumb-row::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumb-row::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.thumb-row::-webkit-scrollbar-thumb:hover {
    background: #b5101d;
}

.thumb-img {
    height: 70px;
    width: auto;
    min-width: 100px;
    cursor: pointer;
    object-fit: cover;
    border: 3px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: white;
    padding: 2px;
}

.thumb-img:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(216, 19, 36, 0.3);
}

.thumb-img.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), 0 4px 12px rgba(216, 19, 36, 0.4);
    transform: translateY(-3px);
}

/* Enhanced Thumbnail Navigation */
.thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    color: white;
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.thumb-nav.left {
    left: 0;
}

.thumb-nav.right {
    right: 0;
}

.thumb-nav:hover {
    background: var(--secondary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.thumb-nav:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: translateY(-50%);
}



/* Enhanced Fullscreen Modal */
.modal-fullscreen .modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: none;
}

.modal-body {
    padding: 0;
}

#modalCarousel {
    height: 100vh;
    display: flex;
    align-items: center;
}

#modalCarousel .carousel-inner {
    width: 100%;
}

#modalCarousel img {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#modalCarousel .carousel-control-prev,
#modalCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 30px;
    transition: all 0.3s ease;
}

#modalCarousel .carousel-control-prev:hover,
#modalCarousel .carousel-control-next:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.custom-close {
    position: fixed;
    top: 25px;
    right: 30px;
    font-size: 3.5rem;
    line-height: 1;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1060;
    opacity: 0.8;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.custom-close:hover {
    color: var(--primary);
    transform: scale(1.2);
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container.my-5 h2 {
        font-size: 1.8rem;
    }
    
    .main-car-img {
        max-height: 350px;
    }
    
    .thumb-strip-wrapper {
        padding: 0 30px;
    }
    
    .thumb-img {
        height: 60px;
        min-width: 80px;
    }
    
    .thumb-nav {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .car-info-card h4 {
        font-size: 1.3rem;
    }
    
    .car-info-card p {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .car-info-card strong {
        min-width: 120px;
    }
    
    .custom-close {
        top: 15px;
        right: 20px;
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .container.my-5 {
        padding: 0 15px;
    }
    
    .container.my-5 h2 {
        font-size: 1.5rem;
    }
    
    .main-car-img {
        max-height: 250px;
    }
    
    .thumb-strip-wrapper {
        padding: 0 20px;
        margin: 15px 0 25px 0;
    }
    
    .thumb-row {
        gap: 8px;
        padding: 10px;
    }
    
    .thumb-img {
        height: 50px;
        min-width: 70px;
    }
    
    .car-info-card .col-md-6 {
        margin-bottom: 0;
    }
    
    .car-info-card p {
        margin-bottom: 10px;
    }
}

/*** Enhanced Car Information Section ***/
.car-info-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    margin: 30px 0;
    position: relative;
}

.car-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f8f9fa 0%, var(--secondary) 100%);
}

.car-info-header {
    background: linear-gradient(90deg, #f8f9fa 0%, var(--secondary) 100%);
    color: var(--dark);
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(11, 33, 84, 0.1);
}

.car-info-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: white;
}

.car-info-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
    color: var(--secondary);
}

.car-info-content {
    padding: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 12px;
    padding: 20px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 33, 84, 0.1);
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(216, 19, 36, 0.05), transparent);
    transition: left 0.6s ease;
}

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-left-color: var(--secondary);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
}

.info-label {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label::before {
    content: '';
    width: 4px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: inline-block;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

/* Special styling for price */
.info-item.price-highlight {
    background: linear-gradient(90deg, #f8f9fa 0%, var(--secondary) 100%);
    border-left-color: var(--primary);
    color: white;
    border: 1px solid rgba(11, 33, 84, 0.2);
}

.info-item.price-highlight .info-label {
    color: var(--secondary);
}

.info-item.price-highlight .info-label::before {
    background: var(--primary);
}

.info-item.price-highlight .info-value {
    color: var(--secondary);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Styling for N/A values */
.info-value:empty::after,
.info-value:contains("N/A") {
    color: #6c757d !important;
    font-style: italic;
}

.info-value:empty::after {
    content: "Not specified";
}

/* Status indicators for specific fields */
.info-item.available .info-value {
    color: var(--success);
}

.info-item.unavailable .info-value {
    color: #6c757d;
}

/* Enhanced price section with gradient */
.info-item.price-highlight {
    position: relative;
    overflow: hidden;
}

.info-item.price-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 0 12px 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .car-info-section {
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .car-info-header {
        padding: 20px 25px;
        background: linear-gradient(90deg, #f8f9fa 0%, var(--secondary) 100%);
    }
    
    .car-info-header h4 {
        font-size: 1.5rem;
    }
    
    .car-info-content {
        padding: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-item {
        padding: 16px;
    }
    
    .info-item.price-highlight .info-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .car-info-header {
        padding: 15px 20px;
    }
    
    .car-info-header h4 {
        font-size: 1.3rem;
    }
    
    .car-info-content {
        padding: 15px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .info-value {
        font-size: 1rem;
    }
    
    .info-item.price-highlight .info-value {
        font-size: 1.1rem;
    }
}

/* Animation for initial load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-item {
    animation: fadeInUp 0.5s ease-out;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }
.info-item:nth-child(5) { animation-delay: 0.5s; }
.info-item:nth-child(6) { animation-delay: 0.6s; }
.info-item:nth-child(7) { animation-delay: 0.7s; }
.info-item:nth-child(8) { animation-delay: 0.8s; }



/* car feature section */
        .car-features-compact {
            background: #D81324;
            padding: 20px;
            border-radius: 8px;
            margin: 20px auto;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            border: 1px solid #dee2e6;
            max-width: 1000px;
        }
        
        .car-features-compact .header {
            text-align: center;
            margin-bottom: 25px;
        }
        
        .car-features-compact .header h1 {
            color: var(--secondary);
            font-size: 1.8rem;
            margin-bottom: 8px;
            font-weight: 700;
        }
        
        .car-features-compact .header p {
            color: #22496b;
            font-size: 1rem;
        }
        
        .car-features-compact .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .car-features-compact .feature-category {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }
        
        .car-features-compact .feature-category:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .car-features-compact .category-title {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--primary);
        }
        
        .car-features-compact .category-title i {
            font-size: 18px;
            color: var(--primary);
            margin-right: 10px;
        }
        
        .car-features-compact .category-title h3 {
            color: var(--secondary);
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .car-features-compact .features-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        
        .car-features-compact .feature {
            display: flex;
            align-items: center;
            padding: 6px 10px;
            border-radius: 4px;
            background: white;
            border: 1px solid #dee2e6;
            font-size: 0.85rem;
            transition: all 0.2s ease;
        }
        
        .car-features-compact .feature.available {
            background: rgba(40, 167, 69, 0.1);
            border-color: rgba(40, 167, 69, 0.3);
            color: #155724;
            box-shadow: 0 1px 3px rgba(76, 175, 80, 0.2);
        }
        
        .car-features-compact .feature i {
            margin-right: 6px;
            font-size: 0.8rem;
        }
        
        .car-features-compact .feature.available i {
            color: var(--success);
        }
        
        .car-features-compact .no-features {
            text-align: center;
            color: #6c757d;
            font-style: italic;
            padding: 20px;
            grid-column: 1 / -1;
        }
        
        /* Responsive design */
        @media (max-width: 768px) {
            .car-features-compact {
                padding: 15px;
                margin: 15px;
            }
            
            .car-features-compact .features-grid {
                grid-template-columns: 1fr;
            }
            
            .car-features-compact .features-list {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
        }
        
        @media (max-width: 480px) {
            .car-features-compact {
                padding: 10px;
                margin: 10px;
            }
            
            .car-features-compact .features-list {
                grid-template-columns: 1fr 1fr;
            }
            
            .car-features-compact .feature {
                padding: 5px 8px;
                font-size: 0.8rem;
            }
        }


      

        /*** Login Page ***/
.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light);
}

.login-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h2 {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--dark);
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color .3s;
}

.login-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(216, 19, 36, 0.3);
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background .3s;
}

.login-box button:hover {
    background: #b5101d;
}

.login-box p.error {
    color: var(--danger);
    margin-top: 10px;
    font-size: 14px;
}

/*** Utility Classes ***/
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }

/*** Loading States ***/
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/*** Animation Enhancements ***/
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Delivery & Order Forms Styling */
.delivery-card, .customer-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.delivery-card .card-header, .customer-card .card-header {
    border-radius: 10px 10px 0 0 !important;
}

.shipping-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-option:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.shipping-option.selected {
    border-color: #007bff;
    background-color: #e7f3ff;
}

.shipping-method {
    font-weight: 600;
    color: #495057;
}

.shipping-details {
    font-size: 0.9em;
    color: #6c757d;
}

.shipping-cost {
    font-weight: bold;
    color: #28a745;
}

/* Form enhancements */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Responsive design */
@media (max-width: 768px) {
    .delivery-summary .row > div {
        margin-bottom: 10px;
    }
}


/* ===== ABOUT & SERVICES PAGE STYLES ===== */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(11, 33, 84, 0.8), rgba(11, 33, 84, 0.8)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 2rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    top: 50%;
    left: -60px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    top: 50%;
    right: -60px;
    margin-top: -1px;
    background: var(--primary);
}

/* Mission Section */
.mission-section {
    background: linear-gradient(rgba(11, 33, 84, 0.9), rgba(11, 33, 84, 0.9)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    border-radius: 15px;
}

.mission-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.mission-section .lead {
    font-size: 1.3rem;
    line-height: 1.8;
}

/* Founder Cards */
.founder-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.founder-img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.founder-card .card-body {
    padding: 2rem;
}

.founder-card .card-title {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.founder-card .text-muted {
    color: #6c757d !important;
    font-weight: 500;
    margin-bottom: 1rem;
}

.founder-card .card-text {
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

/* Team Member Cards */
.team-member {
    transition: transform 0.3s ease;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
}

.staff-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.team-member .card-body {
    padding: 2rem 1.5rem;
}

.team-member .card-title {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-member .text-muted {
    color: var(--primary) !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member .card-text {
    color: #666;
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--secondary);
}

.service-card h4 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card .btn {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
}

.service-card .btn:hover {
    background: var(--primary);
    color: white;
}

/* Social Icons */
.social-icons {
    margin-top: 1.5rem;
}

.social-icons .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.social-icons .btn:hover {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .founder-card {
        margin-bottom: 2rem;
    }
    
    .founder-img {
        height: 250px;
    }
    
    .mission-section {
        padding: 60px 0;
    }
    
    .mission-section h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .founder-card .card-body {
        padding: 1.5rem;
    }
    
    .team-member .card-body {
        padding: 1.5rem 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Background Patterns */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Custom Utilities */
.text-primary-custom {
    color: var(--primary) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.bg-primary-light {
    background-color: rgba(216, 19, 36, 0.1) !important;
}

.bg-secondary-light {
    background-color: rgba(11, 33, 84, 0.1) !important;
}

/* Border Utilities */
.border-primary-custom {
    border-color: var(--primary) !important;
}

.border-secondary-custom {
    border-color: var(--secondary) !important;
}

/* Shadow Utilities */
.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.shadow-custom-lg {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}


/*** 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;
}



