/* =========================
   ROOT VARIABLES
========================= */
:root {
    --primary: #0056b3;
    --secondary: #0b3c5d;
    --accent: #28a745;
    --light: #f8f9fb;
    --dark: #1e1e1e;
    --border: #e5e5e5;
}

/* =========================
   BASE / RESET
========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: #fff;
    line-height: 1.6;
}




a {
    color: var(--primary);
    text-decoration: none;
}

ul {
    margin-left: 20px;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* =========================
   HEADER / NAVIGATION
========================= */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 10px 18px;
    background: var(--accent);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #218838;
}

/* =========================
   HERO SECTIONS
========================= */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 80px 0;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
}

/* SUBPAGE HEADER */
.page-header {
    background: var(--secondary);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
}

/* =========================
   BUTTONS / CTA
========================= */
.cta-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.cta-btn:hover {
    background: #218838;
}

.cta-strip {
    background: var(--secondary);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-strip h2 {
    margin-bottom: 20px;
}

/* =========================
   CONTENT SECTIONS
========================= */



section {
    padding: 70px 0;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary);
}

h3 {
    margin-top: 30px;
    color: var(--secondary);
}

.answer-box {
    background: var(--light);
    padding: 40px;
    margin-top: -40px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.answer-box strong {
    color: var(--secondary);
}

/* =========================
   GRID / CARDS
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* =========================
   BENEFITS / CALLOUT BOX
========================= */
.benefits {
    background: var(--light);
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.benefits h3 {
    margin-top: 0;
}

/* =========================
   FAQ
========================= */
.faq p {
    margin-bottom: 18px;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #111;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: #aaa;

}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.show {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .page-header h1 {
        font-size: 30px;
    }
}

/* =========================
   FULL-WIDTH BANNER
========================= */
.full-width-banner {
    width: 100%;
    height: 400px; /* default height, adjust as needed */
    background-image: url('/dev/images/online-whmis-training-certificate.jpg'); /* replace with your banner image path */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.full-width-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35); /* optional overlay for better text contrast */
}

.full-width-banner .banner-content {
    position: relative;
    color: #fff;
    text-align: left;
    z-index: 2;
    max-width: 95%;
    padding-right: 30%;
}

/* Responsive */
@media (max-width: 1325px) {
    
.full-width-banner {
    background-image: none;
	background-color: #6396C4;
	height:auto;
	

}

.full-width-banner .banner-content {

    max-width: 95%;
    padding-right:5%;
	padding-bottom:5%;
}


}



.full-width-banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.full-width-banner p {
    font-size: 20px;
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 900px) {
    .full-width-banner {
        height: auto;
        padding: 0 15px;
    }
    .full-width-banner h1 {
        font-size: 28px;
    }
    .full-width-banner p {
        font-size: 16px;
    }
}
