main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: justify;
  line-height: 1.6;
}

h1, h2 {
  color: #4c2f1b;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

ul li {
  margin-bottom: 15px;
}

.values {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: nowrap;
}

.value-item {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  width: 200px;
  text-align: center;
  flex-shrink: 0;
}

.value-item img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.value-item p {
  font-size: 0.9em;
  line-height: 1.4;
  margin-top: 0px;
}

blockquote {
  background-color: white;
  color: #333;
  padding: 20px;
  border-left: 8px solid #F4B6B6;
  font-style: italic;
  margin: 40px auto;
  max-width: 700px;
}

.cta-section {
  background-color: white;
  text-align: center;
  padding: 30px 15px;
}

.cta-section a {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 24px;
  background-color: #F7C948;
  color: #333;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s;
}

.cta-section a:hover {
  background-color: white;
}

@media (max-width: 768px) {
  .logo-container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .logo-container img:first-child {
    padding-left: 0;
  }

  .values {
    flex-direction: column;
    align-items: center;
  }
}

.centered-text {
  text-align: center;
}
@media (max-width: 768px) {
  .logo-container {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }

  .logo-container img:first-child {
    padding-left: 0 !important;
  }

  .values {
    flex-direction: column !important;
    align-items: center !important;
  }
}

.sub-nav {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 5px;
}

.sub-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.rabbinsky-container {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: 40px auto;
}

.rabbinsky-img {
  max-width: 250px;
  width: 100%;
  border-radius: 10px;
}

.rabbinsky-text {
  text-align: left;
}

@media (max-width: 768px) {
  .rabbinsky-container {
    flex-direction: column;
    text-align: center;
  }

  .rabbinsky-text {
    text-align: center;
  }
}

.rabbinsky-float {
  float: right;
  max-width: 350px;
  margin: 0 0 15px 20px;
}

.rabbinsky-float2 {
  float: right;
  max-width: 200px;
  margin: 0 0 15px 20px;
}

.rabbinsky-text::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 768px) {
  .rabbinsky-float {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
  }
}

.idea-box {
  margin: 30px 0;
  padding: 25px;
  border: 2px #ccc;
  border-radius: 12px;
  background: #fafafa;
}

.idea-box h3 {
  margin-bottom: 15px;
}

.idea-box textarea,
.idea-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
}

.idea-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.idea-box button {
  background: #ff7a00;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.idea-box button:hover {
  background: #e96d00;
}