/* סגנונות כלליים */
* {
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  color: #3a3f52;
  direction: rtl;
  padding: 0 150px;
  background-color: #f6f8f9;
  max-width: 100%;
  margin: 0 auto;
  color: #3a3f52;
}

a {
  color: #007acc;
  text-decoration: none;
}

p {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #53627c;
  text-align: justify;
}

/* כותרת האתר והניווט */
header {
  background-color: #f6f8f9;
  padding: 10px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1000;
}

.navbar {
  width: 100%;
}

.nav-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

#logo img {
  height: 50px;
  transition: transform 0.3s ease-in-out;
}

#logo img:hover {
  transform: rotate(360deg) scale(1.2);
}

.nav-container .checkbox {
  display: none;
}

.nav-container .hamburger-lines {
  display: none;
}

.menu-items {
  display: flex;
  list-style: none;
  padding: 0;
}

.menu-items li {
  margin-right: 20px;
}

.menu-items a {
  color: #00b0ff;
  text-decoration: none;
  position: relative;
  font-weight: 600;
  font-size: 1.08rem;
}

.menu-items a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -15px;
  left: 0;
  background-color: #00b0ff;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

.menu-items a:hover:before {
  visibility: visible;
  transform: scaleX(1);
}

/* מדור הגיבורים */
#hero {
  background-color: #f6f8f9;
  display: flex;
  justify-content: space-between;
  gap: 70px;
  align-items: center;
  padding: 100px 10px;
}

.hero-content {
  max-width: 40%;
}

#hero span {
  font-weight: 400;
  font-size: 1.2rem;
  color: #00b0ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 2.5rem;
}

#hero h1 {
  font-size: 40px;
  font-weight: 300;
  margin-top: -5px;
  line-height: 3.4rem;
}

#hero p {
  font-size: 24px;
  font-weight: 300;
  color: #8da2b5;
  margin-bottom: 0px;
  padding: 0px;
  margin-top: -25px;
}

#hero small {
  display: block;
  margin: top 50px;
  font-size: 0.9em;
  color: #000000;
}

#hero img {
  max-width: 40%;
  height: auto;
  margin-top: 20px;
}

/* מדור התכונות */
#features {
  background-color: #f6f8f9;
  padding: 30px;
  margin-top: 70px;
}

#features h2 {
  font-size: 30px;
  margin-bottom: 30px;
  color: #3a3f52;
  text-align: center;
}

.features3 {
  display: flex;
  justify-content: space-around;

  flex-wrap: wrap;
}

.feature {
  box-shadow: 0 0 1px 0 rgba(0, 12, 32, 0.04),
    0 10px 16px 0 rgba(10, 31, 68, 0.06);
  border-radius: 20px;
  padding: 20px 30px;
  margin-top: 30px;
  background-color: white;

  width: 30%;
}

.feature-number {
  margin-top: 20px;
  min-width: 30px;
  background-color: #00b0ff;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
}

hr {
  height: 3px;
  border-width: 0;
  background-color: rgb(232, 232, 232);
}
.feature-number h3 {
  font-size: 150px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* מדור מי אנחנו */

#about-us {
  display: flex;
  flex-direction: row-reverse;
  margin: 100px 0;
  justify-content: space-between;
  align-items: center;
}

#about-us img {
  margin-top: 90px;
  width: 40%;
}

.about-us-content {
  width: 40%;
}

.about-us-content h2 {
  font-size: 3rem;
}

.about-us-content p {
  font-size: 1.3rem;
}

/* מדור יצירת קשר */

#contact {
  background-color: #f6f8f9;
  display: flex;
  flex-direction: row-reverse;
  margin: 100px 0;
  justify-content: space-between;
  align-items: center;
}

#contact img {
  margin-top: 90px;
  width: 40%;
}

.contact-content {
  width: 40%;
}

.contact-content h2 {
  font-size: 3rem;
}

.contact-content p {
  font-size: 1.3rem;
}

/* מדור שאלות ותשובות */

#faq {
  background-color: #f6f8f9;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 100px;
}

#faq img {
  width: 40%;
}

.faq-content {
  width: 40%;
}

#faq h2 {
  font-size: 40px;
  font-weight: 700;
  color: #3a3f52;
  text-align: center;
  max-width: 700px;
}

