/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

#contact-main {
    overflow-x: clip;
}

#contact-main .contact-hero--dark {
    background-color: #050508;
    background-image:
        linear-gradient(90deg, rgba(5, 5, 8, 0.55) 0%, rgba(5, 5, 8, 0.22) 48%, rgba(5, 5, 8, 0.08) 100%),
        url("../img/home/hero/contact-hero-bg.png");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    overflow: hidden;
    box-sizing: border-box;
    display: block;
    min-height: 88vh;
    padding-top: 190px;
    padding-bottom: 80px;
    position: relative;
}

@media (max-width: 991px) {
    #contact-main .contact-hero--dark {
        padding-top: 140px;
    }
}

#contact-main .contact-hero--dark .section-sub-title {
    color: #c4a0ff;
}

#contact-main .contact-hero--dark .section-title {
    color: #ffffff;
}

#contact-main .contact-hero--dark .contact-hero__lead {
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
}

#contact-main .contact-hero--dark .contact-hero-cta1 {
    color: #ffffff !important;
    background-color: #7500ff !important;
    border: 1px solid #7500ff !important;
}

#contact-main .contact-hero--dark .contact-hero-cta2 {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
}

.page-template-template-contact .tp-header-area:not(.header-sticky) .logo-black {
    display: none !important;
}

.page-template-template-contact .tp-header-area:not(.header-sticky) .logo-white {
    display: block !important;
}

.page-template-template-contact .tp-header-area:not(.header-sticky) .tp-header-menu > nav > ul > li > a {
    color: #ffffff;
}

.page-template-template-contact .tp-header-area:not(.header-sticky) .tp-header-dropdown nav ul li.has-dropdown::after {
    color: #ffffff;
}

.page-template-template-contact .tp-header-area:not(.header-sticky) .tp-header-bar button i {
    color: #ffffff;
}

.page-template-template-contact .tp-header-area.header-sticky.sticky-white-bg .logo-white {
    display: none !important;
}

.page-template-template-contact .tp-header-area.header-sticky.sticky-white-bg .logo-black {
    display: block !important;
}


/* Soft radial orbs behind hero */
.contact-hero__bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.45;
}

.contact-hero__bg-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #c084fc 0%, transparent 70%);
    top: -120px;
    left: -200px;
}

.contact-hero__bg-orb--2 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #00e5ff55 0%, transparent 70%);
    bottom: -80px;
    right: 0;
}

.contact-accent {
    color: #7304FB;
}

.contact-hero__lead {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    max-width: 520px;
    font-family: var(--tp-ff-body);
}

.contact-hero__img-wrap {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
}

.contact-hero__img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
}

/* WhatsApp Hero Button */
.contact-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #ffffff !important;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.35s ease;
    font-family: var(--tp-ff-heading);
}

.contact-whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}

/* ---- Contact Info Column ---- */
.contact-email-link {
    color: #7304FB;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(115, 4, 251, 0.3);
    transition: all 0.2s;
}

.contact-email-link:hover {
    color: #5900cc;
    border-bottom-color: #5900cc;
}

.contact-partner-email-link {
    display: inline-block;
    margin-top: 2px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #7500FF;
    background: rgba(117, 0, 255, 0.1);
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-partner-email-link:hover {
    color: #5900cc;
    background: rgba(117, 0, 255, 0.16);
}

.contact-lead {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    font-family: var(--tp-ff-body);
}

/* ---- Contact Grid Layout ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ---- Global Presence header ---- */
.contact-global-presence-header .section-title {
    margin-bottom: 12px;
}

.contact-global-presence-lead {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
}

.contact-global-presence-row {
    align-items: stretch;
}

.contact-global-presence-row > [class*="col-"] {
    display: flex;
}

/* ---- Office Cards ---- */
.contact-office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 575px) {
    .contact-office-grid {
        grid-template-columns: 1fr;
    }
}

.contact-office-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}

.contact-office-card__body {
    padding: 28px 28px 20px;
    flex: 1 1 auto;
}

.contact-office-card__map {
    flex: 0 0 auto;
    padding: 0 20px 20px;
    margin-top: auto;
    background: linear-gradient(180deg, rgba(117, 0, 255, 0.04) 0%, rgba(117, 0, 255, 0) 100%);
}

.contact-office-card__map-inner {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    background: #eef2f6;
}

