/* ==========================================================================
   QUALITY ASSURANCE PAGE STYLES (qa.css)
   Bijankur Seeds Pvt. Ltd.
   ========================================================================== */

/* Section Spacing & Backgrounds */
.qa-overview-sec {
    padding: 110px 0;
    background: #ffffff;
}

.qa-lab-sec {
    padding: 110px 0;
    background: #f8faf7;
    position: relative;
}

.qa-field-sec {
    padding: 110px 0;
    background: #ffffff;
}

.qa-processing-sec {
    padding: 110px 0;
    background: #172816;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.qa-commitment-sec {
    padding: 110px 0;
    background: #ffffff;
}

/* Image Wrappers */
.qa-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.qa-img-wrapper img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.qa-img-wrapper:hover img {
    transform: scale(1.04);
}

.qa-img-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 22px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-left: 4px solid var(--cp-color-theme-primary, #65cb3b);
}

.qa-img-badge i {
    font-size: 26px;
    color: var(--cp-color-theme-primary, #65cb3b);
}

.qa-img-badge h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #172816;
}

.qa-img-badge p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* Eye-Catching Laboratory Testing Design: Diagnostic Badged Hex-Tiles */
.qa-lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.qa-lab-tile {
    background: #ffffff;
    border: 1px solid #e2ebe0;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.qa-lab-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--cp-color-theme-primary, #65cb3b);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity 0.35s ease, width 0.35s ease;
}

.qa-lab-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(101, 203, 59, 0.12);
    border-color: var(--cp-color-theme-primary, #65cb3b);
}

.qa-lab-tile:hover::before {
    opacity: 1;
    width: 80px;
}

.qa-lab-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(101, 203, 59, 0.1) 0%, rgba(101, 203, 59, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cp-color-theme-primary, #65cb3b);
    font-size: 28px;
    transition: all 0.35s ease;
}

.qa-lab-tile:hover .qa-lab-icon-box {
    background: var(--cp-color-theme-primary, #65cb3b);
    color: #ffffff;
    transform: rotateY(180deg);
}

.qa-lab-title {
    font-size: 19px;
    font-weight: 700;
    color: #172816;
    margin-bottom: 8px;
}

.qa-lab-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2b7a19;
    background: #eef7eb;
    padding: 4px 12px;
    border-radius: 20px;
}

.qa-lab-status i {
    font-size: 11px;
}

/* Processing Section Custom Styles */
.qa-processing-sec .sub-heading {
    color: #8be562 !important;
}

.qa-processing-sec .section-title {
    color: #ffffff !important;
}

.qa-processing-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.qa-processing-badge i {
    font-size: 36px;
    color: #8be562;
}

.qa-processing-badge h5 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 5px;
}

.qa-processing-badge p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 14px;
}

/* Ground Photos 3D Coverflow Slider Section */
.qa-ground-sec {
    padding: 110px 0;
    background: #f8faf7;
    position: relative;
    overflow: hidden;
}

.qa-ground-slider-wrapper {
    position: relative;
    padding: 20px 0 20px 0;
}

.qa-ground-swiper {
    padding: 40px 10px 60px 10px !important;
    overflow: hidden !important;
}

.qa-ground-swiper .swiper-slide {
    width: 440px !important;
    height: 400px;
}

@media (max-width: 991px) {
    .qa-ground-swiper .swiper-slide {
        width: 340px !important;
        height: 320px;
    }
}

@media (max-width: 575px) {
    .qa-ground-swiper .swiper-slide {
        width: 270px !important;
        height: 280px;
    }
}

.qa-ground-card {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.6);
    position: relative;
    transition: all 0.4s ease;
}

.swiper-slide-active .qa-ground-card {
    border-color: var(--cp-color-theme-primary, #65cb3b);
    box-shadow: 0 25px 55px rgba(23, 40, 22, 0.3);
}

.qa-ground-img-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.qa-ground-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.swiper-slide-active .qa-ground-card:hover .qa-ground-img-box img {
    transform: scale(1.08);
}

.qa-ground-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 40, 22, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.qa-ground-card:hover .qa-ground-overlay {
    opacity: 1;
}

.qa-ground-zoom {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--cp-color-theme-primary, #65cb3b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transform: scale(0.7);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.qa-ground-zoom:hover {
    background: #172816;
    color: #ffffff;
    transform: scale(1.15);
}

.qa-ground-card:hover .qa-ground-zoom {
    transform: scale(1);
}

/* Modern Floating Nav Buttons Design */
.qa-ground-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #172816;
    color: #ffffff;
    border: 2px solid var(--cp-color-theme-primary, #65cb3b);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(23, 40, 22, 0.3);
}

.qa-ground-prev {
    left: 0px;
}

.qa-ground-next {
    right: 0px;
}

.qa-ground-nav-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.qa-ground-prev:hover i {
    transform: translateX(-4px);
}

.qa-ground-next:hover i {
    transform: translateX(4px);
}

.qa-ground-nav-btn:hover {
    background: var(--cp-color-theme-primary, #65cb3b);
    color: #172816;
    border-color: #ffffff;
    box-shadow: 0 12px 30px rgba(101, 203, 59, 0.5);
    transform: translateY(-50%) scale(1.12);
}

/* Pagination Dots */
.qa-ground-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.qa-ground-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #c3d9bf;
    opacity: 0.7;
    border-radius: 30px;
    transition: all 0.4s ease;
    margin: 0 !important;
}

.qa-ground-pagination .swiper-pagination-bullet-active {
    width: 36px;
    background: var(--cp-color-theme-primary, #65cb3b);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(101, 203, 59, 0.4);
}

/* Responsive adjustments */
@media (max-width: 991px) {

    .qa-overview-sec,
    .qa-lab-sec,
    .qa-field-sec,
    .qa-processing-sec,
    .qa-commitment-sec,
    .qa-ground-sec {
        padding: 70px 0;
    }

    .qa-img-wrapper img {
        height: 320px;
    }

    .qa-ground-nav-btn {
        width: 46px;
        height: 46px;
    }

    .qa-ground-prev {
        left: 5px;
    }

    .qa-ground-next {
        right: 5px;
    }
}