.th-menu-wrapper .mobile-logo {
    background-color: white;
}

.th-menu-wrapper .mobile-logo a img {
    max-height: inherit;
}

.header-layout5 .header-right .header-social a.dropdown-item {
    margin: 0;
}

/* Slider & Form */
/* Slider */
.main-slider {
    position: relative;
    /* padding-top: 200px; */
}

.main-slider .slider-pc,
.main-slider .slider-mob {
    position: relative;
}

.main-slider .slider-pc .item {
    width: 100%;
    aspect-ratio: 31 / 11;
    overflow: hidden;
}

.main-slider .slider-mob .item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.main-slider .slider-pc:not(.slick-initialized) > .item:not(.is-current):not(:only-child),
.main-slider .slider-mob:not(.slick-initialized) > .item:not(.is-current):not(:only-child) {
    display: none !important;
}

.main-slider .slider-pc .item > a,
.main-slider .slider-mob .item > a {
    display: block;
    width: 100%;
    height: 100%;
}

.main-slider .slider-pc img,
.main-slider .slider-mob img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-slider .slick-list {
    overflow: hidden;
}

.main-slider .slick-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #171717;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(23, 23, 23, .16);
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
    transform: translateY(-50%);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.main-slider .slick-arrow:hover,
.main-slider .slick-arrow:focus-visible {
    color: #fff;
    background: #c8102e;
    border-color: #c8102e;
}

.main-slider .slick-arrow:before { content: none !important; }
.main-slider .slick-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.main-slider .slick-prev { left: 20px; }
.main-slider .slick-next { right: 20px; }

.main-slider .slick-dots {
    position: absolute;
    right: 0;
    bottom: 12px;
    left: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0 56px;
}

.main-slider .slick-dots li {
    display: block;
    margin: 0;
}

