:root {
  --primary: #1C068C;
  --accent: #D18219;
  --white: #fff;
  --bg: #f4f7fa;
  --shadow: rgba(0, 0, 0, 0.1);
  --error: #ce0606;
  --success: #37a000;
  --text-dark: #222;
  --text-light: #333;
  --border-radius: 10px;
}

.intro-text {
    font-size: 18px;
    font-weight: bold;
    margin: 0 20% 30px;
    padding: 30px;
}

/*
|----------------------------------------------------------------------------
| TITLE
|----------------------------------------------------------------------------
*/
.contact-form-title-wrap {
    overflow: hidden;
    margin: 0 0 30px;
    text-align: center;
}
.title-text {
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
}
.title-text > span {
    padding: 0 8px;
}
.title-text strong {
    font-weight: bold;
}
/*-- Title bottom line --*/
.contact-form-title-wrap .title-line {
    clear: both;
    position: relative;
    line-height: 0;
}
.contact-form-title-wrap .title-line .long-line {
    background-color: var(--accent);
    border-radius: var(--border-radius);
    display: inline-block;
    height: 3px;
    position: relative;
    width: 90px;
}
.contact-form-title-wrap .title-line .short-line {
    background-color: var(--accent);
    border-radius: var(--border-radius);
    display: inline-block;
    height: 3px;
    margin-right: 5px;
    position: relative;
    width: 20px;
}

/*title-box*/
.title-box::before {
    background-color: var(--accent);
    bottom: 0;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    margin: 0 0 -1px;
    position: absolute;
    width: 40px;
}
.title-box {
    border-bottom: 1px solid #b5b5b5;
    margin: 0 0 30px;
    position: relative;
}
.title-box > h3 {
    margin: 0;
    text-transform: uppercase;
}

/*
|----------------------------------------------------------------------------
| CONTACT FORM STYLE
|----------------------------------------------------------------------------
*/
.mgssmartform-section {
    padding: 60px 0 50px;
}
.mgssmartform-section.bg-image {
    background-attachment: fixed;
    background-color: var(--white);
    background-image: url("../images/bg-3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.mgssmartform-section.bg-image::before {
    background-color: var(--white);
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.8;
    position: absolute;
    top: 0;
    width: 100%;
}
.mgssmartform-section .container {
    position: relative;
}
.mgssmartform-section #map {
    border: 1px solid var(--accent);
    border-radius: 4px;
    height: 374px;
    margin: 0 0 30px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.mgssmartform-section .map-marker h3 {
    margin: 0 0 10px;
}
.mgssmartform-section .map-marker > p {
    margin: 0;
}

.imageBox img {
    margin: 0 0 30px;
    max-width: 100%;
}

/*CONTACT INFO*/
.contactInfo-wrap {
    margin: 0 auto 30px;
}
.contactInfo-wrap .contact-item {
    border: 1px solid var(--accent);
    border-radius: var(--border-radius);
    box-shadow: 0 0 5px 1px rgba(219, 138, 6, 0.5);
    display: table;
    height: 160px;
    margin: 0 auto 30px;
    max-width: 400px;
    overflow-wrap: break-word;
    text-align: center;
    width: 100%;
}
.contactInfo-wrap .contact-item img {
    max-width: 100%;
}
.contactInfo-wrap .contact-item:hover {
    box-shadow: 0 0 10px 1px rgba(219, 138, 6, 0.5);
}
.contactInfo-wrap .contact-item-inner {
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
}
.contactInfo-wrap .contact-icon {
    overflow: hidden;
    margin: 0 0 15px;
}
.contactInfo-wrap .contact-desc a {
    color: var(--text-dark);
    text-decoration: none;
}
.contactInfo-wrap .contact-desc h4 {
    margin: 15px 0 0;
    font-size: 18px;
    font-weight: bold;
}
.contactInfo-wrap .contact-icon i {
    background-color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--white);
    font-size: 32px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    transition: all 0.8s ease 0s;
    width: 64px;
}
.contactInfo-wrap .contact-item:hover i {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}
.contact-info .list-unstyled > li {
    padding-bottom: 10px;
}
.contact-info .list-unstyled > li a {
    color: var(--text-light);
    text-decoration: none;
}
.contact-info .list-unstyled > li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 18px;
}

/*****CONTACT FORM*****/
.display-none {
    display:none;
}
.mgssmartform {
    padding-bottom: 5px;
    position: relative;
}

