/* style/register.css */

/* Ensure main content is below the fixed header */
.page-register {
    padding-top: var(--header-offset, 120px); /* For desktop */
    background-color: #FFFFFF; /* Light background as per body background */
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    overflow: hidden;
    padding: 60px 20px; 
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #333333 100%); /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
}

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

.page-register__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FCBC45; /* Accent color for title */
    font-weight: bold;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

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

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Buttons */
.page-register__button {
    display: inline-block;
    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;
    cursor: pointer;
    border: none;
}

.page-register__button--primary {
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000; /* Dark text for light button */
}

.page-register__button--primary:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}

.page-register__button--secondary {
    background-color: #000000; /* Main color for secondary action */
    color: #FFFFFF; /* Light text for dark button */
    border: 2px solid #FCBC45;
}

.page-register__button--secondary:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

/* Section Styling */
.page-register__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #000000;
    font-weight: bold;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__final-cta-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.page-register__value-item {
    text-align: center;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-register__value-icon {
    width: 200px; /* Minimum 200px */
    height: 150px; /* Minimum 200px (adjust for aspect ratio) */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

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

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

/* Steps List */
.page-register__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-register__step-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.page-register__step-number {
    background-color: #FCBC45;
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: -55px auto 20px auto; /* Position above item, centered */
    border: 3px solid #FFFFFF;
}

.page-register__step-heading {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

.page-register__step-text {
    color: #666666;
}

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

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

.page-register__condition-item {
    background-color: #f9f9f9;
    padding: 25px;
    margin-bottom: 15px;
    border-left: 5px solid #FCBC45;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-register__condition-heading {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-register__condition-text {
    color: #666666;
}

.page-register__inline-link {
    color: #FCBC45;
    text-decoration: underline;
}

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

/* FAQ Section */
.page-register__faq-container {
    margin-top: 40px;
}

.page-register__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-register__faq-answer {
    padding: 15px 25px 20px 25px;
    background-color: #ffffff;
    color: #555555;
    font-size: 1em;
    border-top: 1px solid #eee;
}

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

/* Final CTA Section */
.page-register__final-cta-section {
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(90deg, #000000 0%, #333333 100%);
    color: #FFFFFF;
    padding: 60px 20px;
    border-radius: 10px;
}

.page-register__final-cta-section .page-register__section-title {
    color: #FCBC45;
}

.page-register__final-cta-section .page-register__section-description {
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 120px); /* Use desktop offset variable, shared.css should adjust it for mobile */
    }

    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 0.95em;
    }
    .page-register__value-grid,
    .page-register__steps-list {
        grid-template-columns: 1fr;
    }
    .page-register__value-icon,
    .page-register__hero-image {
        max-width: 100%; /* CRITICAL: Prevent overflow */
        height: auto;
    }
    .page-register__value-item,
    .page-register__step-item {
        padding: 20px;
    }
    .page-register__step-number {
        margin: -45px auto 15px auto;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 10px 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__hero-section,
    .page-register__value-section,
    .page-register__steps-section,
    .page-register__conditions-section,
    .page-register__faq-section,
    .page-register__final-cta-section {
        padding: 30px 15px;
    }
}

/* CRITICAL: Ensure all images under .page-register are at least 200px wide/high */
.page-register img:not(.page-register__hero-image) {
    min-width: 200px;
    min- 
    object-fit: cover; 
}
/* Specific override for value icons to make them fit better while still meeting min-size */
.page-register__value-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
}

/* Ensure no filter is used on images */
.page-register img {
    filter: none !important; /* Explicitly disable any filter */
}