.category-product-div {
    padding: 5px !important;
}

/* ===================================================================
 * Custom Stylesheet
 * 03-19-2024
 * ------------------------------------------------------------------
 *
 * TOC:
 * # settings and variables
 *      ## colors
 * # plugins
 * # forms
 *      ## style placeholder text
 *      ## change autocomplete styles in Chrome
 * # buttons
 * # additional components
 *      ## additional typo styles
 *      ## skillbars
 *      ## alert box
 * # common and reusable styles
 *      ## item list
 *      ## slick slider
 * # site header
 *      ## header logo
 *      ## main navigation
 *      ## mobile menu toggle
 *      ## header contact button
 * # hero
 *      ## hero content
 *      ## hero video
 *      ## hero scroll
 *      ## animate intro content
 *      ## animations
 * # about
 *      ## about photo
 *      ## about process
 * # services
 * # portfolio
 *      ## portfolio list
 * # clients
 *      ## clients slider
 *      ## testimonials
 * # contact
 * # footer
 *      ## footer block
 *      ## footer list
 *      ## copyright
 *      ## go top
 *
 * ------------------------------------------------------------------ */



/* ===================================================================
 * # settings and variables
 *
 * ------------------------------------------------------------------- */

/* -------------------------------------------------------------------
 * ## colors
 * ------------------------------------------------------------------- */

.primary{
    color: var(--primary-color);
}
.primary-300{
    color: var(--primary-color-300);
}
.primary-700{
    color: var(--primary-color-700);
}
.primary-bg{
    background-color: var(--primary-color);
}
.primary-bg-50{
    background-color: var(--primary-color-50);
}

.secondary{
    color: var(--secondary-color);
}
.secondary-bg{
    background-color: var(--secondary-color);
}

/* -------------------------------------------------------------------
 * ## parallex
 * ------------------------------------------------------------------- */

  /* #home {
    background: url(../img/design/hero.webp) no-repeat center center fixed;
    display: table;
    height: 100%;
    position: relative;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  } */


/* -------------------------------------------------------------------
 * ## socials alternate for contact us  page
 * ------------------------------------------------------------------- */

.socials {
    margin-top: 30px;
}

.socials .footer-social ul li {
    display: inline-block;
    list-style: none;
}

.socials .footer-social ul li a {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    color: #666;
    font-size: 20px;
    text-align: center;
    -webkit-box-shadow: 0 2px 6px 0 rgba(51, 73, 94, 0.1);
    box-shadow: 0 2px 6px 0 rgba(51, 73, 94, 0.1);
}

.socials .footer-social ul li a i {
    margin: 0;
}

.socials .footer-social ul li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.socials .footer-social a i {
    margin-left: 4px;
}

/* -------------------------------------------------------------------
 * ## grid for seminar page
 * ------------------------------------------------------------------- */


.portfolio > a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    overflow: hidden;
  }

  .portfolio > a::after {
    content: "";
    background: linear-gradient(transparent,rgba(0, 0, 0, 0.61));
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: translateY(100%);
    transition-duration: .75s;
  }

  .portfolio > a:hover::after {
    transform: translateY(0%);
  }

  .portfolio > a > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 1s;
  }

  .portfolio > a:hover > img {
    transform: scale(1.05);
  }

/* -------------------------------------------------------------------
 * ## float whatsapp buttom
 * ------------------------------------------------------------------- */

.float {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 40px;
	right: 40px;
	background-color: #25d366;
	color: #FFF;
	border-radius: 50px;
	text-align: center;
	font-size: 40px;
	box-shadow: 2px 2px 3px #999;
	z-index: 100;

	animation: float-bounce 7s infinite 3s; /* کل سیکل 5 ثانیه */
}

.float:hover{
    color: #FFF;
}

.my-float {
	margin-top: 16px;
}

/* نسخه کوچکتر برای موبایل */
@media (max-width: 768px) {
	.float {
		width: 50px;
		height: 50px;
		bottom: 20px;
		right: 20px;
		font-size: 33px;
	}
	.my-float {
		margin-top: 10px;
	}
}

