/*------------- EMERGENCY SECTION -------------*/
.emergency-section {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: 130px;
}

.emergency-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.emergency-button {
    display: flex;
    gap: 0.5rem;
    color: var(--lightText);
    background-color: var(--warningColor);
    border-radius: 10px;
    padding: 1rem;
    height: 100px;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: color 0.3s, 
                box-shadow 0.3s,
                background-color 0.3s;
    width: 100%;
    text-transform: uppercase;
    font-size: 1em;
    text-align: center;
    margin: 1rem;
}

.emergency-icon {
    align-self: flex-start;
}

.emergency-info {
    font-size: 0.925em;
    margin-right: 1rem;
    text-transform: uppercase;
}

/*------------- HERO SECTION -------------*/

.hero-section {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.hero-container {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
}

.hero-content-topper {
    padding-left: 0.5rem;
    margin: 0;
}

.hero-content-headline {
    font-family: var(--fontHeading);
    font-weight: 800;
    margin: 0.5rem 0 0;
    font-size: 3rem;
    line-height: 3.25rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-content-description {
    margin: 1rem 0;
}

.hero-content-trust {
    align-self: center;
    padding-left: 0.5rem;
}

.hero-content-button {
    width: 100% !important;
    margin: 0;
}

/*--- Mobile ---*/
@media only screen and (max-width: 768.99px) {
    .hero-section {
        padding: 8rem 1rem 2rem;
        background-image: linear-gradient(rgba(21, 95, 148, 0.9), rgba(1, 13, 22, 0.8)), url(/assets/area-doncaster.webp);
        background-position: center;
        background-size: cover;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .hero-content {
        margin: 0 0 2rem;
    }

    .hero-picture-image {
        /* height: 100%;
        width: 100%;
        justify-self: center;
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        object-fit: cover;
        opacity: 0.3;
        overflow: hidden; */
        display: none;
    }
}

/*--- Desktop ---*/
@media only screen and (min-width: 769px) {
    .hero-section {
        padding: 6rem 0 7rem;
    }

    .hero-container {
        width: 100%;
        max-width: 1000px;
    }

    .hero-container {
        padding: 4rem 2rem 2rem;
        display: flex;
        gap: 3rem;
        width: 100%;
    }

    .hero-picture-image {
        object-fit: cover;
        border-radius: 50% 8px 8px 8px;
        /* border-radius: 8px; */
        overflow: hidden;
        /* border: solid rgb(175, 150, 103) 1px; */
        height: 100%;
    }
}

/*------------- ABOUT SECTION -------------*/

.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    max-width: 900px;
    gap: 1rem;
}

.about-headline {
    text-align: center !important;
}

.about-picture {
    display: flex;
    justify-content: center;
}

.about-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.about-picture-image {
    border-radius: 1rem;
}

.about-button {
    width: 100%;
    align-self: center;
}

/*--- Mobile ---*/
@media only screen and (max-width: 768.99px) {
    .about-section {
        padding: 1rem;
    }

    .about-container {
        flex-direction: column-reverse;
    }

    .about-content {
        justify-content: center;
        align-items: center;
    }
    
    .about-picture-image {
        width: 100%;
    }
}

/*--- Desktop ---*/
@media only screen and (min-width: 769px) {
    .about-section {
        padding: 2rem;
    }

    .about-container {
        flex-direction: row;
    }

    .about-content {
        flex: 2;
    }

    .about-picture {
        padding: 1rem;
        flex: 1;
    }

    .about-picture-image {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }
}

/*------------- HOW SECTION -------------*/

.how-section {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.how-headline {
    max-width: 800px;
    padding-bottom: 2rem;
}

.how-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.how-step * {
    margin: 0;
}

.how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
}

.how-arrow-left {
    display: flex;
    width: 80%;
    justify-content: flex-start;
}

.how-arrow-right {
    display: flex;
    width: 80%;
    justify-content: flex-end;
}

.how-button {
    margin-top: 5rem;
}

/*--- Mobile ---*/
@media only screen and (max-width: 768.99px) {

}

/*--- Desktop ---*/
@media only screen and (min-width: 769px) {
        
}

/*------------- CTA SECTION -------------*/

.cta-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 5rem;
}

.cta-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.cta-content {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 1rem;
}

.cta-right {
    display: flex;
    justify-content: flex-end;
}

.cta-contact-left {
    text-align: right;
    margin-right: 0.5rem;
    padding: 0;
}

.cta-contact-right {
    text-align: left;
    margin-left: 0;
    padding: 0;
}

.cta-button {
    margin: 0;
}

/*--- Mobile ---*/
@media only screen and (max-width: 768.99px) {
    .cta-content {
        flex-direction: column;
    }
}

/*--- Desktop ---*/
@media only screen and (min-width: 769px) {
    .cta-container {
        width: 1000px;
    }
    
    .cta-content {
        max-width: 800px;
        gap: 2rem;
    }

    .cta-left {
        flex: 5;
    }

    .cta-right {
        flex: 1;
    }
}