.contact-hero,
.hero-banner {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.82), rgba(167, 13, 77, 0.68)),
        url('../images/mini-hero-bg.webp') center/cover no-repeat;
    position: relative;
}

.hero-banner .hero-content h2 {
    color: #fff;
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.breadcrumb a {
    color: #fbc326;
}

.contact-section {
    padding: 84px 0 76px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.contact-section .container,
.map-section .container {
    max-width: 1160px;
}

.contact-section .section-title {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.contact-section .section-title h2 {
    color: #111827;
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.contact-section .section-title h2 span {
    color: #A70D4D;
}

.contact-section .section-title p {
    color: #5f6877;
    font-size: 16px;
    line-height: 1.75;
}

.form-alert {
    max-width: 860px;
    margin: 0 auto 24px;
    padding: 14px 18px;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1.5;
}

.form-alert-error {
    border: 1px solid rgba(185, 28, 28, 0.18);
    background: #fff1f2;
    color: #9f1239;
}

.form-alert-success {
    border: 1px solid rgba(22, 163, 74, 0.2);
    background: #f0fdf4;
    color: #166534;
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 32px;
    align-items: stretch;
}

.contact-info-box,
.contact-form {
    min-width: 0;
    padding: 34px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
}

.contact-card-heading {
    margin-bottom: 24px;
}

.contact-card-heading span,
.map-heading span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(167, 13, 77, 0.09);
    color: #A70D4D;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.contact-card-heading h3 {
    color: #111827;
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.contact-card-heading p {
    color: #667085;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.info-list {
    display: grid;
    gap: 14px;
}

.info-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid rgba(17, 24, 39, 0.07);
    border-radius: 8px;
    background: #fbfcff;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.info-item:hover {
    border-color: rgba(167, 13, 77, 0.22);
    background: #fff;
    transform: translateY(-2px);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #A70D4D, #760836);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(167, 13, 77, 0.24);
}

.info-content h3 {
    color: #111827;
    font-size: 17px;
    line-height: 1.25;
    margin: 0 0 6px;
}

.info-content p {
    color: #344054;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    word-break: break-word;
}

.info-content p + p {
    margin-top: 3px;
}

.info-content a {
    color: #344054;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-content a:hover {
    color: #A70D4D;
}

.contact-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.contact-quick-actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-quick-actions a:first-child {
    background: #A70D4D;
    color: #fff;
    box-shadow: 0 10px 24px rgba(167, 13, 77, 0.22);
}

.contact-quick-actions a:last-child {
    border: 1px solid rgba(10, 157, 242, 0.28);
    background: rgba(10, 157, 242, 0.08);
    color: #087dc2;
}

.contact-quick-actions a:hover {
    transform: translateY(-2px);
}

.form-heading {
    margin-bottom: 22px;
}

.contact-form form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    margin: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
}

.contact-form .form-control {
    width: 100%;
    min-height: 48px;
    border: 1.5px solid #d9dee8;
    border-radius: 8px;
    padding: 12px 14px;
    color: #111827;
    background: #fff;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form .form-control::placeholder {
    color: #98a2b3;
}

.contact-form textarea.form-control {
    min-height: 126px;
    resize: vertical;
}

.contact-form .form-control:focus {
    border-color: #A70D4D;
    box-shadow: 0 0 0 4px rgba(167, 13, 77, 0.09);
    outline: none;
}

.contact-form .form-control.is-invalid {
    border-color: #dc2626;
    background: #fff7f7;
}

.contact-form .form-control.is-valid {
    border-color: rgba(22, 163, 74, 0.42);
}

.field-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-form .submit-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    background: #fbc326;
    color: #111827;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(251, 195, 38, 0.28);
}

.contact-form .submit-btn:hover {
    background: #e3ac12;
    color: #111827;
    transform: translateY(-2px);
}

.contact-form .submit-btn:disabled,
.contact-form .submit-btn.is-loading {
    cursor: wait;
    opacity: 0.82;
    transform: none;
}

.map-section {
    padding: 0 0 88px;
    background: #f8f9fa;
}

.map-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.map-heading h2 {
    color: #111827;
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.map-heading p {
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.map-container {
    height: 430px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    background: #e5e7eb;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 220px;
        padding: 74px 20px 58px;
    }

    .hero-banner .hero-content h2 {
        font-size: 36px;
    }

    .contact-section {
        padding: 64px 0 58px;
    }

    .contact-section .section-title {
        margin-bottom: 32px;
    }

    .contact-section .section-title h2 {
        font-size: 34px;
    }

    .contact-info-box,
    .contact-form {
        padding: 26px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .map-section {
        padding-bottom: 66px;
    }

    .map-heading h2 {
        font-size: 30px;
    }

    .map-container {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .contact-section .container,
    .map-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-section .section-title h2 {
        font-size: 30px;
    }

    .contact-info-box,
    .contact-form {
        padding: 22px 18px;
    }

    .contact-card-heading h3 {
        font-size: 23px;
    }

    .info-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
    }

    .info-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 16px;
    }

    .contact-quick-actions {
        grid-template-columns: 1fr;
    }

    .contact-form .form-control {
        font-size: 16px;
    }

    .map-heading h2 {
        font-size: 26px;
    }

    .map-container {
        height: 320px;
    }

    .contact-page .contact-widget {
        display: none;
    }
}
