  /* Overlay خفيف لتوضيح النص */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* يملى الشاشة بالكامل */
  background-image: url('../imgs/vision-bg.webp'); /* ضع رابط الصورة */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3); /* إضاءة سوداء خفيفة */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 20px;
}




.blog-section {
  padding: 100px 0;
background: linear-gradient(135deg,
#C9D0D6 0%,
#B2BAC2 45%,
#9AA3AD 85%,
#868F99 100%);
}

.section-title {
  text-align: center;
  color: #7A262A;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
}

/* تابلت */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* موبايل */
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  perspective: 1000px;
}

.blog-inner {
  position: relative;
  width: 100%;
  height: 320px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.blog-card:hover .blog-inner {
  transform: rotateY(180deg);
}

.blog-front,
.blog-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  padding: 30px;
  backface-visibility: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Front */
.blog-front {
  background: #868F99;
  color: #fff;
}

.blog-date {
  display: inline-block;
  background: #7A262A;
  color: #ddd;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-front h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color:#7A262A;
}

.blog-front p {
  font-size: 15px;
  line-height: 1.7;
  color: #ddd;
}

/* Back */
.blog-back {
  background: #2F3640;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button */
.blog-btn {
  background: #7A262A;
  color: #ddd;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.blog-btn:hover {
  background: #fff;
  color: #000;
}