/* משתנים ועיצוב בסיסי */
:root {
  --primary: #F97316;       /* -- כתום ראשי -- */
  --primary-dark: #EA580C;  /* -- כתום כהה יותר (להובר) -- */
  --secondary: #F97316;      /* -- כתום משני (מאוחד עם הראשי) -- */
  --dark: #0D2847;          /* -- כחול כהה עמוק -- */
  --light: #f8fafc;
  --gray: #64748b;
  --success: #10b981;
  --heading-font-weight: 700;
  --text-font-weight: 400;
}

/* איפוס בסיסי לכל האלמנטים */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* עיצוב כללי לגוף העמוד */
body {
  font-family: 'Rubik', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  direction: rtl; /* כיווניות מימין לשמאל */
  -webkit-font-smoothing: antialiased; /* שיפור מראה הפונטים בדפדפני Webkit */
  -moz-osx-font-smoothing: grayscale; /* שיפור מראה הפונטים ב-Firefox */
}

/* מיכל מרכזי לתוכן */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* ריפוד מהצדדים למסכים קטנים */
}

/* כותרות סעיפים כלליות */
.section-title {
  font-size: 2.5rem;
  font-weight: var(--heading-font-weight);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark);
}

/* --- ניווט ראשי - סרגל עליון --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* עיצוב עבור Chat2BizIL במקום הלוגו */
.site-title {
  font-size: 2rem; /* גודל פונט להתחלה */
  font-weight: 700; /* מודגש */
  color: var(--dark); /* צבע טקסט ראשי */
  text-decoration: none; /* לוודא שאין קו תחתון מקישור */
  white-space: nowrap; /* מונע שבירת שורה */
  padding: 0.25rem 0.5rem; /* ריפוד קל סביב הטקסט */
  border-radius: 0.5rem; /* פינות מעוגלות */
  transition: all 0.3s ease;
  display: flex; /* כדי ליישר את האייקון עם הטקסט */
  align-items: center; /* ליישור אנכי */
}

.site-title .chat-icon {
    font-size: 1.8rem; /* גודל האייקון */
    color: var(--primary); /* צבע האייקון */
    margin-left: 0.5rem; /* רווח בין האייקון לטקסט (בשל RTL) */
    transition: color 0.3s ease;
}

.navbar.scrolled .site-title {
  font-size: 1.8rem; /* גודל קטן יותר כשהnavbar מגולל */
}

.navbar.scrolled .site-title .chat-icon {
  font-size: 1.6rem; /* התאמה לגודל הקטן יותר בגלילה */
}

/* הסתרת הלוגו הישן (כבר הוחלף בקבצי ה-HTML אבל ליתר בטחון) */
.brand .logo,
.footer-logo {
    display: none !important;
}


.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* קו תחתון אקטיבי עבור קישורי ניווט */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

/* כפתור קריאה לפעולה ב-Header */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--primary);
  color: white;
  transition: all 0.3s ease;
  border: 2px solid var(--primary); /* חשוב לשמור על border כדי למנוע "קפיצה" בהובר */
}

.cta-button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* כפתור תפריט מובייל (מוסתר כברירת מחדל) */
.mobile-menu-btn {
  display: none; /* מוסתר במסכים גדולים */
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Hero Section - קריאה לפעולה ראשית --- */
.hero {
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fA 100%); /* רקע תכלת-אפרפר עדין */
  min-height: auto;
  display: flex;
  align-items: center;
  text-align: center;
}

/* התאמה ל-Hero Section בעמוד צור קשר */
.hero.hero-contact {
  padding: 6rem 0 3rem;
  min-height: auto;
}


.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

/* כלל חדש עבור ה-hero-content כשהוא תופס את כל הרוחב */
.hero-content.full-width {
    flex: 1 1 100%; /* תופס 100% רוחב */
    max-width: 800px; /* הגבלה לרוחב מקסימלי כדי שלא יהיה רחב מדי */
    margin: 0 auto; /* מרכוז */
}

