.option-card {
  position: relative;
  display: flex;
  flex-direction: column; /* تغییر به ستون برای قرارگیری دکمه در پایین */
  border-radius: 15px;
  overflow: hidden;
  margin: 20px 0; /* فاصله از بالا و پایین */
  height: 400px; /* ارتفاع ثابت برای کادر */
}

.option-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../image/baner/B24.webp');
  background-size: cover;
  background-position: center;
  filter: blur(1px) brightness(63%) contrast(110%); /* مات و شیشه‌ای */
  z-index: 0; /* پس‌زمینه زیر همه المان‌ها */
}

.option-content {
  position: relative;
  padding: 20px;
  flex: 1; /* فضای در دسترس برای محتوا */
  color: white; /* رنگ متن سفید برای کنتراست */
  z-index: 1; /* قرار دادن محتوا بالاتر از پس‌زمینه */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.option-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #ffffff;
}

.option-description {
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
}

.option-flag-container {
  display: flex;
  justify-content: space-between;
  gap: 10px; /* کاهش فاصله بین آیکون‌ها */
  margin-bottom: 20px;
}

#option-button {
  margin-top: auto; /* دکمه را به پایین‌ترین قسمت کادر می‌برد */
  padding: 10px;
  background-color: #304fff;
  color: white;
  font-size: 1.1em;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 10px; /* فاصله کمی از انتهای کادر */
}

#option-button:hover {
  background-color: #1D3366;
}


.cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 40%;
    height: auto;
    margin-right: 20px;
    border-radius: 15px;
}

.card .content {
    flex: 1;
    text-align: center;
}

.card .content h2 {
    margin: 0 0 10px;
    font-size: 17px;
}
.card .content a {
    
    color:  #304FFF;
    font-weight: bold;
}

.card .content p {
  text-align: right;
    margin-right: 10px;
    font-size: 11px;
}

