
.home__flex {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: -10px;
}

.home-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.home-button {
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 140px;
    flex: 1;
    max-width: 200px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.home-button::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;
}

.home-button:hover::before {
    left: 100%;
}

.buy-car {
    background: linear-gradient(135deg, #4caf50, #45a049);
}

.buy-car:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.sell-car {
    background: linear-gradient(135deg, #2196f3, #1e88e5);
}

.sell-car:hover {
    background: linear-gradient(135deg, #1e88e5, #1976d2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.warranty {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.warranty:hover {
    background: linear-gradient(135deg, #f57c00, #ef6c00);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.home-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Tablet styles */
@media (max-width: 768px) {
    .home__flex {
        padding: 15px;
    }
    
    .home-btn {
        gap: 10px;
    }
    
    .home-button {
        padding: 12px 16px;
        font-size: 14px;
        min-width: 100px;
        max-width: 150px;
        flex: 1;
    }
}

/* Mobile styles - Keep buttons in one line */
@media (max-width: 480px) {
    .home__flex {
        padding: 10px;
    }
    
    .home-btn {
        gap: 8px;
    }
    
    .home-button {
        padding: 12px 14px;
        font-size: 13px;
        border-radius: 6px;
        min-width: 80px;
        max-width: 120px;
        flex: 1;
    }
}

/* Extra small mobile - Still keep inline */
@media (max-width: 320px) {
    .home__flex {
        padding: 8px;
    }
    
    .home-btn {
        gap: 6px;
    }
    
    .home-button {
        padding: 10px 12px;
        font-size: 12px;
        min-width: 70px;
        max-width: 100px;
        flex: 1;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .home-btn {
        gap: 20px;
    }
    
    .home-button {
        padding: 16px 32px;
        font-size: 17px;
        min-width: 160px;
        max-width: 220px;
    }
}

/* Very small screens - compact inline layout */
@media (max-width: 280px) {
    .home-btn {
        gap: 4px;
    }
    
    .home-button {
        padding: 8px 10px;
        font-size: 11px;
        min-width: 60px;
        max-width: 85px;
    }
}




.mySwiper {
                width: 100%;
                padding: 0; /* Remove padding to allow full width */
                position: relative;
                overflow: visible; /* Ensure buttons are not clipped */
                touch-action: pan-y;
                -webkit-user-select: none;
                user-select: none;
                -webkit-touch-callout: none;
            }

            .swiper-wrapper {
                align-items: stretch;
                width: 100%;
                height: auto;
                display: flex;
            }

            .swiper-slide {
                width: 300px;
                height: 400px;
                display: flex;
                justify-content: center;
                align-items: center;
                opacity: 1;
                transition: opacity 0.3s ease, transform 0.3s ease;
                flex-shrink: 0;
            }

            .car-card {
                background: #fff;
                transition: transform 0.3s ease;
                width: 300px;
                height: 400px;
                margin: 0 auto;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                display: flex;
                flex-direction: column;
                overflow: hidden;
                border-radius: 10px;
            }

            .car-card:hover {
                transform: translateY(-5px);
            }

            .image-container {
                width: 100%;
                height: 200px;
                position: relative;
                overflow: hidden;
                border-top-left-radius: 10px;
                border-top-right-radius: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: #f5f5f5;
            }

            .car-image {
                width: 100%;
                height: 200px;
                object-fit: cover;
                display: block;
            }

            .car-image-placeholder {
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
            }

            .content-container {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                padding: 0.75rem;
            }

            /* Navigation buttons styles */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 100;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: absolute;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.05);
}

.swiper-button-next:active,
.swiper-button-prev:active {
    transform: translateY(-50%) scale(0.95);
}

.swiper-button-prev {
    left: -20px;
}

.swiper-button-next {
    right: -20px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive styles for Swiper buttons */
@media (max-width: 767px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-prev {
        left: -10px;
    }

    .swiper-button-next {
        right: -10px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Add smooth transition to the carousel container */
.carousel-container {
    transition: all 0.3s ease;
    padding: 0 30px;
}

@media (max-width: 767px) {
    .carousel-container {
        padding: 0 15px;
    }
}

/* Swiper slide and card touch fix */
.swiper-slide, .car-card, .content-container {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

/* Allow text selection for price/location/odometer only if needed */
.content-container h3, .content-container p, .content-container span {
    user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
}


        @media (max-width: 767px) {
            .warranty-features {
                margin-top: 20px !important;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 14px;
            }
            
            .feature {
                display: flex;
                align-items: center;
                margin-bottom: 0 !important;
                width: 100%;
            }
            
            .feature div:first-child {
                width: 38px !important;
                height: 38px !important;
                margin-right: 14px !important;
                flex-shrink: 0;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .feature h4 {
                font-size: 0.95rem !important;
                margin: 0;
            }
            
            .feature p {
                font-size: 0.85rem !important;
                margin: 0;
                line-height: 1.2;
            }
            
            .feature > div:last-child {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }
        }

        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
    
        /* Container */
        .container {
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
        }
    
        /* Colors */
        :root {
            --primary-yellow: #FFC107;
            --text-secondary: #666;
            --gray-400: #9CA3AF;
            --card-bg: #fff;
            --shadow: rgba(0, 0, 0, 0.1);
            --input-bg: #f5f5f5;
            --input-border: #e0e0e0;
            --input-focus: #FFC107;
            --body-color: #fff;
            --black: #000;
        }
    
        /* Typography */
        .logo-font {
            font-family: 'Arial Black', sans-serif;
        }
    
        .text-primary-yellow {
            color: var(--first-color);
            cursor: pointer;
        }
    
        .text-primary-yellow:hover {
            color: var(--first-color-alt);
        }
    
        .text-text-secondary {
            color: var(--text-secondary);
        }
    
        /* Buttons */
        .primary-btn {
            background: linear-gradient(135deg, #4f35c2 0%, #4126a7 100%);
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(79, 53, 194, 0.2);
            position: relative;
            overflow: hidden;
        }
    
        .primary-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(79, 53, 194, 0.3);
            background: linear-gradient(135deg, #5a3fd9 0%, #4f35c2 100%);
        }
    
        .primary-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 10px rgba(79, 53, 194, 0.2);
        }
    
        .primary-btn svg {
            width: 20px;
            height: 20px;
            margin-right: 8px;
            transition: transform 0.3s ease;
        }
    
        .primary-btn:hover svg {
            transform: scale(1.1);
        }
    
        /* Search and Filter Styles */
        .search-container {
            box-shadow: 0 2px 10px #3d58a4;
            margin-top: 0;
            margin-bottom: 10px;
            width: 100%;
            background: #fff;
            border-radius: 10px;
            padding: 0.75rem;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }
    
        .search-filter-wrapper {
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
    
        .search-wrapper {
            position: relative;
            flex: 1 1 100%;
            min-width: 240px;
        }
    
        .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
        }
    
        .search-input {
            width: 100%;
            height: 40px;
            padding: 10px 16px 10px 40px;
            border: 1px solid var(--first-color);
            border-radius: 8px;
            font-size: 14px;
            background-color: var(--body-color);
            transition: all 0.2s ease;
            color: #000;
        }
    
        .search-input:focus {
            border-color: var(--first-color-alt);
            box-shadow: 0 0 0 3px var(--header);
            outline: none;
        }
    
        .filter-wrapper {
            display: flex;
            gap: 10px;
            width: 100%;
            justify-content: center;
            align-items: center;
        }
    
        .filter-input {
            height: 40px;
            padding: 8px 14px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background-color: #fafafa;
            font-size: 14px;
            flex: 1 1 300px;
            max-width: 400px;
            min-width: 200px;
            transition: all 0.2s ease;
            color: #000;
        }
    
        .filter-input:focus {
            border-color: var(--first-color);
            box-shadow: 0 0 0 3px var(--header);
            outline: none;
        }
    
        .sort-select {
            height: 40px;
            padding: 8px 14px;
            border: 1px solid var(--first-color);
            border-radius: 8px;
            background-color: var(--body-color);
            font-size: 14px;
            width: 100%;
            transition: all 0.2s ease;
            color: #000;
        }
    
        .sort-select:focus {
            border-color: var(--first-color-alt);
            box-shadow: 0 0 0 3px var(--header);
            color: #000;
            outline: none;
        }
    
        .reset-button {
            height: 40px;
            padding: 8px 20px;
            background-color: #1E3A8A;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            flex: 0 0 auto;
            min-width: 110px;
        }
    
        .reset-button:hover {
            background-color: var(--first-color-alt);
        }
    
        /* Warranty Badge for Car Cards */
        .warranty-badge-small {
            position: absolute;
            top: 12px;
            right: 12px;
            background: linear-gradient(135deg, #3aa042, #4fc55e);
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 6px 12px;
            border-radius: 16px;
            z-index: 10;
            display: flex;
            align-items: center;
            box-shadow: 0 3px 8px rgba(67,176,74,0.3);
            border: 1px solid rgba(255,255,255,0.4);
            transition: all 0.3s ease;
        }
    
        .warranty-badge-small:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 10px rgba(67,176,74,0.35);
        }
    
        /* Animation */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .warranty-badge-pulse {
            animation: pulse 2s infinite ease-in-out;
        }
    
        /* Warranty Badge Styling */
        .warranty-container {
            display: flex;
            justify-content: center;
            margin: 20px auto;
            padding: 0 15px;
            max-width: 100%;
        }
    
        .warranty-badge {
            background: linear-gradient(90deg, #4f35c2 0%, #6a5acd 100%);
            color: #fff;
            font-weight: bold;
            padding: 10px 25px;
            border-radius: 30px;
            box-shadow: 0 4px 15px rgba(79,53,194,0.3);
            border: 2px solid rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            animation: glow 1.5s ease-in-out infinite alternate;
            font-size: 1rem;
            transition: all 0.3s;
        }

        /* Responsive styles for warranty-badge */
        @media (max-width: 600px) {
            .warranty-badge {
                padding: 7px 14px;
                font-size: 0.85rem;
                border-radius: 20px;
                min-width: 0;
                flex-wrap: wrap;
                text-align: center;
            }
            .warranty-badge .icon {
                font-size: 16px;
                margin-right: 6px;
            }
            .price-symbol, .price-value {
                font-size: 1rem;
            }
        }

        @media (max-width: 400px) {
            .warranty-badge {
                padding: 5px 8px;
                font-size: 0.75rem;
                border-radius: 14px;
            }
            .warranty-badge .icon {
                font-size: 14px;
                margin-right: 4px;
            }
            .price-symbol, .price-value {
                font-size: 0.9rem;
            }
        }

        .icon {
            margin-right: 10px;
            font-size: 20px;
            background: linear-gradient(45deg, #50c878, #3cb371);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            filter: drop-shadow(0 0 5px rgba(67,176,74,0.7));
            display: flex;
            align-items: center;
        }
    
        .price-symbol {
            background: linear-gradient(45deg, #50c878, #3cb371);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 10px rgba(67,176,74,0.5);
            font-weight: 900;
        }
    
        .price-value {
            color: #ffffff;
            text-shadow: 0 0 15px rgba(255,255,255,0.8);
            font-weight: 900;
        }
    
        @keyframes glow {
            0% {
                box-shadow: 0 4px 15px rgba(79,53,194,0.3);
            }
            100% {
                box-shadow: 0 5px 20px rgba(79,53,194,0.6);
            }
        }
    
        /* Contact Buttons (Phone and WhatsApp) */
        .contact-buttons {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            z-index: 1000;
        }
    
        .contact-button {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 20px;
            border-radius: 30px;
            text-decoration: none;
            color: #fff;
            font-weight: 600;
            font-size: 1rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }
    
        .phone-button {
            background: linear-gradient(90deg, #2196f3, #1976d2);
        }
    
        .phone-button:hover {
            background: linear-gradient(90deg, #1e88e5, #1565c0);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }
    
        .whatsapp-button {
            background: linear-gradient(90deg, #25d366, #20b358);
        }
    
        .whatsapp-button:hover {
            background: linear-gradient(90deg, #20b358, #1a9447);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }
    
        .contact-button i {
            margin-right: 8px;
            font-size: 1.2rem;
        }
    
        /* Responsive styles for contact buttons */
        @media (max-width: 767px) {
            .contact-button {
                width: 48px;
                height: 48px;
                padding: 0;
                border-radius: 50%;
                justify-content: center;
                align-items: center;
                font-size: 1.2rem;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
                transition: width 0.3s, border-radius 0.3s, background 0.3s;
                overflow: hidden;
            }
            .contact-button i {
                margin-right: 0;
                font-size: 1.4rem;
            }
            .contact-button span.button-text {
                display: none;
                opacity: 0;
                transition: opacity 0.3s;
            }
        }
        @media (min-width: 768px) {
            .contact-button {
                width: auto;
                height: auto;
                border-radius: 30px;
                padding: 12px 20px;
            }
            .contact-button span.button-text {
                display: inline;
                opacity: 1;
            }
            .contact-button i {
                margin-right: 8px;
            }
        }


/* Contact Buttons (Phone and WhatsApp) */
.contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.phone-button {
    background: linear-gradient(90deg, #2196f3, #1976d2);
}

.phone-button:hover {
    background: linear-gradient(90deg, #1e88e5, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-button {
    background: linear-gradient(90deg, #25d366, #20b358);
}

.whatsapp-button:hover {
    background: linear-gradient(90deg, #20b358, #1a9447);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.contact-button i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Responsive styles for contact buttons */
@media (max-width: 767px) {
    .contact-button {
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: width 0.3s, border-radius 0.3s, background 0.3s;
        overflow: hidden;
    }
    .contact-button i {
        margin-right: 0;
        font-size: 1.4rem;
    }
    .contact-button span.button-text {
        display: none;
        opacity: 0;
        transition: opacity 0.3s;
    }
}

@media (min-width: 768px) {
    .contact-button {
        width: auto;
        height: auto;
        border-radius: 30px;
        padding: 12px 20px;
    }
    .contact-button span.button-text {
        display: inline;
        opacity: 1;
    }
    .contact-button i {
        margin-right: 8px;
    }
}


    /* Warranty Container Styling */
.warranty-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* Warranty Card Styling */
.warranty-card {
    background: linear-gradient(135deg, #5a40d0 0%, #7869e6 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(79,53,194,0.2);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}

/* Warranty Ribbon Styling */
.warranty-ribbon {
    background: linear-gradient(90deg, #3aa042, #4fc55e);
    padding: 12px 0;
    text-align: center;
    position: relative;
}

.warranty-ribbon h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.warranty-ribbon i {
    margin-right: 10px;
    font-size: 1.2em;
    vertical-align: middle;
}

/* Warranty Content Styling */
.warranty-content {
    padding: 30px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-direction: row;
}

/* Warranty Badge Styling (Mobile and Desktop) */
.warranty-badge {
    flex: 0 0 auto;
    text-align: center;
    min-width: 180px;
    max-width: 100%;
    
}

.warranty-badge.mobile-first {
    margin: 0 0 20px 0;
}

.warranty-badge.desktop {
    margin: 0 0 0 0;
}

.warranty-badge > div {
    position: relative;
}

.warranty-badge div[style*="width: 160px"] {
    background: #fff;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.warranty-badge div[style*="width: 150px"] {
    background: linear-gradient(45deg, #3aa042, #4fc55e);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warranty-badge div[style*="text-align: center"] {
    text-align: center;
}

.warranty-badge div[style*="font-size: 2.8rem"] {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.warranty-badge div[style*="font-size: 1.1rem"] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.warranty-badge div[style*="font-size: 1rem"] {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 6px;
}

.warranty-badge div[style*="background: #ff6b6b"] {
    position: absolute;
    bottom: -5px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 18px;
    transform: rotate(8deg);
    box-shadow: 0 3px 8px rgba(255,107,107,0.3);
}

.warranty-badge div[style*="background: #ff6b6b"] i {
    margin-right: 5px;
}

.warranty-badge a {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(90deg, #ff9800, #f57c00);
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(255,152,0,0.3);
    transition: all 0.3s ease;
}

.warranty-badge a i {
    margin-right: 8px;
}

/* Warranty Text Styling */
.warranty-text {
    flex: 1;
    min-width: 320px;
    padding-right: 30px;
    position: relative;
    width: 100%;
    order: 1;
}

.warranty-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.warranty-text h2 span {
    display: block;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-top: 8px;
}

.warranty-text p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.9);
}

.warranty-text p span {
    color: #ff9800;
}

/* Warranty Features Styling */
.warranty-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.feature div:first-child {
    background: linear-gradient(135deg, #ffca28, #ffa000);
    width: 44px;
       height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    box-shadow: 0 4px 10px rgba(255,193,7,0.3);
}

.feature i {
    color: #fff;
    font-size: 1.2rem;
}

.feature h4 {
    margin: 0 0 5px 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.feature p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.feature p span {
    color: #ff9800;
}

.warranty-text a {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(90deg, #2196f3, #1976d2);
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(33,150,243,0.3);
    transition: all 0.3s ease;
}

.warranty-text a i {
    margin-right: 8px;
}

/* Warranty Footer Styling */
.warranty-footer {
    background-color: rgba(0,0,0,0.15);
    padding: 16px 25px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.12);
}
/* Navigation buttons styles */
.swiper-button-next,
.swiper-button-prev {
    width: 40px; /* Reduced from 48px to make it thinner */
    height: 40px; /* Height unchanged */
    background: #444444; /* Dark gray background matching the image */
    color: #ffffff; /* White arrow color */
    border-radius: 8px; /* Rounded corners to match the image */
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 100;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none; /* No shadow, as per the image */
    border: none; /* No border, as per the image */
    position: absolute;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #555555; /* Slightly lighter gray on hover for a professional touch */
    transform: translateY(-50%) scale(1.05); /* Subtle scale effect for interactivity */
}

.swiper-button-next:active,
.swiper-button-prev:active {
    transform: translateY(-50%) scale(0.95); /* Subtle press effect */
    background: #3a3a3a; /* Slightly darker on click */
}

.swiper-button-prev {
    left: -10px; /* Close to the carousel edge, as in the image */
}

.swiper-button-next {
    right: -10px; /* Close to the carousel edge, as in the image */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px; /* Larger arrow size to match the thick chevron in the image */
    font-weight: 900; /* Extra bold to match the thickness */
}

.swiper-button-disabled {
    opacity: 0.5; /* Subtle opacity for disabled state */
    cursor: not-allowed;
    background: #555555; /* Slightly lighter gray for disabled state */
}

/* Focus state for accessibility */
.swiper-button-next:focus,
.swiper-button-prev:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 53, 194, 0.3); /* Subtle focus ring using your theme color */
}

/* Responsive styles for Swiper buttons */
@media (max-width: 767px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px; /* Reduced from 44px to make it thinner on mobile */
        height: 36px; /* Height unchanged */
    }

    .swiper-button-prev {
        left: -8px; /* Adjusted for mobile */
    }

    .swiper-button-next {
        right: -8px; /* Adjusted for mobile */
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px; /* Slightly smaller arrow on mobile */
    }
}

/* Subtle fade-in animation for a polished appearance */
@keyframes buttonFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.swiper-button-next,
.swiper-button-prev {
    animation: buttonFadeIn 0.5s ease forwards;
}


/* Updated Warranty Badge Responsive Styles */
@media (max-width: 767px) {
    .warranty-content {
        padding: 20px !important;
        flex-direction: column !important;
        align-items: stretch;
    }
    .warranty-text {
        padding-right: 0 !important;
        min-width: 100% !important;
    }
    .warranty-text h2 {
        font-size: 1.8rem !important;
    }
    .warranty-text h2 span {
        font-size: 1.25rem !important;
    }
    .warranty-text p {
        font-size: 0.95rem !important;
    }
    .warranty-badge {
        min-width: 100% !important;
        padding: 15px !important;
        margin-bottom: 20px !important;
    }
    .warranty-badge div[style*="width: 160px"] {
        width: 120px !important;
        height: 120px !important;
    }
    .warranty-badge div[style*="width: 150px"] {
        width: 110px !important;
        height: 110px !important;
    }
    .warranty-badge div[style*="font-size: 2.8rem"] {
        font-size: 2rem !important;
    }
    .warranty-badge div[style*="font-size: 1.1rem"] {
        font-size: 0.9rem !important;
    }
    .warranty-badge div[style*="font-size: 1rem"] {
        font-size: 0.8rem !important;
    }
    .warranty-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 14px !important;
    }
    .warranty-footer p {
        font-size: 0.9rem !important;
    }
    .trust-badges {
        justify-content: center;
        gap: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .warranty-content {
        padding: 25px !important;
        flex-direction: column !important;
    }
    .warranty-text {
        padding-right: 0 !important;
        min-width: 100% !important;
    }
    .warranty-text h2 {
        font-size: 2rem !important;
    }
    .warranty-text h2 span {
        font-size: 1.35rem !important;
    }
    .warranty-text p {
        font-size: 1rem !important;
    }
    .warranty-badge {
        min-width: 100% !important;
        padding: 18px !important;
        margin-top: 25px !important;
    }
    .warranty-ribbon h3 {
        font-size: 1.1rem !important;
    }
    .warranty-badge div[style*="width: 160px"] {
        width: 130px !important;
        height: 130px !important;
    }
    .warranty-badge div[style*="width: 150px"] {
        width: 120px !important;
        height: 120px !important;
    }
    .warranty-footer {
        padding: 14px !important;
    }
}

@media (min-width: 1024px) {
    .warranty-content {
        padding: 25px !important;
        flex-direction: row !important;
        align-items: center;
    }
    .warranty-text {
        padding-right: 25px !important;
        min-width: 50% !important;
    }
    .warranty-text h2 {
        font-size: 2.1rem !important;
    }
    .warranty-text h2 span {
        font-size: 1.4rem !important;
    }
    .warranty-badge {
        min-width: 220px !important;
        padding: 18px !important;
        margin-left: 30px !important;
    }
    .warranty-ribbon h3 {
        font-size: 1.15rem !important;
    }
}

@media (max-width: 900px) {
    .warranty-content {
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
    }
    .warranty-badge {
        min-width: 180px !important;
        max-width: 100%;
        margin: 0 0 20px 0;
        padding: 10px !important;
    }
    .warranty-text {
        min-width: 220px !important;
        padding-right: 0 !important;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .warranty-content {
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    .warranty-badge {
        min-width: 160px !important;
        max-width: 100%;
        margin: 0 auto 20px auto;
        padding: 10px !important;
    }
    .warranty-text {
        min-width: 0 !important;
        width: 100%;
        padding-right: 0 !important;
        margin: 0 auto;
    }
}

/* Ensure proper ordering for flex layout */
.warranty-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.warranty-text {
    order: 1;
}
.warranty-badge {
    order: 2;
}


.span:hover {
            color: #5224a8;
            cursor: pointer;
            transition: 0.4s;
        }
    
        .span {
            position: relative;
            display: inline-block;
            font-size: 1.2rem;
            font-family: Arial, sans-serif;
            color: #6a5acd;
            font-weight: 600;
        }
    
        .span::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 6px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:%23333;stop-opacity:1" /><stop offset="100%" style="stop-color:%23333;stop-opacity:0.3" /></linearGradient></defs><path fill="none" stroke="url(%23grad)" stroke-width="2.5" d="M0,8 Q50,0 100,8"/></svg>');
            background-size: 100% 100%;
        }