 @media (max-width: 768px) {
    h2 {
      text-align: center;
      max-width: 90%;
      margin: 20px auto;
      word-wrap: break-word;
      line-height: 1.5;
      white-space: normal;
      font-weight: 900;
    }
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    table-layout: fixed;
  }

  table {
    animation: slideUp 0.6s ease-out;
  }

  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  thead {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    position: relative;
  }

  thead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    opacity: 0.1;
  }

  th {
    padding: 18px 15px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    width: 25%;
    min-width: 120px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  th:first-child {
    border-right: none;
  }

  th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  th:hover::after {
    width: 80%;
  }

  tbody {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
  }

  tr {
    transition: all 0.3s ease;
    position: relative;
  }

  tbody tr:hover {
    background: linear-gradient(45deg, rgba(255,107,107,0.1), rgba(254,202,87,0.1));
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  tbody tr:nth-child(even) {
    background: rgba(247,250,252,0.5);
  }

  tbody tr:nth-child(odd) {
    background: rgba(255,255,255,0.8);
  }

  td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 14px;
    color: #2c3e50;
    position: relative;
    transition: all 0.3s ease;
    width: 25%;
    min-width: 120px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  td:hover {
    white-space: normal;
    overflow: visible;
    z-index: 10;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 5px;
  }

  td::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 60%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateY(-50%);
    border-radius: 0 3px 3px 0;
  }

  tr:hover td::before {
    width: 3px;
  }

  .your-choice-title {
    text-align: center;
    margin-bottom: 10px;
  }

  .your-choice-image {
    text-align: center;
    margin-bottom: 20px;
  }

  .your-choice-image img {
    max-width: 100%;
    height: auto;
    alt: "تصویر پلن خدماتی";
  }

  .your-choice-item ul {
    list-style-type: none;
    padding: 0;
  }

  .plan-price {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
  }

  .fancy-heading {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: bold;
    font-size: 2.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
  }

  .fancy-heading:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }

  .service-entry ul {
    display: flex;
    flex-wrap: wrap;
    direction: rtl;
    padding-right: 0;
    margin: 0;
  }

  .service-entry li {
    width: 50%;
    list-style: none;
    position: relative;
    padding-right: 1.5em;
    margin-bottom: 10px;
    text-align: right;
  }

  .service-entry li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: #3b82f6;
    font-size: 1.2em;
    line-height: 1;
  }
  
  @media (max-width: 600px) {
    .service-entry li {
      width: 100%;
    }
  }

  @media (max-width: 768px) {
    .custom-slider-wrapper {
      overflow-x: auto;
      display: flex;
      gap: 16px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding: 0 1rem 1rem;
      scroll-padding: 0 1rem;
    }

    .custom-slide {
      flex: 0 0 85%;
      scroll-snap-align: start;
    }
  }

  .service-entry img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-sizing: border-box;
    max-width: 100%;
  }

  @media (min-width: 768px) {
    .service-entry img {
      width: 70%;
      max-height: 500px;
      max-width: 100%;
    }
  }

  @media (max-width: 767px) {
    .service-entry img {
      width: 100%;
      max-height: none;
    }
  }

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


 .custom-video-section {
    margin: 40px 0;
  }
  
  .custom-video-section .video-card {
    margin: 20px 0;
    transition: transform 0.3s ease;
  }
  
  .custom-video-section .video-card:hover {
    transform: translateY(-5px);
  }
  
  .custom-video-section .horizontal-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: #000;
    aspect-ratio: 16/9;
  }
  
  .custom-video-section .horizontal-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    
    transition: opacity 0.5s ease;
  }
  
  .custom-video-section .play-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  
  .custom-video-section .play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
  }
  
  .custom-video-section .play-button:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
  }
  
  .custom-video-section .play-icon {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid white;
    margin-left: 5px;
    transition: all 0.3s ease;
  }
  
  .custom-video-section .pulse-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: custom-pulse-anim 2s infinite;
    opacity: 0;
  }
  
  @keyframes custom-pulse-anim {
    0% {
      transform: scale(0.8);
      opacity: 0.7;
    }
    70% {
      transform: scale(1.3);
      opacity: 0;
    }
    100% {
      transform: scale(0.8);
      opacity: 0;
    }
  }
  
  .custom-video-section .video-caption {
    padding: 15px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .custom-video-section .video-caption h3 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.3rem;
  }
  
  .custom-video-section .video-caption p {
    color: #666;
    font-size: 0.9rem;
  }
  
  @media (max-width: 768px) {
    .custom-video-section .horizontal-video-container {
      border-radius: 0;
    }
    
    .custom-video-section .play-button {
      width: 50px;
      height: 50px;
    }
    
    .custom-video-section .play-icon {
      border-top-width: 12px;
      border-bottom-width: 12px;
      border-left-width: 20px;
    }
  }
  
  .custom-video-section video::-webkit-media-controls {
    display: none !important;
  }
  
  
   /* استایل‌های پایه */
  .your-choice-item {
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  .your-choice-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
  }
  
  .feature-list {
    list-style: none;
    padding: 0;
  }
  
  /* استایل‌های بخش CTA */
  .plan-cta-wrapper {
    padding: 0 15px 15px;
  }
  
  .plan-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    border: none;
  }
  
  .plan-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
  }
  
  .cta-icon {
    margin-left: 8px;
    font-size: 1rem;
  }
  
  .cta-text {
    font-size: 0.9rem;
  }
  
  .cta-arrow {
    margin-right: 8px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
  }
  
  .plan-cta-btn:hover .cta-arrow {
    transform: translateX(-3px);
  }
  
  .cta-hint {
    color: #666;
    font-size: 0.8rem;
  }
  
  /* واکنشگرایی */
  @media (max-width: 768px) {
    .plan-cta-btn {
      padding: 8px 15px;
      font-size: 0.85rem;
      max-width: 200px;
    }
    
    .cta-text {
      font-size: 0.85rem;
    }
    
    .cta-hint {
      font-size: 0.75rem;
    }
    
    .feature-list li {
      font-size: 0.9rem;
    }
  }