/* ═══════════════════════════════════════
   PARTNERS.CSS — HMC GROUP
═══════════════════════════════════════ */

/* ── PAGE HEADER ── */
.page-header {
  margin-top: 88px;
  height: 280px;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,32,88,0.72) 0%, rgba(8,40,120,0.45) 100%);
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 3;
  animation: fadeUp 0.9s ease both;
}

.page-header-h1 {
  font-size: 46px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.page-header-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.7;
}

/* ── PARTNERS SECTION ── */
.partners-section {
  padding: 80px;
  background: var(--off-white);
}

/* ── HEADER — في المنتصف زي كومبانيز ── */
.partners-header {
  text-align: center;
  margin-bottom: 64px;
}

.partners-intro-text {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.85;
  max-width: 700px;
  margin: 0 auto;
}

/* ── GRID — زي كومبانيز ── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-item {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  padding: 28px 20px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--charcoal);
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold) !important;
}

/* ── PARTNER LOGO IMAGE ── */
.partner-item img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0%);
}

/* ═══════════════════════════════════════
   PARTNERS PAGE
═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .partners-section { padding: 72px 40px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .partners-section { padding: 60px 24px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .partner-item { height: 120px; padding: 20px 16px; }
  .partner-item img { max-height: 70px; }
}

@media (max-width: 480px) {
  .partners-section { padding: 48px 16px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-item { height: 100px; padding: 16px 12px; }
  .partner-item img { max-height: 56px; }
}