@keyframes float-bounce {
	0%, 10%, 20%, 30%, 40% {
		transform: translateY(0);
	}
	15% {
		transform: translateY(-20px);
	}
	25% {
		transform: translateY(-12px);
	}
	/* 40% تا 100% استراحت → حدود ۵ ثانیه سکون */
	40%, 100% {
		transform: translateY(0);
	}
}



/* -------------------------------------------------------------------
 * ## header cta button
 * ------------------------------------------------------------------- */

  .button-wiggle {
    -webkit-animation: wiggle 4s 2s infinite;
            animation: wiggle 4s 2s infinite;
  }

  @-webkit-keyframes wiggle {
    5%, 50% {
      transform: scale(1);
    }
    10% {
      transform: scale(0.9);
    }
    15% {
      transform: scale(1.15);
    }
    20% {
      transform: scale(1.15) rotate(-5deg);
    }
    25% {
      transform: scale(1.15) rotate(5deg);
    }
    30% {
      transform: scale(1.15) rotate(-3deg);
    }
    35% {
      transform: scale(1.15) rotate(2deg);
    }
    40% {
      transform: scale(1.15) rotate(0);
    }
  }

  @keyframes wiggle {
    5%, 50% {
      transform: scale(1);
    }
    10% {
      transform: scale(0.9);
    }
    15% {
      transform: scale(1.15);
    }
    20% {
      transform: scale(1.15) rotate(-5deg);
    }
    25% {
      transform: scale(1.15) rotate(5deg);
    }
    30% {
      transform: scale(1.15) rotate(-3deg);
    }
    35% {
      transform: scale(1.15) rotate(2deg);
    }
    40% {
      transform: scale(1.15) rotate(0);
    }
  }
  .button-pulse {
    -webkit-animation: pulse 2s infinite 3s cubic-bezier(0.25, 0, 0, 1);
            animation: pulse 2s infinite 3s cubic-bezier(0.25, 0, 0, 1);
    box-shadow: 0 0 0 0 white;
  }

  @-webkit-keyframes pulse {
    to {
      box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
    }
  }

  @keyframes pulse {
    to {
      box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
    }
  }


/* -------------------------------------------------------------------
 * ## footer click me button
 * ------------------------------------------------------------------- */

  .rainbowbot {
    background: transparent;
    color: #fff;
    border: 0px solid #fff;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: 0.2s ease-in-out;
  }

  .button-rainbow button {
    animation: rainbow 3s infinite, heartbeat 0.6s infinite;
    background: #c0392b;
  }
  .button-rainbow button .rainbow {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: -40px;
    transition: 0.5s ease;
    opacity: 0;
    transform: rotate(0);
  }
  .button-rainbow button:hover .rainbow {
    opacity: 1;
    animation: rotate-nonstop 0.2s infinite;
  }
  .button-rainbow button + .name {
    color: #444;
  }

  @keyframes rainbow {
    0% {
      background: var(--primary-color);
    }
    10% {
      background: var(--secondary-color);
    }
    20% {
      background: var(--primary-color);
    }
    30% {
      background: var(--secondary-color);
    }
    40% {
      background: var(--primary-color);
    }
    50% {
      background: var(--secondary-color);
    }
    60% {
      background: var(--primary-color);
    }
    70% {
      background: var(--secondary-color);
    }
    80% {
      background: var(--primary-color);
    }
    90% {
        background: var(--secondary-color);
    }
  }

  @keyframes heartbeat {
    50% {
      transform: scale(1.1);
    }
  }


/* -------------------------------------------------------------------
 * ## carousel all items same hight
 * ------------------------------------------------------------------- */

                /*(1) owl-stage box*/
            /* .owl-carousel .owl-stage { display: flex; } */
            /*(2) the direct div of each element in the owl carousel*/
            /* .equalheight { height: 100%; } */


/* -------------------------------------------------------------------
 * ## testemonials
 * ------------------------------------------------------------------- */

