

/* 1. Variables & Colors */
.ebci6 {
  --ebci6-bg: #FFFFFF;
  --ebci6-text: #46504A;
  --ebci6-title: #0B2A4A;
  --ebci6-border: #7b817e;

  --ebci6-card-bg: #0B2A4A;
  --ebci6-card-title: #E8F7F8;
  --ebci6-card-text: #E8F7F8;
  --ebci6-card-btn: #0B9AA5;

  --ebci6-card-bg-alt: #E8F7F8;
  --ebci6-card-title-alt: #0B2A4A;
  --ebci6-card-text-alt: #0B2A4A;
  --ebci6-card-btn-alt: #0B9AA5;

  --ebci6-btn-bg: #0B9AA5;
  --ebci6-btn-text: #FFFFFF;

  --ebci6-padding-top: 4rem;
  --ebci6-padding-bottom: 4rem;
}

/* 2. Reset داخل الـ namespace */
*, 
.ebci6, .ebci6 *, .ebci6 *::before, .ebci6 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.ebci6 a { text-decoration: none; }
/* 3. Base Styles — Mobile */
.ebci6 {
  position: relative;
  overflow: hidden;
  background: var(--ebci6-bg);
  padding-top: var(--ebci6-padding-top);
  padding-bottom: var(--ebci6-padding-bottom);
  font-family: "El Messiri", sans-serif;
  direction: rtl;
}

.ebci6__container {
  position: relative;
  max-width: 75rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.ebci6__header {
  text-align: right;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  animation: ebci6-fade-up 0.6s ease both;
}

.ebci6__eyebrow {
  display: inline-block;
  font-size: clamp(0.75rem, 3vw, 0.85rem);
  font-weight: 600;
  color: var(--ebci6-title);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.ebci6__title {
  font-size: clamp(1.5rem, 6vw, 2.rem);
  font-weight: 700;
  color: var(--ebci6-title);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.ebci6__subtitle {
  font-size: clamp(0.9rem, 3.5vw, 1.05rem);
  color: var(--ebci6-text);
  line-height: 1.7;
}

.ebci6__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ebci6__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.ebci6__info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--ebci6-card-bg);
  border-radius: 1rem;
  box-shadow: 0 0.4rem 1.2rem rgba(20, 83, 45, 0.12);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: ebci6-fade-up 0.6s ease both;
}
.ebci6__info-item:nth-child(1) { animation-delay: 0.05s; }
.ebci6__info-item:nth-child(2) { animation-delay: 0.15s; }
.ebci6__info-item:nth-child(3) { animation-delay: 0.25s; }

.ebci6__info-item:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 1.6rem rgba(20, 83, 45, 0.18);
}

.ebci6__info-item:nth-child(even) {
  background: var(--ebci6-card-bg-alt);
  border: 0.0625rem solid var(--ebci6-border);
}

.ebci6__info-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--ebci6-card-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ebci6__info-item:nth-child(even) .ebci6__info-icon {
  background: rgba(20, 83, 45, 0.1);
  color: var(--ebci6-card-btn-alt);
}

.ebci6__info-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ebci6__info-label {
  font-size: clamp(0.75rem, 3vw, 0.8rem);
  font-weight: 600;
  color: var(--ebci6-card-title);
  opacity: 0.85;
}

.ebci6__info-item:nth-child(even) .ebci6__info-label {
  color: var(--ebci6-card-title-alt);
}

.ebci6__info-value {
  font-size: clamp(0.85rem, 3.2vw, 0.95rem);
  color: var(--ebci6-card-text);
  line-height: 1.6;
}

.ebci6__info-item:nth-child(even) .ebci6__info-value {
  color: var(--ebci6-card-text-alt);
}

.ebci6__social {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  animation: ebci6-fade-up 0.6s ease 0.3s both;
}

.ebci6__social-link {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ebci6-btn-bg);
  color: var(--ebci6-btn-text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ebci6__social-link:hover {
  transform: translateY(-0.15rem);
  background: var(--ebci6-border);
}

@keyframes ebci6-fade-up {
  from { opacity: 0; transform: translateY(0.9rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* 4. Breakpoints */
@media (min-width: 481px) {
  .ebci6__info-item { padding: 1.65rem; }
}

@media (min-width: 601px) {
  .ebci6__container { padding-left: 2rem; padding-right: 2rem; }
  .ebci6__info { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) {
  .ebci6 { --ebci6-padding-top: 5rem; --ebci6-padding-bottom: 5rem; }
  .ebci6__info { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

@media (min-width: 1025px) {
  .ebci6 { --ebci6-padding-top: 6rem; --ebci6-padding-bottom: 6rem; }
  .ebci6__container { max-width: 68rem; }
  .ebci6__info-item { padding: 2rem; }
}

@media (min-width: 1281px) {
  .ebci6__container { max-width: 72rem; }
}

@media (min-width: 1441px) {
  .ebci6__container { max-width: 78rem; }
  .ebci6__info { gap: 1.75rem; }
}

@media (min-width: 1921px) {
  .ebci6 { --ebci6-padding-top: 8rem; --ebci6-padding-bottom: 8rem; }
  .ebci6__container { max-width: 90rem; }
}