/* ==========================================================================
   Feature Title
   ========================================================================== */
.feature-title {
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;

}
.csg-w-10 {
  margin-left: 4rem;
  margin-right: 4rem;
}
@media (max-width: 768px) {
  .csg-w-10 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}
.csg-w-8 {
  margin-left: 6rem;
  margin-right: 5rem;
}

@media (max-width: 768px) {
  .csg-w-8 {
    margin-left: 0.7rem;
    margin-right: 0.6rem;
  }
}
.feature-title__small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: #07257E;
}
.feature-title__large {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #07257E;
  position: relative;
  display: inline-block;
}
.feature-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background-color: #07257E;
  transform: scaleX(0);
  transform-origin: left center;
  animation: expandUnderline 0.6s ease-out 0.4s forwards;
}
.feature-title:hover::after {
  transform: scaleX(1);
}
.feature-title__large::after {
  /* reuse underline on the “large” variant */
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background-color: #07257E;
  transform: scaleX(0);
  transform-origin: left center;
  animation: expandUnderline 0.6s ease-out 0.4s forwards;
}

/* keyframes for animated underlines */
@keyframes expandUnderline {
  to { transform: scaleX(1); }
}

/* ==========================================================================
   Services Intro
   ========================================================================== */
.services-intro {
  color: #444;
  margin-bottom: 1.5rem;



/* new typography tweaks */
  text-align: justify;            /* full‑width justification */
  text-justify: inter-word;       /* better word spacing */
  hyphens: auto;                  /* enable hyphenation where supported */
  line-height: 1.65;              /* more comfortable line spacing */
  letter-spacing: 0.5px;          /* subtle tracking for clarity */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.services-intro p + p {
  margin-top: 1rem;
}

/* Quick slide‑in + fade for each paragraph */
.services-intro p {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideFadeIn 0.4s ease-out forwards;
}

/* First appears after 0.1s, second after 0.6s */
.services-intro p:nth-of-type(1) {
  animation-delay: 0.1s;
}
.services-intro p:nth-of-type(2) {
  animation-delay: 0.6s;
}

/* Keyframes for slide‑in + fade */
@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* ==========================================================================
   Our Services Section (empty wrapper)
   ========================================================================== */
.our-pres {
  background: transparent;
}

.w-60 {
  width: 60%;
}

/* ── Fluid Map Container ── */
#csg-map .map-wrapper {
  position: relative;
  width: 100%;
  max-width: 2000px;
  margin: 0 auto 1.5rem;
}
#csg-map .map-img {
  width: 100%;
  display: block;
}

/* ── Pin Animations ── */
@keyframes pinPulse {
  0%,100% { transform: translate(-50%,-100%) scale(1); }
  50%      { transform: translate(-50%,-100%) scale(1.1); }
}
@keyframes pinPop {
  0% { transform: translate(-50%,-100%) scale(1); }
  50% { transform: translate(-50%,-110%) scale(1.3); }
  100%{ transform: translate(-50%,-100%) scale(1); }
}

#csg-map .map-pin {
  position: absolute;
  cursor: pointer;
  z-index: 2;
}
#csg-map .pin-icon {
  position: relative;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
  font-size: 24px;
  color: #082790;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: pinPulse 2s ease-in-out infinite;
  transition: transform 0.2s, color 0.2s;
  box-shadow: 0 0 8px rgba(8, 39, 144, 0.4),
              0 0 12px rgba(8, 39, 144, 0.3),
              0 0 16px rgba(8, 39, 144, 0.2);
  border-radius: 50%;
}

/* Highlighted pin on select */
#csg-map .map-pin.highlight .pin-icon {
  animation: pinPop 0.6s ease-in-out forwards;
  color: #000000;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.8));
  box-shadow: none;
}

/* ── Pin Positions (tuned) ── */
.pin-dubai   { top: 40.5%; left: 62% }
.pin-riyadh  { top: 42%; left: 58.5%; }
.pin-toronto { top: 24%; left: 23%; }
.pin-noida   { top: 47%; left: 68.5%; }
.pin-amman   { top: 35%; left: 56%; }
.pin-manama  { top: 40%; left: 60%; }
.pin-muscat  { top: 45%; left: 61%; }
.pin-cairo   { top: 39%; left: 53%; }

