#heroContact {
    min-height: calc(100svh - 80px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/images/sections/london2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.heroContact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.heroContact h3 {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 2.25rem);
    font-weight: 300;
    margin: 0;
}

.heroContact h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 6.75rem);
    font-weight: 500;
    margin: 10px 0;
}
.page-intro {
    text-align: center;
    margin-bottom: 40px;
    padding-inline: 20px;
}

.page-intro h1 {
    color: #ff4c4c;
    margin-bottom: 10px;
}

.page-intro p {
    color: #ccc;
}

/* stack the form and details before they get cramped */
@media screen and (max-width: 900px) {
    .contact-form, .contact-info {
        flex: 1 1 100%;
    }
}


.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    padding: 20px;
}

.contact-form, .contact-info {
    background-color: #111;
    padding: 20px;
    border-radius: 8px;
    margin: 10px;
    flex: 1 1 45%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.contact-form h3, .contact-info h3 {
    color: #ff4c4c;;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
}

.form-control::placeholder {
    color: #999;
}

.btn-primary {
    background-color: #ff4c4c;
    border: none;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #ff4c4c;;
}

.contact-info p {
    margin: 0 0 10px;
}

.info-box {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-box .icon {
    background-color: black;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-box .text p {
    margin: 0;
    color: #ff4c4c;
}

.info-box .text p span {
    font-weight: bold;
}

.info-box .text p a {
    color: #ff4c4c;;
    text-decoration: none;
}

.info-box .text p a:hover {
    text-decoration: underline;
}


@media screen and (max-width: 768px) {
    #heroContact{
        flex-direction: column;
        background-position: center;
    }
    .heroContact h3 {
        font-size: clamp(1.25rem, 2vw + 0.5rem, 2.25rem);
        font-weight: 300;
        margin: 0;
    }

    .heroContact h1 {
        font-size: clamp(2.5rem, 5vw + 1rem, 6.75rem);
        font-weight: 500;
        margin: 10px 0;
    }
    .container {
        text-align: center;
    }
}