/* ============================================================
   WebCOSS UK and India Country Landing Pages
   Shared SaaS-style layout with lightweight rendering.
============================================================ */
.webcoss-location-page {
  --location-navy: #06163c;
  --location-navy-2: #0b2355;
  --location-blue: #4a8fe8;
  --location-accent: var(--primary-color, #8bc1ff);
  --location-text: #5f6d83;
  --location-muted: #7c8799;
  --location-border: #dce5f0;
  --location-soft: #f4f7fb;
  --location-white: #ffffff;
  color: var(--location-text);
  background: #ffffff;
}

.webcoss-location-page--india {
  --location-blue: #397fd7;
  --location-accent: #8fc4ff;
}

.webcoss-location-page *,
.webcoss-location-page *::before,
.webcoss-location-page *::after {
  box-sizing: border-box;
}

.webcoss-location-section {
  padding: 108px 0;
}

.webcoss-location-section:nth-of-type(n + 4) {
  content-visibility: auto;
  contain-intrinsic-size: 850px;
}

/* Scope country-page typography to country sections only.
   Reusable FAQ and CTA components keep their established Home/About design. */
.webcoss-location-section h2,
.webcoss-location-section h3,
.webcoss-location-section p {
  margin-top: 0;
}

.webcoss-location-section h2 {
  color: var(--location-navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.webcoss-location-section h3 {
  color: var(--location-navy);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
}

.webcoss-location-section p {
  font-size: 16px;
  line-height: 1.75;
}

.webcoss-location-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--location-blue);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.webcoss-location-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: var(--location-accent);
}

.webcoss-location-section-heading {
  max-width: 800px;
  margin-bottom: 52px;
}

.webcoss-location-section-heading h2 {
  margin-bottom: 20px;
}

.webcoss-location-section-heading > p {
  max-width: 730px;
}

.webcoss-location-section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 58px;
}

.webcoss-location-section-heading--split h2 {
  margin-bottom: 0;
}

/* Introduction */
.webcoss-location-intro {
  background: #ffffff;
}

.webcoss-location-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 82px;
}

.webcoss-location-heading {
  position: sticky;
  top: 130px;
}

.webcoss-location-prose {
  display: grid;
  gap: 18px;
}

.webcoss-location-prose p:first-child {
  color: var(--location-navy);
  font-size: 20px;
  line-height: 1.65;
}

.webcoss-location-signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
  border-top: 1px solid var(--location-border);
  border-bottom: 1px solid var(--location-border);
}

.webcoss-location-signal-strip span {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 20px;
  color: var(--location-navy);
  font-size: 13px;
  font-weight: 800;
  border-right: 1px solid var(--location-border);
}

.webcoss-location-signal-strip span:last-child {
  border-right: 0;
}

.webcoss-location-signal-strip i {
  color: var(--location-blue);
}


/* Font Awesome 5 icon alignment */
.webcoss-location-signal-strip i,
.webcoss-location-why-line > span i,
.webcoss-location-industry-head > span i,
.webcoss-location-technology-list article > span i,
.webcoss-location-market-note i,
.webcoss-location-contact-line i,
.webcoss-location-areas address i {
  width: 1em;
  display: inline-block;
  line-height: 1;
  text-align: center;
}

/* Services: editorial rows instead of card grid */
.webcoss-location-services {
  background: var(--location-soft);
}

.webcoss-location-service-list {
  border-top: 1px solid var(--location-border);
}

.webcoss-location-service-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--location-border);
}

.webcoss-location-service-number {
  color: #a9b8ca;
  font-family: var(--heading-font, "Ubuntu", sans-serif);
  font-size: 14px;
  font-weight: 800;
}

.webcoss-location-service-copy > span {
  display: block;
  margin-bottom: 7px;
  color: var(--location-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.webcoss-location-service-copy h3 {
  margin-bottom: 9px;
}

.webcoss-location-service-copy p {
  max-width: 820px;
}

.webcoss-location-service-row > a,
.webcoss-location-project-heading-copy > a,
.webcoss-location-project-copy > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--location-navy);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.webcoss-location-service-row > a:hover,
.webcoss-location-project-heading-copy > a:hover,
.webcoss-location-project-copy > a:last-child:hover {
  color: var(--location-blue);
}

/* Market needs: dark dashboard */
.webcoss-location-market {
  background: #ffffff;
}

.webcoss-location-market-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 58px;
  padding: 58px;
  border-radius: 34px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--location-navy);
}

.webcoss-location-market-copy .webcoss-location-eyebrow,
.webcoss-location-technology-copy .webcoss-location-eyebrow,
.webcoss-location-trust-shell .webcoss-location-eyebrow {
  color: var(--location-accent);
}

.webcoss-location-market-copy h2,
.webcoss-location-technology-copy h2,
.webcoss-location-trust-shell h2 {
  color: #ffffff;
}

.webcoss-location-market-copy > p,
.webcoss-location-technology-copy > p,
.webcoss-location-trust-shell > div > p {
  color: rgba(255, 255, 255, 0.68);
}

