/* =====================================================
   File: public/css/landing/08-learn-more.css
   Learn More (FIGMA 4-CARDS + "عرض المزيد")
   ✅ Uses current Blade classes: page-header / section-title / section-subtitle
   ✅ Orange icon bigger + boxed
===================================================== */

#learn-more.learn-more-section{
  background: #fff;
  overflow: visible;
}

/* =========================
   Header
========================= */
#learn-more .page-header{
  text-align: center;
  margin-bottom: 34px;
}

#learn-more .section-title{
  margin: 0;
  color: #f59e0b;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 35.2px;
  line-height: 1.15;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  direction: rtl;
}

#learn-more .section-subtitle{
  margin: 14px auto 0;
  max-width: 900px;
  color: #8a8f98;
  font-family: 'Cairo', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
}

/* ✅ Title icon box */
#learn-more .title-icon{
  width: 44px;   /* bigger */
  height: 44px;  /* bigger */
  border-radius: 14px;

  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* ✅ Icon (orange) */
#learn-more .title-icon-svg{
  width: 28px;   /* bigger */
  height: 28px;  /* bigger */
  display: block;
  /* הפלتر السحري لتحويل اللون الأسود إلى برتقالي */
  filter: invert(63%) sepia(88%) saturate(2200%) hue-rotate(2deg) brightness(102%) contrast(102%);
}

/* =========================
   Grid
========================= */
#learn-more .learn-more-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: stretch;
}

#learn-more .learn-more-left{
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 22px;
}

#learn-more .learn-more-right{
  display: grid;
}

/* =========================
   Cards
========================= */
#learn-more .learn-card{
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 170px;
  box-shadow: var(--shadow-md);
  transform: translateY(0);
  transition: transform .35s ease, box-shadow .35s ease;
  background: var(--primary-blue-dark);
}

#learn-more .learn-card.is-tall{
  min-height: 100%;
}

#learn-more .learn-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(6, 53, 114, 0.22);
}

#learn-more .learn-card .learn-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: .95;
}

#learn-more .learn-card:hover .learn-bg{
  transform: scale(1.08);
}

#learn-more .learn-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 27, 55, .65) 0%, rgba(6, 27, 55, .78) 55%, rgba(6, 27, 55, .88) 100%);
  pointer-events: none;
}

#learn-more .learn-card .learn-title{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.35;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

#learn-more .learn-card.is-small .learn-title{
  font-size: 23px;
}

/* =========================
   Actions ("عرض المزيد")
========================= */
#learn-more .learn-more-actions{
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 1.8rem;
  margin-top: 26px;
}

#learn-more .learn-more-more{
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  padding: 0.9rem 2.2rem;
  border-radius: 50px;

  background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: #fff;
  font-weight: 900;
  text-decoration: none;

  box-shadow: var(--shadow-md);
  border: 2px solid rgba(245, 158, 11, 0.55);

  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#learn-more .learn-more-more:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(7, 43, 102, 0.34);
  border-color: rgba(245, 158, 11, 0.85);
}

#learn-more .learn-more-more-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1100px){
  #learn-more .learn-more-grid{
    grid-template-columns: 1fr;
  }

  #learn-more .learn-more-left{
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }

  #learn-more .learn-card.is-tall{
    min-height: 260px;
  }
}

@media (max-width: 520px){
  #learn-more.learn-more-section{
    padding: 4.5rem 0;
  }

  #learn-more .section-title{
    font-size: 30px;
  }

  #learn-more .title-icon{
    width: 36px;
    height: 36px;
  }

  #learn-more .title-icon-svg{
    width: 22px;
    height: 22px;
  }

  #learn-more .learn-card .learn-title{
    font-size: 22px;
  }

  #learn-more .learn-card.is-small .learn-title{
    font-size: 20px;
  }
}