.body {
    background: #fafafa !important;
}

#header .header-nav-main nav > ul > li > a {
    text-transform: uppercase !important;
}

.w-fc {
    width: fit-content;
}

.bg-custom-light {
    background: #f3f6f6 !important;
}

.homePopupClose {
    top: -15px;
    right: -15px;
}

ul.nav-list li > a.active {
    color: var(--primary);
}

.header-social-icons.social-icons li a {
    width: 34px;
    height: 34px;
    margin-right: 6px;
}

.header-social-icons.social-icons li.icon a {
    line-height: 35px;
    background-color: #dde2ea;
    border-radius: 50%;
    text-align: center;
}

.header-social-icons.social-icons li.icon a i {
    font-size: 15px;
}

.li-col2 {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
}

.header-top .header-top-button-make-as-appoitment {
    width: 65px !important;
}

@media (min-width: 767px) {
    .header-top .header-top-button-make-as-appoitment {
        width: 80px !important;
    }
}

@media (max-width: 600px) {
    .li-col2 {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
}

/* cookie */
#cookie-banner {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    background: #333;
    color: #fff;
    padding: 10px;
    width: 100%;
    text-align: center;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#accept-cookies {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
}

#cookie-banner p {
    font-size: 12px;
    margin: 0;
    color: #fff;
}

#cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 500px) {
    #cookie-banner {
        flex-direction: column;
    }
}

/* cookie ### */

/* --- Contact Page Styles --- */
.contact-page-bg {
    background-color: transparent;
    padding: 40px 0;
}

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f1f1;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.c-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fdeaea;
    color: #e30613;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.c-icon-wrap-sm {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.c-top-text h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 3px 0;
    color: #222;
}

.c-top-text p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

.c-arrow-icon {
    width: 28px;
    height: 28px;
    border: 1px solid #e30613;
    color: #e30613;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: auto;
    transition: all 0.3s ease;
}

.contact-card:hover .c-arrow-icon {
    background-color: #e30613;
    color: #ffffff;
}

.contact-info-wrap {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 35px;
    height: 100%;
    border: 1px solid #f1f1f1;
}

.c-heading-line {
    width: 30px;
    height: 3px;
    background-color: #e30613;
    margin-bottom: 20px;
}

.c-info-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.c-info-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 30px;
}

.c-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.c-info-item-content h6 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.c-info-item-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.c-info-item-content a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.c-info-item-content a:hover {
    color: #e30613;
}

.c-social-links {
    margin-top: 40px;
}

.c-social-links h6 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

.c-social-links .social-icons {
    display: flex;
    gap: 10px;
}

.c-social-links .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.c-social-links .social-icons a:hover {
    background-color: #e30613;
    color: #fff;
}

/* Form Styles */
.c-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.c-form-label span {
    color: #e30613;
}

.c-form-control {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    color: #555;
    background-color: #fafafa;
    box-shadow: none;
    width: 100%;
}

.c-form-control:focus {
    border-color: #e30613;
    box-shadow: 0 0 0 0.2rem rgba(227, 6, 19, 0.1);
    background-color: #fff;
    outline: none;
}

.c-form-control-icon {
    position: relative;
    margin-bottom: 35px;
}

.c-form-control-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.c-form-control-icon span,
.c-form-control-icon label.error {
    position: absolute;
    top: 100%;
    left: 5px;
    font-size: 13px;
    margin-top: 2px;
    color: #e30613;
}

select.c-form-control + span,
select.c-form-control + label.error,
.c-checkbox + span,
.c-checkbox + label.error,
.hr-file-upload + span,
.hr-file-upload + label.error {
    display: inline-block;
    font-size: 13px;
    margin-top: 2px;
    color: #e30613;
}

.c-form-control-icon textarea + i,
.c-form-control-icon .fa-comment-dots {
    top: 20px !important;
    transform: none !important;
}

.c-form-control-icon .c-form-control {
    padding-left: 45px;
}

.c-file-upload {
    border: 2px dashed #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.c-file-upload:hover {
    border-color: #e30613;
    background-color: #fdeaea;
}

