/* ===== COMPANY HEADER OVERRIDE ===== */
.company-page {
  --header-bg-rgb: 61, 79, 95;
}

/* ===== COMPANY HERO ===== */
.company-hero {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.company-hero-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 50%;
  background: #3d4f5f;
  z-index: 1;
}

.company-hero-right {
  position: relative;
  width: 65%;
  margin-left: 35%;
  overflow: hidden;
  z-index: 2;
}

.company-hero-right img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center top;
  transform-origin: top center;
  filter: grayscale(90%) contrast(1.1);
}

.company-hero-title {
  position: absolute;
  top: 28%;
  left: 26%;
  z-index: 12;
  pointer-events: none;
}

.company-hero-title h1 {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .company-hero {
    margin-top: -72px;
  }

  .company-hero-left {
    height: 544px;
  }
}

/* ===== COMPANY INTRO ===== */
.company-intro {
  padding: 64px 0 60px;
  background: #fff;
}

.company-intro-heading {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.company-intro-subheading {
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.company-intro-text {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  max-width: 800px;
}

/* ===== OUR PLATFORM ===== */
.company-platform {
  padding: 64px 0 0;
  background: #fff;
}

.company-platform-heading {
  font-size: 44px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.company-platform-subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 32px;
}

.company-platform-content {
  margin-bottom: 48px;
}

.company-platform-text {
  max-width: 500px;
  margin-left: auto;
}

.company-platform-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
}

.company-platform-image {
  width: 100%;
  overflow: hidden;
}

.company-platform-image img {
  max-width: 100%;
  max-height: 550px;
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: grayscale(15%) brightness(1.3);
}

/* ===== OUR INTEGRATED PARTNERS ===== */
.company-partners {
  padding: 72px 0 80px;
  background: #fff;
}

.company-partners-heading {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.company-partners-text {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 48px;
  max-width: 900px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  background: #f7f7f7;
  padding: 40px 28px 36px;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 100px;
  margin-bottom: 24px;
}

.partner-logo img {
  max-height: 70px;
  max-width: 180px;
  object-fit: contain;
}

.partner-logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a1a1a;
}

.partner-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.4;
}

.partner-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ===== CONSTRUCTION PARTNERS ===== */
.company-construction {
  padding: 72px 0 80px;
  background: #fff;
}

.construction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.construction-image {
  height: 100%;
}

.construction-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.construction-info {
  display: flex;
  flex-direction: column;
}

.construction-info h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.construction-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 16px;
}

.construction-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.construction-doc-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #e6f0fb;
  border: 1px solid #bfd3ea;
  border-radius: 16px;
  font-size: 14px;
  color: #143554;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.construction-doc-link:hover {
  background: #d9e8f9;
  border-color: #9dbce0;
  color: #0f2840;
}

.construction-doc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c8dbf0;
  color: #24527f;
  flex-shrink: 0;
}

.construction-doc-icon svg {
  width: 20px;
  height: 20px;
}

/* ===== MEET THE TEAM ===== */
.company-team {
  padding: 80px 0;
  background: #fff;
}

.company-team-heading {
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.company-team-subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
}

.team-photo {
  margin-bottom: 16px;
  overflow: hidden;
}

.team-photo img {
  width: 300px;
  height: 341px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-member h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1px;
}

.team-member h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.team-member p {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

/* ===== OUR EXPERTISE ===== */
.company-expertise {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.company-expertise-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(40%);
}

.company-expertise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.company-expertise-band {
  width: 100%;
  background: rgba(255, 255, 255, 0.82);
  padding: 48px 0;
}

.company-expertise-overlay h2 {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.company-expertise-overlay p {
  font-size: 14px;
  color: #555;
  margin-bottom: 28px;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: #1a2332;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.3px;
  border-radius: 16px;
}

.btn-explore:hover {
  background: #111827;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .company-hero {
    margin-top: -60px;
    min-height: 396px;
  }

  .company-hero-left {
    width: 35%;
    height: 90%;
    min-height: 0;
  }

  .company-hero-right {
    width: 65%;
    margin-left: 35%;
  }

  .company-hero-right img {
    height: 396px;
  }

  .company-hero-title {
    top: 55%;
    left: calc(24px + 15%);
    right: auto;
    transform: translateY(-50%);
    max-width: 58%;
  }

  .company-hero-title h1 {
    font-size: 30px;
    white-space: nowrap;
  }

  .company-platform-heading,
  .company-team-heading {
    font-size: 34px;
  }

  .company-platform-text {
    margin-left: 0;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .construction-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
