/* Dutech Systems - Modern Contact Us */
/* Shared styling for US, India and Australia. */

.contactus-wrap {
    background: #fff;
}

/* Hero */
.contactus-wrap .contact-modern-hero {
    position: relative;
    overflow: hidden;
    background-color: #062b57;
    background-image: url("../img/contactus/dutech-contact-usa-boston.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.contactus-wrap .contact-modern-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
    padding-top: 55px;
    padding-bottom: 55px;
}

.contactus-wrap .contact-modern-eyebrow {
    margin-bottom: 16px;
    color: #27aae2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.contactus-wrap .contact-modern-hero h1 {
    max-width: 750px;
    margin: 0 0 22px;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
}

.contactus-wrap .contact-modern-hero p {
    max-width: 650px;
    margin: 0;
    color: #e0ecf8;
    font-size: 18px;
    line-height: 1.75;
}

/* Layout */
.contactus-wrap .contact-modern-main {
    padding: 80px 0;
    background: #fff;
}

.contactus-wrap .contact-modern-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e1e9f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(10,45,78,.055);
}

.contactus-wrap .contact-modern-card .card-body {
    padding: 36px;
}

/* Office information */
.contactus-wrap .cu-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contactus-wrap .cu-brand .cu-ico {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 50px;
    height: 50px;
    border-radius: 12px;
    background: #e8f6fd;
    color: #27aae2;
    font-size: 23px;
}

.contactus-wrap .cu-title {
    color: #18385d;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.contactus-wrap .cu-subtitle {
    margin-top: 4px;
    color: #708198;
    font-size: 13px;
}

.contactus-wrap .contact-kv {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.contactus-wrap .kv-ico {
    flex: 0 0 24px;
    color: #27aae2;
    font-size: 17px;
    line-height: 1.5;
}

.contactus-wrap .kv-label {
    margin-bottom: 5px;
    color: #708198;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contactus-wrap .kv-val {
    color: #34475f;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.contactus-wrap .contact-kv a {
    color: #236f9d;
    text-decoration: none;
}

.contactus-wrap .contact-kv a:hover {
    color: #0F7BAA;
    text-decoration: underline;
}

/* Social links */
.contactus-wrap .social-icon-two {
    display: flex;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.contactus-wrap .social-icon-two li {
    margin: 0;
}

/* Icon look comes from the shared social style in dutech-global.css.
   This only clears the theme's own box and red hover on the icon. */
.contactus-wrap .social-icon-two li a .fab,
.contactus-wrap .social-icon-two li a:hover .fab {
    font-size: inherit;
    width: auto;
    height: auto;
    line-height: 1;
    border: 0;
    background: transparent;
    color: inherit;
}

/* Form */
.contactus-wrap .cu-hdr {
    margin-bottom: 28px;
}

.contactus-wrap .cu-hdr h4 {
    margin: 0 0 10px;
    color: #18385d;
    font-size: 28px;
    font-weight: 700;
}

.contactus-wrap .cu-hdr-sub {
    color: #657388;
}

.contactus-wrap .cu-underline {
    width: 72px;
    height: 3px;
    margin-top: 12px;
    border-radius: 3px;
    background: #27aae2;
}

.contactus-wrap .form-group {
    margin-bottom: 20px;
}

.contactus-wrap .form-control {
    width: 100%;
    height: 52px;
    padding: 12px 16px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #fff;
    color: #263d55;
    font-size: 15px;
}

.contactus-wrap textarea.form-control {
    height: auto;
    min-height: 155px;
    resize: vertical;
}

.contactus-wrap .form-control:focus {
    outline: 0;
    border-color: #27aae2;
    box-shadow: 0 0 0 3px rgba(39,170,226,.12);
}

.contactus-wrap .form-control::placeholder {
    color: #8796a8;
}

.contactus-wrap button[type="submit"] {
    min-height: 50px;
    border-radius: 8px;
}

.contactus-wrap label.error {
    display: block;
    margin-top: 6px;
    color: #d63838;
    font-size: 12px;
}

.contactus-wrap .is-invalid {
    border-color: #d63838 !important;
}

.contactus-wrap #contactMsg {
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 991px) {
    .contactus-wrap .contact-modern-hero-inner {
        min-height: 450px;
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .contactus-wrap .contact-modern-hero h1 {
        font-size: 40px;
    }

    .contactus-wrap .contact-modern-main {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .contactus-wrap .contact-modern-hero-inner {
        min-height: 380px;
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .contactus-wrap .contact-modern-hero h1 {
        font-size: 34px;
    }

    .contactus-wrap .contact-modern-hero p {
        font-size: 16px;
    }

    .contactus-wrap .contact-modern-main {
        padding: 44px 0;
    }

    .contactus-wrap .contact-modern-card .card-body {
        padding: 24px;
    }

    .contactus-wrap .cu-hdr h4 {
        font-size: 25px;
    }
}

/* Country-specific hero images */
.contactus-wrap.contact-us-in .contact-modern-hero {
    background-image: url("../img/contactus/dutech-contact-india-hyderabad.webp");
}

.contactus-wrap.contact-us-au .contact-modern-hero {
    background-image: url("../img/contactus/dutech-contact-australia-melbourne.webp");
}