.mgssmartform #msgSubmit {
    margin: 0 0 30px;
}
.mgssmartform .form-group {
    position: relative;
    margin: 0 0 30px;
}
.mgssmartform .form-group.file-group {
    display: table;
}
.mgssmartform .form-group.file-group .input-group-btn ~ .form-control {
    border-radius: 0 4px 4px 0;
    cursor: not-allowed;
    padding-left: 10px;
}
.mgssmartform .input-group-icon {
    position: absolute;
    top: 0;
}
.mgssmartform .form-group .input-group-icon {
    background-color: var(--accent);
    border: none;
    border-radius: 4px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    color: var(--white);
    display: table-cell;
    font-size: 14px;
    height: 100%;
    padding: 8px 7px;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
    width: 40px;
}
.mgssmartform .form-control:focus + .input-group-icon{
    background-color: var(--accent);
}
.mgssmartform .form-control {
    background-color: transparent;
    border: 1px solid var(--accent);
    padding-left: 50px;
}
.mgssmartform .form-control:focus {
    box-shadow: 0 1px 1px rgba(219, 138, 6, 0.075) inset, 0 0 8px rgba(219, 138, 6, 0.6);
}
.mgssmartform .btn.dropdown-toggle.btn-default {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    color: #555;
    padding: 6px 0;
    text-shadow: none;
}
.mgssmartform span.sub-text {
    bottom: 90px;
    color: var(--error);
    font-size: 14px;
    position: absolute;
    right: 0;
}
.mgssmartform .has-error .form-control {
    border-color: var(--error);
}
.mgssmartform .has-error .input-group-icon {
    background-color: var(--error);
    color: var(--white);
}
.mgssmartform .has-error .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 1px 1px 0 rgba(219, 138, 6, 0.075) inset, 0 0 6px 0 var(--accent);
}
.mgssmartform .has-error .form-control:focus + .input-group-icon {
    background-color: var(--accent);
    color: var(--white);
}

.mgssmartform .input-group-btn > .btn {
    background-color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px 0 0 4px;
    color: var(--white);
    padding: 4.5px 14px;
    height: 34px;
}
.mgssmartform .input-group-btn > .btn > input[type="file"] {
    display: none;
}

/*upload file b4 fix*/
.form-group.file-group .input-group-btn ~ .form-control {
    width: calc(100% - 90px);
    margin-left: -5px;
    border-left: none;
    display: inline;
}
.form-group.file-group .input-group-btn > .btn {
    width: 90px;
    margin-top: -5px;
    height: 38px;
}

.mgssmartform .help-block {
    color: var(--error);
    margin: 0;
    padding-left: 35px;
    position: absolute;
    top: -23px;
}
.mgssmartform .help-block ul.list-unstyled li::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
    position: relative;
    padding-right: 5px;
    top: 0;
    left: 0;
}
.mgssmartform .help-block ul li {
    font-size: 13px;
    background-color: var(--error);
    color: rgba(255, 255, 255, 0.99);
    padding: 0 5px;
    border-radius: 2px;
    top: -2px;
    position: relative;
    margin-left: 5px;
    max-height: 20px;
}
.mgssmartform .help-block ul li::after {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    right: 50%;
    top: 18px;
    border: 5px solid transparent;
    border-top: 5px solid var(--error);
}
#msgContactSubmit.h3 {
    margin: 0 0 30px;
}
.mgssmartform .text-success, #msgContactSubmit .text-success, .text-success {
    color: var(--success);
}
.mgssmartform .text-danger, .text-danger {
    color: var(--error);
}
.mgssmartform .btn.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: auto;
}
.mgssmartform .form-group .checkbox {
    margin: 0;
}
.mgssmartform input[type="checkbox"] {
    margin-top: 5px;
}

/*select box*/
.mgssmartform select {
    background-color: var(--white);
    display: inline-block;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
        linear-gradient(135deg, var(--accent) 50%, transparent 50%),
        radial-gradient(transparent 66%, transparent 66%);
    background-position: calc(100% - 18px) calc(1em + 2px),
        calc(100% - 13px) calc(1em + 2px),
        calc(100% - .5em) .5em;
    background-size: 5px 6px, 6px 5px, 1.5em 1.5em;
    background-repeat: no-repeat;
}
.mgssmartform select:focus {
    background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
        linear-gradient(135deg, var(--accent) 50%, transparent 50%),
        radial-gradient(transparent 66%, transparent 66%);
}
.mgssmartform select::-ms-expand {
    display: none;
}

/***************** Mgsstyle Radio Button *****************/
ul.radio-inline.mgsradio-circle-buttons, ul.mgsstyle-checkbox.mgscheckbox-style {
    margin-bottom: 0;
}
.radio-inline.mgsradio-circle-buttons li {
    height: 30px;
}

.radio-inline.mgsradio-circle-buttons {
    padding-left: 0;
}
.radio-inline.mgsradio-circle-buttons, .radio-inline.mgsradio-circle-buttons li {
    display: inline-block;
}
.mgsradio-circle-buttons label {
    display: block;
    position: relative;
    padding: 0 30px;
    height: 28px;
    z-index: 9;
    cursor: pointer;
}
.mgsradio-circle-buttons input[type="radio"]:checked ~ .check {
    border: 11px solid var(--accent);
    width: 0;
    height: 0;
}
.mgsradio-circle-buttons input[type="radio"] {
    position: absolute;
    visibility: hidden;
}
.mgsradio-circle-buttons .check {
    display: block;
    position: relative;
    border: 1px solid #a0a0a0;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    top: -25px;
    z-index: 5;
}

