/*
Theme Name:  Mehr Avaran
Author: jahanito
Author URI: http://jahanito.ir
share: http://jahanito.ir
*/
:root {
  --mehr-primary: #009760;
  --secendry: #44306f;
	 --green-main: #ff6600;
  --green-dark: #e65c00;
}  
@font-face {
  font-family: "Vazir-Medium-FD";
  font-weight: 400;
  font-display: auto;
  src: url("./font/Vazir-Medium-FD.woff2") format("woff2"),
    url("./font/Vazir-Medium-FD.woff") format("woff"),
    url("./font/Vazir-Medium-FD.ttf") format("truetype"),
    url("./font/Vazir-Medium-FD.eot?#iefix") format("embedded-opentype");
}
a{
	outline:none !important
}
 
ul *{
    font-family: "Vazir-Medium-FD";
    text-align: right;
}
 
html *,
body * {
  font-family: "Vazir-Medium-FD";
  font-size: 16px;
  direction: rtl;
}
section h3,
section * {
  text-align: right;
}
.pallet-mobile{
	display:none !important;
}
	.pallet-descktop{
	display:block !important;
}

p {
  line-height: 2;
  text-align: justify;
}
section {
  padding: 20px;
}
 
header {
  position: relative;
  min-height: 250px;
}
.pallet-header-img ,.pallet-page-img{
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

@media (max-width: 760px) {
	.pallet-header-img ,.pallet-page-img{
		 top:110px;
		}

	}
.pallet-header-img
{
	  height: 600px;
}
.pallet-content{
	
}
.pallet-page-img{
	 height: 200px;
}
.imagePage h3{
	color:#fff;
	text-align:center
}
.pallet-menu {
  display: flex;
	padding-top:50px !important;
}
.pallet-menu img {
  display: inline-block;
  margin-left: 10px;
}
.navbar-pallet {
  background-color: #009760 !important;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  margin-top: 15px;
}
.navbar-pallet .nav-link,
.navbar-pallet .navbar-brand {
  color: white !important;
  transition: transform 0.3s;
}

.pallet-list{
	margin-right:30px;
	margin-bottom:10px
}
@media (min-width: 992px) {
	footer .logo{
		margin:50px auto 80px
	}  
 
.navbar-pallet .nav-link:hover {
  transform: scale(1.07);
  color: #fff !important;
  /* text-shadow: 0 0 8px #00ff99; */
  transition: transform 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}
}
.search-btn {
  background-color: transparent;
  color: #fff;
  border: none;
  
}
.hide {
  display: none;
}

.search-btn:hover {
  background-color: transparent;
}

.navbar-nav {
  margin-inline-end: 20px;
}

form[role="search"] {
  margin-inline-start: 20px;
}
.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 0.9rem !important;
  padding-left: 0.9rem !important;
}
.pallet-search,
.pallet-search:hover {
  color: #fff;
  padding-left: 10px;
}
 
header .pallet-item {
	 margin-top: 30px;
  color: #fff;
  min-height: 250px;
  text-align: center !important;
  line-height: 3;
padding-bottom:60px;
	padding-top:10px
 
}
header .pallet-item h3,header .pallet-item h1{
	margin-bottom:20px;
}
header .pallet-item p{
	margin:10px auto
}
header .pallet-item p{
  text-align: center;
}
.hexagon {
  width: 60px;
  aspect-ratio: cos(30deg);
  clip-path: polygon(-50% 50%, 50% 100%, 150% 50%, 50% 0);
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  cursor: pointer;
 
  transition: transform 0.3s;
}


.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-icons i {
  color: white; /* آیکن‌ها سفید */
  font-size: 1.5rem;
}
.pallet-service {
  background-color: #f0f5f5;
  min-height: 250px;
  }
.section-title {
  color: var(--mehr-primary) !important;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0 0 0;
  position: relative;
}
.section-title i {
  font-size:35px;
  margin-top: 2px;
}
.section-title:before {
    display: inline-block;
    margin: 0 20px 2px 15px;
    height: 2px;
    content: " ";
    text-shadow: none;
    background-color:  var(--mehr-primary);
    width: 140px;
}
.section-title:after {
    display: inline-block;
    margin: 0 15px 2px 20px;
    height: 2px;
    content: " ";
    text-shadow: none;
    background-color:var(--mehr-primary);
    width: 140px;
}
/* .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--mehr-primary);
  border-radius: 2px;
} */
.pallet-service * {
  text-align: center !important;
}

