/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: #FFFFFF; /* Default light background */
}

/* Header offset - applied to the first content section */
.page-register__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Section Titles and Intros */
.page-register__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Buttons */
.page-register__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent; /* Consistent border */
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
}

.page-register__btn-primary:hover {
    background-color: #1a8cc4; /* Slightly darker on hover */
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    background-color: #26A9E0; /* Dark background from brand color */
    color: #FFFFFF; /* Light text for dark background */
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-register__hero-section .page-register__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-register__hero-content {
    flex: 1;
    min-width: 300px;
    z-index: 1;
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
    color: #FFFFFF;
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-register__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.page-register__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333; /* Dark text for light background */
}

.page-register__benefits-section .page-register__section-title {
    color: #26A9E0;
}