.webcoss-location-market-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.webcoss-location-market-note i {
  color: var(--location-accent);
  margin-top: 5px;
}

.webcoss-location-market-note span {
  font-size: 13px;
  line-height: 1.65;
}

.webcoss-location-market-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.webcoss-location-market-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.webcoss-location-market-list article > span {
  color: var(--location-accent);
  font-size: 12px;
  font-weight: 800;
}

.webcoss-location-market-list h3 {
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 17px;
}

.webcoss-location-market-list p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.6;
}

/* Why choose: compact two-column lines */
.webcoss-location-why {
  background: var(--location-soft);
}

.webcoss-location-why-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--location-border);
}

.webcoss-location-why-line {
  min-height: 130px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 26px 26px 26px 0;
  border-bottom: 1px solid var(--location-border);
}

.webcoss-location-why-line:nth-child(odd) {
  padding-right: 40px;
  border-right: 1px solid var(--location-border);
}

.webcoss-location-why-line:nth-child(even) {
  padding-left: 40px;
}

.webcoss-location-why-line > span {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #367fdc;
  background: #eaf4ff;
}

.webcoss-location-why-line strong,
.webcoss-location-why-line small {
  display: block;
}

.webcoss-location-why-line strong {
  margin-bottom: 7px;
  color: var(--location-navy);
  font-size: 16px;
}

.webcoss-location-why-line small {
  color: var(--location-text);
  font-size: 13px;
  line-height: 1.6;
}

/* Industries */
.webcoss-location-industries {
  background: #ffffff;
}

.webcoss-location-industry-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--location-border);
  border-left: 1px solid var(--location-border);
}

.webcoss-location-industry-index article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--location-border);
  border-bottom: 1px solid var(--location-border);
}

.webcoss-location-industry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.webcoss-location-industry-head > span {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #367fdc;
  background: #eaf4ff;
}

.webcoss-location-industry-head small {
  color: #b3c0cf;
  font-weight: 800;
}

.webcoss-location-industry-index h3 {
  margin: 38px 0 10px;
}

.webcoss-location-industry-index p {
  font-size: 14px;
  line-height: 1.65;
}

/* Process */
.webcoss-location-process {
  background: var(--location-soft);
}

.webcoss-location-process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.webcoss-location-process-track::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: var(--location-border);
}

.webcoss-location-process-step {
  position: relative;
  padding-right: 22px;
}

.webcoss-location-process-marker {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.webcoss-location-process-marker span {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 8px solid var(--location-soft);
  border-radius: 50%;
  color: #ffffff;
  background: var(--location-blue);
  font-size: 12px;
  font-weight: 800;
}

.webcoss-location-process-step h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.webcoss-location-process-step p {
  font-size: 13px;
  line-height: 1.62;
}

/* Technology command centre */
.webcoss-location-technology {
  background: #ffffff;
}

.webcoss-location-technology-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 50px;
  padding: 52px;
  border-radius: 34px;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, #06163c 0%, #0d2b61 100%);
}

.webcoss-location-technology-command {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.webcoss-location-technology-command span {
  color: var(--location-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.webcoss-location-technology-command span i {
  margin-right: 7px;
  font-size: 8px;
}

.webcoss-location-technology-command strong {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
}

.webcoss-location-technology-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.webcoss-location-technology-list article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 118px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.webcoss-location-technology-list article > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--location-accent);
  background: rgba(139, 193, 255, 0.12);
}

.webcoss-location-technology-list strong,
.webcoss-location-technology-list small {
  display: block;
}

.webcoss-location-technology-list strong {
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 14px;
}

.webcoss-location-technology-list small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.5;
}

/* Projects */
.webcoss-location-projects {
  background: var(--location-soft);
}

.webcoss-location-project-heading-copy {
  display: grid;
  gap: 17px;
}

.webcoss-location-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.webcoss-location-project-card {
  overflow: hidden;
  border: 1px solid var(--location-border);
  border-radius: 24px;
  background: #ffffff;
}

.webcoss-location-project-image {
  height: 230px;
  display: block;
  overflow: hidden;
  background: #e9eff7;
}

.webcoss-location-project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.webcoss-location-project-copy {
  padding: 24px;
}

.webcoss-location-project-copy > span {
  display: block;
  margin-bottom: 9px;
  color: var(--location-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.webcoss-location-project-copy h3 {
  margin-bottom: 10px;
}

.webcoss-location-project-copy p {
  font-size: 14px;
  line-height: 1.65;
}

.webcoss-location-project-copy > a:last-child {
  margin-top: 17px;
}

.webcoss-location-empty {
  padding: 30px;
  border: 1px dashed #bcc9d9;
  border-radius: 20px;
  text-align: center;
}

/* Engagement options */
.webcoss-location-engagement {
  background: #ffffff;
}

.webcoss-location-engagement-list {
  border-top: 1px solid var(--location-border);
}

.webcoss-location-engagement-list > div {
  display: grid;
  grid-template-columns: 64px minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 23px 0;
  border-bottom: 1px solid var(--location-border);
}

.webcoss-location-engagement-list > div > span {
  color: #a9b8ca;
  font-size: 13px;
  font-weight: 800;
}

.webcoss-location-engagement-list strong {
  color: var(--location-navy);
  font-size: 16px;
}

.webcoss-location-engagement-list p {
  font-size: 14px;
  line-height: 1.65;
}

/* Trust band */
.webcoss-location-trust {
  padding-top: 0;
  background: #ffffff;
}

.webcoss-location-trust-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  padding: 48px 52px;
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--location-navy);
}

