/* =========================================================
   CTM TECHNOLOGIES - SALES ENQUIRY
   ========================================================= */

.sales-page-banner {
    background:
        linear-gradient(
            rgba(7, 15, 19, .84),
            rgba(7, 15, 19, .84)
        ),
        url("../images/blog/blog-banner.jpg");

    background-size: cover;
    background-position: center;
}


/* =========================================================
   INTRO
   ========================================================= */

.sales-intro-section {
    padding: 100px 0 70px;
    background: #fff;
}

.sales-main-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 64px;
    line-height: .98;
    font-weight: 700;
    color: var(--dark);
    margin: 12px 0 0;
}

.sales-main-title span {
    color: var(--primary);
    display: block;
}

.sales-intro-text {
    color: #69757d;
    font-size: 16px;
    line-height: 1.85;
    margin: 0;
}


/* =========================================================
   INFO CARDS
   ========================================================= */

.sales-info-row {
    margin-top: 65px;
}

.sales-info-card {
    height: 100%;
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f6f7f8;
    border: 1px solid #e2e5e7;
    transition: all .4s ease;
}

.sales-info-card:hover {
    background: #fff;
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(0,0,0,.07);
}

.sales-info-icon {
    width: 58px;
    min-width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 23px;
    transition: all .35s ease;
}

.sales-info-card:hover .sales-info-icon {
    transform: rotateY(180deg);
}

.sales-info-card span {
    display: block;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 4px;
}

.sales-info-card h3 {
    font-family: "Barlow Condensed", sans-serif;
    color: var(--dark);
    font-size: 25px;
    line-height: 1.1;
    margin: 0 0 8px;
}

.sales-info-card p {
    color: #748087;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}


/* =========================================================
   FORM SECTION
   ========================================================= */

.sales-form-section {
    padding: 30px 0 110px;
    background: #f4f5f6;
}

.sales-form-layout {
    box-shadow: 0 25px 70px rgba(0,0,0,.08);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sales-form-sidebar {
    height: 100%;
    padding: 55px 42px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.sales-form-sidebar::after {
    content: "\F3F5";
    font-family: "bootstrap-icons";
    position: absolute;
    right: -30px;
    bottom: -55px;
    font-size: 220px;
    color: rgba(255,255,255,.035);
}

.light-kicker {
    color: var(--primary);
}

.sales-form-sidebar h2 {
    position: relative;
    z-index: 2;
    font-family: "Barlow Condensed", sans-serif;
    color: #fff;
    font-size: 48px;
    line-height: .98;
    margin: 12px 0 20px;
}

.sales-form-sidebar h2 span {
    color: var(--primary);
    display: block;
}

.sales-form-sidebar > p {
    position: relative;
    z-index: 2;
    color: #b9c1c5;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.sidebar-point {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e6e9eb;
    font-size: 14px;
    margin-bottom: 17px;
}

.sidebar-point i {
    width: 23px;
    height: 23px;
    min-width: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
}

.sidebar-contact {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.sidebar-contact small {
    display: block;
    color: var(--primary);
    font-size: 10px;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-bottom: 7px;
}

.sidebar-contact a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.sidebar-contact a:hover {
    color: var(--primary);
}


/* =========================================================
   FORM WRAPPER
   ========================================================= */

.sales-form-wrapper {
    height: 100%;
    padding: 50px;
    background: #fff;
}

.form-heading {
    margin-bottom: 30px;
}

.form-heading h2 {
    font-family: "Barlow Condensed", sans-serif;
    color: var(--dark);
    font-size: 48px;
    line-height: 1;
    margin: 10px 0 12px;
}

.form-heading h2 span {
    color: var(--primary);
}

.form-heading p {
    color: #727d84;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}


/* =========================================================
   FORM FIELDS
   ========================================================= */

.sales-field {
    position: relative;
}

.sales-field label {
    display: block;
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sales-field label span {
    color: var(--primary);
}

.sales-field input,
.sales-field select,
.sales-field textarea {
    width: 100%;
    border: 1px solid #dfe4e7;
    outline: none;
    background: #f8f9fa;
    color: var(--dark);
    padding: 14px 16px;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    transition: all .3s ease;
}

.sales-field input,
.sales-field select {
    height: 52px;
}

.sales-field textarea {
    min-height: 155px;
    resize: vertical;
}

.sales-field input:focus,
.sales-field select:focus,
.sales-field textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245,130,32,.08);
}

.sales-field.has-error input,
.sales-field.has-error select,
.sales-field.has-error textarea {
    border-color: #dc3545;
}

.field-error {
    display: none;
    color: #dc3545;
    font-size: 11px;
    margin-top: 5px;
}

.sales-field.has-error .field-error {
    display: block;
}


/* =========================================================
   UPLOAD
   ========================================================= */

.upload-box {
    border: 1.5px dashed #cfd5d8;
    background: #f8f9fa;
    min-height: 125px;
    padding: 25px;
    cursor: pointer;
    transition: all .3s ease;
}

.upload-box:hover,
.upload-box.dragover {
    border-color: var(--primary);
    background: rgba(245,130,32,.035);
}

.upload-box input {
    display: none;
}

.upload-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.upload-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245,130,32,.1);
    color: var(--primary);
    font-size: 25px;
}

.upload-content strong {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
}

.upload-content span {
    color: #6e797f;
    font-size: 13px;
    margin-left: 4px;
}

.upload-content small {
    display: block;
    color: #929ba0;
    font-size: 11px;
    margin-top: 7px;
}

.selected-file {
    display: none;
    margin-top: 10px;
    padding: 10px 13px;
    background: #f0f7f2;
    color: #28723a;
    border-left: 3px solid #28a745;
    font-size: 12px;
}

.selected-file.show {
    display: block;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.sales-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #68747b;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.sales-checkbox input {
    width: 17px;
    height: 17px;
    min-width: 17px;
    margin-top: 1px;
    accent-color: var(--primary);
}


/* =========================================================
   BUTTON
   ========================================================= */

.sales-submit {
    border: 0;
    position: relative;
    min-width: 220px;
}

.button-loading {
    display: none;
}

.sales-submit.loading .button-text {
    display: none;
}

.sales-submit.loading .button-loading {
    display: inline;
}

.sales-submit.loading {
    opacity: .7;
    pointer-events: none;
}


/* =========================================================
   ALERT
   ========================================================= */

.sales-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 18px;
    margin-bottom: 25px;
    font-size: 13px;
    line-height: 1.6;
}

.sales-alert.success {
    background: #edf8f0;
    color: #276b38;
    border-left: 4px solid #28a745;
}

.sales-alert.error {
    background: #fff0f0;
    color: #9e2525;
    border-left: 4px solid #dc3545;
}

.sales-alert i {
    font-size: 20px;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.sales-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .sales-main-title {
        font-size: 54px;
    }

    .sales-form-sidebar {
        padding: 45px 35px;
    }

    .sales-form-wrapper {
        padding: 40px 35px;
    }

}


@media (max-width: 767px) {

    .sales-intro-section {
        padding: 65px 0 45px;
    }

    .sales-main-title {
        font-size: 42px;
    }

    .sales-info-row {
        margin-top: 40px;
    }

    .sales-form-section {
        padding: 20px 0 65px;
    }

    .sales-form-sidebar {
        padding: 40px 25px;
    }

    .sales-form-sidebar h2 {
        font-size: 40px;
    }

    .sales-form-wrapper {
        padding: 30px 20px;
    }

    .form-heading h2 {
        font-size: 38px;
    }

    .upload-content {
        align-items: flex-start;
    }

    .upload-content span {
        display: block;
        margin: 4px 0 0;
    }

}