@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

.may-about {
    display: flex;
    align-items: center;
    padding: 50px 20px;
    gap: 20px;
}
.sin-ab{
    margin-top: 100px;
}
.may-about .about-overlay {
    max-width: 50%;
    text-align: start;
    line-height: 1.6;
    padding: 0 80px;
}
.may-about .about-img {
    width: 50%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.may-about .about-img div{
    width: 100%;
    height: 450px;
    display: flex;
    background-color: var(--helperColor);
    background-image: url("../img/about1.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    align-items: center;
    justify-content: center;
    position: relative;
}

.may-about h1,.may-about h2 {
    font-size: 40px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}
.may-about h2::after,.may-about h1::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20%;
    height: 3px;
    background: var(--primaryColor);
    border-radius: 2px;
}

.may-about p {
    font-size: 22px;
    margin-bottom: 20px;
}

.veritcal {
    animation-name: veritcal;
    animation-timing-function: linear;
    animation-duration: 9s;
    animation-iteration-count: infinite;
    position: absolute;
    right: 0;
    top: -150px;
}

@keyframes veritcal {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  50% {
    -webkit-transform: translate3d(0, 30px, 0);
    transform: translate3d(0, 30px, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 992px) {
    .sin-ab{
        margin-top: 70px;
    }
    .may-about {
        flex-direction: column;
        text-align: center;
    }

    .may-about .about-overlay {
        padding: 0 20px;
        max-width: 100%;
    }

    .may-about .about-img {
        width: 100%;
    }

    .may-about h2 {
        font-size: 40px;
    }

    .may-about p {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .may-about {
        padding: 30px 10px;
        gap: 0;
    }

    .may-about .about-img  {
        width: 100%;
        height: 340px;
    }
    .may-about .about-img div {
        width: 100%;
        height: 300px;
    }
    .may-about .about-img div img{
        width: 100%;
        height: 300px;
    }
    .may-about h2 {
        font-size: 34px;
    }

    .may-about p {
        font-size: 20px;
    }
}

/* أضف هذا في ملف may_about.css */
.may-about {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin: 40px auto;
  border-right: 5px solid var(--secondaryColor); /* لمسة فنية على اليمين */
}

.about-overlay {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,245,245,0.95) 100%);
  padding: 50px;
}

/* ================= TESTIMONIALS STYLES (آراء العملاء) ================= */
.testimonials-section {
  padding: 80px 20px;
  background-color: var(--lightBg, #f4f6f8);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testi-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 4px solid transparent;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testi-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(23, 77, 118, 0.12);
  border-bottom: 4px solid var(--secondaryColor, #F39C12);
}

/* علامة الاقتباس الكبيرة في الخلفية */
.quote-icon {
  position: absolute;
  top: 20px;
  left: 20px; /* لليسار لأن اتجاه الموقع RTL */
  font-size: 80px;
  color: rgba(23, 77, 118, 0.04); /* لون خفيف جداً في الخلفية */
  z-index: -1;
  transition: color 0.4s ease, transform 0.4s ease;
}

.testi-card:hover .quote-icon {
  color: rgba(243, 156, 18, 0.1);
  transform: scale(1.1) rotate(-10deg);
}

/* نجوم التقييم */
.stars {
  color: #FFD700; /* لون ذهبي للنجوم */
  margin-bottom: 20px;
  font-size: 15px;
  letter-spacing: 2px;
}

/* نص التقييم */
.testi-text {
  color: var(--helperColor, #666);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 25px;
  font-style: italic;
  flex-grow: 1; /* لجعل بطاقات التقييم بنفس الطول حتى لو اختلف النص */
}

/* بيانات العميل */
.testi-author {
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.testi-author h4 {
  color: var(--primaryColor, #174D76);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.testi-author span {
  color: #888;
  font-size: 14px;
  font-weight: 600;
}

/* التجاوب مع الشاشات الصغيرة (الجوال) */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 15px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr; /* عرض البطاقات تحت بعضها في الجوال */
  }
}