@media (max-width: 575px) {
  .pin-dubai   { top: 37%; left: 62%; }
  .pin-riyadh  { top: 40%; left: 58%; }
  .pin-toronto { top: 19%; left: 24%; }
  .pin-noida   { top: 41%; left: 68.5%; }
  .pin-amman   { top: 32%; left: 55%; }
  .pin-manama  { top: 36%; left: 60%; }
  .pin-muscat  { top: 42%; left: 61%; }
  .pin-cairo   { top: 38%; left: 52%; }
}

/* ── Popup Styling ── */
#csg-map .pin-popup {
  position: absolute;
  top: calc(0% - 8px);
  left: 50%;
  width: 200px;
  background: #082790;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%) scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
}
#csg-map .pin-popup::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #082790;
}
#csg-map .pin-popup h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}
#csg-map .pin-popup p {
  margin: 0;
  font-size: 0.9rem;
}
#csg-map .close-popup {
  position: absolute;
  top: 6px; right: 8px;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
}
#csg-map .close-popup:hover {
  color: #f0f0f0;
}

/* show popup when triggered */
#csg-map .map-pin.show-popup .pin-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -110%) scale(1);
}

/* ── Animated Shaded Country Nav ── */
#csg-map .map-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0; margin: 0 0 1.5rem;
  list-style: none;
  opacity: 0; transform: translateY(20px);
  animation: navFadeIn 0.6s ease-out forwards;
  animation-delay: 0.4s;
}
@keyframes navFadeIn {
  to { opacity:1; transform:translateY(0); }
}
#csg-map .map-nav li {
  position: relative;
  padding: 0.4rem 0.8rem;
  color: #082790;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(8,39,144,0.1);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
#csg-map .map-nav li:hover {
  background: rgba(8,39,144,0.2);
  transform: translateY(-2px);
}
#csg-map .map-nav li.active {
  background: #082790;
  color: #fff;
  box-shadow: 0 4px 12px rgba(8,39,144,0.3);
}

/* ── Mobile Tweaks ── */
@media (max-width: 575px) {
  #csg-map .pin-icon {
    font-size: 10px;
  }
  #csg-map .map-wrapper {
    width: 95%;
  }
  #csg-map .pin-popup {
    width: 160px;
    padding: 0.5rem;
  }
  #csg-map .map-nav li {
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
  }
}
/* ── Ensure popups float on top ── */
#csg-map .map-pin {
  z-index: 2; /* baseline */
}
#csg-map .map-pin.show-popup {
  z-index: 1000 !important;        /* bring the active pin above all others */
}
#csg-map .pin-popup {
  z-index: 1001 !important;        /* popup itself one level higher */
}
/* ── about.css additions ── */
#about-services {
  background-color: #001a50;
  color: #fff;
  margin-bottom: -3rem;
  padding-top: 0;
}
#about-services .services-text h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
}
#about-services .services-text h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0.25rem 0 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
}
#about-services .services-text p {
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out 0.6s forwards;
}
.btn-teal {
  background-color: #33a89f;
  color: #fff;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out 0.8s forwards;
}
.btn-teal:hover {
  background-color: #28ada3;
  transform: translateY(-2px);
}

/* Icons */
#about-services .services-icons {
  gap: 2rem;
}
#about-services .service-item {
  text-align: center;
  flex: 1 1 100px;
  opacity: 0;
  transform: translateY(30px);
}
#about-services .service-item:nth-child(1) { animation: fadeInUp 0.6s ease-out 1s   forwards; }
#about-services .service-item:nth-child(2) { animation: fadeInUp 0.6s ease-out 1.2s forwards; }
#about-services .service-item:nth-child(3) { animation: fadeInUp 0.6s ease-out 1.4s forwards; }

/* Dashed rotating circles */
.icon-circle {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.icon-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px dashed #fff;
  border-radius: 50%;
  animation: rotate 8s linear infinite;
  z-index: 0;
}
.icon-circle i {
  font-size: 1.5rem;
  color: #fff;
}
#about-services .service-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #about-services .services-text h2 {
    font-size: 2rem;
  }
  #about-services .services-icons {
    margin-top: 2rem;
  }
}
/* ── About Hero Section ── */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem;
  background: #fff;
  font-family: 'Poppins', sans-serif;
}
.about-hero .container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}



