/* 2025 (January 16) Gary davis */

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

a {
    color: #0077cc;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ffffff;
}

body {
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
	color: #333;
	background: url('images/squamish_01.jpg') no-repeat center center fixed;
	background-size: cover;
}

ul {
	margin: 0;
	padding: 0;
}
button {
    background-color: #0077cc;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #005fa3;
}
	
footer {
	position:relative;
	width: 100%;
	background-color: #333;
	color: white;
	text-align: right;
	padding: 1rem;
	margin-top: 2rem;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 1rem;
	margin-bottom: 1rem;
    color: #222;
}

h1 {
    font-size: 2.5rem;
    color: #0077cc;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

header {
	/*  position: sticky;  */
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 0rem 0rem;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 1000;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

header.hidden {
    opacity: 0;
    visibility: hidden;
}

html {
    scroll-behavior: smooth;
	scroll-padding-top: 7.5rem;
}

li {
	font-family: 'Roboto', sans-serif;
	margin-left: 2rem;
}

p {
	padding-bottom: 2rem;
}

ul {
	font-size: 1.1rem;
}

.content {
	padding: 2rem;
}

.content section {
	margin-bottom: 1rem;
}

.content .parallax {
	background: linear-gradient(transparent, white);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	width: 100%;
	height: 500px;
	margin-bottom: 2rem;
	box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
	max-width: 1600px;
}

.content .parallax-services {
	background-image: url('images/sideboom_01.jpg');
}

.content .parallax-services-training {
	background-image: url('images/ihes_training.jpg');
}

.content .parallax-services-hse {
	background-image: url('images/safety_handbooks_01.jpg');
}

.content .parallax-services-pipeline {
	background-image: url('images/spread_6b.jpg');
}

.content .parallax-services-risk {
	background-image: url('images/tank_floor.jpg');
}

.content .parallax-services-incident {
	background-image: url('images/excavator_incident_03.jpg');
}

.content .parallax-services-quality {
	background-image: url('images/reclamation_01.jpg');
}

.garhens {
	color: navy;
	font-weight: bold;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 2rem;
	width: 100%;
	box-sizing: border-box;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
	text-align: right;
	flex: 1;
}

.logo {
	box-shadow: none;
    /* Dec 15, 2025 */
	position: absolute;
	top: 1.5rem;
	left: 2rem;
	width: 150px;
	height: auto;
	z-index: 10;
}

.logo-container {
    flex: 0 0 auto;
}

.menu-container {
    text-align: center;
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}
 
.mytext-lists {
	margin-left: 1rem;
	margin-right: 1rem;
	margin-bottom: 2rem;
	align-items: left;
}

.navbar {
    display: inline-block;
    position: relative;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
	margin-top: 1.6rem;
}

.nav-links a {
	color: #ffcf5e;
    text-decoration: none;
	font-weight: normal;
    font-size: .9rem;
}

.nav-links a:hover {
	color: #33cc00;
	font-size: 1rem;
	font-weight: bold;
    text-decoration: underline;
}

.nav-links.open {
		flex-direction: column;
}

.phone-number-container {
	color: #33cc00;
    text-align: right;
    margin-bottom: 0.3rem;
	font-size: 1.2rem;
}

.responsive-image {
    width: 50%;
    height: auto;
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.scroll_notice {
	margin-bottom: 3rem;
	margin-left: 3rem;
}

.separation_bar {
	width: 100%;
	height: 20rem;
	margin-top: 3rem;
	background-color: rgba(0, 0, 0, 0.60);
	border-radius: 1rem;
	box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.5);
	max-width: 1600px;
}	

.soft-box {
	display: block;
	width: 100%;
	height: auto;
	max-width: 1600px;
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 1rem;
	box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.5);
	padding: 2rem;
}

.scroll-down {
    display: block;
	position: fixed;
    bottom: 20px;
    left: 2%;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
	font-weight: bold;
    color: #555;
    animation: bounce 1.5s infinite;
    cursor: pointer;
	padding: 1rem 1rem;
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 10px;
	box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.5);
}

.scroll-down-img {
    display: block;
	position: fixed;
    bottom: 75px;
    left: 3.25%;
    animation: bounce 1.5s infinite;    /* See @keyframes below. */
    cursor: pointer;
}

.scroll-down:hover {
    color: #0077cc;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }

    .logo {
		width: 110px;
		top: 1rem;
		left: 1rem;
	}

    .soft-box {
        width: 100%;
    }

    .hero {
        height: 30vh;
    }
	
	.menu-toggle {
		display: block;
	}

    .nav-links {
        display: none;
        flex-direction: column;
		width: 150px;
        gap: 1rem;
        background-color: #444;
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        padding: 1rem;
        text-align: center;
		box-sizing: border-box;
    }

    .nav-links.open {
        display: flex;
    }

    .shadow-image {
        width: 100%;
    }

    .responsive-image {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .content-container {
        flex-direction: column;
    }
}

/*  ADDED DEC 14, 2025  */
/* Contact CTA (now used in the header) */

/* Overlay */
#contactOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.65);
}

#contactOverlay.is-open {
	display: flex;
}

/* Modal */
#contactModal {
	width: min(520px, 100%);
	max-height: calc(100vh - 32px);
	overflow: auto;
	padding: 22px;
	position: relative;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

/* Close button */
#closeContact {
	position: absolute;
	top: 10px;
	right: 14px;
	border: none;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
    color: black
}

/* Form */
#contactModal h2 {
	margin: 0 0 14px;
	font-size: 18px;
}

#contactModal label {
	display: block;
	margin-bottom: 12px;
	font-size: 13px;
}

#contactModal input,
#contactModal textarea {
	width: 100%;
	margin-top: 6px;
	padding: 10px;
	font-size: 14px;
	border: 1px solid #cfcfcf;
	border-radius: 6px;
	box-sizing: border-box;
}

#contactModal button[type="submit"] {
	width: 100%;
	margin-top: 10px;
	padding: 12px;
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	background: #111;
	color: #fff;
	cursor: pointer;
}

/* Floating Contact Button (bottom-right) */
.floating-contact-btn {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 9999;

	padding: 14px 22px;
	font-size: 14px;
	font-weight: 600;

	background-color: #111;
	color: #fff;

	border: none;
	border-radius: 10px;

	cursor: pointer;

	opacity: .75;
	visibility: visible;
}

.floating-contact-btn:hover {
	background-color: #000;
	/*  color: #fff;  */
    color: #33cc00;
}

#phoneReveal {
	margin-top: 12px;
	text-align: center;
}

#phoneReveal button {
	background: none;
	border: 1px solid #111;
	color: #111;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 13px;
	cursor: pointer;
}

#phoneReveal a {
	display: inline-block;
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
	color: #111;
	text-decoration: none;
}

.header-contact-btn {
	padding: 6px 14px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid #111;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.header-contact-btn:hover {
	background: #111;
	color: #fff;
}

#statusOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10001;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.65);
}

#statusOverlay.is-open {
	display: flex;
}

#statusModal {
	width: min(520px, 100%);
	max-height: calc(100vh - 32px);
	overflow: auto;
	padding: 22px;
	position: relative;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

#closeStatus {
	position: absolute;
	top: 10px;
	right: 14px;
	border: none;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

#statusModal h2 {
	margin: 0 0 10px;
	font-size: 18px;
}

#statusModal p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

/* ==========================================================
   iOS SAFARI FIX — disable fixed parallax ONLY on iOS
   Leaves desktop & Android completely unchanged
   ========================================================== */

@supports (-webkit-touch-callout: none) {

  body {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  .content .parallax {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
  }

}

/*  BOTTOM OF ADDED  */
