/* style/partners.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
  --background-white: #FFFFFF;
  --color-black: #000000;
}

.page-partners {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--background-white); /* Explicitly set for safety, though shared might define body */
}

/* --- Hero Section --- */
.page-partners__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 50%, #e0f2f7 100%); /* Lighter gradient for hero */
  color: var(--text-light); /* Light text on primary background */
  overflow: hidden;
}

.page-partners__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-partners__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Constrain image width within hero */
}

.page-partners__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-partners__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-partners__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-partners__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-partners__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-login); /* Use login color for CTA for emphasis */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-partners__cta-button:hover {
  background: #c26707; /* Darken on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- General Section Styles --- */
.page-partners__section {
  padding: 80px 0;
  text-align: center;
}

.page-partners__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-partners__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-partners__section-title--light {
  color: var(--text-light);
}

.page-partners__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-partners__paragraph--light {
  color: var(--text-light);
}

.page-partners__light-bg {
  background-color: var(--background-white);
  color: var(--text-dark);
}

.page-partners__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* --- Intro Section --- */
.page-partners__intro-section .page-partners__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-partners__intro-section .page-partners__image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image doesn't get too small */
}

.page-partners__intro-section .page-partners__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-partners__intro-section .page-partners__text-content {
  flex: 2;
}

/* --- Benefits Section --- */
.page-partners__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-partners__benefit-card {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-partners__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-partners__benefit-card .page-partners__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-partners__benefit-card .page-partners__card-description {
  color: var(--text-light);
  opacity: 0.9;
}

.page-partners__benefits-section .page-partners__image-section img {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Types Section --- */
.page-partners__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-partners__type-card {
  background-color: var(--background-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-partners__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-partners__type-card .page-partners__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-partners__type-card .page-partners__card-description {
  color: var(--text-dark);
}

.page-partners__types-section .page-partners__image-section img {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Process Section --- */
.page-partners__process-grid {
  margin-bottom: 40px;
}

.page-partners__process-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-partners__process-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-partners__process-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: var(--button-login);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-partners__process-item .page-partners__process-step-title {
  font-size: 1.4em;
  margin-top: 10px;
  margin-bottom: 15px;
  color: var(--text-light);
}