/* style/partners.css */

/* Variables and Base Styles */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #26A9E0;
  --button-login: #EA7C07;
  --border-color: #e0e0e0;
}

.page-partners {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--background-light); /* Ensure body background is light */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Container for content */
.page-partners__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Section Titles and Descriptions */
.page-partners__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  line-height: 1.2;
}

.page-partners__section-description {
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

/* 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;
  background: linear-gradient(135deg, #26A9E0, #a0dfff); /* Gradient to blend with primary color */
  color: var(--text-light);
  overflow: hidden; /* Ensure no overflow from image */
}

.page-partners__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row; /* Desktop: row layout */
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.page-partners__hero-content {
  flex: 1;
  text-align: left;
  z-index: 2;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent background for text readability */
  border-radius: 10px;
}

.page-partners__hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

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

.page-partners__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-partners__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-light);
  line-height: 1.6;
}

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

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

/* Why Us Section */
.page-partners__why-us-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.page-partners__feature-card {
  background: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-partners__feature-card img {
  width: 100%;
  max-width: 250px; /* Constrain image width within card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block; /* Ensure it's a block element */
}

.page-partners__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-partners__card-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
  text-align: left;
}

/* How to Join Section */
.page-partners__how-to-join-section {
  padding: 80px 0;
  background-color: var(--background-dark); /* Dark background for this section */
  color: var(--text-light);
}

.page-partners__how-to-join-section .page-partners__section-title,
.page-partners__how-to-join-section .page-partners__section-description {
  color: var(--text-light);
}

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

.page-partners__step-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white card */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.page-partners__step-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-partners__step-number {
  font-size: 60px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  line-height: 1;
}

.page-partners__step-card .page-partners__card-title {
  color: var(--text-light);
  margin-top: 60px; /* Push title below step number */
  position: relative;
  z-index: 1;
}

.page-partners__step-card .page-partners__card-text {
  color: var(--text-light);
  position: relative;
  z-index: 1;
  text-align: center; /* Center text within dark cards */
}