.contact-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    color:#000;
    font-family:"Red Hat Display", sans-serif;
}

.contact-popup.active {
    display: flex;
}

.contact-form-container {
    background-color: white;
    padding: 50px 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    position: relative;
    display: flex;
    gap: 20px;
}

.contact-form-container h2 {
    color: #111A2B;
    margin-bottom: 20px;
    font-size: 32px;
}

.small-p{
    font-size:14px;
}
.contact-form-text {
    font-size:14px;
    font-style:italic;
    margin-bottom: 10px;
    text-align: left;
    color: #585656;
}

.form-section {
    flex: 1;
    padding: 5px 20px 40px 20px;
    background-color:#eee;
    border:solid 1px #808080;
    color:#444;
}

.contact-info {
    flex: 1;
    padding-left: 20px;
    border-left: 1px solid #ddd;
    color:#000;
}

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

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

.contact-info a {
    color: inherit;
    text-decoration: none;
}

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



.form-row {
    display: flex;
    gap: 15px;
}


.form-group {
    flex: 1;
}

.form-group input {
    width: calc(100% - 24px);  /* Adjust width accounting for padding */
    padding: 12px;
    font-size: 14px;
    color: black;
    margin-bottom:5px;
    background-color:#eee;
    border:none;
    border-bottom: 1px solid #808080;
    border-radius:0px;
}
.form-group input:focus{
    border:none;
    outline: none;
    border-bottom: 1px solid #808080;
}


.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #111A2B;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #2a3b5a;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-popup:hover {
    color: #111A2B;
}

@media (max-width: 768px) {
    .contact-form-container {
        background-color: white;
        padding: 50px 20px 15px 20px;
        border-radius: 8px;
        width: 85%;
        max-width: 900px;
        position: relative;
        display: flex;
        flex-direction:column;
        gap: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    #get-in-touch{
        display:none;
    }
    .contact-info {
        flex: 1;
        padding-left: 2px;
        border-left: 0px solid #ddd;
    }
    .small-p{
        display:none;
    }
}