/* style/register.css */
.page-register {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop and mobile */
}

.page-register__hero-section {
    background-color: #1A2B3C; /* Dark blue background */
    color: #ffffff; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-register__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-register__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1A2B3C; /* Dark text on gold button */
    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;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-register__secondary-button {
    display: inline-block;
    background-color: transparent;
    color: #FFD700; /* Gold text for secondary button */
    border: 2px solid #FFD700;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-register__secondary-button:hover {
    background-color: #FFD700;
    color: #1A2B3C;
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #1A2B3C; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
    font-weight: bold;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.page-register__value-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register__value-item img {
    width: 100%;
    height: 200px; /* Enforce min height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-register__value-heading {
    font-size: 1.5em;
    color: #1A2B3C;
    margin-bottom: 15px;
}

.page-register__value-text {
    font-size: 1em;
    color: #555555;
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-register__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    gap: 20px;
}

.page-register__step-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    color: #1A2B3C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
}

.page-register__step-content {
    flex-grow: 1;
}

.page-register__step-heading {
    font-size: 1.6em;
    color: #1A2B3C;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-register__step-text {
    color: #555555;
    font-size: 1em;
}

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

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-register__condition-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FFD700;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__condition-heading {
    font-size: 1.4em;
    color: #1A2B3C;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-register__condition-text {
    color: #555555;
    font-size: 0.95em;
}

.page-register__condition-text a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-register__condition-text a:hover {
    text-decoration: underline;
}

.page-register__faq-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-register__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #1A2B3C;
    cursor: pointer;
    background-color: #fefefe;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #f0f0f0;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg);
}

.page-register__faq-answer {
    padding: 15px 25px 20px 25px;
    background-color: #fcfcfc;
    border-top: 1px solid #e0e0e0;
    color: #555555;
}

.page-register__faq-answer p {
    margin: 0;
}

.page-register__faq-answer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-register__faq-answer a:hover {
    text-decoration: underline;
}

.page-register__cta-bottom-section {
    background-color: #1A2B3C;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    margin-top: 60px;
}

.page-register__cta-bottom-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__cta-bottom-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-register__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2.2em;
    }
    .page-register__cta-bottom-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-register__cta-button,
    .page-register__secondary-button {
        width: 100%;
        max-width: 300px;
    }
    .page-register__section-title {
        font-size: 1.8em;
        margin-top: 40px;
    }
    .page-register__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__value-item img,
    .page-register__step-item img,
    .page-register__condition-item img,
    .page-register__faq-item img {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
        min-width: 200px; /* Enforce min size */
        min-height: 200px; /* Enforce min size */
    }
    .page-register__value-item img {
        height: 250px; /* Maintain a reasonable height for content images on mobile */
    }
    .page-register__step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 20px;
    }
    .page-register__step-icon {
        margin-bottom: 15px;
    }
    .page-register__step-heading {
        font-size: 1.4em;
    }
    .page-register__conditions-list {
        grid-template-columns: 1fr;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 10px 20px 15px 20px;
        font-size: 0.95em;
    }
    .page-register__cta-bottom-title {
        font-size: 2em;
    }
    .page-register__cta-bottom-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-register__hero-section {
        padding: 60px 15px;
    }
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.6em;
    }
    .page-register__cta-button,
    .page-register__secondary-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-register__value-item,
    .page-register__step-item,
    .page-register__condition-item,
    .page-register__faq-item {
        padding: 15px;
    }
    .page-register__value-heading {
        font-size: 1.3em;
    }
    .page-register__step-heading {
        font-size: 1.2em;
    }
    .page-register__condition-heading {
        font-size: 1.2em;
    }
    .page-register__faq-question {
        font-size: 1em;
    }
    .page-register__cta-bottom-title {
        font-size: 1.8em;
    }
    .page-register__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}