@media (min-width: 992px) {
	.pallet-service  .col-lg-2{
	width:20% !important;
}
}
.pallet-service .hexagon {
  position: relative;
  width: 220px;
  height: 220px; /* height = width * sqrt(3)/2 */
  background-color: white;
  display: flex;
  margin: 20px 0;
  justify-content: center;
  align-items: center;
  color: var(--mehr-primary);
  text-align: center !important;
  transition: transform 0.3s, color 0.3s;
  cursor: pointer;
  padding:10px
}
.pallet-service .hexagon a{
  color: var(--mehr-primary) !important;	
}
 .navbar-toggler{
  color:#fff !important;
  border:0px !important
 }
.pallet-service .hexagon:hover {
  color: white !important;
  background-color: var(--mehr-primary);
  transform: scale(1.05);
}
 .pallet-service .hexagon:hover a{
	color: white !important;
}
.pallet-service .hexagon:before,
.pallet-service .hexagon:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 75px solid transparent; /* width/2 */
  border-right: 75px solid transparent;
}

.pallet-service .hexagon:before {
  bottom: 100%;
  border-bottom: 43.3px solid white; /* height/2 */
}

.pallet-service .hexagon:after {
  top: 100%;
  border-top: 43.3px solid white;
}

.pallet-service .hexagon i {
  font-size: 54px;
  display: block;
  margin-bottom: 25px;
}

.pallet-primary,
.pallet-primary:hover {
  color: var(--mehr-primary);
}
.img-about img {
  width: 100%;
  height: 380px;
}
footer{
	margin-top:50px;
}
.pallet-about-us .img-about {
  text-align: center;
  margin-top: 20px;
}
.pallet-about-us ul{
	padding:0 40px !important;
}
.pallet {
  background: url("https://mehravaran-pallet.ir/wp-content/themes/mehravaran/img/pallet.jpg") no-repeat;
  background-color: #f3f4f8;
  min-height: 500px;
}
.pallet-10 {
  padding: 10px !important;
}
.pallet-box {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin: 70px auto;
  padding: 90px 20px 20px; /* بالا بیشتر برای جا دادن عکس */
  text-align: center;
  transition: all 0.3s ease;
  height:350px;
  text-align: justify;
}
.pallet-box p a{
	text-align:left
}
.pallet-box-category{
	 background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	margin-bottom:10px;
	padding:20px;
	border:1px solid #e9e8e8;
 
}
.pallet-box-category .img-fluid{
	border:1px solid #e9e8e8;
	border-radius: 50%;
	padding:10px
}
a{
	text-decoration:none !important;
}
.pallet-box-category a ,.continue,a:hover{
	color:var(--mehr-primary) !important
}
.pallet-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.pallet-box img {
  position: absolute;
  top: -60px; /* نصف بیرون از باکس */
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--mehr-primary);
  object-fit: cover;
  background: #fff;
  transition: transform 0.3s ease;
}

/* افکت هاور */
.product-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}
.pallet-box:hover img {
  transform: translateX(-50%) scale(1.05);
}

.pallet-box h4 {
  margin: 10px 0;
  text-align: center;
  color: #333;
}

.pallet-box p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.pallet-box a {
  display: inline-block;
  margin-top: 10px;
  color: var(--mehr-primary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.pallet-box a:hover {
  color: var(--mehr-primary);
  text-decoration: underline;
}
.pallet-box p {
  line-height: 1.6;
  margin-bottom: 10px;

   
}

/* آیکن شبکه‌های اجتماعی */
.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  color: var(--mehr-primary);
  font-size: 20px;
  transition: all 0.3s ease;
}
.pallet-quality-mehr {
  height: 400px !important;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
    padding: 0 15%;
}
h2{
	font-size:1.5rem !important
}

.product-features {
 
  padding: 60px 0;
}
.product-features .feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color:var(--mehr-primary);
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;  
	 margin-bottom: 20px
}

