/*
Theme Name: MEHRAD
Theme URI: https://t.me/myveici
Author: mohammad yasin
Author URI: https://t.me/myveici
Description: 
Version: 1.0
*/
@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/wp-content/themes/yasin/font/YekanBakhFaNum-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/wp-content/themes/yasin/font/YekanBakhFaNum-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/wp-content/themes/yasin/font/YekanBakhFaNum-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/wp-content/themes/yasin/font/YekanBakhFaNum-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/wp-content/themes/yasin/font/YekanBakhFaNum-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

body {
    font-family: 'YekanBakhFaNum', sans-serif;
    font-weight: 400;
    font-style: normal;
    direction: rtl;
    line-height: 1.8;
    direction: rtl;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin: 0;
}

h1, h2 {
    font-weight: 900;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'YekanBakhFaNum', sans-serif;
}

* {
    font-family: 'YekanBakhFaNum', sans-serif;
}

strong {
    font-weight: 900;
}

#site-header {
    width: 100%;
    height: 70px;
    /* background: red; */
    position: relative;
    top: 0px
}

.home-box-a {
    content: "";
    top: 0;
    right: 0;
    background: #ffffff;
    z-index: 100;
    height: auto;
    width: 100%;
    position: relative;
    background-image: url('/wp-content/themes/yasin/photo/map.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-attachment: fixed;
}

.home-box-b {
    position: relative;
    z-index: 40;
}

.home-a {
    width: 100%;
    height: 600px;
    position: relative;
    /* background: #ffffff; */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    z-index: 100;
    position: relative;
}

.home-a-1 {
    width: 45%;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.home-a-1 h1 {
    font-size: 100px;
    border-RIGHT: 5px solid #ff0000;
    padding-right: 50PX;
    color: #0179c1;
}

.home-a-1 h2 {
    font-size: 50px;
    border-RIGHT: 5px solid #ff0000;
    padding-right: 50PX;
    color: #737373;
}

.home-a-2 {
    width: 45%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative
}

.wrapper2 {
    position: fixed;
    width: 480px;
    height: 480px;
    margin: 150px auto;
    right: -240px;
    z-index: 1;
    top: 50px
}

.center-circle2, .rotating-circle2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.center-circle2 img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    left: 92px;
    position: absolute;
    top: 90px
}

.rotating-circle2 img {
    width: 480px;
    height: 480px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.rotating-circle2 {
    transform-origin: center center;
}

.home-box-b h2 {
    text-align: center;
    font-size: 40px;
    color: #737373;
    border-bottom: 5px solid #ff0000;
    width: 400px;
    margin: auto;
    margin-bottom: 40px
}

.wrapper {
    position: relative;
    width: 600px;
    /* عرض دایره بزرگ */
    height: 600px;
    /* ارتفاع دایره بزرگ */
    display: block;
}

.rotating-circle {
    width: 600px;
    height: 600px;
    animation: rotate 6s linear infinite;
    z-index: 110 !important;
    position: absolute;
    /* ← این خط اضافه شده */
}

.rotating-circle img {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    display: block;
}

.center-circle {
    top: 50%;
    left: 50%;
    width: 375px;
    height: 375px;
    transform: translate(-50%, -50%);
    z-index: 109;
    position: absolute;
}

.center-circle img {
    width: 375px;
    height: 375px;
    border-radius: 50%;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* تنظیمات پایه - کانتینر و چیدمان هدر */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    /* جلوگیری از شکست خودکار */
    height: 70px;
    /* ارتفاع ثابت هدر */
    box-sizing: border-box;
    position: fixed;
    z-index: 40;
    background-color: #fff;
    font-weight: 500;
    --tw-shadow: 0 2px 5px -1px rgba(0, 0, 0, .08);
    --tw-shadow-colored: 0 2px 5px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    right: 0px;
    top: 0px;
    justify-content: space-evenly;
    flex-direction: row;
    /* display:none; */
    align-content: center;
    z-index: 1000
}

/* برندینگ سایت */
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-branding img {
    height: 50px;
    width: auto
}

/* عنوان سایت */
.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    white-space: nowrap;
    /* جلوگیری از شکست خط */
}

/* توضیحات سایت (تگ توضیحات زیر عنوان) */
.site-description {
    font-size: 1rem;
    color: #666;
    margin: 0;
    white-space: nowrap;
}

/* منوی اصلی دسکتاپ */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: inline-block;
    padding: 10px 0;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-navigation ul li a:hover, .main-navigation ul li a:focus {
    color: #0073e6;
}

/* دکمه منوی موبایل مخفی در دسکتاپ */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #222;
    user-select: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.filters {
    display: flex
}

.filters-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-filters {
    background-color: #ffffff;
    height: auto;
    width: 1340px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.category-filters {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    width: 240px;
    border-left: 1px solid #eee;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.cat-filter {
    background-color: #0179c1;
    /* آبی اصلی */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
    font-family: 'YekanBakhFaNum', sans-serif;
    width: 220px
}

.cat-filter:hover {
    background-color: #ff0018;
    /* قرمز برای هاور */
    transform: translateY(-2px);
}

.cat-filter.active {
    background-color: #0056b3;
    /* آبی تیره‌تر برای فعال */
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
}

.filters2 {
    width: 1098px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background: white;
}

.category-filters button {
    margin: 5px;
    padding: 6px 12px;
    cursor: pointer;
}

.category-filters button.active {
    background-color: #0f58d6;
    color: white;
}

.brand-filters {
    margin: 10px 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: center;
}

.brand-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px;
    border-radius: 2px;
    /* width: 100%; */
}

.dimension-filters {
    margin-top: 15px;
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    width: 75%;
    /* font-family: 'Tahoma', sans-serif; */
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: auto;
}

.dimension-filters h4 {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 18px;
    color: #222;
    border-bottom: 2px solid #007bff;
    padding-bottom: 6px;
}

.search-filter {
    margin-top: 22px!important;
    width: 50%;
}

.search-filter input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-filter input[type="text"]::placeholder {
    color: #999;
}

.search-filter input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
    outline: none;
}

