/* Fonts */
@font-face {
  font-family: 'Rokh';
  src: url('../fonts/RokhFaNum-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'yekan bakh';
  src: url('../fonts/Yekan\ Bakh\ Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
*{
    font-family: 'yekan bakh';
}
p{
            text-align: justify;
}
h2 {
    font-size: 20px;
}

/* Variables */
:root {
  --primary-red: #E92A2A;
  --primary-blue: #2a9d8f;
  --dark-text: #1e1a1a;
  --medium-text: #666666;
  --light-text: #999999;
  --light-grey-bg: #f8f8f8;
  --border-color: #e0e0e0;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  --dark-grey-footer: #212121;
  --darker-grey-footer: #1a1a1a;
}

/* Base Styles */
.container {
  max-width: 1389px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'Vazirmatn', sans-serif;
}

/* Hero Section */
.hero-section {
  background-color: var(--white);
  padding: 40px 0;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.hero-text-left {
  flex-shrink: 0;
  padding-right: 20px;
  text-align: right;
  border-right: 2px solid var(--primary-red);
  padding-left: 20px;
}

.hero-text-left .stats-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--medium-text);
  margin-bottom: 10px;
}

.hero-text-left .value-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-text);
}

.hero-text-left .value-text .price {
  color: var(--primary-red);
  font-size: 24px;
  font-weight: 700;
  display: inline-block;
  margin-right: 5px;
}

.hero-product-right {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--light-grey-bg);
  border-radius: 12px;
  padding: 20px 30px;
  position: relative;
  overflow: hidden;
}

.product-info {
  flex-grow: 1;
  text-align: right;
  z-index: 1;
}

.product-info h2 {
  font-size: 24px;
  color: var(--medium-text);
  margin-bottom: 5px;
}

.product-info h1 {
  font-size: 36px;
  color: var(--dark-text);
  margin-bottom: 15px;
  font-weight: 700;
}

.product-info p {
  font-size: 15px;
  color: var(--medium-text);
  margin-bottom: 25px;
  line-height: 1.8;
}

.view-products-btn {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.view-products-btn:hover {
  background-color: #248a7f;
}

.product-image-container {
  flex-shrink: 0;
  position: relative;
  width: 300px;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  background-color: transparent;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 2;
}

.brand-badge-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

/* Search Container */


.search-page-nav {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

    .search-page-nav-item {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px 0;
        font: 500 14px/1.4 inherit;
        color: var(--ink-700);
        position: relative; /* Added for positioning the underline */
    }

    .search-page-nav-item.active {
        color: var(--ferzyab-red);
        position: relative
    }

    .search-page-nav-item.active::after {
        content: "";
        position: absolute;
        left: 50%; /* Center the line */
        transform: translateX(-50%); /* Adjust for centering */
        bottom: -16px;
        width: 100%; /* Make the line span the full width of the text */
        height: 3px;
        background: var(--ferzyab-red);
        border-radius: 3px;
    }




.search-box-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

#search-input-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    border: 1px solid #E92A2A;
    border-radius: 8px;
    padding: 5px 15px;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 16px;
    background: transparent;
    text-align: right;
}

.search-input::placeholder {
    color: #aaa;
}



#search-button-index {
       width: 9%;
    background: #E92A2A;
    color: white;
    border: none;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

#search-button-index:hover {
  background: #E92A2A;
}

/* Stats Section */
.stat-separator {
  width: 3px;
  height: 30px;
  background-color: #e63946;
  border-radius: 2px;
  margin: 0 15px;
}

.stat-value {
  font-weight: 700;
  color: #909090;
      margin: 2px 5px 0px 0px;
}

.stat-value2 {
  font-weight: 700;
    color: #6DA975;
    margin: 0 5px;
    font-size: 38px;
    margin-right: 21px;
    font-family: 'rokh';
}

.stat-value2-1 {
  font-weight: 700;
  color: #E92A2A;
  font-size: 28px;
}

.stat-box2 {
  background-image: url(https://ferzyab.com/imges/Rectangle-14.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 30%;
  padding-top: 19px;
  padding-right: 20px;
  color: #081035;
  font-weight: bold;
  font-size: 20px;
  margin: -61px 619px;
  margin-bottom: -36px;
  margin-bottom: 31px;
}

.stat-box2-1 {
  background-image: url(https://ferzyab.com/imges/Rectangle-29.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 40%;
  padding-bottom: 9px;
  font-family: 'Rokh';
  padding-right: 50px;
  color: #484a54;
  font-weight: bold;
  font-size: 20px;
  padding: 22px;
  margin: 12px 261px;
  padding-bottom: 40px;
}

.stateinfo {
    padding: 7px;
    margin: 0px auto;
    font-family: 'Tahoma', 'Arial', sans-serif;
    background: #ffffff;
    border-radius: 12px;
    width: 1350px;
    border: 1px #e1e1e1 solid;
    border-bottom: 5px #E92A2A solid;
    overflow: hidden;
    display: flex;
    table-layout: fixed;
}

.stat-item {
        width: -webkit-fill-available;
  font-family: 'Vazirmatn';
    display: flex; /* Change to flexbox */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    background: #ffffff;
    padding: 15px 10px;
    text-align: center;
    /* vertical-align: middle; */ /* Not needed with flexbox */
    font-size: 16px;
    color: #555555;
    position: relative;
}

.stat-item:first-child {
  border-right: none;
}

.stat-item:hover {
  background-color: #f8f9fa;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: #dddddd;
}

.stat-item:first-child::after {
  display: none;
}

/* Slider Section */
.banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.brand-logo-circle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  background-color: #e63946;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  padding: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(-10deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.brand-logo-circle span {
  display: block;
  font-size: 0.6em;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background-color: #ced4da;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 25px;
  border-radius: 5px;
  background-color: #e63946;
}

/* Latest Data Section */
.latest-data-section {
  padding: 30px 0;
  margin-bottom: 30px;
}

.data-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .data-columns {
    grid-template-columns: 1fr;
  }
}

    .data-column {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 2px #EDEDED solid;
    }

@media (min-width: 769px) {
  .data-column {
    width: 382px;
  }
}

.data-column h3 {
    border: 1px solid #DFDFDF;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    background: #EDEDED;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #081035;
}

.data-column ul {
  margin-bottom: 20px;
}

.data-column ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
  color: var(--medium-text);
}

.data-column ul li:last-child {
  border-bottom: none;
}

.data-column ul li > span {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.data-column ul li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    min-width: 0;
}

.data-column ul li span:last-child {
  font-size: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #081035;
  font-weight: 500;
}

.data-column ul li .fa-info-circle {
  cursor: pointer;
  font-size: 16px;
  color: var(--light-text);
  transition: color 0.2s ease;
}

.data-column ul li .fa-info-circle:hover {
  color: var(--primary-red);
}

.more-items-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: var(--primary-red);
  color: var(--white);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.more-items-btn:hover {
  background-color: #c02d38;
}

img#icon-info {
 border-radius: 90%;
    margin-left: 8px;
    width: 12%;
    height: 41px;
}

.responsive-stats-box {
    font-size: 14px;
    color: #64748b;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}



/*########################################   cart bessenis in end of page index #########################################*/
div#business-header{
    font-family: 'Rokh';
    height: 60px;
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 17px;
}
.business-card-container {
    margin: 0px auto;
    max-width: 1345px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    direction: rtl;
    position: relative;
    overflow: hidden;
}
        .business-card-container #business-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .business-card-container .title {
            font-size: 24px;
            font-weight: bold;
            color: #333;
        }

        .business-card-container .view-more-btn {
            background: #001D81;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.3s ease;
        }

  
        .business-card-container .view-more-btn::before {
            content: '←';
            font-size: 16px;
        }

        .business-card-container .main-content {
            display: grid;
            grid-template-columns:1fr 280px 280px ;
            gap: 20px;
            height: 400px;
        }

        .business-card-container .column {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .business-card-container .business-item {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            height: 190px;
        }

        .business-card-container .business-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .business-card-container .business-image {
            width: 90px;
            height: 90px;
            border-radius: 12px;
            object-fit: cover;
            flex-shrink: 0;
            background-size: cover;
            background-position: center;
        }

        .business-card-container .business-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0px;
        }

        .business-card-container .business-category {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            margin-bottom: 0px;
        }

        .business-card-container .business-stats {
            display: flex;
            flex-direction: column;
            gap: 0px;
        }

    

 
        .stats-business-item{
          font-family: 'Vazirmatn';
    display: table-cell;


    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    color: #555555;
    position: relative;
        }

        .business-card-container .stat-value {
            font-weight: 500;
        }

        .business-card-container .rating {
            color: #909090;
        }

        .business-card-container .main-showcase {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            background: linear-gradient(135deg, #D4A574 0%, #8B4513 100%);
        }

        .business-card-container .showcase-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><linearGradient id="sky" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%23f5deb3;stop-opacity:1" /><stop offset="50%" style="stop-color:%23deb887;stop-opacity:1" /><stop offset="100%" style="stop-color:%23d2b48c;stop-opacity:1" /></linearGradient></defs><rect width="800" height="400" fill="url(%23sky)"/><polygon points="0,250 100,200 200,220 300,180 400,200 500,160 600,180 700,160 800,180 800,400 0,400" fill="%23D4A574" opacity="0.8"/><polygon points="100,300 200,250 300,280 400,240 500,270 600,230 700,250 800,230 800,400 100,400" fill="%23B8956A" opacity="0.9"/><rect x="500" y="100" width="150" height="200" fill="%23654321" opacity="0.9"/><rect x="520" y="120" width="110" height="140" fill="%238B4513" opacity="0.8"/><rect x="540" y="140" width="70" height="100" fill="%23F5DEB3" opacity="0.7"/><rect x="560" y="160" width="30" height="60" fill="%23DEB887" opacity="0.6"/><polygon points="100,350 150,280 200,320 250,260 300,300 350,240 400,280 450,220 500,260 550,200 600,240 650,180 700,220 750,160 800,200 800,400 100,400" fill="%23CD853F" opacity="0.6"/></svg>') center/cover;
        }

        .business-card-container .showcase-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            padding: 30px;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: end;
        }

        .business-card-container .showcase-title {
            font-size: 18px;
            font-weight: bold;
        }

        .business-card-container .watch-btn {
            background: #E92A2A;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.3s ease;
        }

        .business-card-container .watch-btn::before {
            content: '▶';
            font-size: 12px;
        }

        .business-card-container .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(231, 76, 60, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .business-card-container .play-icon:hover {
            background: #c0392b;
            transform: translate(-50%, -50%) scale(1.1);
        }

        .business-card-container .nanotech-bg {
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><defs><linearGradient id="nanotech" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231e3c72;stop-opacity:1" /><stop offset="100%" style="stop-color:%232a5298;stop-opacity:1" /></linearGradient></defs><rect width="90" height="90" fill="url(%23nanotech)"/><rect x="10" y="10" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="20" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="30" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="40" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="50" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="60" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="70" width="70" height="6" fill="%23ffffff" opacity="0.3"/></svg>') center/cover;
        }

        .business-card-container .natural-bg {
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><defs><linearGradient id="natural" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff6b6b;stop-opacity:1" /><stop offset="100%" style="stop-color:%23feca57;stop-opacity:1" /></linearGradient></defs><rect width="90" height="90" fill="url(%23natural)"/><polygon points="10,70 25,50 40,60 55,40 70,55 85,45 85,90 10,90" fill="%23ff8c42" opacity="0.6"/><rect x="50" y="25" width="15" height="30" fill="%23654321" opacity="0.8"/><polygon points="57,25 50,15 65,15" fill="%23228b22" opacity="0.9"/></svg>') center/cover;
        }

        .business-card-container .nanomaterials-bg {
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><defs><linearGradient id="nanomaterials" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%230f4c75;stop-opacity:1" /><stop offset="100%" style="stop-color:%233282b8;stop-opacity:1" /></linearGradient></defs><rect width="90" height="90" fill="url(%23nanomaterials)"/><rect x="10" y="60" width="70" height="20" fill="%23ffffff" opacity="0.2"/><rect x="20" y="40" width="50" height="30" fill="%23ffffff" opacity="0.3"/><circle cx="45" cy="25" r="15" fill="%23ffffff" opacity="0.4"/></svg>') center/cover;
        }

        .business-card-container .sensation-bg {
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><defs><linearGradient id="sensation" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23667eea;stop-opacity:1" /><stop offset="100%" style="stop-color:%23764ba2;stop-opacity:1" /></linearGradient></defs><rect width="90" height="90" fill="url(%23sensation)"/><polygon points="0,60 15,40 30,50 45,30 60,45 75,35 90,50 90,90 0,90" fill="%23ffffff" opacity="0.3"/><circle cx="25" cy="20" r="8" fill="%23ffffff" opacity="0.6"/><circle cx="45" cy="15" r="10" fill="%23ffffff" opacity="0.4"/><circle cx="65" cy="25" r="6" fill="%23ffffff" opacity="0.7"/></svg>') center/cover;
        }

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    h2 {

    font-size: 14px;
}
    .container {
        padding: 0 15px;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 20px 0;
        margin-bottom: 20px;
    }

    .hero-content {
        flex-direction: column;
        gap: 20px;
    }

    .hero-text-left {
        order: 2;
        border-right: none;
        border-top: 2px solid var(--primary-red);
        padding-right: 0;
        padding-left: 0;
        padding-top: 15px;
        text-align: center;
    }

    .hero-product-right {
        order: 1;
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }

    .product-info h1 {
        font-size: 28px;
    }

    .product-info h2 {
        font-size: 18px;
    }

    .product-image-container {
        width: 100%;
        height: 250px;
    }

    /* Stats Boxes Mobile */
    .stat-box2 {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
        font-size: 16px;
        text-align: center;
    }

    .stat-box2-1 {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
        font-size: 16px;
        text-align: center;
    }

    .stat-value2 {
        font-size: 24px;
        margin-right: 10px;
    }

    .stat-value2-1 {
        font-size: 20px;
    }

    /* Slider Mobile */
    .slider-container {
         border-radius: 8px;
        width: 95%;
        margin: 0px auto;
        margin-bottom: 20px;
        padding: 15px;
        min-height:159px;
    }

    .banner-image-container {
        border-radius: 8px;
    }

    .brand-logo-circle {
        width: 50px;
        height: 50px;
        font-size: 0.6rem;
    }

    /* Search Container Mobile */
    .search-container {
        border-radius: 8px;
        width: 90%;
        margin: 20px auto;
    }

    .tabs-container {
        padding: 0 15px;
        gap: 20px;
        flex-wrap: wrap;
    }

    .tab {
        font-size: 13px;
        padding: 12px 0;
    }

    .search-box-container {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    #search-input-wrapper {
        width: 100%;
    }

    #search-button-index {
        width: 25%;
        padding: 6px;
        font-size: 14px;
        margin-right: 0px;
    }

    /* Stats Info Mobile */
    .stateinfo {
        border-radius: 8px;
        width: 90%;
        display: block;
        padding: 15px;
    }

    .stat-item {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #dddddd;
        font-size: 13px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    /* Latest Data Section Mobile */
    .latest-data-section {
        padding: 20px 0;
    }

    .data-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .data-column {
        margin: 0px auto;
        width: 100%; /* Ensure full width on mobile */
        padding: 20px;
        box-sizing: border-box;
    }

    .data-column h3 {
        font-size: 16px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 12px;
        box-sizing: border-box;
        max-width: 100%;
        word-break: break-word; /* برای اطمینان از شکستن کلمات طولانی */
    }

    .data-column ul li {
        padding: 8px 0;
        font-size: 14px;
    }

    .responsive-stats-box {
        font-size: 10px;
    }




    /* Additional Mobile Optimizations */
    .view-products-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .more-items-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .slider-dots {
        margin-top: 15px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 20px;
    }
    img#icon-info {
    margin-left: 6px;
    width: 36px;
}
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .hero-content {
        gap: 25px;
    }

    .product-info h1 {
        font-size: 32px;
    }

    .product-image-container {
        width: 280px;
        height: 320px;
    }

    .search-container {
        margin: 40px auto;
    }

    .stateinfo {
        width: 100%;
    }

    .stat-item {
        font-size: 13px;
        padding: 12px 8px;
    }

    .data-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .data-columns .data-column:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }


}