.product-features .feature i {
  font-size:50px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

/* افکت هاور */
.product-features .feature:hover {
  transform: translateY(-5px) scale(1.1);  
  color: var(--mehr-primary);
}

.product-features .feature:hover i {
  color: var(--mehr-primary);
  text-shadow: 0 2px 8px rgba(0,0,0,0.2); / 
}
.footer {
  background-color: #222;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: "Vazirmatn", sans-serif;
  direction: rtl;
  text-align: right;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-left h3 {
  margin-bottom: 10px;
  color: var(--mehr-primary);
}

.footer-left p {
  font-size: 14px;
  line-height: 1.5;
  color: #ccc;
}

.footer-center h4,
.footer-right h4 {
  margin-bottom: 10px;
  color: var(--mehr-primary);
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li {
  margin-bottom: 8px;
}

.footer-center ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-center ul li a:hover {
  color: var(--mehr-primary);
}

.footer-social a i {
   color: var(--mehr-primary);
  font-size: 32px;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
   color: var(--mehr-primary);
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  color: #aaa;
}
.logo{
  width: 150px;
   transition: transform 0.5s ease, color 0.3s ease;
}
.logo:hover {
   transform: rotate(360deg);
    transform: scale(1.1) rotate(360deg); 
  filter: brightness(1.2); 

}
 .top-search-box {
      position: absolute;
    left: 0;
}

 .top-search-box:after
{
 margin-top: -66px;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    border-bottom: 67px solid var(--mehr-primary);
    border-left: 20px solid transparent;
     margin-right: -20px;
   }
.top-search-box button {
  background:transparent;
  border: medium none;
  color: #fff;
  font-size: 15px;
  height: 66px;
  line-height:74px;
  outline: medium none;
  padding: 0;
  text-align: center;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  width: 66px;
}
 
.top-search-box button span.bi {
  position: relative;
  top: -2px;
}
.top-search-box .search-box {
  background: var(--mehr-primary) none repeat scroll 0 0;
  list-style: outside none none;
  margin: 0;
  opacity: 0;
  padding: 3px;
  position: absolute;
  left: 0;
  top: 140%;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  visibility: hidden;
  width: 280px;  border-radius: 10px;
  z-index: 999;
}
.top-search-box:hover .search-box {
  top: 100%;
  opacity: 1;
  visibility: visible;
}
.top-search-box .search-box li form {
  position: relative;
 
 
}
.top-search-box .search-box li form input {
  background: #fff none repeat scroll 0 0;
  border: 2px solid var(--mehr-primary);
  display: block;
  font-weight: 300;
  height: 45px;
  outline: medium none;
  padding-right: 10px;
  padding-left: 60px;
  width: 100%;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  border-radius: 10px;
}
.top-search-box .search-box li form button {
  background: #353535 none repeat scroll 0 0;
  border: 2px solid var(--mehr-primary);
  color: #fff;
  font-size: 13px;
  height: 45px;
  line-height: 50px;
  outline: medium none;
  padding: 0;
  position: absolute;
  left: 0;
  text-align: center;
  top: 0;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  width: 45px;
    border-radius: 10px;
}
.top-search-box .search-box li form input:focus {
  border: 2px solid  var(--mehr-primary);
}
.top-search-box .search-box li form input:focus + button, .top-search-box .search-box li form button:hover {
  background:  var(--mehr-primary) none repeat scroll 0 0;
  color: #fff;
  border: 2px solid var(--mehr-primary);
}
.pallet-box-category{
	padding:20px;
	line-height:2
}
 .pallet-box-category h3,.pallet-box-category h2{
	margin-bottom:15px
}
 
.accordion-button::after{
	margin-right:auto  !important;
	margin-left:0 !important
}
.accordion-item h2{
	margin-bottom:0 !important
}
.accordion-button:not(.collapsed){
	  background:transparent !important;

}
.faq-accordion .accordion-item{
  border:1.5px solid #ddd;
  border-radius:10px;
  margin-bottom:12px;
  background:transparent;
}

.faq-accordion .accordion-button{
  background:none;
   padding:10px;
 }

.faq-accordion .accordion-button:focus{
  box-shadow:none;
}

 
.faq-accordion .accordion-button::after{
  filter:none;
}

/* محتوا */
.faq-accordion .accordion-body{
  background:transparent;
  padding:10px ;
   border-top:1px solid #eee;
}
 
.pallet-box-category ul{
	line-height:2;
	 
}
.pallet-box-category p{
	padding:5px 15px
}
@media (max-width: 768px) {
	.imagePage h3{
		margin-top:50px;
	}
.navbar-collapse {
  background-color:rgba(0 ,151 ,96 ,.8) !important;
  border-radius: 5px !important;
 z-index: 99999;
} 
}
.pallet-center{
  display: flex;
  justify-content: center;
}

footer .logo{
	margin-bottom:20px;
}
 

.footer-center h4{
	margin-bottom:20px
}

 
/* دکمه چت شناور */
#chat-btn i{
	font-size:50px
}
#chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: var(--green-main);
  color: #fff;
  font-size: 3rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
   box-shadow: 0 0 15px rgba(255,102,0,0.6);
  z-index: 1050;
  animation: pulseGlow 2s infinite;
  transition: all 0.3s ease;
}
#chat-btn:hover {
  background-color: var(--green-dark);
  transform: scale(1.1);
}

/* افکت چشمک ملایم دکمه */
@keyframes pulseGlow {
 0% { box-shadow: 0 0 10px rgba(255,102,0,0.4); }
  50% { box-shadow: 0 0 25px rgba(255,102,0,0.9); }
  100% { box-shadow: 0 0 10px rgba(255,102,0,0.4); }
}

