  
/* ===== Split Section ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
}

/* Left side */
.left {
  position: relative;
  padding: clamp(20%, 10%, 50%);
  display: flex;
  align-items: center;
}

.left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    url("left-bg.jpg"); /* ضع صورة الخلفية الباهتة */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.left::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 120px;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.9),
    #fff
  );
  z-index: 2;
}

.content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: var(--text-color);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  line-height: 1.9;
  font-size: clamp(15px, 1.1vw, 18px);
}

/* Right side */
.right {
  background-image: url("right-image.jpg"); /* صورة التوابل */
  background-size: cover;
  background-position: center;
  position: relative;
}

.right::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}


/* ===== Responsive ===== */
@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .left::after {
    display: none;
  }

  .right {
    min-height: 340px;
  }
}




/* ===== Section ===== */
.assurance{
  padding: 56px 0 64px;
}

.container{
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Title */
.title{
  margin: 0 0 44px;
  text-align: center;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 600;
  color: var(--heading);
  letter-spacing: .4px;
}

/* Cards layout */
.cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 80px);
  align-items: start;
}

/* Card */
.card-view{
  text-align: center;
  padding: 6px 8px;
      height: 60vh;
}

.card{
  text-align: center;
  padding: 6px 8px;
      
}
/* Circular image */
.avatar{
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 22px;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  background: #eee;
}

.avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card title */
.card-title{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 300;
  color: var(--subheading);
}

/* Card text */
.card-text{
  margin: 0;
  max-width: 360px;
  margin-inline: auto;
  line-height: 1.8;
  font-size: 18px;
  color: var(--text);
}

/* Responsive */
@media (max-width: 980px){
  .cards{
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .avatar{
    width: 190px;
    height: 190px;
  }

  .card-text{
    max-width: 520px;
  }
}

