﻿/* =========================================================
   AVIONTEQ CONTACT US
========================================================= */

:root {
    --av-blue: #11168c;
    --av-dark-blue: #071d32;
    --av-bright-blue: #1647e8;
    --av-red: #e52b2f;
    --av-text: #242424;
    --av-muted: #6b7280;
    --av-border: #d8dbe5;
    --av-light: #f7f8fc;
}

.contact-main-section *,
.global-presence-section *,
.international-offices-section *,
.contact-cta-section *,
.contact-hero * {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient( 90deg, rgba(3, 25, 45, .98) 0%, rgba(3, 25, 45, .90) 42%, rgba(3, 25, 45, .25) 100% ), url('../images/contact/contact-hero.svg');
    background-size: cover;
    background-position: center;
}

.contact-hero-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.contact-breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}

    .contact-breadcrumb a {
        color: #fff;
        text-decoration: none;
    }

.contact-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
}

.contact-hero > .container p,
.contact-hero-content > p {
    font-size: 17px;
    line-height: 1.7;
}


/* TRUST ITEMS */

.contact-trust-row {
    display: flex;
    align-items: center;
    gap: 45px;
    margin-top: 45px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
}

.trust-icon {
    font-size: 34px;
}

.trust-years {
    background: #ffd43b;
    color: #111;
    padding: 8px 6px;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 800;
}

.trust-number {
    font-size: 31px;
    font-weight: 800;
}


/* =========================================================
   MAIN CONTACT
========================================================= */

.contact-main-section {
    padding: 40px 0 25px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(290px, .9fr);
    gap: 22px;
}

.contact-panel {
    border: 1px solid var(--av-border);
    border-radius: 18px;
    background: #fff;
}

.headquarters-panel {
    padding: 28px;
}

    .headquarters-panel h2,
    .message-panel h2 {
        color: var(--av-blue);
        font-weight: 700;
        margin: 0 0 22px;
    }

    .headquarters-panel h2 {
        font-size: 26px;
    }

        .headquarters-panel h2 span {
            color: var(--av-red);
        }


/* HEADQUARTERS */

.headquarters-grid {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 25px;
}

.avionteq-wordmark {
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 20px;
}

    .avionteq-wordmark span {
        color: var(--av-blue);
    }

    .avionteq-wordmark strong {
        color: var(--av-red);
    }

.hq-address {
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .contact-details li {
        display: grid;
        grid-template-columns: 30px 75px 1fr;
        align-items: center;
        margin-bottom: 13px;
        font-size: 13px;
    }

.contact-detail-icon {
    width: 26px;
    height: 26px;
    background: var(--av-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details a {
    color: var(--av-bright-blue);
    font-weight: 600;
}

.business-hours {
    margin-top: 28px;
    font-size: 13px;
}

    .business-hours p {
        line-height: 1.7;
        margin-top: 7px;
    }

.headquarters-map {
    overflow: hidden;
    border-radius: 12px;
}

    .headquarters-map iframe {
        display: block;
        min-height: 300px;
    }


/* HQ BOTTOM */

.hq-bottom-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
    font-size: 13px;
}

    .hq-bottom-info p {
        margin: 5px 0;
    }

    .hq-bottom-info a {
        color: var(--av-bright-blue);
        font-weight: 600;
    }


/* =========================================================
   MESSAGE FORM
========================================================= */

.message-panel {
    padding: 28px 22px;
}

    .message-panel h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 8px;
    }

        .message-panel h2 i {
            color: var(--av-red);
        }

.message-intro {
    text-align: center;
    font-size: 13px;
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 10px;
}

.contact-input {
    display: block;
    width: 100%;
    height: 39px;
    padding: 8px 12px;
    border: 1px solid #dfe1e7;
    border-radius: 7px;
    background: #fff;
    color: #333;
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .contact-input:focus {
        border-color: var(--av-blue);
        box-shadow: 0 0 0 3px rgba(17, 22, 140, .08);
    }

.contact-textarea {
    height: 120px;
    resize: vertical;
}

.send-message-btn {
    border: 0;
    border-radius: 5px;
    background: var(--av-blue);
    color: #fff;
    padding: 9px 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s ease;
}

    .send-message-btn:hover {
        background: #080d69;
    }

.privacy-message {
    margin-top: 12px;
    color: #4b5563;
    font-size: 10px;
}

    .privacy-message i {
        color: var(--av-blue);
    }


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading h2 {
    margin: 0;
    color: var(--av-blue);
    font-size: 31px;
    font-weight: 700;
}

.section-heading p {
    margin: 3px 0 0;
    font-size: 14px;
}


/* =========================================================
   INTERACTIVE WORLD MAP
========================================================= */

.global-presence-section {
    padding: 20px 0 40px;
}
/*
.world-map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1150px;
    margin: 25px auto 0;
    overflow: hidden;
}
*/

.world-map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1150px;
    margin: 25px auto 0;
    /* IMPORTANT */
    overflow: visible;
}
.world-map-image {
    display: block;
    width: 100%;
    height: auto;
    opacity: .9;
}


/* MARKERS */

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 5;
}

