/* style/register.css */

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

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

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

.page-register__text-block {
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Custom Text Secondary color */
  font-size: 1.1rem;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small padding-top as body handles header offset */
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
  overflow: hidden;
}

.page-register__image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

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

.page-register__main-title {
  color: #F2FFF6; /* Custom Text Main */
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.page-register__description {
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 1.2rem;
  margin-bottom: 30px;
}

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

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

.page-register__cta-button--centered {
  display: block;
  margin: 40px auto;
  width: fit-content;
}

.page-register__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

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

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

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

.page-register__step-card:hover {
  transform: translateY(-5px);
}

.page-register__step-icon {
  background: linear-gradient(45deg, #57E38D, #2AD16F); /* Custom Glow and Button color */
  color: #08160F;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-register__step-title {
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-register__step-text {
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 1rem;
}

.page-register__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #11271B; /* Custom Card BG */
}

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

.page-register__benefit-card {
  background-color: #0A4B2C; /* Custom Deep Green */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
}

.page-register__benefit-title {
  color: #F2C14E; /* Custom Gold */
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-register__benefit-text {
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 1rem;
}

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

.page-register__promotion-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-register__promotion-list li {
  background-color: #11271B; /* Custom Card BG */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid #2AD16F; /* Custom Button color */
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #11271B; /* Custom Card BG */
}

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

.page-register__faq-item {
  background-color: #0A4B2C; /* Custom Deep Green */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-register__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #F2FFF6; /* Custom Text Main */
  font-weight: bold;
  font-size: 1.2rem;
  list-style: none; /* Remove default marker */
}

.page-register__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-register__faq-question {
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Custom Glow */
}

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

.page-register__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 1rem;
}

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

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

/* General image styling */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

  .page-register__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-register__description {
    font-size: 1rem;
  }

  .page-register__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* Images responsive */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  /* Buttons responsive */
  .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-button--centered {
    margin-left: auto !important;
    margin-right: auto !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;
    overflow: hidden !important;
  }

  .page-register__hero-content,
  .page-register__steps-grid,
  .page-register__benefits-grid,
  .page-register__promotion-list,
  .page-register__faq-list {
    padding-left: 0;
    padding-right: 0;
  }

  .page-register__step-card,
  .page-register__benefit-card {
    padding: 20px;
  }

  .page-register__faq-item summary {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-register__faq-toggle {
    font-size: 1.5rem;
  }
}

/* Desktop specific video width for flex container */
.page-register__video-container {
  width: 100%; /* Ensure full width on desktop for flex item */
}

/* Ensure content images are not too small */
.page-register__content-area img,
.page-register__steps-section img,
.page-register__benefits-section img,
.page-register__promotion-section img,
.page-register__faq-section img,
.page-register__final-cta-section img {
  min-width: 200px;
  min-height: 200px;
}