/* General page styling */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F3F8FF); /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-register__section {
    padding: 60px 0;
}

.page-register__dark-section {
    background-color: var(--deep-navy, #08162B);
    color: var(--text-main, #F3F8FF);
}

.page-register__light-section {
    background-color: #ffffff; /* Explicitly white for contrast */
    color: var(--text-main-dark, #333333); /* Dark text for light background */
}

.page-register__section-title {
    font-size: 2.5em;
    color: var(--gold, #F2C14E);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary, #AFC4E8);
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-navy, #08162B);
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-register__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

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

.page-register__intro-text {
    font-size: 1.2em;
    color: var(--text-main, #F3F8FF);
    margin-bottom: 30px;
}

/* CTA Button Styling */
.page-register__cta-button {
    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, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-register__cta-button:hover {
    transform: translateY(-2px);
}

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

.page-register__cta-button.page-register__btn-primary:hover {
    filter: brightness(1.1);
}

.page-register__cta-button.page-register__btn-secondary {
    background: #ffffff;
    color: var(--main-color, #113B7A);
    border: 2px solid var(--main-color, #113B7A);
}

.page-register__cta-button.page-register__btn-secondary:hover {
    background: var(--main-color, #113B7A);
    color: #ffffff;
}

.page-register__cta-button.page-register__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}