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

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero */
    color: #ffffff;
    padding: 80px 0; /* Adjust padding as needed */
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Semi-transparent to allow text readability */
    z-index: 1;
}

.page-register__hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Minimum height for hero section */
}

.page-register__hero-content {
    max-width: 800px;
    margin-top: 20px;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Gold for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-register__hero-button,
.page-register__cta-button {
    display: inline-block;
    background-color: #FCBC45; /* Gold button background */
    color: #000000; /* Black text for gold button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__hero-button:hover,
.page-register__cta-button:hover {
    background-color: #e0a335;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section {
    padding: 60px 0;
    background-color: #ffffff; /* White background for content sections */
}

.page-register__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
}

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

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

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

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

.page-register__value-icon {
    width: 400px; /* Increased size, min 200px */
    height: 267px; /* Adjusted height for 3:2 aspect ratio */
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

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

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

/* Steps Section */
.page-register__steps-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-register__step-item {
    background-color: #000000; /* Black background for steps */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 calc(25% - 30px); /* 4 items per row on desktop */
    min-width: 280px; /* Minimum width for step item */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2em;
    font-weight: bold;
    background-color: #FCBC45; /* Gold number background */
    color: #000000; /* Black text for number */
    border-radius: 50%;
    margin: 0 auto 20px auto;
}

.page-register__step-heading {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #FCBC45; /* Gold heading */
}

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

.page-register__cta-area {
    text-align: center;
    margin-top: 60px;
}

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

.page-register__condition-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-left: 5px solid #FCBC45; /* Gold accent */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

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

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

.page-register__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    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: #000000;
    cursor: pointer;
    background-color: #e8e8e8;
    transition: background-color 0.3s ease;
}

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

.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); /* Change + to X or rotate for open state */
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__step-item {
        flex: 1 1 calc(50% - 30px); /* 2 items per row on tablet */
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 0;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button,
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-register__value-section,
    .page-register__steps-section,
    .page-register__conditions-section,
    .page-register__faq-section {
        padding: 40px 0;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-register__value-grid,
    .page-register__steps-list,
    .page-register__conditions-list {
        grid-template-columns: 1fr; /* 1 item per row on mobile */
    }
    /* Mobile image overflow prevention */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 10px 20px 15px 20px;
    }
}

/* Ensure content area images are not too small */
/* This rule applies to any img within .page-register and ensures it's not made smaller than 200px by page CSS */
.page-register img {
    min-width: 200px; /* Enforce minimum display size */
    min-height: 200px; /* Enforce minimum display size */
    max-width: 100%; /* Ensure responsiveness */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Cover the area if aspect ratio differs */
}

/* Specific overrides for certain images if they are intentionally smaller and NOT content images, which is not the case here */
/* The .page-register img rule above applies to all images within the main content area. */