/* Text Section */
.text-section {
  flex: 1;
  min-width: 300px;
  max-width: 800px;
}

.text-section {
  margin-bottom: 0;
  padding-bottom: 0;
}

.text-section h1 {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 24px;
}


/* Ensure space from fixed navbar */
.main-content-vertical {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0; /* Top space for navbar */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Page title */
.page-title {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: left;
}

/* Case study layout */
.case-study-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 12px;  
  gap: 24px;
  background-color: #fff;
  flex-wrap: wrap;
}

/* Left side text */
.case-study-text {
  flex: 1;
  min-width: 280px;
}

.case-study-text h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
}

.learn-more {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid #000;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  color: #000;
}

.learn-more:hover {
  background-color: #000;
  color: #fff;
}

/* Right side image */
.case-study-image {
  flex-shrink: 0;
  width: 300px;
  max-height: 200px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* Individual case study image */
.case-study-detail-image {
  flex-shrink: 0;
  width: 100%;
  max-height: none;
  overflow: hidden;
}
.case-study-detail-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  border: 1px solid #000;
  margin-bottom: 24px;
  }