/* style/index-registration-process.css */
.page-index-registration-process {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Fixed header spacing */
.page-index-registration-process__hero-section {
  padding-top: var(--header-offset, 120px);
}

.page-index-registration-process__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-index-registration-process__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Hero Section */
.page-index-registration-process__hero-section {
  text-align: center;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-index-registration-process__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for registration/login fonts */
  line-height: 1.2;
}

.page-index-registration-process__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-index-registration-process__btn-primary,
.page-index-registration-process__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-index-registration-process__btn-primary {
  background-color: #C30808; /* Custom color for registration/login */
  color: #FFFF00; /* Custom color for registration/login fonts */
  border: 2px solid #C30808;
}

.page-index-registration-process__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-index-registration-process__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Custom color for registration/login fonts */
  border: 2px solid #FFFF00;
}

.page-index-registration-process__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

/* Section Titles */
.page-index-registration-process__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
  line-height: 1.2;
}

.page-index-registration-process__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Why Register Section */
.page-index-registration-process__why-register-section {
  padding: 80px 0;
}

.page-index-registration-process__why-register-section .page-index-registration-process__section-title {
  color: #017439;
}

.page-index-registration-process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-registration-process__card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-index-registration-process__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-index-registration-process__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-index-registration-process__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-index-registration-process__card-text {
  font-size: 1em;
  color: #555555;
}

/* Registration Steps Section */
.page-index-registration-process__registration-steps-section {
  padding: 80px 0;
}

.page-index-registration-process__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-index-registration-process__step-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.page-index-registration-process__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00; /* Custom color for registration/login fonts */
  background-color: #C30808; /* Custom color for registration/login */
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-registration-process__step-content {
  flex-grow: 1;
}

.page-index-registration-process__step-title {
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom color for registration/login fonts */
}

.page-index-registration-process__step-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-index-registration-process__step-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-index-registration-process__step-list {
  list-style: disc inside;
  margin-left: 20px;
  color: #ffffff;
}

.page-index-registration-process__step-list li {
  margin-bottom: 10px;
}

.page-index-registration-process__cta-area {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.page-index-registration-process__cta-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Verification Section */
.page-index-registration-process__verification-section {
  padding: 80px 0;
}

.page-index-registration-process__verification-section .page-index-registration-process__section-title {
  color: #017439;
}

.page-index-registration-process__verification-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index-registration-process__verification-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-index-registration-process__text-block {
  flex: 1;
  color: #333333;
}

.page-index-registration-process__sub-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #017439;
}

.page-index-registration-process__ordered-list {
  list-style: decimal inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-index-registration-process__ordered-list li {
  margin-bottom: 10px;
  color: #555555;
}

.page-index-registration-process__text {
  color: #555555;
}

/* FAQ Section */
.page-index-registration-process__faq-section {
  padding: 80px 0;
}

.page-index-registration-process__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-registration-process__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-registration-process__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-index-registration-process__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index-registration-process__faq-item-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
}

.page-index-registration-process__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00; /* Custom color for registration/login fonts */
  transition: transform 0.3s ease;
}

.page-index-registration-process__faq-item.active .page-index-registration-process__faq-toggle {
  transform: rotate(45deg);
}

.page-index-registration-process__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-index-registration-process__faq-item.active .page-index-registration-process__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-index-registration-process__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-index-registration-process__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-index-registration-process__cta-final-section .page-index-registration-process__section-title {
  color: #017439;
}

.page-index-registration-process__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-registration-process__hero-title {
    font-size: 2.5em;
  }

  .page-index-registration-process__section-title {
    font-size: 2em;
  }

  .page-index-registration-process__step-title {
    font-size: 1.7em;
  }

  .page-index-registration-process__verification-content {
    flex-direction: column;
  }

  .page-index-registration-process__verification-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-index-registration-process {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-registration-process__container {
    padding: 0 15px;
  }

  .page-index-registration-process__hero-section,
  .page-index-registration-process__why-register-section,
  .page-index-registration-process__registration-steps-section,
  .page-index-registration-process__verification-section,
  .page-index-registration-process__faq-section,
  .page-index-registration-process__cta-final-section {
    padding: 60px 0;
  }

  .page-index-registration-process__hero-title {
    font-size: 2em;
  }

  .page-index-registration-process__hero-description {
    font-size: 1em;
  }

  .page-index-registration-process__hero-buttons,
  .page-index-registration-process__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-registration-process__btn-primary,
  .page-index-registration-process__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  
  .page-index-registration-process__grid {
    grid-template-columns: 1fr;
  }

  .page-index-registration-process__card {
    padding: 20px;
  }

  .page-index-registration-process__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .page-index-registration-process__step-number {
    font-size: 2em;
    width: 60px;
    height: 60px;
  }

  .page-index-registration-process__step-title {
    font-size: 1.5em;
  }

  .page-index-registration-process__step-text,
  .page-index-registration-process__step-list {
    font-size: 0.95em;
  }

  .page-index-registration-process__verification-image {
    max-width: 100%;
  }

  /* Mobile image responsiveness */
  .page-index-registration-process img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-registration-process__section,
  .page-index-registration-process__card,
  .page-index-registration-process__container,
  .page-index-registration-process__cta-area,
  .page-index-registration-process__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-registration-process__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  
  .page-index-registration-process__faq-question {
    padding: 15px 20px;
  }
  
  .page-index-registration-process__faq-answer {
    padding: 0 20px;
  }
  
  .page-index-registration-process__faq-item.active .page-index-registration-process__faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-registration-process__hero-title {
    font-size: 1.8em;
  }

  .page-index-registration-process__section-title {
    font-size: 1.8em;
  }

  .page-index-registration-process__step-title {
    font-size: 1.3em;
  }

  .page-index-registration-process__cta-area {
    padding: 30px 15px;
  }

  .page-index-registration-process__cta-text {
    font-size: 1.1em;
  }
}