.basic-section-with-background {
    padding: 175px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: clip;
    background-color: rgba(255, 255, 255, 1); /* Default white background */
}

.basic-section-with-background__background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    z-index: 1;
}

/* Luminosity effects only for colored overlays */
.basic-section-with-background--overlay-green .basic-section-with-background__background-image,
.basic-section-with-background--overlay-darkblue .basic-section-with-background__background-image,
.basic-section-with-background--overlay-lightblue .basic-section-with-background__background-image,
.basic-section-with-background--overlay-yellow .basic-section-with-background__background-image {
    mix-blend-mode: luminosity;
    opacity: 0.1;
}

.basic-section-with-background .container {
    position: relative;
    z-index: 2;
}

.basic-section-with-background__content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.basic-section-with-background__text-container {
    max-width: 910px;
}

.basic-section-with-background__text-container h2{
    margin-bottom: 35px !important;
}

.basic-section-with-background__title {
    margin-bottom: 35px;
}

.basic-section-with-background__text {

}

.basic-section-with-background__text p {
    margin-bottom: 20px;
}

.basic-section-with-background__text p:last-child {
    margin-bottom: 0;
}

.basic-section-with-background__button-container {
    margin-top: 35px;
}

.basic-section-with-background__button {
    display: inline-block;
    padding: 20px 60px;
    background-color: #F2EE1A;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 24px;
    border-radius: 0px 50px 0px 50px;
    transition: all 300ms ease;
    white-space: nowrap;
    
}

.basic-section-with-background__button:hover {
    background-color: #36C166;
    color: #fff;
    border-radius: 50px;
}

/* Reverse layout - content on right side */
.basic-section-with-background--reverse .basic-section-with-background__content {
    justify-content: flex-end;
}

/* Background color variations - applied directly to section */

/* Default (none) and white background styles */
.basic-section-with-background,
.basic-section-with-background--overlay-white {
    background-color: rgba(255, 255, 255, 1);
}

.basic-section-with-background__title,
.basic-section-with-background--overlay-white .basic-section-with-background__title {
    color: #05ACDD;
}

.basic-section-with-background__text,
.basic-section-with-background--overlay-white .basic-section-with-background__text {
    color: #666666;
}

.basic-section-with-background__button,
.basic-section-with-background--overlay-white .basic-section-with-background__button {
    background-color: #05ACDD;
    color: #fff;
}

.basic-section-with-background__button:hover,
.basic-section-with-background--overlay-white .basic-section-with-background__button:hover {
    background-color: #F2EE1A;
    color: #000;
}

/* Green background styles */
.basic-section-with-background--overlay-green {
    background-color: rgba(54, 193, 102, 1);
}

.basic-section-with-background--overlay-green .basic-section-with-background__title {
    color: #F3EE1A;
}

.basic-section-with-background--overlay-green .basic-section-with-background__text {
    color: #fff;
}

.basic-section-with-background--overlay-green .basic-section-with-background__button {
    background-color: #F3EE1A;
    color: #000;
}

.basic-section-with-background--overlay-green .basic-section-with-background__button:hover {
    background-color: #05ACDD;
    color: #fff;
}

/* Dark blue background styles */
.basic-section-with-background--overlay-darkblue {
    background-color: rgba(36, 88, 154, 1);
}

.basic-section-with-background--overlay-darkblue .basic-section-with-background__title {
    color: #F3EE1A;
}

.basic-section-with-background--overlay-darkblue .basic-section-with-background__text {
    color: #fff;
}

.basic-section-with-background--overlay-darkblue .basic-section-with-background__button {
    background-color: #F3EE1A;
    color: #000;
}

.basic-section-with-background--overlay-darkblue .basic-section-with-background__button:hover {
    background-color: #36C166;
    color: #fff;
}

/* Light blue background styles */
.basic-section-with-background--overlay-lightblue {
    background-color: rgba(5, 172, 221, 1);
}

.basic-section-with-background--overlay-lightblue .basic-section-with-background__title {
    color: #F3EE1A;
}

.basic-section-with-background--overlay-lightblue .basic-section-with-background__text {
    color: #fff;
}

.basic-section-with-background--overlay-lightblue .basic-section-with-background__button {
    background-color: #F3EE1A;
    color: #000;
}

.basic-section-with-background--overlay-lightblue .basic-section-with-background__button:hover {
    background-color: #36C166;
    color: #fff;
}

/* Yellow background styles */
.basic-section-with-background--overlay-yellow {
    background-color: rgba(243, 238, 26, 1);
}