/* Very Small Mobile Screens */
@media (max-width: 480px) {
    .data-column {
    width: 331px;
    display: flex
;
    flex-direction: column;
    min-height: 400px;
}
    .container {
        padding: 0 10px;
    }

    .hero-section {
        padding: 15px 0;
    }

    .hero-product-right {
        padding: 12px;
    }

    .product-info h1 {
        font-size: 24px;
    }

    .product-info h2 {
        font-size: 16px;
    }

    .product-info p {
        font-size: 14px;
    }

  
    .stat-box2-1 {
                margin-right: -12px;
        width: 95%;
        font-size: 14px;
        padding: 12px;
        padding-top: 0px;
      }
  .stat-box2{
                margin-right: 28px;
        margin-top: -28px;
        width: 95%;
        font-size: 14px;
        padding: 11px;
        
      }
    .stat-value2 {
        font-size: 20px;
    }

    .slider-container {
         border-radius: 8px;
        width: 95%;
        margin: 0px auto;
        margin-bottom: 20px;
    }

    .search-container {
        margin: 20px auto;
    }

    .tabs-container {
        padding: 0 10px;
        gap: 15px;
    }

    .tab {
        font-weight: 900;
        font-size: 10px;
    }

    .search-box-container {
        padding: 12px;
    }
    .search-input {
    width: 100%;
    padding: 12px 12px 12px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s ease;
}


    
}


/* Business Cards Section */
div#business-header {
    font-family: 'Rokh';
    height: 60px;
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 17px;
}

.business-card-container {
    margin: 0px auto;
    max-width: 1345px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    direction: rtl;
    position: relative;
    overflow: hidden;
}

.business-card-container #business-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.business-card-container .title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.business-card-container .view-more-btn {
    background: #001D81;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.business-card-container .view-more-btn::before {
    content: '←';
    font-size: 16px;
}

.business-card-container .main-content {
    display: grid;
    grid-template-columns: 1fr 280px 280px;
    gap: 20px;
    height: 400px;
}

.business-card-container .column {
           display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 13px;
}

.business-card-container .business-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 190px;
}

.business-card-container .business-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.business-card-container .business-image {
    width: 90px;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}


.business-card-container .stats-business-item {
    display: flex;
    margin-top: 4px;
    align-items: center;
    gap:0px;
    font-size: 13px;
    color: #666;
    font-family: 'Vazirmatn';
    text-align: center;
    vertical-align: middle;
    position: relative;
}

.business-card-container .stat-icon {
   width: 23px;
    height: 21px;
    background: none;
    border-radius: 3px;
    flex-shrink: 0;
}

.business-card-container .stat-value {
    font-weight: 500;
}

.business-card-container .rating {
    color: #909090;
}

.business-card-container .main-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #D4A574 0%, #8B4513 100%);
}

.business-card-container .showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><linearGradient id="sky" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%23f5deb3;stop-opacity:1" /><stop offset="50%" style="stop-color:%23deb887;stop-opacity:1" /><stop offset="100%" style="stop-color:%23d2b48c;stop-opacity:1" /></linearGradient></defs><rect width="800" height="400" fill="url(%23sky)"/><polygon points="0,250 100,200 200,220 300,180 400,200 500,160 600,180 700,160 800,180 800,400 0,400" fill="%23D4A574" opacity="0.8"/><polygon points="100,300 200,250 300,280 400,240 500,270 600,230 700,250 800,230 800,400 100,400" fill="%23B8956A" opacity="0.9"/><rect x="500" y="100" width="150" height="200" fill="%23654321" opacity="0.9"/><rect x="520" y="120" width="110" height="140" fill="%238B4513" opacity="0.8"/><rect x="540" y="140" width="70" height="100" fill="%23F5DEB3" opacity="0.7"/><rect x="560" y="160" width="30" height="60" fill="%23DEB887" opacity="0.6"/><polygon points="100,350 150,280 200,320 250,260 300,300 350,240 400,280 450,220 500,260 550,200 600,240 650,180 700,220 750,160 800,200 800,400 100,400" fill="%23CD853F" opacity="0.6"/></svg>') center/cover;
}

.business-card-container .showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.business-card-container .showcase-title {
    font-size: 18px;
    font-weight: bold;
}

.business-card-container .watch-btn {
    background: #E92A2A;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.business-card-container .watch-btn::before {
    content: '▶';
    font-size: 12px;
}

.business-card-container .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(231, 76, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.business-card-container .play-icon:hover {
    background: #c0392b;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Background Images for Different Categories */
.business-card-container .nanotech-bg {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><defs><linearGradient id="nanotech" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231e3c72;stop-opacity:1" /><stop offset="100%" style="stop-color:%232a5298;stop-opacity:1" /></linearGradient></defs><rect width="90" height="90" fill="url(%23nanotech)"/><rect x="10" y="10" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="20" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="30" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="40" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="50" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="60" width="70" height="6" fill="%23ffffff" opacity="0.3"/><rect x="10" y="70" width="70" height="6" fill="%23ffffff" opacity="0.3"/></svg>') center/cover;
}

.business-card-container .natural-bg {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><defs><linearGradient id="natural" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff6b6b;stop-opacity:1" /><stop offset="100%" style="stop-color:%23feca57;stop-opacity:1" /></linearGradient></defs><rect width="90" height="90" fill="url(%23natural)"/><polygon points="10,70 25,50 40,60 55,40 70,55 85,45 85,90 10,90" fill="%23ff8c42" opacity="0.6"/><rect x="50" y="25" width="15" height="30" fill="%23654321" opacity="0.8"/><polygon points="57,25 50,15 65,15" fill="%23228b22" opacity="0.9"/></svg>') center/cover;
}

.business-card-container .nanomaterials-bg {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><defs><linearGradient id="nanomaterials" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%230f4c75;stop-opacity:1" /><stop offset="100%" style="stop-color:%233282b8;stop-opacity:1" /></linearGradient></defs><rect width="90" height="90" fill="url(%23nanomaterials)"/><rect x="10" y="60" width="70" height="20" fill="%23ffffff" opacity="0.2"/><rect x="20" y="40" width="50" height="30" fill="%23ffffff" opacity="0.3"/><circle cx="45" cy="25" r="15" fill="%23ffffff" opacity="0.4"/></svg>') center/cover;
}

.business-card-container .sensation-bg {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><defs><linearGradient id="sensation" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23667eea;stop-opacity:1" /><stop offset="100%" style="stop-color:%23764ba2;stop-opacity:1" /></linearGradient></defs><rect width="90" height="90" fill="url(%23sensation)"/><polygon points="0,60 15,40 30,50 45,30 60,45 75,35 90,50 90,90 0,90" fill="%23ffffff" opacity="0.3"/><circle cx="25" cy="20" r="8" fill="%23ffffff" opacity="0.6"/><circle cx="45" cy="15" r="10" fill="%23ffffff" opacity="0.4"/><circle cx="65" cy="25" r="6" fill="%23ffffff" opacity="0.7"/></svg>') center/cover;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .business-card-container {
        padding: 20px 15px;
        margin: 20px auto;
        border-radius: 16px;
        background: white;
        direction: rtl;
        max-width: 100%;
    }

    .business-card-container #business-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        gap: 15px;
    }

    .business-card-container .title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }

    .business-card-container .view-more-btn {
        background: #001D81;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: background 0.3s ease;
        white-space: nowrap;
    }

    .business-card-container .view-more-btn::before {
        content: '←';
        font-size: 14px;
    }

    .business-card-container .main-content {
        display: block;
        height: auto;
        gap: 0;
    }

    .business-card-container .main-showcase {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        background: linear-gradient(135deg, #D4A574 0%, #8B4513 100%);
        height: 200px;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><defs><linearGradient id="desert" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23f4a261;stop-opacity:1" /><stop offset="50%" style="stop-color:%23e76f51;stop-opacity:1" /><stop offset="100%" style="stop-color:%23e9c46a;stop-opacity:1" /></linearGradient></defs><rect width="400" height="200" fill="url(%23desert)"/><polygon points="0,120 50,100 100,110 150,90 200,100 250,80 300,90 350,80 400,90 400,200 0,200" fill="%23d4a574" opacity="0.8"/><polygon points="50,150 100,130 150,140 200,120 250,135 300,115 350,125 400,115 400,200 50,200" fill="%23b8956a" opacity="0.9"/><rect x="300" y="50" width="80" height="100" fill="%23654321" opacity="0.9"/><rect x="310" y="60" width="60" height="70" fill="%238b4513" opacity="0.8"/><rect x="320" y="70" width="40" height="50" fill="%23f5deb3" opacity="0.7"/><rect x="330" y="80" width="20" height="30" fill="%23deb887" opacity="0.6"/></svg>');
        background-size: cover;
        background-position: center;
    }

    .business-card-container .showcase-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        padding: 20px;
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: end;
    }

    .business-card-container .showcase-title {
        font-size: 16px;
        font-weight: bold;
    }

    .business-card-container .watch-btn {
        background: #E92A2A;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: background 0.3s ease;
    }

    .business-card-container .watch-btn::before {
        content: '▶';
        font-size: 10px;
    }

    .business-card-container .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        background: rgba(231, 76, 60, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .business-card-container .play-icon:hover {
        background: #c0392b;
        transform: translate(-50%, -50%) scale(1.1);
    }

    .business-card-container .column {
         display: flex;
        flex-direction: row;
        gap: 15px;
        margin-bottom: 20px;
        align-items: stretch;
    }

    .business-card-container .column:last-child {
        margin-bottom: 0;
    }

    .business-card-container .business-item {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        height: auto;
        min-height: 90px;
    }

    .business-card-container .business-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    }

    .business-card-container .business-image {
        width: 70px;
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
        flex-shrink: 0;
        background-size: cover;
        background-position: center;
    }

    .business-card-container .business-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .business-card-container .business-category {
        font-size: 14px;
        font-weight: bold;
        color: #333;
        margin-bottom: 4px;
    }

    .business-card-container .business-stats {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .business-card-container .stats-business-item {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        color: #666;
        font-family: 'Vazirmatn';
    }

    .business-card-container .stat-icon {
        width: 12px;
        height: 12px;
        border-radius: 2px;
    flex-shrink: 0;
    }

    .business-card-container .stat-value {
        font-size: 9px;
        margin-top: 8px;
        font-weight: 900;
    }

}