/***************** Mgsstyle Checkbox *****************/
.mgsstyle-checkbox.mgscheckbox-style li {
    display: inline-block;
    width: auto;
    margin: 0 3% 0 0;
}
.mgsstyle-checkbox.mgscheckbox-style li:last-child {
    margin: 0;
}
.mgsstyle-checkbox.mgscheckbox-style input[type="checkbox"] {
    opacity: 0;
    margin-left: -12px;
}
.mgsstyle-checkbox.mgscheckbox-style label  {
    position: relative;
    padding: 5px 30px;
    cursor: pointer;
}
.mgsstyle-checkbox.mgscheckbox-style label:before {
    border: 1px solid #a0a0a0;
    border-radius: 3px;
    content: "";
    left: 0;
    position: absolute;
    top: 6px;
    width: 20px;
    height: 20px;
}
.mgsstyle-checkbox.mgscheckbox-style :checked + label:before {
    border: 12px solid var(--accent);
    border-radius: 3px;
    content: "";
    left: 0;
    position: absolute;
    top: 5px;
    width: auto;
    height: auto;
}

/*
|----------------------------------------------------------------------------
    TAG INPUT
|----------------------------------------------------------------------------
*/
.mgssmartform .bootstrap-tagsinput {
    background-color: transparent;
    border: 1px solid var(--accent);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    padding: 6px 12px 6px 50px;
    width: 100%;
}
.mgssmartform .bootstrap-tagsinput .tag {
    font-size: 14px;
    margin: 0 2px 2px 0;
    color: var(--white);
}
.mgssmartform .bootstrap-tagsinput .label-info {
    background-color: #5bc0de;
}
.mgssmartform .bootstrap-tagsinput .label {
    display: inline-block;
    padding: .2em .6em .3em;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

/*Success/error icon*/
.mgssmartform .has-feedback.has-error.has-danger::before {
    color: var(--error);
    font-family: "Font Awesome 6 Free";
    font-size: 24px;
    font-weight: bold;
    content: "\f057";
    position: absolute;
    left: -18px;
    top: -20px;
}
.mgssmartform .has-feedback.has-success::before {
    color: var(--success);
    font-family: "Font Awesome 6 Free";
    font-size: 24px;
    font-weight: bold;
    content: "\f058";
    position: absolute;
    left: -18px;
    top: -20px;
}


/*
|----------------------------------------------------------------------------
| Math Captcha
|----------------------------------------------------------------------------
*/
#humanCheckCaptchaBox, #humanCheckCaptchaInput, #firstDigit, #secondDigit,  #mathfirstnum, #mathsecondnum {
    display: inline;
}
#humanCheckCaptchaInput.form-control {
    height: 30px;
    margin-left: 10px;
    padding: 4px;
    text-align: center;
    width: 45px;
}
#firstDigit #mathfirstnum, #secondDigit #mathsecondnum {
    border: none;
    box-shadow: none;
    width: 30px;
    height: 30px;
    padding: 0;
    pointer-events: none;
    text-align: center;
}

/*
|----------------------------------------------------------------------------
| Button
|----------------------------------------------------------------------------
*/
#submitButtonHolder .btn {
    font-size: 16px;
    overflow: hidden;
    padding: 6px 20px;
    text-transform: uppercase;
    transition: all 0.5s ease 0s;
    width: 150px;
    position: relative;
}
#submitButtonHolder .btn-custom {
    background-color: var(--accent);
    color: var(--white);
    -webkit-box-shadow: 0 0 1px transparent;
    box-shadow: 0 0 1px transparent;
    display: inline-block;
    -moz-transform: perspective(1px) translateZ(0px);
    -webkit-transform: perspective(1px) translateZ(0px);
    -o-transform: perspective(1px) translateZ(0px);
    transform: perspective(1px) translateZ(0px);
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: color, background-color;
    -o-transition-property: color, background-color;
    transition-property: color, background-color;
}
#submitButtonHolder .btn-custom:hover {
    background-color: var(--white);
    border-color: var(--accent);
    color: var(--text-dark);
}
#submitButtonHolder .btn-custom:focus, #submitButtonHolder .btn-custom:active {
    outline: none;
    border-color: var(--accent);
}

/* SweetAlert Buttons */
.sweet-alert button {
    background-color: var(--accent);
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: var(--white);
    font-size: 14px;
    padding: 10px 20px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
.sweet-alert button:hover {
    background-color: var(--text-dark);
}
.sweet-alert .sa-icon.sa-error {
    border-color: var(--error);
}
.sweet-alert .sa-icon.sa-error .sa-line {
    background-color: var(--error);
}

/* Responsive */
@media (max-width: 768px) {
    .contactInfo-wrap .contact-item {
        max-width: 100%;
    }
    .intro-text {
        margin: 0 10% 30px;
        padding: 20px;
        font-size: 16px;
    }
}