.contact-office-card__map-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.contact-office-card__map-inner iframe {
    height: 148px;
    width: 100%;
    border: 0;
    display: block;
    vertical-align: top;
}

.contact-office-map-open {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: #374151;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(6px);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-office-map-open:hover {
    color: #7500FF;
    border-color: rgba(117, 0, 255, 0.28);
    box-shadow: 0 4px 14px rgba(117, 0, 255, 0.14);
    transform: translateY(-1px);
}

.contact-office-map-open i,
.contact-office-map-open svg {
    width: 13px;
    height: 13px;
}

.contact-office-card:hover {
    box-shadow: 0 16px 40px rgba(115, 4, 251, 0.08);
    border-color: rgba(115, 4, 251, 0.14);
}

.contact-office-card .office-icon {
    width: 60px;
    height: 60px;
    background: rgba(115, 4, 251, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7304FB;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.contact-office-card:hover .office-icon {
    background: #7304FB;
    color: #ffffff;
    transform: scale(1.1);
}

.contact-office-card .office-region {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #7304FB;
    margin-bottom: 6px;
}

.contact-office-card .office-head {
    font-size: 15px;
    font-weight: 700;
    color: #141414;
    margin-bottom: 8px;
}

.contact-office-card .office-phone {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s;
}

.contact-office-card .office-phone:hover {
    color: #7304FB;
}

/* ---- Social Links ---- */
.contact-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-social-row p {
    font-size: 14px;
    font-weight: 700;
    color: #141414;
}

.contact-social-link {
    width: 44px;
    height: 44px;
    background: transparent;
    border-radius: 50%;
    border: 1px solid var(--tp-border-1, rgba(0, 0, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp-text-body, #555);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social-link:hover {
    background: rgba(115, 4, 251, 0.05);
    color: #7304FB !important;
    border-color: #7304FB !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(115, 4, 251, 0.1);
}

/* ---- Form column (dark CTA band) ---- */
#contact-main .cta-section--dark .section-title {
    color: #ffffff;
}

#contact-main .cta-section--dark .contact-form-explore-lead {
    color: rgba(255, 255, 255, 0.78);
}

#contact-main .cta-section--dark .contact-explore-link {
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.28);
    background: rgba(18, 14, 28, 0.45);
    color: #ffffff;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

#contact-main .cta-section--dark .contact-explore-link i,
#contact-main .cta-section--dark .contact-explore-link svg {
    color: #c4a0ff;
    width: 22px;
    height: 22px;
}

#contact-main .cta-section--dark .contact-explore-link__cta {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.55);
}

#contact-main .cta-section--dark .contact-explore-link:hover {
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(117, 0, 255, 0.14);
    transform: translateY(-2px);
}

#contact-main .cta-section--dark .cta-form-wrapper {
    position: sticky;
    top: 110px;
    padding: 50px;
}

#contact-main .cta-section--dark .contact-application-form label,
#contact-main .cta-section--dark .contact-application-form .wpcf7-form label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.88);
}

#contact-main .cta-section--dark .contact-submit-btn,
#contact-main .cta-section--dark .contact-application-form .wpcf7-submit,
#contact-main .cta-section--dark .contact-application-form input[type="submit"] {
    background: linear-gradient(90deg, #5b00c9 0%, #7500ff 50%, #9b4dff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 28px rgba(117, 0, 255, 0.35) !important;
}

#contact-main .cta-section--dark .contact-submit-btn:hover,
#contact-main .cta-section--dark .contact-application-form .wpcf7-submit:hover,
#contact-main .cta-section--dark .contact-application-form input[type="submit"]:hover {
    background: linear-gradient(90deg, #4a00a8 0%, #5c00cc 50%, #7500ff 100%) !important;
    transform: translateY(-2px);
}

/* ---- Map Section ---- */
.contact-map-section {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* ---- Partner Section ---- */
.contact-partner-banner-bg {
    background-image: url('../img/contact/contact-partner-banner.svg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .contact-partner-banner-bg {
        background: none;
    }
}

@media (max-width: 767px) {
    .contact-hero__lead {
        font-size: 16px;
    }

    .contact-map-section iframe {
        height: 280px;
    }

    .contact-office-card__map-inner iframe {
        height: 132px;
    }
}

@media (max-width: 575px) {
    #contact-main .cta-section--dark .cta-form-wrapper {
        padding: 28px 20px;
    }

    .contact-whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}