.marker-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    font-size: 23px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .20);
    transition: transform .2s ease, box-shadow .2s ease;
}

.marker-dot {
    width: 7px;
    height: 7px;
    margin-top: 3px;
    background: var(--av-bright-blue);
    border-radius: 50%;
}

.marker-label {
    margin-top: 2px;
    color: #0c3164;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.map-marker:hover .marker-flag,
.map-marker.active .marker-flag {
    transform: scale(1.18);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .28);
}

.map-marker.active .marker-dot {
    width: 11px;
    height: 11px;
    background: var(--av-red);
}


/*
    Marker coordinates are percentages.
    Adjust these slightly depending on your world-map.svg.
*/

.usa-marker {
    left: 12%;
    top: 46%;
}

.canada-marker {
    left: 19%;
    top: 27%;
}

.brazil-marker {
    left: 30%;
    top: 72%;
}

.uk-marker {
    left: 42%;
    top: 29%;
}

.france-marker {
    left: 47%;
    top: 37%;
}

.germany-marker {
    left: 51%;
    top: 34%;
}

.india-marker {
    left: 64%;
    top: 48%;
}

.china-marker {
    left: 76%;
    top: 43%;
}

.hongkong-marker {
    left: 80%;
    top: 51%;
}

.singapore-marker {
    left: 78%;
    top: 61%;
}

.philippines-marker {
    left: 84%;
    top: 55%;
}

.japan-marker {
    left: 88%;
    top: 42%;
}

.australia-marker {
    left: 87%;
    top: 74%;
}


/* =========================================================
   MAP POPUP
========================================================= */
/* =========================================================
   MAP OFFICE POPUP
========================================================= */

.map-office-popup {
    position: absolute;
    z-index: 9999;
    width: 310px;
    max-width: calc(100% - 20px);
    padding: 20px;
    background: #ffffff;
    border: 1px solid #11168c;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    color: #222;
    /* Hidden initially */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(5px);
}

    .map-office-popup.visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }


/* COUNTRY HEADER */

.popup-country {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 25px;
    margin-bottom: 12px;
    color: #11168c;
    font-size: 18px;
    font-weight: 700;
}

#popupFlag {
    font-size: 28px;
}


/* ADDRESS */

#popupAddress {
    display: block;
    margin: 10px 0 15px;
    color: #333 !important;
    font-size: 13px;
    line-height: 1.6;
    white-space: normal;
}


/* PHONE + EMAIL */

.popup-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
}

    .popup-contact a {
        display: block;
        color: #1647e8 !important;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
    }

        .popup-contact a:hover {
            text-decoration: underline;
        }


/* CLOSE */

