/* ==============================================
   Page Section Styles - ForrsITe Pages
   ============================================== */

/* Flex Section Container - Two Column Layout */
.page-section-flex {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.page-section-flex.flex-reverse {
  flex-direction: row-reverse;
}

.page-section-flex .image-column {
  flex: 0 0 40%;
  min-width: 0;
}

.page-section-flex .content-column {
  flex: 1;
}

.page-section-flex img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* Service Title Styling */
.page-section-flex .service-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Image with Large Flex Width */
.page-section-flex.large-image .image-column {
  flex: 0 0 45%;
}

/* Hero Banner with Background Image */
.banner-section {
  background-size: cover;
  background-position: center;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  border-radius: 4px;
  margin: 2rem 0;
  position: relative;
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  border-radius: 4px;
  pointer-events: none;
}

.banner-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-section-flex {
    flex-direction: column;
    gap: 2rem;
  }

  .page-section-flex.flex-reverse {
    flex-direction: column;
  }

  .page-section-flex .image-column {
    flex: 0 0 100%;
  }

  .banner-section {
    padding: 2rem 1.5rem;
  }

  .banner-section h2 {
    font-size: 1.5rem;
  }
}

/* Spacing utilities */
.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-5 {
  margin-top: 3rem;
}

/* Text utilities */
.text-center {
  text-align: center;
}

.font-bold {
  font-weight: 600;
}

/* List styling for feature lists */
.feature-list {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.feature-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.feature-list strong {
  color: #3865eb;
}

/* Paragraph spacing within sections */
.page-section-flex p {
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.page-section-flex p:last-child {
  margin-bottom: 0;
}

/* Divider line */
.section-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 2rem 0;
}

/* Call-to-action section at end of content */
.cta-section {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 4px;
  margin-top: 2rem;
  text-align: center;
}

.cta-section h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #555;
  margin-bottom: 0;
}
