/* ============================================================
   CONTACT PAGE — Hero & Banner
   ============================================================ */

.contact-text-display {
    font-size: 90px;
    line-height: 83px;
    letter-spacing: 0;
}
.ind-hero-bg {
    position: absolute;
    top: 100px;
    left: 630px;
    width: 1305px;
    height: 735px;
    max-width: none;
    opacity: 1;
    transform: rotate(0deg);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.contact-hero-max-w {
    position: relative;
    z-index: 1;
    max-width: 930px;
}
.contact-banner-heading  { font-size: 53px; line-height: 53px; }
.contact-banner-heading-w{ max-width: 247px; }
.contact-banner-body     { font-size: 26px; line-height: 130%; }
.contact-banner-body-w   { max-width: 690px; }

@media (max-width: 1024px) {
    .contact-text-display    { font-size: 60px; line-height: 64px; }
    .contact-banner-heading  { font-size: 38px; line-height: 42px; }
    .contact-banner-body     { font-size: 20px; line-height: 26px; }
    .contact-hero-section {
        padding-top: 160px !important;
        padding-bottom: 80px !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    .contact-hero-max-w      { max-width: 100%; }
    .contact-banner-section  { flex-direction: column !important; align-items: flex-start !important; gap: 24px !important; padding-left: 40px !important; padding-right: 40px !important; }
    .contact-banner-heading-w,
    .contact-banner-body-w   { max-width: 100%; }
}

@media (max-width: 640px) {
    .contact-text-display    { font-size: 36px; line-height: 40px; }
    .contact-banner-heading  { font-size: 28px; line-height: 34px; }
    .contact-banner-body     { font-size: 16px; line-height: 22px; }
    .contact-hero-section    { padding-top: 140px !important; padding-bottom: 48px !important; padding-left: 20px !important; padding-right: 20px !important; }
    .contact-banner-section  { padding-left: 20px !important; padding-right: 20px !important; padding-top: 28px !important; padding-bottom: 28px !important; }
}

/* ============================================================
   Office Locations Map (Leaflet)
   ============================================================ */

.office-map {
    position: relative;
    width: 100%;
    aspect-ratio: 818 / 467;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    background: #eceff1;
}

.office-map-canvas {
    width: 100%;
    height: 100%;
    font-family: 'Stage Grotesk', sans-serif;
}

/* Custom purple teardrop pin (replaces Leaflet's default marker image).
   The tip is the true coordinate; the head is lifted above it so it
   doesn't sit on top of the map tile's baked-in city/country label. */
.office-pin-icon {
    background: transparent;
    border: none;
}
.office-pin-icon svg {
    display: block;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    transition: transform 0.15s ease;
    transform-origin: 50% 100%;
}
.leaflet-marker-icon:hover .office-pin-icon svg {
    transform: scale(1.12);
}

/* Popup bubble — same look as the original single Pakistan bubble */
.leaflet-popup-content-wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
    padding: 0;
}
.leaflet-popup-content {
    margin: 9px 16px;
    line-height: normal;
}
.leaflet-popup-tip {
    background: #ffffff;
    box-shadow: none;
}

.office-popup {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}
.office-popup-flag {
    font-size: 30px;
    line-height: 1;
}
.office-popup-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.office-popup-city {
    font-size: 18px;
    font-weight: 500;
    color: #242424;
}
.office-popup-country {
    font-size: 13px;
    font-weight: 300;
    color: #6A6A6A;
}

/* Required map-data attribution — kept subtle but visible */
.leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.75) !important;
}

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

    .office-pin-icon svg {
        transform: scale(0.78);
    }
    .leaflet-marker-icon:hover .office-pin-icon svg {
        transform: scale(0.9);
    }
    .office-popup-flag    { font-size: 22px; }
    .office-popup-city    { font-size: 15px; }
    .office-popup-country { font-size: 11px; }
}


/* ============================================================
   GET IN TOUCH — heading & subtitle
   ============================================================ */

.git-heading {
    width: 366px;
    font-size: 90px;
    line-height: 83px;
    letter-spacing: 0;
    color: #242424;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}
.git-subtitle {
    max-width: 527px;
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 0;
    color: #6A6A6A;
    font-weight: 300;
    margin: 0 0 28px 0;
}

@media (max-width: 1280px) {
    .git-heading  { font-size: 64px; line-height: 66px; width: auto; }
    .git-subtitle { font-size: 22px; line-height: 28px; }
}
@media (max-width: 1024px) {
    .git-heading  { font-size: 48px; line-height: 52px; }
    .git-subtitle { font-size: 18px; line-height: 24px; }
}
@media (max-width: 640px) {
    .git-heading  { font-size: 34px; line-height: 38px; }
    .git-subtitle { font-size: 15px; line-height: 20px; }
}

/* ============================================================
   Info Section — Contact / Email / Location text
   ============================================================ */

.info-heading {
    color: #242424;
    font-weight: 400;
    font-size: 34px;
    line-height: 120%;
    letter-spacing: 0;
    margin: 0 0 6px 0;
}
.info-value {
    color: #6A6A6A;
    font-weight: 300;
    font-size: 22px;
    line-height: 110%;
    letter-spacing: 0;
    margin: 0;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
        overflow-wrap: break-word;
    word-break: break-word;
}
a.info-value:hover { color: #4026B8; }

.location-value {
    color: #6A6A6A;
    font-weight: 300;
    font-size: 22px;
    line-height: 120%;
    letter-spacing: 0;
    margin: 0;
    max-width: 700px;
}

@media (max-width: 1280px) {
    .info-heading                 { font-size: 26px; }
    .info-value, .location-value  { font-size: 18px; }
}
@media (max-width: 640px) {
    .info-heading                 { font-size: 20px; }
    .info-value, .location-value  { font-size: 15px; }
}

/* ============================================================
   Floating Label Fields
   — sibling selectors (:focus ~ label, :not(:placeholder-shown) ~ label)
     cannot be expressed in Tailwind utility classes
   ============================================================ */

.float-group,
.float-group--textarea {
    position: relative;
    margin-bottom: 14px;
    max-width: 609px;
    width: 100%;
}

.float-input {
    width: 100%;
    height: 70px;
    background: #ffffff;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 0 16px;
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    color: #111111;
    outline: none;
    font-family: 'Stage Grotesk', sans-serif;
    font-weight: 400;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    display: block;
    box-sizing: border-box;
}
textarea.float-input {
    height: 132px;
    resize: none;
    padding-top: 24px;
    padding-bottom: 10px;
}

.float-input:focus,
.float-input:not(:placeholder-shown) {
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.float-label {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    color: #9ca3af;
    font-weight: 300;
    pointer-events: none;
    transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease,
                color 0.18s ease, background 0.18s ease;
    padding: 0 3px;
    line-height: 1;
    background: transparent;
    z-index: 1;
}
.float-group--textarea .float-label {
    top: 22px;
    transform: none;
}

/* Floated state */
.float-input:focus ~ .float-label,
.float-input:not(:placeholder-shown) ~ .float-label,
.float-group--textarea .float-input:focus ~ .float-label,
.float-group--textarea .float-input:not(:placeholder-shown) ~ .float-label {
    top: -1px;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: #6b7280;
    background: #ffffff;
    padding: 0 4px;
}

@media (max-width: 1024px) {
    .float-input         { height: 56px; }
    textarea.float-input { height: 110px; }
}