/* ========================================
   QEHS POLICY - COMPLETE CSS STYLESHEET
   Green Label Services Ltd
   ======================================== */

/* ========================================
   PAGE HEADER STYLES
   ======================================== */

   .qehs-page-header {
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    text-align: center;
    overflow: hidden;
}

.qehs-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: qehs-float 20s ease-in-out infinite;
}

.qehs-page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: qehs-float-reverse 15s ease-in-out infinite;
}

@keyframes qehs-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes qehs-float-reverse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, 30px) rotate(-120deg); }
    66% { transform: translate(20px, -20px) rotate(-240deg); }
}

.qehs-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.qehs-header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.qehs-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.qehs-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.qehs-breadcrumb a:hover {
    opacity: 0.8;
    transform: translateX(-2px);
}

.qehs-breadcrumb span {
    display: flex;
    align-items: center;
}

.qehs-breadcrumb i {
    font-size: 10px;
}

.qehs-page-title {
    font-size: 52px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.qehs-page-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   SECTION CONTAINER
   ======================================== */

.qehs-policy-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.qehs-policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 139, 34, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.qehs-policy-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.qehs-policy-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.qehs-policy-header {
    text-align: center;
    margin-bottom: 60px;
}

.qehs-policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.2);
    animation: qehs-badge-pulse 2s ease-in-out infinite;
}

@keyframes qehs-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.qehs-policy-badge i {
    font-size: 16px;
}

.qehs-policy-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.qehs-policy-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   CONTENT GRID
   ======================================== */

.qehs-policy-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* ========================================
   INFO COLUMN
   ======================================== */

.qehs-policy-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.qehs-policy-info-title {
    font-size: 28px;
    font-weight: 700;
    color: #228B22;
    margin-bottom: 15px;
}

.qehs-policy-info-description {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* ========================================
   POLICY PILLARS
   ======================================== */

.qehs-policy-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qehs-pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.qehs-pillar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(34, 139, 34, 0.15);
}

.qehs-pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.qehs-pillar-icon.quality {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
}

.qehs-pillar-icon.environment {
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
}

.qehs-pillar-icon.health {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
}

.qehs-pillar-icon.safety {
    background: linear-gradient(135deg, #FFA500 0%, #FFB830 100%);
}

.qehs-pillar-content {
    flex: 1;
}

.qehs-pillar-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.qehs-pillar-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   HIGHLIGHTS
   ======================================== */

.qehs-policy-highlights {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    padding: 30px;
    border-radius: 12px;
    color: white;
}

.qehs-highlights-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qehs-highlights-title i {
    color: #FFD700;
}

.qehs-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qehs-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.qehs-highlights-list li i {
    color: #FFD700;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ========================================
   CERTIFICATE COLUMN
   ======================================== */

.qehs-policy-certificate-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qehs-policy-certificate-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.qehs-certificate-image-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.qehs-certificate-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.qehs-certificate-image-wrapper:hover .qehs-certificate-thumbnail {
    transform: scale(1.05);
}

.qehs-certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 139, 34, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.qehs-certificate-image-wrapper:hover .qehs-certificate-overlay {
    opacity: 1;
}

.qehs-certificate-overlay i {
    font-size: 48px;
}

.qehs-certificate-overlay span {
    font-size: 16px;
    font-weight: 600;
}

/* ========================================
   CERTIFICATE DETAILS
   ======================================== */

.qehs-certificate-details {
    padding: 30px;
}

.qehs-certificate-title {
    font-size: 20px;
    font-weight: 700;
    color: #228B22;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qehs-certificate-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qehs-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.qehs-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.qehs-info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.qehs-info-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
}

.qehs-status-active {
    color: #228B22;
    display: flex;
    align-items: center;
    gap: 6px;
}

.qehs-status-active i {
    font-size: 16px;
}

/* ========================================
   ACTION BUTTONS
   ======================================== */

.qehs-policy-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.qehs-action-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.qehs-btn-view {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
}

.qehs-btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.3);
}

.qehs-btn-download {
    background: white;
    color: #228B22;
    border: 2px solid #228B22;
}

