/* RAM New Homepage Sections */

.ram-new-section {
  direction: rtl;
  font-family: 'Noto Kufi Arabic', sans-serif;
}

.ram-section-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.ram-section-head {
  text-align: center;
  margin-bottom: 42px;
}

.ram-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: #1e293b;
}

.ram-section-head .ram-line {
  width: 38px;
  height: 4px;
  background: #0b7a6f;
  border-radius: 99px;
  margin: 0 auto 14px;
}

.ram-section-head p {
  margin: 0 auto;
  max-width: 720px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.9;
}

/* WHY RAM */

#ram-why {
  padding: 85px 0;
  background: #ffffff;
}

.ram-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ram-why-card {
  background: #f8fafc;
  border: 1px solid #e7edf1;
  border-radius: 22px;
  padding: 30px 22px;
  text-align: center;
  transition: .3s ease;
}

.ram-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(11,122,111,.08);
  border-color: rgba(11,122,111,.25);
}

.ram-why-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(11,122,111,.10);
  color: #0b7a6f;
  font-size: 26px;
}

.ram-why-card h3 {
  margin: 0 0 10px;
  color: #1e293b;
  font-size: 18px;
  font-weight: 900;
}

.ram-why-card p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.9;
}

.ram-cert-note {
  margin-top: 26px;
  border-radius: 22px;
  background: #edf9f7;
  border: 1px solid rgba(11,122,111,.18);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ram-cert-note strong {
  display: block;
  color: #0b7a6f;
  margin-bottom: 4px;
}

.ram-cert-note span {
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

/* CLIENTS */

#ram-clients {
  padding: 80px 0;
  background: #f8fafc;
}

.ram-clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.ram-client-card {
  min-height: 125px;
  background: white;
  border: 1px solid #e8edf2;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 6px 20px rgba(15,23,42,.035);
}

.ram-client-type {
  color: #0b7a6f;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.ram-client-name {
  color: #1e293b;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 800;
}

/* MAINTENANCE */

#ram-maintenance {
  padding: 85px 0;
  background: #172533;
  color: white;
  position: relative;
  overflow: hidden;
}

#ram-maintenance:before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(11,122,111,.18);
  left: -140px;
  top: -140px;
}

.ram-maintenance-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 55px;
  align-items: center;
}

.ram-maintenance-copy .ram-badge {
  display: inline-block;
  background: rgba(20,184,166,.14);
  border: 1px solid rgba(20,184,166,.30);
  color: #5eead4;
  border-radius: 99px;
  padding: 8px 14px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
}

.ram-maintenance-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.35;
  font-weight: 900;
}

.ram-maintenance-copy > p {
  color: rgba(255,255,255,.70);
  line-height: 2;
  margin: 0 0 27px;
}

.ram-maintenance-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ram-maintenance-buttons a {
  text-decoration: none;
  border-radius: 13px;
  padding: 13px 21px;
  font-size: 14px;
  font-weight: 800;
}

.ram-main-btn {
  color: white;
  background: #0b7a6f;
}

.ram-alt-btn {
  color: white;
  border: 1px solid rgba(255,255,255,.30);
}

.ram-maintenance-list {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 25px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.ram-maintenance-item {
  display: flex;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.ram-maintenance-item:last-child {
  border-bottom: 0;
}

.ram-check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b7a6f;
  color: white;
  font-size: 14px;
}

.ram-maintenance-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.ram-maintenance-item small {
  color: rgba(255,255,255,.58);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .ram-why-grid,
  .ram-clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ram-maintenance-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  #ram-why,
  #ram-clients,
  #ram-maintenance {
    padding: 58px 0;
  }

  .ram-why-grid,
  .ram-clients-grid {
    grid-template-columns: 1fr;
  }

  .ram-cert-note {
    align-items: flex-start;
  }

  .ram-maintenance-buttons {
    flex-direction: column;
  }

  .ram-maintenance-buttons a {
    text-align: center;
    width: 100%;
  }
}