/* Very Small Mobile Screens */
@media (max-width: 480px) {
    .business-card-container {
        width: 90%;
        margin: 0px auto;
        padding: 10px;
        /* margin: 15px auto; */
        border-radius: 8px;
    }

    .business-card-container .title {
        font-size: 16px;
    }

    .business-card-container .view-more-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .business-card-container .main-showcase {
        height: 180px;
        border-radius: 12px;
    }

    .business-card-container .showcase-overlay {
        padding: 15px;
    }

    .business-card-container .showcase-title {
        font-size: 14px;
    }

    .business-card-container .watch-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .business-card-container .play-icon {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .business-card-container .business-item {
        padding: 10px;
        gap: 10px;
    }

    .business-card-container .business-image {
        width: 64px;
        height: 100%;
        border-radius: 8px;
    }

    .business-card-container .business-category {
        font-size: 13px;
    }

    .business-card-container .stats-business-item {
        font-size: 10px;
        gap: 0px;
    }

    .business-card-container .stat-icon {
        width: 10px;
        margin-left: 7px;
        height: 10px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .business-card-container .main-content {
        grid-template-columns: 1fr 250px;
        gap: 20px;
    }

    .business-card-container .column:last-child {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .business-card-container .business-item {
        height: 160px;
        padding: 12px;
    }

    .business-card-container .business-image {
        width: 80px;
        height: 100%;
    }

    .business-card-container .business-category {
        font-size: 15px;
    }

    .business-card-container .stats-business-item {
        font-size: 12px;
    }
}



/*################################### برد کرامب  #################################*/


.breadcrumb {
    margin: 8px auto;
    width: 89%;
    margin-bottom: 33px;
    display: block;
    background-color: #E60000;
    padding: 12px 16px;
    font-size: 14px;
    direction: rtl;
    border-radius: 8px;
    color: #ffffff;
}
.breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 4px;
  white-space: nowrap;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .current {
  color: #f4f4f4;
  margin: 0 5px;
}
.breadcrumb span {
  color: #ffffff;
  margin: 0 4px;
}


/*###################################### صفحه ارتباط با ما ##################################*/



        .contact-form-wrapper {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f5f5;
            direction: rtl;
            padding: 40px 20px;
            min-height: 100vh;
        }

        .container-page-2 {
    width: 1335px;
    display: flex;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
        }
.form-contact-page{
    width: 845px;
}
        /* Contact Info Sidebar */
        .contact-info-2 {
            background: linear-gradient(135deg, #E60000, #ff5757);
            width: 400px;
            padding: 40px 30px;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .contact-info-2::before {
            content: '';
            position: absolute;
            bottom: -50px;
            right: -50px;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .contact-info-2::after {
            content: '';
            position: absolute;
            bottom: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
        }

        .contact-info-2 h2 {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
            position: relative;
            z-index: 2;
        }

        .contact-info-2 p {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 30px;
            position: relative;
            z-index: 2;
        }

        .contact-details {
            position: relative;
            z-index: 2;
        }

        .contact-item {
            margin-bottom: 20px;
        }

        .contact-item label {
            display: block;
            font-size: 14px;
            margin-bottom: 5px;
            opacity: 0.9;
        }

        .contact-item span {
            font-size: 16px;
            font-weight: 500;
        }

        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 40px;
            position: relative;
            z-index: 2;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .social-icon:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        .social-icon svg {
            width: 20px;
            height: 20px;
            fill: white;
        }

        /* Form Section */
        .form-section {
            flex: 1;
            padding: 40px;
            background: white;
        }


        .form-container {
            max-width: 843px;
            margin: 0 auto;
        }

        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            flex: 1;
        }

        .form-group.full-width {
            width: 100%;
        }

        .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #081035;
    font-size: 16px;
}

        .form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #E9EAEE;
    transition: all 0.3s ease;
}

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #e53e3e;
            background: white;
            box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
        }

        .phone-input {
            position: relative;
        }

        .phone-input input {
            padding-left: 60px;
        }

        .phone-prefix {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            font-size: 14px;
            border-right: 1px solid #e0e0e0;
            padding-right: 10px;
        }

        .close-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            cursor: pointer;
            opacity: 0.5;
        }

        textarea {
            min-height: 120px;
            resize: vertical;
        }
        .container2-1{
            max-width: 1299px;
    margin: 0 auto;
    padding: 0 20px;

        }

        .submit-btn {
            background: linear-gradient(135deg, #E60000, #ff5757);
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 20px;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(229, 62, 62, 0.3);
        }

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 0;
        background: white;
        min-height: 100vh;
    }
    
    .container-page-2 {
        width: 100%;
        flex-direction: column;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        display: block;
    }

    /* Contact Info Section - Full Width with Red Background */
    .contact-info-2 {
        width: 100%;
        padding: 40px 30px;
        background: linear-gradient(135deg, #e53e3e, #fc8181);
        border-radius: 0 0 20px 20px;
        position: relative;
        margin-bottom: 30px;
    }

    .contact-info-2 h2 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 20px;
    }

    .contact-info-2 p {
        font-size: 16px;
        text-align: center;
        margin-bottom: 40px;
    }

    .contact-details {
        text-align: center;
    }

    .contact-item {
        margin-bottom: 25px;
    }

    .contact-item label {
        font-size: 16px;
        margin-bottom: 8px;
        display: block;
    }

    .contact-item span {
        font-size: 18px;
        font-weight: 600;
    }

    .social-icons {
        justify-content: center;
        margin-top: 40px;
        gap: 20px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
    }

    .social-icon svg {
        width: 24px;
        height: 24px;
    }


    /* Form Section */
    .form-section {
        padding: 0 20px 40px 20px;
        background: white;
        width: 100%;
    }

    .form-contact-page {
        width: 100%;
    }

    .form-container {
        max-width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        width: 100%;
    }

    .form-group label {
        font-size: 16px;
        margin-bottom: 10px;
        color: #333;
        font-weight: 500;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        border-radius: 10px;
        border: 2px solid #e0e0e0;
        background: #E9EAEE;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #999;
        font-size: 14px;
    }

    /* Phone Input Styling */
    .phone-input {
        position: relative;
    }

    .phone-input input {
        padding-left: 70px;
        padding-right: 50px;
    }

    .phone-prefix {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: #f5f5f5;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 14px;
        color: #666;
        border: none;
    }

    .close-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
    }

    /* Textarea */
    textarea {
        min-height: 120px;
        resize: vertical;
    }

    /* Submit Button */
    .submit-btn {
        width: 100%;
        padding: 18px;
        font-size: 18px;
        font-weight: 600;
        border-radius: 12px;
        margin-top: 30px;
        background: linear-gradient(135deg, #e53e3e, #fc8181);
        border: none;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(229, 62, 62, 0.3);
    }

    /* Focus States */
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #e53e3e;
        box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
        outline: none;
    }

    /* Select Dropdown */
    .form-group select {
                width: 100%;
        appearance: none;
        background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
        background-repeat: no-repeat;
        background-position: left 15px center;
        background-size: 12px;
        padding-left: 40px;
    }
}

/*###################################### صفحه   قوانین ##################################*/

            .faq-page-body {
                font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
                background-color: #f8f9fa;
                color: #333;
                line-height: 1.6;
            }

            .faq-page-container {
                max-width: 1389px;
                margin: 0 auto;
                padding: 20px;
            }

            .faq-page-header {
                text-align: right;
                margin-bottom: 30px;
                display: flex;
                align-items: center;
                gap: 15px;
                padding: 15px 0;
                border-bottom: 1px solid #eee;
            }

            .faq-page-title {
                font-size: 16px;
                font-weight: normal;
                color: #666;
                margin: 0;
            }

            .faq-page-menu-icon {
                width: 20px;
                height: 20px;
                cursor: pointer;
            }

            .faq-page-content-wrapper {
                margin-top: 30px;
            }

            .faq-page-subtitle {
                color: #333;
                font-size: 18px;
                margin-bottom: 10px;
                font-weight: 600;
            }

            .faq-page-description {
                color: #666;
                font-size: 14px;
                line-height: 1.8;
                margin-bottom: 30px;
            }

            .faq-page-questions-section {
                margin-top: 40px;
            }

            .faq-page-question-item {
                background: white;
                border-radius: 8px;
                margin-bottom: 15px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                overflow: hidden;
            }

            .faq-page-question-header {
                padding: 20px;
                border-bottom: 1px solid #eee;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .faq-page-question-title {
                font-size: 16px;
                font-weight: 600;
                color: #2c3e50;
                flex-grow: 1;
            }

            .faq-page-question-date {
                color: #95a5a6;
                font-size: 12px;
                margin-left: 15px;
                white-space: nowrap;
            }

            .faq-page-question-content {
                padding: 20px;
                color: #666;
                font-size: 14px;
                line-height: 1.8;
            }

            .faq-page-frequent-section {
                margin-top: 50px;
            }

            .faq-page-frequent-title {
                gap: 15px;
                font-size: 20px;
                font-weight: bold;
                color: #2c3e50;
                margin-bottom: 25px;
                display: flex;
                align-items: center;
            }


            .faq-page-frequent-icon img {
                width: 20px;
                height: 20px;
                border-radius: 50%;
            }

            .faq-page-frequent-item {
                background: white;
                border-radius: 8px;
                margin-bottom: 10px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
            }

            .faq-page-frequent-question {
                padding: 18px 20px;
                font-size: 14px;
                color: #2c3e50;
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                transition: background-color 0.3s;
            }

            .faq-page-frequent-question:hover {
                background-color: #f8f9fa;
            }

            .faq-page-frequent-toggle {
                font-size: 18px;
                color: #95a5a6;
                transition: transform 0.3s;
            }

            .faq-page-frequent-answer {
                padding: 0 20px 18px 20px;
                color: #666;
                font-size: 13px;
                line-height: 1.7;
                display: none;
                border-top: 1px solid #f0f0f0;
                margin-top: -1px;
                padding-top: 15px;
            }

            .faq-page-frequent-item.active .faq-page-frequent-answer {
                display: block;
            }

            .faq-page-frequent-item.active .faq-page-frequent-toggle {
                transform: rotate(180deg);
            }

            /* Responsive Design */
            @media (max-width: 768px) {
            
.faq-page-container {
    padding: 0px;
    width: 86%;
}
                .faq-page-title {
                    font-size: 20px;
                }

                .faq-page-question-header {
                    padding: 15px;
                    flex-direction: column;
                    align-items: flex-start;
                }

                .faq-page-question-date {
                    margin-left: 0;
                    margin-top: 5px;
                }

                .faq-page-question-content {
                    padding: 15px;
                }

                .faq-page-frequent-question {
                    padding: 15px;
                    font-size: 13px;
                }

                .faq-page-frequent-answer {
                    padding: 0 15px 15px 15px;
                    font-size: 12px;
                }
            }

            @media (max-width: 480px) {
         

                .faq-page-title {
                    font-size: 18px;
                }

                .faq-page-question-title {
                    font-size: 14px;
                }

                .faq-page-frequent-title {
                    font-size: 18px;
                }
            }


