.quality-hero {
    position: relative;
    background: url('../assets/quality-page/herp-section-quality.png') no-repeat center center;
    background-size: cover;
    /* min-height: 60vh; */
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
    border-top: 3px solid #cca052;
}

/* .quality-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 45, 26, 0.9) 0%, rgba(0, 45, 26, 0.45) 100%);
    z-index: 1;
} */

.quality-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px;
    border-radius: 50px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.hero-badge .badge-inner {
    background-color: var(--accent-yellow, #cca554);
    color: #000;
    padding: 4px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    margin-right: 12px;
    text-transform: uppercase;
}

.hero-badge span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding-right: 15px;
}

.quality-hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.3s;
}

.quality-hero h1 span {
    color: var(--accent-yellow, #cca554);
}

.quality-hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .quality-hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .quality-hero {
        padding: 80px 0;
        min-height: 50vh;
    }

    .quality-hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .quality-hero {
        padding: 60px 0;
        text-align: center;
        display: block;
    }

    .quality-hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .quality-hero h1 {
        font-size: 2.8rem;
    }

    .quality-hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero-badge {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .quality-hero h1 {
        font-size: 2.2rem;
    }

    .hero-badge .badge-inner {
        padding: 3px 10px;
        font-size: 11px;
    }

    .hero-badge span {
        font-size: 12px;
    }
}

/* Certifications Section */
.certifications-section {
    background-color: #f8f8f8;
}

.section-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green, #002d1a) !important;
}

.section-main-title span {
    color: #cca052;
}

.section-desc {
    color: #666 !important;
    font-size: 1rem;
    max-width: 750px;
    margin: 0 auto;
}

/* Cert Cards */
.cert-card {
    display: flex;
    background: #CAA5541F;
    padding: 20px 20px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
    flex-direction: column;
    align-items: center;
}

.cert-img-box {
    height: 70px;
    width: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.cert-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    transition: all 0.4s ease;
}

.cert-text {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 0;
    transition: all 0.4s ease;
}

/* Hover Effects */
.cert-card:hover {
    background-color: var(--primary-green, #002d1a);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 45, 26, 0.2);
}

.cert-card:hover .cert-title {
    color: #cca052;
}

.cert-card:hover .cert-text {
    color: #fff;
}

.cert-card:hover .cert-img-box {
    transform: scale(1.05);
}

/* Responsive fixes for cards */
@media (max-width: 1200px) {
    .section-main-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-main-title {
        font-size: 2rem;
    }

    .cert-card {
        padding: 30px 15px;
    }
}

/* Section 3: Feature Badges Strip */
.feature-strip-section {
    background-color: var(--primary-green, #002d1a);
    overflow: hidden;
}

.feature-badge-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.5s forwards;
}

.feature-badge-pill i {
    color: var(--accent-yellow, #cca554);
    font-size: 1rem;
}

.feature-badge-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-yellow, #cca554);
    transform: translateY(-3px) scale(1.05) !important;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Section 4: Safety Testing */
.safety-testing-section {
    background-color: #fdfaf5;
}

.compliance-table-wrapper {
    margin-top: 30px;
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.compliance-table {
    margin-bottom: 0;
    background: #fff;
}

.compliance-table thead th {
    background-color: var(--primary-green, #002d1a);
    color: #fff;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    letter-spacing: 1px;
}

.compliance-table tbody td {
    padding: 18px 25px;
    vertical-align: middle;
    color: #555;
    font-size: 0.95rem;
    border-color: #f0f0f0;
}

.param-name {
    font-weight: 700;
    color: var(--primary-green, #002d1a) !important;
}

.status-cell {
    font-size: 0.85rem;
    color: #777;
}

/* Facility Image */
.facility-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    max-width: 480px;
    max-height: 650px;
    margin: 0 auto;
    /* Centers it on mobile/when stacked */
}

.facility-img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-image-wrapper:hover .facility-img {
    transform: scale(1.05);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 45, 26, 0.9));
    z-index: 2;
}

.iso-label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-yellow, #cca554);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.facility-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.8rem;
    margin: 0;
}

/* Staggered Animations for Section 3 Bullets */
.feature-badge-pill:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-badge-pill:nth-child(2) {
    animation-delay: 0.15s;
}

.feature-badge-pill:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-badge-pill:nth-child(4) {
    animation-delay: 0.25s;
}

.feature-badge-pill:nth-child(5) {
    animation-delay: 0.3s;
}

.feature-badge-pill:nth-child(6) {
    animation-delay: 0.35s;
}

.feature-badge-pill:nth-child(7) {
    animation-delay: 0.4s;
}

.feature-badge-pill:nth-child(8) {
    animation-delay: 0.45s;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .facility-image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .feature-strip-section {
        padding: 2.5rem 0;
    }

    .compliance-table thead th,
    .compliance-table tbody td {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .facility-title {
        font-size: 1.5rem;
    }
}

/* Section 5: Microbiological */
.microbiological-section {
    background-color: #ffffff;
    padding-bottom: 80px;
}

/* Section 6: Why Choose */
/* .why-choose-section {
    background-color: var(--primary-green, #002d1a);
} */

.why-card {
    background-color: #002d1a;
    padding: 35px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Slight border for definition */
}

.why-number {
    font-size: 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #cca052;
    line-height: 1;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.why-line {
    width: 40px;
    height: 2px;
    background-color: #cca052;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.why-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: all 0.4s ease;
}

.why-text {
    font-size: 0.9rem;
    color: #ffffff;
    /* Subtle dark green */
    line-height: 1.5;
    margin-bottom: 0;
    transition: all 0.4s ease;
}

/* Hover Effect for Why Cards */
.why-card:hover {
    background-color: #cca052;
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-card:hover .why-number,
.why-card:hover .why-title,
.why-card:hover .why-text {
    color: #fff;
}

.why-card:hover .why-line {
    background-color: #fff;
    width: 60px;
}

/* Reveal Up Animation Base */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .why-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .section-main-title {
        font-size: 2.5rem;
    }

    .facility-title {
        font-size: 1.5rem;
    }
}

/* Section 7: Our Process */
.process-section {
    background-color: #fdfaf5;
    position: relative;
}

.process-timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0;
}

.process-line {
    position: absolute;
    top: 55px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #cca0524d;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border: 2px solid #cca052;
    color: #cca052;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(202, 160, 82, 0.1);
    transition: all 0.4s ease;
}

.process-step:hover .step-icon {
    background-color: #cca052;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(202, 160, 82, 0.3);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #002d1a;
}

.step-desc {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.5;
    padding: 0 5px;
}

/* Request COA Button */
.btn-coa-request {
    background-color: #cca052;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(202, 160, 82, 0.3);
    border: none;
}

.btn-coa-request:hover {
    background-color: #002d1a;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 45, 26, 0.3);
}

/* Section Responsive */
@media (max-width: 991px) {
    .process-timeline-wrapper .row {
        gap: 40px 0;
    }
}

@media (max-width: 576px) {
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}