/* style/register.css */

/* Base styles for the registration page */
.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); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-register__hero-section {
    background-color: #003366; /* Deep blue background */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

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

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

.page-register__cta-button {
    display: inline-block;
    background-color: #FFCC00; /* Golden yellow button */
    color: #003366; /* Deep blue text */
    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);
    min-width: 200px; /* Ensure button is not too small */
    text-align: center;
}

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

.page-register__cta-button--small {
    padding: 12px 25px;
    font-size: 1em;
    min-width: 150px;
}

.page-register__cta-button--large {
    padding: 18px 35px;
    font-size: 1.3em;
    min-width: 250px;
}

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

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    display: block;
}

/* Section Titles and Intros */
.page-register__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

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

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

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

.page-register__value-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #FFCC00; /* Golden accent */
}

.page-register__value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-register__value-icon {
    width: 200px; /* Min size */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-register__card-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__card-description {
    font-size: 1em;
    color: #666666;
}

.page-register__action-center {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px dashed #cccccc;
}

.page-register__action-text {
    font-size: 1.2em;
    color: #003366;
    margin-bottom: 25px;
    font-weight: 600;
}

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

.page-register__registration-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    counter-reset: step-counter;
}

.page-register__step-item {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-left: 5px solid #003366; /* Deep blue accent */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.page-register__step-item:hover {
    border-left-color: #FFCC00; /* Golden yellow on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-register__step-item::before {
    counter-increment: step-counter;
    content: "Step " counter(step-counter);
    position: absolute;
    left: -15px;
    top: -15px;
    background-color: #FFCC00;
    color: #003366;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 50%;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-register__step-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 10px;
    padding-left: 20px; /* Space for step number */
    font-weight: bold;
}

.page-register__step-description {
    font-size: 1em;
    color: #555555;
    padding-left: 20px;
}

.page-register__inline-link {
    color: #003366;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-register__inline-link:hover {
    color: #FFCC00;
}

/* Conditions Section */
.page-register__conditions-section {
    padding: 60px 0;
    background-color: #f0f4f8; /* Light blue-grey background */
}

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

.page-register__condition-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__condition-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-register__condition-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__condition-description {
    font-size: 0.95em;
    color: #666666;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 60px 0;
}

.page-register__faq-list {
    margin-top: 40px;
}

.page-register__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    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: 20px 25px;
    font-size: 1.2em;
    color: #003366;
    font-weight: bold;
    cursor: pointer;
    background-color: #fdfdfd;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-item[open] .page-register__faq-question {
    background-color: #e6f0f8; /* Lighter blue when open */
    border-bottom: none;
}

.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); /* Change + to X or similar */
    color: #003366;
}

.page-register__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
    background-color: #fcfcfc;
}

/* Bottom CTA Section */
.page-register__cta-bottom-section {
    background-color: #003366;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

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

.page-register__cta-bottom-section .page-register__section-intro {
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-register__cta-links {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-register__secondary-link {
    color: #FFCC00;
    text-decoration: none;
    font-size: 1.1em;
    padding: 10px 20px;
    border: 1px solid #FFCC00;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-register__secondary-link:hover {
    background-color: #FFCC00;
    color: #003366;
}

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

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-register__hero-section {
        padding: 60px 15px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 0.95em;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__value-card {
        padding: 25px;
    }
    .page-register__value-icon {
        width: 250px; /* Ensure min 200px on mobile */
        height: auto;
    }
    .page-register__step-item {
        padding: 20px;
        border-left: 3px solid #003366;
    }
    .page-register__step-item::before {
        left: 5px;
        top: -10px;
        padding: 6px 12px;
        font-size: 0.8em;
    }
    .page-register__step-title {
        font-size: 1.3em;
        padding-left: 0;
        margin-top: 15px; /* Adjust for repositioned step number */
    }
    .page-register__step-description {
        padding-left: 0;
    }
    .page-register__condition-item {
        padding: 20px;
    }
    .page-register__condition-title {
        font-size: 1.2em;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 10px 20px 15px 20px;
    }
    .page-register__cta-links {
        flex-direction: column;
        gap: 15px;
    }
    /* CRITICAL: Mobile content area images must not overflow */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__cta-button {
        width: 100%;
        max-width: 300px;
    }
    .page-register__cta-button--large {
        width: 100%;
        max-width: 350px;
    }
}