/* ======== בסיס כללי ======== */
body {
  margin: 0;
  padding: 0;
  direction: rtl;
  font-family: "Heebo", sans-serif;
  background-color: #fff;
  color: #333;
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
}

h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

html, body {
  height: 100%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1;
}

/* ======== ניווט עליון ======== */
header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 20px;
}

/* עיצוב Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 1000;
  padding: 10px 0;
  min-width: 180px;
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #c4c4c4;
  color: #BE1E2D;
}

.dropdown.open .dropdown-menu {
  display: block !important;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo img,
.footer-logo img {
  height: 100px;
}

.social-icons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: start;
  align-items: center;
}

.social-icons a img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.15);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 22px;
}

.nav-links a.active,
.nav-links a:hover {
  color: #BE1E2D;
  text-decoration: underline;
  cursor: pointer;
}

.nav-links a.no-hover.active {
  background: none !important;
  color: inherit !important;
  text-decoration: none;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.site-logo {
  display: none;
}

.site-logo img{
  width: 60px;
  height: 60px;
}

.logo {
    display: block;
}

.contact-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 18px;
}

.contact-label {
  font-size: 18px;
  color: #0fa30d;
  font-weight: bold;
  margin-bottom: 10px;
  background: linear-gradient(to right, #0fa30d, #26A9E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-info a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 12px;
}

.contact-info a:hover {
    background-image: linear-gradient(180deg, #dfb4b9 0%, #d26580 100%);
}

.contact-background-container {
  position: relative;
  overflow: hidden;
}

::placeholder {
  color: #999;
  font-size: 18px;
  opacity: 1;
}

.background-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("/static/images/contact-background.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.contact-foreground {
  position: relative;
  z-index: 1;
}

.elementor-button {
    font-size: 22px;
    font-weight: 600;
    color: white;
    background-color: #0fa30d;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
}

.section-heading {
  font-size: 38px;
  text-align: center;
  margin: 0 auto 40px auto;
  color: #333;
  position: relative;
  display: block;
  padding-bottom: 10px;
  width: fit-content;
}

.section-heading::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background-color: #BE1E2D;
  margin: 10px auto 0;
  border-radius: 2px;
}

.general-hero-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: url("/static/images/contact-us-banner.jpg");
  background-size: cover;
  background-position: center;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.general-hero-overlay {
  background-color: rgba(0, 0, 0, 0.45);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.general-hero-title {
  color: white;
  font-size: 48px;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

@media (max-width: 1400px) {
  .nav-links a.no-hover.active,
  .nav-links a.no-hover:hover {
    background: none !important;
    color: inherit !important;
    text-decoration: none;
  }

  .hamburger {
    display: block;
  }

  .hamburger-close::before {
    content: "☰";
  }

  .hamburger-open::before {
    content: "X";
    background-color: rgb(190, 30, 45);
    color: white;
    padding: 2px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(255, 255 ,255 ,1);
    padding: 20px;
    margin: 0px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: right;
  }

  .nav-links.show {
    display: flex;
  }

  ul{
    padding: 5px;
  }

  .site-logo {
    display: block;
  }

  .site-logo img {
    width: 120px;
    height: 60px;
  }

  .logo {
    display: none;
  }

  .admin-sidebar {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block !important;
  }

}

@media (max-width: 1200px) {

  #contactForm input,
  #contactForm textarea,
  #contactForm select,
  #contactForm button {
    width: 90%;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
  }

  .footer-column {
    flex: none;
  }

  .logo-column {
    grid-column: span 2;
    justify-content: center;
  }

  .social-icons{
    justify-content: center;
  }

  .general-hero-banner {
    height: 100px;
  }

  .general-hero-title {
    font-size: 40px;
  }

}

/* ======== אזור גיבור ======== */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 10px;
}

.cta-button {
  background: #26A9E0;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
  margin-top: 15px;
}

/* ======== Intro Banner Custom ======== */
.intro-banner-custom {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/static/images/home-inspection-main-banner.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 25px 20px;
  text-align: center;
  color: white;
}

.intro-banner-container {
  max-width: 1100px;
  margin: 0px auto 10px auto;
}

.intro-banner-title {
  font-size: 60px;
  color: #ffffff;
  margin: 10px 0px;
  line-height: 1.5;
}

.intro-banner-title span {
  color: #ffffff;
  font-weight: bold;
  font-size: 35px;
}