.dimension-filters label {
    display: block;
    margin-top: 12px;
    font-weight: 500;
    font-size: 14px;
}

.dimension-filters > div {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.dimension-filters input[type="number"] {
    width: 45%;
    padding: 6px 8px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.dimension-filters input[type="number"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.4);
}

.brand-filters label {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 6px 14px;
    border: 1.5px solid #ccc;
    border-radius: 24px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.3s, background-color 0.3s;
    font-size: 14px;
    color: #333;
}

.brand-filters label:hover {
    border-color: #007bff;
    background-color: #e7f1ff;
}

.brand-filters input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #007bff;
    /* Ø±Ù†Ú¯ Ø¢Ø¨ÛŒ Ø¨Ø±Ø§ÛŒ Ú†Ú©â€ŒØ¨Ø§Ú©Ø³ */
}

.brand-filters label {
    margin-right: 15px;
}

#products-area {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    width: 100%;
}

#products-area a {
    width: 18%
}

.product-item {
    margin: 10px 0;
    /* padding: 10px; */
    border: 1px solid #ccc;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
}

.product-title {
}

#products-area a:link {
    color: #707070;
}

#products-area a:visited {
    color: #5f5f5f;
}

#products-area a:hover {
    color: #02115c;
}

#products-area a:active {
    color: #02115c;
}

.product-item img {
    width: 100%;
    border-radius: 5px
}

.load-more-wrapper {
    text-align: center;
    margin: 15px 0;
}

#load-more-btn {
    padding: 10px 24px;
    font-size: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-family: 'Tahoma', sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#load-more-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

#load-more-btn:active {
    transform: scale(0.98);
}

.product-page {
    display: flex;
    width: 1240px;
}

.product-thumbnail {
}

.product-content {
    border: 1px solid #eee;
    width: 1240px;
    border-radius: 10px;
    /* margin-top:30px; */
    padding: 20px 50px;
}

.product-thumbnail img {
    width: 400px;
    height: auto;
    border-left: 2px solid #eee;
}