.qehs-btn-download:hover {
    background: #228B22;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   POLICY NOTE
   ======================================== */

.qehs-policy-note {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #228B22;
    display: flex;
    gap: 15px;
}

.qehs-policy-note i {
    color: #228B22;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.qehs-policy-note p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   STATISTICS
   ======================================== */

.qehs-policy-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.qehs-stat-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.qehs-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #228B22 0%, #32CD32 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.qehs-stat-card:hover::before {
    transform: scaleX(1);
}

.qehs-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(34, 139, 34, 0.15);
}

.qehs-stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.qehs-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #228B22;
    line-height: 1;
    margin-bottom: 10px;
    display: inline-block;
}

.qehs-stat-suffix {
    font-size: 32px;
    font-weight: 800;
    color: #228B22;
    display: inline-block;
}

.qehs-stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    line-height: 1.4;
}

/* ========================================
   MODAL STYLES
   ======================================== */

.qehs-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qehs-modal.qehs-modal-active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.qehs-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.qehs-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: qehs-modal-slide-up 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes qehs-modal-slide-up {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.qehs-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.qehs-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #228B22;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.qehs-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #666;
}

.qehs-modal-close:hover {
    background: #228B22;
    color: white;
    transform: rotate(90deg);
}

.qehs-modal-body {
    padding: 30px;
    overflow-y: auto;
}

.qehs-modal-image-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.qehs-modal-certificate-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.qehs-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.qehs-modal-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.qehs-modal-download {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
}

.qehs-modal-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.3);
}

.qehs-modal-print {
    background: white;
    color: #228B22;
    border: 2px solid #228B22;
}