.intro-banner-button {
  background-image: linear-gradient(180deg, #BE1E2D 0%, #f2295b 100%);
  background-color: transparent;
  color: #fff;
  padding: 12px 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
  text-decoration: none;
  font-weight: 600;
  font-size: 22px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.intro-banner-button:hover {
  /*background-color: #e65300;*/
  background-image: linear-gradient(180deg, #BE1E2D 0%, #e65300 100%);
}

/* ======== טופס ייעוץ ======== */
.consult-form-section {
  background-color: #212121;
  padding: 30px 20px;
  text-align: center;
}

.consult-form-heading {
  font-size: 26px;
  font-weight: bold;
  color: white;
  margin: 0;
  white-space: nowrap;
}

.consult-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  flex-direction: row;
}

.consult-form input,
.consult-form button {
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  min-width: 70px;
  height: 40px;
  box-sizing: border-box;
}

.consult-form input {
  background-color: #fff;
  flex: 0 1 auto;
}

.consult-form button {
  background-color: #be1e2d;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.consult-form button:hover {
  /*background-color: #e65300;*/
  background-image: linear-gradient(180deg, #e65300 0%, #d26580 100%);
}

/* רספונסיביות */
@media (max-width: 1100px) {
  .consult-form {
    flex-direction: column;
    align-items: center;
  }

  .consult-form-heading {
    margin-bottom: 15px;
  }

  .consult-form input,
  .consult-form button {
    width: 100%;
    max-width: 400px;
  }
}

/* ======== מה זה בדק בית ======== */
.about-inspection-section {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/static/images/inspection-background-image.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 15px 20px 25px 10px;
  text-align: center;
  color: white;
}

.about-inspection-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.about-inspection-text {
  flex: 1 1 55%;
  font-size: 18px;
  line-height: 1.8;
  color: white;
  text-align: right;
  font-family: "Heebo", sans-serif;
  /*animation: fadeInRight 1.2s ease forwards;*/
}

.about-inspection-text h2 {
  margin-bottom: 15px;
  text-align: right;
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.first-title {
  font-size: 35px;
  color: #FFDD57;
}

.second-title {
  font-size: 30px;
  color: #26A9E0;
}

.about-inspection-image {
  flex: 1 1 40%;
  text-align: center;
  /*animation: fadeInLeft 1.2s ease forwards;*/
  transition: transform 0.4s ease;
}

.about-inspection-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-inspection-image img:hover {
  transform: scale(1.03);
}

.about-inspection-text.animate {
  animation: fadeInRight 3s ease forwards;
}

.about-inspection-image.animate {
  animation: fadeInLeft 3s ease forwards;
}

/* אנימציה */
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-15px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ======== צ'ק ליסט בדק בית ======== */
.checklist-section {
  position: relative;
  overflow: hidden;
  direction: rtl;
}

.checklist-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("/static/images/contact-background.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.checklist-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 30px 20px;
}

.checklist-text {
  flex: 1 1 55%;
  font-size: 18px;
  color: #333;
}

.checklist-title {
  font-size: 35px;
  color: #0fa30d;
  margin-bottom: 15px;
  text-align: right;
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.checklist-title span {
  font-size: 30px;
  color: #BE1E2D;
  display: block;
}

.checklist-list {
  list-style: none;
  padding: 0;
  line-height: 1.5;
}

.checklist-list li {
  font-size: 18px;
  color: #444;
  margin-bottom: 8px;
}

.elementor-icon-list-icon {
  color: #BE1E2D;
  margin-left: 8px;
  font-size: 20px;
  display: inline-block;
}

.checklist-image {
  flex: 1 1 40%;
  text-align: center;
}

.checklist-image img {
  width: 80%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.checklist-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.checklist-item.delay-1 { transition-delay: 0.1s; }
.checklist-item.delay-2 { transition-delay: 0.2s; }
.checklist-item.delay-3 { transition-delay: 0.3s; }
.checklist-item.delay-4 { transition-delay: 0.4s; }
.checklist-item.delay-5 { transition-delay: 0.5s; }
.checklist-item.delay-6 { transition-delay: 0.6s; }
.checklist-item.delay-7 { transition-delay: 0.7s; }
.checklist-item.delay-8 { transition-delay: 0.8s; }
.checklist-item.delay-9 { transition-delay: 0.9s; }
.checklist-item.delay-10 { transition-delay: 1s; }

/* ======== service ======== */
.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 30px;
    padding: 60px 250px;
    background: #f9f9f9;
}

@media (max-width: 1400px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* טאבלט */
    padding: 60px 220px;
  }
}

@media (max-width: 1300px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* טאבלט */
    padding: 60px 200px;
  }
}

@media (max-width: 1100px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* טאבלט */
    padding: 60px 150px;
  }
}

@media (max-width: 900px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* טאבלט */
    padding: 40px 90px;
  }
}

@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr; /* מובייל */
    padding: 40px 10px;
  }
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 250px;
    width: 200px;
    font-size: 20px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background-image: linear-gradient(180deg, #dfb4b9 0%, #d26580 100%);
    color: white;
    cursor: pointer;
}

.service-item img {
    width: 100px;
    height: 100px;
}