/*###################################### صفحه   قوانین ##################################*/


    .head-title-about {
        margin-bottom: 18px;
        gap: 12px;
        align-items: center;
        display: flex;
    }


    /* داستان‌ها سکشن */
    .stories-section {
        margin: 40px 0;
    }

    .section-header {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 24px;
        font-weight: bold;
        color: #2c3e50;
        text-align: right;
    }



    .story-card {
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 30px;
        transition: transform 0.3s ease;
    }

    .story-card:hover {
        transform: translateY(-5px);
    }

    .story-content {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .story-image {
        width: 364px;
        height: 369px;
        border-radius: 12px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .story-text {
        flex: 1;
        text-align: right;
    }

    .story-text p {
        font-size: 14px;
        line-height: 1.8;
        color: #555;
        margin-bottom: 15px;
    }

    /* رویدادهای اخیر */
    .events-section {
        margin: 50px 0;
    }

    .events-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }

    .events-title {
        font-size: 20px;
        font-weight: bold;
        color: #2c3e50;
        text-align: right;
    }



    .navigation-arrows {
        display: flex;
        gap: 10px;
    }

    .nav-arrow {
        box-shadow: 0px 1px 6px #eeeeee;
        width: 35px;
        height: 35px;
        border-radius: 8px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .nav-arrow:hover {
        background: #e74c3c;
        color: white;
        border-color: #e74c3c;
    }

    .event-card {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        height: 491px;
        margin-bottom: 20px;
    }

    .event-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .event-content {
        border: #E0E6F2 1px solid;
        position: absolute;
        display: flex;
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 20px;
        color: #333;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        backdrop-filter: blur(5px);
        justify-content: space-between;
    }

    .event-title {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 8px;
        color: #333;
    }

    .event-date {
        font-size: 18px;
        color: #667085;
    }

    /* اعضای تیم */
    .team-section {
        margin: 50px 0;
        position: relative;
    }

    .team-title {
        font-size: 20px;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 30px;
        text-align: right;
    }


    .team-container {
        position: relative;
    }

    .team-grid {
        margin: 35px;
        display: flex;
        justify-content: space-evenly;
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .team-navigation {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        width: 100%;
        pointer-events: none;
    }

    .team-nav-arrow {
        width: 35px;
        height: 35px;
        border-radius: 8px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        pointer-events: all;
    }

    .team-nav-arrow:hover {
        background: #e74c3c;
        color: white;
        border-color: #e74c3c;
    }

    .team-member {
        text-align: center;
        background: white;
        padding: 20px;
        border-radius: 15px;
        border: 1px #E0E6F2 solid;
        transition: transform 0.3s ease;
        width: 184px;
    }

    .team-member:hover {
        transform: translateY(-5px);
    }

    .member-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 15px;
        border: 3px solid #ddd;
    }

    .member-name {
        font-size: 14px;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 5px;
    }

    .member-role {
        font-size: 12px;
        color: #666;
    }

    /* نظرات کاربران */
    .reviews-section {
        margin: 50px 0;
    }

    .reviews-title {
        font-size: 20px;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 30px;
        text-align: right;
    }

    .reviews-title::before {
        content: "💬";
        margin-left: 10px;
        color: #e74c3c;
    }

    .reviews-grid {
        padding: 0px 53px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-bottom: 30px;
        justify-content: space-evenly;
    }



    .review-card {
        border: 1px #E0E6F2 solid;
        background: white;
        padding: 25px;
        border-radius: 15px;
        position: relative;
    }

    .review-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .reviewer-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }

    .reviewer-info h4 {
        font-size: 14px;
        color: #2c3e50;
        margin-bottom: 5px;
    }

    .review-date {
        font-size: 12px;
        color: #666;
    }

    .star-rating {
        color: #f1c40f;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .review-text {
        font-size: 13px;
        line-height: 1.6;
        color: #555;
    }

    /* Pagination dots */
    .pagination-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 20px 0;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .dot.active {
        background: #e74c3c;
    }


    /* رسپانسیو موبایل */
    @media (max-width: 768px) {
      .team-section {
    width: 90%;
    margin: 50px auto;
    /* margin: 50px 0; */
    position: relative;
}
        .container {
            padding: 0 15px;
        }

        /* داستان‌ها - موبایل */
        .story-content {
            flex-direction: column;
            padding: 20px;
            gap: 15px;
            text-align: center;
        }

        .story-image {
            width: 100%;
            height: 180px;
            max-width: 328px;
            margin: 0 auto;
        }

        .story-text {
            text-align: right;
        }

        .story-text p {
            font-size: 13px;
            line-height: 1.7;
        }

        /* رویدادهای اخیر - موبایل */
        .events-header {
            flex-direction: column;
            align-items: flex-end;
            gap: 15px;
        }

        .event-card {
            height: 250px;
            margin-bottom: 15px;
        }

        /* تیم - موبایل */
        .team-grid {
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .team-member {
            width: 200px;
        }

        .team-navigation {
            display: none;
        }

        /* نظرات - موبایل */
        .reviews-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .review-card {
            padding: 20px;
        }

        .reviewer-avatar {
            width: 40px;
            height: 40px;
        }

        .reviewer-info h4 {
            font-size: 13px;
        }

        .review-text {
            font-size: 12px;
        }

        /* عناوین موبایل */
        .section-title,
        .events-title,
        .team-title,
        .reviews-title {
            font-size: 18px;
            text-align: center;
        }
    }

    /* تبلت */
    @media (max-width: 1024px) and (min-width: 769px) {
        .container {
            width: 95%;
            padding: 0 15px;
        }

        .story-content {
            gap: 20px;
            padding: 25px;
        }

        .story-image {
            width: 250px;
            height: 180px;
        }

        .team-grid {
            gap: 15px;
        }

        .team-member {
            width: 140px;
        }

        .reviews-grid {
            gap: 20px;
        }
    }

    /* فیکس های مورد نیاز برای دسکتاپ */

    /* فلش های نظرات کاربران در دو طرف */
    .reviews-section .navigation-arrows {
        position: absolute;
        top: 66%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 10;
    }
.head-title-about img {
    width: 25px;
}
    .reviews-section {
        position: relative;
    }

    .reviews-section .nav-arrow {
        pointer-events: all;
    }

    /* تاریخ ثبت روبروی ستاره ها */
    .review-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .reviewer-info-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .review-date-stars {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }

    /* باکس سفید در رویدادهای اخیر بدون فاصله */
    .event-content {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        padding: 20px;
        margin: 0;
        color: #333;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0;
        backdrop-filter: blur(5px);
    }

    /* تصاویر پیش‌فرض برای آواتارها */
    .reviewer-avatar,
    .member-avatar {
        background: #f0f0f0;
        border: 2px solid #ddd;
    }

    /* رسپانسیو موبایل */
    @media (max-width: 768px) {
        .container {
            width: 100%;
            padding: 0 15px;
        }

        /* داستان‌ها - موبایل */
        .story-content {
            flex-direction: column-reverse;
            /* تصویر زیر متن */
            padding: 20px;
            gap: 15px;
            text-align: center;
        }

        .story-image {
            width: 100%;
            height: 180px;
            max-width: 334px;
            margin: 0 auto;
        }

        .story-text {
            text-align: right;
            order: 1;
            /* متن بالا */
        }

        .story-text p {
            font-size: 13px;
            line-height: 1.7;
        }

        /* رویدادهای اخیر - موبایل - فلش روبروی عنوان */
        .events-header {
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            gap: 15px;
        }

        .events-title {
            text-align: right;
        }
        .events-section {
                width: 90%;
        margin: 50px auto;
    }

        .events-section .navigation-arrows {
            position: static;
            transform: none;
            margin: 0;
        }

        .event-card {
            height: 250px;
            margin-bottom: 15px;
        }

        /* تیم - موبایل - اسلایدر با فلش */
        .team-container {
            position: relative;
            overflow: hidden;
        }

        .team-grid {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            gap: 15px;
            overflow-x: hidden;
            scroll-behavior: smooth;
            padding: 0 40px;
            /* فضا برای فلش ها */
            transition: transform 0.3s ease;
        }

        .team-member {
            flex-shrink: 0;
            width: 200px;
            margin: 0;
        }

        .team-navigation {
            display: flex;
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            justify-content: space-between;
            pointer-events: none;
            z-index: 10;
        }

        .team-nav-arrow {
            pointer-events: all;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        /* نظرات - موبایل - یک ستون */
        .reviews-section {
            margin: 0px auto;
        width: 90%;
        position: relative;
        }

        .reviews-grid {
            grid-template-columns: 1fr;
            gap: 20px;
            overflow: hidden;
        }

        .review-card {
            padding: 20px;
            width: 100%;
        }

        .reviewer-avatar {
            width: 40px;
            height: 40px;
        }

        .reviewer-info h4 {
            font-size: 13px;
        }

        .review-text {
            font-size: 12px;
        }

        /* فلش های نظرات در دو طرف */
        .reviews-section .navigation-arrows {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            display: flex;
            justify-content: space-between;
            pointer-events: none;
            z-index: 10;
        }

        .reviews-section .nav-arrow {
            pointer-events: all;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        /* عناوین موبایل */
        .section-title,
        .events-title,
        .team-title,
        .reviews-title {
            font-size: 18px;
            text-align: right;
        }

        .section-title {
            text-align: center;
        }
    }

    /* تبلت */
    @media (max-width: 1024px) and (min-width: 769px) {
        .container {
            width: 95%;
            padding: 0 15px;
        }

        .story-content {
            gap: 20px;
            padding: 25px;
        }

        .story-image {
            width: 250px;
            height: 180px;
        }

        .team-grid {
            gap: 15px;
        }

        .team-member {
            width: 140px;
        }

        .reviews-grid {
            gap: 20px;
        }
    }

    /* اصلاح padding کانتینر برای موبایل کوچک */
    @media (max-width: 480px) {
        .head-title-about img {
    width: 18px;
}
        .head-title-about {
    margin-bottom: 18px;
    gap: 12px;
    align-items: center;
    display: flex
;
}

        .container {
            padding: 0 10px;
        }

        .story-content,
        .event-content,
        .review-card {
            padding: 15px;
        }

        .section-title,
        .events-title,
        .team-title,
        .reviews-title {
            font-size: 16px;
            margin-bottom: 20px;
        }

        .story-text p {
            font-size: 12px;
            line-height: 1.6;
        }

        .event-title {
            font-size: 14px;
        }

        .member-name {
            font-size: 12px;
        }

        .member-role {
            font-size: 11px;
        }

        .review-text {
            font-size: 11px;
            line-height: 1.5;
        }

        /* کاهش padding فلش ها */
        .team-grid {
            padding: 0 30px;
        }
    }

    /* JavaScript اضافی برای اسلایدر تیم در موبایل */
    @media (max-width: 768px) {
        .team-grid {
            transform: translateX(0);
        }
    }

/*###################################### صفحه  موقعیت ##################################*/


        .location-page-container {
            width: 90%;
            margin: 0px auto;
            font-family: 'Tahoma', 'Arial', sans-serif;
            background-color: #f5f5f5;
        }

        .location-search-section {
            margin-top: 30px;
            background-color: white;
            padding: 20px;
            border-radius: 16px 16px 0px 0px;

        }

        .location-search-text {
            color: #333;
            font-size: 16px;
            margin-bottom: 15px;
        }

        .location-search-container {
            position: relative;
            max-width: 100%;
        }

        .location-search-input {
            width: 100%;
            padding: 12px 45px 12px 15px;
            border: none;
            border-radius: 13px;
            font-size: 14px;
            outline: none;
            background-color: #F9F9F9;
            transition: all 0.3s ease;
        }

        .location-search-input:focus {
            border-color: #007bff;
            background-color: white;
        }

        .location-search-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            cursor: pointer;
        }

        .location-map-container {
            width: 100%;
            height: 350px;
            margin-bottom: 30px;
            border-radius: 0px 0px 16px 16px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
        }

        .location-map-content {
            width: 100%;
            height: 100%;
            position: relative;
            background-image:
                radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 60% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
        }

        .location-map-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ddd" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .location-pin-marker {
            position: absolute;
            top: 45%;
            left: 50%;
            transform: translate(-50%, -100%);
            width: 40px;
            height: 40px;
            z-index: 10;
        }

        .location-pin-marker::before {
            content: '';
            position: absolute;
            width: 30px;
            height: 30px;
            background-color: #dc3545;
            border-radius: 50% 50% 50% 0;
            transform: rotate(-45deg);
            border: 3px solid white;
            box-shadow: 0 3px 10px rgba(220, 53, 69, 0.4);
        }

        .location-pin-marker::after {
            content: '';
            position: absolute;
            top: 7px;
            left: 7px;
            width: 16px;
            height: 16px;
            background-color: white;
            border-radius: 50%;
            z-index: 1;
        }

        .location-cards-grid {
            width: 90%;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
            margin: 0px auto;
        }

        .location-service-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .location-service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .location-card-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
            position: relative;
            overflow: hidden;
        }

        .location-card-image::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ddd 0%, #ccc 100%);
            border-radius: 8px;
            opacity: 0.7;
        }

        .location-card-content {
            padding: 20px;
        }

        .location-card-title {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 12px;
        }

        .location-card-address {
            color: #666;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 8px;
        }

        .location-card-details {
            color: #888;
            font-size: 13px;
            text-align: center;
        }

        .location-confirm-button {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 60px;
            height: 60px;
            background-color: #1a1a1a;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .location-confirm-button:hover {
            background-color: #333;
            transform: scale(1.1);
        }

        .location-confirm-button::before {
            content: '✓';
            color: white;
            font-size: 24px;
            font-weight: bold;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .location-page-container {
                width: 95%;
                padding: 0 10px;
            }

            .location-search-section {
                padding: 15px;
            }

            .location-search-input {
                padding: 10px 40px 10px 12px;
                font-size: 13px;
            }

            .location-map-container {
                height: 280px;
                margin-bottom: 20px;
            }

            .location-cards-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .location-service-card {
                margin: 0 5px;
            }

            .location-card-image {
                height: 160px;
            }

            .location-card-content {
                padding: 15px;
            }

            .location-card-title {
                font-size: 16px;
            }

            .location-card-address {
                font-size: 13px;
            }

            .location-confirm-button {
                width: 50px;
                height: 50px;
                bottom: 15px;
                left: 15px;
            }

            .location-confirm-button::before {
                font-size: 20px;
            }
        }

        @media (max-width: 480px) {
            .location-page-container {
                width: 98%;
                padding: 0 5px;
            }

            .location-search-section {
                padding: 12px;
            }

            .location-map-container {
                height: 250px;
            }

            .location-cards-grid {
                gap: 12px;
            }

            .location-card-content {
                padding: 12px;
            }

            .location-card-title {
                font-size: 15px;
            }

            .location-card-address {
                font-size: 12px;
            }
        }



