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

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

.page-register__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-register__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand main color for dark background */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-register__hero-section .page-register__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  z-index: 1;
}

.page-register__hero-content {
  flex: 1;
  text-align: left;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

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

.page-register__hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom Register button color */
  color: #FFFF00; /* Custom Register font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  margin-left: 20px;
}

.page-register__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Why Join Section */
.page-register__why-join-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-register__feature-item:hover {
  transform: translateY(-5px);
}

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

.page-register__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #017439;
  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(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-register__step-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.page-register__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FFFF00; /* Custom font color for emphasis */
  margin-bottom: 20px;
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid #FFFF00;
}

.page-register__step-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-register__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-register__security-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-register__security-text {
  flex: 1;
  text-align: left;
}

.page-register__security-subtitle {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__security-paragraph {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-register__security-paragraph .page-register__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-register__security-paragraph .page-register__text-link:hover {
  color: #005f2c;
}

.page-register__security-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__security-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-register__promotions-section .page-register__section-title,
.page-register__promotions-section .page-register__section-description {
  color: #FFFFFF;
}

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

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

.page-register__promo-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-register__promo-title {
  font-size: 1.6em;
  color: #FFFF00; /* Custom font color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__promo-text {
  color: #f0f0f0;
  font-size: 1em;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #f5f5f5;
  cursor: pointer;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #017439;
}

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

.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;
  background-color: #FFFFFF;
  color: #666666;
}

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

.page-register__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* CTA Section */
.page-register__cta-section {
  padding: 80px 0;
  background-color: #017439;
  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-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__hero-section .page-register__container {
    flex-direction: column;
    text-align: center;
  }
  .page-register__hero-content {
    text-align: center;
    margin-bottom: 40px;
  }
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__security-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__hero-section {
    min-height: auto;
    padding: 60px 0;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .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;
    margin: 10px 0 !important; /* Adjust margins for stacked buttons */
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-register__feature-item,
  .page-register__step-item,
  .page-register__promo-card {
    padding: 25px;
  }
  .page-register__hero-image img,
  .page-register__feature-item img,
  .page-register__security-image img,
  .page-register__promo-card img,
  .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-section,
  .page-register__why-join-section,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper,
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register__security-subtitle {
    font-size: 1.5em;
  }
  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-title {
    font-size: 1.1em;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-register__step-number {
    font-size: 2.5em;
    width: 70px;
    height: 70px;
    line-height: 70px;
  }
  .page-register__step-title {
    font-size: 1.5em;
  }
  .page-register__security-subtitle {
    font-size: 1.3em;
  }
  .page-register__promo-title {
    font-size: 1.4em;
  }
}