.popup-close {
    position: absolute;
    right: 8px;
    top: 5px;
    border: none;
    background: none;
    color: #777;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}


/* VIEW OFFICE */

.view-office-btn {
    display: inline-block;
    margin-top: 5px;
    padding: 8px 14px;
    border: 0;
    border-radius: 5px;
    background: #11168c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

    .view-office-btn:hover {
        background: #080d69;
    }

/* =========================================================
   OFFICE CARDS
========================================================= */

.international-offices-section {
    padding: 15px 0 45px;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 28px;
}

.office-card {
    min-height: 225px;
    padding: 20px;
    border: 2px solid var(--av-blue);
    border-radius: 14px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

    .office-card h3 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 22px;
        color: var(--av-blue);
        font-size: 16px;
        font-weight: 800;
    }

        .office-card h3 span {
            font-size: 29px;
        }

    .office-card p {
        display: grid;
        grid-template-columns: 23px auto auto;
        gap: 4px;
        margin: 13px 0;
        font-size: 11px;
        line-height: 1.45;
    }

        .office-card p > i {
            color: var(--av-blue);
            font-size: 15px;
        }

    .office-card a {
        color: var(--av-bright-blue);
        font-weight: 600;
    }

    .office-card.highlight {
        transform: translateY(-6px);
        background: #f7f8ff;
        box-shadow: 0 10px 28px rgba(17, 22, 140, .18);
    }


/* =========================================================
   CTA
========================================================= */

.contact-cta-section {
    padding: 10px 0 45px;
}

.contact-cta {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    background: var(--av-blue);
    color: #fff;
    border-radius: 10px;
    padding: 28px 38px;
}

    .contact-cta h3 {
        margin: 0 0 5px;
        color: #fff;
        font-size: 20px;
    }

    .contact-cta p {
        margin: 0 0 12px;
        font-size: 12px;
    }

.cta-item {
    padding-left: 35px;
    border-left: 1px solid rgba(255,255,255,.7);
}

.cta-buttons {
    display: flex;
    gap: 8px;
}

    .cta-buttons a,
    .cta-action {
        display: inline-block;
        padding: 7px 13px;
        border: 1px solid #fff;
        border-radius: 4px;
        color: #fff;
        font-size: 11px;
        text-decoration: none;
    }

        .cta-buttons a:hover,
        .cta-action:hover {
            background: #fff;
            color: var(--av-blue);
            text-decoration: none;
        }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .office-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 900px) {

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .headquarters-grid {
        grid-template-columns: 1fr;
    }

    .office-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cta {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cta-item {
        padding-left: 0;
        padding-top: 20px;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.4);
    }
}


@media (max-width: 700px) {

    .contact-hero {
        min-height: 300px;
    }

        .contact-hero h1 {
            font-size: 35px;
        }

    .contact-trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .headquarters-panel {
        padding: 20px;
    }

    .hq-bottom-info {
        grid-template-columns: 1fr;
    }

    .office-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        padding: 25px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    /*
       Map stays visible on mobile.
       Labels are reduced to prevent overlapping.
    */

    .marker-flag {
        width: 27px;
        height: 27px;
        font-size: 17px;
    }

    .marker-label {
        display: none;
    }

    .map-office-popup {
        width: 240px;
    }
}


/*===================================*/
.marker-flag {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

    .marker-flag img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

.office-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-flag {
    width: 32px;
    height: 32px;
    display: inline-block;
    flex-shrink: 0;
}

    .office-flag img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }




.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-svg {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}
/*=====================================*/


/* ==================================================
   AVIONTEQ NEWSLETTER
   ================================================== */

.avt-newsletter {
    width: 100%;
    box-sizing: border-box;
    padding: 45px 20px;
    background: linear-gradient( 105deg, #17139f 0%, #2839c4 50%, #3479ef 100% );
}


    /* MAIN CONTAINER */

    .avt-newsletter .avt-newsletter-inner {
        width: 100%;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }


    /* ==================================================
   LEFT TEXT
   ================================================== */

    .avt-newsletter .avt-newsletter-text {
        display: block;
        width: 600px;
        max-width: 600px;
        flex: 0 0 600px;
        box-sizing: border-box;
    }


        .avt-newsletter .avt-newsletter-text h2 {
            display: block;
            width: auto;
            margin: 0 0 3px 0;
            padding: 0;
            color: #ffffff;
            font-family: Arial, sans-serif;
            font-size: 30px;
            font-weight: 700;
            line-height: 1.15;
            white-space: nowrap;
        }


        .avt-newsletter .avt-newsletter-text p {
            display: block;
            width: auto;
            margin: 0;
            padding: 0;
            color: #ffffff;
            font-family: Arial, sans-serif;
            font-size: 13px;
            font-weight: 400;
            line-height: 1.4;
            white-space: nowrap;
        }


    /* ==================================================
   RIGHT SIDE
   ================================================== */

    .avt-newsletter .avt-newsletter-right {
        display: flex;
        width: 300px;
        flex: 0 0 300px;
        align-items: center;
        justify-content: flex-end;
        box-sizing: border-box;
    }


    /* ==================================================
   FORM
   ================================================== */

    .avt-newsletter .avt-newsletter-subscribe {
        position: relative;
        display: block;
        width: 290px;
        height: 35px;
        margin: 0;
        padding: 0;
        border: 0;
        box-sizing: border-box;
    }


        /* ==================================================
   INPUT
   ================================================== */

        .avt-newsletter .avt-newsletter-subscribe input[type="email"] {
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 290px;
            height: 35px;
            margin: 0;
            padding: 0 115px 0 15px;
            box-sizing: border-box;
            border: 0;
            outline: 0;
            border-radius: 25px;
            background: #ffffff;
            color: #333333;
            font-family: Arial, sans-serif;
            font-size: 13px;
            box-shadow: none;
        }


        /* ==================================================
   BUTTON
   ================================================== */

        .avt-newsletter .avt-newsletter-subscribe button {
            position: absolute;
            top: 0;
            right: 0;
            display: flex;
            width: 105px;
            height: 35px;
            margin: 0;
            padding: 0;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            border: 0;
            outline: 0;
            border-radius: 25px;
            background: #ff1717;
            color: #ffffff;
            font-family: Arial, sans-serif;
            font-size: 13px;
            font-weight: 400;
            line-height: normal;
            cursor: pointer;
            box-shadow: none;
        }


            .avt-newsletter .avt-newsletter-subscribe button:hover {
                background: #e60000;
            }


/* ==================================================
   TABLET / MOBILE
   ================================================== */

@media (max-width: 900px) {

    .avt-newsletter .avt-newsletter-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }


    .avt-newsletter .avt-newsletter-text {
        width: 100%;
        max-width: none;
        flex: none;
    }


        .avt-newsletter .avt-newsletter-text h2 {
            white-space: normal;
            font-size: 26px;
        }


        .avt-newsletter .avt-newsletter-text p {
            white-space: normal;
        }


    .avt-newsletter .avt-newsletter-right {
        width: 100%;
        flex: none;
        justify-content: flex-start;
    }
}





.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}