html body main .slider {
    position: relative;
}

html body main .slider .buttons {
    z-index: 1;
    right: 50%;
    top: 250px;
    width: 80px;
    height: 40px;
    position: absolute;
    border-radius: 50px;
    transform: translateX(50%);
    background-color: #FFFFFF;
  }
  html body main .slider .buttons .previous,
  html body main .slider .buttons .next {
    width: 50%;
    height: 100%;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
  }
  html body main .slider .buttons .previous {
    left: 0;
    background-image: url("../img/pages/home/testemonials/icon-prev.svg");
  }
  html body main .slider .buttons .previous:hover {
    transform: scale(1.25);
  }
  html body main .slider .buttons .next {
    right: 0;
    background-image: url("../img/pages/home/testemonials/icon-next.svg");
  }
  html body main .slider .buttons .next:hover {
    transform: scale(1.25);
  }
  html body main .slider .slide {
    display: flex;
    margin: 0 auto;
    /* text-align: center; */
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
  }
  html body main .slider .slide .testimonial {
    padding: 32px 51px;
    background-size: 60px;
    background-position: top;
    background-repeat: no-repeat;
    background-image: url("../img/pages/home/testemonials/pattern-quotes.svg");
  }
  html body main .slider .slide .testimonial .testimonial-blockquote {
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 36px;
  }
  html body main .slider .slide .testimonial .author {
    font-size: 15px;
    font-weight: 700;
  }
  html body main .slider .slide .testimonial .author span {
    display: block;
    color: #babacf;
    font-weight: 500;
  }
  html body main .slider .slide .slider-img {
    width: 100%;
    padding: 30px;
    display: flex;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/pages/home/testemonials/pattern-bg.svg");
  }
  html body main .slider .slide .slider-img img {
    width: 240px;
    display: block;
    border-radius: 10px;
    box-shadow: 0px 16px 40px 0px rgba(135, 105, 210, 0.4);
  }
  html body main .slider .slide .active {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition-delay: 0.4s;
  }

  @media screen and (min-width: 600px) {
    html body main .slider .buttons {
      top: 250px;
    }
  }
  @media screen and (min-width: 900px) {
    html body main .slider .buttons {
      right: 64%;
      top: 284px;
    }
    html body main .slider .slide {
      position: relative;
      /* text-align: left; */
      display: flex;
      flex-direction: row;
    }
    html body main .slider .slide .testimonial {
      padding: 32px 0 0 0;
      background-size: 80px;
      background-position: 81% -7%;
      transform: translateX(-100px);
      width: 50%;
    }
    html body main .slider .slide .testimonial .testimonial-blockquote {
      font-size: 24px;
      line-height: 30px;
    }
    html body main .slider .slide .testimonial .author span {
      display: contents;
    }
    html body main .slider .slide .slider-img {
      padding: 55px;
      width: 50%;
    }
    html body main .slider .slide .slider-img img {
      width: 250px;
    }
  }


/* -------------------------------------------------------------------
 * ## services grid
 * ------------------------------------------------------------------- */


.grid-wrapper{
    --auto-grid-min-size: 16rem;
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
    margin: 0;
    padding: 0;
}
.grid-wrapper li{
    /* background-color: #ef4444; */
    color: #ffffff;
    list-style-type: none;
}

/* -------------------------------------------------------------------
 * ## service boxes
 * ------------------------------------------------------------------- */


