/* Hero Section */
.about-hero {
  position: relative;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}
.about-hero .overlay {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.5);
}
.about-hero h1 { font-size: 48px; margin-bottom: 20px; }
.about-hero p { font-size: 20px; margin-bottom: 30px; }
.cta-btn {
  background: #0073e6;
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}
.cta-btn:hover { background: #005bb5; }

/* Layout */
section { padding: 80px 20px; }
.container { max-width: 1200px; margin: auto; }

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

/* Timeline */
.timeline { border-left: 3px solid #0073e6; padding-left: 20px; }
.timeline-item { margin-bottom: 20px; }
.timeline-item .year { font-weight: bold; color: #0073e6; }

/* Cards */
.value-card, .service-card, .why-card, .stat-card, .testimonial, .team-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonial { margin-bottom: 20px; font-style: italic; }

/* Partners */
.about-partners .logos {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.about-partners img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: transform 0.3s ease;
}
.about-partners img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Team Section */
.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.team-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 10px;
  color: #333;
}

/* منع الخط تحت الاسم والمنصب حتى لو داخل رابط */
.team-card a {
  text-decoration: none;
  color: inherit;
}

.team-card a:hover {
  text-decoration: none;
  color: inherit;
}

.team-card p {
  margin: 5px 0 0;
  color: #666;
}


/* Contact Section */
.about-contact {
  background: #0073e6;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.about-contact h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.about-contact p {
  font-size: 18px;
  margin-bottom: 10px;
}
.about-contact .cta-btn {
  background: #fff;
  color: #0073e6;
  font-weight: bold;
}
.about-contact .cta-btn:hover {
  background: #f1f1f1;
}

/* General Typography */
h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  color: #222;
}
p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width: 768px) {
  .team-card img {
    width: 100px;
    height: 100px;
  }
  .about-partners img {
    max-height: 40px;
  }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .about-hero h1 {
    font-size: 32px;
  }
  .about-hero p {
    font-size: 16px;
  }
}
