/* style/register.css */

/* Base styles for the register page */
.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #f8f9fa; /* Light background for the page content */
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-register__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-register__hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Primary blue gradient */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

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

.page-register__hero-button:hover {
    background-color: #e0a800; /* Darker secondary color on hover */
    transform: translateY(-3px);
}

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

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

.page-register__feature-item {
    background-color: #f0f8ff; /* Light blue background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.page-register__feature-icon {
    width: 250px; /* Enlarge icon size for content display */
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-register__feature-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-register__feature-description {
    font-size: 1em;
    color: #555555;
}

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

.page-register__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-register__step-item {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 80px;
    transition: box-shadow 0.3s ease;
}

.page-register__step-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-register__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 30px;
    background-color: #007bff;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-register__step-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-register__step-description {
    font-size: 1.05em;
    color: #555555;
    margin-bottom: 20px;
}

.page-register__step-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-register__step-button {
    display: inline-block;
    background-color: #ffc107;
    color: #333333;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.page-register__step-button:hover {
    background-color: #e0a800;
}

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

.page-register__conditions-list {
    list-style: none;
    padding: 0;
}

.page-register__conditions-item {
    background-color: #e6f7ff; /* Lighter blue for conditions */
    border-left: 5px solid #007bff;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.page-register__conditions-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-register__conditions-description {
    font-size: 1em;
    color: #555555;
}

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

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

.page-register__faq-item {
    background-color: #ffffff;
    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;
    width: 100%;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    background-color: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-register__faq-question.page-register__faq-question--active {
    background-color: #e6f7ff;
    color: #007bff;
}

.page-register__faq-icon {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333333"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.page-register__faq-question.page-register__faq-question--active .page-register__faq-icon {
    transform: rotate(180deg);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"><path d="M7 10l5 5 5-5z"/></svg>');
}

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

.page-register__faq-answer.page-register__faq-answer--active {
    max-height: 500px; /* Adjust as needed */
    padding: 15px 25px 20px;
}

.page-register__faq-answer p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 10px;
}

.page-register__faq-list-nested {
    list-style-type: disc;
    margin-left: 20px;
    color: #555555;
}

.page-register__faq-list-nested li {
    margin-bottom: 5px;
}

/* Call to Action Section */
.page-register__cta-section {
    background: linear-gradient(90deg, #007bff, #0056b3); /* Primary blue gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-register__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-register__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-register__cta-button {
    display: inline-block;
    background-color: #ffc107; /* Secondary color */
    color: #333333;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 0 10px;
}

.page-register__cta-button:hover {
    background-color: #e0a800;
    transform: translateY(-5px);
}

.page-register__cta-button--secondary {
    background-color: #ffffff;
    color: #007bff;
}

.page-register__cta-button--secondary:hover {
    background-color: #f0f0f0;
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__hero-subtitle {
        font-size: 1.2em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__features-grid {
        grid-template-columns: 1fr;
    }
    .page-register__step-item {
        padding-left: 60px;
    }
    .page-register__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
        left: 15px;
        top: 25px;
    }
    .page-register__cta-title {
        font-size: 2.2em;
    }
    .page-register__cta-description {
        font-size: 1.1em;
    }
    .page-register__cta-button {
        font-size: 1.1em;
        padding: 12px 25px;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section,
    .page-register__value-section,
    .page-register__steps-section,
    .page-register__conditions-section,
    .page-register__faq-section,
    .page-register__cta-section {
        padding: 40px 0;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-subtitle {
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__feature-icon {
        width: 200px;
        height: 200px;
    }
    .page-register__step-title {
        font-size: 1.5em;
    }
    .page-register__conditions-title {
        font-size: 1.2em;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__cta-title {
        font-size: 1.8em;
    }
    .page-register__cta-description {
        font-size: 1em;
    }
    .page-register__cta-button {
        display: block;
        width: calc(100% - 40px);
        margin: 10px auto;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__hero-button,
    .page-register__cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-register__step-item {
        padding-left: 50px;
    }
    .page-register__step-item::before {
        width: 30px;
        height: 30px;
        font-size: 1.1em;
        left: 10px;
        top: 20px;
    }
    .page-register__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-register__faq-answer.page-register__faq-answer--active {
        padding: 10px 15px 15px;
    }
}