/* style/register.css */

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

/* Headings */
.page-register h1,
.page-register h2,
.page-register h3,
.page-register h4,
.page-register h5,
.page-register h6 {
  color: #F2FFF6; /* Custom Text Main */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-register__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  text-align: center;
  margin-bottom: 20px;
}

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 30px;
  color: #F2C14E; /* Custom Gold for section titles */
}

.page-register__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Links */
.page-register a {
  color: #57E38D; /* Custom Glow for links */
  text-decoration: none;
}

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

/* Container for content */
.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;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: #08160F;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  margin-top: -150px; /* Overlap image slightly for visual appeal */
  background: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Custom Border */
}

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

/* CTA Button */
.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-register__cta-button--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  transform: translateY(-2px);
}

.page-register__cta-button--secondary {
  background: #11271B; /* Custom Card BG */
  color: #57E38D; /* Custom Glow */
  border: 2px solid #2AD16F; /* Main green border */
}

.page-register__cta-button--secondary:hover {
  background-color: #0A4B2C; /* Custom Deep Green */
  color: #F2FFF6; /* Custom Text Main */
  border-color: #57E38D; /* Custom Glow */
  transform: translateY(-2px);
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-register__benefit-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__benefit-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #F2C14E; /* Custom Gold */
}

.page-register__benefit-description {
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Custom Deep Green */
}

.page-register__form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #11271B; /* Custom Card BG */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-register__form-group {
  margin-bottom: 20px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-register__form-input:focus {
  outline: none;
  border-color: #57E38D; /* Custom Glow */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

.page-register__form-checkbox {
  display: flex;
  align-items: flex-start;
}

.page-register__form-checkbox-input {
  margin-right: 10px;
  margin-top: 4px;
}

.page-register__form-checkbox-label {
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 0.95em;
}

.page-register__form-checkbox-label a {
  color: #57E38D; /* Custom Glow for links */
}

.page-register__submit-button {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.2em;
  margin-top: 20px;
  cursor: pointer;
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 20px;
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-register__login-prompt a {
  color: #F2C14E; /* Custom Gold for login link */
  font-weight: bold;
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-register__step-item {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  position: relative;
  overflow: hidden;
}

.page-register__step-number {
  font-size: 3em;
  font-weight: bold;
  color: rgba(242, 193, 78, 0.2); /* Custom Gold with transparency */
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.page-register__step-item h3,
.page-register__step-item p {
  position: relative;
  z-index: 1;
}

.page-register__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #F2C14E; /* Custom Gold */
}

.page-register__step-description {
  color: #A7D9B8; /* Custom Text Secondary */
}

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

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

.page-register__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-item summary:hover {
  background-color: #0A4B2C; /* Custom Deep Green */
}

.page-register__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Custom Glow */
}

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

.page-register__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8; /* Custom Text Secondary */
  border-top: 1px solid #2E7A4E; /* Custom Border */
}

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-content {
    margin-top: -100px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-register__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-register__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-register__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
    max-width: 90%;
  }

  .page-register__benefits-grid,
  .page-register__steps-list {
    grid-template-columns: 1fr;
  }

  .page-register__benefits-section,
  .page-register__form-section,
  .page-register__steps-section,
  .page-register__faq-section,
  .page-register__cta-bottom {
    padding: 60px 0;
  }

  .page-register__container {
    padding: 0 15px;
  }

  .page-register__form {
    padding: 30px 20px;
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile button responsiveness */
  .page-register__cta-button,
  .page-register__submit-button {
    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-bottom .page-register__cta-button {
    margin-top: 30px;
  }

  /* Ensure containers with images/buttons also adapt */
  .page-register__benefits-section,
  .page-register__form-section,
  .page-register__steps-section,
  .page-register__faq-section,
  .page-register__cta-bottom,
  .page-register__benefits-grid,
  .page-register__steps-list,
  .page-register__form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-register__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-content {
    margin-top: -60px;
    padding: 20px 10px;
  }
  .page-register__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }
  .page-register__section-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
  .page-register__form {
    padding: 25px 15px;
  }
  .page-register__step-number {
    font-size: 2.5em;
  }
  .page-register__step-title {
    font-size: 1.4em;
  }
}