.c-file-upload i {
    font-size: 24px;
    color: #888;
    margin-bottom: 8px;
}

.c-file-upload span {
    font-size: 14px;
    color: #666;
    display: block;
}

.c-file-upload span.highlight {
    color: #e30613;
    text-decoration: underline;
    font-weight: 500;
}

.c-file-upload p {
    font-size: 12px;
    color: #999;
    margin: 8px 0 0 0;
}

.c-btn-submit {
    background-color: #e30613;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.c-btn-submit:hover {
    background-color: #c0000d;
    color: #fff;
}

.c-btn-submit i {
    font-size: 12px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c-checkbox {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.c-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #e30613;
    cursor: pointer;
}

.ajax_form span.help-block {
    font-size: .7rem !important;
}

/* --- HR Page Styles --- */
.hr-hero-section {
    position: relative;
    padding: 80px 0;
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hr-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 1;
}

.hr-hero-content {
    position: relative;
    z-index: 2;
}

.hr-heading-line {
    width: 30px;
    height: 4px;
    background-color: #e30613;
    margin-bottom: 20px;
}

.hr-title {
    font-size: 42px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hr-desc {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    max-width: 550px;
}

/* HR Graphic */
.hr-graphic-wrap {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hr-magnify {
    position: relative;
    width: 220px;
    height: 220px;
    border: 14px solid #e30613;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 15px 35px rgba(227, 6, 19, 0.15);
}

.hr-magnify i {
    font-size: 90px;
    color: #e30613;
}

.hr-magnify-handle {
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 50px;
    height: 140px;
    background: #444;
    border-radius: 30px;
    transform: rotate(-45deg);
    box-shadow: inset 8px 0 15px rgba(255, 255, 255, 0.2), 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hr-magnify-handle::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: #222;
    border-radius: 10px;
}

/* HR Small Circles */
.hr-sm-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    color: #e30613;
    font-size: 24px;
    z-index: 3;
    transition: transform 0.3s ease;
}

.hr-sm-circle:hover {
    transform: scale(1.1);
}

.hr-sm-1 {
    top: 15%;
    left: 5%;
}

.hr-sm-2 {
    top: 65%;
    left: -5%;
}

.hr-sm-3 {
    top: 5%;
    right: 15%;
}

.hr-sm-4 {
    top: 55%;
    right: 0;
}

/* Values Section */
.hr-values-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.hr-value-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 20px;
    text-align: center;
    height: 100%;
    border: 1px solid #f1f1f1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.hr-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.hr-value-icon {
    width: 70px;
    height: 70px;
    background: #fdeaea;
    color: #e30613;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px auto;
}

.hr-value-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.hr-value-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Form Section */
.hr-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    height: 100%;
    border: 1px solid #f1f1f1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.hr-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.hr-form-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

.hr-input {
    background-color: #fff;
}

.hr-file-upload {
    padding: 15px 20px !important;
    background-color: #fff !important;
    border-color: #e5e5e5;
}

.hr-form-btn {
    background-color: #e30613;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hr-form-btn:hover {
    background-color: #c0000d;
}

/* --- Static Page Styles --- */
.static-hero-section {
    padding: 60px 0;
    position: relative;
    background-color: #fcfcfc;
    overflow: hidden;
}

.static-hero-bg-arcs {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    border: 1px solid rgba(227, 6, 19, 0.04);
    box-shadow: inset 0 0 0 50px rgba(227, 6, 19, 0.02), inset 0 0 0 100px rgba(227, 6, 19, 0.01);
    z-index: 1;
    pointer-events: none;
}

.static-hero-content {
    position: relative;
    z-index: 2;
}

.static-heading-line {
    width: 30px;
    height: 4px;
    background-color: #e30613;
    margin-bottom: 20px;
}

.static-title {
    font-size: 42px;
    font-weight: 800;
    color: #111;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.static-desc p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.static-image-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
}

.static-image-wrap img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

/* Static Cards Section */
.static-cards-section {
    padding: 20px 0 80px 0;
    background-color: #fcfcfc;
}

.static-value-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    height: 100%;
    border: 1px solid #f1f1f1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.3s ease;
}

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

