/* Add this to ensure main content starts after the fixed header */
main {
  margin-top: 80px; /* Adjust this value if your header height changes */
}
/* About page hero image (Toronto skyscrapers with blue sky and sunlight) */
.about-hero {
	width: 100%;
}

.about-hero-inner {
	height: 460px; /* taller to reveal more sky and sunlight */
	background-image: 
		linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.12)),
		url('../Media/Images/Toronto_Financial_District_August_2017.jpg') !important;
	background-size: cover;
	background-position: top center; /* emphasize sky and sunlight */
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 800px) {
	.about-hero-inner {
		height: 320px;
	}
}

/* Overlay container used to place the white, strong "About us" text */
.about-hero-overlay {
	position: relative;
	width: 100%;
	height: 100%;
}


/* Box that sits on the left-middle of the hero and contains heading + paragraph */
.about-hero-box {
	position: absolute;
	left: 5%;
	top: 50%;
	transform: translateY(-50%);
	max-width: 46%;
	background: transparent; /* no boxed background */
	padding: 8px 10px;
	border-radius: 0;
}

.about-hero-title {
	color: #ffffff;
	font-weight: 800;
	font-size: 40px;
	line-height: 1.05;
	margin: 0 0 8px 0;
	text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.about-hero-text {
	color: #ffffff;
	font-size: 25px;
	line-height: 1.6;
	text-shadow: 0 2px 10px rgba(0,0,0,0.6); /* improve readability over image */
}

/* Keep the old about-description as a fallback if present, but keep it visually neutral */
.about-description {
	display: none;
}

@media (max-width: 900px) {
	.about-hero-box {
		position: absolute;
		left: 4%;
		top: 50%;
		transform: translateY(-50%);
		max-width: 72%;
		padding: 16px 18px;
	}
	.about-hero-title {
		font-size: 28px;
	}
	.about-hero-text {
		font-size: 15px;
	}
}

@media (max-width: 520px) {
	.about-hero-box {
		position: absolute;
		left: 4%;
		top: 40%;
		transform: translateY(-40%);
		max-width: 92%;
		padding: 14px 16px;
	}
	.about-hero-title {
		font-size: 22px;
	}
	.about-hero-text {
		font-size: 14px;
	}
}


/* Teamwork hero above footer */
.about-teamwork { width: 100%; margin: 28px 0 0 0; }
.about-teamwork-inner {
	height: 320px;
	background-image: url('../Media/Images/business-professionals-having-collaborative-discussion-modern-office-utilizing-laptop-smartphone-technology-teamwork-347159976.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
/* Overlay content centered inside the teamwork image */
.about-teamwork-inner {
	position: relative; /* allow absolute overlay */
	overflow: hidden;
	border-radius: 16px;
	max-width: 100%;
}
.teamwork-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(20, 32, 71, 0.7); /* dark blue overlay */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 32px 16px;
	box-sizing: border-box;
	text-align: center;
	overflow-wrap: break-word;
	word-break: break-word;
}
.teamwork-title {
	margin: 0 0 10px 0;
	font-size: 34px;
	font-weight: 800;
	color: #ffffff;
	text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.teamwork-text {
	margin: 0 0 18px 0;
	font-size: 16px;
	line-height: 1.6;
	color: #ffffff;
	text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.subscribe-btn {
	display: inline-block;
	background-color: #ff9a4d; /* light orange */
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

@media (max-width: 800px) {
	.teamwork-title { font-size: 24px; }
	.teamwork-text { font-size: 15px; max-width: 340px; margin: 0 auto 14px auto; }
}

@media (max-width: 800px) {
	.about-teamwork-inner { height: 220px; }
}

@media (max-width: 700px) {
  .teamwork-overlay {
    padding: 18px 6vw;
  }
  .teamwork-title,
  .teamwork-text {
    max-width: 95vw;
    font-size: 1rem;
  }
}

/* Logos Section */
.trusted-logos-static {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  margin: 2rem 0;
}

.trusted-logos-static .trusted-logo {
  width: 250px;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
}

.trusted-logo-separator h1{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

@media (max-width: 700px) {
  .trusted-logos-static {
    gap: 1.2rem;
  }
  .trusted-logos-static .trusted-logo {
    width: 80px;
  }
}

/* Trusted Companies Section - Updated for larger logos, centered heading, and uniform line color */
.trusted-companies-section {
  width: 100%;
  background: #fafbfc;
  padding: 36px 0 28px 0;
  margin: 0 auto 0 auto;
  box-sizing: border-box;
}

.trusted-heading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  width: 100%;
}

.trusted-heading-line {
  flex: 1;
  border: none;
  border-top: 2.5px solid #ff6600;
  max-width: 120px;
  margin-right: 18px;
}

.trusted-heading-line-2 {
  flex: 1;
  border: none;
  border-top: 2.5px solid #ff6600;
  max-width: 150px;
  margin-left: 5px;
}

.trusted-heading {
  font-size: 1.7rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: 0.5px;
  background: #fafbfc;
  padding: 0 18px 0 0;
  white-space: nowrap;
  text-align: center;
  flex-shrink: 0;
}



.trusted-bottom-line {
  border: none;
  border-top: 2.5px solid #ff6600;
  margin: 28px auto 0 auto;
  width: 90%;
  max-width: 900px;
}

@media (max-width: 900px) {
  .trusted-heading-line {
    max-width: 60px;
  }
  .trusted-heading {
    font-size: 1.2rem;
    padding-right: 8px;
  }
  .trusted-logo {
    height: 44px;
    padding: 4px 8px;
  }
  .trusted-logos-track {
    gap: 24px;
  }
}

