.page-resources-platform-advantages {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

.page-resources-platform-advantages__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-platform-advantages__section-title {
  font-size: 36px;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-platform-advantages__text-block {
  font-size: 18px;
  color: #ffffff; /* White text for paragraphs */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-platform-advantages__highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Hero Section */
.page-resources-platform-advantages__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 for fixed header */
  overflow: hidden;
  min-height: 600px;
  background-color: #1A202C; /* Fallback background */
}

.page-resources-platform-advantages__hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-resources-platform-advantages__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 0;
}

.page-resources-platform-advantages__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 900px;
}

.page-resources-platform-advantages__hero-title {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

.page-resources-platform-advantages__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources-platform-advantages__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-platform-advantages__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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-platform-advantages__cta-button--primary {
  background: #FFD700;
  color: #1A202C;
}

.page-resources-platform-advantages__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-platform-advantages__cta-button--secondary {
  background: #1A202C;
  color: #FFD700;
  border-color: #FFD700;
}

.page-resources-platform-advantages__cta-button--secondary:hover {
  background: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Advantages Grid */
.page-resources-platform-advantages__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-platform-advantages__advantage-card {
  background: #1A202C; /* Dark background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

.page-resources-platform-advantages__advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-platform-advantages__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* No filter for images */
}

.page-resources-platform-advantages__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}