﻿
	
        .bread {
            background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url('/Html/img/bag6.jpg') no-repeat center/cover;
            background-position-y: 60%;
            text-align: center;
            color: white !important;
            padding: 40px 10px;
            height: 40vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

            .bread a {
                color: white !important;
                text-decoration: none;
            }

        .cards {
            background-color: rgb(52, 35, 53) !important;
        }

        .butt {
            background-color: black;
            color: white;
            border: none !important;
        }

            .butt:hover {
                background-color: #111;
                color: white;
            }
        /* ================== GLOBAL PRESENCE SECTION ================== */
        .global-presence {
            padding: 60px 0 70px;
            background: #fefefc;
            font-family: "Segoe UI", system-ui, sans-serif;
        }

            .global-presence .container {
                max-width: 1200px;
                margin: 0 auto;
                padding: 0 20px;
            }

        /* ===== Headings ===== */
        .gp-title {
            text-align: center;
            font-size: 2.4rem;
            font-weight: 700;
            color: #123057;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .gp-sub {
            text-align: center;
            font-size: 1.05rem;
            color: #5b6b80;
            max-width: 700px;
            margin: 0 auto 40px;
        }

        /* ===== Map Container ===== */
        .map-wrapper {
            position: relative;
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
        }

        .world-map {
            width: 100%;
            display: block;
            filter: grayscale(30%);
            opacity: 0.95;
            border-radius: 10px;
        }

        /* ===== Pin Base Style ===== */
        .pin {
            position: absolute;
            transform: translate(-50%, -100%);
            z-index: 2;
            text-align: center;
            cursor: pointer;
            pointer-events: none;
        }

        .pin-dot {
            width: 10px;
            height: 10px;
            background: #404040;
            border: 2px solid #fff;
            border-radius: 50%;
            box-shadow: 0 0 0 3px black;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: inline-block;
        }

        .pin-dot {
            pointer-events: auto; /* re-enable interaction */
            cursor: pointer;
        }
        /* Replace dot with location pin image WITHOUT moving anchor */
.pin-dot {
  position: relative;
  background: transparent; /* hide dot visually */
  box-shadow: none;
  border: none;
}

/* Location pin image */
    .pin-dot::before {
        content: "";
        position: absolute;
        bottom: 50%; /* anchor exactly at dot center */
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 42px;
        background: url("../img/pin.png") no-repeat center bottom;
        background-size: contain;
        pointer-events: auto;
    }

/* Hover effect (no movement) */
.pin-dot:hover::before {
  filter: drop-shadow(0 8px 16px rgba(220, 38, 38, 0.55));
}

@media (max-width: 768px) {
  .pin-dot::before {
    width: 15px;
    height: 34px;
  }
}

@media (max-width: 480px) {
  .pin-dot::before {
    width: 10px;
    height: 28px;
  }
}

        /* ===== Pin Info Card ===== */
        .pin-card {
            margin-top: 12px;
            padding: 10px 14px;
            background: #ffffff;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(15, 35, 52, 0.1);
            min-width: 210px;
            max-width: 250px;
            font-size: 0.9rem;
            line-height: 1.4;
            text-align: left;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.4s ease;
            pointer-events: none; /* card won’t capture hover */
        }

        /* Only trigger effects when hovering over the dot */
        .pin-dot:hover {
            transform: scale(1.2);
            box-shadow: 0 0 0 6px rgba(48, 50, 53, 0.35);
        }

            /* Show the card when the dot is hovered */
            .pin-dot:hover + .pin-card {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }


        .pin-card h4 {
            margin: 0 0 4px;
            font-size: 0.95rem;
            font-weight: 700;
            color: #0a3069;
        }

        .pin-card p {
            margin: 0;
            color: #4a5b70;
            font-size: 0.88rem;
        }

        /* ===== Pin Positions (Matched to map2.png) ===== */
        .pin-india {
            top: 68.6%;
  left: 68.1%;
        }
        /* Hyderabad, India */
        .pin-niger {
            top: 69%;
            left: 48%;
        }
        /* Niamey, Niger */
        .pin-nigeria {
            top: 72.5%;
            left: 47%;
        }
        /* Lagos, Nigeria */
        .pin-southafrica {
            top: 85.5%;
            left: 55%;
        }
        /* Pretoria, South Africa */
        .pin-qatar {
            top: 64%;
            left: 61.5%;
        }
        /* Doha, Qatar */
        .pin-uae {
            top: 67%;
            left: 62.5%;
        }
        /* Sharjah, UAE */

        /* Offset some cards to avoid overlap */
        .pin-niger .pin-card {
            transform: translate(-200px, 0);
        }

        .pin-nigeria .pin-card {
            transform: translate(-220px, 0);
        }

        .pin-southafrica .pin-card {
            transform: translate(-50px, 0);
        }

        .pin-qatar .pin-card {
            transform: translate(10px, 0);
        }

        .pin-uae .pin-card {
            transform: translate(10px, 0);
        }

        .pin-india .pin-card {
            transform: translate(-30px, 0);
        }

        /* ===== Mobile List ===== */
        .gp-list {
            display: none;
            margin-top: 40px;
        }

        .gp-item {
            background: #fff;
            border-radius: 10px;
            padding: 15px 18px;
            margin-bottom: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
        }

            .gp-item h4 {
                margin: 0 0 5px;
                font-size: 1rem;
                color: #123057;
                font-weight: 700;
            }

            .gp-item p {
                margin: 0;
                color: #4a5b70;
                font-size: 0.9rem;
                line-height: 1.4;
            }

        /* ================== RESPONSIVE ================== */

        /* Tablet */
        @media (max-width: 992px) {
            .pin-card {
                font-size: 0.8rem;
                min-width: 180px;
                line-height: 1.3;
            }

            .pin {
                z-index: 1;
            }

            .pin-dot {
                width: 8px;
                height: 8px;
            }

            .gp-title {
                font-size: 2rem;
            }

            .pin-niger {
                top: 80%;
    left: 48.5%;
            }

            .pin-india {
                top: 81.5%;
    left: 63%;
            }

            .pin-nigeria {
                top: 85.5%;
    left: 48%;
            }

            .pin-southafrica {
                top: 96%;
    left: 54%;
            }

            .pin-qatar {
                top: 77%;
    left: 58%;
            }

            .pin-uae {
                top: 82.5%;
    left: 59%;
            }
            /* Make cards appear on click/tap (focus) for tablets */
            .pin-dot {
                outline: none;
            }

                /* When user taps the pin-dot */
                .pin-dot:focus + .pin-card,
                .pin-dot:active + .pin-card {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                    pointer-events: auto;
                    z-index: 5;
                }

            /* Improve usability on touch: slightly larger tap area */
            .pin-dot {
                width: 8px;
                height: 8px;
                border: 1px solid #fff;
                box-shadow: 0px 0 0 2px rgba(0, 0, 0, 0.3);
                transition: all 0.3s ease;
            }

                /* Optional visual feedback on tap */
                .pin-dot:active {
                    transform: scale(1.3);
                    box-shadow: 0 0 10px rgba(0, 82, 204, 0.4);
                }
        }

        /* Mobile */
        @media (max-width: 768px) {
            .map-wrapper {
                max-width: 420px;
            }

            /* Hide detailed cards on mobile for clarity */
            .pin-card {
                display: none;
            }

            .gp-list {
                display: block;
            }

            /* Resize pins slightly */
            .pin-dot {
                width: 12px;
                height: 12px;
            }

            /* Adjust pin positions for narrow aspect ratio */
            .pin-india {
                top: 58.4%;
                left: 62.9%;
            }

            .pin-niger {
                top: 57%;
    left: 48.5%;
            }

            .pin-nigeria {
                top: 63%;
                left: 47%;
            }

            .pin-southafrica {
                top: 74%;
                left: 53.5%;
            }

            .pin-qatar {
                top: 54%;
                left: 57.5%;
            }

            .pin-uae {
                top: 54%;
                left: 59%;
            }
        }

        /* Small Mobile */
        @media (max-width: 480px) {
            .gp-title {
                font-size: 1.6rem;
            }

            .gp-sub {
                font-size: 0.9rem;
            }

            .map-wrapper {
                max-width: 350px;
            }

            .pin-dot {
                width: 5px;
                height: 5px;
                border: .1px solid #fff;
                box-shadow: 0 0 0 0.2px black;
            }

            
        }
        /* ================= GLOBAL LOCATION PIN ================= */

/* Position of Global pin (adjust slightly if needed) */
.pin-global {
  top: 77.3%;
  left: 68.9%;
  z-index: 2;
}

/* Bigger pin image ONLY for global pin */
.pin-global .pin-dot::before {
    width: 40px;
  height: 100px;
  filter: drop-shadow(0 10px 18px rgba(231, 137, 55, 0.6));
  background: url("../img/pin2.png") no-repeat center bottom;
  background-size: contain;
}

/* Make Global pin always active */
.pin-global .pin-card {
  opacity: 0;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Add subtle pulse to highlight global location */
.pin-global .pin-dot::after {
  content: "";
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  background: rgba(220, 38, 38, 0.25);
  border-radius: 50%;
  transform: translate(-50%, 50%);
  animation: globalPulse 2s infinite ease-out;
  z-index: -1;
}

@keyframes globalPulse {
  0% {
    transform: translate(-50%, 50%) scale(0.7);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, 50%) scale(1.6);
    opacity: 0;
  }
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
  .pin-global .pin-dot::before {
    width: 40px;
    height: 100px;
  }
  .pin-global {
  top: 97.3%;
    left: 63.5%;
    z-index: 1;
}
   .pin-global .pin-card{
       opacity: 0;
       transform: translateX(40px) !important;
   }
}

/* Mobile */
@media (max-width: 768px) {
  .pin-global .pin-dot::before {
    width: 30px;
    height: 40px;
  }
  .pin-global {
  top: 58.9%;
    left: 63.5%;
    z-index: 1;
}

  /* Hide card on map, rely on list (consistent with existing behavior) */
  .pin-global .pin-card {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .pin-global .pin-dot::before {
    width: 20px;
    height: 40px;
  }
}
/* ================= GLOBAL HQ – MOBILE ONLY ================= */
@media (max-width: 768px) {

  .gp-hq {
    position: relative;
    background: linear-gradient(135deg, #0a3069, #111827);
    color: #ffffff;
    border-left: 4px solid #dc2626; /* red accent */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  .gp-hq h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .gp-hq p {
    color: #d1d5db;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  /* Badge */
  .gp-hq .hq-badge {
    position: absolute;
    top: -10px;
    right: 14px;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(220,38,38,0.35);
  }
}
/* ================= PIN POSITION FIX — COMPACT LANDSCAPE DESKTOP ================= */
@media (min-width: 850px) and (max-width: 950px) and (max-height: 450px) {

  /* GLOBAL HQ */
  .pin-global {
    top: 91.5%;
    left: 63.5%;
  }

  /* INDIA */
  .pin-india {
    top: 77.8%;
    left: 63.1%;
  }

  /* NIGER */
  .pin-niger {
    top: 76.8%;
    left: 48.3%;
  }

  /* NIGERIA */
  .pin-nigeria {
    top: 82.2%;
    left: 47.4%;
  }

  /* SOUTH AFRICA */
  .pin-southafrica {
    top: 92.8%;
    left: 54.2%;
  }

  /* QATAR */
  .pin-qatar {
    top: 73.7%;
    left: 57.9%;
  }

  /* UAE */
  .pin-uae {
    top: 78.3%;
    left: 58.9%;
  }
}
/* ================= PIN POSITION FIX — VERY SHORT LANDSCAPE ================= */
@media (min-width: 800px) and (max-width: 900px) and (max-height: 450px) {

  /* GLOBAL HQ */
  .pin-global {
    top: 94.8%;
    left: 63.5%;
  }

  /* INDIA */
  .pin-india {
    top: 80.2%;
    left: 63.1%;
  }

  /* NIGER */
  .pin-niger {
    top: 79.5%;
    left: 48.1%;
  }

  /* NIGERIA */
  .pin-nigeria {
    top: 84.5%;
    left: 47.5%;
  }

  /* SOUTH AFRICA */
  .pin-southafrica {
    top: 95.2%;
    left: 54%;
  }

  /* QATAR */
  .pin-qatar {
    top: 75.4%;
    left: 58.1%;
  }

  /* UAE */
  .pin-uae {
    top: 80%;
    left: 59.2%;
  }
}

/* ================= DESKTOP VIEW ON MOBILE – HARD FIX ================= */
@media (max-width: 1024px) {

  /* Freeze map geometry to width-based math only */
  .map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;

    height: 0;                     /* IMPORTANT */
    padding-bottom: 47.5%;         /* WORLD MAP RATIO */
    overflow: visible;
  }

  .world-map {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
  }
}
/* ================= PIN POSITION FIX — 989 × 803 ================= */
@media (min-width: 970px) and (max-width: 1010px)
       and (min-height: 780px) and (max-height: 830px) {

  /* GLOBAL HQ */
  .pin-global {
    top: 89.5%;
    left: 63.5%;
  }

  /* INDIA */
  .pin-india {
    top: 76.9%;
        left: 63.0%;
  }

  /* NIGER */
  .pin-niger {
    top: 74.8%;
    left: 48.3%;
  }

  /* NIGERIA */
  .pin-nigeria {
            top: 80.5%;
        left: 47.5%;
  }

  /* SOUTH AFRICA */
  .pin-southafrica {
    top: 90.5%;
    left: 54.3%;
  }

  /* QATAR */
  .pin-qatar {
    top: 72.3%;
        left: 58%;
  }

  /* UAE */
  .pin-uae {
            top: 76.4%;
        left: 58.8%;
  }
}
		/* =========================================================
   DESKTOP VIEW ON MOBILE & LARGE TABLETS — PIN STABILIZER
   Applies ONLY to problematic aspect ratios
   ========================================================= */

/* ---------- 1024 × 600 (Landscape Desktop-on-Mobile) ---------- */
@media (width: 1024px) and (height: 600px) {

  .pin-global       { top: 90.5%; left: 63.5%; }
  .pin-india        { top: 77.5%; left: 63.1%; }
  .pin-niger        { top: 75.5%; left: 48.3%; }
  .pin-nigeria      { top: 81.2%; left: 47.4%; }
  .pin-southafrica  { top: 92.2%; left: 54.2%; }
  .pin-qatar        { top: 72.3%; left: 57.9%; }
  .pin-uae          { top: 77.2%; left: 58.9%; }
}


/* ---------- 912 × 1368 (Tall Android / Foldable Portrait) ---------- */
@media (width: 912px) and (height: 1368px) {

  .pin-global       { top: 91.8%; left: 63.4%; }
  .pin-india        { top: 77.8%; left: 63.0%; }
  .pin-niger        { top: 76.8%; left: 48.4%; }
  .pin-nigeria      { top: 82.9%; left: 47.5%; }
  .pin-southafrica  { top: 91.5%; left: 54.3%; }
  .pin-qatar        { top: 73.2%; left: 57.8%; }
  .pin-uae          { top: 78.1%; left: 58.8%; }
}


/* ---------- 1024 × 1366 (iPad Pro Portrait) ---------- */
@media (width: 1024px) and (height: 1366px) {

  .pin-global       { top: 89.9%; left: 63.5%; }
  .pin-india        { top: 76.9%; left: 63.1%; }
  .pin-niger        { top: 75.9%; left: 48.3%; }
  .pin-nigeria      { top: 81.2%; left: 47.4%; }
  .pin-southafrica  { top: 90.8%; left: 54.2%; }
  .pin-qatar        { top: 72.6%; left: 57.9%; }
  .pin-uae          { top: 76.6%; left: 58.9%; }
}

		@media(min-width:900px) and (max-width:1026px){
  .pin-global       { top: 90.5%; left: 63.5%; }
  .pin-india        { top: 77.5%; left: 63.1%; }
  .pin-niger        { top: 75.5%; left: 48.3%; }
  .pin-nigeria      { top: 81.2%; left: 47.4%; }
  .pin-southafrica  { top: 92.2%; left: 54.2%; }
  .pin-qatar        { top: 72.3%; left: 57.9%; }
  .pin-uae          { top: 77.2%; left: 58.9%; }
}
	
