/* Color Scheme
navy blue: #122431
gold1: #A08E60
gold2: #9B895C
silver: #9C9C9C */

* {
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  
}

#title {
font-weight: bold;
}

body {
  background-color: #122431;
  margin: 0;
  padding: 20px; /* Add padding to create margins for the full site */
  padding-top: 70px; /* Extra top padding to account for construction banner */
  box-sizing: border-box; /* Include padding in total width calculation */
}

/* Under Construction Banner */
#construction-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #A08E60 0%, #9B895C 100%); /* gold gradient */
  color: #122431; /* navy text for contrast */
  text-align: center;
  padding: 10px 20px;
  z-index: 1000; /* ensure it appears above everything */
  box-shadow: none; /* removed to eliminate gap */
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
}

#construction-banner p {
  margin: 0;
  color: #122431; /* navy text */
}

#construction-banner strong {
  color: #122431; /* navy text for emphasis */
}

#mail {
  transition: transform 0.3s ease;

}

#mail:hover {
  transform: scale(1.2); /* Enlarge the image by 20% on hover */
}

h1 {
  font-weight: bolder;
  color: #A08E60; /* gold1 from color scheme */
}
#center-logo {
  /* sit behind all text to the left */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1; /* Ensure it sits behind other content */
  opacity: 0.1; /* Adjust opacity for a subtle effect */
}

/* .custom-shape-divider-top-1758280665 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 0;
    pointer-events: none;
} */

/* .custom-shape-divider-top-1758280665 svg {
    position: relative;
    display: block;
    width: calc(300% + 1.3px);
    height: 650px;
} */

/* Add a feathered gradient fill for the SVG shape */
/* .custom-shape-divider-top-1758280665 .shape-fill {
    fill: url(#dividerGradient);
}

/* Define gradient for the shape-fill */
/* .custom-shape-divider-top-1758280665 svg linearGradient stop:first-child {
    stop-color: #9C9C9C;
    stop-opacity: 1;
}

.custom-shape-divider-top-1758280665 svg linearGradient stop:last-child {
    stop-color: #9C9C9C;
    stop-opacity: 0.7;
} */ */

/* Main container for header, logos, and mission statement */
#header-logo-container {
  position: relative;
  /* No styling that would affect positioning - purely a wrapper */
}

/* Mobile Header Bar - hidden on desktop */
#mobile-header-bar {
  display: none;
}

#site-header {
  position: relative; /* in-flow but allows z-index layering */
  display: flex;
  align-items: center;
  justify-content: flex-end; /* move navigation to far right */
  padding: 20px;
  padding-right: 20px; /* adequate padding from right edge, accounting for body padding */
  z-index: 5; /* place header above divider */
  width: 100%; /* take full width */
  height: auto; /* let it size naturally */
  box-sizing: border-box; /* include padding in width calculation */
}

/* Logo area wrapper - contains logos and mission statement */
#logo-area-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Main logo area container */
#main-logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* SVG Header Container */
#svg-header {
  position: relative;
  width: 100%;
  max-width: 1476px;
  height: 782px;
  margin: 0 auto;
}

/* Header Logo */
#header-logo {
  position: absolute;
  top: 31px;
  left: 0;
  width: 1088px; /* 85% of 1280px */
  height: 308.55px; /* 85% of 363px */
  max-width: 80%; /* Scale down on smaller screens */
}

#header-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mission Statement - positioned between logo and button */
#mission-statement {
  position: absolute;
  top: 450px; /* Below the logo (31px + 363px + spacing) */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 25px;
  color: #ffffff;
  width: 60%; /* 60% of browser width */
  max-width: none; /* Remove max-width constraint */
  padding: 20px;
  z-index: 6;
}

#bold_mission {
  font-weight: bold;
  color: #A08E60;
}

/* Contact Us Button */
#contact-button {
  position: absolute;
  top: 694px;
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Center horizontally */
  width: 287.3px; /* 85% of 338px */
  height: 74.8px; /* 85% of 88px */
  background-color: #9b895c;
  opacity: 0.79;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-decoration: none; /* Remove underline */
}

