.heading_container{
    width: 100%;
    display: flex;
    justify-content: center;
}

.heading_content{
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
}

.heading{
    padding-top: 125px;
    padding-bottom: 20px;
}

.heading > h1{
    width: auto;
    color: white;
    font-size: 35px;
    font-weight: bold;
    text-align: left;
    line-height: 1.2;
}

.buttons_container{
    width: auto;
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.buttons_container > :first-child {
    min-width: 400px;
}

.buttons_container > :nth-child(2) {
    min-width: 200px;
}

.cta_button_red {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    width: auto;
    height: 50px;
    background-color: var(--red-primary);
    color: white;
    font-size: 25px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 30px 15px;
    font-family: "Open Sans", sans-serif;
}

.cta_button_red::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: white;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.cta_button_red:hover::before {
    width: 100%;
}

.cta_button_red span {
    position: relative;
    z-index: 1; 
    transition: color 0.3s ease;
    font-weight: 300;
}

.cta_button_red:hover span {
    color: var(--red-primary);
}

.subheading{
    width: 100%;
    margin-top: 100px;
}

.subheading_text{
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: var(--red-primary);
}

.subheading_text > h2{
    width: 100%;
    text-align: center;
    color: white;
    font-size: 22px;
}

@media (max-width: 1300px) {
    .heading_content {
        width: 100%;
        min-width: unset;
    }

    .subheading_text{
        min-width: unset;
    }
}

@media (max-width: 900px) {
    .heading_content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .heading > h1 {
        font-size: 28px;
        padding-left: 10px;
    }
    .cta_button_red {
        font-size: 20px;
        padding: 20px 10px;
        height: 45px;
    }

    .buttons_container{
        padding-left: 10px;
    }

    .buttons_container > :first-child {
        min-width: 220px;
    }
    .buttons_container > :nth-child(2) {
        min-width: 120px;
    }
    .subheading_text > h2 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .heading_content {
        padding-left: 0;
        padding-right: 0;
    }
    .heading {
        padding-top: 60px;
        padding-bottom: 10px;
    }
    .heading > h1 {
        font-size: 20px;
        text-align: center;
    }
    .buttons_container {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        align-items: flex-end;
    }
    .buttons_container > * {
        min-width: auto !important;
        width: auto !important;
    }
    .cta_button_red {
        font-size: 16px;
        padding: 12px 5px;
        height: 40px;
        width: auto !important;
    }
    .subheading {
        margin-top: 40px;
    }
    .subheading_text {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .subheading_text > h2 {
        font-size: 15px;
    }
}

@media (max-width: 400px){
    .heading > h1 {
        font-size: 14px;
    }
    .cta_button_red {
        font-size: 14px;
        padding: 10px 5px;
        height: 35px;
    }
    .subheading_text > h2 {
        font-size: 14px;
    }
}