/* ==========================================================================
   COMPANY-PROFILE.CSS
   Page layer for satkar-software-satkar-infotech-company-profile.html.
   Builds on service-modern.css (.svc-section, .svc-eyebrow, .svc-title,
   .svc-p, .svc-bg--white / --soft rhythm). Scoped under .cp-page.
   The page banner and #cta keep their global styles.
   Loaded AFTER service-modern.css.
   ========================================================================== */

.cp-page {
  --accent: #044a9e;
  --accent2: #1c6fd0;
  --cp-navy: #062a6b;
  --cp-deep: #041b47;
  --cp-pale: #eaf5ff;
  --cp-line: rgba(6, 42, 107, 0.12);
  --cp-shadow: 0 10px 34px rgba(6, 42, 107, 0.08);
  --cp-shadow-lg: 0 24px 60px rgba(6, 42, 107, 0.16);
  --svc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.cp-page .svc-section {
  padding: 80px 0;
}

.cp-page .svc-title {
  color: var(--cp-navy);
}

.cp-page .svc-title span {
  color: var(--accent2);
}

.cp-lead {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 14px;
}

/* shared photo frame: rounded image with an offset accent block behind it */
.cp-frame {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--cp-shadow-lg);
}

.cp-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.9s var(--svc-ease);
}

.cp-frame:hover img {
  transform: scale(1.05);
}

.cp-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

/* small pill tag used by vision / mission */
.cp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cp-pale);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cp-tag--light {
  background: rgba(255, 255, 255, 0.1);
  color: #9fcbff;
}

/* --------------------------------------------------------------------------
   1. WHO WE ARE
   -------------------------------------------------------------------------- */
.cp-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.cp-about__media {
  position: relative;
  padding: 0 0 34px 34px;
}

/* offset accent block */
.cp-about__media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent2), var(--cp-navy));
  opacity: 0.9;
}

.cp-about__badge {
  position: absolute;
  z-index: 2;
  left: -40px;
  bottom: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cp-shadow-lg);
}

.cp-about__badge-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent2);
}

.cp-about__badge-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--cp-navy);
}

.cp-about__founder {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 54px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(4, 27, 71, 0.78);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  backdrop-filter: blur(6px);
}

.cp-services {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cp-services li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--cp-pale);
  border: 1px solid var(--cp-line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cp-navy);
}

.cp-services i {
  color: var(--accent2);
}

/* key facts strip */
.cp-facts {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 20px;
  background: linear-gradient(120deg, var(--cp-deep) 0%, var(--cp-navy) 60%, #0d4a9e 100%);
  box-shadow: var(--cp-shadow-lg);
  overflow: hidden;
}

.cp-fact {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  padding: 26px 26px;
}

.cp-fact + .cp-fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.cp-fact__icon {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #9fcbff;
  font-size: 1.2rem;
}

.cp-fact__value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.25;
  color: #fff;
}

.cp-fact__label {
  font-size: 0.84rem;
  line-height: 1.4;
  color: #b9cbe3;
}

/* --------------------------------------------------------------------------
   2. OUR REACH
   -------------------------------------------------------------------------- */
.cp-reach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.cp-route {
  position: relative;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  max-width: 440px;
}

/* dashed route line through the three stops */
.cp-route::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 21px;
  border-top: 2px dashed rgba(28, 111, 208, 0.45);
}

.cp-route li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cp-navy);
}

.cp-route__dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--accent2);
  box-shadow: var(--cp-shadow);
  border: 1px solid var(--cp-line);
}

.cp-route li:last-child .cp-route__dot {
  background: var(--cp-navy);
  border-color: var(--cp-navy);
  color: #fff;
}

.cp-reach__media {
  position: relative;
  padding: 18px 18px 0 0;
}

/* tilted backing card */
.cp-frame--tilt {
  transform: rotate(1.5deg);
}

.cp-reach__media::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  border-radius: 22px;
  border: 2px dashed rgba(28, 111, 208, 0.35);
}

.cp-reach__goals {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: -34px 20px 0;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cp-shadow-lg);
}

.cp-reach__goals li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--cp-pale);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--cp-navy);
}

.cp-reach__goals i {
  color: var(--accent2);
}

/* --------------------------------------------------------------------------
   3. VISION & MISSION
   -------------------------------------------------------------------------- */
.cp-vm__head {
  text-align: center;
  margin-bottom: 40px;
}

.cp-vm__head .svc-eyebrow {
  justify-content: center;
}

.cp-vision {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  padding: 44px 48px;
  border-radius: 24px;
  background: linear-gradient(125deg, var(--cp-deep) 0%, var(--cp-navy) 55%, #0d4a9e 100%);
  color: #c9d8ec;
  box-shadow: var(--cp-shadow-lg);
  overflow: hidden;
}

.cp-vision::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.04);
}

