/*LightwaySocietyPfutsuroCSS*/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
}
nav ul li a
{ 
  font-size: 1em;

}
html
{
  overflow-y: scroll
} 
body {
  font-family: "Times New Roman", Times, serif;
  background-color: #fffaf5;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background-color: #f9e79f;
  color: #333;
  text-align: left;
  padding: 1em;
  display: flex;
  align-items: center;
}

header img {
  height: 100px;
  margin-right: 1em;
}

header h1 {
  font-size: 1.8em;
}
ul {
  list-style-type: disc;
  padding-left: 2rem;
}
li {
  margin-bottom: 0.5rem;
}
p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

nav {
  background: #f7dc6f;
  padding: 1em;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

nav ul {
  list-style: none;
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  padding: 0.5em 1em;
  display: block;
}

nav ul li a:hover {
  background-color: #f4e29a;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul.closed {
    max-height: 0;
  }

  nav ul.open {
    max-height: 500px;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) {
  nav ul {
    display: flex;
    justify-content: center;
    gap: 1em;
    max-height: none !important;
  }
}

section {
  padding: 2em;
  max-width: 1000px;
  margin: auto;
  background-color: #fffbe6;
  margin-top: 1em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
section h2 {
  color: #eacf52;
  border-bottom: 2px solid #ffe866;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

section h3 {
  color: #e7d84b;
  margin-top: 1.5rem;
}

.contact-footer {
  padding: 1em;
  background-color: #fff9c4;
  text-align: center;
  margin-top: 2em;
}
.contact-footer a {
  color: #d4ac0d;
  text-decoration: none;
  margin: 0 0.5em;
}
.contact-footer a:hover {
  color: blue;
}
footer {
  background-color: #f9e79f;
  color: #333;
  text-align: center;
  padding: 1em;
}
#services-section_ost{
  background: 
    linear-gradient(to right, #e9d8d8 20%, rgba(255, 255, 255, 0)), 
    url('images/service-bg1.png');
  background-position: right;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 2em;
  border-radius: 10px;
}
#services-section_ti{background: 
  linear-gradient(to right, #daeed5 20%, rgba(226, 128, 128, 0)), 
  url('images/service-bg2.png');
background-position: right;
background-size: auto;
background-repeat: no-repeat;
padding: 2em;
border-radius: 10px;
}
#services-section_additional-services{background: 
  linear-gradient(to right, #e5e8da 30%, rgba(255, 255, 255, 0)), 
  url('images/service-bg3.png');
background-position: right;
background-size: contain ;
background-repeat: no-repeat;
padding: 2em;
border-radius: 10px;
}
#services-section * {
  position: relative;
  z-index: 1;
}
.members-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}
.members-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 16px;
  gap: 16px;
  box-sizing: border-box;
}
.members-card {
  background: #fff9cc;
  border-radius: 20px;
  padding: 20px;
  width: calc(50% - 10px); /* Two cards per row */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: "Times New Roman", serif;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
.members-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid #e0dca3;
}
.members-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.members-card p {
  font-size: 14px;
  color: #444;
}
@media (max-width: 410px) {
  .members-card {
    width: 100%;
  }
}
.regs-form {
  background-color: #f7dc6f;
  padding: 30px; /* Equal padding on all sides */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  width: 320px;
  margin: 2rem auto;
  box-sizing: border-box;

}

.regs-form label {
  color: white;
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.regs-form input,
.regs-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: none;
  border-radius: 6px;
  background-color: #f1f6f4;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}

.regs-form textarea {
  resize: vertical;
  height: 100px;
}

.regs-form button {
  background-color: #ee9906;
  color: white;
  padding: 12px 0;
  width: 100%;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-sizing: border-box;
}

.regs-form button:hover {
  background-color: #27ae60;
}