/* style/register.css */

/* Base styles */
.page-register {
  font-family: 'Arial', sans-serif;
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  line-height: 1.6;
}

.page-register a {
  color: #22C768; /* Auxiliary color for links */
  text-decoration: none;
}

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

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

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

.page-register__section-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
  color: #F2FFF6; /* Custom Text Main */
  font-weight: bold;
  line-height: 1.2;
}

.page-register__section-intro {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-register__card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid #2E7A4E; /* Custom Border */
  color: #F2FFF6; /* Custom Text Main */
}

.page-register__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #F2FFF6; /* Custom Text Main */
}

.page-register__card-description {
  font-size: 16px;
  line-height: 1.7;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  min-height: 600px;
  background-color: #0A4B2C; /* Deep Green for hero section background */
}

.page-register__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 40px; /* Space between image and text */
}

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

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

.page-register__main-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-register__hero-description {
  font-size: 20px;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.page-register__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.page-register__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

/* Why Choose Section */
.page-register__why-choose {
  background-color: #08160F; /* Custom Background */
}

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

.page-register__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Registration Guide Section */
.page-register__registration-guide {
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-register__text-dark {
  color: #333333;
}

.page-register__registration-guide .page-register__section-title,
.page-register__registration-guide .page-register__section-intro {
  color: #333333;
}

.page-register__registration-guide .page-register__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-register__registration-guide .page-register__card-title,
.page-register__registration-guide .page-register__card-description {
  color: #333333;
}

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

.page-register__step-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-register__note-section {
  background-color: #ffffff;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  margin-top: 60px;
  text-align: left;
  color: #333333;
}

.page-register__note-section .page-register__card-title {
  color: #0A4B2C;
  margin-top: 0;
  font-size: 26px;
}

.page-register__note-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-register__note-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #333333;
}

.page-register__note-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #11A84E; /* Main color for checkmark */
  font-weight: bold;
  font-size: 20px;
}

/* Benefits Section */
.page-register__benefits {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-register__benefit-item {
  text-align: center;
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #2E7A4E;
}

.page-register__benefit-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(87, 227, 141, 0.5)); /* Glow effect */
}

/* FAQ Section */
.page-register__faq {
  background-color: #f8f9fa; /* Light background for contrast */
}

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

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

.page-register__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  position: relative;
}

.page-register__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-register__faq-qtext {
  color: #333333;
  text-align: left;
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 20px;
  color: #11A84E; /* Main color */
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−';
}

.page-register__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  text-align: left;
}

.page-register__faq-answer p {
  margin: 0;
}

/* Bottom CTA Section */
.page-register__cta-bottom {
  background-color: #08160F; /* Custom Background */
  padding: 80px 0;
}

.page-register__cta-content {
  max-width: 900px;
}

/* Utility classes */
.page-register__mt-4 {
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__section-title {
    font-size: clamp(26px, 4.5vw, 40px);
  }
  .page-register__hero-description {
    font-size: 18px;
  }
  .page-register__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }

  .page-register__main-title {
    font-size: clamp(28px, 6vw, 45px);
    margin-bottom: 15px;
  }

  .page-register__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-register__section {
    padding: 40px 0;
  }

  .page-register__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__card {
    padding: 25px;
  }

  .page-register__card-title {
    font-size: 22px;
  }

  .page-register__feature-image,
  .page-register__step-image {
    height: 200px;
  }

  .page-register__note-section {
    padding: 25px;
    margin-top: 40px;
  }

  .page-register__note-list li {
    font-size: 15px;
    padding-left: 25px;
  }

  .page-register__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }

  .page-register__cta-bottom {
    padding: 60px 0;
  }

  /* 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__features-grid,
  .page-register__steps-grid,
  .page-register__benefits-grid,
  .page-register__faq-list,
  .page-register__cta-content,
  .page-register__note-section,
  .page-register__benefit-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* 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;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .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;
  }

  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-register__section-title {
    font-size: 26px;
  }
  .page-register__main-title {
    font-size: 32px;
  }
  .page-register__hero-description {
    font-size: 15px;
  }
  .page-register__cta-button {
    font-size: 16px;
    padding: 10px 20px;
  }
  .page-register__card-title {
    font-size: 20px;
  }
  .page-register__card-description {
    font-size: 14px;
  }
  .page-register__note-list li {
    font-size: 14px;
  }
  .page-register__faq-item summary {
    font-size: 15px;
  }
  .page-register__faq-answer {
    font-size: 14px;
  }
}