body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #fefefe;
    color: #222;
}

header {
  display: block;     /* reset Pico’s flex */
  padding: 0;         /* no spacing around banner */
  margin: 0;
  background: none;   /* no unwanted background */
}


.logo-container {
  text-align: center;
  margin-top: 1rem;
}

.logo {
  display: block;
  margin: 1rem auto;
  max-width: 150px;
}

#site-title {
  font-size: 2.5rem;
  margin: 0.8rem 0 0.5rem;
}

 .button-container
{
    align-items: center; 
    padding: 1rem;
    max-width: 900px;
    margin: auto;
}
    


#lang-toggle {
  display: inline-block; 
  text-align: left;
  margin: 0.5rem auto 0.5rem auto; /* keep within centered container */
}





header h1 {
    margin: 0 1rem;
}



.toggle-btn {
  background-color: #1f4160;
  color: white;
  border: #1f4160;
  border-width: 1px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-btn.flash {
  animation: flash-btn 1s ease;
}

@keyframes flash-btn {
  0% { background-color: #1f4160; }
  50% { background-color: #402a3e; color: #1f4160; }
  100% { background-color: #1f4160; color: white; }
}

main {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
}

h1, h2, h3 {
    color: #1f4160;
}

p {
  text-align: justify;
  text-justify: inter-word;  /* ensures spaces are adjusted between words */
  line-height: 1.6;          /* improves readability */
}

ul li {
  text-align: justify;
  text-justify: inter-word; /* ensures spacing is distributed */
  line-height: 1.5;         /* optional, for readability */
}

.fa {
  direction: rtl;
  text-align: right;
  display: none; /* hidden by default */
}

.en {
  direction: ltr;
  text-align: left;
  display: block; /* shown by default */
}


.section-divider {
  border: 0;
  height: 2px;
  background: #1f4160;
  margin: 2rem 0;
  opacity: 0.7;
  border-radius: 2px;
}

.copyright {
      margin: 2rem;
}
    
