:root {
    --primary-color: #B80000; /* Deep Red */
    --primary-color-dark: #8c0000; /* Darker Red for hover */
    --primary-color-light: #cd4d4d; /* Lighter Red for accents */
    --secondary-color: #FFD700; /* Gold */
    --secondary-color-dark: #b39700; /* Darker Gold for text on gold background */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
}

.page-register {
    padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
    color: var(--text-color-dark);
    background-color: #f8f8f8;
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-register__hero-section {
    position: relative;
    text-align: center;
    color: var(--text-color-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
}

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

.page-register__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    margin: 20px;
}

.page-register__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-register__link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-register__link:hover {
    color: var(--secondary-color-dark);
}

.page-register__cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__cta-button:hover {
    background-color: var(--secondary-color-dark);
    transform: translateY(-2px);
}

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

.page-register__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-register__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-register__value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-register__value-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__value-item:hover {
    transform: translateY(-5px);
}

.page-register__value-image {
    width: 100%;
    max-width: 400px; /* Ensure images in cards are not too small */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-register__value-heading {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-register__value-description {
    font-size: 1em;
    color: var(--text-color-dark);
}

.page-register__steps-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.page-register__steps-graphic {
    text-align: center;
}

.page-register__steps-image {
    width: 100%;
    max-width: 600px; /* Ensure image is not too small */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-register__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-register__step-item {
    background-color: #ffffff;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    position: relative;
}

.page-register__step-number {
    position: absolute;
    left: -15px;
    top: 20px;
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-register__step-heading {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    padding-left: 25px;
}

.page-register__step-description {
    font-size: 0.95em;
    color: var(--text-color-dark);
    padding-left: 25px;
}

.page-register__conditions-list {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    list-style: disc inside;
}

.page-register__condition-item {
    font-size: 1em;
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

.page-register__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-register__faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--primary-color-light);
    border-radius: 8px;
    overflow: hidden;
}

.page-register__faq-question {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-register__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-register__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-register__faq-question:hover {
    background-color: var(--primary-color-dark);
}

.page-register__faq-answer {
    background-color: #ffffff;
    color: var(--text-color-dark);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-register__faq-answer p {
    padding: 15px 0;
    margin: 0;
    line-height: 1.6;
}

.page-register__floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-register__floating-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 150px;
}

.page-register__floating-btn--register {
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
}

.page-register__floating-btn--register:hover {
    background-color: var(--secondary-color-dark);
    transform: translateY(-2px);
}

.page-register__floating-btn--login {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-register__floating-btn--login:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 2.2em;
    }
    .page-register__intro-text {
        font-size: 1.1em;
    }
    .page-register__steps-container {
        grid-template-columns: 1fr;
    }
    .page-register__steps-graphic {
        order: -1; /* Move image above steps on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        min-height: 400px;
    }
    .page-register__hero-content {
        padding: 30px 15px;
        margin: 10px;
    }
    .page-register__main-title {
        font-size: 1.8em;
    }
    .page-register__intro-text {
        font-size: 1em;
    }
    .page-register__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-padding {
        padding: 40px 15px;
    }
    .page-register__value-item {
        padding: 20px;
    }
    .page-register__value-heading {
        font-size: 1.3em;
    }
    .page-register__steps-container {
        gap: 30px;
    }
    .page-register__step-item {
        padding: 15px 20px;
    }
    .page-register__step-heading {
        font-size: 1.2em;
    }
    .page-register__condition-item, .page-register__faq-question, .page-register__faq-answer p {
        font-size: 0.95em;
    }
    /* Ensure content images are responsive and don't overflow */
    .page-register__value-image,
    .page-register__steps-image {
        max-width: 100%;
        height: auto;
    }
    /* Mobile adjustments for floating buttons */
    .page-register__floating-actions {
        bottom: 15px;
        right: 15px;
        flex-direction: row;
        width: calc(100% - 30px);
        justify-content: space-around;
    }
    .page-register__floating-btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.9em;
        min-width: unset;
    }
}