.main-slider .slick-dots button {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

.main-slider .slick-dots button:before { content: none; }
.main-slider .slick-dots .slick-active button { background: #c8102e; }

@media (max-width: 767.98px) {
    .main-slider .slick-arrow { width: 38px; height: 38px; }
    .main-slider .slick-prev { left: 10px; }
    .main-slider .slick-next { right: 10px; }
    .main-slider .slick-dots { bottom: 8px; gap: 4px; padding-right: 42px; padding-left: 42px; }
    .main-slider .slick-dots button { width: 7px; height: 7px; }
}

.slick-arrow {
    cursor: pointer;
    z-index: 9;
}

.appointment-slider-area {
    bottom: 10px;
    position: absolute;
    right: 0;
    left: 0;
}

/* Slider form */

.headerform {
    background: #ffffffd6;
    padding: 22px;
    border-radius: 10px;
}

.headerform h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 800;
    color: #292929;
}

.headerform input,
.headerform select {
    border: 1px solid #cfcfcf;
    background-color: white;
    height: 42px;

}


.headerform .btn {
    padding: 8px 25px;
    border-radius: 5px;
}


.headerform {
    position: absolute;
    top: 3%;
    right: 3%;
}

.headerform label {
    font-size: 13px;
    font-weight: 500;
    margin-top: 7px;
}


/* Form */

.error {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    background: #a60e25;
    margin-top: 10px;
    border-radius: 10px;
    display: block;
}

.success {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    background: #c8102e;
    margin-top: 10px;
    border-radius: 10px;
    display: block;
}

.form-message {
    text-align: center;
}


@media (max-width: 1399.98px) {
    .headerform {
        top: 10%;
    }
}

@media (max-width: 1199.98px) {
    .headerform {
        top: 5%;
    }
}

@media (max-width: 991.98px) {
    .headerform {
        top: .5%;
    }
}

@media (max-width: 767.98px) {
    .headerform {
        z-index: 0;
        position: initial;
        background: #ffffff;
        margin: 10px;
        border-radius: 0;
        border: 1px solid #cccccc;
    }

    .appointment-slider-area {
        bottom: auto;
        top: 44%;
    }
}

.th-btn.btn-new-sm {
    padding: 7px 14px;
    font-size: 14px;
}

/* Slider & Form */


/* Welcome Section and Home Buttons */
#welcome-text-kia {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.fixed-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.welcome-text-kia-div h1 {
    font-size: 36px;
    line-height: 46px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.welcome-text-kia-div h1 span {
    color: #171717;
    font-weight: 700;
}

.welcome-text-kia-div p {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

#home-main-btns {
    padding: 30px 0 0px;
}

.row-home-btn {
    margin-top: 10px;
}

.same-des {
    text-align: center;
    padding: 20px 10px;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.same-des {
    text-align: center;
    padding: 20px 10px;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.same-des a {
    color: #333;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    display: block;
}

.same-des a p {
    font-size: 14px;
    margin-top: 5px;
    font-weight: 400;
    color: #666;
}

.same-des i {
    font-size: 32px;
    color: #000;
    margin-bottom: 10px;
    display: block;
}

.home-btn-design,
.home-btn-design2,
.home-btn-design3,
.home-btn-design4 {
    border-top: 3px solid #171717;
}

.home-btn-design2 {
    border-top-color: #000;
}

.home-btn-design3 {
    border-top-color: 3px solid #171717;
}

.home-btn-design4 {
    border-top-color: #000;
}

.same-des:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767.98px) {
    .welcome-text-kia-div h1 {
        font-size: 22px;
        line-height: 32px;
    }

    .same-des a {
        font-size: 16px;
    }

    .same-des a p {
        font-size: 12px;
    }
}

/* Outlets */
.outlet .card {
    background-color: #ffffff;
}

.outletdetails h3 {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 12px;
    color: black;
}

.outletdetails p {
    color: #5d5d5d;
    line-height: 1.5;
    font-size: 15px;
    margin-bottom: 0;
}

.outlettype {
    text-align: center;
}

.outlettype h5 {
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 0;
}

.outlettype p {
    color: #252525;
    font-weight: 700;
    margin-bottom: 0;
}

.outletworking i {
    color: #1f1f1f;
}

.outletworking p a {
    color: #636363;
    font-weight: 400;
}

.outletworking h5 {
    font-weight: 600;
    font-size: 16px;
    color: #252525;
    margin-top: 15px;
    margin-bottom: 15px;
}

.outletworking p {
    margin-bottom: 1rem;
    font-size: 13px;
}

/* FORM */
.successmsg {
    background-color: #c8102e;
    border-radius: 9px;
    color: white;
    display: none;
    padding: 5px 7px;
    text-align: center;
    font-size: 13px;
    line-height: 1;
}

.errormsg {
    background-color: #a60e25;
    border-radius: 9px;
    color: white;
    display: none;
    padding: 5px 7px;
    text-align: center;
    font-size: 13px;
    line-height: 1;
}

/* Footer */
.footer-social a {
    font-size: 16px;
    margin-right: 11px;
    color: #fff;
}

.footer-social a :hover {
    color: #fff;
}

/* Keep social links easy to see in the header and footer */
.header-layout5 .header-right .header-social {
    display: flex;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.header-layout5 .header-right .header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 0 0 8px;
    color: #fff !important;
    background: #171717;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    opacity: 1;
    visibility: visible;
}

.header-layout5 .header-right .header-social a:hover {
    color: #fff !important;
    background: #c8102e;
    border-color: #c8102e;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 8px 8px 0;
    color: #fff !important;
    background: #c8102e;
    border-radius: 50%;
    text-decoration: none;
}

.footer-social a:hover {
    color: #fff !important;
    background: #171717;
}

/* POPUP */
.modal {
    z-index: 9999;
}

.modal-backdrop {
    z-index: 9998;
}

.modal-backdrop.show {
    opacity: .9;
}

.location-item {
    text-align: center;
}

.location-item a {
    display: block;
}

.location-item .location-item-inner {
    padding: 0px 0px 4px 0px;
    border-radius: 10px;
    border-bottom: 2px solid #ffffff;
}

.location-item a .location-item-inner:hover {
    border-color: #c8102e;
}

.location-item img {
    display: inline-block;
    width: 100%;
    border-radius: 10px;
    /* max-width: 70px; */
}

.location-item h3 {
    font-size: 13px;
    margin-bottom: 0;
    margin-top: 6px;
}

.location-fixed {
    position: fixed;
    right: 5px;
    bottom: 5px;
    z-index: 998;
    display: inline-block;
    padding: 3px 9px;
    border-radius: 10px;
    font-size: 13px;
    border: 2px solid #c8102e;
    background: #fdf2f4;
    color: #171717;
    font-weight: 700;
}

.location-fixed img {
    width: 20px;
    vertical-align: middle;
}

.card.shadow p {
    font-size: 14px;
    color: black;
}

/* All Models Home */
.model-item h4 {
    margin-top: 13px;
    font-size: 20px;
}

.model-item {
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    padding: 25px 10px;
}

.model-item .price-head {
    color: #1d1d1d;
    font-size: 13px;
    line-height: 1;
    margin-top: 13px;
}

.model-item .price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.model-item .btn-model-td {
    border-color: var(--theme-color);
    background-color: var(--theme-color);
}

.model-item .btn-model-td:hover {
    border-color: var(--theme-color2);
    background-color: var(--theme-color2);
    color: var(--smoke-color);
}

.model-item .btn-model-brochure {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.model-item .btn-model-brochure:hover {
    border-color: var(--theme-color2);
    background-color: var(--theme-color2);
    color: var(--smoke-color);
}

.all-model-item {
    margin-bottom: 25px;
    background-color: white;
    padding: 34px 22px 45px 22px;
    box-shadow: 2px 3px 14px 1px rgba(0, 0, 0, 0.06);
    -webkit-box-shadow: 2px 3px 14px 1px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 2px 3px 14px 1px rgba(0, 0, 0, 0.06);
}

.all-model-item img {
    max-width: 300px;
    width: 100%;
}

.btn-filter {
    border-radius: 0;
    text-decoration: none;
    border-bottom: 2px solid #fbfbfb;
    font-weight: 600;
}

.btn-filter:hover,
.btn-filter:active {
    text-decoration: none;
}

.btn-filter:focus {
    box-shadow: none;
}

.is-checked {
    border-bottom-color: #121212;
}



/* Car Detail Navigation Styles */
.car-detail-nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    transition: all 0.3s ease;
    z-index: 11;
}

.car-detail-nav.fixed-nav {
    position: fixed;
    top: 108px;
    left: 0;
    right: 0;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.nav-placeholder {
    transition: height 0.3s ease;
}

.fixed-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.menu-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.img-div-header {
    flex-shrink: 0;
}

.img-div-header a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.header-car-detail-header {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.header-car-detail-header::-webkit-scrollbar {
    display: none;
}

.flex-item {
    flex-shrink: 0;
}

.flex-item a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    padding: 2px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    font-size: 13px;
}

.flex-item a:hover,
.flex-item.active-tab a {
    background: #000;
    color: #fff;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    min-height: 400px;
}

.content-section h2 {
    margin-bottom: 30px;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-flex {
        flex-direction: column;
        gap: 15px;
    }

    .header-car-detail-header {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
        padding-bottom: 10px;
        scroll-behavior: smooth;
    }

    .flex-item a {
        padding: 6px 12px;
        font-size: 13px;
    }

    .flex-item.active-tab a {
        background: #000;
        color: #fff;
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(200, 16, 46, 0.18);
    }
}

.overview-contents h3:after {
    content: "";
    position: absolute;
    border: 20px;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #c8102e, #a60e25);
    left: 9px;
    bottom: -6px;
    z-index: 000;
}

.overview-contents h3 {
    position: relative;
    z-index: 000;
}

/* new-model-style */
.sec_tp {
    padding-top: 60px;
}

.sec_bt {
    padding-bottom: 60px;
}

.color-selector {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-selector .arrow {
    color: white;
    font-size: 1.5em;
    display: none;
}

.color-selector.selected .arrow {
    display: block;
}

.arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    transform: translate(-50%, -50%);
}

.colors-selector {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.section_title .title_text span {
    padding: 0px 40px;
    position: relative;
    display: inline-block;
}

.section_title .title_text span:before,
.section_title .title_text span:after {
    top: 50%;
    width: 20px;
    height: 8px;
    content: "";
    position: absolute;
    display: inline-block;
    transform: translateY(-50%);
    background-color: #000;
}

.section_title .title_text span:before {
    left: 0px;
}

.section_title .title_text span:after {
    right: 0px;
}

.details_section.content-section .justify-content-center {
    width: 100%;
    text-align: center;
    align-items: center;
    display: flex;
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: #c8102e !important;
    color: white !important;
    border: none;
    font-weight: 600;
    padding: 15px;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.table tbody td {
    padding: 12px 15px;
    border-color: #e9ecef;
    vertical-align: middle;
}

.table tbody td strong {
    color: #c8102e;
}

.list-unstyled li {
    transition: transform 0.2s ease;
}

.list-unstyled li:hover {
    transform: translateX(5px);
}

.list-unstyled li i {
    transition: color 0.2s ease;
}

.list-unstyled li:hover i {
    color: #c8102e !important;
}

/* Responsive adjustments for specifications */
@media (max-width: 768px) {

    .table-responsive {
        font-size: 14px;
    }

    .table thead th,
    .table tbody td {
        padding: 8px 10px;
    }
}

/* Accordion Styles */
.accordion-header {
    margin-bottom: 0px !important;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px !important;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    background-color: #f8f9fa !important;
    border: none !important;
    color: #000 !important;
    font-weight: 600;
    padding: 24px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #000 !important;
    color: white !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: #000 !important;
}

.accordion-button:hover {
    background-color: #000 !important;
    color: white !important;
}

.accordion-button::after {
    transition: all 0.3s ease;
}

.accordion-body {
    padding: 20px;
    background-color: white;
}

.accordion-body p {
    color: #6c757d;
    margin-bottom: 15px;
}

.accordion-body ul li {
    color: #495057;
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.accordion-body ul li:hover {
    transform: translateX(5px);
}

.accordion-body ul li i {
    transition: color 0.2s ease;
}

/* Responsive adjustments for accordions */
@media (max-width: 768px) {
    .accordion-button {
        padding: 18px 15px;
        font-size: 14px;
    }

    .accordion-body {
        padding: 15px;
    }

    .accordion-body .row {
        flex-direction: column;
    }

    .accordion-body .col-md-6 {
        margin-bottom: 15px;
    }
}

/* Booking Section Styles */
.booking-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.booking-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.booking-card .booking-icon {
    transition: transform 0.3s ease;
}

.booking-card:hover .booking-icon {
    transform: scale(1.1);
}

.booking-card .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.booking-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.booking-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.booking-card .btn:hover::before {
    left: 100%;
}

.feature-item {
    transition: all 0.2s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-item i {
    transition: color 0.2s ease;
}

.feature-item:hover i {
    color: #c8102e !important;
}



/* Responsive adjustments for booking section */
@media (max-width: 768px) {
    .booking-card {
        padding: 2rem !important;
    }

    .booking-card .btn {
        padding: 0.75rem 2rem !important;
        font-size: 14px;
    }

    .features-list .row {
        flex-direction: column;
    }

    .features-list .col-6 {
        margin-bottom: 15px;
    }
}

/* Highlights Section Styles */
.highlight-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 111, 183, 0.05), transparent);
    transition: left 0.6s ease;
}

.highlight-card:hover::before {
    left: 100%;
}

.highlight-icon {
    transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1);
}

.highlight-card:hover .highlight-icon i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.highlight-card h4 {
    transition: color 0.3s ease;
}

.highlight-card:hover h4 {
    color: #c8102e !important;
}

.highlight-card p {
    transition: color 0.3s ease;
}

.highlight-card:hover p {
    color: #495057 !important;
}

/* Responsive adjustments for highlights */
@media (max-width: 768px) {
    .highlight-card {
        padding: 1.5rem !important;
    }

    .highlight-icon i {
        font-size: 1.5rem !important;
    }

    .highlight-card h4 {
        font-size: 1rem !important;
    }

    .highlight-card p {
        font-size: 0.875rem !important;
    }
}

/* Discover Section Styles */
.discover-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.discover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.discover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 111, 183, 0.05), transparent);
    transition: left 0.6s ease;
}

