:root {
    --navy: #002147;
    --silver: #A9A9A9;
    --dark-navy: #001226;
    --text-grey: #6b7280;
    --white: #ffffff;
    --font: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font);
    background-color: var(--white);
    color: var(--navy);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header Section */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 8vh; /* Added to shift text down */
    padding-bottom: 120px; /* Space for the wave */
    text-align: center;
    z-index: 20;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), 
                url('hero-bg.png') center/cover no-repeat;
}

/* Hero Logo & Content */
.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
}

.hero-logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hl-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: 2px;
    line-height: 1;
}

.hl-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-grey);
    letter-spacing: 4px;
    margin-top: 5px;
}

.hero-heading {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    max-width: 900px;
    letter-spacing: -1px;
}

.sub-heading {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-grey);
    display: block;
    margin-top: 0.8rem;
    letter-spacing: 0;
}


/* Bottom Section */
.bottom-area {
    position: relative;
    height: 30vh; /* Restored height to keep icons on ground */
    width: 100%;
    background: var(--navy);
}

.wave {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: 125px;
    fill: var(--navy);
}

/* Illustration Container */
.scene {
    position: absolute;
    bottom: 80px; /* Height of the footer */
    width: 100%;
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    height: calc(100% - 80px);
    z-index: 30;
}

.item {
    position: absolute;
    bottom: 0;
}

/* Position based on ref image */
.item-sign { left: 10%; bottom: 20px; }
.item-barrier { left: 45%; bottom: 10px; }
.item-cone { left: 35%; bottom: 5px; }
.item-ladder { right: 10%; bottom: 10px; }
.item-bucket { right: 25%; bottom: 0px; }

/* Styles for SVGs */
svg { display: block; }



.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    background: var(--dark-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    z-index: 40;
}

.footer-logo {
    max-height: 40px;
    width: auto;
}

.footer b { color: white; }

@media (max-width: 1024px) {
    .hero-heading { font-size: 2.5rem; }
    .sub-heading { font-size: 1.3rem; }
    .item-sign { left: 5%; }
    .item-ladder { right: 5%; }
}

@media (max-width: 768px) {
    .content-wrapper { padding-bottom: 80px; }
    .bottom-area { height: 25vh; }
    .wave { top: -60px; height: 65px; }
    .scene { transform: translateX(-50%) scale(0.6); transform-origin: bottom center; bottom: 95px; }
    .footer {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        text-align: center;
        font-size: 0.75rem;
    }
    .hero-logo-icon { width: 60px; height: 60px; }
    .hl-title { font-size: 1.8rem; }
    .hl-subtitle { font-size: 0.55rem; letter-spacing: 2px; }
    .hero-heading { font-size: 1.8rem; padding: 0 1rem; }
    .sub-heading { font-size: 1.1rem; margin-top: 0.5rem; }
    .hero-logo { margin-bottom: 2rem; }
}