#contact-button:hover {
  opacity: 1;
}

#contact-button span {
  color: #122431;
  font-size: 28px; /* Increased from 20.4px */
  font-weight: bold;
  text-transform: uppercase;
}

/* Logo section */
#logo-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px 20px; /* reduced padding */
  height: 5vh; /* drastically reduced height */
  min-height: 50px; /* much smaller minimum height */
  position: relative;
  z-index: 2; /* ensure content appears above the overlapping graphic */
}

/* Enlarged graphic logo section */
#enlarged-graphic-logo {
  flex: 1.25; /* slightly larger to create overflow */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* align content to the far left */
  padding: 0; /* remove padding to allow positioning at far left */
  height: 5vh; /* reduced to match logo-section */
  min-height: 50px; /* much smaller minimum height */
  position: relative;
  z-index: 1; /* ensure it sits below the logo-section content */
}

/* Icon logo styling - fixed at upper left */
#icon-logo {
  max-width: 120px; /* fixed size for consistent display */
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.5; /* 50% transparency */
  position: fixed; /* fixed positioning to screen */
  left: 20px; /* adequate padding from left edge */
  top: 20px; /* adequate padding from top edge */
  z-index: 8; /* below left-logo but above other content */
}

/* Right section for navigation */
#content-section {
  flex: 1; /* take up remaining space */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* logoDiv no longer needed - left-logo is now directly positioned on icon-logo */

/* Left-aligned logo - positioned horizontally next to icon logo */
#left-logo {
  max-height: 80px; /* reasonable fixed size */
  max-width: 200px;
  height: auto;
  width: auto;
  z-index: 10; /* high z-index to sit on top of icon-logo */
  position: fixed; /* fixed positioning to screen */
  top: 40px; /* centered with icon-logo midpoint (20px + 120px/2 - 80px/2 = 40px) */
  left: 150px; /* positioned to the right of icon-logo (20px + 120px + 10px spacing) */
  opacity: 1;
  transition: opacity 0.3s ease;
  object-fit: contain;
}

#wever-logo {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  z-index: 6;
  position: absolute;
  top: 50%;
  left: -12.5%; /* position to align with center of icon-logo */
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  object-fit: contain;
}

#logoDiv:hover #left-logo {
  opacity: 0;
}

#logoDiv:hover #wever-logo {
  opacity: 1;
}

/* Navigation within the content section */
#navigation {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: flex-end; /* right-align navigation items */
  z-index: 6;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

/* Navigation link styling: white and bold */
#navigation a {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px; /* increased ~10% */
  text-decoration: none;
  position: relative;
  display: inline-block;
}

/* animated white underline on hover */
#navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: #ffffff;
  transition: width 180ms ease-in-out;
}

#navigation a:hover::after {
  width: 100%;
}

/* nav hover text color */
#navigation a:hover {
  color: #9B895C;
}

@media (min-width: 1024px) {
  #navigation a { font-size: 31px; }
}



