/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
  color: #ffffff;
}

.page-register__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't affect width calculations */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-register__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-register__btn-primary:hover {
  background-color: #1a7ea6;
  border-color: #1a7ea6;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Why Us Section */
.page-register__why-us-section {
  padding: 80px 0;
  text-align: center;
  background-color: #000000; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-register__why-us-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-register__why-us-intro {
  font-size: 1.1em;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-register__why-us-intro a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-register__why-us-intro a:hover {
  color: #1a7ea6;
}

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

.page-register__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-register__feature-icon {
  width: 100%; /* Occupy card width */
  height: auto;
  max-height: 250px; /* Limit height for uniform look */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-register__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Use brand color for titles */
}

.page-register__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__feature-text a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-register__feature-text a:hover {
  color: #1a7ea6;
}

/* Registration Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-register__steps-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}