/* hum.css */
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  direction: ltr;
  font-family: 'vazir', serif;
}

/* Top bar with light background for black icons */
.top-bar {
  background-color: #f0f0f0;
  color: #000;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5em;
  color: #000; /* Black icon */
  cursor: pointer;
  /* Initially hidden on larger screens */
  display: none;
}

.nav-links {
  display: flex; /* Default for larger screens */
  gap: 10px;
  background-color: #f0f0f0;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  padding: 0.5em 1em;
  display: inline-block;
  font-size: 1em;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-links a:hover {
  background-color: #eee;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Show hamburger on small screens */
  }

  .nav-links {
    /* Hide by default on small screens, show when 'active' */
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f8f8f8;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex; /* Show when 'active' class is added by JS */
  }

  .nav-links a {
    padding: 10px 20px;
    width: 100%;
  }
}

/* No specific changes needed for min-width: 769px if default display is flex */
/* The default display: flex for .nav-links at the top handles larger screens */
/* and the menu-toggle display: none for larger screens handles that */
/* You can remove the @media (min-width: 769px) block entirely as the default styles will apply */

.container {
  width: 95%;
  margin: 20px auto;
}

.section-titles-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid #aaa;
  border-bottom: none;
  background-color: #fff;
}

.title-right,
.title-left {
  font-family: 'vazir', serif;
  font-size: 1.2em;
}

.title-center {
  font-size: 1.2em;
  text-align: center;
}

section {
  border: 1px solid #aaa;
  padding: 15px;
}

.atext {
  font-family: 'Amiri', serif;
  direction: rtl;
  text-align: right;
  font-size: 1.4em;
  line-height: 1.8;
}
.artitle {
  text-align: right;
  direction: rtl;
  font-family: 'Amiri', serif;
}
.surah-title {
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 1.4em;
  direction: ltr;
  margin: 20px 0;
}

.english-section {
  font-family: Arial, sans-serif;
  text-align: left;
  background-color: #fff;
}

.english-text {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  direction: ltr;
  text-align: left;
  color: #333;
}

.bottom-links {
  text-align: center;
  padding: 12px 0;
  border: 1px solid #aaa;
  border-top: none;
  background-color: #fff;
}
/* Bottom Links */
.bottom-links {
  text-align: center;
  padding: 12px 0;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  border-top: none;
  box-sizing: border-box;
  background-color: #fff;
}
/*
.bottom-links a {
  text-decoration: none;
  color: #000;
  margin: 0 10px;
  font-weight: bold;
}
*/

