:root {
    /* Unique expressive variables for every color element, using your requested hex codes */
    --ebftr6-parent-background-color: #EDF5FF;
    --ebftr6-child-background-color: #00045F;
    --ebftr6-heading-text-color: #ffffff;
    --ebftr6-button-background-color: #ffffff;
    --ebftr6-button-text-color: #00045F;
}

body {
    margin: 0%;
}

/* Base wrapper to mimic the white top area of your page */
.ebftr6-page-wrapper {
    background-color: #ffffff;
    padding-top: 80px;
    width: 100%;
}

/* The light background parent section */
.ebftr6-parent-section {
    background-color: var(--ebftr6-parent-background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Padding instead of height to allow flexible content */
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;

    /* width: calc(100% - 40px); */
}

/* The dark overlap child section */
.ebftr6-child-section {
    background-color: var(--ebftr6-child-background-color);
    width: 90%;

    max-width: 1200px;
    /* Negative margin pulls the box up into the white space above */
    margin-top: -40px;
    margin-inline: auto;
    display: flex;
    direction: rtl;
    /* Sets Arabic text direction correctly */
    justify-content: space-between;
    align-items: center;
    /* Using gap instead of inner margins */
    gap: 40px;
    padding: 50px 60px;
}

.ebftr6-text-wrapper {
    display: flex;
    align-items: center;
}

.ebftr6-heading {
    color: var(--ebftr6-heading-text-color);
    /* Font size using clamp for responsiveness */
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    font-family: inherit;
    font-weight: 600;
    line-height: 1.5;
}

.ebftr6-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ebftr6-button {
    background-color: var(--ebftr6-button-background-color);
    color: var(--ebftr6-button-text-color);
    text-decoration: none;
    font-weight: 700;
    /* Font size using clamp */
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    padding: 15px 40px;
    border-radius: 50px;
    /* Creates the pill shape */
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustment for mobile screens */
@media (max-width: 768px) {
    .ebftr6-child-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }
}


/* **************************************** */
/* **************************************** */
/* **************************************** */

:root {
    /* Separated variables for every single property color */
    --ebftr6-section-bg-color: #EDF5FF;

    --ebftr6-title-color: #00045F;
    --ebftr6-desc-color: #00045F;

    --ebftr6-form-box-bg-color: #ffffff;
    --ebftr6-label-color: #00045F;

    --ebftr6-input-bg-color: #EDF5FF;
    --ebftr6-input-border-color: #EDF5FF;
    --ebftr6-input-text-color: #00045F;

    --ebftr6-button-bg-color-down: #00045F;
    --ebftr6-button-text-color-down: #ffffff;
}

/* Parent Section */
.ebftr6-section {
    background-color: var(--ebftr6-section-bg-color);
    direction: rtl;
    font-family: sans-serif;
}

.ebftr6-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    /* width: 100%; */
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Right Content Area (Text and Form) */
.ebftr6-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 40%;
    position: relative;
    z-index: 2;
    /* Keeps the form above the image */
}

.ebftr6-text-wrapper-form {
    display: flex;
    flex-direction: column;
    gap: 15px;

}

.ebftr6-title {
    color: var(--ebftr6-title-color);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
}

.ebftr6-desc {
    color: var(--ebftr6-desc-color);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 500;
    line-height: 1.6;
}

