/* style/register.css */
.page-register {
  background-color: #08160F; /* Nền tối từ màu tùy chỉnh */
  color: #F2FFF6; /* Màu chữ chính sáng */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-register__section {
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-register__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2FFF6;
  line-height: 1.2;
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #A7D9B8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1400px;
  margin-bottom: 40px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-register__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* H1 font-size clamp */
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.15em;
  color: #A7D9B8;
  margin-bottom: 40px;
}

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

.page-register__cta-buttons--center {
  margin-top: 40px;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-register__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-register__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-register__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

.page-register__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.3);
}

/* Video Section */
.page-register__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #2E7A4E;
  padding-top: 10px; /* Small top padding */
}

.page-register__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__video {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-register__video-content {
  text-align: center;
  max-width: 800px;
  margin-top: 40px;
}

.page-register__video-title {
  font-size: 2.2em;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-register__video-description {
  font-size: 1.05em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

/* Why Register Section & Grid */
.page-register__why-register {
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
}

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

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

.page-register__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-register__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}