@media (max-width: 768px) {
  body {
    padding: 15px; /* reduced margins on tablet */
    padding-top: 65px; /* account for banner height */
  }
  
  #construction-banner {
    font-size: 14px; /* smaller text on tablet */
    padding: 8px 15px;
    height: auto;
    line-height: 1.2;
  }
  
  /* Hide desktop header, show mobile header bar */
  #site-header {
    display: none;
  }
  
  #mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #122431; /* Opaque navy blue */
    position: fixed;
    top: 32.8px; /* Sits directly below construction banner (8px + 14px*1.2 + 8px = 32.8px) */
    left: 0;
    right: 0;
    z-index: 10;
  }
  
  #mobile-logo-container {
    flex: 0 0 auto;
  }
  
  #mobile-logo-container img {
    height: 50px;
    width: auto;
  }
  
  #mobile-navigation {
    flex: 0 0 auto;
    display: flex;
    gap: 28px;
    align-items: center;
  }
  
  #mobile-navigation .nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
  }
  
  #mobile-navigation a {
    color: #ffffff;
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    position: relative;
    display: inline-block;
  }
  
  /* animated white underline on hover */
  #mobile-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: #ffffff;
    transition: width 180ms ease-in-out;
  }
  
  #mobile-navigation a:hover::after {
    width: 100%;
  }
  
  /* nav hover text color */
  #mobile-navigation a:hover {
    color: #9B895C;
  }
  
  /* Adjust svg-header container */
  #svg-header {
    height: auto;
    min-height: 600px;
    padding-top: 80px; /* Account for fixed mobile header */
    margin-bottom: -50px; /* Reduce gap to main content */
  }
  
  /* Hide the header logo in svg-header on mobile */
  #header-logo {
    display: none;
  }
  
  /* Adjust mission statement position */
  #mission-statement {
    top: 180px;
    width: 85%;
    font-size: 20px;
  }
  
  /* Adjust contact button position and size for tablet */
  #contact-button {
    top: 380px;
    width: 220px;
    height: 60px;
  }
  
  #contact-button span {
    font-size: 20px;
  }
  
  #logo-section, #content-section {
    flex: none;
    width: 100%;
  }
  
  #left-logo {
    max-height: 50px; /* smaller on mobile */
    max-width: 150px;
    top: 30px; /* centered with icon-logo midpoint (15px + 80px/2 - 50px/2 = 30px) */
    left: 110px; /* positioned to right of smaller icon-logo (15px + 80px + 15px spacing) */
  }
  
  #icon-logo {
    max-width: 80px; /* smaller on mobile */
    max-height: 80px;
    top: 15px; /* reduced padding for mobile */
    left: 15px;
  }
  
  #mission-statement {
    font-size: 20px;
    padding: 15px;
  }
  
  #navigation {
    gap: 12px;
  }
  #navigation a { font-size: 18px; }
}

.main_content_sections {
  padding: 5% 10%;
    /* background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 15%,
    rgba(255, 255, 255, 0.85) 85%,
    rgba(255, 255, 255, 0) 100%
  ); */

}

.main_content {
  padding: 2% 5%; /* reduced padding since body now has margins */
  margin-top: 100px; /* reduced top margin since header area is more compact */
  max-width: 1200px; /* prevent content from stretching too wide */
  margin-left: auto;
  margin-right: auto;
}

/* Silver background section - starts after expertise section */
#silver-background-section {
  background-color: #9C9C9C; /* silver */
  margin-top: 80px; /* Navy blue gap after expertise section */
  padding: 40px 0; /* Vertical padding only */
  width: 100vw; /* Full viewport width */
  margin-left: calc(-50vw + 50%); /* Center and extend to edges */
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
}

/* Inner wrapper to constrain content */
.silver-content-wrapper {
  max-width: 1200px; /* Match main_content max-width */
  margin: 0 auto;
  padding: 0 20px; /* Horizontal padding for content */
  /* border: 2px solid red;  */
}

/* White content sections below page breaks */
.content-section-white {
  background-color: #ffffff;
  width: 100%; /* Stay within wrapper */
  max-width: 1200px; /* Match expertise_section max-width */
  margin: 15px auto; /* Center with vertical spacing */
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Inner wrapper to constrain content width like expertise_section */
.content-inner-wrapper {
  width: 100%;
  display: flex;
  align-items: stretch;
  min-height: 300px;
}

/* Section title - left half */
.section-title {
  flex: 1; /* Take up half the space */
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0; /* No padding - image fills to edge */
  overflow: hidden; /* Contain the image */
  box-sizing: border-box; /* Include any padding in width calculation */
}

.section-title .title-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* Fill the space while maintaining aspect ratio */
  object-position: center; /* Center the image */
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: 1 / 1; /* Force square aspect ratio for uniformity */
  margin: 0; /* Remove any default margin */
  padding: 0; /* Remove any default padding */
  border: none; /* Remove any border */
}

