:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-dark: #121212; /* From shared.css body background */
    --login-color: #EA7C07;
    --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
}

/* Base styles for the register page content */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Main text color for dark body background */
    background-color: var(--background-dark); /* Ensure consistency if body background is overridden */
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability, not color change */
}

.page-register__hero-section .page-register__container {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
    font-weight: 700;
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure text wrapping */
}

.page-register__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-register__btn-primary:hover {
    background-color: #1f8ac7; /* Darker shade of primary */
    border-color: #1f8ac7;
    transform: translateY(-2px);
}

.page-register__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-register__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-register__btn-link {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-register__btn-link:hover {
    color: #1f8ac7;
}

/* Why Register Section */
.page-register__why-register-section {
    padding: 80px 0;
    background-color: var(--background-dark); /* Using dark background for section */
    color: var(--text-light);
}

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

.page-register__feature-card {
    background-color: var(--card-bg-dark); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-register__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px; /* Adjust as needed */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-register__feature-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-register__feature-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Steps Section */
.page-register__steps-section {
    padding: 80px 0;
    background-color: var(--primary-color); /* Use primary color as background */
    color: var(--text-light);
}

.page-register__steps-section .page-register__section-title {
    color: var(--secondary-color);
}

.page-register__steps-section .page-register__section-description {
    color: rgba(255, 255, 255, 0.9);
}