/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  color: var(--text-main, #F3F8FF); /* Default text color for the page */
  line-height: 1.6;
}

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

/* Hero Section */
.page-register__hero-section {
  padding: 10px 0 60px; /* Small padding-top as per rule, plus bottom padding */
  background: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
}

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

.page-register__hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.page-register__hero-section h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--glow, #4FA8FF);
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-register__hero-section p {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 30px;
  color: var(--text-secondary, #AFC4E8);
}

.page-register__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #3C83FF 0%, #1A54B6 100%);
}

/* Sections General */
.page-register__section {
  padding: 60px 0;
  background: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
}

.page-register__section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem); /* Use clamp for H2 */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold, #F2C14E);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

/* Steps Section */
.page-register__steps-section {
  background: var(--card-bg, #10233F);
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-register__step-card {
  background: var(--deep-navy, #08162B);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border, #244D84);
}

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

.page-register__step-card h3 {
  font-size: 1.5rem; /* 24px */
  color: var(--glow, #4FA8FF);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__step-card p {
  font-size: 1rem; /* 16px */
  color: var(--text-secondary, #AFC4E8);
}

.page-register__step-image {
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

/* Benefits Section */
.page-register__benefits-section {
  background: var(--deep-navy, #08162B);
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-register__benefit-card {
  display: flex;
  align-items: flex-start;
  background: var(--card-bg, #10233F);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border, #244D84);
}

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

.page-register__benefit-card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-right: 20px;
  background: var(--glow, #4FA8FF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--deep-navy, #08162B);
  font-weight: bold;
}

.page-register__benefit-card-content h3 {
  font-size: 1.5rem; /* 24px */
  color: var(--glow, #4FA8FF);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__benefit-card-content p {
  font-size: 1rem; /* 16px */
  color: var(--text-secondary, #AFC4E8);
}

/* FAQ Section */
.page-register__faq-section {
  background: var(--card-bg, #10233F);
}

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

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border, #244D84);
  overflow: hidden;
  background: var(--deep-navy, #08162B);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main, #F3F8FF);
  font-weight: 600;
}
details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}
details.page-register__faq-item summary.page-register__faq-question:hover {
  background: rgba(36, 77, 132, 0.3); /* Using RGB from #244D84 (border) */
}
.page-register__faq-qtext {
  flex: 1;
  font-size: 1.125rem; /* 18px */
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F3F8FF);
}
.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow, #4FA8FF);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 20px;
  background: rgba(16, 35, 63, 0.7); /* Using RGB from #10233F (card BG) */
  border-radius: 0 0 12px 12px;
  color: var(--text-secondary, #AFC4E8);
  font-size: 1rem;
}

/* CTA Section */
.page-register__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-register__cta-section h2 {
  color: var(--text-main, #F3F8FF);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-section {
    padding-bottom: 40px;
  }
  .page-register__hero-section h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-register__hero-section p {
    font-size: 1rem;
  }
  .page-register__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-register__section {
    padding: 40px 0;
  }
  .page-register__section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 30px;
  }
  .page-register__steps-grid,
  .page-register__benefits-grid {
    gap: 20px;
  }
  .page-register__step-card,
  .page-register__benefit-card {
    padding: 25px;
  }
  .page-register__step-card h3,
  .page-register__benefit-card-content h3 {
    font-size: 1.3rem;
  }
  .page-register__benefit-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    margin-right: 15px;
  }
  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-qtext {
    font-size: 1rem;
  }
  .page-register__faq-toggle {
    font-size: 20px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-register__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
    padding-bottom: 30px;
  }
  .page-register__hero-content {
    padding: 0 15px;
  }
  .page-register__hero-section h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-register__hero-section p {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }
  .page-register__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1rem;
    margin: 0 auto; /* Center button if it's the only one */
  }

  /* Sections General */
  .page-register__section {
    padding: 30px 0;
  }
  .page-register__section h2 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 25px;
  }
  .page-register__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Steps Section */
  .page-register__steps-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
    padding: 0 15px; /* Ensure content is within bounds */
  }
  .page-register__step-card {
    padding: 20px;
  }
  .page-register__step-card h3 {
    font-size: 1.2rem;
  }
  .page-register__step-card p {
    font-size: 0.9rem;
  }
  .page-register__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Benefits Section */
  .page-register__benefits-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
    padding: 0 15px; /* Ensure content is within bounds */
  }
  .page-register__benefit-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .page-register__benefit-card-icon {
    margin-right: 0;
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
  .page-register__benefit-card-content h3 {
    font-size: 1.2rem;
  }
  .page-register__benefit-card-content p {
    font-size: 0.9rem;
  }

  /* FAQ Section */
  .page-register__faq-list {
    padding: 0 15px;
  }
  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px;
  }
  .page-register__faq-qtext {
    font-size: 0.95rem;
  }
  .page-register__faq-toggle {
    font-size: 20px;
    margin-left: 10px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.9rem;
  }

  /* CTA Section */
  .page-register__cta-section {
    padding-bottom: 60px;
  }

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