/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 23 2025 | 15:51:57 */
/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 


/* ============================== */
/* Hero Section Container */
/* ============================== */
.five-solutions-hero {
  position: relative !important;
  width: 100vw !important;
  min-height: 75vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: url('/wp-content/uploads/2025/12/five-solutions-page_Chicago-river-cityscape_hero-section-scaled.png') center/cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
	
/* override parent constraints */
  max-width: 100vw !important;
  left: 0;
  right: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* Dark and blurred overlay */
.five-solutions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit; /* Use the same background as .hero */
  filter: brightness(0.6) blur(2px); /* Darken and blur */
  z-index: 0;
}


.five-solutions-hero > * {
  position: relative;
  z-index: 2;
}

/* Glass Card */
.five-solutions-hero-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 750px;
  width: 100%;
  gap: 2rem;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
	  /* Add margin for spacing from screen edges */
  margin: 5.0rem 2.5rem; 
}

/* Hero Image */
  .five-solutions-hero-image {
    width: 400px;     /* fixed width */
    height: auto;     /* allow natural stretch */
    flex: 1 0 auto;   /* grow vertically with the card */
    overflow: hidden; /* crop the image */
    flex-shrink: 0;
  }

  .five-solutions-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* zoom + crop */
    object-position: center; /* target the middle */
    display: block;
	border-radius: 1.5rem;
  }

/* Hero Text */
.five-solutions-hero-text {
  color: #f8f8f4;
  max-width: 600px;
  text-align: left;
}

.five-solutions-hero-text h1 {
  font-size: 2.45rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.five-solutions-hero-text h1 span {
	color: #31d200; 
	font-family: 'Playfair Display', serif !important;
    font-weight: 600;
	line-height: 1.2;
}

.five-solutions-hero-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #f8f8f4;
}

@media (max-width: 1023px) {
  .five-solutions-hero-card {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
	align-items: center;
  }

  /* Move text above the image */
  .five-solutions-hero-text {
    order: 1;
    text-align: center;
  }
	
  .five-solutions-hero-image {
	order: 2;
    width: 80vw;           /* 40% of viewport width */
    max-width: 750px;      /* don’t get too wide */
	height: auto;
    overflow: hidden;
    border-radius: 1.5rem;
    flex-shrink: 0;
  }

  .five-solutions-hero-image img {
    width: 100%;
    height: auto;        /* fills square */
    object-fit: cover;  /* crop the sides but keep height natural */
    object-position: center;
    display: block;
  }

  .five-solutions-hero-text h1 {
    font-size: 2rem;
  }

  .five-solutions-hero-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .five-solutions-hero-image {
	order: 2;
    width: 80vw;           /* 40% of viewport width */
    max-width: 500px;      /* don’t get too wide */
	height: auto;
    overflow: hidden;
    border-radius: 1.5rem;
    flex-shrink: 0;
  }

  .five-solutions-hero-image img {
    width: 100%;
    height: auto;        /* fills square */
    object-fit: cover;  /* crop the sides but keep height natural */
    object-position: center;
    display: block;
  }
}

.five-solutions-hero-card,
.five-solutions-hero-image,
.five-solutions-hero-text {
  will-change: opacity, transform;
}
/* Hero Section Container */
/* ============================== */
/* Five Solutions Body Section */
/* ============================== */
.five-solutions-body {
  padding: 2rem 1rem;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.five-solutions-body::before {
  content: "";
  position: fixed; /* overlay follows section height */ 
  top: 0;
  left: 0;
  width: 100%;        /* full viewport width */
  height: 100%;       /* full viewport height */
  background-image:     
	linear-gradient(
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.85)
    ),
	url('/wp-content/uploads/2025/12/five-solutions-page_parallax-background_body-section-scaled.png');
  background-size: cover;
  background-position: center;
  z-index: -1; /* behind content */
  pointer-events: none;
}