.section-title span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  font-weight: bold;
  color: #A08E60; /* gold1 from color scheme */
  font-size: 36px;
  line-height: 1.2;
}

/* Section content - right half */
.section-content {
  flex: 1; /* Take up half the space */
  max-width: 600px;
  color: #122431; /* navy blue */
  font-size: 16px;
  line-height: 1.6;
  padding: 20px; /* Only content gets padding */
  box-sizing: border-box; /* Include padding in width calculation */
}

.section-content p {
  margin: 0;
}

.section-content strong {
  font-weight: bold;
}

/* Page break logo at top of silver section */
#page-break-logo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  position: relative; /* Make this a positioning context */
}

/* Strategic partners text below page break */
#strategic-partners-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: bold;
  color: #122431; /* navy blue */
  font-size: 32px;
  margin: 0;
  line-height: 1.3;
  width: 90%;
  z-index: 1;
  padding: 0 10px; /* Prevent text from running off edges */
}

/* Third page break logo - team section */
#page-break-logo-team {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 -50px 0; /* Negative bottom margin to reduce gap with headshots */
  padding: 0;
  position: relative; /* Make this a positioning context */
}

/* Team text overlay */
#team-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: bold;
  color: #122431; /* navy blue */
  font-size: 32px;
  margin: 0;
  line-height: 1.3;
  width: 90%;
  z-index: 1;
  padding: 0 10px; /* Prevent text from running off edges */
}

/* Second page break logo at bottom of silver section */
#page-break-logo-right {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  position: relative; /* Make this a positioning context */
}

/* Transformation text overlay */
#transformation-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: bold;
  color: #122431; /* navy blue */
  font-size: 32px;
  margin: 0;
  line-height: 1.3;
  width: 90%;
  z-index: 1;
  padding: 0 10px 0 20px; /* Extra left padding for right logo */
}

/* Expertise Section with Cityscape Background */
#expertise_section {
  position: relative;
  width: 100%;
  min-height: 900px; /* Extended height for more content room */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Move content to top */
  margin-bottom: 50px;
  overflow: hidden;
  padding: 40px 0; /* Remove horizontal padding */
}

#cityscape-background {
  position: absolute;
  top: 0;
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Center horizontally */
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintains aspect ratio while covering the area */
  object-position: center center; /* Centers the image both horizontally and vertically */
  z-index: 0; /* sits behind content that will be added later */
  opacity: 1.0; /* slightly transparent for better text overlay */
  /* Optional: Adjust the green tint using CSS filters */
  /* Uncomment one of the lines below to reduce green intensity: */
  /* filter: saturate(0.7); /* Reduces color saturation including green */
  /* filter: hue-rotate(-12deg) saturate(0.5 ); /* Shifts hue and reduces saturation */
  filter: contrast(1.0) brightness(1.5); /* Adjusts contrast and brightness */
}

#expertise_section .service_title {
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  margin-top: 20px;
}

#cityscape-text {
  position: relative;
  z-index: 1;
  color: #ffffff; /* white text */
  font-size: 20px; /* readable size */
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  margin-bottom: 40px; /* Space before icons */
}

/* Expertise Icons Container */
#expertise-icons-container {
  position: relative;
  max-width: 900px;
  width: 95%;
  margin: 50px auto 0 auto;
}

#expertise-icons {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Icon Section Positioning - each section anchored to icon position */
.icon-section {
  position: absolute;
  width: 170px;
  height: 120px; /* Add height to make entire area clickable */
  text-align: center;
  transform: translateX(-50%); /* Center the label under the icon */
  text-decoration: none; /* Remove underline from links */
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 10; /* Ensure links are above the image */
  /* border: 2px solid red; Debug border to see spacing */
}

.icon-section:hover {
  transform: translateX(-50%) scale(1.05); /* Slight zoom on hover */
}

