.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8;
}

.page-register__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 */
  background-color: #CC0000; /* Primary brand color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  max-width: 800px; /* Limit image width in hero for better composition */
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-register__main-heading {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main heading */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-register__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold button */
  color: #CC0000; /* Red text on gold button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__btn-primary {
  background: #CC0000;
  color: #ffffff;
}

.page-register__btn-primary:hover {
  background: #a30000;
}

.page-register__btn-secondary {
  background: #FFD700;
  color: #CC0000;
  border: 2px solid #CC0000;
}

.page-register__btn-secondary:hover {
  background: #e6c200;
  border-color: #a30000;
}

.page-register__section {
  padding: 80px 0;
  text-align: center;
}

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

.page-register__section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #CC0000; /* Primary red for titles */
}

.page-register__section-title--light {
  color: #FFD700;
}

.page-register__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-register__section-description--light {
  color: #f0f0f0;
}

.page-register__highlight {
  color: #CC0000;
  font-weight: bold;
}

.page-register__dark-bg {
  background-color: #CC0000;
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-register__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-register__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-register__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-register__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #CC0000;
}

.page-register__card p {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

.page-register__card .page-register__btn-secondary {
  margin-top: 20px;
  align-self: flex-start;
  padding: 10px 25px;
  font-size: 16px;
}

.page-register__text-link {
  color: #CC0000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__text-link:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-register__text-link--light {
  color: #FFD700;
}

.page-register__text-link--light:hover {
  color: #ffffff;
}

.page-register__section-footer-text {
  margin-top: 50px;
  font-size: 18px;
  color: #555555;
}

.page-register__section-footer-text--light {
  color: #f0f0f0;
}

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

.page-register__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  background: #FFD700;
  color: #CC0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-register__step-item p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-register__step-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-register__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #f0f0f0;
  color: #333333;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important;
  padding: 25px !important;
  opacity: 1;
  background: #f0f0f0;
  border-radius: 0 0 8px 8px;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #CC0000;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Changed to rotate for a different look */
}

.page-register__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-register__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-heading {
    font-size: 40px;
  }
  .page-register__hero-description {
    font-size: 18px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__section-description {
    font-size: 16px;
  }
  .page-register__card-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-register__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__main-heading {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-register__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-register__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-register__section {
    padding: 50px 0;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__section-title {
    font-size: 28px;
  }
  .page-register__section-description {
    font-size: 15px;
  }
  .page-register__grid,
  .page-register__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-register__card {
    padding: 20px;
  }
  .page-register__card img {
    
  }
  .page-register__card-title {
    font-size: 20px;
  }
  .page-register__card p {
    font-size: 15px;
  }
  .page-register__step-item {
    padding: 25px;
  }
  .page-register__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-register__step-title {
    font-size: 22px;
  }
  .page-register__step-item img {
    height: 200px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-question h3 {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 20px !important;
  }
  .page-register__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-container,
  .page-register__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-register__main-heading {
    font-size: 28px;
  }
  .page-register__hero-description {
    font-size: 15px;
  }
  .page-register__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-register__section-title {
    font-size: 24px;
  }
  .page-register__card-title {
    font-size: 18px;
  }
  .page-register__card img {
    
  }
  .page-register__step-title {
    font-size: 20px;
  }
  .page-register__step-item img {
    
  }
  .page-register__faq-question h3 {
    font-size: 15px;
  }
}