/* ======================
   GENERAL STYLES 
   ====================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', 'Roboto', sans-serif;
}

:root {
    --primary-color: #FFD000;
    --secondary-color: #2c3e50;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --pcl-accent: #f6c100;
    --pcl-purple-highlight: #eedfff;
}

@font-face {
  font-family: "Nazanin";
  src: url("fonts/Nazanin.woff2") format("woff2"),
       url("fonts/Nazanin.woff") format("woff"),
       url("fonts/Nazanin.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Nazanin", Tahoma, Arial, sans-serif;
  line-height: 1.8;
    background-color: #fef8f8;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

body.lang-en {
    direction: ltr;
}

/* ======================
   BOOTSTRAP CUSTOMIZATION 
   ====================== */
/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: white;
}

.navbar-brand img {
    height: 80px;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover img {
    opacity: 0.8;
}

.navbar-collapse {
    justify-content: space-between;
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: white;
        padding: 10px;
        margin-top: 8px;
        border-radius: 5px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    .navbar-brand img {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 50px;
    }
}

.navbar-nav .nav-link {
    color: #040302;
    padding: 8px 12px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
}

.navbar-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    height: 2px;
    background-color: #0d6efd;
    animation: underline 0.3s ease forwards;
}

.navbar-nav .nav-item.active .nav-link {
    color: #0d6efd;
    font-weight: bold;
}

.navbar-nav .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    height: 2px;
    background-color: #0d6efd;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

