/* style/register.css */
.page-register {
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: #003366; /* Fallback for content behind image */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim image for text readability */
}

.page-register__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-register__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
    z-index: 10;
}

.page-register__hero-title {
    font-size: 3.5em;
    color: #FFCC00;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-register__hero-button,
.page-register__main-button,
.page-register__final-cta-button {
    display: inline-block;
    background-color: #FFCC00;
    color: #003366;
    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;
    border: none;
    cursor: pointer;
}

.page-register__hero-button:hover,
.page-register__main-button:hover,
.page-register__final-cta-button:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-register__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-register__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00;
    border-radius: 2px;
}

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

.page-register__call-to-action-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #003366;
    font-weight: bold;
}

/* Value Section */
.page-register__value-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

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

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

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

.page-register__value-icon {
    width: 200px; /* Min size 200px */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-register__value-text {
    color: #666666;
    font-size: 0.95em;
}

/* Steps Section */
.page-register__steps-section {
    padding: 80px 0;
}

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

.page-register__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.page-register__step-item:nth-child(odd) {
    flex-direction: column;
}

.page-register__step-item:nth-child(even) {
    flex-direction: column;
}

.page-register__step-heading {
    font-size: 2em;
    color: #FFCC00;
    margin-bottom: 15px;
}

.page-register__step-text {
    max-width: 700px;
    color: #555555;
    margin-bottom: 20px;
}

.page-register__step-image {
    width: 400px; /* Min size 200px */
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Conditions Section */
.page-register__conditions-section {
    background-color: #003366;
    color: #ffffff;
    padding: 80px 0;
}

.page-register__conditions-section .page-register__section-title {
    color: #FFCC00;
}

.page-register__conditions-section .page-register__section-intro {
    color: #f0f0f0;
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-register__condition-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #FFCC00;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05em;
}

.page-register__condition-item strong {
    color: #FFCC00;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.page-register__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    overflow: hidden;
}

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

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

.page-register__faq-toggle {
    font-size: 1.5em;
    color: #FFCC00;
    transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
    padding: 0 25px 20px 25px;
    color: #666666;
    font-size: 1em;
    border-top: 1px solid #eee;
}

/* Final CTA Section */
.page-register__final-cta-section {
    background-color: #003366;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-register__final-cta-title {
    font-size: 2.8em;
    color: #FFCC00;
    margin-bottom: 20px;
}

.page-register__final-cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-register__login-prompt {
    margin-top: 30px;
    font-size: 1.1em;
}

.page-register__login-link {
    color: #FFCC00;
    text-decoration: none;
    font-weight: bold;
}

.page-register__login-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 3em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__value-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-register__step-image,
    .page-register__value-icon {
        width: 250px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button,
    .page-register__main-button,
    .page-register__final-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 1em;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__step-item {
        flex-direction: column;
    }
    .page-register__step-heading {
        font-size: 1.5em;
    }
    .page-register__step-image,
    .page-register__value-icon {
        max-width: 100%;
        height: auto;
        width: 300px; /* Ensure min size for content images */
        height: 225px;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-register__final-cta-title {
        font-size: 2em;
    }
    .page-register__final-cta-description {
        font-size: 1em;
    }
    .page-register__container {
        padding: 15px;
    }
    /* Ensure no horizontal scroll for content area images */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__hero-description {
        font-size: 0.9em;
    }
    .page-register__hero-button,
    .page-register__main-button,
    .page-register__final-cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__faq-question {
        font-size: 1em;
    }
    .page-register__step-image,
    .page-register__value-icon {
        width: 200px; /* Smallest allowed size for content images */
        height: 150px;
    }
}