* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e1a 0%, #0d1621 100%);
    color: #ecf0f1;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 27, 46, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    padding: 12px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo-placeholder {
    width: 160px;
    height: 160px;
    background: rgba(94, 179, 224, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #5eb3e0;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #f5a855;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff8c42;
}

/* Safety Header */
.safety-header {
    max-width: 1400px;
    margin: 220px auto 60px;
    padding: 0 40px;
    text-align: center;
}

.header-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(231, 76, 60, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(231, 76, 60, 0.4);
}

.safety-header h1 {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.safety-header .subtitle {
    font-size: 20px;
    color: #bdc3c7;
    max-width: 800px;
    margin: 0 auto;
}

/* Safety Stats Banner */
.safety-stats {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: rgba(15, 22, 33, 0.6);
    border: 1px solid rgba(94, 179, 224, 0.15);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #5eb3e0;
    display: block;
    margin-bottom: 10px;
}

.stat-card.alert .stat-number {
    color: #e74c3c;
}

.stat-card.success .stat-number {
    color: #27ae60;
}

.stat-card.warning .stat-number {
    color: #f5a855;
}

.stat-label {
    color: #bdc3c7;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content Container */
.safety-container {
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Safety Sections */
.safety-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.safety-section {
    background: rgba(15, 22, 33, 0.8);
    border: 1px solid rgba(94, 179, 224, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(94, 179, 224, 0.2);
}

.section-icon {
    width: 60px;
    height: 60px;
    background: rgba(94, 179, 224, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header h2 {
    font-size: 32px;
    color: #5eb3e0;
}

/* Emergency Protocols */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.protocol-card {
    background: rgba(10, 14, 26, 0.5);
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.protocol-card:hover {
    border-color: rgba(231, 76, 60, 0.6);
    transform: translateX(5px);
}

.protocol-card h3 {
    color: #e74c3c;
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.protocol-card p {
    color: #bdc3c7;
    font-size: 15px;
    line-height: 1.6;
}

.emergency-number {
    display: inline-block;
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 10px;
    font-size: 16px;
}

/* PPE Requirements */
.ppe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.ppe-item {
    background: rgba(10, 14, 26, 0.5);
    border: 2px solid rgba(245, 168, 85, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.ppe-item:hover {
    border-color: rgba(245, 168, 85, 0.6);
    transform: translateY(-5px);
}

.ppe-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: rgba(245, 168, 85, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.ppe-item h4 {
    color: #f5a855;
    font-size: 18px;
    margin-bottom: 10px;
}

.ppe-item p {
    color: #95a5a6;
    font-size: 13px;
}

/* Hazard Alerts */
.hazard-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.hazard-alert {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: start;
    gap: 15px;
}

.hazard-alert.warning {
    background: rgba(245, 168, 85, 0.1);
    border-left-color: #f5a855;
}

.hazard-alert.caution {
    background: rgba(241, 196, 15, 0.1);
    border-left-color: #f1c40f;
}

.hazard-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.hazard-content h4 {
    color: #e74c3c;
    font-size: 18px;
    margin-bottom: 8px;
}

.hazard-alert.warning .hazard-content h4 {
    color: #f5a855;
}

.hazard-alert.caution .hazard-content h4 {
    color: #f1c40f;
}

.hazard-content p {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.5;
}

/* Training Requirements */
.training-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.training-item {
    background: rgba(10, 14, 26, 0.5);
    border: 1px solid rgba(94, 179, 224, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.training-item:hover {
    border-color: rgba(94, 179, 224, 0.5);
    background: rgba(10, 14, 26, 0.7);
}

.training-badge {
    width: 50px;
    height: 50px;
    background: rgba(39, 174, 96, 0.2);
    border: 2px solid rgba(39, 174, 96, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.training-details {
    flex: 1;
}

.training-details h4 {
    color: #5eb3e0;
    font-size: 18px;
    margin-bottom: 5px;
}

.training-details p {
    color: #95a5a6;
    font-size: 14px;
}

.training-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.training-status.required {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.training-status.recommended {
    background: rgba(245, 168, 85, 0.2);
    color: #f5a855;
}

/* Sidebar */
.safety-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: rgba(15, 22, 33, 0.6);
    border: 1px solid rgba(94, 179, 224, 0.15);
    border-radius: 15px;
    padding: 30px;
}

.sidebar-card h3 {
    color: #f5a855;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(94, 179, 224, 0.2);
}

.contact-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(94, 179, 224, 0.1);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-label {
    color: #5eb3e0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.contact-value {
    color: #ecf0f1;
    font-size: 18px;
    font-weight: 700;
}

.contact-value a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #5eb3e0;
}

/* Document Links */
.doc-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(10, 14, 26, 0.4);
    border-radius: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.doc-link:hover {
    background: rgba(94, 179, 224, 0.1);
    color: #5eb3e0;
    transform: translateX(5px);
}

.doc-icon {
    width: 40px;
    height: 40px;
    background: rgba(94, 179, 224, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-info span {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.doc-info small {
    font-size: 12px;
    color: #7f8c8d;
}

/* Incident Reporting */
.report-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    margin-top: 20px;
}

.report-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.6);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0d1621 0%, #0a0e1a 100%);
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(94, 179, 224, 0.2);
}

.footer p {
    color: #7f8c8d;
    font-size: 14px;
}

.footer a {
    color: #5eb3e0;
    text-decoration: none;
    margin: 0 15px;
}

.footer a:hover {
    color: #f5a855;
}

/* Responsive */
@media (max-width: 1200px) {
    .safety-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .protocol-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .safety-container {
        grid-template-columns: 1fr;
    }
    
    .ppe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .safety-header {
        margin-top: 100px;
        padding: 0 20px;
    }
    
    .safety-header h1 {
        font-size: 32px;
    }
    
    .safety-stats {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .safety-container {
        padding: 0 20px;
    }
    
    .safety-section {
        padding: 25px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .ppe-grid {
        grid-template-columns: 1fr;
    }
}