:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --background-color: #ecf0f1;
  --text-color: #34495e;
  --white-color: #ffffff;
  --success-color: #2ecc71;
  --light-grey-color: #f9f9f9;
  --whatsapp-color: #25d366;
}

.direct-contact {
  text-align: center;
  margin-top: 40px;
}

.direct-contact h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-option {
  display: inline-block;
  background: var(--light-grey-color);
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-option:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
  color: var(--white-color);
}

.contact-option i {
  margin-left: 10px;
  font-size: 1.2rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px; /* Use 'right' for RTL if you prefer it on the other side */
  background-color: var(--whatsapp-color);
  color: var(--white-color);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float i {
  margin-top: 15px;
}

.whatsapp-btn {
  background-color: var(--whatsapp-color, #25d366);
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  opacity: 0.8;
}

/* -- SVG logo styles --- */

.icon-svg {
  width: auto; /* הגודל של האייקון */
  height: 60px; /* שומר על פרופורציות */
  display: block;
  text-align: left; /* מרכז את האייקון ומוסיף רווח מתחת */
}

/* --- General & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Assistant", sans-serif;
  line-height: 1.8;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
}
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}
h1,
h2,
h3 {
  font-weight: 700;
  color: var(--secondary-color);
}
h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 10px auto 50px auto;
  border-radius: 2px;
}
section {
  padding: 80px 0;
}
.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}
.cta-button:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
}

/* --- Header --- */
.navbar {
  background: var(--white-color);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: top 0.3s;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}
.navbar .nav-links {
  list-style: none;
  display: flex;
}
.navbar .nav-links li {
  margin-right: 30px;
}
.navbar .nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}
.navbar .nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  right: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}
.navbar .nav-links a:hover::after {
  width: 100%;
}

/* START: Added Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary-color);
}
/* END: Added Hamburger Menu Styles */

/* --- Hero Section --- */
#hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
    url("https://images.unsplash.com/photo-1555066931-4365d14bab8c?q=80&w=2070&auto=format&fit=crop")
      no-repeat center center/cover;
  height: 100vh;
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#hero .hero-content {
  max-width: 800px;
}
#hero h1 {
  font-size: 3.5rem;
  color: var(--white-color);
  margin-bottom: 1rem;
}
#hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* --- UPDATED: Slider Pricing Section --- */

.smart-package-container {
  max-width: 900px; /* קצת יותר רחב כדי להתאים לרשת */
  margin: auto;
  background: var(--white-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.smart-package-container h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* --- The New Features Grid Style --- */
.features-grid-new {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 25px;
  text-align: right;
  margin: 2rem 0;
}

.feature-item-new {
  display: flex;
  align-items: flex-start; /* Aligns icon and text nicely */
  gap: 10px;
  font-size: 0.95rem; /* מעט קטן יותר כדי להתאים יותר טקסט */
}

.feature-item-new i {
  color: var(--success-color);
  margin-top: 5px; /* יישור אנכי של האייקון */
}
/* ------------------------------------ */

.price-slider-wrapper {
  margin: 30px 0;
}
.price-slider-wrapper label {
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}
#price-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 15px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  border-radius: 10px;
}
#price-slider:hover {
  opacity: 1;
}
#price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: var(--primary-color);
  cursor: pointer;
  border-radius: 50%;
}
#price-slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: var(--primary-color);
  cursor: pointer;
  border-radius: 50%;
}
.slider-value {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 15px 0;
}

.slider-pricing-container {
  max-width: 700px;
  margin: auto;
  background: var(--white-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.slider-pricing-container h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.slider-pricing-container .features-list {
  list-style: none;
  text-align: right;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.slider-pricing-container .features-list li .fa-check {
  color: var(--success-color);
  margin-left: 10px;
}

.price-slider-wrapper {
  margin: 30px 0;
}
.price-slider-wrapper label {
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}
#price-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 15px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  border-radius: 10px;
}
#price-slider:hover {
  opacity: 1;
}
#price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: var(--primary-color);
  cursor: pointer;
  border-radius: 50%;
}
#price-slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: var(--primary-color);
  cursor: pointer;
  border-radius: 50%;
}
.slider-value {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 15px 0;
}

