body {
  font-family: 'Tajawal', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fdfdfd;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

header {
  background-color: #fefefe;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #e90404;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 29.5px;
  height: auto;
}

header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #e90404;
}

.info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  background: linear-gradient(to top left, #ddf7ff, #ffffff);
}

.info-text {
  flex: 1;
  text-align: right;
  padding: 20px;
}

.info-text h1 {
  font-size: 48px;
  color: #e90404;
}

.info-text p {
  font-size: 20px;
  color: #444;
  margin-top: 10px;
}

.info-text button {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 16px;
  background-color: #e90404;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.info-text button:hover {
  background-color: #ff2c2c;
}

.info-img {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.info-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.b1 {
  font-weight: bold;
}

.info-2 {
  display: flex;
  flex-wrap: wrap;
  padding: 80px 10%;
  background-color: #ffffff;
  align-items: flex-start;
}

.info-2-img,
.info-2-content {
  flex: 1;
  padding: 20px;
}

.info-2-img img {
  max-width: 70%;
  margin-left: auto;
  display: block;
}

.info-2-content h2 {
  font-size: 32px;
  color: #111;
  margin-bottom: 30px;
  text-align: right;
}

.info-2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 40px;
  align-items: stretch;
}

.feature-box,
.stat-item,
.result-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: right;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-box:hover,
.stat-item:hover,
.result-item:hover {
  transform: scale(1.05);
}

.feature-box h3 {
  font-size: 18px;
  color: #e90404;
  margin-bottom: 8px;
}

.feature-box p,
.stat-item p,
.result-item p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.stats-section {
  background-color: #ffffff;
  padding: 60px 10%;
  text-align: center;
  direction: rtl;
}

.stats-title {
  font-size: 32px;
  color: #e90404;
  margin-bottom: 10px;
}

.stats-subtitle {
  font-size: 16px;
  color: #444;
  margin-bottom: 40px;
}

.stats-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.stats-separator {
  border: none;
  height: 2px;
  background-color: #e90404;
  width: 60px;
  margin: 0 auto 30px auto;
}

.footer {
  background-color: #111;
  color: #fff;
  padding: 50px 10% 20px;
  font-size: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h4 {
  color: #e90404;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col p {
  color: #bbb;
}

.footer-bottom {
  text-align: center;
  color: #999;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-out;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px 5%;
    text-align: center;
  }

  header nav {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .info {
    flex-direction: column;
    padding: 50px 5%;
    text-align: center;
  }

  .info-text {
    text-align: center;
  }

  .info-text h1 {
    font-size: 28px;
  }

  .info-text p {
    font-size: 16px;
  }

  .info-text button {
    width: 100%;
  }

  .info-img {
    padding: 10px;
  }

  .info-2 {
    flex-direction: column;
    padding: 40px 5%;
  }

  .info-2-img, .info-2-content {
    max-width: 100%;
    text-align: center;
  }

  .info-2-img img {
    max-width: 100%;
    margin: 0 auto;
  }

  .info-2-content h2 {
    font-size: 24px;
  }

  .info-2-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 30px;
  }

  footer {
    font-size: 14px;
  }
}
