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

.page-register__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000080; /* Dark blue background for hero */
}

.page-register__hero-container {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-register__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    max-width: 90%;
    z-index: 1;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

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

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

.page-register__hero-button,
.page-register__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #000080; /* Dark blue text on gold button */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

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

.page-register__section-title {
    font-size: 2.5em;
    color: #000080; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
    position: relative;
}

.page-register__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-final-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eeeeee;
}

.page-register__value-section {
    background-color: #ffffff;
}

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

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

.page-register__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-register__feature-title {
    font-size: 1.6em;
    color: #000080;
    margin-bottom: 15px;
}

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

.page-register__registration-steps {
    list-style: none;
    padding: 0;
    margin: 50px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.page-register__step-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register__step-number {
    background-color: #FFD700; /* Gold number background */
    color: #000080; /* Dark blue number text */
    font-size: 2.5em;
    font-weight: bold;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 5px solid #000080;
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.5);
}

.page-register__step-title {
    font-size: 1.8em;
    color: #000080;
    margin-bottom: 15px;
}

.page-register__step-text {
    font-size: 1.1em;
    color: #555555;
    max-width: 700px;
    margin-bottom: 25px;
}

.page-register__step-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-register__cta-section {
    text-align: center;
    margin-top: 60px;
    background-color: #000080;
    padding: 50px;
    border-radius: 15px;
    color: #ffffff;
}

.page-register__cta-text {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #FFD700;
}

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

.page-register__condition-item {
    background-color: #ffffff;
    border-left: 5px solid #FFD700; /* Gold left border */
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    font-size: 1.05em;
    color: #444444;
}

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

.page-register__compliance-note {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: #777777;
}

.page-register__faq-container {
    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.03);
}

.page-register__faq-question {
    background-color: #f0f0f0;
    color: #000080;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-question[aria-expanded="true"] {
    background-color: #FFD700;
    color: #000080;
}

.page-register__faq-icon {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000080"%3E%3Cpath d="M7 10l5 5 5-5z"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon {
    transform: rotate(180deg);
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000080"%3E%3Cpath d="M7 14l5-5 5 5z"/%3E%3C/svg%3E');
}

.page-register__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-answer p {
    padding-bottom: 20px;
    font-size: 1em;
    color: #666666;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 15px;
}

.page-register__cta-final-section {
    background-color: #000080;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.page-register__cta-final-section .page-register__section-title {
    color: #FFD700;
}

.page-register__cta-final-section .page-register__section-title::after {
    background-color: #DC143C;
}

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

.page-register__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2em;
    background-color: #DC143C; /* Dark Red button */
    color: #ffffff; /* White text on red button */
}

.page-register__cta-button--large:hover {
    background-color: #c00c2c; /* Slightly darker red on hover */
}

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

    .page-register__hero-description {
        font-size: 1em;
    }

    .page-register__section-title {
        font-size: 2em;
    }

    .page-register__feature-title {
        font-size: 1.4em;
    }

    .page-register__step-title {
        font-size: 1.5em;
    }

    .page-register__hero-image {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-title {
        font-size: 2em;
    }

    .page-register__hero-description {
        font-size: 0.9em;
    }

    .page-register__hero-button,
    .page-register__cta-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__features-grid {
        grid-template-columns: 1fr;
    }

    .page-register__registration-steps {
        gap: 30px;
    }

    .page-register__step-item {
        padding: 30px;
    }

    .page-register__step-number {
        width: 60px;
        height: 60px;
        font-size: 2em;
    }

    .page-register__step-title {
        font-size: 1.3em;
    }

    .page-register__step-text {
        font-size: 0.95em;
    }

    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-register__faq-answer p {
        font-size: 0.95em;
    }

    .page-register__hero-image,
    .page-register__step-image,
    .page-register__content-area img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    .page-register__content-area {
        padding: 20px 15px;
    }
    
    .page-register__cta-section {
        padding: 30px;
    }

    .page-register__cta-text {
        font-size: 1.2em;
    }

    .page-register__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }

    .page-register__hero-description {
        font-size: 0.85em;
    }

    .page-register__hero-button,
    .page-register__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-register__section-title {
        font-size: 1.5em;
    }

    .page-register__section-description {
        font-size: 0.9em;
    }

    .page-register__feature-item,
    .page-register__step-item,
    .page-register__condition-item {
        padding: 20px;
    }

    .page-register__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-register__faq-answer p {
        font-size: 0.9em;
    }

    .page-register__hero-image,
    .page-register__step-image,
    .page-register__content-area img {
        min-width: 200px;
        min-height: 200px;
    }

    .page-register__cta-text {
        font-size: 1em;
    }

    .page-register__cta-button--large {
        padding: 12px 25px;
        font-size: 1em;
    }
}