.contact-page {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.contact-card {
    background: #ffffff;
    border: 1px solid rgba(45, 27, 100, 0.08);
    box-shadow: 0 18px 40px rgba(45, 27, 100, 0.08);
}

.contact-form-card {
    border-radius: 30px;
}

.contact-info-card {
    background: #2d1b64;
    color: #f8f8ff;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: rgba(239, 127, 26, 0.12);
    border-bottom-left-radius: 180px;
}

.contact-info-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.08);
    border-top-right-radius: 160px;
}

.section-heading {
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: #ef7f1a;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(1.75rem, 2.25vw, 2.6rem);
    line-height: 1.05;
    font-weight: 800;
    color: #1f1f46;
}

.section-description {
    color: #c6c8d9;
    font-size: 1rem;
    line-height: 1.9;
    max-width: 560px;
}

.contact-form .form-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #3a3a59;
}

.contact-form .form-control {
    border-radius: 14px;
    border: 1px solid rgba(45, 27, 100, 0.16);
    padding: 1rem 1.05rem;
    background: #fbfbff;
    color: #2b2b44;
    box-shadow: none;
}

.contact-form .form-control:focus {
    border-color: rgba(239, 127, 26, 0.4);
    box-shadow: 0 0 0 0.15rem rgba(239, 127, 26, 0.1);
}

.contact-form textarea.form-control {
    min-height: 160px;
}

.btn-submit {
    background: #2d1b64;
    border-color: transparent;
    color: #fff;
    border-radius: 14px;
    padding: 0.95rem 2rem;
    font-weight: 700;
}

.btn-submit:hover,
.btn-submit:focus {
    background: #24144c;
}

.btn-reset {
    color: #2d1b64;
    border-color: rgba(45, 27, 100, 0.16);
    border-radius: 14px;
}

.btn-reset:hover,
.btn-reset:focus {
    background: rgba(45, 27, 100, 0.05);
    color: #2d1b64;
}

.contact-info-card .section-tag,
.contact-info-card .section-title,
.contact-info-card .section-description,
.contact-info-card .contact-item h3,
.contact-info-card .contact-item p {
    position: relative;
    z-index: 1;
}

.contact-details {
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 16px;
    background: rgba(239, 127, 26, 0.15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.contact-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 700;
}

.contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.85;
}

@media (max-width: 991.98px) {
    .contact-card {
        padding: 2rem 1.75rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .contact-page {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .contact-form-card,
    .contact-info-card {
        border-radius: 24px;
        padding: 1.75rem;
    }
    .contact-item {
        gap: 0.85rem;
    }
    .contact-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }
}