/*###################################### صفحه  سوالات ##################################*/
     .faq-page-menu-icon1 {
            width: 30px;
            height: 30px;
            cursor: pointer;
        }

        .search-page-ai-section.show {
            margin-top: 23px;
            display: block;
        }

        .faq-page-title1 {
            /* font-family: 'yekan bakh'; */
            font-size: 18px;
            font-weight: 800;
            color: #081035;
            margin: 0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Vazirmatn', Arial, sans-serif;
            background-color: #f5f5f5;
            line-height: 1.6;
        }

        .search-page-container {
            width: 89%;
            margin: 0 auto;
            min-height: 100vh;
            padding: 20px 0;
        }

        .search-page-header {
            border-radius: 16px;
            background: white;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .search-page-nav {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }


        .search-page-top-section {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .search-page-search-input {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            font-family: inherit;
        }

        .search-page-search-btn {
            background: #e92a2a;
            color: white;
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .search-page-search-btn:hover {
            background: #E92A2A;
        }

        /* فیلتر استان و شهر */
        .filter-section {
            background: white;
            border-radius: 12px;
            padding: 15px 20px;
            margin-bottom: 40px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .filter-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-item {
            display: flex;
            align-items: center;
            gap: 8px;
            position: relative;
        }

        .filter-select {
            padding: 8px 25px 8px 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            background: white;
            font-size: 14px;
            min-width: 400px;
            cursor: pointer;
            appearance: none;
            background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
            background-repeat: no-repeat;
            background-position: right 8px center;
            background-size: 12px;
        }

        .filter-select:focus {
            outline: none;
            border-color: #e92a2a;
        }

        .search-btn {
            background: #e92a2a;
            color: white;
            padding: 8px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .search-btn:hover {
            background: #d02020;
        }

        .search-page-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin-bottom: 25px;
        }

        .search-page-stat-item {
            text-align: center;
            padding: 15px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .search-page-stat-item {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 20px 15px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
        }

        .search-page-stat-number {
            font-size: 24px;
            font-weight: 700;
            color: #E92A2A;
            margin-bottom: 8px;
            line-height: 1.2;
        }

        .search-page-stat-label {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }

        .search-page-ai-section {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            display: none;
        }

        .search-page-ai-title {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
            font-size: 18px;
            font-weight: 700;
            color: #333;
        }

        .search-page-ai-icon {
            width: 28px;
            height: 28px;
        }

        .search-page-ai-content {
            padding-top: 10px;
            border-top: 1px solid #f0f0f0;
        }

        .search-page-ai-text {
            font-size: 14px;
            line-height: 1.8;
            text-align: justify;
        }

        .search-page-ai-default {
            color: #666;
            font-style: italic;
            text-align: center;
            padding: 20px;
        }

        .search-page-results-section {
            margin-top: 25px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .search-page-result-item {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .search-page-result-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .search-page-result-content {
            display: flex;
            align-items: center;
            width: 100%;
            background: #fff;
            border-radius: 8px;
        }

        @media (max-width: 768px) {
            .search-page-result-content {
                grid-template-columns: 1fr;
            }
        }

        

      .search-page-result-question {
    border: 1px solid red;
    /* border-radius: 88px; */
    /* background: #e92a2a; */
    color: black;
    padding: 18px;
    font-size: 16px;
    text-align: right;
    font-family: inherit;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 66px;
    display: flex
;
    align-items: center;
    flex: 2.2;
}
        .search-page-result-question::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            height: 5px;
            background-color: #ddd;
        }

        .search-page-result-question:hover {
            background: #E92A2A;
        }

        .search-page-result-stat {
                /* margin: 12px 0px 13px 0px; */
    /* height: 33px; */
    border-right: 1px solid #0810352E;
    padding: 20px;
            text-align: center;
            font-size: 16px;
            color: #333;
            font-weight: 500;
            flex: 1;
        }

        .search-page-result-user {
            padding: 18px;
            text-align: center;
            font-size: 14px;
            color: #666;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex: 1;
        }

        .user-profile {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #666;
        }

        .user-profile img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        .user-name {
            font-size: 14px;
            color: #333;
        }

        .question-date {
            font-size: 11px;
            color: #999;
        }

        .search-page-admin-panel {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            display: none;
        }

        .search-page-admin-panel.show {
            display: block;
        }

        .nav-header-bar {
            margin-top: 21px;
            display: flex;
            background-color: #888;
            color: white;
            font-weight: bold;
            padding: 16px 0;
            border-radius: 16px 16px 0px 0px;
            text-align: center;
            font-family: 'Vazirmatn', sans-serif;
        }

        .nav-header-bar>div {
            border-right: 1px solid #ffffff;
            flex: 1;
            padding: 0 10px;
            position: relative;
        }

        .nav-header-bar>div:first-child {
            flex: 2;
            text-align: right;
            padding-right: 20px;
        }

        .search-page-admin-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 20px;
            color: #333;
            border-bottom: 2px solid #e92a2a;
            padding-bottom: 10px;
        }

        .search-page-admin-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .search-page-admin-tab {
            padding: 10px 20px;
            background: #f8f9fa;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .search-page-admin-tab.active {
            background: #e92a2a;
            color: white;
            border-color: #e92a2a;
        }

        .search-page-admin-content {
            display: none;
        }

        .search-page-admin-content.active {
            display: block;
        }

        .search-page-form-group {
            margin-bottom: 15px;
        }

        .search-page-form-label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            color: #333;
        }

        .search-page-form-input,
        .search-page-form-textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
            font-family: inherit;
        }

        .search-page-form-textarea {
            resize: vertical;
            min-height: 80px;
        }

        .search-page-btn {
            background: #e92a2a;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            margin-right: 10px;
            transition: background-color 0.3s;
        }

        .search-page-btn:hover {
            background: #E92A2A;
        }

        .search-page-btn.secondary {
            background: #6c757d;
        }

        .search-page-btn.secondary:hover {
            background: #545b62;
        }

        .search-page-pending-item {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            background: #f8f9fa;
        }

        .search-page-pending-question {
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
        }

        .search-page-pending-meta {
            font-size: 12px;
            color: #666;
            margin-bottom: 10px;
        }

        .search-page-pending-ai {
            background: white;
            padding: 10px;
            border-radius: 6px;
            margin-bottom: 10px;
            font-size: 13px;
            line-height: 1.6;
        }

        .search-page-loading {
            text-align: center;
            padding: 20px;
            color: #666;
        }

        .search-page-message {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
        }

        .search-page-message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .search-page-message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .search-page-message.info {
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }

        /* Responsive Design */

        /* تبلت و صفحات متوسط */
        @media (max-width: 992px) {
            .search-page-container {
                width: 93%;
            }
            .search-page-nav-item.active::after {
    content: "";
    position: absolute;
    left: 50%; /* Center the line */
    transform: translateX(-50%); /* Adjust for centering */
    bottom: -16px;
    width: 63px;
    height: 3px;
    background: var(--ferzyab-red);
    border-radius: 3px;
}

            .search-page-nav-item {
                padding: 10px 16px;
                font-size: 13px;
            }

            .stateinfo {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .stat-item {
                padding: 15px 10px;
                font-size: 13px;
            }

            .stat-item span {
                font-size: 20px;
            }
        }

        /* موبایل بزرگ */
        @media (max-width: 768px) {
            .search-page-container {
                width: 95%;
                padding: 15px 0;
            }

            .faq-page-header {
                padding: 15px;
                margin-bottom: 15px;
            }

            .search-page-header {
                padding: 15px;
                margin-bottom: 15px;
            }

            .search-page-nav {
                gap: 8px;
                margin-bottom: 15px;
                display: grid;
                grid-template-columns: repeat(2, 1fr);
            }

            .search-page-nav-item {
                padding: 8px 12px;
                font-size: 12px;
                min-width: auto;
                text-align: center;
                position: relative; /* اضافه کردن برای موقعیت دهی خط زیر */
            }

            .search-page-top-section {
                flex-direction: column;
                gap: 12px;
            }

            .search-page-search-input,
            .search-page-search-btn {
                width: 100%;
                min-width: auto;
                padding: 12px 15px;
                font-size: 14px;
            }

            .filter-row {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }

            .filter-item {
                width: 100%;
            }

            .filter-select {
                width: 100%;
                min-width: auto;
            }

            .stateinfo {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
                margin-bottom: 20px;
            }

            .stat-item {
                padding: 12px 8px;
                font-size: 12px;
            }

            .stat-item span {
                font-size: 18px;
                margin-top: 5px;
            }

            /* Header Navigation Bar */
            .nav-header-bar {
                margin-top: 15px;
                padding: 12px 0;
                font-size: 11px;
                border-radius: 12px 12px 0 0;
                display: grid;
                grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            }

            .nav-header-bar>div {
                padding: 0 5px;
                text-align: center;
            }

            .nav-header-bar>div:first-child {
                text-align: right;
                padding-right: 15px;
            }

            /* Results Section */
            .search-page-result-item {
                margin-bottom: 10px;
                border-radius: 10px;
            }

            .search-page-result-content {
                display: grid;
                grid-template-columns: 1fr;
                grid-template-rows: auto auto;
                gap: 0;
            }

            .search-page-result-question {
                grid-row: 1;
                border-radius: 10px 10px 0 0;
                padding: 15px;
                font-size: 13px;
                line-height: 1.5;
                min-height: auto;
                max-width: 100%;
            }

            .search-page-result-stats-container {
                display: grid;
                grid-template-columns: 1fr 1fr 1fr 1fr;
                background: #f8f9fa;
                border-radius: 0 0 10px 10px;
                border-top: 1px solid #e0e0e0;
            }

            .search-page-result-stat,
            .search-page-result-user {
                padding: 10px 5px;
                text-align: center;
                font-size: 11px;
                color: #666;
                font-weight: 500;
                border-left: 1px solid #ddd;
            }

            .search-page-result-stat:last-child,
            .search-page-result-user:last-child {
                border-left: none;
            }

            .user-profile {
                width: 20px;
                height: 20px;
                font-size: 10px;
            }

            .user-name {
                font-size: 10px;
            }

            .question-date {
                font-size: 9px;
            }

            /* AI Section */
            .search-page-ai-section {
                padding: 15px;
                margin-bottom: 20px;
            }

            .search-page-ai-title {
                font-size: 16px;
                margin-bottom: 12px;
            }

            .search-page-ai-icon {
                width: 24px;
                height: 24px;
            }

            .search-page-ai-text {
                font-size: 13px;
                line-height: 1.6;
            }

            /* Pagination */
            .pagination {
                display: flex;
                justify-content: center;
                margin-top: 20px;
                flex-wrap: wrap;
                gap: 5px;
            }

            .pagination a,
            .pagination span {
                color: black;
                padding: 8px 12px;
                text-decoration: none;
                transition: background-color .3s;
                border: 1px solid #ddd;
                border-radius: 6px;
                font-size: 13px;
                min-width: 35px;
                text-align: center;
            }

            .pagination span {
                background-color: #E92A2A;
                color: white;
                border: 1px solid #E92A2A;
            }

            .pagination a:hover:not(.active) {
                background-color: #ddd;
            }

            .pagination a.disabled {
                color: #ccc;
                pointer-events: none;
            }

            /* Loading Message */
            .search-page-loading {
                padding: 15px;
                font-size: 14px;
                text-align: center;
            }

            /* Messages */
            .search-page-message {
                padding: 12px;
                margin-bottom: 15px;
                font-size: 13px;
                border-radius: 8px;
            }
        }

        /* موبایل کوچک */
        @media (max-width: 480px) {
            .search-page-container {
                width: 98%;
                padding: 10px 0;
            }

            .faq-page-header,
            .search-page-header {
                padding: 12px;
                margin-bottom: 12px;
                border-radius: 12px;
            }

            .faq-page-title1 {
                font-size: 16px;
            }

            .faq-page-menu-icon1 {
                width: 25px;
                height: 25px;
            }

            .search-page-nav {
                gap: 6px;
                margin-bottom: 12px;
                display: grid;
                grid-template-columns: repeat(2, 1fr);
            }

            .search-page-nav-item {
                padding: 7px 10px;
                font-size: 11px;
                border-radius: 6px;
                text-align: center;
                position: relative; /* اضافه کردن برای موقعیت دهی خط زیر */
            }

            .search-page-top-section {
                gap: 10px;
            }

            .search-page-search-input,
            .search-page-search-btn {
                padding: 11px 12px;
                font-size: 13px;
                border-radius: 8px;
            }

            .stateinfo {
                grid-template-columns: repeat(4, 1fr);
                gap: 8px;
                margin-bottom: 15px;
            }

            .stat-item {
                padding: 10px 6px;
                font-size: 11px;
                border-radius: 10px;
            }

            .stat-item span {
                font-size: 16px;
                margin-top: 4px;
            }

            .nav-header-bar {
                margin-top: 12px;
                padding: 10px 0;
                font-size: 10px;
                border-radius: 10px 10px 0 0;
                display: grid;
                grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            }

            .nav-header-bar>div {
                padding: 0 3px;
                text-align: center;
            }

            .nav-header-bar>div:first-child {
                text-align: right;
                padding-right: 10px;
            }

            .search-page-result-question {
                padding: 12px;
                font-size: 12px;
                line-height: 1.4;
                border-radius: 8px 8px 0 0;
            }

            .search-page-result-stat,
            .search-page-result-user {
                padding: 8px 3px;
                font-size: 10px;
            }

            .user-profile {
                width: 18px;
                height: 18px;
                font-size: 9px;
            }

            .user-name {
                font-size: 9px;
            }

            .question-date {
                font-size: 8px;
            }

            .search-page-ai-section {
                padding: 12px;
                margin-bottom: 15px;
                border-radius: 10px;
            }

            .search-page-ai-title {
                font-size: 15px;
                margin-bottom: 10px;
                gap: 8px;
            }

            .search-page-ai-icon {
                width: 22px;
                height: 22px;
            }

            .search-page-ai-text {
                font-size: 12px;
                line-height: 1.5;
            }

            .pagination a,
            .pagination span {
                padding: 6px 10px;
                font-size: 12px;
                min-width: 30px;
            }

            .search-page-loading {
                padding: 12px;
                font-size: 13px;
            }

            .search-page-message {
                padding: 10px;
                margin-bottom: 12px;
                font-size: 12px;
                border-radius: 6px;
            }
        }

        /* اصلاح ساختار نتایج برای موبایل */
        @media (max-width: 768px) {
            .search-page-result-item {
                overflow: hidden;
            }

            .search-page-result-content {
                display: block;
            }

            .search-page-result-question {
                display: block;
                width: 100%;
                border-radius: 10px 10px 0 0;
            }

            /* کانتینر آمار در پایین */
            .search-page-result-content::after {
                content: "";
                display: block;
                clear: both;
            }

            /* تنظیم آمار در یک خط */
            .search-page-result-stat,
            .search-page-result-user {
                float: right;
                width: 25%;
                box-sizing: border-box;
                background: #f8f9fa;
                border-top: 1px solid #e0e0e0;
                border-left: 1px solid #ddd;
                margin: 0;
            }

            .search-page-result-stat:first-of-type,
            .search-page-result-user:first-of-type {
                border-left: none;
            }

            .search-page-result-stat:last-of-type,
            .search-page-result-user:last-of-type {
                border-radius: 0 0 10px 0;
            }

            .search-page-result-stat:nth-of-type(4),
            .search-page-result-user:nth-of-type(4) {
                border-radius: 0 0 0 10px;
            }
        }

        /* موبایل خیلی کوچک */
        @media (max-width: 360px) {
            .search-page-nav {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 6px;
            }

            .search-page-nav-item {
                font-size: 10px;
                padding: 6px 8px;
                text-align: center;
                position: relative; /* اضافه کردن برای موقعیت دهی خط زیر */
            }

            .stateinfo {
                grid-template-columns: repeat(4, 1fr);
                gap: 6px;
            }

            .stat-item {
                font-size: 10px;
                padding: 8px 4px;
            }

            .stat-item span {
                font-size: 14px;
            }

            .search-page-result-question {
                font-size: 11px;
                padding: 10px;
            }

            .search-page-result-stat,
            .search-page-result-user {
                font-size: 9px;
                padding: 6px 2px;
            }

            .nav-header-bar {
                font-size: 9px;
                padding: 8px 0;
                display: grid;
                grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            }

            .nav-header-bar>div:first-child {
                padding-right: 8px;
            }
        }

        /* Desktop Pagination - حفظ استایل اصلی */
        .pagination {
            gap: 4px;
            border-radius: 11px;
            margin: 0px auto;
            width: 90%;
            max-width: 800px;
            padding: 9px;
            background: white;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            margin-top: 20px;
            overflow: hidden;
        }
        
        @media (max-width: 420px) {
            button.search-page-nav-item {
                font-size: 10px;
            }
        }
        
            .pagination a,
            .pagination span {
                color: black;
                float: none;
                display: inline-block;
                padding: 8px 12px;
                text-decoration: none;
                transition: background-color .3s;
                border: 1px solid #ddd;
                margin: 2px;
                border-radius: 5px;
                min-width: 36px;
                text-align: center;
                box-sizing: border-box;
            }
        
            .pagination a.active,
            .pagination span.active {
                background-color: #E92A2A;
                color: white;
                border: 1px solid #E92A2A;
            }
        
            .pagination a:hover:not(.active):not(.disabled) {
                background-color: #ddd;
            }
        
            .pagination a.disabled,
            .pagination span.disabled {
                color: #ccc;
                pointer-events: none;
                cursor: not-allowed;
            }
        
            /* Styles for double arrow buttons and ellipsis */
            .pagination-ellipsis {
                color: #666;
                padding: 8px 4px;
                font-size: 14px;
                min-width: 20px;
                text-align: center;
                display: inline-block;
                border: none;
                background: transparent;
                margin: 0;
            }
        
            /* Double arrow buttons styling */
            .pagination a.jump-prev,
            .pagination a.jump-next {
                font-weight: bold;
                font-size: 14px;
                padding: 8px 10px;
                min-width: 40px;
            }
        
            /* Responsive pagination adjustments */
            @media (max-width: 768px) {
                .pagination {
                    width: 95%;
                    padding: 6px;
                    gap: 2px;
                }
               
                .pagination a,
                .pagination span {
                    padding: 6px 8px;
                    font-size: 12px;
                    min-width: 30px;
                    margin: 1px;
                }
               
                .pagination-ellipsis {
                    padding: 6px 2px;
                    font-size: 12px;
                    min-width: 15px;
                }
               
                .pagination a.jump-prev,
                .pagination a.jump-next {
                    font-size: 12px;
                    padding: 6px 8px;
                    min-width: 30px;
                }
            }
        
            @media (max-width: 480px) {
                .pagination {
                    width: 98%;
                    padding: 4px;
                }
               
                .pagination a,
                .pagination span {
                    padding: 5px 6px;
                    font-size: 11px;
                    min-width: 28px;
                    margin: 1px;
                }
               
                .pagination-ellipsis {
                    padding: 5px 2px;
                    font-size: 11px;
                    min-width: 12px;
                }
               
                .pagination a.jump-prev,
                .pagination a.jump-next {
                    font-size: 11px;
                    padding: 5px 6px;
                    min-width: 28px;
                }
            }

        /* Desktop Navigation - حفظ استایل اصلی */
        .search-page-nav {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
















                .questions-container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 20px;
        }

        .page-header {
            background: #fff;
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .page-title {
            font-size: 32px;
            font-weight: bold;
            color: #081035;
            margin-bottom: 10px;
        }

        .page-subtitle {
            color: #666;
            font-size: 16px;
        }

        .questions-grid {
            display: grid;
            gap: 25px;
        }

        .question-card {
            background: #fff;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s ease;
        }

        .question-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }

        .question-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .question-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #555;
            margin-left: 15px;
            flex-shrink: 0;
        }

   .question-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}

.question-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #555;
    flex-shrink: 0;
}

.question-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.question-author {
    font-weight: 600;
    color: #081035;
    font-size: 15px;
}

.question-date {
    color: #999;
    font-size: 14px;
}

        .question-title {
            font-size: 20px;
            font-weight: bold;
            color: #081035;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .question-title a {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .question-title a:hover {
            color: #E60000;
        }

        .question-content {
            color: #555;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .question-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
        }

        .question-stats {
            display: flex;
            gap: 20px;
        }

        .question-stat {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #666;
            font-size: 14px;
        }

        .question-stat-icon {
            font-size: 16px;
        }

        .question-category {
            display: inline-block;
            padding: 5px 12px;
            background-color: #e3f2fd;
            color: #1976d2;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #666;
        }

        .empty-state-icon {
            font-size: 64px;
            margin-bottom: 20px;
        }

        .empty-state-title {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }

        .empty-state-text {
            font-size: 16px;
            margin-bottom: 30px;
        }

        .ask-question-btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: #E60000;
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .ask-question-btn:hover {
            background-color: #cc0000;
        }

        .filter-section {
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 30px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .filter-title {
            font-size: 18px;
            font-weight: bold;
            color: #081035;
            margin-bottom: 15px;
        }

        .filter-options {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .filter-option {
            padding: 8px 16px;
            background-color: #f5f5f5;
            border: 1px solid #e0e0e0;
            border-radius: 20px;
            color: #555;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        .filter-option:hover,
        .filter-option.active {
            background-color: #E60000;
            color: white;
            border-color: #E60000;
        }






/*###################################### صفحه  اجاره ##################################*/





         .renet-container {
        width: 89%;
        margin: 0px auto;
        font-family: Arial, sans-serif;
        background-color: #f5f5f5;
        direction: rtl;
    }

    .rental-title {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    /* کارت سفید + گوشه‌های قرمز تزئینی */
    .search-container2 {
        display: block;
        max-width: 1352px;
        margin: 20px auto;
        background: white;
        border-radius: 16px;
        padding: 13px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid #fde8e8;
    }

    /* گروه سرچ: دکمه چپ، ورودی راست */
    .search-box-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-top: 16px;
        flex-wrap: nowrap;
        direction: rtl;
        flex-direction: row-reverse;
    }

    /* کادر ورودی */
    #search-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        width: min(760px, 80vw);
        height: 50px;
        border: 2px solid var(--ferzyab-red);
        border-radius: 10px;
        background: #fff;
        padding-inline: 16px 18px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23EF3E3A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
        background-repeat: no-repeat;
        background-position: left 16px center;
    }

    #search-input-wrapper::before {
        content: "جستجو";
        position: absolute;
        right: 14px;
        top: -16px;
        font: 600 12px/1 inherit;
        color: var(--ink-700);
        background: #fff;
        padding: 0 6px
    }

    .search-input {
        flex: 1;
        height: 100%;
        border: none;
        outline: none;
        background: transparent;
        font: 500 14px/1.4 inherit;
        color: #2B2F33;
        direction: rtl;
        padding-inline-start: 8px;
        padding-inline-end: 38px;
    }

    .search-input::placeholder {
        color: var(--ink-400)
    }

    #search-button-index {
        background-color: #E60000;
        color: white;
        border: none;
        padding: 12px 25px;
        font-size: 14px;
        border-radius: 8px;
        cursor: pointer;
        min-width: 100px;
    }

    #search-button-index:hover {
        filter: brightness(.96)
    }

    #search-button-index:active {
        transform: translateY(1px)
    }

    .results-container {
        margin-top: 16px
    }

    /* فیلتر سکشن */
    .filter-section {
        margin: 20px 0;
    }

    .filter-row {
        display: flex;
        gap: 15px;
        align-items: center;
        flex-wrap: wrap;
    }

    .filter-item {
        position: relative;
    }

    .filter-select {
        background-color: white;
        border: 1px solid #ddd;
        padding: 12px 35px 12px 20px;
        font-size: 14px;
        border-radius: 4px;
        color: #666;
        min-width: 150px;
        appearance: none;
        cursor: pointer;
    }

    .filter-item::after {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 8px;
        color: #999;
        pointer-events: none;
    }

    .search-btn {
        background-color: #E60000;
        color: white;
        padding: 12px 25px;
        font-size: 14px;
        border-radius: 8px;
        cursor: pointer;
        min-width: 100px;
    }

    .search-btn:hover {
        background-color: #cc0000;
    }

    /* لیست اجاره‌ها */
    .rental-listings-wrapper {
        display: flex;
        flex-direction: column;
        gap: 23px;
        margin: 30px 0;
    }

    .rental-listing-card {
        flex-direction: row-reverse;
        display: flex;
        align-items: center;
        gap: 12px;
        direction: rtl;
    }

    .rental-red-button {
        width: 250px;
        height: 48px;
        background-color: #E60000;
        color: #fff;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .rental-listing-info {
        flex: 1;
        display: flex;
        align-items: stretch;
        background-color: white;
        border-radius: 8px;
        min-height: 48px;
        border: 1px solid #E9EEF3;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
        overflow: hidden;
    }

    .rental-info-cell {
        font-size: 14px;
        color: #555;
        text-align: center;
        flex: 1;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rental-info-cell:not(:first-child) {
        border-right: 1px solid #E9EEF3;
    }

    .rental-info-cell:first-child {
        text-align: right;
        font-weight: 500;
        justify-content: flex-start;
    }



    .pagination span,
    .pagination a {
        display: inline-block;
        padding: 10px 15px;
        margin: 0 2px;
        border: 1px solid #ddd;
        background-color: white;
        color: #666;
        text-decoration: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .pagination .active {
        background-color: #E60000;
        color: white;
        border-color: #E60000;
    }

    .pagination .disabled {
        color: #ccc;
        cursor: not-allowed;
    }

    /* بخش پایین */
    .rental-bottom-section {
        margin-top: 50px;
        background-color: #fff;
        border: 1px solid #E9EEF3;
        border-radius: 16px;
        padding: 0px 28px;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
        display: flex;
        align-items: center;
        gap: 40px;
        position: relative;
        overflow: hidden;
    }

    .rental-left-side {
        flex: 0 0 300px;
        text-align: center;
    }

    .rental-left-side img {
        max-width: 100%;
        height: auto;
    }

    .rental-right-side {
        flex: 1;
        text-align: right;
    }

    .rental-info-header {
        gap: 10px;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .rental-main-title {
        font-size: 24px;
        font-weight: bold;
        color: #081035;
        margin: 0;
    }

    .rental-description-text {
        color: #666;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 25px;
        text-align: right;
    }

    .rental-cta-button {
        background-color: transparent;
        border: 1px solid #E60000;
        color: #E60000;
        padding: 9px 45px;
        border-radius: 12px;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .rental-cta-button:hover {
        background-color: #E60000;
        color: white;
        transform: translateY(-2px);
    }



    /* کارت سفید + گوشه‌های قرمز تزئینی */
    .search-container2 {
        display: block;
        max-width: 1352px;
        margin: 20px auto;
        background: white;
        border-radius: 16px;
        padding: 13px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid #fde8e8;
    }


    /* گروه سرچ: دکمه چپ، ورودی راست (مثل رفرنس) */
    .search-box-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-top: 16px;
        flex-wrap: nowrap;
        direction: rtl;
        flex-direction: row;
    }



    /* کادر ورودی */
    #search-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        width: min(760px, 80vw);
        height: 50px;
        border: 2px solid var(--ferzyab-red);
        border-radius: 10px;
        background: #fff;
        padding-inline: 16px 18px;
        /* راست، چپ */
        /* آیکن چورون داخل کادر (سمت چپ) */
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23EF3E3A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
        background-repeat: no-repeat;
        background-position: left 16px center;
    }

    /* لیبل «جستجو» روی خط راست */
    #search-input-wrapper::before {
        content: "جستجو";
        position: absolute;
        right: 14px;
        top: -16px;
        font: 600 12px/1 inherit;
        color: var(--ink-700);
        background: #fff;
        padding: 0 6px
    }

    .search-input {
        flex: 1;
        height: 100%;
        border: none;
        outline: none;
        background: transparent;
        font: 500 14px/1.4 inherit;
        color: #2B2F33;
        direction: rtl;
        padding-inline-start: 8px;
        /* فاصله متن از راست */
        padding-inline-end: 38px;
        /* جا برای آیکن سمت چپ */
    }

    .search-input::placeholder {
        color: var(--ink-400)
    }



    #search-button-index:hover {
        filter: brightness(.96)
    }

    #search-button-index:active {
        transform: translateY(1px)
    }

    .results-container {
        margin-top: 16px
    }


    /* رسپانسیو تبلت - 1024px و کمتر */
    @media (max-width: 1024px) {
        .renet-container {
            width: 95%;
        }

        .rental-title {
            font-size: 22px;
        }

        .search-container2 {
            margin: 18px auto;
            padding: 12px;
        }

        .filter-select {
            min-width: 130px;
        }

        .rental-red-button {
            width: 200px;
            height: 45px;
            font-size: 15px;
        }

        .rental-info-cell {
            font-size: 13px;
            padding: 8px 15px;
        }

        .rental-bottom-section {
            padding: 35px 24px;
            gap: 35px;
        }

        .rental-left-side {
            flex: 0 0 280px;
        }

        .rental-main-title {
            font-size: 22px;
        }

        .rental-description-text {
            font-size: 15px;
        }

        .filter-section .filter-select {
            min-width: 52%;
        }
    }

    /* رسپانسیو تبلت کوچک - 768px و کمتر */
    @media (max-width: 768px) {
        .renet-container {
            width: 92%;
        }

        .rental-title {
            font-size: 20px;
            margin-bottom: 16px;
            margin-top: 16px;
        }

        .search-container2 {
            margin: 16px auto;
            padding: 14px;
        }

        .search-box-container {
            flex-direction: column;
            gap: 12px;
            margin-top: 20px;
            align-items: stretch;
        }

        #search-input-wrapper {
            width: 100%;
            height: 48px;
        }

        .pagination {
            width: 62%;
        }

        #search-button-index {
            width: 100%;
            height: 48px;
            max-width: 200px;
            align-self: center;
        }

        .filter-row {
            flex-direction: column;
            gap: 12px;
        }

        .filter-select {
            width: 100%;
            min-width: auto;
        }

        .search-btn {
            width: 100%;
            padding: 15px;
        }

        .rental-red-button {
            width: 120px;
            height: 44px;
            font-size: 13px;
        }
         .filter-item {
        width: 100%;
    }

        .rental-info-cell {
            font-size: 12px;
            padding: 8px 10px;
        }

        .rental-info-cell:first-child {
            font-size: 9px;
        }

        .rental-bottom-section {
            flex-direction: column-reverse;
            gap: 25px;
            padding: 25px 20px;
            text-align: center;
        }

        .rental-left-side {
            flex: none;
        }

        .rental-right-side {
            text-align: center;
        }

        .rental-info-header {
            justify-content: center;
        }

        .rental-description-text {
            text-align: center;
        }

        .rental-main-title {
            font-size: 20px;
        }
    }

    /* رسپانسیو موبایل - 480px و کمتر */
    @media (max-width: 480px) {
        .renet-container {
            width: 90%;
        }

        .rental-title {
            font-size: 18px;
            margin-bottom: 14px;
            margin-top: 14px;
        }

        .search-container2 {
            width: 100%;
            margin: 14px auto;
            padding: 16px 12px 20px;
            border-radius: 12px;
        }

        .search-box-container {
            margin-top: 18px;
            gap: 10px;
        }

        .pagination {
            width: 100%;
        }

        #search-input-wrapper {
            height: 46px;
        }

        #search-button-index {
            height: 46px;
            font-size: 13px;
            max-width: 150px;
        }

        .rental-listings-wrapper {
            gap: 15px;
        }

        .rental-listing-card {
            gap: 8px;
        }

        .rental-red-button {
            width: 80px;
            height: 40px;
            font-size: 11px;
            border-radius: 6px;
        }

        .rental-listing-info {
            min-height: 40px;
            border-radius: 6px;
        }

        .rental-info-cell {
            font-size: 10px;
            padding: 6px 6px;
        }

        .rental-info-cell:first-child {
            font-size: 9px;
            padding: 6px 8px;
        }

        .rental-bottom-section {
            padding: 20px 15px;
            gap: 20px;
            margin-top: 30px;
        }

        .rental-main-title {
            font-size: 18px;
        }

        .rental-description-text {
            font-size: 13px;
            margin-bottom: 18px;
        }

        .rental-cta-button {
            padding: 8px 25px;
            font-size: 13px;
        }

        .pagination span,
        .pagination a {
            padding: 8px 12px;
            font-size: 12px;
        }
    }

    /* رسپانسیو موبایل کوچک - 360px و کمتر */
    @media (max-width: 360px) {
        .renet-container {
            width: 95%;
        }

        .rental-title {
            font-size: 16px;
        }

        .search-container2 {
            padding: 14px 10px 18px;
        }

        #search-button-index {
            font-size: 12px;
            max-width: 120px;
        }

        .rental-red-button {
            width: 70px;
            height: 38px;
            font-size: 10px;
        }

        .rental-listing-info {
            min-height: 38px;
        }

        .rental-info-cell {
            font-size: 9px;
            padding: 5px 4px;
        }

        .rental-info-cell:first-child {
            font-size: 10px;
            padding: 5px 6px;
        }

        .rental-main-title {
            font-size: 16px;
        }

        .rental-description-text {
            font-size: 12px;
        }

        .rental-cta-button {
            padding: 8px 20px;
            font-size: 12px;
        }

        .pagination span,
        .pagination a {
            padding: 6px 10px;
            font-size: 11px;
        }

        .pagination {
            width: 62%;
        }
    }

    :root {
        --ferzyab-red: #E60000;
        --ink-800: #5F6A75;
        --ink-700: #7E8893;
        --ink-500: #98A2AD;
        --ink-400: #AEB6BF;
        --panel: #FFFFFF;
        --divider: #EEF1F4;
        --card-border: #F2F2F2;
        --radius: 12px;
    }

    .rental-info-header {
        gap: 10px;
        display: flex;
    }

    .filter-section .filter-select {
        width: 272px;
    }

    .rental-page-item.current {
        background-color: #E60000;
        border-color: #E60000;
    }







    /*###################################### صفحه  کسب درامد ##################################*/
        .farzyab-income-container {
            width: 89%;
            margin: 0 auto;
            font-family: 'IRANSans', 'Tahoma', sans-serif;
            background: #f5f5f5;
            padding: 20px 0;
        }

        .farzyab-income-title {
            color: #333;
            font-size: 24px;
            font-weight: bold;
            margin: 20px 0 10px 0;
            text-align: right;
        }

        .farzyab-income-subtitle {
            color: #666;
            font-size: 14px;
            margin-bottom: 30px;
            text-align: right;
        }

        .farzyab-income-list {
            margin-bottom: 30px;
        }

        .farzyab-income-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 7px 20px 7px 6px;
            background: white;
            margin-bottom: 22px;
            border: 1px solid #E9EAEE;
            border-radius: 16px;
        }

        .farzyab-income-item-title {
            font-size: 18px;
            color: #333;
            font-weight: normal;
        }

        .farzyab-income-price-btn {
            background: #E60000;
            color: white;
            border: none;
            padding: 11px 18px;
            border-radius: 14px;
            font-size: 17px;
            font-weight: normal;
            cursor: pointer;
            min-width: 130px;
            text-align: center;
        }

        .farzyab-income-start-section {
            text-align: center;
            margin: 40px 0;
        }

        .farzyab-income-start-btn {
            background: #f6d55c;
            color: #333;
            border: none;
            padding: 10px 98px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .farzyab-income-start-btn::before {
            content: "⚡";
            font-size: 18px;
        }

        .farzyab-income-description {
            color: #666;
            font-size: 14px;
            margin: 15px 0 30px 0;
            text-align: center;
        }

        .farzyab-income-back-btn {
            padding: 10px 104px;
            background: #E60000;
            color: white;
            border: none;
            /* padding: 12px 30px; */
            border-radius: 12px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            display: block;
            margin: 0 auto;
        }

        .farzyab-income-back-btn::after {
            content: "←";
            margin-right: 10px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .farzyab-income-container {
                width: 95%;
                padding: 15px 0;
            }

            .farzyab-income-title {
                font-size: 20px;
                margin: 15px 0 8px 0;
            }

            .farzyab-income-subtitle {
                font-size: 12px;
                margin-bottom: 20px;
            }

            .farzyab-income-item {
                padding: 15px;
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .farzyab-income-item-title {
                font-size: 14px;
                width: 100%;
            }

            .farzyab-income-price-btn {
                padding: 6px 14px;
                font-size: 12px;
                align-self: flex-end;
            }

            .farzyab-income-start-btn {
                padding: 12px 30px;
                font-size: 14px;
            }

            .farzyab-income-back-btn {
                padding: 10px 25px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .farzyab-income-container {
                width: 98%;
                padding: 10px 0;
            }

            .farzyab-income-title {
                font-size: 18px;
            }

            .farzyab-income-item {
                padding: 12px;
            }

            .farzyab-income-item-title {
                font-size: 13px;
            }

            .farzyab-income-price-btn {
                padding: 5px 12px;
                font-size: 11px;
            }

            .farzyab-income-start-btn {
                padding: 10px 25px;
                font-size: 13px;
            }

            .farzyab-income-back-btn {
                padding: 8px 20px;
                font-size: 13px;
            }
        }






        /*###################################### صفحه  تبلیغات ##################################*/
        .page-main-container {
            width: 89%;
            margin: 0px auto;
            padding: 20px 0;
        }

        .page-main-title {
            text-align: right;
            font-size: 24px;
            font-weight: bold;
            color: #081035;
            margin-bottom: 8px;
        }

        .page-main-subtitle {
            text-align: right;
            font-size: 14px;
            color: #7f8c8d;
            margin-bottom: 40px;
        }

        .page-packages-row {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 60px;
            flex-wrap: wrap;
        }

        .page-package-item {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            padding: 20px;
            width: 100%;
            /* Make it responsive */
            max-width: 436px;
            /* Max width as per image */
            position: relative;
        }

        .page-package-heart {
            position: absolute;
            top: 15px;
            left: 15px;
            color: #E92A2A;
            font-size: 16px;
            display: none;
            /* Hide heart icon as per image */
        }

        .page-package-header {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            row-gap: 10px;
            column-gap: 10px;
            margin-bottom: 10px;
            flex-direction: row-reverse;
        }

        .page-package-badge {
            background: #ffffff;
            color: #E92A2A;
            padding: 4px 12px;
            border-radius: 8px;
            font-size: 12px;
            border: 1px solid #E92A2A;
            display: inline-block;

        }

        .page-package-title {
            font-size: 24px;
            font-weight: bold;
            color: #081035;
            text-align: right;
        }

        .page-package-desc {
            font-size: 14px;
            color: #5B6176;
            line-height: 1.5;
            margin-bottom: 20px;
            text-align: right;
        }

        .page-package-image-container {
            margin: 20px 0;
            text-align: center;
        }

        .page-package-image {
            width: 100%;
            height: 150px;
            /* Adjust height as needed */
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .page-package-small-images {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            max-width: 200px;
            /* Adjust as needed to center */
            margin: 0 auto;
        }

        .page-package-small-image {
            width: 100%;
            height: 60px;
            object-fit: cover;
            border-radius: 6px;
        }

        .page-package-features {
            text-align: right;
            margin: 20px 0;
        }

        .page-package-feature-item {
            font-size: 14px;
            color: #081035;
            margin-bottom: 17px;
            position: relative;
            padding-right: 15px;
        }

        .page-package-feature-item::before {
            content: "●";
            color: #E92A2A;
            position: absolute;
            right: 0;
            top: 0;
        }

        .page-package-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #ecf0f1;
            flex-direction: row-reverse;
        }

        .page-package-price-section {
            text-align: right;
            /* Align price to right */
        }

        .page-package-price {
            font-size: 16px;
            font-weight: bold;
            color: #2c3e50;
        }

        .page-package-price-label {
            font-size: 11px;
            color: #7f8c8d;
        }

        .page-package-btn {
            background: #E92A2A;
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 12px;
            font-size: 16px;
            cursor: pointer;
        }

        .page-package-btn-outline {
            height: 48px;
            margin-top: 22px;
            width: 100%;
            background: white;
            color: #E92A2A;
            border: 2px solid #E92A2A;
        }

        .page-services-section {
            margin-top: 20px;
        }

        .page-service-item {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            padding: 20px;
            margin-bottom: 20px;
            display: grid;
            grid-template-columns: auto 1fr auto;
            /* Image, Content, Button */
            gap: 20px;
            align-items: end;
            justify-content: space-between;
            /* Distribute items */
            flex-wrap: wrap;
            /* Allow wrapping for responsiveness */
        }

        .page-service-content {
            text-align: right;
        }

        .page-service-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
            flex-direction: row-reverse;
            justify-content: flex-end;
        }

        .page-service-badge {
            background: #ffffff;
            color: #E92A2A;
            padding: 4px 12px;
            border-radius: 8px;
            border: 1px solid #E92A2A;
            font-size: 11px;
        }

        .page-service-title {
            font-size: 22px;
            font-weight: bold;
            color: #081035;
        }

        .page-service-features {
            text-align: right;
        }

        .page-service-feature-item {
            font-size: 12px;
            color: #34495e;
            margin-bottom: 5px;
            position: relative;
            padding-right: 15px;
        }

        .page-service-feature-item::before {
            content: "●";
            color: #E92A2A;
            position: absolute;
            right: 0;
            top: 0;
        }

        .page-service-image-wrapper {
            display: flex;
            justify-content: center;
            /* Center the image */
            align-items: center;
            order: 1;
            /* Image first */
        }

        .page-service-image {
            width: 100px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
        }

        .page-service-btn {
            background: white;
            color: #E92A2A;
            border: 1px solid #E92A2A;
            /* padding: 8px 16px; */
            border-radius: 12px;
            font-size: 16px;
            cursor: pointer;
            white-space: nowrap;
            width: 167px;
            height: 48px;
        }

    

        /* Mobile Large - 481px to 767px */
        @media (min-width: 481px) and (max-width: 767px) {
            .page-main-container {
                width: 93%;
                padding: 15px 10px;
            }

            .page-packages-row {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .page-package-item {
                padding: 16px;
                max-width: 500px;
                margin: 0 auto;
            }

            /* حفظ ساختار سه ستونی دسکتاپ */
            .page-service-item {
                grid-template-columns: 80px 1fr 130px;
                gap: 12px;
                padding: 16px;
                align-items: center;
            }

            .page-service-image-wrapper {
                order: 0;
            }

            .page-service-content {
                order: 1;
                text-align: right;
            }

            .page-service-btn {
                order: 2;
                width: 130px;
                height: 40px;
                font-size: 13px;
            }

            .page-service-image {
                width: 80px;
                height: 50px;
            }

            .page-service-title {
                font-size: 16px;
            }

            .page-service-feature-item {
                font-size: 12px;
            }
        }

        /* Mobile Small - 320px to 480px */
        @media (max-width: 480px) {
            .page-service-badge {
                background: #ffffff;
                color: #E92A2A;
                padding: 4px 12px;
                border-radius: 8px;
                border: 1px solid #E92A2A;
                font-size: 11px;
                display: none;
            }

            .page-package-feature-item {
                font-size: 13px;
                color: #081035;
                margin-bottom: 17px;
                position: relative;
                padding-right: 15px;
            }

            .page-main-container {
                width: 93%;
                padding: 10px 5px;
            }

            .page-main-title {
                font-size: 18px;
                margin-bottom: 6px;
            }

            .page-main-subtitle {
                font-size: 12px;
                margin-bottom: 30px;
            }

            .page-packages-row {
                gap: 15px;
                margin-bottom: 40px;
            }

            .page-package-item {
                padding: 15px;
            }

            .page-package-title {
                font-size: 18px;
            }

            .page-package-desc {
                font-size: 13px;
            }

            .page-package-bottom {
                flex-wrap: wrap;
                gap: 10px;
            }

            /* حفظ ساختار سه ستونی با سایز کوچکتر */
            .page-service-item {
                grid-template-columns: 70px 1fr 110px;
                gap: 10px;
                padding: 15px;
                align-items: center;
            }

            .page-service-image {
                width: 70px;
                height: 45px;
            }

            .page-service-title {
                font-size: 14px;
            }

            .page-service-feature-item {
                font-size: 11px;
                margin-bottom: 3px;
            }

            .page-service-btn {
                width: 110px;
                height: 38px;
                font-size: 12px;
                padding: 8px 12px;
            }
        }

        /* Extra Small - below 320px */
        @media (max-width: 319px) {
            .page-main-container {
                width: 93%;
                padding: 8px 3px;
            }

            .page-package-item {
                padding: 12px;
            }

            .page-package-title {
                font-size: 16px;
            }

            /* حفظ ساختار با کمترین سایز ممکن */
            .page-service-item {
                grid-template-columns: 60px 1fr 90px;
                gap: 8px;
                padding: 12px;
                align-items: center;
            }

            .page-service-image {
                width: 60px;
                height: 40px;
            }

            .page-service-title {
                font-size: 13px;
            }

            .page-service-feature-item {
                font-size: 10px;
            }

            .page-service-btn {
                width: 90px;
                height: 36px;
                font-size: 11px;
            }
        }

        /* اصلاح order برای همه سایزها */
        @media (max-width: 767px) {
            .page-service-item [style*="order: 1"] {
                order: 1 !important;
            }

            .page-service-item [style*="order: 2"] {
                order: 0 !important;
            }

            .page-service-item [style*="order: 3"] {
                order: 2 !important;
            }
        }