.hero-title {
  font-size: 2.2rem;
  font-weight: var(--heading-font-weight);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

/* ביטול כללים שקשורים לתמונה (לא רלוונטיים יותר) */
.hero-image {
  display: none;
}


/* --- כפתורים כלליים --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* --- סעיף יתרונות (Features Section) --- */
.features {
  padding: 4rem 0;
  background: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
  font-weight: 500;
}

.feature-card p {
  color: var(--gray);
  font-size: 1rem;
}

/* --- Pricing Section (Packages Page) --- */
.pricing {
  padding: 3rem 0;
  background: var(--light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.package-card .setup-fee {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: -0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.package-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.07);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.package-card h3 {
  font-size: 1.75rem;
  color: var(--dark); /* Changed from primary-dark to dark */
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.package-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  display: block;
}

.package-card .price .per-month {
  font-size: 1.1rem;
  color: var(--gray);
  font-weight: 400;
}

.package-card .features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  text-align: right;
  flex-grow: 1;
}

.package-card .features-list li {
  margin-bottom: 0.6rem;
  color: var(--dark);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.package-card .features-list li i {
  color: var(--success);
  font-size: 1em;
}

.package-card .features-list li.unavailable {
  color: var(--gray);
  text-decoration: line-through;
}

.package-card .features-list li.unavailable i {
  color: #ef4444;
}

.package-card .btn {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
}

/* Badge for popular package */
.package-card .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary); /* Changed from secondary to primary */
    color: white; /* Changed from dark to white */
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    transform: rotate(-5deg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Featured card (החבילה המומלצת) - now with dark blue background */
.package-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: var(--dark); /* -- רקע כחול כהה -- */
    color: white;
}

.package-card.featured h3,
.package-card.featured .price,
.package-card.featured .price .per-month,
.package-card.featured .features-list li {
    color: white;
}

.package-card.featured .setup-fee {
    color: rgba(255, 255, 255, 0.8);
}

.package-card.featured .features-list li i {
    color: var(--success);
}

.package-card.featured .features-list li.unavailable {
    color: rgba(255, 255, 255, 0.7);
}

.package-card.featured .features-list li.unavailable i {
    color: #f7d4d4;
}

/* -- כפתור כתום בולט על הרקע הכחול -- */
.package-card.featured .btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.package-card.featured .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}


/* --- CTA Bottom Section --- */
.cta-bottom {
  padding: 4rem 0;
  text-align: center;
  background: var(--primary);
  color: white;
}

.cta-bottom .section-title {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-bottom .cta-description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* --- עיצוב כללי לפוטר (לא רק למובייל) --- */
.main-footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
}

.footer-brand,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 200px;
}

/* עיצוב עבור הfooter site-title */
.main-footer .site-title {
  color: white;
  font-size: 2.2rem;
}
.main-footer .site-title .chat-icon {
    font-size: 2rem;
    color: var(--primary);
}

.main-footer .footer-brand .site-title {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
  color: white;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact a i {
  font-size: 1.1rem;
  color: var(--primary);
}


.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary);
}

/* --- עיצובים ספציפיים לעמוד contact.html --- */
.contact-section {
    padding: 4rem 0;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 4rem;
    justify-items: center;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: var(--heading-font-weight);
    text-align: center;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--dark);
    justify-content: center;
}

.contact-info ul li i {
    color: var(--primary);
    font-size: 1.3rem;
}