/* Form Styling */
.ebftr6-form-box {
    background-color: var(--ebftr6-form-box-bg-color);
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ebftr6-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ebftr6-label {
    color: var(--ebftr6-label-color);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 700;
}

.ebftr6-input {
    background-color: var(--ebftr6-input-bg-color);
    border: 1px solid var(--ebftr6-input-border-color);
    color: var(--ebftr6-input-text-color);
    padding: 15px;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    outline: none;
}

.ebftr6-button-down {
    background-color: var(--ebftr6-button-bg-color-down);
    color: var(--ebftr6-button-text-color-down);
    border: none;
    padding: 18px;
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

/* Left Image Area */
.ebftr6-image-wrapper {
    display: flex;
    width: 65%;
    height: 100%;
    /* This negative margin pulls the image slightly under the right content box to create the exact match overlap */
    margin-left: -20%;
    z-index: 1;
}

.ebftr6-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
    .ebftr6-container {
        flex-direction: column;
        padding: 30px 15px;
        gap: 40px;
    }

    .ebftr6-content {
        width: 100%;
    }

    .ebftr6-image-wrapper {
        width: 100%;
        margin-left: 0;
        /* Removing the overlap for mobile stacking */
    }
}

/* ********************* */
/* ********************* */
/* ********************* */

:root {
    /* Unique expressive variables for every specific element's color */
    --ebftr6-footer-background-color: #EDF5FF;

    --ebftr6-about-text-color: #00045F;

    --ebftr6-contact-title-color: #00045F;
    --ebftr6-contact-text-color: #00045F;

    --ebftr6-form-card-background-color: #ffffff;
    --ebftr6-form-label-text-color: #00045F;

    --ebftr6-input-field-background-color: #EDF5FF;
    --ebftr6-input-field-border-color: #EDF5FF;
    --ebftr6-input-field-text-color: #00045F;

    --ebftr6-submit-btn-background-color: #00045F;
    --ebftr6-submit-btn-text-color: #ffffff;
}

/* Main Section Wrapper */
.ebftr6-footer-section {
    background-color: var(--ebftr6-footer-background-color);
    direction: rtl;
    /* Right to Left for Arabic */
    font-family: sans-serif;
}

.ebftr6-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Layout for individual columns */
.ebftr6-column-about,
.ebftr6-column-contact,
.ebftr6-column-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    /* Ensures columns take up equal space */
}

/* Column 1: About text */
.ebftr6-logo-wrapper {
    display: flex;
    margin-bottom: 20px;
}

.ebftr6-logo-img {
    max-width: 200px;
    height: auto;
}

.ebftr6-about-text {
    color: var(--ebftr6-about-text-color);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    font-weight: 500;
}

/* Column 2: Contact Information */
.ebftr6-contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.ebftr6-contact-title {
    color: var(--ebftr6-contact-title-color);
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    font-weight: 700;
    line-height: 1.4;
}

.ebftr6-contact-icon {
    max-width: 200px;
    height: auto;
}

.ebftr6-contact-text {
    color: var(--ebftr6-contact-text-color);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    font-weight: 500;
}

/* Column 3: The Form */
.ebftr6-form-card {
    background-color: var(--ebftr6-form-card-background-color);
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ebftr6-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ebftr6-form-label {
    color: var(--ebftr6-form-label-text-color);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 700;
}

.ebftr6-form-input {
    background-color: var(--ebftr6-input-field-background-color);
    border: 1px solid var(--ebftr6-input-field-border-color);
    color: var(--ebftr6-input-field-text-color);
    padding: 15px;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    outline: none;
}

.ebftr6-form-submit {
    background-color: var(--ebftr6-submit-btn-background-color);
    color: var(--ebftr6-submit-btn-text-color);
    border: none;
    padding: 15px;
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

/* Mobile Responsive Override */
@media (max-width: 900px) {
    .ebftr6-footer-container {
        flex-direction: column;
        align-items: center;
        /* Centers items in mobile view */
        text-align: center;
        gap: 50px;
    }

    .ebftr6-column-about,
    .ebftr6-column-contact,
    .ebftr6-column-form {
        width: calc(100% - 40px);
        align-items: center;
        /* Centers inner flex items */
    }

    .ebftr6-contact-header {
        justify-content: center;
        /* Centers the header with icon */
    }

    .ebftr6-form-card {
        width: calc(100% - 40px);
        /* Leaves a tiny bit of edge breathing room on mobile */
    }
}