@keyframes underline {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Hero Slider Section */
.hero-slider-section {
    width: 100%;
    overflow: hidden;
}

.hero-slider-container {
    max-width: 100%;
    margin: 0 auto;
}

.carousel-item {
    position: relative;
    width: 100%;
    padding-bottom: 40%;
}

.slider-image-wrapper {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-caption {
    position: absolute;
    bottom: 15%;
    inset-inline-end: 10%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-radius: 5px;
    max-width: 80%;
}

body.lang-en .slider-caption {
    inset-inline-end: auto;
    inset-inline-start: 10%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

@media (max-width: 992px) {
    .carousel-item {
        padding-bottom: 40%;
    }
    .slider-caption {
        bottom: 10%;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        padding-bottom: 45%;
    }
    .slider-caption {
        bottom: 5%;
        inset-inline-end: 5%;
        max-width: 90%;
        padding: 10px;
        font-size: 0.9rem;
    }
    body.lang-en .slider-caption {
        inset-inline-end: auto;
        inset-inline-start: 5%;
    }
    .carousel-control-prev {
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
        left: 10px;
    }
    .carousel-control-next {
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
        right: 10px;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1rem;
        height: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        padding-bottom: 50%;
    }
    .slider-caption {
        font-size: 0.8rem;
    }
    .carousel-control-prev {
        left: 5px;
    }
    .carousel-control-next {
        right: 5px;
    }
}
/* ======================
   SECTION STYLES 
   ====================== */
.section-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: bold;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-end: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}
body.lang-en .section-title::after {
    inset-inline-end: auto;
    inset-inline-start: 50%;
    transform: translateX(-50%);
}
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* ======================
   SECTION STYLES 
   ====================== */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

body.lang-en .section-title::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* ======================
   CARD STYLES 
   ====================== */
.card {
    transition: all 0.4s ease;
    border: none;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    transition: transform 0.5s ease;
    height: 200px;
    object-fit: cover;
    width: 180px;
    margin-inline-end: 60px;
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.details-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

body.lang-en .card-img-top {
    margin-inline-end: 0;
    margin-inline-start: 60px;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

#services {
    background-color: #ffffff;
    border: 3px solid black;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 51px;
    padding: 20px;
}

.cards-img-top {
    transition: transform 0.5s ease;
    height: 300px;
    object-fit: cover;
    width: 100%;
    border-bottom: 4px solid #ab8101;
}

@media (max-width: 992px) {
    .cards-img-top {
        height: 140px;
    }
}

@media (max-width: 576px) {
    .cards-img-top {
        height: 100px;
    }
}

/* ======================
   POST PAGE STYLES 
   ====================== */
.post-container {
    padding-top: 80px;
    padding-bottom: 40px;
}

.post-sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.post-sidebar h3 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.post-product-card {
    transition: all 0.3s ease;
    height: 100%;
}

.post-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Page Center Logo */
.pcl-container {
    padding: 30px 15px;
    position: relative;
}
.pcl-hr-behind {
    height: 1px;
    background: #e6e6e6;
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: 0;
    top: 80px;
    z-index: 0;
}
.pcl-logo-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff, #f7f7f9);
    border: 8px solid var(--pcl-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}
.pcl-logo-wrap img {
    max-width: 100%;
    height: auto;
}
.pcl-lead {
    text-align: center;
    line-height: 1.8;
    color: #2b2b2b;
    font-size: 1rem;
}
.pcl-highlight {
    background: var(--pcl-purple-highlight);
    padding: 10px;
    border-radius: 5px;
}
.pcl-small-divider {
    width: 50px;
    height: 3px;
    background: var(--pcl-accent);
    margin: 20px auto;
    border-radius: 3px;
}
.pcl-icon-card {
    text-align: center;
    color: #6b6b6b;
}
.pcl-icon-card img {
    max-width: 60px;
    height: auto;
}
@media (max-width: 768px) {
    .pcl-logo-wrap {
        width: 100px;
        height: 100px;
        border-width: 6px;
    }
    .pcl-lead {
        font-size: 0.9rem;
    }
    .pcl-icon-card img {
        max-width: 50px;
    }
}



.description-page-wrapper {
    padding: 50px 15px;
}

.description-slider-images {
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
}

.description-slide {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.description-slide.active {
    opacity: 1;
}

.pipeline-diagram-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    max-width: 100%;
    margin: 30px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.pipeline-diagram-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .description-slider-images {
        height: 250px;
    }
    .pipeline-diagram-box {
        padding: 10px;
    }
}

/* ======================
   LOGIN/REGISTER FORMS 
   ====================== */
.signup-form {
    max-width: 450px;
    margin: 60px auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.form-header {
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 15px;
    text-align: center;
}

.form-body {
    background-color: #fff;
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.signup-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signup-btn:hover {
    background-color: #e6c000;
}

.login-link {
    text-align: center;
    margin-top: 15px;
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* ======================
   CUSTOM CONTACT SECTION 
   ====================== */
.custom-contact-section {
    background-color: #fff;
    padding: 30px 15px;
}

.custom-contact-section span {
    font-size: 1.2rem;
    font-weight: bold;
}

.custom-icon-circle {
    background: radial-gradient(circle at 30% 30%, #ffda44, #ffb300);
    color: #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.custom-icon-circle:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.custom-newsletter-box {
    background-color: #ffcc00;
    border-radius: 5px;
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
}

.custom-newsletter-box input {
    max-width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: none;
}

.newsletter-success {
    display: none;
    background-color: #28a745;
    color: white;
    padding: 8px 12px;
    margin-top: 8px;
    border-radius: 4px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .custom-contact-section .row {
        flex-direction: column;
        align-items: center;
    }
    .custom-contact-section .col-auto {
        margin-bottom: 10px;
    }
    .custom-newsletter-box input {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* ======================
  Recruitment form
   ====================== */

       
        .cooperation-form-container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .cooperation-form-header {
            background: linear-gradient(135deg, #353531 0%, #a8a9a2 100%);
            color: white;
            padding: 25px;
            text-align: center;
        }
        
        .cooperation-form-header h1 {
            font-size: 28px;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .cooperation-form-header p {
            font-size: 16px;
            opacity: 0.9;
            line-height: 1.8;
        }
        
        .cooperation-form-section {
            padding: 25px;
        }
        
        .cooperation-form-row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px 20px;
        }
        
        .cooperation-form-group {
            flex: 1;
            min-width: 300px;
            padding: 0 10px;
            margin-bottom: 20px;
        }
        
        .cooperation-form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
        }
        
        .cooperation-form-group label::after {
            content: " :";
        }
        
        .required::before {
            content: "*";
            color: #e74c3c;
            margin-left: 3px;
        }
        
        .cooperation-form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            transition: all 0.3s;
        }
        
        .cooperation-form-control:focus {
            outline: none;
            border-color: #deec5e;
            box-shadow: 0 0 0 2px rgba(225, 216, 40, 0.2);
        }
        
        .radio-group {
            display: flex;
            gap: 20px;
            margin-top: 5px;
        }
        
        .radio-option {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .radio-option input {
            margin-left: 5px;
        }
        
        .slider-container {
            margin-top: 10px;
        }
        
        .slider-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 5px;
            font-size: 14px;
            color: #777;
        }
        
        .cooperation-form-footer {
            padding: 25px;
            text-align: center;
            background-color: #f9f9f9;
            border-top: 1px solid #eee;
        }
        
        .cooperation-btn-submit {
            background: linear-gradient(135deg, #e8d41e 0%, #efe337 100%);
            color: white;
            border: none;
            padding: 14px 35px;
            font-size: 18px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(209, 236, 100, 0.3);
        }
        
        .cooperation-btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(210, 237, 102, 0.4);
        }
        
        .captcha {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }
        
        .captcha-code {
            background: #f0f0f0;
            padding: 8px 15px;
            border-radius: 4px;
            font-family: monospace;
            font-size: 18px;
            font-weight: bold;
            letter-spacing: 3px;
        }
        
        .error-message {
            color: #e74c3c;
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }
        
        @media (max-width: 768px) {
            .cooperation-form-group {
                min-width: 100%;
            }
            
            .cooperation-form-header h1 {
                font-size: 24px;
            }
            
            .radio-group {
                flex-direction: column;
                gap: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .cooperation-form-header {
                padding: 15px;
            }
            
            .cooperation-form-section {
                padding: 15px;
            }
            
            .cooperation-form-footer {
                padding: 15px;
            }
            
            .cooperation-btn-submit {
                width: 100%;
                padding: 12px;
            }
            
            .captcha {
                flex-direction: column;
                align-items: flex-start;
            }
        }


        /* Questions */
.faq-custom-section {
  background: #fff;
  font-family: 'IRANSans', 'Vazir', 'Roboto', Tahoma, Arial, sans-serif;
}

body.lang-en .faq-custom-section {
  font-family: 'Roboto', 'IRANSans', 'Vazir', Tahoma, Arial, sans-serif;
  direction: ltr;
}

.faq-custom-subtitle {
  font-size: 16px;
  color: #6c757d;
  font-weight: 400;
}

.faq-custom-title {
  color: #000000;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0;
}

.faq-custom-title-underline {
  width: 80px;
  height: 4px;
  background: #ffe9a2;
  border-radius: 2px;
}

.faq-custom-desc {
  color: #6c757d;
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.faq-custom-box {
  text-align: end;
  margin-bottom: 28px;
}

body.lang-en .faq-custom-box {
  text-align: start;
}

.faq-custom-box-title {
  background: #ffe9a2;
  padding: 6px 20px;
  border-radius: 6px;
  color: #434343;
  font-size: 22px;
  font-weight: 700;
}

.faq-custom-item {
  background: #fcfcfc;
  border-radius: 9px;
  padding: 20px 18px 14px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px #e8e8e8;
  transition: box-shadow 0.2s;
  border-inline-end: 3px solid #ffe9a2;
}

.faq-custom-item:last-child {
  margin-bottom: 0;
}

.faq-custom-q {
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 11px;
}

.faq-custom-q-num {
  color: #e8b11c;
  font-size: 20px;
  font-weight: 900;
}

.faq-custom-a {
  font-size: 15px;
  color: #444;
  font-weight: 400;
  line-height: 2.1;
  padding-inline-end: 24px;
}

@media (max-width: 767.98px) {
  .faq-custom-title {
      font-size: 1.35rem;
  }
  .faq-custom-box-title {
      font-size: 19px;
      padding: 6px 16px;
  }
  .faq-custom-item {
      padding: 12px 8px 8px 8px;
  }
  .faq-custom-a {
      padding-inline-end: 10px;
      font-size: 14px;
  }
}

.faq-container {
  font-family: 'Vazir', 'Roboto', Tahoma, sans-serif;
  color: #333;
}

body.lang-en .faq-container {
  font-family: 'Roboto', 'Vazir', Tahoma, sans-serif;
  direction: ltr;
}

.faq-section-title {
  color: #f5a100;
  font-size: 24px;
  font-weight: bold;
  text-align: end;
}

body.lang-en .faq-section-title {
  text-align: start;
}

.faq-accordion {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-accordion-header {
  width: 100%;
  padding: 14px 20px;
  text-align: end;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  transition: background-color 0.3s ease;
}

body.lang-en .faq-accordion-header {
  text-align: start;
}

.faq-accordion-header:hover {
  background-color: #fef2cc;
}

.faq-accordion-header::after {
  content: "⌄";
  position: absolute;
  inset-inline-start: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  transition: transform 0.3s ease;
  color: #f5a100;
}

.faq-accordion-header.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  background: #fafafa;
}

.faq-accordion-body.open {
  padding: 12px 20px;
}

.faq-accordion-body p,
.faq-accordion-body ul {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.6;
  text-align: end;
}

body.lang-en .faq-accordion-body p,
body.lang-en .faq-accordion-body ul {
  text-align: start;
}

.faq-accordion-body ul {
  padding-inline-end: 20px;
}

body.lang-en .faq-accordion-body ul {
  padding-inline-start: 20px;
  padding-inline-end: 0;
}

.faq-accordion-body ul li {
  margin-bottom: 6px;
}

.faq-accordion-body h4 {
  color: #f1c40f;
  margin-top: 15px;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

body.lang-en .contact-box {
  flex-direction: row;
}

.contact-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-text img {
  width: 20px;
  height: 20px;
}

.contact-link {
  display: inline-block;
  background-color: #FFD200;
  color: black;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-link:hover {
  background-color: #e6bd00;
}


@media (max-width: 576px) {
  .container {
    padding: 0;
    margin: 0;
    width: 100%; 
    max-width: 100%; 
  }

  .row {
    margin-right: 0;
    margin-left: 0; 
  }

  .contact-icons {
    flex-wrap: wrap; 
    justify-content: center; 
    margin: 0; 
  }

  .contact-icon {
    width: 60px; 
    height: 60px;
  }

  .col-lg-6, .col-12 {
    padding-right: 5px; 
    padding-left: 5px;
  }

  .navbar-brand img {
    max-height: 35px;
  }

  .navbar-nav .nav-link {
    font-size: 0.8rem;
    padding: 4px 6px;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .contact-info p {
    font-size: 0.8rem;
  }

  .contact-info i {
    margin-inline-end: 3px;
  }

  body.lang-en .contact-info i {
    margin-inline-start: 3px;
  }

  .form-control, textarea {
    font-size: 0.8rem;
  }

  .submit-btn {
    padding: 5px 12px;
    font-size: 0.8rem;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icons i {
    font-size: 1.5em;
  }

  .footer-section p, .footer-section ul li {
    font-size: 0.8rem;
  }

  .footer-section h6 {
    font-size: 0.95rem;
  }
}

/* ======================
   BLOG SECTION 
   ====================== */
.custom-header {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    width:100%;
    height: 350px;
}

.custom-logo-container {
    margin-bottom: 20px;
}

.custom-logo {
    width: 100px;
    height: auto;
}

/* استایل شبکه محصولات */
.custom-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

@media (max-width: 768px) {
    .custom-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .custom-product-grid {
        grid-template-columns: 1fr;
    }
}

/* استایل کارت‌های محصول */
.custom-header-section {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.custom-header-title {
  font-size: 200%;
  text-align: center;
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
  margin: 0 20px 70px 20px;
}

.custom-header-text {
  font-size: 130%;
  text-align: center;
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
  margin: 0 20px 100px 20px;
}

.custom-product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.custom-product-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.custom-product-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.custom-product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.custom-read-more {
    background-color: #ffc107;
    color: #000;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
}

.custom-product-date {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    display: block;
}

/* استایل صفحه‌بندی */
.custom-pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.custom-page-button {
    background-color: #ffc107;
    color: #000;
    padding: 10px 15px;
    margin: 0 5px;
    border: none;
    cursor: pointer;
}

.custom-page-button.active {
    background-color: #ddd;
}

/* کلیات */
.custom-blog-container {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  font-family: inherit;
}

/* بخش لینک‌ها */
.custom-blog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
  font-size: 120%;
  font-weight: bold;
}

.custom-blog-label {
  font-weight: 600;
  color: #555;
}

.custom-blog-link {
  text-decoration: none;
  color: #666;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  font-size: 100%;
  font-weight: bold;
  cursor: pointer;
}

.custom-blog-link:hover {
  color: #000;
}

.custom-blog-link.active {
  font-weight: bold;
  color: #000;
}

/* باکس جستجو */
.custom-blog-search {
  display: flex;
  margin-right: 80%;
  max-width: 100%;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 0 0 1px #ccc;
  border-radius: 6px;
  overflow: hidden;
  margin-top: -3%;
}

.custom-blog-input {
  flex-grow: 1;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  font-size: 0.95rem;
  direction: rtl;
}

.custom-blog-button {
  background-color: #ffc107;
  color: #000;
  padding: 0 1rem;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.custom-blog-button:hover {
  background-color: #e0a800;
}

/* رسپانسیو */
@media (max-width: 600px) {
  .custom-blog-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

.article-section-body {
  font-family: 'Vazirmatn', sans-serif;
  background-color: #f4f4f4;
}

.article-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  border: 2px solid transparent;
  width: 100%;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: #ffc107;
}

.article-img-wrapper {
  background-color: #000;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.article-image {
  width: auto;
  height: 150px;
  object-fit: contain;
}

.article-badge {
  position: absolute;
  bottom: 10px;
  right: 15px;
  background-color: rgba(255, 193, 7, 0.85);
  color: #000;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: bold;
}

.article-title {
  font-size: 1.15rem;
  color: #222;
  margin-bottom: 8px;
  font-weight: bold;
}

.article-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.article-tags .article-tag {
  background-color: #fff3cd;
  color: #FDC600;
  border: 1px solid #ffeeba;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
}

.article-meta {
  font-size: 0.8rem;
  color: #999;
  margin-top: 12px;
}

/* کلاس برای مخفی کردن مقالات */
.article-hidden {
  display: none;
}
/* ✅ ریسپانسیو‌سازی نوار جستجو */
@media (max-width: 768px) {
  .custom-blog-search {
    margin: 1rem auto;
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    justify-content: center;
  }

  .custom-blog-input {
    width: 100%;
  }
}

/* ✅ ریسپانسیو‌سازی فهرست دسته‌بندی‌ها */
@media (max-width: 768px) {
  .custom-blog-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ✅ ریسپانسیو کردن کارت‌های مقاله */
@media (max-width: 992px) {
  .article-item {
    width: 48%;
    margin: 1%;
  }
}

@media (max-width: 576px) {
  .article-item {
    width: 100%;
    margin: 0 0 1rem 0;
  }
}

/* صفحات متنی (Text1 تا Text11، Piston) */
.aa-container, .heatdryer-container, .articlex-wrapper, .articley-wrapper, .dryerbox-container, .condenser-container, .export-container, .microfilter-container, .compressor-container, .booster-container, .piston-container {
    background-color: #fff;
    max-width: 900px;
    width: 100%;
    margin: 60px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    box-sizing: border-box;
}

.aa-title, .heatdryer-title, .articlex-title, .articley-title, .dryerbox-title, .condenser-title, .export-title, .microfilter-title, .compressor-title, .booster-title {
    font-size: 1.6rem;
    color: #fbc02d;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.aa-subtitle, .heatdryer-subtitle, .articlex-subtitle, .articley-subtitle, .dryerbox-subtitle, .condenser-subtitle, .export-subtitle, .microfilter-subtitle, .compressor-subtitle, .booster-subtitle, .piston-subtitle {
    font-size: 1.2rem;
    color: #f9a825;
    margin: 30px 0 15px;
    padding-inline-end: 10px;
}

.aa-paragraph, .heatdryer-paragraph, .articlex-content p, .articley-content p, .dryerbox-paragraph, .condenser-paragraph, .export-paragraph, .microfilter-paragraph, .compressor-paragraph, .booster-paragraph, .piston-paragraph {
    font-size: 0.95rem;
    color: #444;
    text-align: justify;
}

.aa-list, .heatdryer-list, .articley-list, .dryerbox-list, .condenser-list, .export-list, .microfilter-list, .compressor-list, .booster-list, .piston-list {
    list-style: none;
    padding-inline-end: 20px;
    margin-bottom: 20px;
}

.aa-list li, .heatdryer-list li, .articley-list li, .dryerbox-list li, .condenser-list li, .export-list li, .microfilter-list li, .compressor-list li, .booster-list li, .piston-list li {
    position: relative;
    padding-inline-end: 15px;
    margin-bottom: 10px;
}

.aa-list li::before, .heatdryer-list li::before, .articley-list li::before, .dryerbox-list li::before, .condenser-list li::before, .export-list li::before, .microfilter-list li::before, .compressor-list li::before, .booster-list li::before, .piston-list li::before {
    content: "•";
    position: absolute;
    font-size: 1rem;
}

.heatdryer-phase-title {
    font-size: 1.1rem;
    color: #f9a825;
    margin: 20px 0 10px;
    padding-inline-end: 10px;
}

/* تنظیمات ریسپانسیو */
@media (max-width: 992px) {
    .aa-container, .heatdryer-container, .articlex-wrapper, .articley-wrapper, .dryerbox-container, .condenser-container, .export-container, .microfilter-container, .compressor-container, .booster-container, .piston-container {
        max-width: 100%;
        margin: 40px 0;
        padding: 25px 15px;
    }

    .aa-title, .heatdryer-title, .articlex-title, .articley-title, .dryerbox-title, .condenser-title, .export-title, .microfilter-title, .compressor-title, .booster-title {
        font-size: 1.5rem;
    }

    .aa-subtitle, .heatdryer-subtitle, .articlex-subtitle, .articley-subtitle, .dryerbox-subtitle, .condenser-subtitle, .export-subtitle, .microfilter-subtitle, .compressor-subtitle, .booster-subtitle, .piston-subtitle {
        font-size: 1.1rem;
        margin: 25px 0 12px;
    }

    .aa-paragraph, .heatdryer-paragraph, .articlex-content p, .articley-content p, .dryerbox-paragraph, .condenser-paragraph, .export-paragraph, .microfilter-paragraph, .compressor-paragraph, .booster-paragraph, .piston-paragraph {
        font-size: 0.9rem;
    }

    .heatdryer-phase-title {
        font-size: 1rem;
    }

    .aa-list, .heatdryer-list, .articley-list, .dryerbox-list, .condenser-list, .export-list, .microfilter-list, .compressor-list, .booster-list, .piston-list {
        padding-inline-end: 15px;
    }
}

@media (max-width: 768px) {
    .aa-container, .heatdryer-container, .articlex-wrapper, .articley-wrapper, .dryerbox-container, .condenser-container, .export-container, .microfilter-container, .compressor-container, .booster-container, .piston-container {
        margin: 30px 0;
        padding: 20px 10px;
    }

    .aa-title, .heatdryer-title, .articlex-title, .articley-title, .dryerbox-title, .condenser-title, .export-title, .microfilter-title, .compressor-title, .booster-title {
        font-size: 1.4rem;
    }

    .aa-subtitle, .heatdryer-subtitle, .articlex-subtitle, .articley-subtitle, .dryerbox-subtitle, .condenser-subtitle, .export-subtitle, .microfilter-subtitle, .compressor-subtitle, .booster-subtitle, .piston-subtitle {
        font-size: 1rem;
        margin: 20px 0 10px;
    }

    .aa-paragraph, .heatdryer-paragraph, .articlex-content p, .articley-content p, .dryerbox-paragraph, .condenser-paragraph, .export-paragraph, .microfilter-paragraph, .compressor-paragraph, .booster-paragraph, .piston-paragraph {
        font-size: 0.85rem;
    }

    .heatdryer-phase-title {
        font-size: 0.95rem;
    }

    .aa-list, .heatdryer-list, .articley-list, .dryerbox-list, .condenser-list, .export-list, .microfilter-list, .compressor-list, .booster-list, .piston-list {
        padding-inline-end: 12px;
    }

    .aa-list li, .heatdryer-list li, .articley-list li, .dryerbox-list li, .condenser-list li, .export-list li, .microfilter-list li, .compressor-list li, .booster-list li, .piston-list li {
        padding-inline-end: 12px;
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .aa-container, .heatdryer-container, .articlex-wrapper, .articley-wrapper, .dryerbox-container, .condenser-container, .export-container, .microfilter-container, .compressor-container, .booster-container, .piston-container {
        margin: 20px 0;
        padding: 15px 8px;
    }

    .aa-title, .heatdryer-title, .articlex-title, .articley-title, .dryerbox-title, .condenser-title, .export-title, .microfilter-title, .compressor-title, .booster-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .aa-subtitle, .heatdryer-subtitle, .articlex-subtitle, .articley-subtitle, .dryerbox-subtitle, .condenser-subtitle, .export-subtitle, .microfilter-subtitle, .compressor-subtitle, .booster-subtitle, .piston-subtitle {
        font-size: 0.95rem;
        margin: 15px 0 8px;
        padding-inline-end: 8px;
    }

    .aa-paragraph, .heatdryer-paragraph, .articlex-content p, .articley-content p, .dryerbox-paragraph, .condenser-paragraph, .export-paragraph, .microfilter-paragraph, .compressor-paragraph, .booster-paragraph, .piston-paragraph {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .heatdryer-phase-title {
        font-size: 0.9rem;
        margin: 12px 0 6px;
        padding-inline-end: 8px;
    }

    .aa-list, .heatdryer-list, .articley-list, .dryerbox-list, .condenser-list, .export-list, .microfilter-list, .compressor-list, .booster-list, .piston-list {
        padding-inline-end: 10px;
        margin-bottom: 15px;
    }

    .aa-list li, .heatdryer-list li, .articley-list li, .dryerbox-list li, .condenser-list li, .export-list li, .microfilter-list li, .compressor-list li, .booster-list li, .piston-list li {
        padding-inline-end: 10px;
        margin-bottom: 6px;
        font-size: 0.8rem;
    }

    .aa-list li::before, .heatdryer-list li::before, .articley-list li::before, .dryerbox-list li::before, .condenser-list li::before, .export-list li::before, .microfilter-list li::before, .compressor-list li::before, .booster-list li::before, .piston-list li::before {
        font-size: 0.9rem;
    }
}

/* About Us Section */
.ha-about-section {
    background-color: #f8f9fa;
    padding: 40px 15px;
}

.ha-section-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: bold;
}

.ha-title-divider {
    width: 60px;
    height: 3px;
    background-color: #FFD000;
    margin: 15px auto;
}

.ha-about-text {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

.ha-subtitle {
    font-size: 1.2rem;
    color: #2c3e50;
    border-inline-end: 3px solid #FFD000;
    padding-inline-end: 10px;
}

.ha-activity-list li {
    font-size: 0.95rem;
    padding-inline-end: 20px;
}

.ha-activity-list li::before {
    font-size: 1rem;
}

.ha-products-btn {
    background-color: #FFD000;
    color: #2c3e50;
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
}

.ha-products-btn:hover {
    background-color: #e6c000;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .ha-section-title {
        font-size: 1.5rem;
    }
    .ha-about-text {
        font-size: 0.9rem;
    }
}

/* About Us 2 */
.gallery-search-box {
    max-width: 340px;
}

.gallery-product-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    transition: transform 0.16s;
    cursor: pointer;
    background: #fff;
}

.gallery-product-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 22px rgba(0,0,0,0.14);
}

.card-img-top, .gallery-product-card-img {
    max-height: 150px !important;
    width: 200px !important;
    object-fit: contain !important;
    padding: 1px !important;
    background: #fff !important;
    border-radius: 20px 20px 0 0 !important;
    display: block !important;
    margin: 0 auto !important;
}

.gallery-product-card .card-title {
    font-size: 1.02rem;
    font-weight: 500;
    margin-bottom: 0;
    text-align: center;
}

.categorySidebarUnique {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    min-width: 200px;
    font-size: 1rem;
}

.categorySidebarUnique h6 {
    font-weight: 600;
}

.categorySidebarUnique .form-check-label {
    font-size: 0.98rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .categorySidebarUnique {
        margin-top: 24px;
        min-width: 100%;
    }
    .gallery-search-box {
        margin-bottom: 16px;
    }
}

@media (min-width: 992px) {
    .gallery-row {
        flex-direction: row-reverse !important;
    }
    body.lang-en .gallery-row {
        flex-direction: row !important;
    }
}

/* About Us 3 */
.prod-details-main {
    margin-top: 100px;
    margin-bottom: 32px;
}

.prod-details-info {
    color: #222;
}

.prod-details-title {
    font-weight: bold;
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.prod-details-desc {
    color: #555;
    font-size: 1rem;
    margin-bottom: 18px;
    line-height: 2;
}

.prod-details-warranty {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #222;
}

.prod-details-attr-label {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 6px;
}

.prod-details-type-toggle .btn {
    border-radius: 6px !important;
    font-size: 0.95rem;
    margin-inline-start: 7px;
    margin-bottom: 10px;
    padding: 4px 20px;
}

body.lang-en .prod-details-type-toggle .btn {
    margin-inline-start: 0;
    margin-inline-end: 7px;
}

.prod-details-type-toggle .active {
    background: #f8b500;
    color: #fff;
    border-color: #f8b500;
}

.prod-details-actions {
    margin-bottom: 20px;
}

.prod-details-actions a,
.prod-details-actions button {
    color: #222;
    font-size: 1rem;
    transition: color 0.2s;
}

.prod-details-actions a:hover,
.prod-details-actions button:hover {
    color: #f8b500;
}

.prod-details-divider {
    border-top: 1px solid #eee;
    margin: 18px 0;
}

.prod-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #444;
}

.prod-details-list li {
    padding: 7px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 1rem;
}

.prod-details-list li:last-child {
    border-bottom: none;
}

.prod-details-terms {
    font-size: 0.97rem;
    color: #777;
    margin-top: 18px;
}

.prod-details-gallery {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 12px 0 rgba(0,0,0,.05);
    padding: 18px 10px 10px 10px;
    margin-bottom: 15px;
}

.prod-details-gallery-main {
    text-align: center;
    position: relative;
}

.prod-details-gallery-main img {
    max-width: 100%;
    height: 295px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.prod-details-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: #f6f6f6;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.13);
    font-size: 1.25rem;
    color: #888;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.prod-details-gallery-arrow:hover {
    background: #f8b500;
    color: #fff;
}

.prod-details-gallery-arrow.prev {
    inset-inline-start: 0;
}

.prod-details-gallery-arrow.next {
    inset-inline-end: 0;
}

.prod-details-gallery-thumbs {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.prod-details-gallery-thumb {
    width: 62px;
    height: 62px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid transparent;
    padding: 3px;
    cursor: pointer;
    object-fit: contain;
    transition: border-color 0.2s;
}

.prod-details-gallery-thumb.active {
    border-color: #f8b500;
    box-shadow: 0 0 0 2px #fff, 0 0 8px #ffc10742;
}

@media (max-width: 991.98px) {
    .prod-details-main {
        margin-top: 14px;
        margin-bottom: 14px;
    }
    .prod-details-gallery-main img {
        height: 200px;
    }
    .prod-details-info {
        margin-top: 18px;
    }
}

@media (max-width: 575.98px) {
    .prod-details-gallery-main img {
        height: 120px;
    }
    .prod-details-title {
        font-size: 1.08rem;
    }
    .prod-details-gallery-thumbs {
        gap: 6px;
    }
    .prod-details-gallery-thumb {
        width: 42px;
        height: 42px;
    }
}

.custom-star-rating .custom-star {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    margin: 0 5px;
}

.custom-star-rating .custom-star.selected {
    color: #f5b301;
}


/* Clients Section */
.clients-section {
    background-color: #f8f9fa;
    padding: 30px 15px;
}

body.lang-en .clients-section {
    direction: ltr;
}

.clients-slider {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 0;
    position: relative;
}

.clients-track {
    display: flex;
    gap: 20px;
    padding: 0 40px;
}

.client-item {
    flex: 0 0 180px;
}

.client-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.client-logo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.client-logo {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.client-name {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

/* Control Buttons */
.client-prev-btn,
.client-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #333;
    transition: all 0.3s ease;
}

.client-prev-btn:hover,
.client-next-btn:hover {
    background: #f0f0f0;
    transform: translateY(-50%) scale(1.05);
}

.client-prev-btn {
    inset-inline-start: 10px;
}

.client-next-btn {
    inset-inline-end: 10px;
}

body.lang-en .client-prev-btn {
    inset-inline-end: auto;
    inset-inline-start: 10px;
}

body.lang-en .client-next-btn {
    inset-inline-start: auto;
    inset-inline-end: 10px;
}

@media (max-width: 768px) {
    .client-item {
        flex: 0 0 150px;
    }
    .client-logo-container {
        width: 100px;
        height: 100px;
    }
    .client-name {
        font-size: 0.9rem;
    }
    .clients-track {
        gap: 15px;
        padding: 0 30px;
    }
    .client-prev-btn,
    .client-next-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .client-item {
        flex: 0 0 130px;
    }
    .client-logo-container {
        width: 80px;
        height: 80px;
    }
}

/* Hide Scrollbar */
.clients-slider::-webkit-scrollbar {
    display: none;
}

/* Catalog Section (پیشنهاد هوا ابزار) */

.hw-catalog-section {
    background-color: #f8f9fa;
    padding: 30px 15px;
    font-family: 'Yekan', 'Vazir', 'Roboto', Tahoma, sans-serif;
}

body.lang-en .hw-catalog-section {
    font-family: 'Roboto', 'Yekan', 'Vazir', Tahoma, sans-serif;
    direction: ltr;
}

/* اسلایدر کاتالوگ */
.hw-catalog-slider {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* مخفی کردن اسکرول‌بار در فایرفاکس */
}

.hw-catalog-slider::-webkit-scrollbar {
    display: none; /* مخفی کردن اسکرول‌بار در کروم و سافاری */
}

.hw-catalog-track {
    display: flex;
    gap: 15px;
    padding: 10px;
}

/* کارت‌ها */
.hw-catalog-card {
    flex: 0 0 220px; /* اندازه کارت ثابت */
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.hw-catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* عکس داخل کارت */
.hw-catalog-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hw-catalog-card:hover .hw-catalog-img {
    transform: scale(1.05);
}

/* هدر و بدنه کارت */
.hw-catalog-header {
    background-color: #ffffff;
    color: #000;
    padding: 12px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hw-catalog-body {
    padding: 15px;
    background-color: #ffffff;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    text-align: center;
    flex-grow: 1;
}

.hw-catalog-btn {
    background-color: #a2a2a2;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
    width: 100%;
    max-width: 180px;
}

.hw-catalog-btn:hover {
    background-color: #FFD000;
    color: white;
}

.hw-catalog-title {
    color: #FFD000;
    margin-bottom: 25px;
    font-weight: bold;
    position: relative;
    padding-bottom: 8px;
}

.hw-catalog-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background-color: #FFD000;
}

body.lang-en .hw-catalog-title:after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .hw-catalog-card {
        flex: 0 0 160px;
        min-height: 280px; 
    }

    .hw-catalog-img {
        height: 150px; 
        transform: scale(1.1);
    }

    .hw-catalog-card:hover .hw-catalog-img {
        transform: scale(1.15); 
    }
}

@media (max-width: 576px) {
    .hw-catalog-card {
        flex: 0 0 130px;
        min-height: 260px;
    }

    .hw-catalog-img {
        height: 130px; 
        transform: scale(1.15); 
    }

    .hw-catalog-card:hover .hw-catalog-img {
        transform: scale(1.2); 
    }
}

/* Grid for Catalog Items */
.hw-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    padding: 15px 0;
}

.cards-img-top {
    max-height: 250px;
    width: 100%;
    object-fit: contain;
    border-bottom: 3px solid #ab8101;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .hw-catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
    }
    .hw-catalog-header {
        font-size: 0.9rem;
        min-height: 50px;
    }
    .hw-catalog-body {
        padding: 10px;
    }
    .cards-img-top {
        max-height: 180px;
    }
    .hw-catalog-card {
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .hw-catalog-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cards-img-top {
        max-height: 150px;
    }
    .hw-catalog-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    .hw-catalog-card {
        min-height: 200px;
    }
}/*chat*/
.chat-link {
  text-decoration: none;
  font-family: Vazir, Tahoma, sans-serif;
  display: inline-block;
}

.chat-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: #FFD300; /* زرد قناری */
  padding: 0.6em 1em;
  border-radius: 2em;
  width: fit-content;
  max-width: 90%;
  color: black;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(255, 211, 0, 0.7);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s;
}

.chat-container:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 211, 0, 1);
}

/* ✨ افکت برق‌دار (شاین) */
.chat-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  animation: shine 2s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.chat-icon {
  position: relative;
  width: 2.5em;
  height: 2.5em;
  background: white;
  color: #FFD300;
  font-size: 1.3em;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.chat-text {
  font-size: 0.9em;
  font-weight: bold;
  white-space: nowrap;
}


/* Footer */
.footer-section {
    background-color: #2d2d2d;
    color: #f0f0f0;
    padding-top: 40px;
}

.footer-section a {
    color: #ddd;
}

.footer-section a:hover {
    color: #ff8c00;
}

.footer-section h6 {
    font-size: 1rem;
    border-bottom: 2px solid #ff8c00;
    padding-bottom: 5px;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section i {
    font-size: 0.9rem;
}

.footer-top-bar::before {
    top: -15px;
    height: 15px;
    border-radius: 0 0 40% 40%;
}

@media (max-width: 767px) {
    .footer-section .row {
        text-align: center;
    }
    .footer-section .social-icons {
        justify-content: center;
    }
}

/* FAQ */
.faq-custom-section {
    padding: 30px 15px;
}

.faq-custom-title {
    font-size: 1.8rem;
}

.faq-custom-box-title {
    font-size: 1.2rem;
}

.faq-custom-item {
    border-radius: 8px;
    padding: 15px;
}

@media (max-width: 767px) {
    .faq-custom-title {
        font-size: 1.5rem;
    }
    .faq-custom-box-title {
        font-size: 1.1rem;
    }
}

