/**
 * E-Waste Management Page Custom Styles
 */

/* === Page Header === */
.ewaste-header-section {
    padding: 20px 0 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ewaste-page-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--bringer-s-heading, #F5F7FA);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.ewaste-subtitle {
    font-size: 20px;
    color: var(--bringer-s-text, #C5C7CE);
    margin: 0 0 12px 0;
    font-weight: 500;
}

.ewaste-effective-date {
    font-size: 16px;
    color: var(--bringer-s-text, #C5C7CE);
    margin: 0;
    opacity: 0.8;
}

/* === Introduction Section === */
.ewaste-intro-section {
    padding: 20px 0;
}

.ewaste-intro-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 40px;
}

.ewaste-intro-box p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--bringer-s-text, #C5C7CE);
    margin: 0 0 16px 0;
}

.ewaste-intro-box p:last-child {
    margin-bottom: 0;
}

/* === Content Section === */
.ewaste-content-section {
    padding: 0 0 30px;
}

/* === Policy Sections === */
.ewaste-section {
    display: flex;
    gap: 32px;
    margin-bottom: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ewaste-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ewaste-section-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--bringer-s-accent, #6366F1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--bringer-s-heading, #F5F7FA);
    position: relative;
}

.ewaste-section-number::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    opacity: 0.2;
    filter: blur(16px);
}

.ewaste-section-content {
    flex: 1;
}

.ewaste-section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--bringer-s-heading, #F5F7FA);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.ewaste-section-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--bringer-s-text, #C5C7CE);
    margin: 0 0 16px 0;
}

.ewaste-section-content p:last-child {
    margin-bottom: 0;
}

/* === Lists === */
.ewaste-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.ewaste-list li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--bringer-s-text, #C5C7CE);
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.ewaste-list li:last-child {
    margin-bottom: 0;
}

.ewaste-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bringer-s-accent, #6366F1);
    font-weight: bold;
}

/* === Contact Box === */
.ewaste-contact-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
}

.ewaste-contact-box p {
    margin-bottom: 8px;
}

.ewaste-contact-box p:last-child {
    margin-bottom: 0;
}

.ewaste-contact-box strong {
    color: var(--bringer-s-heading, #F5F7FA);
    font-weight: 600;
}

.ewaste-contact-box a {
    color: var(--bringer-s-accent, #6366F1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ewaste-contact-box a:hover {
    color: var(--bringer-s-heading, #F5F7FA);
}

/* === Closing Statement === */
.ewaste-closing-section {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ewaste-closing-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.ewaste-closing-box p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--bringer-s-heading, #F5F7FA);
    margin: 0;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .ewaste-page-title {
        font-size: 40px;
    }
    
    .ewaste-subtitle {
        font-size: 18px;
    }
    
    .ewaste-section-title {
        font-size: 24px;
    }
    
    .ewaste-section-number {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .ewaste-header-section {
        padding: 60px 0 30px;
    }
    
    .ewaste-page-title {
        font-size: 32px;
    }
    
    .ewaste-subtitle {
        font-size: 16px;
    }
    
    .ewaste-effective-date {
        font-size: 14px;
    }
    
    .ewaste-intro-section {
        padding: 40px 0;
    }
    
    .ewaste-intro-box {
        padding: 32px 24px;
    }
    
    .ewaste-intro-box p {
        font-size: 15px;
    }
    
    .ewaste-content-section {
        padding: 0 0 40px;
    }
    
    .ewaste-section {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
    
    .ewaste-section-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .ewaste-section-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .ewaste-section-content p,
    .ewaste-list li {
        font-size: 15px;
    }
    
    .ewaste-list {
        margin: 12px 0;
    }
    
    .ewaste-list li {
        padding-left: 24px;
        margin-bottom: 10px;
    }
    
    .ewaste-contact-box {
        padding: 20px;
    }
    
    .ewaste-closing-section {
        padding: 40px 0;
    }
    
    .ewaste-closing-box {
        padding: 32px 24px;
    }
    
    .ewaste-closing-box p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ewaste-header-section {
        padding: 50px 0 25px;
    }
    
    .ewaste-page-title {
        font-size: 28px;
    }
    
    .ewaste-subtitle {
        font-size: 15px;
    }
    
    .ewaste-section-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 12px;
    }
    
    .ewaste-section-title {
        font-size: 20px;
    }
    
    .ewaste-section-content p,
    .ewaste-list li {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .ewaste-list li {
        padding-left: 20px;
    }
    
    .ewaste-intro-box,
    .ewaste-contact-box,
    .ewaste-closing-box {
        padding: 24px 20px;
    }
    
    .ewaste-closing-box p {
        font-size: 15px;
    }
}

/* === Print Styles === */
@media print {
    .ewaste-page-title,
    .ewaste-section-title {
        color: #000;
        page-break-after: avoid;
    }
    
    .ewaste-section {
        page-break-inside: avoid;
    }
    
    .ewaste-section-number {
        background: #6366F1;
        color: #fff;
    }
    
    .ewaste-intro-box,
    .ewaste-closing-box {
        border: 1px solid #6366F1;
        background: #f0f0ff;
    }
    
    .ewaste-contact-box {
        border: 1px solid #ddd;
        background: #f9f9f9;
    }
}

/* === Accessibility === */
.ewaste-contact-box a:focus {
    outline: 2px solid var(--bringer-s-accent, #6366F1);
    outline-offset: 2px;
}

/* === Smooth Scrolling === */
html {
    scroll-behavior: smooth;
}

/* === Selection Highlight === */
.ewaste-section-content ::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--bringer-s-heading, #F5F7FA);
}