.product-metas {
    display: flex;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.product-meta {
    /* width: 350px; */
    /* padding-top: 20px; */
    margin-right: 20px
}

.product-meta p {
    background-color: #F7F7F7;
    line-height: 40px;
    padding-right: 20px;
    border-radius: 5px
}

.tip-cta-button svg {
    width: 66px;
    height: 65px;
    position: absolute;
    top: -0px;
    right: -0px;
    background: white;
    border-radius: 10px ;
}

.tip-cta-list {
    /* background: azure; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.product-link {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.tip-cta-button {
    background: #0f58d6;
    display: flex;
    width: 250px;
    height: 65px;
    margin-bottom: 20px;
    border: 1px solid #0f58d6;
    border-radius: 10px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    position: relative;
    color: white;
    font-size: 20px;
    font-weight: 600;
    padding-right: 30px;
}

.tip-cta-button:hover {
    background: #003899;
}

.tip-cta-button a:link {
    color: #ffffff;
    line-height: 70px;
    font-size: 20px;
    font-weight: 600;
    position: absolute;
    right: 50px;
    width: 250px;
    height: 65px;
}

.tip-cta-button a:visited {
    color: #ffffff;
}

.tip-cta-button a:hover {
    color: #ffffff;
}

.tip-cta-button a:active {
    color: #ffffff;
}

.blog-wrapper {
    padding: 40px 15px;
    width: 1040px;
    margin: auto;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
}

.blog-grid {
    display: flex;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    flex-direction: row-reverse;
    align-content: flex-start;
    justify-content: space-around;
}

.blog-content {
    width: 800px
}

/* کارت پست */
.post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}

.post-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 20px;
    margin: 0 0 10px;
    color: #222;
}

.post-title a {
    text-decoration: none;
    color: inherit;
}

.post-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.post-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #0073aa;
    text-decoration: none;
}

.read-more:hover {
    color: #ffffff;
}

/* سایدبار */
.blog-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    width: 240px;
}

.blog-sidebar .widget {
    margin-bottom: 30px;
}

.blog-sidebar .widget-title {
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 2px solid #0073aa;
    display: inline-block;
}

/* ناوبری */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-numbers {
    padding: 8px 14px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
}

.pagination .page-numbers.current, .pagination .page-numbers:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.contact-us {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

h1 {
    text-align: center;
    color: #004d99;
    margin-bottom: 20px;
}

.info, .form-container {
    margin-bottom: 30px;
}

.info p {
    font-size: 16px;
    margin: 10px 0;
}

.info i {
    margin-left: 10px;
    color: #004d99;
}

.social-icons a {
    margin: 0 10px;
    font-size: 20px;
    color: #004d99;
    text-decoration: none;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

form button {
    background: #004d99;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
}

iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
}

/* yasin */
#middleBox {
    transition: transform 0.3s ease;
}

.services-section {
    padding: 20px 20px;
    max-width: 1340px;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
}

.services-header {
    text-align: right;
    margin-bottom: 40px;
    /* width: 600px; */
}

.services-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    position: relative;
    display: inline-block;
}

.services-header h2 span {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    width: 4px;
    height: 100%;
    background: red;
    border-radius: 2px;
}

.services-header p {
    color: #555;
    font-size: 15px;
    max-width: 500px;
    line-height: 1.8;
}

.services-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    flex-direction: row;
    /* width: 100px; */
}

.service-box {
    flex: 1;
    min-width: 280px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0,0,0,0.06);
    text-align: center;
    /* transition: transform 0.3s ease, border 0.3s ease; */
    height: 350px;
}

.service-box img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 18px;
    color: #737373;
    margin: 10px 0;
    font-weight: 600;
}

.service-box span {
    display: block;
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

.service-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.service-box:hover {
    border: 2px solid red;
}

.service-box.middle {
    transform: translateY(0);
}

.about-section {
    padding: 60px 20px;
    max-width: 1340px;
    margin: auto;
    /* display: none; */
    /* display: flex; */
    /* flex-direction: row; */
    /* flex-wrap: nowrap; */
}

.about-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-video {
    flex: 1;
    min-width: 300px;
    /* max-width: 40%; */
}

.about-video video {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 900;
}

.about-text h2 span {
    color: red;
    font-weight: bold;
}

.about-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 600px;
}

