/* =========================================
   CONTACT PAGE
========================================= */

.contact-page {
    font-family: "Poppins", sans-serif;
    color: #111827;
    overflow: hidden;
}

.contact-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================
   HERO
========================================= */

.contact-hero {
    position: relative;
    padding: 75px 0 80px;
    background:
        radial-gradient(circle at 85% 20%, #e7f1ff 0, transparent 35%),
        linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -220px;
    top: -150px;
    background: #0056d6;
    border-radius: 50%;
    opacity: .08;
}

.contact-hero .contact-container {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0755c9;
    background: #eaf2ff;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
}

.contact-hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    margin: 20px 0 18px;
    font-weight: 800;
}

.contact-hero h1 span {
    display: block;
    color: #0755c9;
}

.contact-hero-content > p {
    max-width: 600px;
    color: #596579;
    font-size: 18px;
    line-height: 1.7;
}

.hero-contact-points {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.hero-contact-points div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.hero-contact-points i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #0755c9;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(7, 85, 201, .2);
}


/* Hero Visual */

.contact-hero-image {
    min-height: 390px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: linear-gradient(145deg, #dbeaff, #fff);
    border: 15px solid rgba(255,255,255,.8);
    box-shadow: 0 25px 60px rgba(0, 70, 170, .12);
}

.printer-icon-large {
    position: absolute;
    width: 180px;
    height: 120px;
    background: #202a38;
    color: #fff;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 65px;
    box-shadow: 0 25px 35px rgba(0,0,0,.22);
    transform: translateY(30px);
}

.printer-icon-large::after {
    content: "";
    position: absolute;
    width: 105px;
    height: 45px;
    background: #fff;
    bottom: -20px;
    border-radius: 3px;
}

.support-card {
    position: absolute;
    right: 0;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 22px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.support-card > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #0755c9;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
}

.support-card strong,
.support-card span {
    display: block;
}

.support-card span {
    color: #667085;
    font-size: 13px;
    margin-top: 4px;
}


/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    padding: 90px 0;
    background: #fff;
}

.contact-section .contact-container {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 65px;
    align-items: start;
}

.section-label,
.support-heading > span,
.form-header > span {
    color: #0755c9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.contact-info h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 12px 0 18px;
}

.contact-info h2 span,
.support-heading h2 span {
    color: #0755c9;
}

.contact-intro {
    color: #667085;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-info-list {
    display: grid;
    gap: 20px;
}

.contact-info-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    color: #0755c9;
    background: #edf4ff;
    border-radius: 13px;
    font-size: 20px;
}

.contact-info-box h3 {
    margin: 0 0 5px;
    font-size: 17px;
}

.contact-info-box p {
    margin: 0 0 4px;
    color: #7a8495;
    font-size: 13px;
}

.contact-info-box a,
.contact-info-box strong {
    color: #0755c9;
    font-size: 14px;
    text-decoration: none;
}


/* Call box */

.contact-call-box {
    margin-top: 35px;
    padding: 20px;
    background: linear-gradient(135deg, #0755c9, #063b94);
    color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.call-box-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
}

.contact-call-box span,
.contact-call-box strong {
    display: block;
}

.contact-call-box span {
    font-size: 12px;
    opacity: .85;
}

.contact-call-box strong {
    margin-top: 4px;
}

.contact-call-box a {
    margin-left: auto;
    background: #fff;
    color: #0755c9;
    padding: 11px 17px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}


/* =========================================
   FORM
========================================= */

.contact-form-wrapper {
    padding: 40px;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(20, 50, 100, .08);
}

.form-header {
    margin-bottom: 28px;
}

.form-header h2 {
    margin: 8px 0;
    font-size: 30px;
}

.form-header p {
    margin: 0;
    color: #778196;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
}

.form-group label span {
    color: #e11d48;
}

.input-box,
.textarea-box {
    position: relative;
}

.input-box i,
.textarea-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7a879c;
    z-index: 2;
}

.textarea-box i {
    top: 21px;
    transform: none;
}

.input-box input,
.input-box select,
.textarea-box textarea {
    width: 100%;
    border: 1px solid #dce2eb;
    background: #f9fbfd;
    border-radius: 10px;
    padding: 14px 15px 14px 44px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: .25s;
    box-sizing: border-box;
}

.input-box select {
    appearance: auto;
}

.textarea-box textarea {
    padding-left: 44px;
    resize: vertical;
    min-height: 135px;
}

.input-box input:focus,
.input-box select:focus,
.textarea-box textarea:focus {
    background: #fff;
    border-color: #0755c9;
    box-shadow: 0 0 0 3px rgba(7,85,201,.08);
}

.form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #687386;
    font-size: 12px;
    line-height: 1.5;
}

.privacy-check input {
    margin-top: 3px;
}

.submit-btn {
    border: 0;
    background: #0755c9;
    color: #fff;
    padding: 14px 22px;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    transition: .25s;
}

.submit-btn:hover {
    background: #063d92;
    transform: translateY(-2px);
}

#formMessage {
    margin-top: 15px;
    font-size: 13px;
}


/* =========================================
   SUPPORT OPTIONS
========================================= */

.support-options {
    padding: 80px 0;
    background: #f5f8fd;
}

.support-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px;
}

.support-heading h2 {
    font-size: 38px;
    margin: 10px 0;
}

.support-heading p {
    color: #6d788a;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.support-option {
    text-align: center;
    padding: 35px 25px;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    transition: .3s;
}

.support-option:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(15,55,110,.1);
}

.option-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: #0755c9;
    border-radius: 50%;
    font-size: 24px;
}

.support-option h3 {
    margin: 0 0 12px;
}

.support-option p {
    color: #707b8d;
    font-size: 14px;
    line-height: 1.7;
}

.support-option a,
.support-option button {
    border: 0;
    background: transparent;
    color: #0755c9;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.support-option a i,
.support-option button i {
    margin-left: 7px;
    transition: .2s;
}

.support-option a:hover i,
.support-option button:hover i {
    transform: translateX(4px);
}


/* =========================================
   CTA
========================================= */

.contact-cta {
    padding: 35px 0;
    background: linear-gradient(110deg, #0644a8, #075fe0);
    color: #fff;
}

.contact-cta .contact-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #0755c9;
    font-size: 28px;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    margin: 0 0 5px;
    font-size: 28px;
}

.cta-content p {
    margin: 0;
    opacity: .85;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #fff;
    color: #0755c9;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .contact-hero .contact-container,
    .contact-section .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-hero-image {
        min-height: 300px;
    }

    .contact-section .contact-container {
        gap: 45px;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 650px) {

    .contact-hero {
        padding: 50px 0;
    }

    .contact-hero h1 {
        font-size: 42px;
    }

    .hero-contact-points {
        flex-direction: column;
    }

    .hero-circle {
        width: 270px;
        height: 270px;
    }

    .printer-icon-large {
        width: 145px;
        height: 95px;
        font-size: 48px;
    }

    .support-card {
        right: 5px;
        bottom: 0;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-info h2 {
        font-size: 34px;
    }

    .contact-form-wrapper {
        padding: 25px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-btn {
        justify-content: center;
    }

    .contact-call-box {
        flex-wrap: wrap;
    }

    .contact-call-box a {
        margin-left: 0;
    }

    .contact-cta .contact-container {
        flex-wrap: wrap;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}