* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}
.topbar {
    background: linear-gradient(90deg, #0026ff, #00c8ff) !important;
    color: #fff;
    font-size: 14px;
    height: 40px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
}



.topbar .contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar i {
    margin-right: 5px;
}


.navbar {
    position: fixed;
    top: 40px;
    /* أسفل التوب بار مباشرة */
    left: 0;
    width: 100%;
    z-index: 999;
    /* أقل من التوب بار */
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    height: 100px;
}


.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #2a0a91;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i {
    color: #007bff;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: #0a0a0a !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #007bff !important;
}

.navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
}

.footer {
  background-color: #313439;
  color: white;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 220px; /* حجم مرن مع حد أدنى */
  margin: 20px;
  min-width: 220px; /* يمنع تصغير العنصر جدا */
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 20px;
  color: #f0f0f0;
}

.footer-section p,
.footer-section a {
  color: #ddd;
  text-decoration: none;
  margin: 5px 0;
  display: block;
  transition: color 0.3s ease;
  font-size: 15px;
}

.footer-section a:hover,
.footer-section p:hover,
.footer-section i:hover,
.footer-bottom span:hover {
  color: #71d7ff; /* لون أخضر جذاب */
}

.social-icons a {
  margin-right: 10px;
  font-size: 20px;
  display: inline-block;
  color: #ccc;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #2487ff;
  transform: scale(1.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 14px;
  color: #ccc;
}

.footer-bottom span {
  color: white;
  transition: color 0.3s ease;
}

/* responsiveness */
@media (max-width: 992px) {
  .footer-container {
    justify-content: center;
  }
  
  .footer-section {
    flex: 1 1 300px;
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    margin: 15px 0;
    width: 100%;
    max-width: 400px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