.discover-card:hover::before {
    left: 100%;
}

.discover-image {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.discover-card h4 {
    transition: color 0.3s ease;
}

.discover-card p {
    transition: color 0.3s ease;
    line-height: 1.6;
}

.discover-card:hover p {
    color: #495057 !important;
}

/* Responsive adjustments for discover section */
@media (max-width: 768px) {
    .discover-card {
        padding: 1.5rem !important;
    }

    .discover-image img {
        max-height: 150px !important;
    }

    .discover-card h4 {
        font-size: 1rem !important;
    }

    .discover-card p {
        font-size: 0.875rem !important;
    }
}

.page-header {
    text-align: center;
    margin-top: 5em;
}

.page-header .car_hero_section img {
    width: 70% !important;
}

@media (max-width: 768px) {
    .page-header .car_hero_section img {
        width: 100% !important;
    }
}

/* Custom Carousel Control Buttons */
.custom-carousel-control {
    background: rgba(0, 0, 0, 0.7) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s ease !important;
}

.custom-carousel-control:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.custom-carousel-control .carousel-control-prev-icon,
.custom-carousel-control .carousel-control-next-icon {
    width: 24px !important;
    height: 24px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-carousel-control {
        width: 40px !important;
        height: 40px !important;
    }

    .custom-carousel-control .carousel-control-prev-icon,
    .custom-carousel-control .carousel-control-next-icon {
        width: 20px !important;
        height: 20px !important;
    }
}

.bg-custom-blue {
    background-color: #000 !important;
    display: block;
}

.booking-card .bg-black {
    display: block;
}

.text-custom-blue {
    color: #c8102e !important;
}

.all-model-item .text-center:hover img {
    transform: scale(1.1);
    transition: 0.7s ease;
}

.all-model-item .text-center img {
    transition: 0.7s ease;
}

.terms-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.terms-content p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Fixed Quick Actions Sidebar */
.fixed-icons {
    position: fixed;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    z-index: 9990;
}

.fixed-icons .openbox-pop {
    display: none;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 16px;
    width: 320px;
    margin-right: 43px;
}

.fixed-icons.open .openbox-pop {
    display: block;
}

.fixed-icons .openpopbox {
    position: fixed;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    z-index: 9991;
}

.fixed-icons .openpopbox .icon-close {
    display: none;
}

.fixed-icons.open .openpopbox .icon-open {
    display: none;
}

.fixed-icons.open .openpopbox .icon-close {
    display: inline-block;
}

.call-to-actions-pop p {
    margin: 6px 0 0;
    font-size: 12px;
    color: #222;
}

.ctas-ico {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 10px 6px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ctas-ico:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.quick-cta-icons {
    font-size: 24px;
    color: #c8102e;
}

@media (max-width: 767.98px) {
    .fixed-icons {
        right: 0px;
    }

    .fixed-icons .openbox-pop {
        width: 310px;
        margin-right: 52px;
    }

    .fixed-icons .openpopbox {
        right: 10px;
    }
}


/* Offer page */
.offer-item {
    background-color: #ffffff;
    border-radius: 10px;
}

.offer-item img {
    border-radius: 0px;
}

.offer-item .offer-details ul {
    font-size: 15px;
    font-weight: 600;
    color: #4b4b4b;
}

.offer-item .offer-details ul li span {
    color: red;
    margin-right: 5px;
}

.offer-item .offer-details h2 {
    font-weight: 600;
    font-size: 23px;
    border-bottom: 1px solid #c8102e;
}

.offer-item .offer-details h4 {
    margin-top: 20px;
    margin-bottom: 36px;
    font-size: 19px;
    font-weight: 600;
}

.offer-item .offer-details p.text-muted {
    margin-top: 15px;
    font-size: 11px;
}

.offer-item .offer-details p.text-danger {
    font-size: 13px;
    font-weight: 600;
}

.errormsg.homeerror {
    color: red;
}



.cpo-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cpo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cpo-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.cpo-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.cpo-description {
    color: #666;
    line-height: 1.6;
}

.cpo-subtitle {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.cpo-benefits li {
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.feature-box {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    height: 100%;
}

.feature-icon {
    color: #c8102e;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
}

.form-control:focus {
    border-color: #c8102e;
    box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.18);
}

.th-btn {
    background: #000;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.th-btn:hover {
    background: #a60e25;
    transform: translateY(-2px);
}

.company-info {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.contact-info {
    background: #e9ecef;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.sticky-wrapper img.logo-black {
    display: none;
}
.sticky-wrapper.sticky img.logo-black {
    display: block;
}
.sticky-wrapper.sticky img.logo-white {
    display: none;
}
.ctas-ico a {
    color: #000 !important;
}
.whatsapp-float{
    position:fixed;
    left:16px;
    bottom:16px;
    display:flex;
    align-items:center;
    gap:8px;
    background:#c8102e;
    color:#fff;
    padding:10px 12px;
    border-radius:28px;
    box-shadow:0 4px 12px rgba(0,0,0,.2);
    z-index:9999;
    text-decoration:none
}
.whatsapp-float img{
    width:24px;
    height:24px;
    display:block
}
.whatsapp-float span{
    font-weight:600;
    font-size:14px;
    line-height:1;
}
.whatsapp-float:hover{
    opacity:.9;
}

/* Filter Input */
.filter-input {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.filter-input:focus {
    border-color: #000;
    box-shadow: 0 4px 10px rgba(56, 50, 49, 0.2);
}
.filter-select {
    appearance: none;
    width: 100%;
    padding: 10px 40px 10px 15px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    color: #333;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    background-position: right 12px center;
    background-size: 20px;
}
.filter-select:hover,
.filter-select:focus {
    border-color: #000;
    box-shadow: 0 4px 10px rgba(34, 31, 31, 0.2);
}
.welcome-text-kia-div h3 {
    margin-bottom: 20px;
}

h2.sec-title{
    font-size: 36px;
    line-height: 1.278;
}


/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-item {
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon i {
    transform: scale(1.1);
}

.btn-outline-primary {
    border: 2px solid #000;
    color: #171717;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #000;
    text-decoration: none;
    border-color: #000;
}

.outletdetails h5 {
    color: #171717;
    font-weight: 600;
    margin-bottom: 10px;
}

.outletdetails p {
    margin-bottom: 5px;
    line-height: 1.6;
}

.card-body {
    padding: 30px;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
    
    .card-body {
        padding: 20px;
    }
}

.th-rgt-btn {
    padding: 10px 10px;
    border-radius: 30px;
    border: 1px solid #000;
    font-size: 16px;
    font-weight: 500;
}

/* Final brand palette pass */
.feature-icon { color:#c8102e; }
.form-control:focus, .form-select:focus { border-color:#c8102e; box-shadow:0 0 0 .2rem rgba(200,16,46,.18); }
.th-btn:hover { background:#a60e25; }
.location-item a .location-item-inner:hover { border-color:#c8102e; }
.location-fixed { border-color:#c8102e; background:#fdf2f4; color:#171717; }
.whatsapp-float { background:#c8102e; }

/* Footer layout: keep all four sections inside the viewport */
.footer-layout5 .widget-area > .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(130px, .7fr) minmax(130px, .7fr) minmax(0, 1.1fr);
    gap: 28px;
    margin-right: 0;
    margin-left: 0;
}
.footer-layout5 .widget-area > .container > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
}
.footer-layout5 .footer-widget,
.footer-layout5 .footer-widget .menu,
.footer-layout5 .footer-text {
    min-width: 0;
    overflow-wrap: anywhere;
}
.footer-layout5 .footer-widget > a > img {
    display: block;
    width: min(100%, 260px) !important;
    height: auto !important;
}
.footer-layout5 .cnt-ftr-info a {
    overflow-wrap: anywhere;
}
.footer-layout5 .terms-privacy {
    padding-right: 16px;
    padding-left: 16px;
}
.footer-layout5 .copyright-wrap .container {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .footer-layout5 .widget-area > .container > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 32px;
    }
    .footer-layout5 .widget-area > .container > .row > :first-child,
    .footer-layout5 .widget-area > .container > .row > .cnt-ftr-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .footer-layout5 .widget-area {
        padding-top: 30px;
        padding-bottom: 8px;
    }
    .footer-layout5 .widget-area > .container > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
    .footer-layout5 .widget-area > .container > .row > [class*="col-"] {
        grid-column: 1;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .footer-layout5 .footer-widget > a > img {
        width: min(100%, 220px) !important;
        margin: 0 auto;
    }
    .footer-layout5 .footer-widget .widget_title {
        margin-bottom: 12px;
    }
    .footer-layout5 .copyright-wrap .container {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* Footer only: match the black, white and red reference */
.footer-layout5,
.footer-layout5 .widget-area,
.footer-layout5 .copyright-wrap {
    background: #111 !important;
}
.footer-layout5 .widget_title,
.footer-layout5 .footer-widget,
.footer-layout5 .footer-widget p,
.footer-layout5 .footer-widget li,
.footer-layout5 .footer-widget li a,
.footer-layout5 .terms-privacy,
.footer-layout5 .terms-privacy a,
.footer-layout5 .copyright-wrap,
.footer-layout5 .copyright-wrap a {
    color: #f5f5f5 !important;
}
.footer-layout5 .footer-widget .widget_title:before,
.footer-layout5 .footer-widget .widget_title:after {
    background: #c8102e !important;
}
.footer-layout5 .footer-widget .menu li a:hover,
.footer-layout5 .terms-privacy a:hover {
    color: #e31937 !important;
}
.footer-layout5 .footer-widget li i {
    color: #c8102e !important;
    margin-right: 8px;
}
.footer-layout5 .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff !important;
    background: #c8102e !important;
    border-radius: 50%;
}
.footer-layout5 .footer-social a:hover {
    color: #fff !important;
    background: #a60e25 !important;
}
.footer-layout5 .footer-widget > a > img {
    display: block;
    width: min(100%, 190px) !important;
    height: auto !important;
    background: #fff;
    border-radius: 5px;
}
.footer-layout5 .cnt-ftr-info .menu > li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.55;
}
.footer-layout5 .cnt-ftr-info .menu > li > i {
    flex: 0 0 18px;
    width: 18px;
    margin: 3px 0 0;
    color: #c8102e !important;
    text-align: center;
}
.footer-layout5 .cnt-ftr-info .menu > li > a {
    min-width: 0;
    overflow-wrap: anywhere;
}
.footer-layout5 .cnt-ftr-info .menu > li > .footer-contact-icon {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    color: #c8102e;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-layout5 .footer-text {
    text-align: justify;
    text-justify: inter-word;
}
.footer-layout5 .footer-brand-block {
    width: 100%;
    max-width: 340px;
}
.footer-layout5 .footer-brand-logo {
    display: block;
    width: 135px !important;
    max-width: 100%;
    height: auto !important;
    padding: 5px;
    background: #fff;
    border-radius: 5px;
}
.footer-layout5 .footer-brand-description {
    margin: 0 0 18px;
    color: #f5f5f5 !important;
    font-size: 14px;
    line-height: 1.45;
    text-align: justify !important;
    text-justify: inter-word;
}
.footer-layout5 .footer-brand-logo {
    width: 115px !important;
}
.footer-layout5 .footer-brand-description {
    margin-top: 12px;
}
:root { --whatsapp-green: #25D366; }
.whatsapp-float { background: var(--whatsapp-green) !important; color: #fff !important; }
.footer-layout5 .cnt-ftr-info .footer-whatsapp-link { color: var(--whatsapp-green) !important; }
.footer-layout5 .cnt-ftr-info .footer-whatsapp .footer-whatsapp-icon { color: var(--whatsapp-green) !important; }
.footer-layout5 .cnt-ftr-info .footer-whatsapp-link { color: #f5f5f5 !important; }
.footer-layout5 .cnt-ftr-info .footer-whatsapp .footer-whatsapp-icon { color: #c8102e !important; }
.fixed-icons .openpopbox .quick-action-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #171717;
    overflow: visible;
}

/* About page: balanced vision and mission cards */
.about-vision-mission .title-area {
    margin-bottom: 30px;
}
.about-vision-mission .about-vision-card {
    min-height: 100%;
    border-top: 4px solid #c8102e !important;
    border-radius: 12px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.about-vision-mission .about-vision-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(23, 23, 23, .1) !important;
}
.about-vision-mission .about-vision-card .card-body {
    padding: 28px 30px;
}
.about-vision-mission .about-vision-card h3 {
    margin-bottom: 12px;
    color: #171717;
    font-weight: 700;
}
.about-vision-mission .about-vision-card p {
    max-width: 460px;
    margin-bottom: 0;
    color: #4b4b4b;
    font-size: 16px;
    line-height: 1.75;
}
@media (max-width: 575.98px) {
    .about-vision-mission .about-vision-card .card-body {
        padding: 22px;
    }
}

/* Use the service-form red for primary action buttons throughout the site */
.th-btn,
.btn-primary,
button[type="submit"].th-btn,
.model-item .btn-model-td {
    color: #fff !important;
    background-color: #c8102e !important;
    border-color: #c8102e !important;
}
.th-btn:hover,
.btn-primary:hover,
button[type="submit"].th-btn:hover,
.model-item .btn-model-td:hover {
    color: #fff !important;
    background-color: #a60e25 !important;
    border-color: #a60e25 !important;
}