.s-card-icon {
    width: 65px;
    height: 65px;
    background-color: #fdeaea;
    color: #e30613;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
    margin-right: 25px;
}

.s-card-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-top: 5px;
    margin-bottom: 12px;
}

.s-card-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px; /* Space for the absolute arrow */
}

.s-card-arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 32px;
    height: 32px;
    border: 1px solid #e30613;
    color: #e30613;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.static-value-card:hover .s-card-arrow {
    background-color: #e30613;
    color: #fff;
}

/* --- Brands Page Styles --- */
.brands-hero {
    padding: 60px 0 40px 0;
    background-color: #fcfcfc;
    position: relative;
}

.brands-heading-line {
    width: 30px;
    height: 4px;
    background-color: #e30613;
    margin-bottom: 20px;
}

.brands-title {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.brands-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.brands-section {
    padding: 0 0 80px 0;
    background-color: #fcfcfc;
}

.brand-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
    cursor: pointer;
}

.brand-card img {
    max-width: 100%;
    max-height: 55px; /* Limit height for uniform look */
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(227, 6, 19, 0.08);
    border-color: rgba(227, 6, 19, 0.2);
}

.brand-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.premium-brand {
    padding: 30px;
}

.premium-brand img {
    max-height: 75px;
}

/* --- Engine Page Styles --- */
.engine-hero {
    padding: 60px 0 40px 0;
    background-color: #fcfcfc;
    position: relative;
}

.engine-heading-line {
    width: 30px;
    height: 4px;
    background-color: #e30613;
    margin-bottom: 20px;
}

.engine-title {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.engine-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.engine-section {
    padding: 0 0 80px 0;
    background-color: #fcfcfc;
}

.engine-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
    cursor: pointer;
    text-decoration: none;
}

.engine-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.engine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(227, 6, 19, 0.08);
    border-color: rgba(227, 6, 19, 0.2);
}

.engine-card:hover .engine-card-title {
    color: #e30613;
}

/* --- Engine Detail Page Styles --- */
.engine-detail-hero {
    padding: 60px 0 40px 0;
    background-color: #fcfcfc;
}

.engine-detail-img-wrap {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-detail-img-wrap img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.engine-detail-content {
    padding: 20px 0;
}

.engine-detail-brand {
    font-size: 14px;
    font-weight: 600;
    color: #e30613;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.engine-detail-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

.engine-detail-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Technical Table */
.engine-tech-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
}

.engine-tech-table th,
.engine-tech-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.engine-tech-table tr:last-child th,
.engine-tech-table tr:last-child td {
    border-bottom: none;
}

.engine-tech-table th {
    background-color: #fafafa;
    font-weight: 600;
    color: #333;
    width: 35%;
    border-right: 1px solid #f0f0f0;
}

.engine-tech-table td {
    background-color: #fff;
    color: #555;
}

/* Other Engines Section */
.other-engines-section {
    padding: 60px 0 80px 0;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

.other-engines-title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    text-align: center;
}

.scrollbar-custom::-webkit-scrollbar {
    height: 6px;
}

.scrollbar-custom::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollbar-custom::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.scrollbar-custom::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

#header .header-nav-main nav > ul > li > a.active {
    color: #e30613 !important;
}

/* --- Home Brands Carousel Styles --- */
.brands-carousel-section {
    background-color: #f8f9fa;
}

.brands-carousel-item {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.brands-carousel-item img {
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.brands-carousel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.08);
    border-color: rgba(227, 6, 19, 0.2);
}

.brands-carousel-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.brands-carousel .owl-dots {
    margin-top: 25px !important;
    text-align: center;
}

.brands-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ddd;
    transition: all 0.3s ease;
}

.brands-carousel .owl-dots .owl-dot.active span,
.brands-carousel .owl-dots .owl-dot:hover span {
    background: #e30613;
}


