/* style/beginner-guide.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register-login-bg: #C30808;
    --button-register-login-text: #FFFF00;
    --background-color: #FFFFFF;
    --border-light: #e0e0e0;
}

.page-beginner-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--background-color);
}

/* Hero Section */
.page-beginner-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.page-beginner-guide__hero-content {
    max-width: 800px;
    z-index: 10;
    position: relative;
}

.page-beginner-guide__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-beginner-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-beginner-guide__hero-description a {
    color: var(--button-register-login-text);
    text-decoration: underline;
}

.page-beginner-guide__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
    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, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-beginner-guide__btn-primary {
    background-color: var(--button-register-login-bg);
    color: var(--button-register-login-text);
    border: 2px solid var(--button-register-login-bg);
}

.page-beginner-guide__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-beginner-guide__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-beginner-guide__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-beginner-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 5;
}

.page-beginner-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* Content Sections */
.page-beginner-guide__content-section {
    padding: 60px 0;
    background-color: var(--background-color);
    color: var(--text-dark);
}

.page-beginner-guide__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-beginner-guide__dark-section .page-beginner-guide__section-title,
.page-beginner-guide__dark-section .page-beginner-guide__text-block,
.page-beginner-guide__dark-section .page-beginner-guide__text-block a {
    color: var(--text-light);
}

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

.page-beginner-guide__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-beginner-guide__section-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-beginner-guide__section-title a:hover {
    text-decoration: underline;
}

.page-beginner-guide__dark-section .page-beginner-guide__section-title {
    color: var(--text-light);
}

.page-beginner-guide__dark-section .page-beginner-guide__section-title a {
    color: var(--text-light);
}

.page-beginner-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-beginner-guide__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-beginner-guide__text-block a:hover {
    color: #005a2d;
}

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