.page-register {
  font-family: Arial, sans-serif;
  color: #F3F8FF;
  background-color: #08162B;
  line-height: 1.6;
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding for hero section */
  margin-bottom: 40px;
}

.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 {
  max-width: 900px;
  margin: 20px auto 0 auto;
  text-align: center;
  padding: 0 20px;
}

.page-register__main-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #F2C14E;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.1rem;
  color: #AFC4E8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-register__benefits-section,
.page-register__form-section,
.page-register__faq-section,
.page-register__cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-register__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-register__section-description {
  font-size: 1rem;
  color: #AFC4E8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__benefit-card {
  background-color: #10233F;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84;
  transition: transform 0.3s ease;
}

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

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

.page-register__card-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__card-description {
  font-size: 0.95rem;
  color: #AFC4E8;
}

.page-register__registration-form {
  background-color: #10233F;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #244D84;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

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

.page-register__form-label {
  display: block;
  font-size: 1rem;
  color: #F3F8FF;
  margin-bottom: 8px;
  font-weight: 500;
}

.page-register__form-input {
  width: calc(100% - 22px);
  padding: 12px;
  border: 1px solid #1B3357;
  border-radius: 6px;
  background-color: #08162B;
  color: #F3F8FF;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register__form-input::placeholder {
  color: #AFC4E8;
  opacity: 0.7;
}

.page-register__form-input:focus {
  border-color: #1D5FD1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 95, 209, 0.3);
}

.page-register__password-strength {
  font-size: 0.85rem;
  color: #AFC4E8;
  margin-top: 5px;
}

.page-register__captcha-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-register__captcha-input {
  flex-grow: 1;
}

.page-register__captcha-image {
  border: 1px solid #1B3357;
  border-radius: 6px;
  height: 44px; /* Adjust height to match input height */
  width: auto;
  object-fit: contain;
}

.page-register__terms-checkbox {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.page-register__terms-checkbox input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 4px;
  flex-shrink: 0;
}

.page-register__terms-label {
  font-size: 0.9rem;
  color: #AFC4E8;
}

.page-register__terms-link {
  color: #1D5FD1;
  text-decoration: none;
  font-weight: bold;
}

.page-register__terms-link:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__faq-item {
  background-color: #10233F;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #244D84;
  text-align: left;
}

.page-register__faq-question {
  font-size: 1.2rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__faq-answer {
  font-size: 0.95rem;
  color: #AFC4E8;
}

.page-register__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-register__cta-button--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-register__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #1D5FD1;
  color: #1D5FD1;
  box-shadow: none;
}

.page-register__cta-button--secondary:hover {
  background-color: rgba(29, 95, 209, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(29, 95, 209, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-content {
    padding: 0 30px;
  }
  .page-register__benefits-section,
  .page-register__form-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-register__hero-section {
    margin-bottom: 30px;
  }

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

  .page-register__hero-description {
    font-size: 1rem;
  }

  .page-register__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-register__benefits-section,
  .page-register__form-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 30px 15px;
  }

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

  .page-register__registration-form {
    padding: 30px 20px;
  }

  .page-register__captcha-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-register__captcha-input {
    width: 100%;
  }

  .page-register__captcha-image {
    width: 100%;
    max-width: 200px;
    height: auto;
  }

  .page-register__terms-checkbox {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-register__terms-checkbox input[type="checkbox"] {
    margin-bottom: 10px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__cta-button--primary,
  .page-register__cta-button--secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-content {
    padding: 0 15px;
  }

  .page-register__hero-description {
    font-size: 0.9rem;
  }

  .page-register__registration-form {
    padding: 25px 15px;
  }

  .page-register__form-label,
  .page-register__form-input,
  .page-register__password-strength,
  .page-register__terms-label,
  .page-register__faq-question,
  .page-register__faq-answer {
    font-size: 0.9rem;
  }

  .page-register__card-title {
    font-size: 1.3rem;
  }
}