/* --- Why Choose Me Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}
.feature-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* --- Portfolio Section --- */
#portfolio {
  background: var(--light-grey-color);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}
.portfolio-item {
  background: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.portfolio-item img {
  width: 100%;
  display: block;
  height: 220px;
  object-fit: cover;
}
.portfolio-content {
  padding: 20px;
}
.portfolio-content h3 {
  margin-bottom: 10px;
}
.portfolio-content a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
}

/* --- Testimonials Section --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.testimonial-card p {
  font-style: italic;
}
.testimonial-author {
  margin-top: 15px;
  font-weight: 700;
}

/* --- About Me Section --- */
#about {
  background: var(--white-color);
}
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}
.about-content img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.about-content .text {
  flex: 1;
}

/* --- FAQ Section --- */
#faq {
  background: var(--light-grey-color);
}
.faq-container {
  max-width: 800px;
  margin: auto;
}
.faq-item {
  background: var(--white-color);
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  text-align: right;
  font-family: "Assistant", sans-serif;
  color: var(--secondary-color);
}
.faq-question::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-item.active .faq-answer {
  max-height: 250px;
  overflow-y: auto; /* This adds the vertical slider ONLY when needed */
  padding-bottom: 20px;
}

/* --- Contact Section --- */
#contact {
  background: var(--white-color);
}
#contact p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}
#contact form {
  max-width: 700px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
#contact input,
#contact textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: "Assistant", sans-serif;
  font-size: 1rem;
}
#contact textarea {
  grid-column: 1 / -1;
  resize: vertical;
}
#contact button {
  grid-column: 1 / -1;
  width: auto;
  margin: 0 auto;
  padding: 15px 40px;
  border: none;
  cursor: pointer;
}

/* --- Footer --- */
footer {
  background: var(--secondary-color);
  color: #bdc3c7;
  text-align: center;
  padding: 30px 0;
}
footer .social-icons a {
  color: #bdc3c7;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s;
}
footer .social-icons a:hover {
  color: var(--primary-color);
}
footer p {
  margin-top: 1rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .hamburger-menu {
    display: block; /* Show hamburger on mobile */
    z-index: 1002; /* Make sure it's above the menu */
  }

  .navbar .nav-links {
    /* START: Change nav-links behavior for mobile */
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 80%;
    height: 100vh;
    background: var(--white-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out;
    z-index: 1001;
    /* END: Change nav-links behavior for mobile */
  }

  /* START: Added .active class for when menu is open */
  .navbar .nav-links.active {
    right: 0;
  }
  /* END: Added .active class */

  .navbar .nav-links li {
    margin-right: 0;
    margin: 20px 0;
  }

  .navbar .nav-links a {
    font-size: 1.2rem;
  }

  #hero h1 {
    font-size: 2.8rem;
  }
  #hero p {
    font-size: 1.1rem;
  }
  .features-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  #contact form {
    grid-template-columns: 1fr;
  }
  .slider-pricing-container .features-list {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
  }
  .whatsapp-float i {
    font-size: 24px;
    margin-top: 13px;
  }
}

/* --- Responsive styles for the new grid --- */
@media (max-width: 992px) {
  .features-grid-new {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .features-grid-new {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
  .smart-package-container {
    padding: 30px 20px;
  }
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}
.comparison-column h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}
.comparison-column ul {
  list-style: none;
  padding: 0;
}
.comparison-column li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.comparison-column .fa-times-circle {
  color: #e74c3c; /* Red */
  margin-left: 10px;
}
.comparison-column .fa-check-circle {
  color: #2ecc71; /* Green */
  margin-left: 10px;
}

/* Responsive for the new section */
@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}
