﻿.contact-section-header {
    text-align: center;
    margin-bottom: 70px;
}

.contact-section-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 36px;
    color: var(--color-text-dark);
    margin: 0 0 18px 0;
}

.contact-title-decorator-wrapper {
    position: relative;
    height: 3px;
    width: 176px;
    margin: 0 auto;
}

.contact-title-decorator-line {
    position: absolute;
    left: 0;
    top: 1px;
    width: 100%;
    height: 1px;
    background-color: #d5d5d5;
}

.contact-title-decorator-highlight {
    position: absolute;
    width: 67px;
    height: 3px;
    background-color: var(--color-primary);
    left: 50%;
    transform: translateX(-50%);
}


.contact-main-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2%;
}

.contact-card {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 60%;
    gap: 3%;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0px 0px 60px 30px rgba(0, 0, 0, 0.03);
}

.contact-info-panel {
    position: relative;
    /*left: 9px;
    height: 96%;
    top: 2%;
    bottom: 2%;*/
    width: 40%;
    border-radius: 10px;
    padding: 6% 5%;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    background: #eb4120;
}

.contact-info-bg {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-bg-shape-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-bg-shape-2 {
    position: absolute;
    bottom: -117px;
    right: -91px;
    width: 269px;
    height: 269px;
}

.contact-bg-shape-3 {
    position: absolute;
    bottom: -62px;
    right: -20px;
    width: 138px;
    height: 138px;
}

.contact-info-content {
    position: relative;
    z-index: 1;
}

    .contact-info-content h3 {
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 28px;
        line-height: 42px;
        margin: 0 0 6px 0;
    }

.contact-info-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: var(--color-text-placeholder);
    margin: 0 0 100px 0;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .contact-details li {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .contact-details img {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .contact-details span {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 16px;
        line-height: 1.5;
    }

.contact-form {
    position: relative;
    flex: 0 0 55%;
    padding: 5%;
}

.contact-form-row {
    display: flex;
    gap: 36px;
    margin-bottom: 50px;
}

.contact-form-group {
    flex: 1;
    min-width: 0;
}

.contact-form-group-full {
    width: 100%;
    margin-bottom: 37px;
}

.contact-form-group label {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--color-border);
    padding: 8px 0;
    font-family: var(--font-body);
    font-size: 14px;
    background-color: transparent;
}

    .contact-form-group input:focus,
    .contact-form-group textarea:focus {
        outline: none;
        border-color: var(--color-primary);
    }

.contact-form-group textarea {
    height: 77px;
    resize: none;
}

    .contact-form-group textarea::placeholder {
        color: var(--color-text-muted);
        font-weight: 500;
    }

.contact-submit-btn {
    display: block;
    margin: 5% auto 0;
    padding: 12px 48px;
    background-color: var(--color-black);
    color: var(--color-text-light);
    border: 2px solid var(--color-border);
    border-radius: 5px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.12);
    transition: background-color 0.3s, color 0.3s;
}

    .contact-submit-btn:hover {
        background-color: var(--color-primary);
        color: var(--color-white);
    }

.contact-map-container {
    position: relative;
    width: 36%;
    border: 2px solid var(--color-border);
    border-radius: 15px;
    box-shadow: 0px 4px 4px 0px #a0a0a0;
    overflow: hidden;
    flex-shrink: 0;
    padding: 2% 2%;
}

@media (max-width: 1150px) {
    .contact-card {
        width: 100%;
        max-width: 550px;
        height: auto;
        display: flex;
        flex-direction: column;
        position: static;
    }

    .contact-info-panel,
    .contact-form {
        position: static;
        width: 100%;
        height: auto;
    }

    .contact-info-panel {
        border-radius: 10px 10px 0 0;
    }

    .contact-form {
        padding: 40px;
    }

    .contact-map-container {
        top: 12px;
        width: 100%;
        max-width: 550px;
/*        position: static;
*/    }
}

@media (max-width: 600px) {
    .contact-form-row {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 25px;
    }

    .contact-info-panel {
        padding: 30px 20px;
    }

    .contact-info-subtitle {
        margin-bottom: 50px;
    }

    .contact-details {
        gap: 40px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-submit-btn {
        margin-top: 40px;
    }
}
