
/* ==========================================
   MAYTECH CONTACT PAGE
   Navy Blue - Responsive
========================================== */

.mt-contact-page {
    --mt-navy: #102B50;
    --mt-navy-light: #173D68;
    --mt-blue: #1673C9;
    --mt-text: #26374A;
    --mt-muted: #6B7B8E;
    --mt-border: #E4EAF0;
    --mt-bg: #F5F8FC;

    color: var(--mt-text);
    font-family: inherit;
}

.mt-contact-page *,
.mt-contact-page *::before,
.mt-contact-page *::after {
    box-sizing: border-box;
}

.mt-contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* ==========================================
   HERO
========================================== */

.mt-contact-hero {
    background: linear-gradient(
        120deg,
        #102B50 0%,
        #173D68 65%,
        #20558A 100%
    );

    padding: 35px 0 65px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.mt-contact-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    right: -100px;
    top: -230px;
    pointer-events: none;
}

.mt-contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.65);
    margin-bottom: 35px;
}

.mt-contact-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.mt-contact-breadcrumb a:hover {
    color: #7CC5FF;
}

.mt-contact-hero-content {
    max-width: 650px;
}

.mt-contact-subtitle,
.mt-contact-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #79BFFF;
    margin-bottom: 12px;
}

.mt-contact-hero h1 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
}

.mt-contact-hero p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
    margin: 0;
    max-width: 580px;
}


/* ==========================================
   MAIN CONTENT
========================================== */

.mt-contact-main {
    background: var(--mt-bg);
    padding: 65px 0 75px;
}

.mt-contact-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 28px;
    align-items: stretch;
}


/* ==========================================
   LEFT - CONTACT INFORMATION
========================================== */

.mt-contact-info {
    background: var(--mt-primary-dark);

    color: #fff;
    border-radius: 14px;
    padding: 38px 35px;
    position: relative;
    overflow: hidden;
}

.mt-contact-info::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;
    right: -140px;
    bottom: -130px;
    pointer-events: none;
}

.mt-contact-info-header {
    margin-bottom: 32px;
}

.mt-contact-info .mt-contact-label {
    color: #81BFFF;
}

.mt-contact-info h2 {
    font-size: 26px;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 12px;
    font-weight: 700;
}

.mt-contact-info-header p {
    color: #C3D2E2;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.mt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.mt-contact-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8EC8FF;
    transition: .3s ease;
}

.mt-contact-icon svg {
    width: 21px;
    height: 21px;
}

.mt-contact-item:hover .mt-contact-icon {
    background: var(--mt-blue);
    color: #fff;
    transform: translateY(-3px);
}

.mt-contact-item-content {
    padding-top: 2px;
    min-width: 0;
}

.mt-contact-item-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px;
}

.mt-contact-item-content p,
.mt-contact-item-content a {
    color: #C3D2E2;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.mt-contact-item-content a:hover {
    color: #8EC8FF;
}


/* ==========================================
   SOCIAL
========================================== */

.mt-contact-social {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 25px;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

.mt-contact-social h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px;
}

.mt-contact-social-list {
    display: flex;
    gap: 10px;
}

.mt-contact-social-list a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: rgba(255,255,255,.10);
    transition: .3s ease;
}

.mt-contact-social-list a svg {
    width: 17px;
    height: 17px;
}

.mt-contact-social-list a:hover {
    background: var(--mt-blue);
    transform: translateY(-3px);
}


/* ==========================================
   RIGHT - FORM PANEL
========================================== */

.mt-contact-form-panel {
    background: #fff;
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    padding: 38px 40px;
    box-shadow: 0 8px 30px rgba(16,43,80,.04);
}

.mt-contact-form-header {
    margin-bottom: 28px;
}

.mt-contact-form-header h2 {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--mt-navy);
    margin: 0 0 10px;
}

.mt-contact-form-header p {
    color: var(--mt-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.mt-contact-form-content {
    width: 100%;
}

.mt-contact-form-content .wpcf7 {
    width: 100%;
}

.mt-contact-form-content .wpcf7 form {
    margin: 0;
}

.mt-contact-form-content .wpcf7 p {
    margin: 0;
    padding: 0;
}

.mt-contact-form-content .wpcf7 form br {
    display: none;
}


/* ==========================================
   CONTACT FORM 7 FIELDS
========================================== */

.mt-cf7-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}

.mt-cf7-field {
    min-width: 0;
}

.mt-cf7-full {
    grid-column: 1 / -1;
}

.mt-cf7-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #26374A;
    margin-bottom: 8px;
}

.mt-cf7-field label span {
    color: #E24B4B;
}