.webcoss-location-trust-shell ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
}

.webcoss-location-trust-shell li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.webcoss-location-trust-shell li i {
  color: var(--location-accent);
  margin-top: 4px;
}

/* Areas */
.webcoss-location-areas {
  background: var(--location-soft);
}

.webcoss-location-areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: center;
}

.webcoss-location-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 25px;
}

.webcoss-location-contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--location-navy);
  font-size: 13px;
  font-weight: 800;
}

.webcoss-location-contact-line i,
.webcoss-location-areas address i {
  color: var(--location-blue);
}

.webcoss-location-areas address {
  display: flex;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--location-text);
  font-size: 13px;
  line-height: 1.6;
  font-style: normal;
}

.webcoss-location-areas address i {
  margin-top: 5px;
}

.webcoss-location-city-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}

.webcoss-location-city-cloud span {
  padding: 12px 16px;
  border: 1px solid var(--location-border);
  border-radius: 999px;
  color: var(--location-navy);
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

/* The reusable FAQ and CTA intentionally inherit their global component
   styles from style.css, matching the Home and About pages exactly. */

/* Performance-safe hover enhancements */
@media (hover: hover) and (pointer: fine) {
  .webcoss-location-service-row,
  .webcoss-location-why-line,
  .webcoss-location-industry-index article,
  .webcoss-location-project-card,
  .webcoss-location-city-cloud span {
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .webcoss-location-service-row:hover,
  .webcoss-location-why-line:hover {
    background: rgba(255, 255, 255, 0.52);
  }

  .webcoss-location-industry-index article:hover,
  .webcoss-location-project-card:hover {
    border-color: #b7d5f7;
    box-shadow: 0 14px 32px rgba(6, 22, 60, 0.07);
    transform: translateY(-3px);
  }

  .webcoss-location-city-cloud span:hover {
    border-color: #a9ccf5;
    transform: translateY(-2px);
  }
}

@media (max-width: 1199.98px) {
  .webcoss-location-intro-grid,
  .webcoss-location-market-shell,
  .webcoss-location-technology-shell,
  .webcoss-location-trust-shell,
  .webcoss-location-areas-grid {
    grid-template-columns: 1fr;
  }

  .webcoss-location-heading {
    position: static;
  }

  .webcoss-location-process-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 22px;
  }

  .webcoss-location-process-track::before {
    display: none;
  }

  .webcoss-location-process-step {
    padding-right: 0;
  }

  .webcoss-location-project-grid,
  .webcoss-location-industry-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .webcoss-location-section {
    padding: 86px 0;
  }

  .webcoss-location-section-heading--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .webcoss-location-signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .webcoss-location-signal-strip span:nth-child(2) {
    border-right: 0;
  }

  .webcoss-location-market-shell,
  .webcoss-location-technology-shell,
  .webcoss-location-trust-shell {
    padding: 38px;
  }
}

@media (max-width: 767.98px) {
  .webcoss-location-section {
    padding: 70px 0;
  }

  .webcoss-location-section h2 {
    font-size: 34px;
  }

  .webcoss-location-service-row,
  .webcoss-location-engagement-list > div {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .webcoss-location-service-row > a {
    grid-column: 2;
  }

  .webcoss-location-engagement-list p {
    grid-column: 2;
  }

  .webcoss-location-why-lines,
  .webcoss-location-project-grid,
  .webcoss-location-industry-index,
  .webcoss-location-process-track,
  .webcoss-location-technology-list,
  .webcoss-location-trust-shell ul {
    grid-template-columns: 1fr;
  }

  .webcoss-location-why-line:nth-child(odd),
  .webcoss-location-why-line:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
  }

  .webcoss-location-market-shell,
  .webcoss-location-technology-shell,
  .webcoss-location-trust-shell {
    padding: 28px;
    border-radius: 24px;
  }

  .webcoss-location-industry-index {
    border-left: 0;
  }

  .webcoss-location-industry-index article {
    border-left: 1px solid var(--location-border);
  }
}

@media (max-width: 575.98px) {
  .webcoss-location-signal-strip {
    grid-template-columns: 1fr;
  }

  .webcoss-location-signal-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--location-border);
  }

  .webcoss-location-signal-strip span:last-child {
    border-bottom: 0;
  }

  .webcoss-location-market-shell,
  .webcoss-location-technology-shell,
  .webcoss-location-trust-shell {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .webcoss-location-page *,
  .webcoss-location-page *::before,
  .webcoss-location-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