/* Icon Labels */
.icon-label {
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
  transition: color 0.2s ease;
  pointer-events: none; /* Prevent label from blocking clicks */
}

.icon-section:hover .icon-label {
  color: #A08E60; /* Gold on hover */
}

/* Mobile and Tablet adjustments for icon sections */
@media (max-width: 1024px) {
  .icon-section {
    width: 140px;
  }
  
  .icon-label {
    font-weight: normal;
    font-size: 11px;
  }
  
  #cityscape-text-title {
    font-size: 28px;
  }
  
  #cityscape-text {
    font-size: 16px;
    max-width: 90%;
  }
  
  #expertise_section {
    min-height: 700px;
  }
  
  /* Responsive title sizing for tablet */
  #strategic-partners-text,
  #transformation-text,
  #team-text {
    font-size: 24px;
  }
  
  .section-title span {
    font-size: 28px;
  }
  
  /* Push page break text on tablet */
  #strategic-partners-text,
  #team-text {
    left: 60%; /* Push right for left logo */
  }
  
  #transformation-text {
    left: 40%; /* Push left for right logo */
  }
}

@media (max-width: 768px) {
  .icon-section {
    width: 120px;
  }
  
  .icon-label {
    font-weight: normal;
    font-size: 9px;
  }
  
  #cityscape-text-title {
    font-size: 24px;
  }
  
  #cityscape-text {
    font-size: 14px;
    max-width: 90%;
    padding: 0 15px;
  }
  
  .main_content {
    margin-top: 5px;
  }
  
  #silver-background-section {
    margin-top: 40px; /* Reduced navy gap on tablet */
    padding: 30px 0;
  }
  
  .silver-content-wrapper {
    padding: 0 15px;
  }
  
  #expertise_section {
    min-height: 550px;
  }
  
  /* Responsive title sizing for tablet */
  #strategic-partners-text,
  #transformation-text,
  #team-text {
    font-size: 20px;
  }
  
  .section-title span {
    font-size: 24px;
  }
  
  /* Push page break text on tablet */
  #strategic-partners-text,
  #team-text {
    left: 60%; /* Push right for left logo */
  }
  
  #transformation-text {
    left: 40%; /* Push left for right logo */
  }
}

@media (max-width: 480px) {
  .icon-section {
    width: 100px;
  }
  
  .icon-label {
    font-weight: normal;
    font-size: 7px;
  }
  
  #cityscape-text-title {
    font-size: 20px;
  }
  
  #cityscape-text {
    font-size: 12px;
    max-width: 95%;
    padding: 0 10px;
  }
  
  .main_content {
    margin-top: 0px;
  }
  
  #silver-background-section {
    margin-top: 20px; /* Minimal navy gap on mobile */
    padding: 20px 0;
  }
  
  .silver-content-wrapper {
    padding: 0 10px;
  }
  
  #expertise_section {
    min-height: 450px;
  }
  
  /* Responsive title sizing for mobile */
  #strategic-partners-text,
  #transformation-text,
  #team-text {
    font-size: 14px; /* Reduced from 16px */
    line-height: 1.2; /* Tighter line height */
  }
  
  .section-title span {
    font-size: 20px;
  }
  
  /* Push page break text on mobile */
  #strategic-partners-text,
  #team-text {
    left: 65%; /* Push further right for left logo on smaller screens */
    width: 60%; /* Constrain width to prevent overflow */
    padding: 0 10px; /* Only horizontal padding */
  }
  
  #transformation-text {
    left: 35%; /* Push further left for right logo on smaller screens */
    width: 60%; /* Constrain width to prevent overflow */
    padding: 0 10px; /* Only horizontal padding */
  }
}

/* Team Headshots Section */
#team-headshots-section {
  width: 100%;
  margin: 0 auto 60px;
  padding: 0;
}

#team-headshots-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 800px;
}