/* Image column */
.about-hero .about-image {
  flex: 1 1 300px;
  max-width: 45%;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 0.8s ease-out forwards;
}
.about-hero .about-image img {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

/* Text column with hero heading */
.about-hero .hero-heading-section {
  flex: 1 1 300px;
  max-width: 45%;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 0.8s ease-out 0.3s forwards;
  text-align: left;
}

/* Hero heading style */
.hero-heading {
  display: inline-block;
  /* reduced from clamp(2rem,5vw,3rem) */
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #082790;
  /* remove padding-bottom */
  margin: 0 0 1rem;
  position: relative;
}

/* Paragraph in text column */
.about-hero .about-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Animations */
@keyframes fadeInLeft {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}


/* Responsive */
@media (max-width: 768px) {
  .about-hero .container {
    flex-direction: column;
    text-align: center;
    margin-bottom: -8rem;
  }
  .about-hero .about-image,
  .about-hero .hero-heading-section {
    max-width: 100%;
    transform: none;
    opacity: 1;
    animation: none;
  }
  .about-hero .decorative-dots {
    display: none;
  }
}
/* ── Section‑Scoped Styles ── */
.partners-section {
  position: relative;
  padding: 4rem 1rem;
  background: #f7f7fc;
  font-family: 'Poppins', sans-serif;
}
.partners-container {
  max-width: 1140px;
  margin: 0 auto;
}
/* Header */
.partners-header {
  text-align: left;
  margin-bottom: 2rem;
}
.section-label {
  display: block;
  font-size: clamp(1.5rem,2.5vw,2rem);
  font-weight: 500;
  color: #07257E;
  margin-bottom: 0.1rem;
}
.section-title {
  display: inline-block;
  font-size: clamp(2.5rem,4vw,3.5rem);
  font-weight: 700;
  color: #07257E;
  border-bottom: 3px solid #07257E;
  padding-bottom: 0.25rem;
  margin: 0;
}
.section-subtitle {
  margin: 0.25rem 0 2rem;
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
}
/* Marquee */
.logo-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  cursor: grab;
  user-select: none;
}
.logo-marquee.active {
  cursor: grabbing;
}
.logo-track {
  display: flex;
  width: max-content;
}
.logo-item {
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.logo-item img {
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.3s ease;
  pointer-events: none; /* prevent native drag on image */
}
.logo-item:hover img {
  filter: none;
  transform: scale(1.05);
}
/* Responsive */
@media (max-width:768px) {
  .partners-header { text-align: center; }
  .section-subtitle { white-space: normal; }
  .logo-item { flex: 0 0 120px; }
  .logo-item img { max-width: 90px; }
}
.logo-item {
  flex: 0 0 auto;
  width: 170px;      /* was 150px */
  height: 170px;     /* was 150px */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 10px;
  position: relative;
}

.logo-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center;
  max-width: none !important;
  max-height: none !important;
}
.csg-contact-section {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  max-height: 90vh;
  font-family: 'Poppins', sans-serif;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -6.5rem;
  padding-bottom: 10rem;
  padding-top: 10rem;
}

/* Background Slider */
.csg-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -3;
}
.csg-slide {
  position: absolute;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(1.1) grayscale(100%);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.csg-slide.active {
  opacity: 1;
}

/* Dark Overlay */
.csg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -2;
}

/* Card Styling */
.csg-card {
  background: rgba(0, 25, 69, 0.4);
  padding: 2.5rem 3rem;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  animation: slideInLeft 1s ease-out;
  width: 95%;          /* Card fills most of the screen */
  max-width: 1400px;   /* max width limit */
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Slide-in Animation */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Title & Icon */
.csg-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.csg-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
.csg-title h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0.2rem 0 0;
  text-transform: uppercase;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}
.csg-icon {
  width: 48px;
  height: 48px;
}

/* Info Block */
.csg-info-inner {
  padding-left: 0; /* Default: no left padding on mobile */
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}
.csg-info p {
  margin: 0.5rem 0;
  font-size: inherit;
  font-family: inherit;
  white-space: normal;
}

/* Map Block */
.csg-map {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}
.csg-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  filter: grayscale(100%) brightness(0.8);
}
.csg-map::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* Desktop Only (992px and above) */
@media (min-width: 992px) {
  .csg-info-inner {
    padding-left: 60px; /* Restore padding on desktop only */
  }
}

/* Mobile and Tablet View */
@media (max-width: 991px) {
  .csg-card {
    width: 90%; /* narrower on smaller screens */
  }
  .csg-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .csg-info-inner {
    padding-left: 0;
  }
  .csg-icon {
    width: 40px;
    height: 40px;
  }

}

