/* Color Palette Configurations */
:root {
    --primary-color: #3b71ca;
    --star-color: #ffc107;
    --card-bg: #ffffff;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

/* Essential Header Badge */
.badge-custom {
    position: absolute; top: -6px; right: -9px;
    background-color: #4f86c6; color: white;
    font-size: 0.65rem; padding: 2px 6px; border-radius: 50%;
}

/* Hero Slider Settings */
.slider-wrapper { overflow: hidden; cursor: grab; user-select: none; }
.slider-wrapper:active { cursor: grabbing; }
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform; }

.slide-item {
    min-width: 100%;
    flex-shrink: 0;
    min-height: 550px; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 1;
    
}

/* Ensure the track or parent container manages layouts relative to slides */
  /* Ensure the track elements function properly */
    .slider-track {
        display: flex;
    }

    /* Style for each slide item */
    .slide-item {
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%; 
        min-height: 500px; /* Adjust height according to your existing design */
    }

    /* Ultra-light global overlay applied to ALL banners */
    .slide-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;        
    }

    /* Ensures any heading, buttons, or text content inside the banners sits cleanly on top of the overlay */
    .slide-item > * {
        position: relative;
        z-index: 2;
    }

.custom-nav-link { transition: color 0.2s ease-in-out; }
.custom-nav-link:hover { color: #689dec !important; }

/* Grid Hover Zoom Effect */
.grid-zoom-img {
    transition: transform 0.5s ease-in-out !important;
    will-change: transform;
}
.overflow-hidden:hover .grid-zoom-img {
    transform: scale(1.05) !important;
}


  /* Ensure the container can hold the absolute positioned overlay */
    .image-hover-wrapper {
        position: relative;
    }

    /* Transparent cover overlay (initially hidden) */
    .image-hover-wrapper .transparent-cover {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* 40% dark transparent cover */
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    /* Reveal the transparent cover on hover */
    .image-hover-wrapper:hover .transparent-cover {
        opacity: 1;
    }

    /* Custom Round & Big Button Styles */
    .custom-view-btn {
        width: 100px;
        height: 75px;
        border-radius: 10% !important; /* Perfect circle */
        border: 2px solid #0056b3 !important; /* Custom theme border color */
        background-color: #ffffff !important; /* Custom theme background color */
        color: #0056b3 !important; /* Text and Icon color */
        display: flex;
        flex-direction: column; /* Stack icon on top of text */
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 0; 
        font-size: 11px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    /* Custom color change when hovering directly over the button */
    .custom-view-btn:hover {
        background-color: #ffffff !important; /* Changes to white */
        color: #0056b3 !important; /* Changes to theme color */
        border-color: #ffffff !important;
        transform: scale(1.05); /* Slight pop effect */
    }

    /* Forces the SVG icon to inherit color changes and sizes perfectly */
    .custom-view-btn svg {
        fill: currentColor;
        width: 22px;
        height: 22px;
        margin-bottom: 2px; /* Spacing between icon and text */
    }

/* all motor models  */
/* all motor models */
/* ========================================== */
/* Clean & Perfect Feedback Section Styles    */
/* ========================================== */
.aq-fans-feedback-section {
    background-color: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.aq-fans-feedback-header h2 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2.25rem;
}

.aq-fans-feedback-header p {
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 600;
}

.aq-fans-testimonial-viewport {
    position: relative;
    padding: 0 15px; 
}

.aq-fans-track-wrapper {
    overflow: hidden;
    cursor: grab;
    width: 100%;
}

.aq-fans-track-wrapper:active {
    cursor: grabbing;
}

.aq-fans-track {
    display: flex;
    transition: transform 0.4s ease-out;
    will-change: transform;
    width: 100%;
}

.feedback-slide-col {
    flex-shrink: 0;
    flex-grow: 0;
}

/* Card Styling - Exact copy of provided image layout */
.aq-fans-testimonial-card {
    background: var(--card-bg);
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;

       
}

.aq-fans-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.aq-fans-quote-mark {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 5rem;
    color: #e0e0e0;
    line-height: 1;
    font-family: serif;
    opacity: 0.5;
    pointer-events: none;
}

/* Vector Profile Placeholder Icon Styling */
.user-icon-container {
    width: 70px;
    height: 70px;
    border: 2px solid #212529;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.user-placeholder-icon {
    font-size: 2.5rem;
    color: #212529;
}

.aq-fans-feedback-subject {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.aq-fans-stars {
    color: var(--star-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.aq-fans-testimonial-text {
    color: #666666;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.aq-fans-location {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #999999;
    text-transform: uppercase;
}

/* Slider Nav Arrows Overlay configuration */
.aq-fans-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #4a80ed;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 128, 237, 0.3);
}

.aq-fans-nav-arrow i {
    font-size: 1.25rem;
}

.aq-fans-nav-arrow:hover {
    background: #3367d6;
    transform: translateY(-50%) scale(1.05);
}

.aq-fans-arrow-left { left: -10px; }
.aq-fans-arrow-right { right: -10px; }

@media(max-width: 768px) {
    .aq-fans-nav-arrow { width: 38px; height: 38px; }
    .aq-fans-arrow-left { left: 2px; }
    .aq-fans-arrow-right { right: 2px; }
}

/* all motors model */
/* ALL MOTOR MODELS - ABSOLUTE ALIGNMENT WITH HOVER EFFECTS */
.section-title {
    font-family: 'Times New Roman', serif;
    font-size: 26px;
    letter-spacing: 1px;
    color: #1a1a1a;
}

/* Arrow Buttons Styling */
.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #538ce7; 
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background-color: #3b7ddd;
}

/* Horizontal Scroll Container (Drag + Scroll Friendly) */
.product-scroll-container {
    overflow-x: auto; 
    scroll-behavior: smooth;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch; 
    cursor: grab; 
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.product-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-scroll-container:active {
    cursor: grabbing;
}

/* Original Card Dimension Structure */
.product-card {
    flex: 0 0 calc(25% - 12px); /* Exact 4 items in grid view */
    min-width: 260px; /* Mobile slider logic fallback */
    background: white;
    display: flex;
    flex-direction: column;
    user-select: none; 
}

.product-titles {
    font-family: Garamond, serif; 
    font-size: 15px; 
    font-weight: bold; 
    margin-top: 12px; 
    line-height: 1.4; 
}

.image-box {
    position: relative;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    height: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #fff;
}


/* --- Double Image Hover Logic --- */
.image-box img {
    max-width: 80%;
    max-height: 140px; /* Scaled slightly down so it fits perfectly with the new button */
    object-fit: contain;
    position: absolute;
    top: 45%; /* Shifted up slightly to center above the button */
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease-in-out; /* Smooth shifting */
}

.img-back {
    opacity: 0; /* Shuru me hidden */
}

/* Hover par images switch hongi */
.product-card:hover .img-front {
    opacity: 0;
}

.product-card:hover .img-back {
    opacity: 1;
}

.content-box {
    margin-top: 15px;
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}

/* --- Custom Add to Cart Pill Button --- */
.aq-cart-btn-custom {
    background-color: #0056b3 !important;
    color: #ffffff !important;
    border: 2px solid #0056b3 !important;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
    width: 85%;
    position: absolute;
    bottom: 15px;
    z-index: 5;
}

.aq-cart-btn-custom:hover {
    background-color: #ffffff !important;
    color: #0056b3 !important;
    border-color: #0056b3 !important;
    transform: scale(1.02);
}

/* Viewports for responsiveness without layout breakage */
@media (max-width: 992px) {
    .product-card {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (max-width: 576px) {
    .product-card {
        flex: 0 0 calc(100% - 5px);
    }
}





/* all motors model close */

/* Footer Section Custom Overrides */
.custom-footer-bg { background-color: #b3d1ff; }
.footer-link { color: #2b303a; text-decoration: none; transition: color 0.2s ease-in-out; }
.footer-link:hover { color: #000000; text-decoration: underline; }
.custom-subscribe-btn { background-color: #212529; color: #ffffff; border: none; }
.custom-subscribe-btn:hover { background-color: #3b4248; color: #ffffff; }

.image-hover-wrapper{
    border:1px solid #d3d3d3;   /* grey border */
    border-radius:12px;
    box-shadow:0 6px 18px rgba(0,0,0,0.10); /* soft modern shadow */
    transition:0.3s ease;
}

.image-hover-wrapper:hover{
    box-shadow:0 10px 25px rgba(0,0,0,0.18);
    transform:translateY(-2px);
}