/* H2 title (dynamic) */
.five-solutions-section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #101820;
  font-weight: 700;
  /* Initial animation state */
  opacity: 0;
  transform: translateY(20px);

  /* Transition for smooth animation */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.five-solutions-section-title span {
  color: #31D200;
  font-family: 'Playfair Display', serif !important;
}

/* Process Flow */
.five-solutions-process-flow {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* Icons / steps */
.five-solutions-process-labels {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.five-solutions-process-labels li {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 3rem;
  color: #101820;
  cursor: pointer;
  transition: transform 0.3s, color 0.3s;
  position: relative;
  text-align: center;
  flex: 1;
}

.five-solutions-step {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* solid icons */
  font-size: 3rem;
  position: relative;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;  
}

.five-solutions-step::before {
  display: block;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.five-solutions-step.active { 
  color: #31D200; 
}
.five-solutions-step.active::before { 
  transform: scale(1.25); 
  color: #31D200; 
}

/* Individual icons */
.five-solutions-step-optimize::before {
  content: "\f5dc";
}
.five-solutions-step-strategy::before {
  content: "\f140";
}
.five-solutions-step-entrepreneurship::before {
  content: "\f445";
}
.five-solutions-step-talent::before {
  content: "\f51c";
}
.five-solutions-step-authenticity::before {
  content: "\f2b5";
}

/* Ensure pseudo-element shows correctly */
.five-solutions-step::before {
  display: block;
  margin: 0 auto 0.5rem;
  transition: transform 0.3s, color 0.3s;
}

/* Step Content */
.five-solutions-process-content {
  position: relative;
  min-height: 120px;
  text-align: center;
  margin-top: 2rem;
}

.five-solutions-body-text {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.5;
}

.five-solutions-step-image {
  margin-top: 2rem;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.5rem;
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Connecting line */
.five-solutions-line-container {
  height: 4px;
  background-color: #ddd;
  margin: 2rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.five-solutions-line-progress {
  height: 100%;
  width: 0;
  background-color: #31D200;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Step fade-in animation */
.five-solutions-step-image.visible,
.five-solutions-body-text.visible {
  opacity: 1;
  transform: translateY(0);
}



.five-solutions-process-labels li.active { color: #31D200; }
.process-labels li.active::before { transform: scale(1.5); color: #31D200; }

/* Only for desktop */
@media (min-width: 1024px) {
  .five-solutions-body {
    height: 875px; /* define your preferred height */
  }
}

/* Responsive */
@media (max-width: 1023px) {
  .five-solutions-body {
	  overflow: visible;
	  height: 875px;
  }
	
  .five-solutions-process-labels {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .five-solutions-process-labels li {
    font-size: 2rem;
    flex: 1;
    text-align: center;
  }

  .five-solutions-process-labels li h3 {
    font-size: 1rem;
  }

  .five-solutions-process-labels li::before {
    margin-bottom: 0.25rem;
  }

  .five-solutions-line-container {
    height: 2px;
    margin: 1rem 0;
  }

  .five-solutions-line-progress {
    height: 2px;
  }

  .five-solutions-process-item p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;        /* remove extra margins inside p */
    padding-top: 1rem; /* consistent top spacing for all paragraphs */
  }
}


/* Large Mobile / Big Portrait Phones (~700px and below) */
@media (max-width: 700px) {
  .five-solutions-body {
	  height: 850px;
  }

  .five-solutions-step-image {
    max-width: 90%;
  }
}

/* ≤ 650px — Middle mobile zone */
@media (max-width: 650px) {
  .five-solutions-body {
    min-height: auto;   /* remove the lock */
    height: auto;
    display: block;     /* stop flex centering */
    padding-bottom: 2.5rem;
  }

  .five-solutions-step-image {
    max-width: 95%;
  }
}

/* Regular Mobile (~600px and below) */
@media (max-width: 600px) {
  .five-solutions-body {
    min-height: auto;
    height: auto;
    display: block;
    padding-bottom: 2.5rem;
  }

  .five-solutions-step-image {
    max-width: 100%;
  }
}
/* Five Solutions Body Section */
