/* =========================================================
   SHUVAM INFOTECH - CONTACT PAGE CSS
========================================================= */

.contact-page {
    background: #f8fafc;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.contact-page-header {
    padding: 75px 0 70px;
    text-align: center;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(121, 58, 133, 0.08),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(255, 193, 7, 0.08),
            transparent 35%
        );
}

.contact-page-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-page-header h1 {
    margin: 18px 0 12px;

    color: #343a40;

    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
}

.contact-page-header h1 span {
    color: #793a85;
}

.contact-page-header p {
    max-width: 650px;

    margin: 0 auto 20px;

    color: #64748b;

    line-height: 1.7;
}

.contact-breadcrumb {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    font-size: 13px;
}

.contact-breadcrumb a {
    color: #793a85;

    font-weight: 700;

    text-decoration: none;
}

.contact-breadcrumb span:last-child {
    color: #64748b;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    padding: 80px 0 90px;
}


/* =========================================================
   SUCCESS / ERROR
========================================================= */

.contact-response {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 30px;

    padding: 20px 24px;

    border-radius: 14px;
}

.contact-response .response-icon {
    flex-shrink: 0;

    font-size: 24px;
}

.contact-response h4 {
    margin: 0 0 6px;

    font-size: 17px;
    font-weight: 800;
}

.contact-response p {
    margin: 0;
}

.contact-response ul {
    margin: 5px 0 0;

    padding-left: 18px;
}

.contact-error {
    color: #991b1b;

    background: #fff5f5;

    border: 1px solid #fecaca;
}

.contact-success {
    color: #166534;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;
}


/* =========================================================
   MAIN GRID
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 28px;

    align-items: start;
}


/* =========================================================
   CARD
========================================================= */

.contact-card {
    position: relative;

    overflow: hidden;

    padding: 35px;

    background: #ffffff;

    border: 1px solid #e8e8ef;

    border-radius: 20px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.06);

    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.contact-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #793a85,
            #ffc107
        );
}

.contact-card:hover {
    box-shadow:
        0 18px 45px rgba(121, 58, 133, 0.09);
}


/* =========================================================
   CARD HEADER
========================================================= */

.contact-card-header {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 30px;
}

.contact-card-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #793a85,
            #5a2c6a
        );

    color: #ffffff;

    font-size: 21px;

    box-shadow:
        0 8px 20px rgba(121, 58, 133, 0.18);
}

.contact-card-header h2 {
    margin: 0 0 4px;

    color: #343a40;

    font-size: 22px;

    font-weight: 800;
}

.contact-card-header p {
    margin: 0;

    color: #64748b;

    font-size: 13px;
}


/* =========================================================
   FORM
========================================================= */

.contact-form-group {
    margin-bottom: 21px;
}

.contact-form-group label {
    display: block;

    margin-bottom: 8px;

    color: #343a40;

    font-size: 13px;

    font-weight: 700;
}

.contact-form-group label span {
    color: #dc3545;
}


/* =========================================================
   INPUT
========================================================= */

.input-wrapper {
    position: relative;
}

.input-wrapper > i {
    position: absolute;

    top: 50%;
    left: 15px;

    z-index: 2;

    transform: translateY(-50%);

    color: #793a85;

    font-size: 14px;

    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px 13px 43px;

    color: #334155;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 9px;

    outline: none;

    font-size: 14px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    background: #ffffff;

    border-color: #793a85;

    box-shadow:
        0 0 0 3px rgba(121, 58, 133, 0.08);
}

.input-wrapper select {
    appearance: auto;

    cursor: pointer;
}


/* =========================================================
   TEXTAREA
========================================================= */

.textarea-wrapper {
    position: relative;
}

.textarea-wrapper textarea {
    width: 100%;

    box-sizing: border-box;

    min-height: 145px;

    padding: 14px;

    resize: vertical;

    color: #334155;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 9px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    line-height: 1.6;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.textarea-wrapper textarea:focus {
    background: #ffffff;

    border-color: #793a85;

    box-shadow:
        0 0 0 3px rgba(121, 58, 133, 0.08);
}

.message-counter {
    position: absolute;

    right: 12px;
    bottom: 9px;

    color: #94a3b8;

    font-size: 11px;

    pointer-events: none;
}

.contact-help {
    display: block;

    margin-top: 7px;

    color: #94a3b8;

    font-size: 11px;
}

.contact-help i {
    color: #793a85;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit-btn {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 14px 18px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #793a85,
            #5a2c6a
        );

    border: 0;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-submit-btn span {
    display: flex;

    align-items: center;

    gap: 9px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(121, 58, 133, 0.20);
}

.contact-submit-btn:active {
    transform: translateY(0);
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.contact-info-item {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 16px;

    background: #f8fafc;

    border: 1px solid #edf0f4;

    border-radius: 12px;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.contact-info-item:hover {
    background: rgba(121, 58, 133, 0.05);

    border-color:
        rgba(121, 58, 133, 0.12);

    transform: translateX(4px);
}

.contact-info-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #793a85;

    background: #ffffff;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.06);
}

.contact-info-item span {
    display: block;

    margin-bottom: 4px;

    color: #343a40;

    font-size: 13px;

    font-weight: 800;
}

.contact-info-item p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   SOCIAL
========================================================= */

.contact-social {
    margin-top: 25px;

    padding-top: 22px;

    border-top: 1px solid #edf0f4;
}

.contact-social > span {
    display: block;

    margin-bottom: 12px;

    color: #343a40;

    font-size: 13px;

    font-weight: 800;
}

.contact-social > div {
    display: flex;

    gap: 10px;
}

.contact-social a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #793a85;

    background: #f8fafc;

    border-radius: 50%;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-social a:hover {
    color: #ffffff;

    background: #793a85;

    transform: translateY(-3px);
}


/* =========================================================
   MAP
========================================================= */

.contact-map-section {
    margin-top: 45px;
}

.contact-map-header {
    margin-bottom: 20px;
}

.contact-map-header .section-tag {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 10px;
}

.contact-map-header h2 {
    margin: 0;

    color: #343a40;

    font-size: 28px;

    font-weight: 800;
}

.contact-map {
    height: 400px;

    overflow: hidden;

    border: 1px solid #e8e8ef;

    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.07);
}

.contact-map iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .contact-page-header {
        padding: 60px 0 55px;
    }

    .contact-page-header h1 {
        font-size: 38px;
    }

    .contact-section {
        padding: 55px 0 65px;
    }

    .contact-card {
        padding: 26px 20px;

        border-radius: 16px;
    }

    .contact-card-header h2 {
        font-size: 19px;
    }

    .contact-map {
        height: 300px;
    }

}


@media (max-width: 480px) {

    .contact-page-header h1 {
        font-size: 34px;
    }

    .contact-card-header {
        align-items: flex-start;
    }

    .contact-card-icon {
        width: 50px;
        height: 50px;

        font-size: 18px;
    }

    .contact-map {
        height: 260px;
    }

}