.es-box {
    padding: 72px 32px 40px;
    border-bottom: 8px solid transparent;
      border-bottom-color: var(--primary-color);
    overflow: hidden;
    background: #fafafc;
    transition: all .3s;
    position: relative;
  }

  .es-box:hover {
    background: linear-gradient(214.45deg,rgba(39,160,165,0) 50.02%,rgba(39,160,165,.1) 103.27%),#fff;
    box-shadow: 0 8px 24px rgba(39,89,229,.08);
  }

  .es-box img {
    width: 35%;
    float: left;
  }
  .es-box a.esb-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .es-box h3 {
    color: #1c1c28;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 500;
    position: relative;
    transition: all .3s;
  }

  .es-box p {
    color: #8e90a6;
    opacity: .8;
    margin-top: 16px;
    min-height: 72px;
  }
  .es-box::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    background-image: url(../img/pages/home/services/arrow_outward.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    left: 80px;
    bottom: 40px;
    transition: all .5s;
  }

  .es-box:hover::after {
    width: 40px;
    height: 40px;
    left: 40px;
    opacity: 1;
  }

  .es-box ul {
    margin-top: 80px;
  }

  .es-box ul li {
    margin-bottom: 16px;
  }

  .es-box ul a, .es-box ul li h4 {
    font-size: 20px;
    line-height: 1.25;
    color: #1c1c28 !important;
    font-weight: 400;
  }

  .es-box ul a {
    z-index: 2;
    position: relative;
  }

  .es-box ul a:hover {
    padding-right: 20px;
  }

  .es-box ul a::after {
    content: "";
    position: absolute;
    right: 0;
    margin-top: 10px;
    width: 0;
    height: 12px;
    background: url(../img/pages/home/services/arrow-red.svg) no-repeat center/100%;
    transition: all .3s;
  }

  .es-box ul a:hover::after {
    width: 14px;
  }

/* -------------------------------------------------------------------
 * ## service Page boxes
 * ------------------------------------------------------------------- */


.es-box {
    padding: 72px 32px 40px;
    border-bottom: 8px solid transparent;
      border-bottom-color: var(--primary-color);
    overflow: hidden;
    background: #fafafc;
    transition: all .3s;
    position: relative;
  }

  .es-box:hover {
    background: linear-gradient(214.45deg,rgba(39,160,165,0) 50.02%,rgba(39,160,165,.1) 103.27%),#fff;
    box-shadow: 0 8px 24px rgba(39,89,229,.08);
  }

  .es-box::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    background-image: url(../img/pages/home/services/arrow_outward.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    left: 80px;
    bottom: 40px;
    transition: all .5s;
  }

  .es-box:hover::after {
    width: 40px;
    height: 40px;
    left: 40px;
    opacity: 1;
  }


/* -------------------------------------------------------------------
 * ## freewall
 * ------------------------------------------------------------------- */

/* Title */
.brick h3 {
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 10px;
	background: var(--primary-color);
	color: #ffffff;
	text-align: right;
	text-transform: uppercase;
	font-weight: 800;
	font-size: 1em;
	-webkit-transition: -webkit-transform 0.2s, color 0.2s;
	transition: transform 0.2s, color 0.2s;
}


/* Hover effects */
.brick:hover h3 {
	color: #fff;
	-webkit-transform: translate3d(0,-30px,0);
	transform: translate3d(0,-30px,0);
}

.brick img{
    margin: 0;
    display: block;
    object-fit: cover;
    height: 100%;
}

/* -------------------------------------------------------------------
 * ## Heading Underlines
 * ------------------------------------------------------------------- */

 .services-title{
    position: relative;
    /* position: relative;
    display: table; */
    font-family: kalamehblack;
    font-size: calc(1em + 2vw);

  }

  .services-title::before {
    content: "";
    width: calc(100% + 20px);
    position: absolute;
    bottom: 17%;
    left: -10px;
    height: 0.25em;
    background-color: var(--primary-color);
    z-index: -1;
  }

  /* main > *:not(:last-child) {
    margin-bottom: 15px;
  } */

/* -------------------------------------------------------------------
 * ## Blog Fixes
 * ------------------------------------------------------------------- */

.collapsible-item ul li{
    display: block;
}

.collapsible-item ul{
    margin-bottom: 0;
}

.content-desc, .description-product{
    h2{
        font-size: 1.5rem;
    }
    h3{
        font-size: 1.3rem;
    }
    p{
        font-size: 0.9rem;
    }
}

/* -------------------------------------------------------------------
 * ## somethin
 * ------------------------------------------------------------------- */