/* ======== why-us ======== */
.why-us-layout{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.logo-box{
    flex: 1 1 35%;
    text-align: center;
}

/* ======== תוכן דינמי ======== */
.section {
  padding: 60px 20px;
}

.why-us-list,
#whyus-list {
  padding: 0;
  list-style: none;
  flex: 1 1 50%;
  padding-left: 40px;
}

.why-us-list li,
#whyus-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 18px;
}

.why-us-list li img,
#whyus-list li img {
  width: 20px;
  height: 20px;
}

.articles-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.article-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.article-card h3 {
  margin-top: 0;
  color: #26A9E0;
}

/* ======== אודות ======== */
.about-box {
  text-align: center;
}

.about-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 50%;
}

.about-text h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  text-align: right;
}

.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.quote-bar {
  background-color: #212121; /* רקע כהה */
  color: white;
  padding: 25px 15px;
  margin: 0;
}

.quote-bar-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.quote-bar-heading {
  font-size: 26px;
  font-weight: bold;
  color: white;
  white-space: nowrap;
}

.quote-bar-form {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.quote-bar-form input,
.quote-bar-form button {
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  height: 42px;
}

.quote-bar-form input {
  background-color: #fff;
  color: #000;
  min-width: 120px;
}

.quote-bar-form button {
  background-color: #be1e2d;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quote-bar-form button:hover {
  /*background-color: #e65300;*/
  background-image: linear-gradient(180deg, #e65300 0%, #d26580 100%);
}

@media (max-width: 900px) {
  .intro-banner-title {
    font-size: 50px;
  }
}

/* רספונסיביות */
@media (max-width: 768px) {
  .about-inspection-container {
    flex-direction: column;
    text-align: center;
  }

  .about-inspection-text,
  .about-inspection-image {
    flex: 1 1 100%;
    opacity: 0;
  }

  .about-inspection-text {
    font-size: 16px;
  }

  .checklist-container {
    flex-direction: column;
    text-align: center;
  }

  .checklist-text, .checklist-image {
    flex: 1 1 100%;
  }

  .checklist-text {
    text-align: right;
    font-size: 14px;
    padding-right: inherit;
  }

  .checklist-title {
    font-size: 28px;
  }

  .quote-bar-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .quote-bar-form {
    flex-direction: column;
    gap: 10px;
  }

  .quote-bar-form input,
  .quote-bar-form button {
    width: 100%;
    max-width: 400px;
  }

  .intro-banner-title {
    font-size: 34px;
  }

  .intro-banner-title span {
    font-size: 24px;
  }

  .about-layout {
    flex-direction: column;
    text-align: center;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
  }

  .about-text h2 {
    font-size: 30px;
  }

  .section-heading {
    font-size: 30px;
  }

  .quote-form {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-form input,
  .quote-form button {
    width: 100%;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    flex: 1 1 100%;
  }

}

@media (max-width: 550px) {
  .intro-banner-title {
    font-size: 22px;
  }

  .intro-banner-title span {
    font-size: 18px;
  }

  .section-heading {
    padding: 0 10px 10px 10px;
  }

  #contactForm input, #contactForm textarea, #contactForm select, #contactForm button {
    width: 80% !important;
  }

}

/* ======== טופס צור קשר ======== */
#contactForm{
    text-align:center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contactForm input,
#contactForm textarea,
#contactForm select,
#contactForm button {
  width: 60%;
  max-width: 500px;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 20px;
  box-sizing: border-box;
}

#contactForm button {
  background-color: #be1e2d;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

#contactForm button:hover {
  /*background-color: #e65300;*/
  background-image: linear-gradient(180deg, #e65300 0%, #d26580 100%);
}

.contact-split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
}

.contact-form-wrapper,
.contact-info-wrapper {
  flex: 1 1 48%;
  background: #ffffffdd;
  padding: 20px 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #adadad;
}

.contact-info-wrapper p {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-info-wrapper a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.contact-info-wrapper a:hover {
  color: #BE1E2D;
}

#contact-social-icons{
    justify-content: center;
}

.contact-info-wrapper .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.contact-info-wrapper .social-icons a img {
  width: 42px;
  height: 42px;
  transition: transform 0.3s ease;
}

.contact-info-wrapper .social-icons a img:hover {
  transform: scale(1.1);
}

