@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    /*--primaryColor: #EEBA2C;*/
    /*--secondaryColor: #161616;*/
    --primaryColor: #00095B;
    --secondaryColor: #98979E;
}

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

.text-primary {
    color: var(--primaryColor) !important;
}

.text-secondary {
    color: var(--secondaryColor) !important;
}

.btn-outline-primary{
    border: 1px solid var(--primaryColor);
    color: var(--primaryColor);
}
.btn-outline-primary:hover,.btn-outline-primary:focus{
    background-color: var(--primaryColor);
    border: 1px solid var(--primaryColor);
}

.font-500 {
    font-weight: 500 !important;
}

.font-600 {
    font-weight: 600 !important;
}

.fs-11 {
    font-size: 11px;
}

.fs-12 {
    font-size: 12px;
}
.fs-12 {
    font-size: 13px;
}
.fs-14 {
    font-size: 14px;
}
.fs-15 {
    font-size: 15px;
}
.fs-16 {
    font-size: 16px;
}
.fs-17 {
    font-size: 17px;
}
.fs-18 {
    font-size: 18px;
}

.fs-19 {
    font-size: 19px;
}

.fs-22 {
    font-size: 22px;
}

.fs-30 {
    font-size: 30px
}

.detail-icon {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: var(--primaryColor);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.input-tags {
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    height: 38px;
    padding: 4px 12px;
    transition: all 0.2s ease;
}

.textarea-tags {
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    padding: 4px 10px;
    transition: all 0.2s ease;
}

.upload-file-box {
    border: 2px dashed #D6D6D6;
    border-radius: 14px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
    background: #FAFAFA;
}

.upload-file-box:hover {
    border-color: var(--primaryColor);
    background: rgba(238, 186, 44, 0.06);
}

.upload-file-box i {
    font-size: 28px;
    color: #9A9A9A;
}

.upload-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.preview-item {
    position: relative;
    width: 136px;
    height: 120px;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
}

/* Remove button */
.remove-img {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primaryColor);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.remove-img:hover {
    background: #e53935;
}


.input-tags:focus,
.textarea-tags:focus {
    border-color: var(--primaryColor);
    outline: none;
    box-shadow: 0 0 0 3px rgba(238, 186, 44, 0.2);
}

.custom-radio {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #c9d0da;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
    outline: none;
}

.custom-radio:hover {
    border-color: var(--primaryColor);
    outline: none;
    box-shadow: none !important;
}

.custom-radio:checked::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 9px;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    background-image: url("../images/primary-chcek.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.custom-radio:checked {
    border-color: var(--primaryColor);
    background-color: #fff;
    outline: none;
    box-shadow: none !important;
}

.custom-radio-label {
    margin-left: 5px;
    font-size: 15px;
    margin-top: 3px;
}

.form-check-input:focus {
    box-shadow: none;
    outline: none !important;
}

.form-check-input[type=checkbox] {
    border-radius: 50%;
}

.form-check-input:checked[type=checkbox] {
    border-color: var(--primaryColor);
    border-radius: 50%;
}

/*Header*/
/* Default navbar */
#mainNavbar {
    position: relative;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* On scroll */
#mainNavbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
}

/* Keep text colors same */
#mainNavbar.scrolled .nav-link {
    color: #161616;
}

#mainNavbar.scrolled .nav-link:hover,
#mainNavbar.scrolled .nav-link.active {
    color: var(--primaryColor) !important;
}

.header-logo {
    height: 75px;
    width: 100%;
}

.header-logo img {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: #161616;
}

.nav-link:hover {
    color: var(--primaryColor)
}

.nav-link.active {
    color: var(--primaryColor) !important;
}

.login-signup-btn {
    background-color: var(--primaryColor);
    color: #ffffff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
}

.login-signup-btn:hover {
    background-color: #161616;
    color: #fff;
}

.userdropdownBtn {
    border: 1px solid var(--primaryColor);
    border-radius: 5px;
}

.header-user-img {
    height: 36px;
    width: 36px;
    border-radius: 50%;
}

.header-user-img img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
}

/*Header*/

/*Footer*/
footer {
    background-color: #E9E9E9;
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    width: 170px;
}

.footer-logo img {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
}

.footer-social-icons {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    background-color: #161616;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.footer-social-icons:hover {
    background-color: var(--primaryColor);
    color: #ffffff;
}

