.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: flex-start;
    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;
    width: 100%;
}

.logo-text {
    color: #304fff;
    font-family: 'EjarehGram';
    line-height: 1.1;
    white-space: nowrap;
    overflow: visible;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

/* 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;
}

.nav-item:hover {
    background: rgba(48, 79, 255, 0.1);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    color: #333;
    transition: color 0.3s ease;
}

.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;
    }

    @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;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section a::before {
    content: '‹';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.footer-section a:hover::before {
    margin-left: 12px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.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;
    }
}
