/* Add this to ensure main content starts after the fixed header */
main {
  margin-top: 80px; /* Adjust this value if your header height changes */
}
/* Services page styles */
.services-hero {
	width: 100%;
	background: linear-gradient(180deg, #0a2b66, #083059);
	color: #fff;
	padding: 64px 20px;
	text-align: center;
}
.services-hero h1 { margin: 0 0 8px 0; font-size: 40px; font-weight: 800; }
.services-hero p { margin: 0 auto; max-width: 900px; font-size: 18px; color: rgba(255,255,255,0.95); }

.services-container { max-width: 1100px; margin: 36px auto; padding: 0 20px 60px 20px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #ffffff; border-radius: 8px; padding: 20px; box-shadow: 0 6px 20px rgba(8,42,102,0.06); border: 1px solid #eef3fb; display: flex; flex-direction: column; gap: 12px; }
.service-icon { width: 56px; height: 56px; border-radius: 10px; background: #fff6ef; display: flex; align-items: center; justify-content: center; }
.service-title { font-size: 18px; color: #082a66; font-weight: 700; margin: 0; }
.service-desc { font-size: 14px; color: #394b6e; line-height: 1.6; margin: 0; }
.service-cta { margin-top: auto; display: inline-block; background: #ff9a4d; color: #fff; padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 700; }

/* Services hero image styles */
/* .services-hero-image { width:fit-content; overflow:auto; } */
.services-hero-img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }

/* Small spacing adjustment to separate the printed image from the intro */
.services-hero { margin-top: 0; }

/* Hero overlay (left-middle) */
.services-hero-image { position: relative; }
.hero-overlay { position: absolute; left: 0; top: 0; bottom: 0; color: #ffffff; width: 50%; box-sizing: border-box; padding-left: 6%; padding-right: 4%; display: flex; align-items: center; z-index: 2; }
.hero-overlay-inner { background: rgba(8,42,102,0.28); padding: 28px 26px; border-radius: 6px; max-width: 100%; }
/* .hero-overlay-inner { background: rgba(8,42,102,0.30); padding: 36px 28px; border-radius: 6px; max-width: 100%; } */
.hero-title { font-size: 44px; line-height: 1; margin: 0 0 8px 0; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.45); }
.hero-sub { margin: 0; color: rgba(255,255,255,0.95); font-size: 16px; line-height: 1.5; }

@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .services-hero h1 { font-size: 28px; } .services-hero { padding: 36px 16px; } }

@media (max-width: 720px) {
	.hero-title { font-size: 32px; }
	.hero-overlay { left: 5%; top: 46%; max-width: 60%; }
	.services-hero-img { max-height: 420px; }
}

@media (max-width: 450px) {
	/* .hero-overlay { position: static; width: 100%; padding: 18px 16px; } */
	/* .hero-overlay-inner { background: rgba(8,42,102,0.45); } */
	.hero-overlay-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 18px 4vw;
    box-sizing: border-box;
    font-size: 1rem;
  }
  .hero-overlay {
	position: static;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8vw;
  }
	.hero-title { font-size: 22px; }
	.hero-sub { font-size: 14px; }
	.services-hero-img { max-height: 260px; }
}

/* Utility */
.center { text-align: center; }

/* Tagline below hero */
.services-tagline { text-align: center; color: #082a66; font-weight: 700; font-size: 28px; margin: 18px 0 18px 0; }

.services-desc-wrap {
  width: 100%;
  box-sizing: border-box;   /* safer than content-box */
  display: flexbox;
  justify-content: flex-start; /* align to left */
}

.services-desc {
  width: 90%;               /* take up left half of screen */
  max-width: 90%;           /* stay within half screen */
  margin: 18px 0;
  padding: 0 28px 36px 28px;
  box-sizing: content-box;
  color: #243249;
  font-size: 22px;
  line-height: 1.7;
  text-align: center;      /* align text neatly */
}

.services-desc p {
  margin: 0;
}




/* 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;
  }
}
