/* ============================
   SECTION 6 – RED HAT PARTNERSHIP
   Custom styling using existing theme tokens
   ============================ */

.rh-partner-section {
  position: relative;
  background: radial-gradient(circle at top left, rgba(0, 255, 151, 0.09), transparent 55%),
              radial-gradient(circle at bottom right, rgba(44, 50, 254, 0.12), transparent 55%);
  overflow: hidden;
}

.rh-partner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url(assets/img/shape/header-noise.png);
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Top intro */
.rh-partner-intro {
  position: relative;
  z-index: 1;
}

.rh-kicker {
  align-items: center;
  flex-wrap: wrap;
}

.rh-partner-title {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.rh-partner-text {
  color: var(--color-gray);
  max-width: 750px;
}

/* Pills / badges */
.rh-pill,
.rh-status-pill,
.rh-small-pill,
.rh-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  background: #69251a;
    border: 1px solid #b93a26 ;
  color: white;
}

.rh-pill {
 
  color: white !important;
}

.rh-status-pill {
  margin-left: 6px;
 background: linear-gradient(52deg, #1d2c8d 0%, #b78077 49%, #f74f37 100%);
  color:white;

  border: none;
}

.rh-small-pill {
  font-size: 11px;
  padding: 4px 12px;
   background: #75453e;
    border: 1px solid #b93a26 ;
  color: white;
}

.rh-small-pill-outline {
    background: #75453e;
    border: 1px solid #b93a26 ;
  color: white;
}

.rh-meta-pill {
  font-size: 12px;
  padding: 4px 16px;
background: #75453e;
    border: 1px solid #b93a26 ;
  color: white;
}

/* Highlight card */
.rh-partner-highlight {
  position: relative;
  z-index: 1;
  padding: 26px 26px 24px;
  border-radius: 16px;
  backdrop-filter: blur(40px);
  background: radial-gradient(circle at top right, rgba(213, 88, 4, 0.647), transparent 55%),
              rgba(26, 49, 78, 0.96);
  
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.rh-partner-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url(assets/img/shape/header-noise.png);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.rh-highlight-header {
  align-items: center;
}

.rh-logo-wrap {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.rh-redhat-logo {
  max-width: 60px;
  max-height: 36px;
  object-fit: contain;
}

.rh-highlight-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray);
}

.rh-highlight-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
}

.rh-highlight-subtitle {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray);
  opacity: 0.9;
}

/* Chips */
.rh-chip-group,
.rh-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rh-chip,
.rh-chip-lg {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: white;
  background: rgba(0, 2, 15, 0.85);
  border: 1px solid rgb(202, 4, 4);
}

.rh-chip-lg {
  font-size: 13px;
  padding: 7px 14px;
  background: rgba(17, 18, 29, 0.9);
}

/* Generic card */
.rh-card {
  position: relative;
  padding: 24px 24px 26px;
  border-radius: 16px;
  backdrop-filter: blur(40px);
  background: rgba(11, 15, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.rh-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url(assets/img/service/noise.png);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.rh-card-header {
  justify-content: space-between;
  align-items: center;
}

.rh-card-title {
  font-size: 20px;
  letter-spacing: -0.04em;
  color: #f74f37 !important;
}

.rh-card-desc {
  margin-top: 10px;
  color: var(--color-gray);
  font-size: 14px;
}

/* List with dot */
.rh-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rh-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rh-list li:last-child {
  border-bottom: none;
}

.rh-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  margin-top: 6px;
  background: linear-gradient(52deg, #1d2c8d 0%, #b78077 49%, #f74f37 100%);
  box-shadow: 0 0 10px rgba(0, 255, 151, 0.7);
}

.rh-list h4 {
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.rh-list p {
  font-size: 13px;
  color: var(--color-gray);
}

/* Certifications */
.rh-cert-card {
  min-height: 100%;
}

.rh-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.rh-cert-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 2, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-cert-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(52deg, #1d2c8d 0%, #b78077 49%, #f74f37 100%);
  color:white;
  margin-bottom: 6px;
}

.rh-cert-item p {
  font-size: 13px;
  color: var(--color-gray);
}

.rh-cert-note {
  font-size: 12px;
  color: var(--color-gray);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: rgba(0, 2, 15, 0.8);
}

/* Quote card */
.rh-quote-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 16px;
  backdrop-filter: blur(40px);
  background: radial-gradient(circle at top right, rgba(213, 88, 4, 0.647), transparent 55%),
              rgba(26, 49, 78, 0.96);
  
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.rh-quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: url(assets/img/brand/noise02.png);
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.rh-quote-icon span {
  font-size: 48px;
  line-height: 1;
  color: var(--color-primary);
}

.rh-quote-text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-white);
}

.rh-quote-author {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray);
}

/* Logos / strip */
.rh-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rh-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 2, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: var(--color-gray);
}

.rh-dot-pill {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00ff97, #2c32fe);
}

.rh-dot-pill-alt {
  background: linear-gradient(135deg, #ffb600, #ff4d4d);
}

.rh-quote-sub {
  font-size: 12px;
  color: var(--color-gray);
  opacity: 0.9;
}

/* Spacing helper for medium screens */
.mb-60 {
  margin-bottom: 60px;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .rh-partner-highlight {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .rh-partner-title {
    font-size: 26px;
  }

  .rh-partner-highlight,
  .rh-card,
  .rh-quote-card {
    padding: 20px 16px;
  }

  .rh-logo-wrap {
    width: 60px;
    height: 60px;
  }

  .rh-chip-lg,
  .rh-chip {
    font-size: 12px;
  }
}