.social-icons i {
    font-size: 18px;
    margin-left: 12px;
    color: #2d2d2d;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stat-box {
    height: 100px;
    background: #f9f9f9;
    padding: 20px 25px;
    border-radius: 16px;
    text-align: center;
    width: 100px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    will-change: transform;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.stat-box strong {
    font-size: 24px;
    color: #000;
    display: block;
}

.stat-box span {
    font-size: 14px;
    color: #555;
}

.protopt h2 {
    text-align: center;
    font-size: 40px;
    color: #737373;
    border-right: 5px solid #ff0000;
    width: 300px;
    margin: auto;
    /* margin-bottom: 40px; */
}

.protop {
    z-index: 100;
    display: flex;
    width: 1340px;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.custom-product-loop {
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin: 40px 0;
    padding: 0 15px;
}

.custom-product-item {
    background: #0179c1;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.custom-product-item:hover {
    background: red;
    border-color: #0179c1;
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.custom-product-loop a:link {
    color: #ffffff;
}

.custom-product-loop a:visited {
    color: #ffffff;
}

.custom-product-loop a:hover {
    color: #ffffff;
}

.custom-product-loopm a:active {
    color: #ffffff;
}

.custom-product-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 10px;
}

.custom-product-item h3 {
    font-size: 16px;
    padding: 12px;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.custom-product-item:hover h3 {
    /* رنگ قرمز در حالت هاور */
}

.cta {
    width: 1340px;
    margin: auto;
    height: 170px;
    background: #0179c1;
    color: white;
    border-radius: 24px;
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 15px rgb(0 0 0 / 31%);
    margin: 40px 0px;
}

@keyframes shake-phone {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(10deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.cta-a-1 img {
    width: 80px;
    height: auto;
    animation: shake-phone 0.8s infinite;
}

.cta-b-1 img {
    width: 80px;
    height: auto
}

.cta-b:hover .cta-b-1 img {
    animation: shake-phone 0.8s infinite;
}

.cta-a {
    width: 60%;
    background: red;
    height: 170px;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 100px 24px 24px 100px;
}

.cta-a-1 {
    margin-right: 50px;
}

.cta-a-2 {
    margin-right: 50px;
    font-size: 25px;
    font-weight: 900;
}

.cta-b {
    width: 40%;
    height: 170px;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}

.cta-b-1 {
    margin-left: 50px;
}

.cta-b-2 {
    margin-left: 50px;
    font-size: 20px;
    text-align: center;
    font-weight: 600;
}

.cta-b-2 a:link {
    color: #ffffff;
}

.cta-b-2 a:visited {
    color: #ffffff;
}

.cta-b-2 a:hover {
    color: #ffffff;
}

.cta-b-2 a:active {
    color: #ffffff;
}

.catalog {
    width: 1340px;
    margin: auto;
    height: 170px;
    background: #0179c1;
    color: white;
    border-radius: 24px;
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 15px rgb(0 0 0 / 31%);
    margin: 40px 0px;
}

@keyframes shake-phone {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(10deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.catalog-a-1 img {
    width: 80px;
    height: auto;
    animation: shake-phone 0.8s infinite;
}

.catalog-b-1 img {
    width: 80px;
    height: auto
}

.cta-b:hover .cta-b-1 img {
    animation: shake-phone 0.8s infinite;
}

.catalog-a {
    width: 60%;
    background: red;
    height: 170px;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 100px 24px 24px 100px;
}

.catalog-a-1 {
    margin-right: 50px;
}

.catalog-a-2 {
    margin-right: 50px;
    font-size: 25px;
    font-weight: 900;
}

.catalog-b {
    width: 40%;
    height: 170px;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}

.catalog-b-1 {
    margin-left: 50px;
}

.catalog-b-2 {
    margin-left: 50px;
    font-size: 20px;
    text-align: center;
    font-weight: 600;
}

.catalog-b-2 a:link {
    color: #ffffff;
}

.catalog-b-2 a:visited {
    color: #ffffff;
}

.catalog-b-2 a:hover {
    color: #ffffff;
}

.catalog-b-2 a:active {
    color: #ffffff;
}

#site-footer {
    background: #ffffff;
    color: #000000;
    padding: 40px 0 20px;
    width: 100%;
    z-index: 1000;
    height: auto;
    border-top: 1px solid #eee;
}

.footer-widgets .footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-column {
    flex: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.titelus {
    font-weight: 800
}

/* === Layout Wrapper === */
.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    flex-direction: row-reverse;
}

/* === Main Content === */
.site-main {
    flex: 3;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* === Sidebar === */
.sidebar {
    flex: 1;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.post {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
}

.post-thumbnail img {
    width: 300px
}

.entry-div {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
}

.entry-meta {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.entry-title {
    margin: 10px
}

.home-box-blog_sectio {
    width: 1340px
}

.blog-section {
    padding: 40px;
    /* background-color: #f8f8f8; */
    direction: rtl;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.blog-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    border-right: solid 5px #ff0000;
    padding-right: 10px
}

.blog-header .view-all {
    color: #737373;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
}

.blog-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}

.blog-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 23%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card-content h3 {
    font-size: 16px;
    color: #222;
    margin: 0 0 10px;
    font-weight: 600;
}

.blog-card-content h3 a {
    color: #222;
    text-decoration: none;
}

.blog-card-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-time {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
}

.read-time::before {
    content: "⏱";
    margin-left: 5px;
}

.read-more {
    background-color: #ff0000;
    color: white;
    font-size: 13px;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #0179c1;
}

.read-more .arrow {
    margin-right: 5px;
    font-size: 16px;
}

.catalog-grid {
    width: 1340px;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: row;
    align-content: space-between;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.catalog-header {
    margin-bottom: 50px
}

.catalog-header h2 {
    font-size: 100px;
    padding-right: 50px;
    color: rgb(1, 121, 193);
    border-right: 5px solid rgb(255, 0, 0);
    margin: 0;
}

.catalog-header h3 {
    font-size: 30px;
    padding-right: 50px;
    color: rgb(115, 115, 115);
    border-right: 5px solid rgb(255, 0, 0);
    margin: 0
}

.catalog-link {
    width: 45%;
    background: #0179c1;
    /* margin: 10px 3%; */
    height: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    color: white
}

.catalog-logo img {
    /* width: 50px; */
    /* display: none; */
    margin-top: 30px;
    width: 250px;
    margin-top: 30px;
    margin-right: 10px;transition: all 0.3s ease;
}

.catalog-card:hover .catalog-logo img {
    width:260px;
    transition: all 0.3s ease;
}

.catalog-link hover {
    background: #ff0000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.brand-coler {
    background: red;
    width: 2%;
    height: 100px;
    position: absolute;
    border-radius: 10px;
    right: 0px;
    transition: all 0.3s ease;
}

.catalog-card:hover .brand-coler {
    width: 55%;
    transition: all 0.3s ease;
}

.catalog-card {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    position: relative;
}

.catalog-card a {
    color: #ffffff
}

.brand-name {
    z-index: 100;
    font-size: 30px;
    display: none;
}

.catalog-logo {
    z-index: 100;
}

.catalog-text {
    z-index: 100;
    font-size: 30px
}

/* واکنش‌گرایی - برای نمایش موبایل */
@media (max-width: 1000px) {
    body {
        /* position: relative; */ /* font-family: 'IRANSans', sans-serif; */ /* direction: rtl; */ /* margin: 0; */ background: #fff;
        padding-top: 0px;
        width: 100%;
        position: relative;
        /* right: 0px; */
    }

    /* هدر منعطف برای موبایل */
    .container {
        position: absolute;
        right: 0px;
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: nowrap;
        align-content: center;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        right: 0px;
    }

    /* نمایش دکمه منوی موبایل */
    #menu-toggle {
        display: block;
        /* width: 100%; */
    }

    /* مخفی کردن منوی اصلی در موبایل */
    .main-navigation {
        width: 90%;
        display: none;
        flex-direction: column;
        margin: 5%;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        z-index: 1000;
        position: absolute;
        top: 50px;
        right: 0px;
    }

    /* نمایش منو وقتی باز است */
    .main-navigation.active {
        display: flex;
    }

    /* منوی موبایل به صورت ستون */
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    /* آیتم‌های منو موبایل */
    .main-navigation ul li {
        border-bottom: 1px solid #eee;
    }

    .main-navigation ul li:last-child {
        border-bottom: none;
    }

    .main-navigation ul li a {
        padding: 15px 20px;
        display: block;
        color: #222;
        font-weight: 600;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .main-navigation ul li a:hover, .main-navigation ul li a:focus {
        background-color: #0073e6;
        color: #fff;
    }
}