.w-lg-60 {
    width: 60% !important;
}

/*Footer*/

/* Home */
.herosection {
    width: 100%;
    background-image: url("/assets/images/heroBg.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 180px 120px;
    position: relative;
    height: 730px;
}

.herosection h1 {
    font-size: 50px;
    font-weight: bold;
}

.hero-card-row {
    margin-top: -80px;
    z-index: 1;
    position: relative;
}

.card-fixed-circle {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0px 2px 3px 6px #24C3C726;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 86px;
    width: 86px;
    position: absolute;
    top: -20%;
}

.fixed-img {
    /* height: 100%; */
    width: 38px;
}

.fixed-img img {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
}

.circle-bg {
    background-color: var(--secondaryColor);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    cursor: pointer;
}

.circle-bg:hover {
    background-color: var(--primaryColor);
}

.hero-img-1 {
    width: 450px;
    height: 240px;
    transition: transform 0.3s ease;
}

.hero-img-2 {
    width: 320px;
    height: 200px;
    margin-top: -70px;
    margin-left: 42%;
    transition: transform 0.3s ease;
}

.hero-img-1 img, .hero-img-2 img {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
}

.hero-abut-wrapper:hover .hero-img-1 {
    transform: translateY(-3px) scale(1.02);
}

.hero-abut-wrapper:hover .hero-img-2 {
    transform: scale(1.02);
}

.car-brand-circle {
    border: 1px solid #CACACA;
    border-radius: 50%;
    background-color: #F0F0F0;
    height: 130px;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-img {
    width: 120px;
    height: 70px;
}

.brand-img img {
    height: 100%;
    width: 100%;
}

.home-req-section {
    background-image: url("/assets/images/reqSection.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 25px;
    padding: 90px 166px;
}

.why-desc {
    max-width: 70%;
    font-size: 20px;
    line-height: 1.6;
}

.home-cards {
    border: 1px solid var(--primaryColor);
    box-shadow: 0px 4px 7px 4px #0000001A;
    border-radius: 12px;
    padding: 33px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-color: #fff;
    margin-bottom: 50px;
}

.home-cards:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0px 10px 20px 6px #00000026;
}

.home-card-img {
    height: 55px;
    width: 55px;
}

.home-card-img img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.brand-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.brand-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollBrands 18s linear infinite;
}

.brand-carousel:hover .brand-track {
    animation-play-state: paused;
}

@keyframes scrollBrands {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.car-brand-circle {
    transition: transform 0.3s ease;
}

.car-brand-circle:hover {
    transform: scale(1.08);
}

.custom-card {
    border: 1px solid var(--primaryColor);
    box-shadow: 0px 4px 7px 4px #0000001A;
    border-radius: 12px;
    padding: 33px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

/* Home */

/* request */
.form-section {
    border-radius: 14px;
    padding: 10px 0;
    background: #fff;
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title i {
    color: var(--primaryColor);
}

.section-header {
    width: 100%;
    background-image: url("/assets/images/requestBanner.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 100px 160px;
    position: relative;
}

.request-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
}

.selection-card {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #C8C8C8;
    margin-bottom: 16px;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
}

.selection-card:hover {
    border-color: var(--primaryColor);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.selection-card:has(input:checked) {
    border-color: var(--primaryColor);
    background: rgba(238, 186, 44, 0.08);
}

.selection-card input:checked {
    border-color: var(--primaryColor);
}

.req-brand-img {
    height: 44px;
    display: flex;
    align-items: center;
}

.req-brand-img img {
    max-height: 100%;
    max-width: 90px;
    object-fit: contain;
}

.part-row {
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    padding: 16px;
    background: #FAFAFA;
    margin-bottom: 16px;
    position: relative;
}

.remove-part {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
    border: none;
    background: var(--primaryColor);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
    color: #fff;
}

.remove-part:hover {
    background: #d60000;
    color: #fff;
}

.add-part-btn {
    border: none;
    background: transparent;
    color: var(--primaryColor);
    font-weight: 600;
    cursor: pointer;
}

/* request */


/* login */
.login-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 8px 0px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    width: 200px;
    border: 1px solid var(--secondaryColor);
    color: var(--secondaryColor);
}

.login-buttons img {
    display: inline-block;
}

.login-buttons:hover {
    background-color: var(--primaryColor);
}

.login-buttons:hover span {
    color: #ffffff;
}

.login-form-card {
    border: 1px solid var(--secondaryColor);
    border-radius: 18px;
    padding: 30px 20px 40px 20px;
}

.login-logo {
    height: 100px;
    width: 170px;
}

.login-logo img {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    object-fit: contain;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.otp-input {
    width: 40px;
    height: 44px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #D2D2D2;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
}

.otp-input:focus {
    border-color: var(--primaryColor);
    box-shadow: 0 0 0 2px rgba(238, 186, 44, 0.15);
}

/* login */

@media (max-width: 991px) {
    .w-lg-60 {
        width: 100% !important;
    }
}

/* Style the Select2 container like your input-tags */
.select2-container--default .select2-selection--single {
    height: 38px;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 4px 6px;
    color: #333;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 12px !important;
}

/* Placeholder color */
.select2-container.input-tags .select2-selection__placeholder {
    color: #999;
}

/* Dropdown options styling */
.select2-container.input-tags .select2-results__option {
    padding: 8px 12px;
    font-size: 14px;
}

/* Hover/selected options */
.select2-container.input-tags .select2-results__option--highlighted {
    background-color: #f0f0f0;
    color: #333;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 64% !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    display: none;
}


/* DASHBOARD */

.filter-part {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-btn {
    text-align: center;
    min-width: 60px;
    border-radius: 20px;
    border: 1px solid #808080;
    padding: 2px 14px;
    color: #808080;
    font-size: 14px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background-color: var(--primaryColor);
    color: #ffffff;
    border-color: var(--primaryColor);
}

.filter-btn.active {
    background-color: var(--primaryColor);
    color: #ffffff;
    border-color: var(--primaryColor);
}

.dashboard-card {
    border: 1px solid #b4b8db;
    border-radius: 10px;
    background-color: #FFFFFF;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0px 3px 7px 1px #0000000D;
}

.cards-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.request-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--secondaryColor);
    margin-bottom: 20px;
}

.item-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 5px;
}

.swiper-btn {
    border: none;
    background: var(--primaryText);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-btn:hover {
    color: var(--secondaryColor);
}

.item-details {
    padding: 10px;
}

.item-name {
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 8px 0;
}

.item-spec p {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: green;
    gap: 4px;
}

.item-notes {
    font-size: 14px;
    margin: 5px 0;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
    display: inline-block;
}

.open-badge {
    background-color: #17a2b8;
    color: #fff;
}

.success-badge {
    background-color: #198754;
    color: #fff;
}

.pending-badge {
    background-color: #FBBB00;
    color: #fff;
}

.closed-badge {
    background-color: #dc3545;
    color: #fff;
}

.parts-slider .owl-dots {
    margin-top: -25px !important;
    position: relative;
    z-index: 2;
}

.parts-slider .owl-dots .owl-dot.active span, .parts-slider .owl-dots .owl-dot:hover span {
    background: var(--primaryColor);
}

/* DASHBOARD */

/*Media Query*/
/* Tablet Screens (e.g., iPad, Tablets) */
@media (max-width: 1024px) {
    .herosection {
        padding: 120px 60px;
        height: 500px;
    }

    .herosection h1 {
        font-size: 40px;
    }

    .hero-card-row {
        margin-top: -50px;
    }

    .home-req-section {
        padding: 120px 60px;
    }

    .why-desc {
        max-width: 100%;
        font-size: 20px;
        line-height: 1.6;
    }

    .section-header {
        padding: 120px 60px;
        text-align: center;
    }

    .section-header h1 {
        font-size: 40px;
    }
}

/* Mobile Screens (e.g., Smartphones) */
@media (max-width: 768px) {
    .herosection {
        padding: 80px 20px;
        height: 500px;
        background-position: top center; /* Focus on the top of the image */
        text-align: center; /* Center text for mobile layouts */
    }

    .herosection h1 {
        font-size: 32px;
    }

    .why-desc {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.6;
    }

    .home-cards {
        margin-bottom: 60px;
    }

    .home-req-section {
        padding: 80px 20px;
    }

    .section-header {
        padding: 80px 20px;
        text-align: center;
    }

    .section-header h1 {
        font-size: 32px;
    }
}
