/**
 * Mighty Mahindra brand colors
 * Primary navy: #1e2b56
 * Background:    #ffffff
 * Footer blue:   #006ad0
 */

:root {
    --bs-primary: #1e2b56;
    --bs-primary-rgb: 30, 43, 86;
    --bs-secondary: #1e2b56;
    --bs-secondary-rgb: 30, 43, 86;
    --brand-navy: #1e2b56;
    --brand-navy-dark: #162044;
    --brand-navy-light: #2a3d72;
    --brand-footer: #006ad0;
    --brand-footer-dark: #005bb5;
    --brand-footer-rgb: 0, 106, 208;
}

body,
.main-wrapper {
    background-color: #ffffff;
}

/* Primary actions & accents */
.btn-primary {
    --bs-btn-bg: var(--brand-navy);
    --bs-btn-border-color: var(--brand-navy);
    --bs-btn-hover-bg: var(--brand-navy-dark);
    --bs-btn-hover-border-color: var(--brand-navy-dark);
    --bs-btn-active-bg: var(--brand-navy-dark);
    --bs-btn-active-border-color: var(--brand-navy-dark);
}

.btn-secondary {
    --bs-btn-bg: var(--brand-footer);
    --bs-btn-border-color: var(--brand-footer);
    --bs-btn-hover-bg: var(--brand-footer-dark);
    --bs-btn-hover-border-color: var(--brand-footer-dark);
    --bs-btn-active-bg: var(--brand-footer-dark);
    --bs-btn-active-border-color: var(--brand-footer-dark);
}

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

.bg-primary {
    background-color: var(--brand-navy) !important;
}

.border-primary {
    border-color: var(--brand-navy) !important;
}

.bg-secondary,
.text-secondary {
    --bs-secondary: var(--brand-navy);
    --bs-secondary-rgb: 30, 43, 86;
}

.bg-secondary {
    background-color: var(--brand-navy) !important;
}

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

.bg-secondary-gradient {
    background: linear-gradient(180deg, var(--brand-navy) 0%, rgba(30, 43, 86, 0.88) 100%) !important;
}