/* === Modal בסיסי === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  direction: rtl;
  font-family: 'Segoe UI', 'Heebo', 'Arial', sans-serif;
}

.modal-content {
  background-color: #ffffff;
  margin: 15% auto;
  padding: 30px 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeSlideIn 0.3s ease-out;
  position: relative;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-text {
  font-size: 1.15rem;
  margin-top: 15px;
  font-weight: 500;
  color: #2c3e50;
}

.modal-icon {
  font-size: 2.8rem;
  display: block;
}

.modal.success .modal-icon {
  color: #2ecc71;
}

.modal.error .modal-icon {
  color: #e74c3c;
}

.modal-close {
  position: absolute;
  top: 10px;
  left: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.modal-close:hover {
  color: #333;
}

@media (max-width: 480px) {
  .modal-content {
    margin: 90% auto;
    width: 80%;
    padding: 25px 20px;
  }

  .modal-text {
    font-size: 1rem;
  }

  .modal-icon {
    font-size: 2.4rem;
  }

  .modal-close {
    font-size: 1.3rem;
  }

  .container {
    padding: 0 5px;
  }

  .section {
    padding: 60px 20px;
  }

  .elementor-button {
    font-size: 16px;
  }

  .site-logo img {
    width: 100px;
    height: 50px;
  }

}

@media (max-width: 360px) {
  .intro-banner-title {
    font-size: 19px;
  }

  .intro-banner-title span {
    font-size: 15px;
  }

  .intro-banner-button {
    font-size: 18px;
  }

  .site-logo img {
    width: 80px;
    height: 40px;
  }

  .contact-label {
    font-size: 13px;
  }

  .elementor-button {
    font-size: 13px;
  }

}

@media (max-width: 320px) {
  .intro-banner-title {
    font-size: 18px;
  }

  .quote-bar-heading {
    font-size: 22px;
  }

  .consult-form-heading {
    font-size: 22px;
  }

  .general-hero-title {
    font-size: 35px;
  }

  .service-item {
      padding: 10px;
  }

  .section {
    padding: 30px 20px;
  }

  .section-heading {
    font-size: 26px;
    margin: 0 auto 20px auto;
  }

  .btn-view {
    font-size: 18px;
  }

  .intro-banner-button {
    font-size: 16px;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 16px;
  }

}

@media (max-width: 295px) {
  .intro-banner-title {
    font-size: 15px;
  }

  header {
    padding: 10px;
  }

  .contact-info a {
    padding: 7px;
  }

}

@media (max-width: 280px) {
  .service-item {
      padding: 10px 0px;
  }

}

/* ======== פוטר ======== */
.main-footer {
  background-color: #f4f4f4;
  padding: 50px 0 0 0;
  color: #333;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.copyright-bar {
    text-align: center;
    background-color: #eaeaea;
    padding: 15px 10px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #ccc;
    direction: rtl;
}

.footer-column {
  flex: 1 1 18%;
  min-width: 180px;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #000;
  border-bottom: 2px solid #BE1E2D;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.footer-column ul li a:hover {
  color: #BE1E2D;
}

.logo-column {
  display: flex;
  align-items: center;
}

.logo-column img {
  max-width: 160px;
}

/* ======== לוח ניהול ======== */
.admin-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background: #f1f1f1;
  padding: 30px;
  box-shadow: -2px 0 6px rgba(0,0,0,0.1);
}

.sidebar h3 {
  margin-bottom: 15px;
}

.sidebar button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #26A9E0;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.sidebar button:hover {
  background-color: #0073e6;
}

.main {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.section-form {
  display: none;
  max-width: 600px;
  margin: 0 auto 40px auto;
  background: #fff;
  border: 1px solid #ddd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section-form.active {
  display: block;
}

.section-form input,
.section-form textarea,
.section-form button {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.section-form button {
  background-color: #26A9E0;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.section-form button:hover {
  background-color: #0073e6;
}

.article-block {
  background: #fafafa;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.login-form-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9f9f9;
  padding: 40px;
}

.login-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.login-box h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 24px;
  color: #333;
}

.login-box label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.login-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.login-box button {
  width: 100%;
  background: #26A9E0;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.login-box button:hover {
  background: #0073e6;
}

.login-box .error {
  color: red;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.admin-sidebar {
  width: 280px;
  background: #eaeaea;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #ccc;
}

.admin-sidebar h1 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
}

.admin-sidebar img {
  max-width: 100px;
  margin-bottom: 20px;
}

/* ======== חוות דעת לדוגמא ======== */
.produced_our_customers {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.produced_our_customers .section-heading {
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
}

.opinions-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.opinion-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  width: 320px;
  padding: 20px;
  transition: transform 0.2s ease;
}

.opinion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  background-image: linear-gradient(180deg, #dfb4b9 0%, #d26580 100%);
}

.opinion-card:hover h3 {
  color: #a20615;
}

.opinion-card:hover p {
  color: white;
}

.opinion-card img {
  width: 60px;
}

.opinion-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #BE1E2D;
}

.opinion-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.btn-view {
  display: inline-block;
  padding: 10px 20px;
  background-color: #BE1E2D;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid white;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-view:hover {
  background-color: #a51824;
  cursor: pointer;
}

/* רספונסיביות לטלפון */
@media (max-width: 768px) {
  .opinions-container {
    align-items: center;
  }

  .opinion-card {
    width: 90%;
  }
}