.qehs-modal-print:hover {
    background: #228B22;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .qehs-pillar-item,
    .qehs-stat-card {
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.qehs-action-btn:focus,
.qehs-modal-btn:focus,
.qehs-modal-close:focus {
    outline: 3px solid #228B22;
    outline-offset: 2px;
}

.qehs-certificate-image-wrapper:focus {
    outline: 3px solid #228B22;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Skip to content for accessibility */
.qehs-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #228B22;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.qehs-skip-link:focus {
    top: 0;
}

/* Screen reader only text */
.qehs-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .qehs-policy-badge,
    .qehs-pillar-item,
    .qehs-action-btn,
    .qehs-stat-card,
    .qehs-modal-content,
    .qehs-certificate-thumbnail,
    .qehs-modal-close {
        animation: none !important;
        transition: none !important;
    }

    .qehs-page-header::before,
    .qehs-page-header::after {
        animation: none !important;
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    .qehs-policy-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }

    .qehs-policy-main-title {
        color: #ffffff;
    }

    .qehs-policy-subtitle,
    .qehs-policy-info-description,
    .qehs-pillar-text,
    .qehs-info-label,
    .qehs-stat-label,
    .qehs-policy-note p {
        color: #cccccc;
    }

    .qehs-pillar-item,
    .qehs-policy-certificate-preview,
    .qehs-stat-card {
        background: #2d2d2d;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .qehs-pillar-title,
    .qehs-info-value {
        color: #ffffff;
    }

    .qehs-policy-note {
        background: #2d2d2d;
    }

    .qehs-btn-download {
        background: #2d2d2d;
        border-color: #32CD32;
        color: #32CD32;
    }

    .qehs-modal-content {
        background: #2d2d2d;
    }

    .qehs-modal-header {
        border-bottom-color: #3d3d3d;
    }

    .qehs-modal-close {
        background: #3d3d3d;
        color: #cccccc;
    }

    .qehs-modal-image-container {
        background: #1a1a1a;
    }

    .qehs-modal-print {
        background: #2d2d2d;
        border-color: #32CD32;
        color: #32CD32;
    }

    .qehs-info-row {
        border-bottom-color: #3d3d3d;
    }
}

/* ========================================
   HIGH CONTRAST MODE
   ======================================== */

@media (prefers-contrast: high) {
    .qehs-policy-badge,
    .qehs-pillar-icon,
    .qehs-stat-icon,
    .qehs-btn-view,
    .qehs-modal-download {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }

    .qehs-btn-download,
    .qehs-modal-print {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }

    .qehs-pillar-item,
    .qehs-stat-card,
    .qehs-policy-certificate-preview {
        border: 2px solid #000;
    }
}

/* ========================================
   LOADING STATES
   ======================================== */

.qehs-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.qehs-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #228B22;
    border-radius: 50%;
    animation: qehs-spin 1s linear infinite;
}

@keyframes qehs-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   ERROR STATES
   ======================================== */

.qehs-error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qehs-error-message i {
    font-size: 20px;
}

.qehs-success-message {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qehs-success-message i {
    font-size: 20px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.qehs-hidden {
    display: none !important;
}

.qehs-visible {
    display: block !important;
}

.qehs-text-center {
    text-align: center;
}

.qehs-text-left {
    text-align: left;
}

.qehs-text-right {
    text-align: right;
}

.qehs-mt-10 {
    margin-top: 10px;
}

.qehs-mt-20 {
    margin-top: 20px;
}

.qehs-mt-30 {
    margin-top: 30px;
}

.qehs-mb-10 {
    margin-bottom: 10px;
}

.qehs-mb-20 {
    margin-bottom: 20px;
}

.qehs-mb-30 {
    margin-bottom: 30px;
}

/* ========================================
   ANIMATION CLASSES
   ======================================== */

.qehs-fade-in {
    animation: qehs-fadeIn 0.5s ease;
}

@keyframes qehs-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.qehs-slide-in-left {
    animation: qehs-slideInLeft 0.5s ease;
}

@keyframes qehs-slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.qehs-slide-in-right {
    animation: qehs-slideInRight 0.5s ease;
}

@keyframes qehs-slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.qehs-bounce {
    animation: qehs-bounce 0.5s ease;
}

@keyframes qehs-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   HOVER EFFECTS
   ======================================== */

.qehs-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qehs-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.qehs-hover-scale {
    transition: transform 0.3s ease;
}

.qehs-hover-scale:hover {
    transform: scale(1.05);
}

/* ========================================
   SCROLLBAR CUSTOMIZATION
   ======================================== */

.qehs-modal-body::-webkit-scrollbar {
    width: 8px;
}

.qehs-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.qehs-modal-body::-webkit-scrollbar-thumb {
    background: #228B22;
    border-radius: 10px;
}

.qehs-modal-body::-webkit-scrollbar-thumb:hover {
    background: #1a6b1a;
}

/* ========================================
   TOOLTIP STYLES (Optional)
   ======================================== */

.qehs-tooltip {
    position: relative;
    display: inline-block;
}

.qehs-tooltip .qehs-tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 13px;
}

.qehs-tooltip .qehs-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.qehs-tooltip:hover .qehs-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ========================================
   BREADCRUMB ENHANCEMENTS
   ======================================== */

.qehs-breadcrumb a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.qehs-breadcrumb a {
    position: relative;
}

.qehs-breadcrumb a:hover::before {
    width: 100%;
}

/* ========================================
   RESPONSIVE IMAGES
   ======================================== */

.qehs-certificate-thumbnail,
.qehs-modal-certificate-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   FOCUS VISIBLE (Modern Browsers)
   ======================================== */

.qehs-action-btn:focus-visible,
.qehs-modal-btn:focus-visible,
.qehs-modal-close:focus-visible {
    outline: 3px solid #228B22;
    outline-offset: 2px;
}

/* ========================================
   COUNTER ANIMATION COMPLETED STATE
   ======================================== */

.qehs-stat-number.counted {
    animation: qehs-pulse-once 0.5s ease;
}

@keyframes qehs-pulse-once {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.page-title {
        font-size: 42px;
    }

    .qehs-policy-main-title {
        font-size: 36px;
    }

    .qehs-policy-content-grid {
        gap: 40px;
    }

    .qehs-policy-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

@media (max-width: 768px) {
    .qehs-page-header {
        padding: 100px 15px 60px;
    }

    .qehs-page-title {
        font-size: 32px;
    }

    .qehs-page-subtitle {
        font-size: 16px;
    }

    .qehs-breadcrumb {
        font-size: 13px;
    }

    .qehs-policy-section {
        padding: 60px 15px;
    }

    .qehs-policy-header {
        margin-bottom: 40px;
    }

    .qehs-policy-badge {
        font-size: 13px;
        padding: 8px 20px;
    }

    .qehs-policy-main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .qehs-policy-subtitle {
        font-size: 16px;
    }

    .qehs-policy-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .qehs-policy-info-title {
        font-size: 24px;
    }

    .qehs-pillar-item {
        padding: 15px;
        gap: 15px;
    }

    .qehs-pillar-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .qehs-pillar-title {
        font-size: 16px;
    }

    .qehs-pillar-text {
        font-size: 13px;
    }

    .qehs-policy-highlights {
        padding: 20px;
    }

    .qehs-highlights-title {
        font-size: 18px;
    }

    .qehs-highlights-list li {
        font-size: 14px;
    }

    .qehs-certificate-details {
        padding: 20px;
    }

    .qehs-certificate-title {
        font-size: 18px;
    }

    .qehs-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .qehs-policy-actions {
        grid-template-columns: 1fr;
    }

    .qehs-action-btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .qehs-policy-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .qehs-stat-card {
        padding: 25px;
    }

    .qehs-stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .qehs-stat-number {
        font-size: 40px;
    }

    .qehs-stat-suffix {
        font-size: 28px;
    }

    .qehs-stat-label {
        font-size: 14px;
    }

    /* Modal Responsive */
    .qehs-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .qehs-modal-header {
        padding: 20px;
    }

    .qehs-modal-title {
        font-size: 20px;
    }

    .qehs-modal-close {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .qehs-modal-body {
        padding: 20px;
    }

    .qehs-modal-image-container {
        padding: 15px;
    }

    .qehs-modal-actions {
        flex-direction: column;
    }

    .qehs-modal-btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .qehs-page-header {
        padding: 80px 10px 50px;
    }

    .qehs-page-title {
        font-size: 26px;
    }

    .qehs-page-subtitle {
        font-size: 14px;
    }

    .qehs-policy-section {
        padding: 40px 10px;
    }

    .qehs-policy-main-title {
        font-size: 24px;
    }

    .qehs-policy-subtitle {
        font-size: 14px;
    }

    .qehs-policy-info-title {
        font-size: 20px;
    }

    .qehs-pillar-item {
        flex-direction: column;
        text-align: center;
    }

    .qehs-pillar-icon {
        margin: 0 auto;
    }

    .qehs-policy-highlights {
        padding: 15px;
    }

    .qehs-highlights-title {
        font-size: 16px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .qehs-highlights-list li {
        font-size: 13px;
    }

    .qehs-certificate-title {
        font-size: 16px;
        flex-direction: column;
        gap: 8px;
    }

    .qehs-certificate-overlay i {
        font-size: 36px;
    }

    .qehs-certificate-overlay span {
        font-size: 14px;
    }

    .qehs-policy-note {
        flex-direction: column;
        padding: 15px;
    }

    .qehs-policy-note i {
        font-size: 18px;
    }

    .qehs-policy-note p {
        font-size: 13px;
    }

    .qehs-stat-card {
        padding: 20px;
    }

    .qehs-stat-number {
        font-size: 36px;
    }

    .qehs-stat-suffix {
        font-size: 24px;
    }

    .qehs-modal-title {
        font-size: 18px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .qehs-page-header,
    .qehs-policy-badge,
    .qehs-policy-actions,
    .qehs-modal-actions,
    .qehs-modal-close,
    .qehs-certificate-overlay,
    .qehs-breadcrumb {
        display: none !important;
    }

    .qehs-policy-section {
        padding: 20px;
        background: white;
    }

    .qehs-policy-content-grid {
        display: block;
    }

    .qehs-policy-certificate-column {
        page-break-before: always;
    }

    .qehs-modal-certificate-image,
    .qehs-certificate-thumbnail {
        max-width: 100%;
        height: auto;
    }

    .qehs-stat-card {
        page-break-inside: avoid;
    }
}