/* Individual team member positioning */
.team-member {
  position: absolute;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.team-member-image-wrapper {
  position: relative; /* Create positioning context for text overlay and bio */
  width: 100%;
}

.team-headshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: contain; /* Ensure image fits within bounds */
  object-position: center; /* Center the image content */
  box-sizing: border-box;
}

/* Diamond positioning */
.team-member[data-person="AW"] {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; /* Significantly larger than others */
}

.team-member[data-person="AW"]:hover {
  transform: translateX(-50%) scale(1.05);
}

.team-member[data-person="BG"] {
  top: 250px;
  left: 0;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center all content including image */
}

.team-member[data-person="BG"]:hover {
  transform: scale(1.05);
}

.team-member[data-person="DR"] {
  top: 250px;
  right: 0;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center all content including image */
}

.team-member[data-person="DR"]:hover {
  transform: scale(1.05);
}

.team-member[data-person="HK"] {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
}

.team-member[data-person="HK"]:hover {
  transform: translateX(-50%) scale(1.05);
}

.team-member-name {
  font-size: 20px;
  font-weight: bold;
  color: #122431; /* navy blue */
  margin: 0;
  line-height: 1.2;
  position: absolute;
  bottom: 35px; /* Position above the title */
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(156, 156, 156, 0.9); /* Semi-transparent silver background #9C9C9C */
  padding: 5px 10px;
}

.team-member-title {
  font-size: 14px;
  color: #122431; /* navy blue */
  margin: 0;
  line-height: 1.3;
  position: absolute;
  bottom: 5px; /* Position at bottom */
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(156, 156, 156, 0.9); /* Semi-transparent silver background #9C9C9C */
  padding: 5px 10px;
}

/* Team member bio pop-out */
.team-member-bio {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #122431; /* royal blue/navy */
  color: #ffffff; /* white text */
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
  display: block;
  pointer-events: none; /* Prevent bio from interfering with layout */
}

.team-member-image-wrapper:hover .team-member-bio {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* Enable scrolling when visible */
}

.team-member-bio h4 {
  font-size: 16px;
  font-weight: bold;
  color: #A08E60; /* gold accent */
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.team-member-bio p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 8px 0;
}

.team-member-bio p:first-of-type {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
}

.team-member-bio p:last-of-type {
  margin-bottom: 0;
}

/* Scrollbar styling for bio popouts */
.team-member-bio::-webkit-scrollbar {
  width: 8px;
}

.team-member-bio::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.team-member-bio::-webkit-scrollbar-thumb {
  background: #A08E60;
  border-radius: 4px;
}

.team-member-bio::-webkit-scrollbar-thumb:hover {
  background: #9B895C;
}

/* Contact Form Section */
#contact-form-section {
  background-color: #122431; /* navy blue background */
  padding: 60px 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
}

.contact-form-wrapper {
  max-width: 1200px; /* Match silver-content-wrapper */
  margin: 0 auto;
  padding: 0 20px;
}

.contact-form-title {
  text-align: center;
  font-size: 42px;
  font-weight: bold;
  color: #A08E60; /* gold */
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.contact-form-subtitle {
  text-align: center;
  font-size: 20px;
  color: #9C9C9C; /* silver */
  margin: 0 0 40px 0;
  line-height: 1.4;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  width: 100%;
  margin-bottom: 30px;
}

.form-group label {
  font-size: 16px;
  font-weight: bold;
  color: #A08E60; /* gold */
  margin-bottom: 8px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  font-family: "Roboto Flex", sans-serif;
  color: #122431; /* navy text */
  background-color: #ffffff;
  border: 2px solid #9C9C9C; /* silver border */
  border-radius: 5px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #A08E60; /* gold border on focus */
  box-shadow: 0 0 8px rgba(160, 142, 96, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9C9C9C; /* silver placeholder */
  opacity: 0.7;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  font-family: "Roboto Flex", sans-serif;
  text-transform: uppercase;
  color: #122431; /* navy text */
  background-color: #A08E60; /* gold background */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-submit-btn:hover {
  background-color: #9B895C; /* darker gold on hover */
  transform: translateY(-2px);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
  #contact-form-section {
    padding: 40px 0;
  }
  
  .contact-form-wrapper {
    padding: 0 15px;
  }
  
  .contact-form-title {
    font-size: 32px;
  }
  
  .contact-form-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .form-group label {
    font-size: 14px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  .contact-submit-btn {
    font-size: 16px;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  #contact-form-section {
    padding: 30px 0;
  }
  
  .contact-form-wrapper {
    padding: 0 10px;
  }
  
  .contact-form-title {
    font-size: 28px;
  }
  
  .contact-form-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }
  
  .form-group label {
    font-size: 13px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 13px;
  }
}

/* Form status messages */
#form-status {
  font-size: 16px;
  font-weight: bold;
  font-family: "Roboto Flex", sans-serif;
}

