/* ===== إعدادات عامة ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}

body {
  background-color: #f4faff;
  color: #1b3b5f;
  direction: rtl;
}

/* ===== الهيدر ===== */
header {
  background: linear-gradient(135deg, #007a8f, #00b0cc);
  color: white;
  text-align: center;
  padding: 40px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.logo {
  width: 200px;
  margin: 10px auto;
  display: block;
}

/* ===== الأقسام العامة ===== */
section {
  padding: 40px 20px;
  text-align: center;
}

/* ===== قسم الفروع ===== */
.branches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 20px;
  flex-wrap: wrap;
 justify-content: center;
}

.branches img{
width: 100%;
height: auto;
border-radius: 8px;

}
.branch {
  background-color: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 119, 182, 0.1);
  transition: 0.3s;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;

}

.branch:nth-child(2) {
  animation-delay: 0.2s;
}

.branch:nth-child(3) {
  animation-delay: 0.4s;
}

.branch:nth-child(4) {
  animation-delay: 0.6s;
}

.branch:nth-child(5) {
  animation-delay: 0.8s;
}

.branch:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 119, 182, 0.2);
}

.branch h3 {
  color: #0077b6;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.branch p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

/* ===== قسم عن الدكتور ===== */
.about {
  background-color: #e0f4ff;
  border-radius: 20px;
  margin: 30px auto;
  padding: 30px;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.about img {
  width: 160px;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.2);
}

.about h2 {
  color: #0077b6;
  margin-bottom: 10px;
}

.about p {
  color: #1b3b5f;
  line-height: 1.8;
  font-size: 1rem;
}

/* ===== الفوتر ===== */
footer {
  background: linear-gradient(90deg, #007a8f, #00b0cc);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer a {
  color: #90e0ef;
  text-decoration: none;
  margin: 0 10px;
  transition: 0.2s;
}

footer a:hover {
  color: white;
}

/* ===== الأنيميشن ===== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