.mt-cf7-field .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.mt-cf7-field input:not([type="checkbox"]),
.mt-cf7-field select,
.mt-cf7-field textarea {
    width: 100%;
    max-width: 100%;
    min-height: 47px;
    padding: 12px 14px;
    border: 1px solid #DCE4ED;
    border-radius: 7px;
    background: #fff;
    color: #26374A;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: none;
    outline: none;
    transition: .25s ease;
    margin: 0;
}

.mt-cf7-field textarea {
    min-height: 125px;
    resize: vertical;
}

.mt-cf7-field input::placeholder,
.mt-cf7-field textarea::placeholder {
    color: #A4AFBC;
}

.mt-cf7-field input:focus,
.mt-cf7-field select:focus,
.mt-cf7-field textarea:focus {
    border-color: var(--mt-blue);
    box-shadow: 0 0 0 3px rgba(22,115,201,.09);
}

.mt-cf7-field select {
    cursor: pointer;
}


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

.mt-cf7-submit {
    margin-top: 5px;
}

.mt-cf7-button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 7px;
    background: var(--mt-blue);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    padding: 14px 20px;
    transition: .3s ease;
}

.mt-cf7-button:hover {
    background: var(--mt-navy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16,43,80,.15);
}

.mt-cf7-button:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}


/* ==========================================
   CF7 VALIDATION
========================================== */

.mt-contact-form-content .wpcf7-not-valid-tip {
    color: #D83C3C;
    font-size: 12px;
    margin-top: 5px;
}

.mt-contact-form-content .wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.6;
}

.mt-contact-form-content .wpcf7 form.invalid .wpcf7-response-output,
.mt-contact-form-content .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #E3A23B;
    background: #FFF9ED;
    color: #8B5B12;
}

.mt-contact-form-content .wpcf7 form.sent .wpcf7-response-output {
    border-color: #28A56A;
    background: #EDFAF3;
    color: #176B42;
}

.mt-contact-form-content .wpcf7 form.failed .wpcf7-response-output,
.mt-contact-form-content .wpcf7 form.aborted .wpcf7-response-output {
    border-color: #D83C3C;
    background: #FFF2F2;
    color: #B52D2D;
}

.mt-contact-form-content .wpcf7-spinner {
    display: block;
    margin: 10px auto 0;
}


/* ==========================================
   PRIVACY NOTE
========================================== */

.mt-contact-form-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border-top: 1px solid var(--mt-border);
    margin-top: 25px;
    padding-top: 20px;
    color: var(--mt-muted);
    font-size: 12px;
    line-height: 1.6;
}

.mt-contact-form-note svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #278B62;
}


/* ==========================================
   GOOGLE MAP
========================================== */

.mt-contact-map-section {
    margin-top: 65px;
}

.mt-contact-map-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.mt-contact-map-header h2 {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--mt-navy);
    margin: 0;
}

.mt-contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--mt-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.mt-contact-map-link:hover {
    color: var(--mt-navy);
}

.mt-contact-map-link span {
    font-size: 20px;
    transition: .2s ease;
}

.mt-contact-map-link:hover span {
    transform: translateX(4px);
}

.mt-contact-map {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--mt-border);
    box-shadow: 0 8px 25px rgba(16,43,80,.05);
}

.mt-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}


/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 991px) {

    .mt-contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .mt-contact-info {
        padding: 30px 24px;
    }

    .mt-contact-form-panel {
        padding: 30px 24px;
    }

    .mt-contact-info h2,
    .mt-contact-form-header h2 {
        font-size: 23px;
    }

}


/* ==========================================
   RESPONSIVE - MOBILE
========================================== */

@media (max-width: 767px) {

    .mt-contact-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mt-contact-hero {
        padding: 25px 0 40px;
    }

    .mt-contact-breadcrumb {
        margin-bottom: 25px;
        font-size: 12px;
    }

    .mt-contact-hero h1 {
        font-size: 30px;
    }

    .mt-contact-hero p {
        font-size: 14px;
    }

    .mt-contact-main {
        padding: 35px 0 45px;
    }

    .mt-contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mt-contact-info {
        padding: 28px 24px;
        border-radius: 10px;
    }

    .mt-contact-info-header {
        margin-bottom: 25px;
    }

    .mt-contact-form-panel {
        padding: 28px 22px;
        border-radius: 10px;
    }

    .mt-contact-form-header {
        margin-bottom: 23px;
    }

    .mt-cf7-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .mt-cf7-full {
        grid-column: auto;
    }

    .mt-contact-map-section {
        margin-top: 42px;
    }

    .mt-contact-map-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .mt-contact-map-header h2 {
        font-size: 23px;
    }

    .mt-contact-map {
        height: 300px;
        border-radius: 9px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 380px) {

    .mt-contact-info,
    .mt-contact-form-panel {
        padding: 24px 18px;
    }

    .mt-contact-hero h1 {
        font-size: 26px;
    }

    .mt-contact-info h2,
    .mt-contact-form-header h2 {
        font-size: 21px;
    }

}