/* Header */
.header-style-one .at_topbar {
    background: linear-gradient(90deg, var(--brand-footer) 0%, var(--brand-footer-dark) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.header-style-one .at_topbar .tp-info p {
    color: #ffffff;
    font-weight: 600;
}

.header-style-one .at_topbar .icon-wrapper {
    color: #ffffff;
    opacity: 0.9;
}

.header-sticky.sticky-on {
    background: var(--brand-navy) !important;
}

.at_nav_menu ul li.has-submenu .submenu-wrapper,
.at_nav_menu ul li.has-submenu .at_megamenu_style_1 {
    background: var(--brand-navy-dark) !important;
}

.at_nav_menu ul li a:hover,
.at_nav_menu ul li.has-submenu:hover > a {
    color: #ffffff !important;
}

.header-toggle-btn span {
    background-color: var(--brand-navy);
}

.header-sticky.sticky-on .header-toggle-btn span {
    background-color: #ffffff;
}

/* Decorative shapes & progress */
.at-section-title .at-subtitle.shape-primary::after,
.sr-section-title h2 .shape-primary::after,
.sr-section-title .h2 .shape-primary::after {
    border-color: var(--brand-navy) !important;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--brand-navy) !important;
}

/* Footer */
.footer-style-3 {
    background-color: transparent !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.footer-style-3 .footer-wrapper {
    background: transparent !important;
    padding-top: 50px !important;
    padding-bottom: 60px !important;
}

.footer-style-3 .footer-wrapper::before {
    background: transparent !important;
}

.footer-style-3.footer-section .footer-wrapper {
    background-color: transparent !important;
}

.footer-section .footer-wrapper {
    background-color: var(--brand-footer) !important;
}

.footer-section .footer-wrapper::before {
    background: linear-gradient(180deg, var(--brand-footer) 0%, var(--brand-footer-dark) 100%) !important;
}

.footer-section .footer-wrapper[data-background] {
    background-image: none !important;
}

.footer-section .bg-primary {
    background-color: #ffffff !important;
    color: var(--brand-footer) !important;
}

.footer-section .bg-primary i {
    color: var(--brand-footer) !important;
}

.footer-copyright {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

.footer-copyright p a,
.footer-copyright .copyright-links a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-social-list a:hover {
    color: var(--brand-navy) !important;
}

/* Offcanvas & mobile menu accents */
.mobile-menu .logo-wrapper.bg-secondary {
    background-color: var(--brand-navy) !important;
}

.at_offcanvus_menu .btn-primary {
    background-color: var(--brand-footer);
    border-color: var(--brand-footer);
}

.at_offcanvus_menu .btn-primary:hover {
    background-color: var(--brand-footer-dark);
    border-color: var(--brand-footer-dark);
}

/* Scroll to top */
.theme-scrolltop-btn {
    background-color: var(--brand-navy);
}

.theme-scrolltop-btn:hover {
    background-color: var(--brand-footer);
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-footer);
    box-shadow: 0 0 0 0.2rem rgba(0, 106, 208, 0.15);
}

/* Landing page banner slider */
.hero-banner-slider {
    margin-top: -110px;
    background-color: transparent;
    overflow: hidden;
    position: relative;
}

.hero-banner-slider .hero3-slider {
    margin-bottom: 0;
}

.hero-banner-slider .hero-banner-slide {
    padding: 0 !important;
    line-height: 0;
}

.hero-banner-slider .hero-banner-image {
    width: 100%;
    height: clamp(420px, 52vw, 760px);
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-banner-slider .hero3-slider .slick-dots {
    position: absolute;
    left: 50% !important;
    top: auto !important;
    bottom: 28px !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    background: rgba(30, 43, 86, 0.45) !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    height: auto !important;
    padding: 10px 18px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    backdrop-filter: blur(4px);
    list-style: none !important;
}

.hero-banner-slider .hero3-slider .slick-dots li {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: transparent !important;
    cursor: pointer;
    float: none !important;
    line-height: 1 !important;
}

.hero-banner-slider .hero3-slider .slick-dots li.slick-active {
    background: transparent !important;
    width: auto !important;
    height: 12px !important;
}

.hero-banner-slider .hero3-slider .slick-dots li button {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transform: none !important;
    color: transparent !important;
    transition: all 0.25s ease;
}

.hero-banner-slider .hero3-slider .slick-dots li.slick-active button {
    width: 24px !important;
    height: 10px !important;
    border-radius: 999px !important;
    background-color: #ffffff !important;
}

.hero-banner-slider .hero3-slider .slick-dots li:first-child button,
.hero-banner-slider .hero3-slider .slick-dots li:last-child button {
    font-size: 0 !important;
    font-weight: 400 !important;
    transform: none !important;
    width: 10px !important;
    height: 10px !important;
    color: transparent !important;
}

.hero-banner-slider .hero3-slider .slick-dots li:first-child.slick-active button,
.hero-banner-slider .hero3-slider .slick-dots li:last-child.slick-active button {
    width: 24px !important;
    height: 10px !important;
}

.hero-banner-slider + .h3-hero-search-box {
    margin-top: -50px;
}

@media (max-width: 991.98px) {
    .hero-banner-slider .hero-banner-image {
        height: clamp(240px, 50vw, 480px);
    }

    .hero-banner-slider + .h3-hero-search-box {
        margin-top: -30px;
    }
}

@media (max-width: 575.98px) {
    .hero-banner-slider .hero3-slider .slick-dots {
        bottom: 16px;
        gap: 8px;
        padding: 6px 12px;
    }

    .hero-banner-slider + .h3-hero-search-box {
        margin-top: 0;
    }
}

.finance-offer-actions {
    margin-top: 32px;
}

.finance-offer-btn {
    display: inline-flex;
    align-items: center;
    min-width: 210px;
    justify-content: center;
}

@media (min-width: 576px) {
    .finance-offer-actions {
        padding-left: 100px;
    }
}

.bajaj-bike-card .product-card-top {
    background-color: #f4f7fd;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bajaj-bike-card .feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}

/* .bajaj-bike-card .product-card-bottom .product-pricing .offer-price {
    display: inline-block;
    color: #fc0012;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    opacity: 1;
    visibility: visible;
} */

.exchange-section {
    background: #f5f8fd;
    border-top: 1px solid rgba(30, 43, 86, 0.08);
    border-bottom: 1px solid rgba(30, 43, 86, 0.08);
}

.exchange-section .h2-about-item-box {
    border: 1px solid rgba(30, 43, 86, 0.08);
    box-shadow: 0 18px 45px rgba(30, 43, 86, 0.06);
}

.h3-counter-section {
    background-image: url("../img/shapes/texture-shape.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.h3-counter-section .overlay {
    background: linear-gradient(180deg, rgba(30, 43, 86, 0.9) 0%, rgba(30, 43, 86, 0.76) 100%) !important;
}

.h3-counter-section .title-style-2 .subtitle::after {
    border-color: rgba(255, 255, 255, 0.9);
}

.h3-counter-section .bajaj-fact-card {
    height: 100%;
    min-height: 150px;
    padding: 30px 28px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(2, 8, 28, 0.2);
    overflow: hidden;
}

.h3-counter-section .bajaj-fact-card::before,
.h3-counter-section .bajaj-fact-card::after {
    display: none;
}

.h3-counter-section .bajaj-fact-card .icon-wrapper {
    width: 72px;
    height: 72px;
    background-color: var(--brand-navy) !important;
    box-shadow: 0 10px 24px rgba(30, 43, 86, 0.2);
}

.h3-counter-section .bajaj-fact-card h3 {
    color: var(--brand-navy);
    font-size: 36px;
    line-height: 1;
}

.h3-counter-section .bajaj-fact-card .h3-counter-box-right > span {
    color: #575757;
    display: block;
    font-weight: 700;
    line-height: 1.35;
}

.latest-news-card .feature-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
