/* ========================================
   HSSE Page Specific Styles - Enhanced Design
   ======================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--secondary-white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%231a7a4f" d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" opacity=".25"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.page-breadcrumb {
    font-size: 1rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.page-breadcrumb a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Image Gallery Carousel */
.hsse-gallery-section {
    padding: var(--spacing-lg) 0;
}

.gallery-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    min-width: 100%;
    display: none;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(22, 94, 63, 0.8);
    color: var(--secondary-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background-color: var(--primary-green);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active {
    background-color: var(--primary-green);
    transform: scale(1.3);
}

.dot:hover {
    background-color: var(--primary-green-light);
}

/* HSSE Awareness Section - Enhanced Like Image */
.hsse-awareness-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--secondary-white);
    padding: var(--spacing-xl) 0;
}

.section-title-white {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-white);
    margin-bottom: var(--spacing-lg);
    position: relative;
    text-align: center;
}

.section-title-white::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-top: var(--spacing-sm);
    margin-left: auto;
    margin-right: auto;
}

.awareness-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.awareness-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: rgba(26, 122, 79, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition-normal);
}

.awareness-item:hover {
    background-color: rgba(26, 122, 79, 0.4);
    transform: translateX(10px);
}

.awareness-icon-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awareness-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.awareness-item p {
    color: var(--secondary-white);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* Responsibilities Grid */
.responsibilities-section {
    padding: var(--spacing-xl) 0;
}

.responsibilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.responsibility-card {
    background-color: var(--secondary-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.responsibility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: var(--spacing-lg);
    color: var(--secondary-white);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.bg-green {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
}

.bg-light-green {
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
}

.card-icon {
    flex-shrink: 0;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.card-content {
    padding: var(--spacing-lg);
}

.responsibility-list {
    list-style: none;
    padding: 0;
}

.responsibility-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
}

.responsibility-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Quality Control Section - Enhanced Like Image */
.quality-control-section {
    padding: var(--spacing-xl) 0;
}

.qc-card {
    background-color: var(--secondary-white);
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
}

.qc-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.qc-icon {
    color: var(--primary-green);
    flex-shrink: 0;
}

.qc-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
}

.qc-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), transparent);
    margin-bottom: var(--spacing-lg);
}

.qc-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.qc-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Responsive */
@media (min-width: 768px) {
    .responsibilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-title {
        font-size: 4rem;
    }
    
    .carousel-btn-prev {
        left: 30px;
    }
    
    .carousel-btn-next {
        right: 30px;
    }
}

@media (min-width: 1024px) {
    .responsibilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 767px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .gallery-slide img {
        max-height: 300px;
    }
    
    .awareness-item {
        flex-direction: column;
        text-align: center;
    }
}