
.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  padding: 40px 0;
  color: white;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.content-wrapper {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.nav-tabs {
  display: flex;
  background: #EFEBFF;
  border-bottom: 2px solid #e9ecef;
}

.nav-tab {
  flex: 1;
  padding: 20px;
  text-align: center;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6c757d;
}

.nav-tab.active {
  background: linear-gradient(135deg, #9164F4, #2A1284);
  color: white;
  transform: translateY(-2px);
}

.nav-tab:hover:not(.active) {
  background: #e9ecef;
  color: #495057;
}

.tab-content {
  display: none;
  padding: 40px;
  animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #2A1284;
  display: inline-block;
}

h3 {
  color: #34495e;
  font-size: 1.5rem;
  margin: 30px 0 15px 0;
  padding-left: 15px;
  border-left: 4px solid #2A1284;
}

h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin: 20px 0 10px 0;
  font-weight: 600;
}

p {
  margin-bottom: 15px;
  text-align: justify;
  color: #555;
}

.section {
  margin-bottom: 40px;
  padding: 25px;
  background: #EFEBFF;
  border-radius: 10px;
  border-left: 5px solid #2A1284;
}

.highlight-box {
  display: none;
  background: linear-gradient(135deg, #9164F4, #2A1284);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.important-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  border-left: 4px solid #f39c12;
}

.contact-info {
  background: #e8f5e8;
  border: 1px solid #c3e6c3;
  color: #155724;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: left;
}

.contact-info a, .section a {
  color: #2A1284;
  text-decoration: none;
  font-weight: bold;
}


ul {
  margin: 15px 0;
  padding-left: 30px;
}

li {
  margin-bottom: 8px;
  color: #555;
}
@media (max-width: 768px) {
  .header h1 {
      font-size: 2rem;
  }
  
  .nav-tabs {
      flex-direction: column;
  }
  
  .tab-content {
      padding: 10px;
  }
  
  .container {
      padding: 10px;
        max-width: 100%;
  }
  .header {
      padding: 20px 0;
      margin-bottom: unset;
  }
  .section {
      padding: 15px;
      margin-bottom: 20px;
  }

}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #9164F4, #2A1284);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(100px);
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

[lang ="ar"] {
  .section {
    border-left: unset;
    border-right: 5px solid #2A1284;
  }
  h3 {
    border-left: unset;
    border-right: 4px solid #2A1284;
    padding-right: 15px;
    padding-left: unset;
  }
  .important-note {
    border-left: unset;
    border-right: 4px solid #f39c12;
  }

  .contact-info {
    text-align: right;
  }
}