/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Inherit from body, which is #121212 */
  padding-top: 120px; /* Spacing for fixed header on desktop */
}

/* General container for content */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-register__section-title {
  font-size: 2.5em;
  color: #FFA500; /* Orange accent */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-register__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0; /* Light text for dark background */
}

.page-register__paragraph strong {
  color: #FFA500;
}

/* Hero Banner Section */
.page-register__hero-banner {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Dark blue gradient */
  color: #ffffff;
  margin-top: -120px; /* Compensate for main's padding-top */
  padding-top: 200px; /* Adjust padding to make space for header */
}

.page-register__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFA500; /* Orange for main title */
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Buttons */
.page-register__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-register__btn--primary {
  background: #FFA500; /* Orange */
  color: #000000; /* Black text for contrast */
  border: 2px solid #FFA500;
}

.page-register__btn--primary:hover {
  background: #ffc107;
  border-color: #ffc107;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.page-register__btn--secondary {
  background: #003366; /* Dark blue */
  color: #ffffff; /* White text */
  border: 2px solid #003366;
}

.page-register__btn--secondary:hover {
  background: #004d99;
  border-color: #004d99;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 51, 102, 0.4);
}

.page-register__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
  min-width: 300px;
}

/* Introduction Section */
.page-register__introduction {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #f0f0f0;
}

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

.page-register__feature-item {
  background: #2a2a2a; /* Darker card background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3a3a3a;
}

.page-register__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-register__feature-title {
  font-size: 1.5em;
  color: #FFA500; /* Orange */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* Steps Section */
.page-register__steps {
  padding: 60px 0;
  background-color: #003366; /* Main brand dark blue */
  color: #ffffff;
}

.page-register__step-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFA500; /* Orange */
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.page-register__step-content {
  flex-grow: 1;
}

.page-register__step-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-register__step-description {
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Benefits Section */
.page-register__benefits {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #f0f0f0;
}

.page-register__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-register__benefit-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  font-size: 1.1em;
  color: #f0f0f0;
  background: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #3a3a3a;
}

.page-register__benefit-list li strong {
  color: #FFA500;
}

.page-register__list-icon {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 60px 0;
  background-color: #003366; /* Main brand dark blue */
  color: #ffffff;
}

.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #e0e0e0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent background */
  border-radius: 0 0 5px 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a; /* Darker background for question */
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #f0f0f0;
}

.page-register__faq-question:hover {
  background: #3a3a3a;
  border-color: #5a5a5a;
}

.page-register__faq-question:active {
  background: #4a4a4a;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: #FFA500; /* Orange for FAQ question title */
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFA500;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
  background: #003366;
}

/* Final CTA Section */
.page-register__cta-final {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #f0f0f0;
}

.page-register__small-text {
  font-size: 0.9em;
  margin-top: 30px;
  color: #cccccc;
}

/* Dark/Light Background Helpers */
.page-register__dark-section {
  background: #003366;
  color: #ffffff;
}

.page-register__light-bg {
  background: #1a1a1a;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__hero-subtitle {
    font-size: 1.3em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__step-title {
    font-size: 1.5em;
  }
  .page-register__faq-question h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: 100px; /* Adjust for mobile fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__hero-banner {
    padding-top: 150px; /* Adjust for mobile fixed header */
    margin-top: -100px; /* Compensate for main's padding-top */
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-subtitle {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-register__paragraph {
    font-size: 1em;
  }
  .page-register__container {
    padding: 30px 15px;
  }
  .page-register__features-grid {
    grid-template-columns: 1fr;
  }
  .page-register__feature-item {
    padding: 25px;
  }
  .page-register__feature-icon {
    width: 70px;
    height: 70px;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__step-title {
    font-size: 1.3em;
  }
  .page-register__step-description {
    font-size: 1em;
  }
  .page-register__btn--large {
    font-size: 1.1em;
    padding: 15px 30px;
    min-width: unset;
    width: 100%;
  }
  .page-register__benefit-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }
  .page-register__list-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-register__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  .page-register__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image adaptation */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__hero-banner img,
  .page-register__introduction img,
  .page-register__steps img,
  .page-register__benefits img,
  .page-register__faq-section img,
  .page-register__cta-final img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image fits without cropping in some cases */
  }
  .page-register__hero-content,
  .page-register__container,
  .page-register__features-grid,
  .page-register__step-list,
  .page-register__benefit-list,
  .page-register__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}