/* ==========================================================================
   Setli Contact Page Styles
   ========================================================================== */

/* Main Section */
.pm__contact--section {
    position: relative;
    padding: 70px 0 90px;
    background-color: #EDF5FF;
    overflow: hidden;
    min-height: calc(100vh - 120px);
}

/* Background Decorative Floating Shapes */
.pm__contact--bg-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 1;
}

.pm__contact--bg-shape-1 {
    width: 320px;
    height: 90px;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.7) 0%, rgba(191, 219, 254, 0.4) 100%);
    transform: rotate(-35deg);
    top: 15%;
    left: -80px;
}

.pm__contact--bg-shape-2 {
    width: 240px;
    height: 70px;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.6) 0%, rgba(191, 219, 254, 0.3) 100%);
    transform: rotate(-35deg);
    bottom: 8%;
    left: 2%;
}

.pm__contact--bg-shape-3 {
    width: 380px;
    height: 110px;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.5) 0%, rgba(191, 219, 254, 0.2) 100%);
    transform: rotate(-35deg);
    top: 25%;
    right: -100px;
}

/* Container & Wrapper */
.pm__contact--section .container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.pm__contact--wrapper {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: start;
}

/* --------------------------------------------------------------------------
   Left Column: Details & Cartoon
   -------------------------------------------------------------------------- */
.pm__contact--left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Pill Badges */
.pm__contact--pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: #E2EEFF;
    border: 1px solid #D0E2FF;
    border-radius: 50px;
    color: #0066FF;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pm__contact--pill-icon {
    flex-shrink: 0;
    color: #0066FF;
}

/* Main Heading */
.pm__contact--title {
    font-size: 52px;
    font-weight: 900;
    color: #0F172A;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
}

.pm__contact--highlight {
    color: #0066FF;
}

/* Subtitle */
.pm__contact--subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #64748B;
    margin: 0 0 32px 0;
    max-width: 480px;
}

/* Cards Stack */
.pm__contact--cards-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 460px;
    margin-bottom: 32px;
}

/* Info Cards */
.pm__contact--info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pm__contact--info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.pm__info-card--icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pm__info-card--icon-email {
    background-color: #EBF3FF;
    color: #0066FF;
}

.pm__info-card--icon-call {
    background-color: #E6F8F0;
    color: #10B981;
}

.pm__info-card--content {
    display: flex;
    flex-direction: column;
}

.pm__info-card--title {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 2px 0;
}

.pm__info-card--sub {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 4px 0;
}

.pm__info-card--link {
    font-size: 15px;
    font-weight: 700;
    color: #0066FF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pm__info-card--link:hover {
    color: #0047BB;
    text-decoration: underline;
}

/* Illustration Box */
.pm__contact--illustration-box {
    width: 100%;
    max-width: 460px;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.pm__contact--cartoon-img {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   Right Column: Form Card
   -------------------------------------------------------------------------- */
.pm__contact--right {
    width: 100%;
}

.pm__contact--form-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 44px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    border: 1px solid #F1F5F9;
}

.pm__contact--form-title {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.pm__contact--form-subtitle {
    font-size: 15px;
    color: #64748B;
    margin: 0 0 28px 0;
}

/* Alert Styling */
.pm__contact--alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.pm__contact--alert-success {
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.pm__contact--alert-danger {
    background-color: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}

/* Form Controls */
.pm__contact--form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pm__form--row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pm__form--group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pm__form--label {
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
}

.pm__form--required {
    color: #EF4444;
}

.pm__form--optional {
    color: #94A3B8;
    font-weight: 400;
}

.pm__form--input,
.pm__form--textarea {
    width: 100%;
    padding: 13px 16px;
    background-color: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-size: 14px;
    color: #0F172A;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.pm__form--input::placeholder,
.pm__form--textarea::placeholder {
    color: #94A3B8;
}

.pm__form--input:focus,
.pm__form--textarea:focus {
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.pm__form--input.is-invalid,
.pm__form--textarea.is-invalid {
    border-color: #EF4444;
}

.pm__form--textarea {
    resize: vertical;
    min-height: 130px;
}

.pm__form--error {
    font-size: 12px;
    color: #EF4444;
    font-weight: 500;
}

/* File Upload Box */
.pm__file--upload-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background-color: #FFFFFF;
    border: 1.5px dashed #CBD5E1;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pm__file--upload-box:hover,
.pm__file--upload-box.drag-over {
    border-color: #0066FF;
    background-color: #F8FAFC;
}

.pm__file--input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.pm__file--badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #F1F5F9;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pm__file--info {
    display: flex;
    flex-direction: column;
}

.pm__file--text {
    font-size: 14px;
    color: #64748B;
}

.pm__file--title {
    font-weight: 700;
    color: #1E293B;
}

.pm__file--hint {
    font-size: 12px;
    color: #94A3B8;
}

.pm__file--remove {
    position: relative;
    z-index: 3;
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    color: #94A3B8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s, background-color 0.2s;
}

.pm__file--remove:hover {
    color: #EF4444;
    background-color: #FEF2F2;
}

/* Submit Button */
.pm__form--btn-wrap {
    margin-top: 8px;
}

.pm__contact--submit-btn {
    width: 100%;
    height: 52px;
    background-color: #0066FF;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.pm__contact--submit-btn:hover {
    background-color: #0052CC;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.pm__contact--submit-btn:active {
    transform: scale(0.99);
}

.pm__contact--submit-btn:disabled {
    background-color: #94A3B8;
    cursor: not-allowed;
    box-shadow: none;
}

.pm__btn--arrow {
    transition: transform 0.2s ease;
}

.pm__contact--submit-btn:hover .pm__btn--arrow {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .pm__contact--wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pm__contact--left {
        align-items: center;
        text-align: center;
    }
.pm__info-card--content {
    text-align: left;
}.pm__contact--cards-stack {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
    .pm__contact--subtitle {
        max-width: 100%;
    }

    .pm__contact--title {
        font-size: 42px;
    }

    .pm__contact--cards-stack,
    .pm__contact--illustration-box {
        max-width: 100%;
    }

    .pm__contact--form-card {
        padding: 32px 24px;
    }
}

@media (max-width: 576px) {
    .pm__contact--section {
        padding: 40px 0 60px;
    }

    .pm__contact--title {
        font-size: 32px;
    }

    .pm__form--row {
        grid-template-columns: 1fr;
    }

    .pm__contact--info-card {
        padding: 16px;
    }
}