/* پاپ‌آپ */
.chat-popup {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 280px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  z-index: 1051;
  animation: popIn 0.4s ease forwards;
  overflow: hidden;
}

/* انیمیشن باز شدن */
@keyframes popIn {
  0% { transform: scale(0.7) translateY(30px); opacity: 0; }
  80% { transform: scale(1.05) translateY(-5px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* عنوان پاپ‌آپ */
.popup-title {
  text-align: center;
  font-weight: 600;
  padding: 10px;
  color: var(--green-main);
  background: #e8fff3;
  border-bottom: 1px solid #d6f5e5;
}
.inline{
	    display: inline-block;
}
.center{
	text-align:center
}

/* آیتم‌ها */
.chat-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.chat-item:last-child {
  border-bottom: none;
}
.chat-item:hover {
  background: #f5fff9;
}

.chat-item svg{
	 font-size: 2rem;
  margin-left: 12px;
  margin-right: 12px;
	width:40px;
	height:40px;
  transition: transform 0.2s;
}
.chat-item i {
  font-size: 2rem;
  margin-left: 12px;
  margin-right: 12px;
  transition: transform 0.2s;
}
.chat-item:hover i {
  transform: scale(1.15);
}
.chat-item span {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* بدون فاصله اضافی */
}
.navbar .dropdown-item {
  color: #fff;
	text-align:right !important
}
.footer-pallet i{
	color:var(--mehr-primary)
}
@media (min-width: 768px) {

.navbar .dropdown-menu {
  background-color: #00b080; /* سبز روشن‌تر */
}

/* رنگ متن زیرمنو */

.navbar .dropdown-item:hover {
  background-color: #007f55; /* سبز تیره روی هاور */
  color: #fff;
}
.dropdown-menu {
     top: 110% !important;
	left: -22px !important}
}
@media (max-width: 768px) {
	.navbar .dropdown-menu {
  background-color: #007f55;; /* سبز روشن‌تر */
}

	.pallet-descktop{
	display:none !important;
}
	.pallet-mobile{
	display:block !important;
}
	.navbar-pallet {
  background-color: transparent !important;
  width: 100px;
}
    .h3, h3 {
        font-size: 1.2rem !important;
    }
	.section-title:before,.section-title:after{
		width:25px !important;
	}
	.section-title i{
		font-size:1.75rem !important;
	}
	.navbar-toggler i{
  color:var(--mehr-primary) !important;
 }
	.pallet-menu {
		display:flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
		padding-top:10px !important
	}
	.pallet-menu .pallet-logo-link{
		        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
	}
	.navbar-nav{
		width:300px
	}
}


/*------------------------------------
   COMMENT STYLES
------------------------------------*/
.comments-area{
    margin-top:50px;
    font-family: Tahoma, sans-serif;
}

.comments-title{
    font-size:20px;
    border-bottom:2px solid #eee;
    padding-bottom:10px;
    margin-bottom:25px;
}

/* لیست نظرات */
.comment-list{
    list-style:none;
    padding:0;
}

.comment{
    background:#fff;
    border-radius:12px;
    padding:16px 18px;
    margin-bottom:15px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

/* هدر نظر */
.comment-author{
    font-weight:bold;
    color:#333;
}

.comment-meta{
    font-size:12px;
    color:#999;
    margin-top:4px;
}

/* متن نظر */
.comment-content{
    margin-top:12px;
    line-height:1.9;
    color:#555;
}

/* دکمه ریپلای */
.reply a{
    display:inline-block;
    margin-top:10px;
    padding:5px 15px;
    background:#f3f3f3;
    border-radius:8px;
    color:#333;
    text-decoration:none;
    transition:.2s;
}

.reply a:hover{
    background:#3498db;
    color:white;
}

/*------------------------------------
    FORM STYLE
------------------------------------*/
.comment-form-box{
    background:#f9f9f9;
    padding:25px;
    border-radius:14px;
    box-shadow:0 2px 12px rgba(0,0,0,.05);
}

.comment-form-box h3{
    margin-bottom:20px;
}

.comment-form input,
.comment-form textarea{
    width:100%;
    border:1px solid #ddd;
    padding:12px;
    border-radius:10px;
    margin-bottom:12px;
    font-size:14px;
}

.comment-form textarea{
    resize:none;
}

.comment-form input:focus,
.comment-form textarea:focus{
    outline:none;
    border-color:#3498db;
}

/* دکمه ارسال */
.form-submit input{
    background:#3498db;
    color:white;
    border:none;
    padding:14px 30px;
    border-radius:12px;
    font-size:15px;
    cursor:pointer;
    transition:.25s;
}

.form-submit input:hover{
    background:#217dbb;
}
