.page-partnerships {
  color: #ffffff; /* Body background is dark #121212, so use light text */
  background-color: #121212; /* Ensure main content background matches body or is transparent */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-partnerships__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box; /* Ensure padding is included in width */
}

/* Hero Section */
.page-partnerships__hero-section {
  background: linear-gradient(135deg, #007bff, #0056b3); /* Primary brand color gradient */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.page-partnerships__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-partnerships__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffc107; /* Highlight with auxiliary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-partnerships__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-partnerships__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-partnerships__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color, #007bff);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are not too small */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Ensure long words break */
  box-sizing: border-box;
}

.page-partnerships__cta-button:hover {
  background: #ffc107; /* Auxiliary color on hover for primary CTA */
  color: #121212;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-partnerships__cta-button--secondary {
  background: transparent;
  border: 2px solid #ffc107;
  color: #ffc107;
  box-shadow: none;
}

.page-partnerships__cta-button--secondary:hover {
  background: #ffc107;
  color: #121212;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-partnerships__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffc107;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-partnerships__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

/* Why Us Section */
.page-partnerships__why-us-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  box-sizing: border-box;
}

.page-partnerships__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-partnerships__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent light background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

.page-partnerships__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-partnerships__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Ensure minimum size for content images */
  min-width: 200px;
  min-height: 200px;
  filter: none; /* No CSS filters allowed */
  box-sizing: border-box;
}

.page-partnerships__feature-title {
  font-size: 1.6em;
  color: #ffc107;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-partnerships__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1; /* Allow description to fill available space */
}

/* How It Works Section */
.page-partnerships__how-it-works-section {
  padding: 80px 0;
  background-color: #121212;
  box-sizing: border-box;
}

.page-partnerships__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}