.azna-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.azna-img {
  height: 130px;
  width: auto;
}

.tomohna-style .azna-text {
  font-size: 4rem;
  color: #981a4d;                 
  font-weight: bold;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
  font-family: 'Saudi', sans-serif; 
  text-shadow: 2px 2px 10px rgba(0, 52, 58, 0.7); /* ← #00343a مع شفافية */
}


@media (max-width: 600px) {
  .azna-header {
    flex-direction: row;     
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;   
  }

  .azna-img {
    height: 70px;
    width: auto;
    margin-top: 8px;   
  }

  .tomohna-style .azna-text {
    font-size: 1.6rem;
    margin: 0;
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0, 52, 58, 0.6);
  }

  .glowing-text {
    font-size: 2rem;
    letter-spacing: 2px;
    padding: 12px;
  }
}

.welcome-message h1 {
    font-size: 4rem;
    color: #1986d0;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 60px;
    font-family: 'Saudi', sans-serif;
    text-shadow: 2px 2px 10px rgba(0, 108, 53, 0.7);
}

@media (max-width: 600px) {
  .welcome-message h1 {
      font-size: 1.8rem;              
      margin-top: 10px;               
      margin-bottom: 30px;
      text-shadow: 1px 1px 6px rgba(0, 108, 53, 0.5); 
  }
}

.content {
    padding: 20px 40px;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    color: #444;
    background-color: #ffffff;
   margin: 20px auto; 
   border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); 
    max-width: 1000px; 
    height: auto; 
    margin-left: auto; 
    margin-right: auto; 
    margin-bottom: 70px;
}

.content h2 {
  font-size: 2.6rem;  
   font-weight: bold;
  color: #00796b;  
    margin-top: 30px;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 3px solid #00796b; 
    padding-bottom: 10px;
  transition: color 0.3s ease;
}

.content h2:hover {
    color: #ff6347; 
}

.content h3 {
    font-size: 2rem;  
    font-weight: bold;
    color: #ff6347; 
    margin-top: 25px;
    text-align: right; 
    text-transform: uppercase;
    border-bottom: 2px solid #ff6347; 
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

.content h3:hover {
    color: #00796b; 
}

.content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.content ul li {
    font-size: 1.3rem; 
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: right;
}

.content p {
    font-size: 1.2rem;  
    color: #666;
    text-align: justify;
    margin-bottom: 30px;
    line-height: 1.7;
}

.separator {
    width: 50%; 
    margin: 10px auto;
    border-bottom: 3px solid #00796b;
    opacity: 0.7;
}

.separator {
    border-bottom: 3px solid #00796b;
    margin: 10px 0;
    width: 100%;
    opacity: 1;
}

h4 {
    color: #cfa44b; /* لون ذهبي */
}


.toc {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 1rem;
  margin: 1.25rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.toc h3 {
  font-size: 1.1rem;
  margin: 0 0 .5rem 0;
  color: #1986d0;
  text-align: right;
}
.toc a {
  display: block;
  padding: .35rem .5rem;
  color: #00796b;
  text-decoration: none;
  border-radius: 8px;
  transition: all .2s ease;
  text-align: right;
}
.toc a:hover {
  background: #e6f4f1;
  color: #ff6347;
  transform: translateX(-2px);
}


.badge {
  display: inline-block;
  font-size: .85rem;
  padding: .15rem .5rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  color: #555;
  background: #fff;
  margin: .1rem .25rem;
}


.note {
  background: #fff8e1;
  border: 1px solid #ffe082;
  padding: .85rem;
  border-radius: 10px;
  margin: 1rem 0;
  color: #6b5e00;
}


.back-top {
  display: inline-block;
  margin-top: .5rem;
  color: #1986d0;
  text-decoration: none;
  border: 1px dashed #1986d0;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .9rem;
  transition: background .2s ease;
}
.back-top:hover {
  background: #e8f3fb;
}


kbd {
  background: #111;
  color: #fff;
  padding: .1rem .35rem;
  border-radius: 4px;
  font-size: .85em;
}


.content [id] {
  scroll-margin-top: 90px;
}