.card-1 { background-color: #ffffff; } 
.card-2 { background-color: #ffffff; } 
.card-3 { background-color: #ffffff; } 
.card-4 { background-color: #ffffff; } 
.card-5 { background-color: #ffffff; } 
.card-6 { background-color: #ffffff; }
.card-7 { background-color: #ffffff; }
.card-8 { background-color: #ffffff; }
.card-9 { background-color: #ffffff; }
.card-10{ background-color: #ffffff; }

@media (min-width: 768px) {
    .cards-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .card {
        width: calc(50% - 10px);
        margin-bottom: 22px;
    }
    .card .content p {
      font-size: 14px;
  
  }
}




.icon-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px; /* فاصله بین آیکون و متن */
  }


.svg-icon {
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
}

.svg-icon:hover path {
    stroke: #304fff;
    
}

.svg-icon:hover path[stroke="#292D32"] {
    stroke: #304fff;
}

@font-face {
    font-family: 'EjarehGram';
    src: url('../font/EjarehGram.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background: white;
    min-height: 100vh;
    position: relative;
    padding: 80px 0 100px;
}

/* Header Styles */
.header {
    background-color: white;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    min-height: 60px;
    height: auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.logo-text {
    color: #304fff;
    font-family: 'EjarehGram';
    line-height: 1.1;
    white-space: nowrap;
    overflow: visible;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.login-btn {
    background-color: #304fff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    display: inline-block;
}

.login-btn:hover {
    background-color: #203ae0;
    transform: translateY(-1px);
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    z-index: 1000;
}

.hamburger-menu:hover {
    background: rgba(48, 79, 255, 0.1);
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 12px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu:hover .hamburger-line {
    background-color: #304fff;
}

.hamburger-menu.active .hamburger-line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.hamburger-menu.active .hamburger-line:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 40px;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.side-menu.active {
    right: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin: 5px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.menu-item:hover {
    background: rgba(48, 79, 255, 0.1);
    color: #304fff;
}

.menu-item svg {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    transition: color 0.3s ease;
}

.menu-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 10px 0;
}

/* Close Button */
.close-btn-wrapper {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.side-menu.active ~ .close-btn-wrapper {
    display: block;
}

.close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f5f5f5;
    transform: scale(1.05);
}

.close-btn svg {
    width: 24px;
    height: 24px;
    color: #304fff;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 15px;
    padding: 15px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 
                0 4px 15px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    z-index: 1000;
}

.bottom-nav.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.add-btn{
  background: rgba(48, 79, 255, 0.1);
}


.nav-item:hover {
    background: rgba(48, 79, 255, 0.1);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    color: #333;
    transition: color 0.3s ease;
}

.add-btn svg {
  color: #304FFF;
}

.nav-item:hover svg {
    color: #304fff;
}


.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(31, 41, 55, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    margin-bottom: 8px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(31, 41, 55, 0.95);
}

.nav-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Content Sections */
.section {
    padding: 40px 20px;
}

.container-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 154px 0 60px;
}

.container-section.reverse {
    flex-direction: row-reverse;
}

.image-box {
    flex: 1;
    max-width: 400px;
}

.image-box img {
    width: 100%;
    border-radius: 40px;
}

.content-box {
    flex: 1;
    max-width: 500px;
}

.title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.6;
}

.description {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 32px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-white {
    background-color: white;
    border: 2px solid #304fff;
    color: #304fff;
}

.btn-white:hover {
    background-color: #f0f4ff;
}

.btn-blue {
    background-color: #304fff;
    color: white;
}

.btn-blue:hover {
    background-color: #203ae0;
}


.modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            box-sizing: border-box;
        }

.modal-overlay.active {
            display: flex;
        }
 .category-modal {
            background: white;
            border-radius: 12px;
            width: 100%;
            max-width: 500px;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease-out;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(-20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        .modal-header {
            padding: 24px 24px 16px 24px;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title {
            font-size: 20px;
            font-weight: 600;
            margin: 0;
            color: #333;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 24px;
            color: #666;
            cursor: pointer;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .close-btn:hover {
            background: #f0f0f0;
            color: #333;
        }

        .modal-body {
            padding: 16px 24px 24px 24px;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
        }

        .category-btn {
            background: white;
            border: 2px solid #1D3366;
            border-radius: 8px;
            padding: 16px 20px;
            text-align: center;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            color: #333;
            transition: all 0.2s ease;
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .category-btn:hover {
            border-color: #304fff;
            background: #f8f9ff;
            color: #304FFF;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
        }

        .category-btn:active {
            transform: translateY(0);
        }

        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px;
            font-size: 16px;
            color: #666;
        }

        .loading::after {
            content: "";
            width: 20px;
            height: 20px;
            border: 2px solid #e0e0e0;
            border-top: 2px solid #007bff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-left: 10px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .back-btn {
            background: #1D3366;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 8px 16px;
            margin-bottom: 16px;
            cursor: pointer;
            font-size: 14px;
            color: #ffffff;
            transition: all 0.2s ease;
        }

        .back-btn:hover {
            background: #29527b;
            border-color: #adb5bd;
        }
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-overlay.active {
            display: flex;
        }
/* Responsive Styles */
@media (min-width: 768px) {
    .content::-webkit-scrollbar {
                width: 6px;
            }
    .logo-text {
        font-size: 48px;
    }
    
    .side-menu {
        width: 420px;
        max-height: 420px;
        top: 80px;
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 
                    0 4px 15px rgba(0, 0, 0, 0.08),
                    0 0 0 1px rgba(0, 0, 0, 0.02);
    }
}

@media (min-width: 1024px) {
    .logo-text {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
        .svg-icon {
        width: 33px;
        height: 33px;
        transition: all 0.3s ease;
    }
     .modal-overlay {
                padding: 10px;
            }
    .logo-text {
        font-size: 40px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .header {
        padding: 8px 12px;
        min-height: 50px;
    }
    
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: calc(100% - 30px);
        margin: 0 15px;
        border-radius: 15px 15px 0 0;
        padding: 12px 25px;
        gap: 35px;
        justify-content: space-around;
    }
    
    .nav-item {
        width: 40px;
        height: 40px;
    }
    
    .nav-item svg {
        width: 20px;
        height: 20px;
    }
    
    .container-section, 
    .container-section.reverse {
        flex-direction: column;
        text-align: center;
        margin-top: 1px;
    }
    
    .image-box, 
    .content-box {
        max-width: 100%;
    }
    
    .buttons {
        justify-content: center;
    }
}


.service-container {
      display: flex;
      align-items: center;
      max-width: 1000px;
      margin: auto;
      margin-top: 80px; 
      position: relative;
    }

    .service-bar {
      display: flex;
      justify-content: space-around;
      align-items: center;
      background-color: white;
      border-radius: 16px;
      padding: 20px 10px;
      flex-wrap: wrap;
      flex: 1;
      margin: 0 10px;
    }

    .service-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      color: #333;
      padding: 20px;
      border-radius: 12px;
      transition: all 0.3s ease;
      width: 120px;
    }

    .service-item:hover {
      background-color: #e8f0ff;
    }

    .service-item span {
      font-size: 20px;
      color: #555;
      transition: color 0.3s ease;
      font-weight: bold;
    }

    .service-item i {
      font-size: 40px;
      margin-bottom: 8px;
      color: #555;
      transition: color 0.3s ease;
    }
    .service-item:hover span {
      color: #304fff;
    }

    

    .custom-svg {
      fill: #555; 
      transition: fill 0.3s ease;
    }

    .service-item:hover .custom-svg {
      fill: #304fff !important; 
    }

    .service-title {
      font-size: 0.9rem;
      text-align: center;
    }

    .arrow {
      background-color: white;
      border: solid #878787;
      border-radius: 40%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      color: #000000;
      font-size: 20px;
    }

    .arrow:hover {
      background-color: #304fff;
      color: white;
      transform: scale(1.1);
    }

    .arrow:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: scale(1);
    }

    .arrow:disabled:hover {
      background-color: white;
      color: #555;
    }

    .service-group {
      display: none;
      width: 100%;
    }

    .service-group.active {
      display: contents;
    }

    .page-indicator {
      text-align: center;
      margin-top: 20px;
      font-size: 14px;
      color: #666;
    }

    .page-indicator .current-page {
      color: #304fff;
      font-weight: bold;
    }

    /* Search Section */
    .search-section {
      padding: 20px;
      background-color: white;
      margin: 20px 0;
    }

    .search-container {
      display: flex;
      gap: 10px;
      max-width: 800px;
      margin: 0 auto;
    }

    .search-input {
      flex: 1;
      padding: 12px 20px;
      border: 1px solid #252c32;
      border-radius: 15px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      font-size: 16px;
      outline: none;
      direction: rtl;
    }

    .search-input:focus {
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    .search-btn {
      background-color: #304fff;
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 15px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
    }
  .explor {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 300px; 
    padding: 12px 20px;
  }
@media (max-width: 768px) {
  .explor {
    width: 90%; 
    padding: 12px 16px; 
    font-size: 15px; 
  }
}
@media (min-width: 769px) {
  .explor {
    width: auto; 
    min-width: 200px; 
    padding: 12px 32px; 
  }
}

@media (min-width: 1024px) {
  .explor {
    font-size: 17px;
    padding: 14px 36px;
  }
}

    .search-btn:hover {
      background-color: #203ae0;
      transform: translateY(-1px);
    }
    .products-section-first{
      margin-top: 100px;
    }
    .products-section {
      padding: 20px;
      margin-bottom: 5px;
      background: #1D3366;
    }

    .products-section h2{
      color: white;
    }

    .products-header {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 20px;
    }

    .more-btn {
      background-color: #1D3366;
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 15px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .more-btn:hover {
      background-color: #152951;
      transform: translateY(-1px);
    }

    .products-container {
      position: relative;
      width: 100%;
    }

    .products-wrapper {
      width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      position: relative;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scroll-behavior: smooth;
    }

    .products-wrapper::-webkit-scrollbar {
      display: none;
    }

    .products-scroll {
      display: flex;
      gap: 15px;
      width: calc(10 * (250px + 15px)); /* 10 products * (width + gap) */
      transition: none;
    }

    .products-scroll::-webkit-scrollbar {
      display: none;
    }

    .product-card {
      flex: 0 0 250px;
      background: white;
      border-radius: 12px;
      border: 1px solid #252c32;
      overflow: hidden;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .product-card:hover {
      transform: translateY(-5px);
      border-color: #304fff;
    }

    .product-image {
      position: relative;
      height: 180px;
      overflow: hidden;
    }

    .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .product-info {
      padding: 15px;
    }

    .product-price {
      font-size: 18px;
      font-weight: bold;
      color: #304fff;
      margin-bottom: 8px;
    }

    .product-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 8px;
      color: #444444;
    }

    .product-description {
      font-size: 14px;
      color: #666;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .product-arrow {
      background-color: #304fff;
      border: solid #878787;
      border-radius: 50%;
      width: 45px;
      height: 45px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      color: white;
      font-size: 18px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
    }

    .product-arrow-left {
      left: 10px;
    }

    .product-arrow-right {
      right: 10px;
    }

    .product-arrow:hover {
      background-color: #203ae0;
    }

    .product-arrow:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background-color: #304fff;
    }

    .product-arrow:disabled:hover {
      background-color: #304fff;
    }

    @media (max-width: 768px) {
      .products-section {
        padding: 20px; 
      }

      .product-card {
        flex: 0 0 calc((100vw - 60px) / 2); 
        
        min-width: 0;
        height: 220px;
        width: 360px;
      }

      .product-image {
        height: 110px;
      }

      .product-info {
        padding: 8px; 
      }

      .product-price {
        font-size: 16px; 
        margin-bottom: 6px;
      }

      .product-title {
        font-size: 14px; 
        margin-bottom: 6px;
      }

      .product-description {
        font-size: 12px; 
      }

      .products-wrapper {
        width: calc(3 * ((100vw - 60px) / 3 + 15px) - 15px);
      }

      .products-scroll {
        width: calc(10 * ((100vw - 60px) / 3 + 15px)); 
      }

      .product-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
      }
    }

    @media (max-width: 600px) {
      .service-container {
        margin-top: 60px; 
      }
      
      .service-bar {
        padding: 8px 2px;
        margin: 0 2px;
        flex-wrap: nowrap;
        gap: 2px;
      }
      
      .service-item {
        width: 52px;
        padding: 10px;
        margin-bottom: 0;
        flex-shrink: 0;
        min-width: 50px;
      }
      
      .service-item img {
        padding: 15px;
        max-width: 80px !important;
        width: 80px !important;
        height: 80px !important;
      }
      
      .service-item span {
        font-size: 10px !important;
        line-height: 1.1;
        margin-top: 2px;
      }
      
      .service-container {
        flex-direction: row;
        padding: 0 2px;
      }
      
      .arrow {
        color: #000000;
        width: 30px;
        height: 30px;
        font-size: 12px;
        flex-shrink: 0;
        margin: 0 2px;
      }
    }
    

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.service-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
}

.service-item span {
  margin-top: 8px;
  font-size: 14px;
}


@media (max-width: 768px) {
  .service-container {
    margin-top: 70px; 
  }
  
  .service-item {
    padding: 15px; 
  }
  
  .service-item img {
    max-width: 300px; 
  }
  
  .service-item span {
    font-size: 16px; 
    margin-top: 10px;
  }
}

.service-item .service-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
}

@media (max-width: 768px) {
  .service-item .service-icon {
    max-width: 500px;
  }
}

/* footer.css :  ********************************************** */

@font-face {
    font-family: 'iranyekanweblight';
    src: url('../font/iranyekanweblight.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'iranyekanweblight', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
background-color: #ffffff;
min-height: 100vh; 
display: flex; 
flex-direction: column; 
padding: 0; 
}

.footer {
    background: linear-gradient(135deg, #304fff 0%, #1e2f99 100%);
    color: white;
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
    opacity: 0.5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}


.License{
  display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}


.contact-info {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.contact-info strong {
    color: #fff;
}

.newsletter {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.newsletter input,
.newsletter button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.newsletter input {
    margin-bottom: 10px;
    direction: rtl;
}

.newsletter button {
    background: #bdc7ff;
    color: #000105;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #f0f0f0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-methods span {
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}



.banner-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.banner-item {
  border-radius: 15px;
  overflow: hidden;
  height: 180px;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* موبایل: 2 × 2 */
@media (max-width: 768px) {
  .banner-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-item {
    height: 140px;
  }
}

/* CSS */
.banner-section {
    display: flex;
    justify-content: center;
    gap: 30px; /* فاصله بین کارت‌ها */
    padding: 20px;
    flex-wrap: wrap;
}

.banner-card {
    display: block;
    width: 280px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

.banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-image {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* دایره‌ای کردن عکس */
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f0f0f0;
}

.card-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
}

.card-description {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}