.basic-section-with-background--overlay-yellow .basic-section-with-background__title {
    color: #265899;
}

.basic-section-with-background--overlay-yellow .basic-section-with-background__text {
    color: #000;
}

.basic-section-with-background--overlay-yellow .basic-section-with-background__button {
    background-color: #265899;
    color: #fff;
}

.basic-section-with-background--overlay-yellow .basic-section-with-background__button:hover {
    background-color: #36C166;
    color: #fff;
}

/* Margin fix options */
.basic-section-with-background--margin-top {
    margin-top: -350px;
    padding-top: 525px;
    z-index: 1;
}

.basic-section-with-background--margin-bottom {
    margin-bottom: -350px;
    padding-bottom: 525px;
    z-index: 1;
}

/* Border radius options */
.basic-section-with-background--border-top-left {
    border-top-left-radius: 200px;
}

.basic-section-with-background--border-top-right {
    border-top-right-radius: 200px;
}

.basic-section-with-background--border-bottom-left {
    border-bottom-left-radius: 200px;
}

.basic-section-with-background--border-bottom-right {
    border-bottom-right-radius: 200px;
}

/* Responsive styles */
@media (max-width: 1440px) {
    .basic-section-with-background {
        padding: 100px 0;
    }
    .basic-section-with-background--margin-top {
        margin-top: -200px;
        padding-top: 300px;
        z-index: 1;
    }
    
    .basic-section-with-background--margin-bottom {
        margin-bottom: -200px;
        padding-bottom: 300px;
        z-index: 1;
    }
    .basic-section-with-background__button {
        padding: 18px 40px;
        font-size: 22px;
    }
    .basic-section-with-background__text-container {
        max-width: 730px;
    }
    .basic-section-with-background--border-top-left {
        border-top-left-radius: 150px;
    }
    
    .basic-section-with-background--border-top-right {
        border-top-right-radius: 150px;
    }
    
    .basic-section-with-background--border-bottom-left {
        border-bottom-left-radius: 150px;
    }
    
    .basic-section-with-background--border-bottom-right {
        border-bottom-right-radius: 150px;
    }
}

@media (max-width: 1024px) {
    .basic-section-with-background--border-top-left {
        border-top-left-radius: 100px;
    }
    
    .basic-section-with-background--border-top-right {
        border-top-right-radius: 100px;
    }
    
    .basic-section-with-background--border-bottom-left {
        border-bottom-left-radius: 100px;
    }
    
    .basic-section-with-background--border-bottom-right {
        border-bottom-right-radius: 100px;
    }
    .basic-section-with-background__title {
        font-size: 40px;
    }
    
    .basic-section-with-background__button {
        padding: 15px 40px;
        font-size: 20px;
        border-radius: 0px 35px 0px 35px;
    }
    
    .basic-section-with-background__button:hover {
        border-radius: 35px;
    }
    .basic-section-with-background__text-container {
        max-width: 580px;
    }
}

@media (max-width: 768px) {
    .basic-section-with-background {
        padding: 60px 0;
    }
    
    .basic-section-with-background__title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .basic-section-with-background__text {
        margin-bottom: 24px;
    }
    
    .basic-section-with-background__button {
        font-size: 1.1rem;
        padding: 14px 28px;
        border-radius: 0 25px 0 25px;
    }
    
    .basic-section-with-background__button:hover {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    /* Margin fix responsive adjustments */
    .basic-section-with-background--margin-top {
        margin-top: -120px;
        padding-top: 180px;
    }

    .basic-section-with-background--margin-bottom {
        margin-bottom: -120px;
        padding-bottom: 180px;
    }

    /* Border radius responsive adjustments */
    .basic-section-with-background--border-top-left {
        border-top-left-radius: 50px;
    }

    .basic-section-with-background--border-top-right {
        border-top-right-radius: 50px;
    }

    .basic-section-with-background--border-bottom-left {
        border-bottom-left-radius: 50px;
    }

    .basic-section-with-background--border-bottom-right {
        border-bottom-right-radius: 50px;
    }
}

@media (max-width: 480px) {
    
    .basic-section-with-background__title {
        font-size: 28px;
    }
    
    .basic-section-with-background__button {
        padding: 15px 30px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .basic-section-with-background__button {
        transition: none;
    }
}

/* Focus states for accessibility */
.basic-section-with-background__button:focus {
    outline: 2px solid #222B6B;
    outline-offset: 2px;
} 