.contact-form {
    border-radius: 8px;
    padding: 30px 30px;
    margin: 0 2.5px 30px;
    background: var(--white);
}

section.inner-section.single-banner {
    margin-bottom: 0;
}

section.inner-section.contact-part {
    margin-top: 0;
    padding-top: 20px;
}

.contact-form h4 {
    margin-bottom: 25px;
}

.contact-form .contact-form-select {
    width: 100%;
    height: 45px;
    padding: 0 20px 0 45px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background-color: var(--white);
    color: var(--heading);
    appearance: auto;
    cursor: pointer;
}

.contact-form .form-input-group .contact-form-select:focus {
    border-color: var(--primary);
    outline: none;
}

.contact-form-footer {
    margin-top: 24px;
}

.contact-form-tagline {
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.5;
}

.contact-form-note {
    font-weight: 400;
    color: #000;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-form-order-title {
    margin-top: 24px;
    margin-bottom: 10px;
}

.contact-sales-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    background: var(--primary);
    transition: all linear .3s;
}

.contact-sales-btn:hover {
    color: var(--white);
    background: var(--green);
}

.contact-map {
    padding: 30px;
    margin: 0 2.5px 30px;
    border-radius: 8px;
    background: var(--white);
    height: calc(100% - 30px);
}

.contact-map iframe {
    width: 100%;
    border: none;
    height: 100%;
    min-height: 474px;
}

.contact-offices-row {
    margin-top: 10px;
}

.contact-office-card {
    text-align: center;
    padding: 20px 15px 40px;
    margin: 0 2.5px 30px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-office-card:hover {
    background: #f5f9f6;
    border-color: var(--green);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-office-card:hover .contact-office-icon {
    background: var(--green);
}

.contact-office-card:hover .contact-office-title {
    color: var(--green);
}

.contact-office-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-office-icon i {
    color: #fff;
    font-size: 26px;
    line-height: 1;
}

.contact-office-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 14px;
}

.contact-office-address {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 16px;
}

.contact-office-detail {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 12px;
}

.contact-office-detail:last-child {
    margin-bottom: 0;
}

.contact-office-detail a {
    color: #555;
    text-decoration: none;
}

.contact-office-detail a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contact-social {
    text-align: center;
    margin-top: 20px;
}

.contact-social h4 {
    margin-bottom: 20px;
}

.contact-main-row,
.contact-details-row {
    align-items: stretch;
}

.contact-form,
.contact-info-block {
    height: calc(100% - 30px);
}

.contact-info-block {
    border-radius: 8px;
    padding: 30px;
    margin: 0 2.5px 30px;
    background: var(--white);
    height: calc(100% - 30px);
}

.contact-info-block p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #000;
}

.contact-info-intro {
    font-size: 18px;
    margin-bottom: 12px;
    color: #000;
    font-weight: 500;
}

.contact-info-highlight {
    font-weight: 600;
    margin-bottom: 24px;
    color: #000;
}

.contact-info-heading {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--heading);
}

.contact-info-heading:first-of-type {
    margin-top: 0;
}

.contact-info-subheading {
    font-size: 16px;
    font-weight: 700;
    margin: 18px 0 8px;
    color: var(--heading);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-item i {
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
}

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

@media (max-width: 767px) {
    .contact-office-card {
        padding-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .contact-form,
    .contact-map,
    .contact-info-block {
        padding: 15px;
    }

    .contact-map iframe {
        min-height: 320px;
    }
}

@media (min-width: 401px) and (max-width: 575px) {
    .contact-part .container {
        max-width: 400px;
    }
}
