.contact-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(56, 176, 157, 0.12), transparent 28%),
        linear-gradient(135deg, #f7fffd 0%, #ffffff 48%, #f2fbf8 100%);
}

.contact-hero-section {
    position: relative;
    min-height: 285px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(56, 176, 157, 0.18), transparent 32%),
        linear-gradient(135deg, #ecfffb 0%, #ffffff 55%, #f5fffd 100%);
    overflow: hidden;
    border-bottom: 1px solid rgba(56, 176, 157, 0.08);
}

.contact-hero-container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.contact-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(56, 176, 157, 0.09);
    pointer-events: none;
}

.contact-bg-circle.circle-one {
    width: 260px;
    height: 260px;
    right: -80px;
    top: 25px;
}

.contact-bg-circle.circle-two {
    width: 170px;
    height: 170px;
    left: -60px;
    bottom: -60px;
}

.contact-kicker,
.contact-form-kicker {
    display: inline-block;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: rgba(56, 176, 157, 0.11);
    color: #2b9b8a;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.72rem;
    margin-bottom: 0.85rem;
}

.contact-main-title {
    font-family: "Outfit", sans-serif;
    color: #172033;
    font-size: clamp(2.15rem, 3.4vw, 3.65rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: 0.75rem;
}

.contact-hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #697386;
    font-size: 0.98rem;
    line-height: 1.75;
    font-weight: 500;
}

.contact-container {
    padding-top: 2.25rem;
    padding-bottom: 5rem;
}

.contact-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    max-width: 860px;
    margin: 0 auto 1.2rem;
    padding: 0.95rem 1.15rem;
    border-radius: 1rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.contact-alert.success {
    color: #16745f;
    background: rgba(56, 176, 157, 0.10);
    border: 1px solid rgba(56, 176, 157, 0.16);
}

.contact-alert.danger {
    color: #b42318;
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.15);
}

.contact-info-card,
.contact-form-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(56, 176, 157, 0.12);
    border-radius: 1.2rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.contact-info-card {
    padding: 1.35rem;
}

.contact-form-card {
    padding: 1.45rem;
}

.contact-card-icon,
.contact-form-icon {
    width: 46px;
    height: 46px;
    border-radius: 1rem;
    background: rgba(56, 176, 157, 0.10);
    color: #38b09d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.contact-info-card h2,
.contact-form-header h2 {
    font-family: "Outfit", sans-serif;
    color: #172033;
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 0.45rem;
}

.contact-muted {
    color: #697386;
    font-size: 0.9rem;
    line-height: 1.65;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0.7rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.055);
}

.contact-info-item i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(56, 176, 157, 0.09);
    color: #38b09d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
}

.contact-info-item strong {
    display: block;
    color: #172033;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.15rem;
}

.contact-info-item span,
.contact-info-item a {
    color: #697386;
    font-size: 0.84rem;
    line-height: 1.6;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.contact-info-item a:hover {
    color: #38b09d;
}

.contact-divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
    margin: 1.2rem 0;
}

.contact-follow-title {
    color: #697386;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(56, 176, 157, 0.09);
    border: 1px solid rgba(56, 176, 157, 0.13);
    color: #38b09d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.22s ease;
}

.contact-socials a:hover {
    transform: translateY(-2px);
    background: #38b09d;
    color: #ffffff;
}

.contact-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-form-header .contact-form-kicker {
    margin-bottom: 0.55rem;
}

.contact-form-icon {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.contact-form-card .form-label {
    color: #172033;
    font-size: 0.84rem;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.contact-input-group {
    display: flex;
    align-items: stretch;
}

.contact-input-group span {
    width: 46px;
    border: 1px solid rgba(56, 176, 157, 0.16);
    border-right: 0;
    border-radius: 0.85rem 0 0 0.85rem;
    background: rgba(56, 176, 157, 0.045);
    color: #38b09d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-input-group .form-control {
    border-radius: 0 0.85rem 0.85rem 0;
    border-left: 0;
}

.contact-form-card .form-control,
.contact-form-card .form-select,
.contact-single-input {
    border: 1px solid rgba(56, 176, 157, 0.16);
    color: #172033;
    font-weight: 600;
    border-radius: 0.85rem;
    padding: 0.72rem 0.85rem;
    box-shadow: none;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: rgba(56, 176, 157, 0.65);
    box-shadow: 0 0 0 0.2rem rgba(56, 176, 157, 0.12);
}

.contact-form-card textarea {
    resize: none;
    min-height: 140px;
}

.contact-char-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.35rem;
}

.contact-char-row small {
    color: #697386;
    font-weight: 700;
}

.contact-submit-btn {
    border: 0;
    background: #38b09d;
    color: #ffffff;
    padding: 0.78rem 1.35rem;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(56, 176, 157, 0.22);
    transition: 0.22s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.96);
}

.contact-submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.contact-form-card .invalid-feedback {
    font-weight: 700;
    font-size: 0.78rem;
}

.contact-form-card .is-valid {
    border-color: rgba(56, 176, 157, 0.75);
}

.contact-form-card .is-invalid {
    border-color: rgba(220, 53, 69, 0.75);
}

@media (max-width: 991px) {
    .contact-hero-section {
        min-height: 255px;
    }

    .contact-container {
        padding-top: 2rem;
    }
}

@media (max-width: 575px) {
    .contact-hero-section {
        min-height: auto;
    }

    .contact-hero-container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .contact-main-title {
        letter-spacing: -0.035em;
    }

    .contact-hero-subtitle {
        font-size: 0.95rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.1rem;
    }

    .contact-form-header {
        align-items: center;
    }

    .contact-form-icon {
        width: 42px;
        height: 42px;
    }

    .contact-submit-btn {
        width: 100%;
    }
}