:root {
    --primary-color: #003366;
    --secondary-color: #f4f4f4;
    --accent-color: #ffcc00;
    --text-color: #333;
    --danger-color: #cc0000;
    --success-color: #28a745;
    --spacing: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    margin-right: 50px;
}

.header-logo {
    height: 50px;
    width: auto;
    margin-left: 50px;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('https://source.unsplash.com/1600x900/?industry,construction');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
    background-color: #e6b800;
}

section {
    padding: 60px 0;
    background-color: white;
}

section:nth-child(even) {
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.coordinator-role {
    background-color: var(--primary-color);
    color: white;
}

.coordinator-role .section-title h2 {
    color: white;
}

.coordinator-role .section-title p {
    color: #ccc;
}

.role-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.role-list li::before {
    content: "✔";
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

.sanction-card {
    border-left-color: var(--danger-color);
}

.sanction-card h3 {
    color: var(--danger-color);
}

.download-box {
    text-align: center;
    padding: 40px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    margin-top: 20px;
}

.download-link {
    display: block;
    margin: 10px 0;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.download-link:hover {
    text-decoration: underline;
}

footer {
    background-color: #1a1a1a;
    color: #888;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.safety-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 20px auto;
    color: #333;
}

.safety-header {
    border-bottom: 2px solid #ff9800;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.ppe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.ppe-card {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid #ff9800;
}

.ppe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ppe-icon {
    width: 24px;
    height: 24px;
    fill: #555;
}

.ppe-text {
    font-weight: 600;
    font-size: 0.95rem;
}

#slider-2 {

    border-bottom-color: var(--danger-color);
    border: 2px solid var(--danger-color);
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
}

#slider-2 .prev,
#slider-2 .next {
    background-color: rgba(204, 0, 0, 0.2);
}

#slider-2 .prev:hover,
#slider-2 .next:hover {
    background-color: var(--danger-color);
    color: white;
}

.center-text {
    text-align: center;
}

.slider-container {
    max-width: 600px;
    position: relative;
    margin: 30px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 5px solid var(--accent-color);
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
    animation: fade 0.5s;
}

.slide img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.coordinator-role {
    background-color: #f4f4f4;
    color: var(--text-color);
    border-top: 5px solid var(--primary-color);
}

.coordinator-role .section-title h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
}

.coordinator-role .section-title p {
    color: #555;
    margin-top: 10px;
}

.coord-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    border-left: 5px solid var(--primary-color);
}

.coord-card h3 {
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.role-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    color: #333;
}

.role-list li::before {
    content: "✔";
    color: var(--success-color);
    margin-right: 12px;
    font-weight: bold;
    font-size: 1.2rem;
}

.veto-box {
    background-color: #fff5f5;
    border: 1px solid #ffcccc;
    border-left: 5px solid var(--danger-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.veto-box h4 {
    color: var(--danger-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.veto-box p {
    color: #333;
}

.disclaimer-box {
    background-color: #fff9e6;
    border: 1px solid #ffeeba;
    border-left: 5px solid var(--accent-color);
    padding: 20px;
    border-radius: 4px;
}

.disclaimer-box strong {
    color: #856404;
    display: block;
    margin-bottom: 5px;
}

.disclaimer-box p {
    color: #333;
}


.hazard-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.hazard-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    height: 220px;
    cursor: pointer;
}

.hazard-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.hazard-item:hover img {
    transform: scale(1.1);
}


.hazard-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 51, 102, 0.9);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;

    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.hazard-item:hover .hazard-caption {
    transform: translateY(0);
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }
}