:root {
    /* Unique variables for every single specific property color */
    --ebprefw-top-section-bg-color: #00045F;
    --ebprefw-top-title-text-color: #ffffff;

    --ebprefw-tag-border-color: #EDF5FF;
    --ebprefw-tag-bg-color: transparent;
    --ebprefw-tag-text-color: #ffffff;

    --ebprefw-bottom-section-bg-color: #ffffff;
    --ebprefw-bottom-title-text-color: #00045F;
}

/* Main Wrapper */
.ebprefw-wrapper {
    display: flex;
    flex-direction: column;
    direction: rtl;
    /* Sets Arabic text direction correctly */
    font-family: sans-serif;
}

/* Dark Top Section */
.ebprefw-top-section {
    background-color: var(--ebprefw-top-section-bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Flex gap used instead of inner margins */
    gap: 40px;
    padding: 60px 20px;
}

.ebprefw-top-title {
    color: var(--ebprefw-top-title-text-color);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
}

/* The Wrapping Flex Container for Buttons */
.ebprefw-tags-container {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
    justify-content: center;
    align-items: center;
    /* Equal gap between buttons vertically and horizontally */
    gap: 20px;
    max-width: 1000px;
}

/* Individual Pill Buttons */
.ebprefw-tag {
    background-color: var(--ebprefw-tag-bg-color);
    color: var(--ebprefw-tag-text-color);
    border: 1px solid var(--ebprefw-tag-border-color);
    /* Equal vertical and horizontal padding, width takes fit-content automatically */
    padding: 15px 30px;
    border-radius: 8px;
    /* Slightly rounded corners matching the image */
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    text-align: center;
    white-space: nowrap;
}

/* Light Bottom Section */
.ebprefw-bottom-section {
    background-color: var(--ebprefw-bottom-section-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.ebprefw-bottom-title {
    color: var(--ebprefw-bottom-title-text-color);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
}