#form-status.success {
  color: #A08E60; /* gold */
  background-color: rgba(160, 142, 96, 0.1);
  border: 2px solid #A08E60;
}

#form-status.error {
  color: #ffffff;
  background-color: rgba(220, 53, 69, 0.2);
  border: 2px solid #dc3545;
}

/* Footer Section */
#site-footer {
  background-color: #122431; /* royal blue/navy */
  color: #ffffff;
  padding: 40px 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 60px;
  box-sizing: border-box;
  border-top: 3px solid #9C9C9C; /* silver dividing line */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-section {
  flex: 1;
}

.footer-copyright {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #9C9C9C; /* silver */
}

.footer-address {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  color: #9C9C9C; /* silver */
  text-align: right;
}

.footer-address strong {
  color: #A08E60; /* gold */
  font-size: 15px;
  display: block;
  margin-bottom: 5px;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
  #site-footer {
    padding: 30px 0;
    margin-top: 40px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  
  .footer-address {
    text-align: center;
  }
  
  .footer-copyright {
    font-size: 14px;
  }
  
  .footer-address {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  #site-footer {
    padding: 25px 0;
    margin-top: 30px;
  }
  
  .footer-content {
    padding: 0 15px;
  }
  
  .footer-copyright {
    font-size: 13px;
  }
  
  .footer-address {
    font-size: 12px;
  }
}

.service_title {
  text-align: center;
  font-size: 35px;
  margin-bottom: 20px;
  color: #A08E60; /* gold1 from color scheme */
}

#bold_main_p {
  font-weight: bold;
  color: #A08E60; /* gold1 from color scheme */
}

#bold_mission {
  font-weight: bold;
  color: #A08E60; /* gold1 from color scheme */
}


#main_paragraph {
  text-align: center;
  font-size: 25px;
  position: relative;
  z-index: 3;
  color: #9C9C9C; /* silver from color scheme */
  /*rounded gradient background*/

}

/* Add soft background starting at tablet size when content meets divider */
@media (max-width: 992px) {
  #main_paragraph {
    /* background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.8) 25%,
      rgba(255, 255, 255, 0.8) 75%,
      rgba(255, 255, 255, 0) 100%
    ); */
    padding: 15px 5%;
    border-radius: 8px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    margin: 10px 0;
  }
}

/* Increase opacity for better readability on mobile */
@media (max-width: 768px) {
  #main_paragraph {
    /* background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.9) 20%,
      rgba(255, 255, 255, 0.9) 80%,
      rgba(255, 255, 255, 0) 100%
    ); */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
}

ul li {
  text-align:left;
}

img {
  display: block;
  height: 100px;
  padding: 10px;
  margin: auto;
}

h1 {
  text-align: center;
  color: #A08E60; /* gold1 from color scheme */
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  z-index: 7;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
}