.accordion-item {
  background-color: #ffffff; /* White background for items */
  border: 1px solid #e0e0e0; /* Light border */
  border-radius: 20px;
  margin-bottom: 10px;
  max-width: 1000px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

.accordion-header {
  background-color: #00b0ff; /* Soft purple */
  color: #ffffff; /* White text */
  padding: 15px;
  font-size: 18px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #0040ff;
}

.accordion-content {
  background-color: #fafafa;
  overflow: hidden;
  padding: 0 15px;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  margin: 15px 0;
  line-height: 1.5;
}

.icon {
  transition: transform 0.3s ease;
}

.active .icon {
  transform: rotate(45deg);
}

/* טופס יצירת קשר
#contact {
  background-color: #e6f7ff;
  padding: 30px;
  text-align: center;
}

#contact form {
  display: inline-block;
  text-align: left;
  max-width: 400px;
}

#contact label {
  display: block;
  margin: 10px 0 5px;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #007acc;
  border-radius: 5px;
}

#contact button {
  background-color: #007acc;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}*/

/* תחתית האתר */
footer {
  background-color: #0e2431;
  font-weight: bold;
  color: #ffff;
  padding: 70px 20px;
  margin: 0 -150px;
  display: flex;
  justify-content: space-evenly;
  list-style: none;
}

.footer-items a {
  text-decoration: none;
  list-style: none;
  color: #ffffff95;
  font-weight: 100;
  line-height: 1.8;
}

/* עיצובים כלליים למסכים קטנים */
@media (max-width: 1000px) {
  body {
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
  }

  /* תפריט ניווט למסכים קטנים */

  .nav-container {
    position: relative;
  }

  #logo {
    order: 1;
    margin: 9px;
  }

  .nav-container .checkbox {
    display: block;
    position: absolute;
    height: 32px;
    width: 32px;
    top: 20px;
    right: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }

  .nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    right: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
  }

  .nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .menu-items {
    position: fixed;
    top: 80px;
    left: -100%;
    background-color: #f6f8f9;
    height: calc(100vh - 80px);
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease-in-out;
    z-index: 999;
    overflow-y: auto;
  }

  .menu-items li {
    margin: 20px 0;
    font-size: 1.5rem;
    font-weight: 500;
  }

  .nav-container input:checked ~ .menu-items {
    left: 0;
  }

  .nav-container input:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }

  .nav-container input:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .nav-container input:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }

  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 30px 40px;
    gap: 30px;
  }

  /* התאמות למדור הגיבורים */
  #hero {
    padding: 20px 0;
    flex-direction: column-reverse;
    height: auto;
    margin-bottom: 30px;
  }

  #hero img {
    max-width: 60%;
    height: auto;
    font-size: 0.3rem;
  }

  .hero-content {
    max-width: 80%;
  }

  #hero span {
    font-weight: 400;
    font-size: 1.1rem;
    color: #0095f7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  #hero h1 {
    font-size: 43px;
    font-weight: 300;
    margin-top: -1px;
  }

  #hero p {
    font-size: 1.3rem;
    margin-top: -25px;
  }

  /* התאמות למדור התכונות */

  #features {
    padding: 20px;
  }
  .feature {
    width: 100%; /* מאפשר לכל תכונה לקחת את רוחב המסך כולו */
    margin: 10px 0;
    padding: 7px 20px;
  }

  /* מדור מי אנחנו */

  #about-us {
    flex-direction: column;
    margin: 50px;
  }

  #about-us img {
    width: 90%;
  }

  .about-us-content {
    width: 90%;
  }

  .about-us-content h2 {
    font-size: 2.3rem;
  }

  .about-us-content p {
    font-size: 1.2rem;
  }

  /* מדור יצירת קשר */

  #contact {
    flex-direction: column;
    margin: 50px;
  }

  #contact img {
    width: 90%;
  }

  .contact-content {
    width: 90%;
  }

  .contact-content h2 {
    font-size: 2.3rem;
  }

  .contact-content p {
    font-size: 1.2rem;
  }
  /* התאמות למדור שאלות ותשובות */

  #faq {
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
    gap: 10px;
  }

  #faq img {
    width: 90%;
  }

  .faq-content {
    width: 90%;
  }

  #faq h2 {
    font-size: 30px;
  }
}

/* עיצובים לסמארטפונים */
@media (max-width: 480px) {
  body {
    padding: 0 10px;
  }

  .hero-content {
    max-width: 90%;
  }

  #hero span {
    font-size: 1rem;
    letter-spacing: 0.03em;
  }

  #hero h1 {
    font-size: 37px;
    font-weight: 300;
    margin-top: 5px;
  }

  #hero p {
    font-size: 1.2rem;
    margin-top: -20px;
  }
}

/* אנימציות לטעינת האתר */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: fadeIn 1s ease-in-out;
}

/* אנימציות לריחוף עכבר */
.feature,
#contact button,
#back-to-top a {
  transition: transform 0.4s ease-in-out;
}

.feature:hover,
#contact button:hover,
#back-to-top a:hover {
  transform: scale(1.1);
}

/* אנימציה לכותרות */
h1,
h2,
h3 {
  transition: color 0.3s ease-in-out;
}

h1:hover,
h2:hover,
h3:hover {
  color: #005f99;
}
