:root {
  --primary-color: #0A2647; /* Deep Blue */
  --secondary-color: #FFC107; /* Amber Gold */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light-gray: #f9f9f9;
  --border-color: #e0e0e0;
  --header-offset: 120px; /* Default value, will be overridden by shared.css */
}

/* Base styles for the page content */
.page-partners {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark); /* Default text color for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset); /* Ensure content is not hidden by fixed header */
}

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

.page-partners__section {
  padding: 60px 0;
  text-align: center;
}

.page-partners__section:nth-of-type(even) {
  background-color: var(--bg-light-gray);
}

.page-partners__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Hero Section */
.page-partners__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
  background-color: var(--primary-color); /* Fallback background */
}

.page-partners__hero-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-partners__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px; /* Limit height on large screens */
  object-fit: cover;
  display: block;
}

.page-partners__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 900px;
  color: var(--text-color-light);
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

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

.page-partners__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  opacity: 0.9;
}

.page-partners__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-partners__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-partners__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-partners__btn-primary:hover {
  background: #e6b000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-partners__btn-secondary {
  background: transparent;
  color: var(--text-color-light);
  border: 2px solid var(--secondary-color);
}

.page-partners__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Why Partner Section */
.page-partners__why-partner {
  background-color: var(--bg-light-gray);
}