.cp-vision h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.cp-vision p {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  padding-left: 28px;
  border-left: 2px solid rgba(159, 203, 255, 0.4);
}

.cp-vision__mark {
  position: absolute;
  right: 28px;
  bottom: -18px;
  font-size: 8rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cp-mission {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  margin-top: 28px;
  padding: 44px 48px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--cp-line);
  box-shadow: var(--cp-shadow);
}

.cp-mission__intro h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3;
  color: var(--cp-navy);
  margin: 0 0 14px;
}

.cp-mission__intro p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text2);
  margin: 0;
}

.cp-mission__list {
  list-style: none;
  counter-reset: cp-mission;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cp-mission__list li {
  counter-increment: cp-mission;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 16px;
  border-radius: 14px;
  background: var(--cp-pale);
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--cp-navy);
  transition: background 0.3s var(--svc-ease), border-color 0.3s var(--svc-ease), transform 0.3s var(--svc-ease);
}

.cp-mission__list li::before {
  content: counter(cp-mission, decimal-leading-zero);
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--accent2);
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 4px 12px rgba(6, 42, 107, 0.08);
}

.cp-mission__list li:hover {
  background: #fff;
  border-color: rgba(28, 111, 208, 0.3);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   4. OUR APPROACH
   -------------------------------------------------------------------------- */
.cp-approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.cp-approach__media {
  position: relative;
  padding: 0 34px 34px 0;
}

.cp-approach__media::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border-radius: 22px;
  background-image: radial-gradient(rgba(28, 111, 208, 0.45) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

.cp-approach__stamp {
  position: absolute;
  z-index: 2;
  left: -16px;
  bottom: 64px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--accent2);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 16px 34px rgba(28, 111, 208, 0.35);
}

.cp-mix {
  list-style: none;
  margin: 4px 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cp-mix li {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--cp-line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--cp-navy);
}

/* "+" between the combined capabilities */
.cp-mix li + li::before {
  content: "+";
  margin: 0 10px 0 -2px;
  color: var(--accent2);
  font-weight: 800;
}

.cp-goal {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fff;
  border-left: 4px solid var(--accent2);
  box-shadow: var(--cp-shadow);
}

.cp-goal i {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cp-pale);
  color: var(--accent2);
  font-size: 1.15rem;
}

.cp-goal p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--cp-navy);
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .cp-about__grid,
  .cp-reach__grid,
  .cp-approach__grid {
    gap: 44px;
  }

  .cp-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-fact:nth-child(3)::before {
    display: none;
  }

  .cp-fact:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .cp-mission {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 991.98px) {
  .cp-page .svc-section {
    padding: 60px 0;
  }

  .cp-about__grid,
  .cp-reach__grid,
  .cp-approach__grid {
    grid-template-columns: 1fr;
  }

  .cp-about__media,
  .cp-reach__media,
  .cp-approach__media {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }

  /* reach: image first on stacked layouts, like the other two sections */
  .cp-reach__media {
    order: -1;
  }

  .cp-about__badge {
    right: 0;
  }

  .cp-approach__stamp {
    left: 0;
  }

  .cp-vision {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 32px;
  }

  .cp-vision p {
    padding-left: 20px;
  }

  .cp-mission {
    padding: 36px 32px;
  }

  .cp-facts {
    margin-top: 48px;
  }
}

@media (max-width: 767.98px) {
  .cp-mission__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .cp-page .svc-section {
    padding: 50px 0;
  }

  .cp-about__media {
    padding: 0 0 22px 22px;
  }

  .cp-approach__media {
    padding: 0 22px 22px 0;
  }

  .cp-about__badge {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -28px 12px 0;
  }

  .cp-about__founder {
    top: 12px;
    left: 34px;
    font-size: 0.76rem;
  }

  .cp-approach__stamp {
    bottom: 40px;
    padding: 11px 16px;
    font-size: 0.86rem;
  }

  .cp-facts {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .cp-fact {
    padding: 20px 22px;
  }

  .cp-fact + .cp-fact::before {
    display: none;
  }

  .cp-fact + .cp-fact {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .cp-reach__goals {
    grid-template-columns: 1fr;
    margin: -24px 10px 0;
  }

  .cp-vision,
  .cp-mission {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .cp-vision p {
    padding-left: 16px;
  }

  .cp-goal {
    padding: 18px;
    gap: 12px;
  }
}

@media (max-width: 374.98px) {
  .cp-route li {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-frame img,
  .cp-mission__list li {
    transition: none;
  }

  .cp-frame:hover img,
  .cp-mission__list li:hover {
    transform: none;
  }
}