/* mobile  */
@media (max-width: 480px) {
  body {
    padding: 10px; /* minimal margins on mobile */
    padding-top: 60px; /* account for banner height */
  }
  
  #construction-banner {
    font-size: 12px; /* smaller text on mobile */
    padding: 6px 10px;
    height: auto;
    line-height: 1.2;
  }
  
  /* Adjust mobile header bar for smaller screens */
  #mobile-header-bar {
    top: 26.4px; /* Sits directly below construction banner (6px + 12px*1.2 + 6px = 26.4px) */
    padding: 8px 10px;
  }
  
  #mobile-logo-container img {
    height: 40px;
  }
  
  /* Adjust mission statement for mobile */
  #mission-statement {
    top: 150px;
    width: 90%;
    font-size: 16px;
    padding: 10px;
  }
  
  /* Adjust contact button for mobile */
  #contact-button {
    top: 320px;
    width: 160px;
    height: 45px;
  }
  
  #contact-button span {
    font-size: 15px;
  }
  
  /* Adjust svg-header container for mobile */
  #svg-header {
    height: auto;
    min-height: 450px;
    padding-top: 60px;
    margin-bottom: -80px; /* Further reduce gap to main content on small mobile */
  }
  
  .hamburger {
    display: block;
  }

  #mobile-navigation {
    position: relative;
  }

  #mobile-navigation .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    flex-direction: column;
    background-color: rgba(18, 36, 49, 0.95); /* navy blue with transparency */
    width: 70%;
    height: 100vh;
    padding-top: 80px;
    padding-right: 20px;
    padding-left: 20px;
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    gap: 30px;
  }

  #mobile-navigation .nav-links.active {
    right: 0;
  }

  #mobile-navigation .nav-links a {
    text-align: left;
    width: 100%;
    font-size: 28px;
  }

  #mobile-navigation a {
    font-size: 25px;
    margin: 15px 0;
  }
  
  #navigation {
    position: relative;
  }

  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    flex-direction: column;
    background-color: rgba(18, 36, 49, 0.95); /* navy blue with transparency */
    width: 70%;
    height: 100vh;
    padding-top: 80px;
    padding-right: 20px;
    padding-left: 20px;
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    gap: 30px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    text-align: left;
    width: 100%;
    font-size: 28px;
  }

  #navigation a {
    font-size: 25px;
    margin: 15px 0;
  }

  /* Fixed logos - even smaller on very small screens */
  #left-logo {
    max-height: 40px;
    max-width: 120px;
    top: 20px; /* centered with icon-logo midpoint (10px + 60px/2 - 40px/2 = 20px) */
    left: 85px; /* positioned to right of smaller icon-logo (10px + 60px + 15px spacing) */
  }
  
  #icon-logo {
    max-width: 60px;
    max-height: 60px;
    top: 10px; /* minimal padding for small screens */
    left: 10px;
  }

  /* Hamburger animation */
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  img {
    display: block;
    height: 50px;
    margin: auto;
  }
  .main_content {
    padding: 15px; /* Reduced from 30px */
  }

  #mission-statement {
    font-size: 20px;
    padding: 20px;
  }

  #main_paragraph {
  text-align: center;
  font-size: 15px;
  /* background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 15%,
    rgba(255, 255, 255, 0.85) 85%,
    rgba(255, 255, 255, 0) 100%
  ); */
  padding: 12px 5%;
  border-radius: 8px;
}

  .section-content {
    font-size: 12px;
  }

  .section-content p {
    margin-bottom: 8px;
  }

  /* Mobile team headshots - vertical layout */
  #team-headshots-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
  }

  .team-member {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 80% !important;
    max-width: 300px !important;
  }

  .team-member:hover {
    transform: scale(1.05) !important;
  }

  .team-member[data-person="AW"] {
    width: 85% !important;
    max-width: 350px !important;
  }

  .team-member[data-person="AW"]:hover {
    transform: scale(1.05) !important;
  }

  /* Mobile bio adjustments */
  .team-member-bio {
    padding: 20px;
  }

  .team-member-bio h4 {
    font-size: 16px;
  }

  .team-member-bio p:first-of-type {
    font-size: 14px;
  }

  .team-member-bio p {
    font-size: 12px;
  }

}



#mail {
height: 30px;
}



