body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background-color: #ffffff;
  color: #333;
}

.site-header {
  background-color: #ffffff;
  padding: 20px 0;
  border-bottom: 2px solid #660db2;
}

.container {
  width: 90%;
  margin: auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .lang-btn {
  background-color: #660db2;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-right: 15px;
} */

.lang-btn:hover {
  background-color: #44097a;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
}

.title {
  font-size: 1.4rem;
  background: linear-gradient(90deg, #7209ce, #ffffff);
  -webkit-background-clip: text;
  color: #7209ce;
}

.main-title {
  font-size: 2.2rem; 
  font-weight: 700;
  color: #660db2; 
  text-align: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  color: #660db2;
  font-weight: 600;
  transition: 0.3s;
}

.main-nav a:hover {
  text-decoration: underline;
}

.ba {
  position: relative;
  background: url("images/banner-bg.jpg") center/cover no-repeat;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.c {
  position: absolute;
  inset: 0;
  background-color: rgba(102, 13, 178, 0.7);
}

.d {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.hero p {
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 20px;
}

.btn-primary, .service-cta {
  display: inline-block;
  background-color: transparent;
  color: #660db2;
  padding: 12px 22px;
  border: 2px solid #660db2;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary:hover, .service-cta:hover {
  background-color: #660db2;
  color: #ffffff;
  transform: translateY(-3px);
}

.vision-section {
  padding: 60px 0;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #660db2;
}

.vision-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card {
  background: #f7f7f7;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(102, 13, 178, 0.15);
  padding: 25px;
  max-width: 300px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.card i {
  font-size: 2rem;
  color: #660db2;
  margin-bottom: 15px;
}

.card h4 {
  margin: 10px 0;
  color: #44097a;
}

.card ul {
  text-align: left;
  padding-left: 20px;
  margin: 10px 0 0;
}

.card li {
  margin-bottom: 8px;
}

.services {
  text-align: center;
  padding: 60px 0;
}

.service {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 10px;
  margin: 20px auto;
  padding: 25px;
  max-width: 700px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.service:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 20px rgba(102, 13, 178, 0.2);
}

.contact {
  text-align: center;
  padding: 60px 0;
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin: 10px 0;
  font-weight: 600;
  color: #660db2;
}

.social-links {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-links a {
  font-size: 1.5rem;
  color: #660db2;
  transition: 0.3s;
}

.social-links a:hover {
  color: #44097a;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
}

.site-footer {
  background-color: #4c00b0;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}




/*  Portfolio Section */
.portfolio {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.portfolio-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.portfolio-img {
  width: 350px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.portfolio-img:hover {
  transform: scale(1.05);
}

.portfolio-text {
  max-width: 500px;
  text-align: left;
}

.portfolio-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.portfolio .btn {
  background-color: #660db2;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.portfolio .btn:hover {
  background-color: #44097a;
}

/*  Responsive for Mobile */
@media (max-width: 768px) {
  .portfolio-content {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-text {
    text-align: center;
  }

  .portfolio-img {
    width: 80%;
  }
}




.footer-logo {
  width: 200px; 
  /* border-radius: 50%; */
  margin-bottom: 10px;
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background-color: #660db2;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  transition: 0.3s;
}

#backToTop:hover {
  background-color: #44097a;
}

/* للموبايل  */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  .logo img {
    width: 120px;
    height: 120px;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  .vision-cards {
    flex-direction: column;
    gap: 20px;
  }
}

.objectives {
  direction: ltr;      
  text-align: left;  
}

.objectives ul {
  list-style-position: outside;
  padding-left: 25px;          
  margin: 0;
}

.objectives li {
  margin-bottom: 10px;
  line-height: 1.6;
}