* {
    font-variant-numeric: normal;
    
}

.style-options {
    cursor: auto !important;
    width: 200px;
    height: 100%;
    position: fixed;
    left: -200px;
    color: #fff;
    top: 0;
    background-color: #24272a;
    z-index: 1000;
	direction: ltr;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.style-options:before {
    position: relative;
    display: block;
    width: 100%;
    top: 0;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    padding: 14px 0;
    background: #1d1f22;
}

.style-options.active {
    left: 0;
}

.toggle-btn {
    position: absolute;
    top: 25%;
    right: -40px;
    height: 40px;
    width: 40px;
    text-align: center;
    background-color: #24272a;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

.toggle-btn span {
    margin: 0;
    margin: 0 auto;
}

.toggle-btn span svg {
    margin-top: 6px;
    -webkit-animation-name: settings;
    animation-name: settings;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

.toggle-btn span svg g [fill]{
    fill: #fff;
}

.style-options .style-menu {
    text-align: center;
    padding: 0;
}

.style-options .style-menu h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.style-options .style-menu ul {
	margin: 0;
    background: rgba(0, 0, 0, .2);
}

.style-options .style-menu h4 {
    padding: 0 20px;
}

.style-options .style-menu ul li {
    display: inline-block;
    padding: 5px 0;
    width: 48%;
    line-height: 34px;
    font-size: 13px;
}

.style-options .style-menu ul li a {
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer !important;
}

.style-options .style-menu ul li a:hover {
    color: #8e8e8e;
}

.style-options .style-menu ul li a svg g [fill] {
    fill: #fff;
}

.style-options .style-menu ul li svg {
    margin-left: 5px;
}

.style-options .style-menu .style-color ul {
    margin-bottom: 15px;
    background: #1d1f22;
    padding: 15px 15px;
}

.style-options .style-menu .style-color ul li {
    display: inline-block;
    width: auto;
    line-height: 0;
}

.style-options .style-menu .style-color ul li a {
    width: 40px;
    height: 40px;
	-webkit-border-radius: 50%;
    border-radius: 50%;
    display: inline-block;
}

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

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

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

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



/* حالت عادی آیتم‌ها */
.portfolio-carousel .owl-item .item {
  opacity: 0.6;
  transform: scale(0.92);
  transition: all .3s ease;
}

/* آیتم وسطی (center) بزرگ‌تر و واضح‌تر */
.portfolio-carousel .owl-item.center .item {
  opacity: 1;
  transform: scale(1.08);
}

/* تنظیمات عکس و متن */
.portfolio-carousel figure {
  position: relative;
  margin: 0;
  text-align: center;
}
.portfolio-carousel figure img {
  width: 100%;
  display: block;
  border-radius: 12px;
}
.portfolio-carousel h3 {
  margin-top: 12px;
  font-size: 1.05rem;
}

/* کل کارت کلیک‌پذیر برای popup */
.portfolio-carousel a.image-link {
  position: absolute;
  inset: 0;
  display: block;
}
.item figure {
  position: relative;
}

.item figure a.image-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}



.btn-mail {
  color: #fff; /* متن سفید */
  background-color: #00AEEF; /* رنگ پس‌زمینه همون آبی */
  border-color: #0095cc; /* یه کم تیره‌تر برای بوردر */
}

.btn-mail:hover {
  color: #fff;
  background-color: #0095cc; /* موقع هاور */
  border-color: #007ea8;
}

.btn-mail:focus, .btn-mail:active {
  color: #fff;
  background-color: #007ea8; /* وقتی کلیک میشه */
  border-color: #006d91;
  box-shadow: 0 0 0 0.25rem rgba(0, 174, 239, 0.4);
}


  #chatbot-container {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 350px;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

#chatbot-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #103575;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

#chatbot-toggle:hover {
  background-color: #1f5bd8;
  transform: scale(1.1);
}

  /* پنجره چت‌بات */
#chatbot-container-fa {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 360px;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: none; /* اول مخفی */
  animation: fadeIn 0.3s ease-in-out;
}

/* دکمه باز/بستن */
#chatbot-toggle-fa {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #103575, #1f5bd8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#chatbot-toggle-fa:hover {
  transform: scale(1.15) rotate(10deg);
}

/* انیمیشن برای ظاهر شدن */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

