.parallax-wrapper {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 6rem 2rem;
  color: #000;
}

.parallax-content {
  display: flex;
  flex-wrap: nowrap; /* this is critical */
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 4rem;
}


.text-column {
  flex: 0 0 40%;
  max-width: 40%;
  min-width: 300px;
}


.features-grid {
  width: 55%;
  max-height: 100%;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-right: 1rem;
}


.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 1;
}



.section-subtitle {
  text-transform: uppercase;
  color: #999;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 0.9rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.section-underline {
  width: 40px;
  height: 4px;
  margin: 1rem 0;
}

.section-description {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}


.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* center horizontally */
  text-align: center;  /* center text below icon */
  gap: 0.5rem;
}

.feature-icon {
  font-size: 2rem;
  color: var(---text-color, #333);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-description {
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}

.button-container {
  margin-top: 2rem;
}

.cta-btn {
  background-color: var(--accent-color, #ffd700);
  color: black;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #e6c200;
}
@media (max-width: 1024px) {
  .parallax-content {
    flex-wrap: wrap;
  }

  .text-column,
  .features-grid {
    width: 100%;
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .parallax-content {
    flex-direction: column;
  }

  .text-column,
  .features-grid {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/************** Services Stacked Style **************/

.modern-service-section {
  width: 100%;
  position: relative;
  z-index: 0;
  margin-bottom: 1.3vmax;
  margin-top: 1.3vmax;
}

.service-section {
  margin: -10% auto 0 auto;
  padding: 100px 60px;
  background-color: #f1f1f1;
  border-top: 4px solid var(--accent-color);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  max-width: 1400px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(0);
}

/* First section doesn't stack over anything */
.service-section:first-child {
  margin-top: 0;
}

/* Pull upward on hover to reveal the full section */
.service-section:hover {
  transform: translateY(-10%);
  z-index: 5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Optional alternate background for every other section */
.alt-section {
  background-color: #ffffff;
}

/************** Content Layout **************/

.section-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: var(--site-max-width, 1200px);
  margin: 0 auto;
}

.section-left {
  flex: 1 1 50%;
  max-width: 800px;
}

.section-category {
  font-size: 14px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: #000;
}

.section-description {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  max-width: 90%;
}

.section-right {
  flex: 1 1 50%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.section-number {
  font-size: 180px;
  font-weight: bold;
  color: var(--accent-color, #000);
  line-height: 1;
}

/************** Responsive (Mobile) **************/
@media (max-width: 768px) {
  .service-section {
    margin: 40px 16px 0 16px !important;
    padding: 60px 24px;
    border-radius: 16px;
    transform: translateY(0) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1 !important;
  }

  .service-section:first-child {
    margin-top: 0 !important;
  }

  .section-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .section-left,
  .section-right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .section-title {
    font-size: 28px;
  }

  .section-description {
    font-size: 16px;
    max-width: 100%;
  }

  .section-number {
    font-size: 100px;
    text-align: left;
  }

  .service-section:hover {
    transform: translateY(0) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1 !important;
  }
}

