/* style/register.css */

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

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

.page-register__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-register__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

.page-register__sub-title {
  font-size: clamp(22px, 3vw, 28px);
  color: #F2FFF6;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-register__cta-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-register__cta-button--secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* A lighter green for contrast */
  border: 2px solid #2E7A4E; /* Border */
}

.page-register__cta-button--secondary:hover {
  background: #1E3A2A; /* Deep Green */
  color: #F2FFF6;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A4B2C; /* Deep Green */
}

.page-register__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-register__hero-content {
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 900px;
}

.page-register__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
}

.page-register__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Registration Guide Section */
.page-register__registration-guide-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-register__step-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-register__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-register__step-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__step-title {
  font-size: 24px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-register__step-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

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

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

.page-register__benefit-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-register__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-register__benefit-title {
  font-size: 22px;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-register__benefit-text {
  font-size: 15px;
  color: #A7D9B8;
  line-height: 1.6;
}

/* Why Choose Us Section */
.page-register__why-choose-us-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-register__why-choose-us-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-register__why-choose-us-text {
  flex: 1;
  color: #A7D9B8;
}

.page-register__why-choose-us-text p {
  margin-bottom: 20px;
  font-size: 16px;
}

.page-register__why-choose-us-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-register__why-choose-us-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

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

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

.page-register__faq-question:hover {
  background-color: #1E3A2A; /* Deep Green */
}

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

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

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-register__cta-final-container {
  padding: 40px 20px;
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #2E7A4E; /* Border */
}

.page-register__cta-final-container .page-register__section-title {
  margin-bottom: 25px;
}

.page-register__cta-final-container .page-register__section-description {
  margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-register__why-choose-us-content {
    flex-direction: column;
  }

  .page-register__why-choose-us-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-register__container,
  .page-register__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__hero-section {
    padding-bottom: 40px;
  }

  .page-register__main-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .page-register__hero-description {
    font-size: clamp(16px, 4vw, 18px);
  }

  .page-register__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-register__section-description {
    font-size: clamp(15px, 3vw, 17px);
  }

  .page-register__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-register__hero-image,
  .page-register__step-image,
  .page-register__benefit-icon,
  .page-register__why-choose-us-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__registration-guide-section,
  .page-register__benefits-section,
  .page-register__why-choose-us-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding: 40px 0;
  }

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

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

  .page-register__steps-grid,
  .page-register__benefits-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-content {
    padding: 30px 10px 50px;
  }
  .page-register__section-title {
    font-size: clamp(22px, 7vw, 30px);
  }
  .page-register__section-description {
    font-size: clamp(14px, 3.5vw, 16px);
  }
  .page-register__step-card, .page-register__benefit-card {
    padding: 20px;
  }
  .page-register__faq-question {
    font-size: 15px;
  }
  .page-register__faq-answer {
    font-size: 14px;
  }
}