/* style/registration-guide-step-by-step.css */

/* Variables for colors and fonts */
:root {
    --primary-color: #007bff; /* Deep blue, professional, trust */
    --secondary-color: #ffc107; /* Bright gold/amber, wealth, vitality */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #0056b3; /* Darker variant of primary for contrast */
    --border-color: #e0e0e0;
    --font-family-primary: 'Arial', sans-serif;
}

.page-registration-guide-step-by-step {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-registration-guide-step-by-step .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-registration-guide-step-by-step__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Gradient with primary and a darker blue */
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-registration-guide-step-by-step__hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-registration-guide-step-by-step__hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9); /* Ensure good contrast */
}

.page-registration-guide-step-by-step .hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-registration-guide-step-by-step .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin: 10px;
}

.page-registration-guide-step-by-step .btn--primary {
    background-color: var(--secondary-color); /* Use secondary for primary action to stand out */
    color: var(--text-dark); /* Dark text on bright yellow for contrast */
}

.page-registration-guide-step-by-step .btn--primary:hover {
    background-color: #e6b000; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-registration-guide-step-by-step .btn--secondary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-registration-guide-step-by-step .btn--secondary:hover {
    background-color: #0056b3; /* Darker primary */
    transform: translateY(-2px);
}

.page-registration-guide-step-by-step .btn--tertiary {
    background-color: #6c757d; /* Gray for less emphasis */
    color: var(--text-light);
}

.page-registration-guide-step-by-step .btn--tertiary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-registration-guide-step-by-step section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-registration-guide-step-by-step section:last-of-type {
    border-bottom: none;
}

.page-registration-guide-step-by-step h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-registration-guide-step-by-step h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-registration-guide-step-by-step h3 {
    font-size: 1.6em;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-registration-guide-step-by-step p {
    margin-bottom: 15px;
}

.page-registration-guide-step-by-step ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-registration-guide-step-by-step ul li {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.page-registration-guide-step-by-step ul li strong {
    color: var(--primary-color);
}

/* Specific Section Styles */
.page-registration-guide-step-by-step__why-register,
.page-registration-guide-step-by-step__preparation,
.page-registration-guide-step-by-step__important-notes,
.page-registration-guide-step-by-step__troubleshooting,
.page-registration-guide-step-by-step__after-registration,
.page-registration-guide-step-by-step__conclusion {
    background-color: var(--background-light);
    text-align: left;
}

.page-registration-guide-step-by-step__web-registration,
.page-registration-guide-step-by-step__app-registration {
    background-color: #eaf6ff; /* A very light blue tint for step sections */
    text-align: left;
}

/* Step-by-step guide */
.page-registration-guide-step-by-step .step-by-step-guide {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-registration-guide-step-by-step .step {
    background-color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1 1 calc(50% - 30px); /* Two columns on larger screens */
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-registration-guide-step-by-step .step h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.8em;
    display: flex;
    align-items: center;
}

.page-registration-guide-step-by-step .step h3::before {
    content: attr(data-step-number);
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-registration-guide-step-by-step .step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-registration-guide-step-by-step .cta-group {
    text-align: center;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-registration-guide-step-by-step__hero h1 {
        font-size: 2.5em;
    }
    .page-registration-guide-step-by-step h2 {
        font-size: 1.8em;
    }
    .page-registration-guide-step-by-step .step {
        flex: 1 1 calc(100% - 20px); /* One column on tablets */
    }
}

@media (max-width: 768px) {
    .page-registration-guide-step-by-step__hero {
        padding: 60px 0;
    }
    .page-registration-guide-step-by-step__hero h1 {
        font-size: 2em;
    }
    .page-registration-guide-step-by-step__hero p {
        font-size: 1em;
    }
    .page-registration-guide-step-by-step h2 {
        font-size: 1.6em;
    }
    .page-registration-guide-step-by-step h3 {
        font-size: 1.4em;
    }
    .page-registration-guide-step-by-step .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-registration-guide-step-by-step .step {
        padding: 20px;
    }
    .page-registration-guide-step-by-step .step h3::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .page-registration-guide-step-by-step .container {
        padding: 0 15px;
    }
    .page-registration-guide-step-by-step__hero h1 {
        font-size: 1.8em;
    }
    .page-registration-guide-step-by-step h2 {
        font-size: 1.4em;
    }
    .page-registration-guide-step-by-step h3 {
        font-size: 1.2em;
    }
    .page-registration-guide-step-by-step .btn {
        display: block;
        margin: 10px auto;
        width: 90%;
    }
    .page-registration-guide-step-by-step .step {
        flex: 1 1 100%;
    }
}