.contact-info ul li a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-info ul li a:hover {
    color: var(--primary);
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-links-contact a {
    font-size: 1.8rem;
    color: var(--gray);
    transition: color 0.3s ease;
}

.social-links-contact a:hover {
    color: var(--primary);
}


.contact-form-wrapper {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.contact-form-wrapper .form-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: var(--heading-font-weight);
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 1.05rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--dark);
    background-color: #f8fafc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); /* Focus ring with new orange color */
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* סעיף "או פשוט תבחר" */
.quick-actions {
    text-align: center;
    padding: 3rem 0;
}

.quick-actions-text {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.quick-actions-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}


/* --- רספונסיביות - Mobile First לגיטימי --- */
@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    transition: none;
  }
  .main-nav ul {
    flex-direction: row;
    padding: 0;
  }
  .navbar .cta-button {
    display: inline-flex;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .contact-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  .contact-info,
  .contact-form-wrapper {
      padding: 1.5rem;
  }
  .contact-info h2,
  .contact-form-wrapper .form-title {
      font-size: 1.8rem;
      text-align: center;
  }
  .contact-info ul {
      align-items: center;
  }
  .social-links-contact {
      justify-content: center;
  }

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

  .footer-brand {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
  }
  .footer-brand .site-title {
    margin-bottom: 0.5rem;
  }
  .footer-brand p {
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0.5rem auto 0 auto;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
  }

  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
  }
  .footer-links li {
    margin-bottom: 0.75rem;
  }

  .footer-contact ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
  }
  .footer-contact li {
    margin-bottom: 0.75rem;
  }

  .footer-contact a {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 2rem;
    align-items: center;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 0;
    width: 100%;
    text-align: center;
  }

  .navbar .container {
    padding: 0 1rem;
  }

  .site-title {
    font-size: 1.8rem;
  }
  .site-title .chat-icon {
    font-size: 1.6rem;
  }
  .navbar.scrolled .site-title {
    font-size: 1.6rem;
  }
  .navbar.scrolled .site-title .chat-icon {
    font-size: 1.4rem;
  }
  .main-footer .site-title {
    font-size: 2rem;
  }
  .main-footer .site-title .chat-icon {
    font-size: 1.8rem;
  }

  .navbar .cta-button {
    display: none;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    padding: 2rem;
  }

  .package-card h3 {
    font-size: 1.8rem;
  }

  .package-card .price {
    font-size: 2.5rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.6rem;
  }
  .site-title .chat-icon {
    font-size: 1.4rem;
  }
  .navbar.scrolled .site-title {
    font-size: 1.4rem;
  }
  .navbar.scrolled .site-title .chat-icon {
    font-size: 1.2rem;
  }
  .main-footer .site-title {
    font-size: 1.8rem;
  }
  .main-footer .site-title .chat-icon {
    font-size: 1.6rem;
  }
  .btn-outline:visited,
  .btn-outline:focus,
  .btn-outline:active {
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
  }
}

@media (min-width: 1025px) {
    .pricing-grid.four-columns {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
  .pricing-grid.four-columns {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
  }
}
/* --- סעיף סרטוני הסברה (Videos Section) --- */
.videos-section {
    padding: 4rem 0;
    background: var(--light);
}

.videos-grid {
    display: grid;
    /* הגדרה להצגת 2 עמודות במסכים גדולים ומטה, עם גודל מינימלי של 400 פיקסלים לכל עמודה. */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* עיצוב כללי לכרטיס סרטון */
.video-container {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden; 
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-container h3 {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 600;
}

.video-container p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    font-size: 1rem;
}

/* קלאס להפיכת וידאו מוטמע (iframe) לריספונסיבי (יחס 16:9) */
.video-responsive {
    position: relative;
    /* 56.25% = 9 / 16 (יחס 16:9) */
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* התאמה רספונסיבית למסכים קטנים יותר */
@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: 1fr; /* עמודה אחת בלבד בטאבלטים ומטה */
    }
}
/* --- תיקון Z-Index לנגן מוטמע החוסם לחיצות --- */
/* מוודא שה-iframe נמצא מעל רוב האלמנטים הכלליים באתר (כמו ווידג'טים) */
.video-responsive iframe {
    /* נשאר כפי שהיה: position: absolute; top: 0; left: 0; width: 100%; height: 100%; */
    z-index: 999; /* ערך גבוה שיבטיח עדיפות לנגן */
}

/* וודאו גם שמיכל העוטף אינו מפריע */
.video-container {
    z-index: 99; /* נותן עדיפות למיכל המכיל, חשוב במיוחד אם יש אנימציות */
    position: relative; /* חובה ל-z-index לעבוד כראוי */
}
/* --- סגנונות מיוחדים לדף תנאים (terms.html) --- */
.terms-content {
    /* הסגנון הפנימי של הדף יאומץ על ידי ה-container הראשי */
    padding: 30px;
    background: white; /* רקע לבן בתוך הקונטיינר */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.terms-content h1 {
    font-size: 2.2rem;
    color: var(--dark); /* שימוש במשתנה הקיים */
    font-weight: var(--heading-font-weight);
    border-bottom: 2px solid var(--primary); /* שימוש במשתנה הקיים */
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.terms-content h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}
.terms-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 10px;
}
.terms-content ul {
    list-style-type: disc;
    padding-right: 25px;
    margin-bottom: 20px;
}
.terms-content p, .terms-content li {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--gray); /* שימוש בצבע הטקסט הכללי */
}