/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f5f5f5; /* Light background for overall page */
}

.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); /* Fixed header spacing */
  background: linear-gradient(135deg, #26A9E0, #1a7bb0);
  color: #ffffff;
  overflow: hidden;
}

.page-register__hero-content {
  max-width: 900px;
  z-index: 10;
  margin-bottom: 40px;
}

.page-register__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__btn-primary {
  display: inline-block;
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

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

.page-register__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
  z-index: 5;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
}

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

.page-register__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-register__features-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-register__feature-card {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-register__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-register__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
}

.page-register__feature-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-register__steps-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-register__steps-section .page-register__section-title,
.page-register__steps-section .page-register__section-description {
  color: #ffffff;
}

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

.page-register__step-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #EA7C07;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 4px solid #26A9E0;
}

.page-register__step-title {
  font-size: 1.3em;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.page-register__step-image-wrapper {
  text-align: center;
}

.page-register__step-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.page-register__bonus-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-register__bonus-card {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-register__bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-register__bonus-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__bonus-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #555555;
}

.page-register__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  font-size: 1em;
}

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

.page-register__app-download-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a7bb0, #26A9E0);
  color: #ffffff;
}

.page-register__app-download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-register__app-text {
  flex: 1;
  min-width: 300px;
}

.page-register__app-text .page-register__section-title,
.page-register__app-text .page-register__section-description {
  text-align: left;
  color: #ffffff;
}

.page-register__app-features-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #f0f0f0;
}

.page-register__app-features-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-register__app-features-list li::before {
  content: '✔';
  color: #EA7C07;
  position: absolute;
  left: 0;
  top: 0;
}

.page-register__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-register__app-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.page-register__app-text .page-register__btn-primary,
.page-register__app-text .page-register__btn-secondary {
  margin-right: 15px;
  margin-top: 15px;
}

.page-register__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #f8f8f8;
  color: #333333;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f0f0f0;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #e5e5e5;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-register__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-register__faq-contact-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-register__faq-contact-text a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-register__faq-contact-text a:hover {
  text-decoration: underline;
}

.page-register__cta-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #26A9E0, #1a7bb0);
  color: #ffffff;
  text-align: center;
}

.page-register__cta-section .page-register__section-title,
.page-register__cta-section .page-register__section-description {
  color: #ffffff;
}

.page-register__cta-button {
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing on mobile */
  }
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__container {
    padding: 20px 15px;
  }
  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__bonus-grid {
    grid-template-columns: 1fr;
  }
  .page-register__app-download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-register__app-text .page-register__section-title,
  .page-register__app-text .page-register__section-description {
    text-align: center;
  }
  .page-register__app-features-list {
    text-align: left;
  }
  .page-register__app-text .page-register__btn-primary,
  .page-register__app-text .page-register__btn-secondary {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-image-wrapper,
  .page-register__step-image-wrapper,
  .page-register__app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__btn-primary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-register__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2em;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px 20px;
  }
}