/**
* Template Name: Company
* Template URL: https://bootstrapmade.com/company-free-html-bootstrap-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/

@font-face {
    font-family: "vazir";
    src: url("../fonts/vazir.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "iransans";
    src: url("../fonts/iransans.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "bkoodak";
    src: url("../fonts/bkoodak.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "nas";
    src: url("../fonts/nas.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    --site-font: "vazir";
    --heading-site-font: "vazir";
    --nav-site-font: "vazir";

    --default-font: var(--site-font), system-ui, sans-serif;
    --heading-font: var(--heading-site-font), system-ui, sans-serif;
    --nav-font: var(--nav-site-font), system-ui, sans-serif;
}
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #111111; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1bbd36; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #444444;  /* The default color of the main navmenu links */
  --nav-hover-color: #1bbd36; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1bbd36; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f7f7f7;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #1bbd36;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #2ae149;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);

  direction: rtl;
}


.header .logo {
  line-height: 1;
  text-decoration: none;
}

.header .logo img {
  max-height: 36px;
  width: auto;
  margin-left: 8px;
  margin-right: 0;
}

.header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 26px;
  font-weight: 700;
}


.header .header-social-links {
  padding: 0 15px 0 0;

  display: flex;
  align-items: center;
  gap: 8px;
}

.header .header-social-links a {
  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 40%
  );

  width: 32px;
  height: 32px;

  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}


/* Bootstrap Icons */

.header .header-social-links a i {
  font-size: 16px;
  line-height: 1;

  width: 18px;
  height: 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* SVG Icons */

.header .header-social-links a svg {
  width: 18px;
  height: 18px;

  max-width: 18px;
  max-height: 18px;

  display: block;

  object-fit: contain;

  transition:
    transform 0.3s ease,
    fill 0.3s ease;
}


/* Hover */

.header .header-social-links a:hover {
  color: var(--accent-color);

  background-color: color-mix(
    in srgb,
    var(--accent-color),
    transparent 90%
  );

  transform: translateY(-2px);
}

.header .header-social-links a:hover svg {
  transform: scale(1.05);
}

@media (max-width: 1200px) {

  .header .logo {
    order: 1;
  }

  .header .logo h1 {
    font-size: 24px;
  }

  .header .header-social-links {
    order: 2;

    padding: 0 10px 0 0;
  }

  .header .navmenu {
    order: 3;
  }

}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

@media (min-width: 1200px) {

  .navmenu {
    padding: 0;
  }


  /* Main UL */

  .navmenu ul {
    margin: 0;
    padding: 0;

    display: flex;

    list-style: none;

    align-items: center;
  }


  .navmenu li {
    position: relative;
  }


  /* Main Links */

  .navmenu a,
  .navmenu a:focus {

    color: var(--nav-color);

    padding: 18px 15px;

    font-size: 13px;

    font-family: var(--nav-font);

    font-weight: 600;

    display: flex;

    align-items: center;

    justify-content: space-between;

    white-space: nowrap;

    text-decoration: none;

    transition: 0.3s;
  }


  /* Dropdown Arrow */

  .navmenu a i,
  .navmenu a:focus i {

    font-size: 12px;

    line-height: 0;

    margin-right: 5px;
    margin-left: 0;

    transition: 0.3s;
  }


  /* Last Menu */

  .navmenu li:last-child a {
    padding-left: 0;
    padding-right: 15px;
  }


  /* Hover / Active */

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {

    color: var(--nav-hover-color);
  }


  .navmenu .dropdown ul {

    margin: 0;
    padding: 10px 0;

    background: var(--nav-dropdown-background-color);

    display: block;

    position: absolute;

    visibility: hidden;

    right: 14px;
    left: auto;

    top: 130%;

    opacity: 0;

    transition: 0.3s;

    border-radius: 4px;

    z-index: 99;

    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  }


  .navmenu .dropdown ul li {

    min-width: 200px;
  }


  .navmenu .dropdown ul a {

    padding: 10px 20px;

    font-size: 15px;

    text-transform: none;

    color: var(--nav-dropdown-color);
  }


  .navmenu .dropdown ul a i {

    font-size: 12px;
  }


  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {

    color: var(--nav-dropdown-hover-color);
  }


  /* Show Dropdown */

  .navmenu .dropdown:hover > ul {

    opacity: 1;

    top: 100%;

    visibility: visible;
  }


  .navmenu .dropdown .dropdown ul {

    top: 0;

    right: 100%;

    left: auto;

    visibility: hidden;
  }


  .navmenu .dropdown .dropdown:hover > ul {

    opacity: 1;

    top: 0;

    right: 100%;

    left: auto;

    visibility: visible;
  }

}


@media (max-width: 1199px) {

  .mobile-nav-toggle {

    color: var(--nav-color);

    font-size: 28px;

    line-height: 0;

    margin-right: 10px;
    margin-left: 0;

    cursor: pointer;

    transition: color 0.3s;
  }


  .navmenu {

    padding: 0;

    z-index: 9997;
  }


  /* Mobile Menu */

  .navmenu ul {

    display: none;

    list-style: none;

    position: absolute;

    inset: 60px 20px 20px 20px;

    padding: 10px 0;

    margin: 0;

    border-radius: 6px;

    background-color: var(--nav-mobile-background-color);

    overflow-y: auto;

    transition: 0.3s;

    z-index: 9998;

    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  }


  /* Mobile Links */

  .navmenu a,
  .navmenu a:focus {

    color: var(--nav-dropdown-color);

    padding: 10px 20px;

    font-family: var(--nav-font);

    font-size: 17px;

    font-weight: 500;

    display: flex;

    align-items: center;

    justify-content: space-between;

    white-space: nowrap;

    text-decoration: none;

    transition: 0.3s;
  }


  /* Mobile Dropdown Icon */

  .navmenu a i,
  .navmenu a:focus i {

    font-size: 12px;

    line-height: 0;

    margin-right: 5px;
    margin-left: 0;

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    transition: 0.3s;

    background-color: color-mix(
      in srgb,
      var(--accent-color),
      transparent 90%
    );
  }


  .navmenu a i:hover,
  .navmenu a:focus i:hover {

    background-color: var(--accent-color);

    color: var(--contrast-color);
  }


  /* Hover */

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {

    color: var(--nav-dropdown-hover-color);
  }


  /* Active Dropdown */

  .navmenu .active i,
  .navmenu .active:focus i {

    background-color: var(--accent-color);

    color: var(--contrast-color);

    transform: rotate(180deg);
  }


  .navmenu .dropdown ul {

    position: static;

    display: none;

    z-index: 99;

    padding: 10px 0;

    margin: 10px 20px;

    background-color: var(--nav-dropdown-background-color);

    border: 1px solid color-mix(
      in srgb,
      var(--default-color),
      transparent 90%
    );

    box-shadow: none;

    transition: all 0.5s ease-in-out;
  }


  .navmenu .dropdown ul ul {

    background-color: rgba(33, 37, 41, 0.1);
  }


  .navmenu .dropdown > .dropdown-active {

    display: block;

    background-color: rgba(33, 37, 41, 0.03);
  }


  .mobile-nav-active {

    overflow: hidden;
  }


  .mobile-nav-active .mobile-nav-toggle {

    color: #fff;

    position: absolute;

    font-size: 32px;

    top: 15px;

    right: 15px;

    margin-right: 0;

    z-index: 9999;
  }


  .mobile-nav-active .navmenu {

    position: fixed;

    overflow: hidden;

    inset: 0;

    background: rgba(33, 37, 41, 0.8);

    transition: 0.3s;
  }


  .mobile-nav-active .navmenu > ul {

    display: block;
  }

}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
  color: var(--default-color);
  background-color: var(--background-color);

  font-size: 14px;

  position: relative;

  direction: rtl;
  text-align: right;
}


/*--------------------------------------------------------------
# Footer Top
--------------------------------------------------------------*/

.footer .footer-top {
  padding-top: 45px;
  padding-bottom: 25px;

  border-top: 1px solid color-mix(
    in srgb,
    var(--default-color),
    transparent 90%
  );
}


/*--------------------------------------------------------------
# Footer About
--------------------------------------------------------------*/

.footer .footer-about .logo {
  line-height: 1;

  margin-bottom: 22px;

  display: inline-flex;
  align-items: center;

  text-decoration: none;
}

.footer .footer-about .logo img {
  max-height: 40px;

  margin-left: 6px;
  margin-right: 0;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;

  letter-spacing: 1px;

  font-family: var(--heading-font);

  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;

  font-family: var(--heading-font);

  line-height: 1.9;

  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Footer Contact
--------------------------------------------------------------*/

.footer .footer-contact {
  text-align: right;

  margin-top: 18px;
}

.footer .footer-contact p {
  margin-bottom: 7px;

  line-height: 1.8;
}

.footer .footer-contact strong {
  font-weight: 700;

  color: var(--heading-color);
}


/*--------------------------------------------------------------
# Footer Social Networks
--------------------------------------------------------------*/

.footer .footer-socials {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 20px;

  direction: rtl;
}


/*--------------------------------------------------------------
# Social Circle
--------------------------------------------------------------*/

.footer .footer-social-link {
  width: 42px;
  height: 42px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  position: relative;

  background: linear-gradient(
    145deg,
    #ffffff,
    #eeeeee
  );

  border: 1px solid rgba(255, 255, 255, 0.55);

  border-radius: 50%;

  text-decoration: none;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}


/*--------------------------------------------------------------
# Bootstrap Icons
--------------------------------------------------------------*/

.footer .footer-social-link i {
  font-size: 19px;

  line-height: 1;

  display: inline-flex;

  align-items: center;
  justify-content: center;
}


/*--------------------------------------------------------------
# Custom SVG Social Icons
--------------------------------------------------------------*/

.footer .footer-social-link svg {
  width: 21px;
  height: 21px;

  max-width: 21px;
  max-height: 21px;

  display: block;

  object-fit: contain;
}


/*--------------------------------------------------------------
# Social Hover
--------------------------------------------------------------*/

.footer .footer-social-link:hover {
  background: #ffffff;

  transform: translateY(-3px) scale(1.04);

  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.24),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}


/*--------------------------------------------------------------
# Footer Headings
--------------------------------------------------------------*/

.footer h4 {
  font-size: 16px;

  font-weight: 700;

  position: relative;

  padding-bottom: 11px;

  margin-top: 0;
  margin-bottom: 18px;

  text-align: right;

  color: var(--heading-color);
}


/* خط زیر عنوان */

.footer h4::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 0;

  width: 34px;
  height: 2px;

  background-color: var(--accent-color);

  border-radius: 2px;
}


/*--------------------------------------------------------------
# Footer Links
--------------------------------------------------------------*/

.footer .footer-links {
  margin-bottom: 25px;
}

.footer .footer-links ul {
  list-style: none;

  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-left: 2px;
  padding-right: 0;

  font-size: 12px;

  line-height: 0;
}

.footer .footer-links ul li {
  padding: 8px 0;

  display: flex;

  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 30%
  );

  display: inline-block;

  line-height: 1.6;

  text-decoration: none;

  transition:
    color 0.3s ease,
    padding-right 0.3s ease;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);

  padding-right: 4px;
}


/*--------------------------------------------------------------
# Newsletter
--------------------------------------------------------------*/

.footer .footer-newsletter {
  text-align: right;
}

.footer .footer-newsletter p {
  line-height: 1.9;

  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Newsletter Form
--------------------------------------------------------------*/

.footer .footer-newsletter .newsletter-form {
  margin-top: 25px;
  margin-bottom: 10px;

  padding: 5px 7px;

  min-height: 46px;

  position: relative;

  border-radius: 6px;

  border: 1px solid color-mix(
    in srgb,
    var(--default-color),
    transparent 80%
  );

  display: flex;

  align-items: center;

  background-color: var(--surface-color);

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;

  direction: rtl;
}


/* Focus */

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);

  box-shadow:
    0 0 0 3px color-mix(
      in srgb,
      var(--accent-color),
      transparent 85%
    );
}


/*--------------------------------------------------------------
# Newsletter Email
--------------------------------------------------------------*/

.footer .footer-newsletter .newsletter-form input[type="email"] {
  border: 0;

  padding: 5px 7px;

  width: 100%;

  min-width: 0;

  height: 34px;

  background-color: transparent;

  color: var(--default-color);

  direction: rtl;

  text-align: right;

  font-family: inherit;
}

.footer .footer-newsletter .newsletter-form input[type="email"]::placeholder {
  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 45%
  );
}

.footer .footer-newsletter .newsletter-form input[type="email"]:focus {
  outline: none;

  box-shadow: none;
}


/*--------------------------------------------------------------
# Newsletter Submit
--------------------------------------------------------------*/

.footer .footer-newsletter .newsletter-form input[type="submit"] {
  border: 0;

  min-width: 78px;

  height: 36px;

  padding: 0 16px;

  margin: 0;

  background: var(--accent-color);

  color: var(--contrast-color);

  font-size: 14px;

  font-family: inherit;

  font-weight: 500;

  border-radius: 5px;

  transition:
    background-color 0.3s ease,
    transform 0.2s ease;

  cursor: pointer;

  flex-shrink: 0;
}

.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
  background: color-mix(
    in srgb,
    var(--accent-color),
    black 10%
  );

  transform: translateY(-1px);
}


/*--------------------------------------------------------------
# Copyright
--------------------------------------------------------------*/

.footer .copyright {
  margin-top: 10px;

  padding-top: 20px;
  padding-bottom: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  text-align: center;
}

.footer .copyright p {
  margin-bottom: 8px;

  line-height: 1.8;
}

.footer .copyright .sitename {
  color: var(--heading-color);
}

.footer .credits {
  font-size: 13px;

  line-height: 1.8;

  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 25%
  );
}

.footer .credits strong {
  color: var(--heading-color);

  font-weight: 600;
}


/*--------------------------------------------------------------
# Footer Contact Links
--------------------------------------------------------------*/

.footer .footer-contact a {
  color: inherit;

  text-decoration: none;

  transition: color 0.3s ease;
}

.footer .footer-contact a:hover {
  color: var(--accent-color);
}


/*--------------------------------------------------------------
# Footer Email
--------------------------------------------------------------*/

.footer .footer-contact .email {
  direction: ltr;

  unicode-bidi: embed;

  display: inline-block;
}


/*--------------------------------------------------------------
# Scroll Top
--------------------------------------------------------------*/

#scroll-top {
  width: 36px;
  height: 36px;

  border-radius: 5px;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

#scroll-top:hover {
  transform: translateY(-3px);
}


/*--------------------------------------------------------------
# Footer Responsive
--------------------------------------------------------------*/

@media (max-width: 991px) {

  .footer .footer-top {
    padding-top: 40px;
  }

  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-newsletter {
    margin-bottom: 25px;
  }

}


@media (max-width: 767px) {

  .footer {
    text-align: right;
  }

  .footer .footer-top {
    padding-top: 35px;
    padding-bottom: 15px;
  }

  .footer .footer-about .logo span {
    font-size: 23px;
  }

  .footer .footer-socials {
    margin-top: 18px;

    gap: 9px;
  }

  .footer .footer-social-link {
    width: 40px;
    height: 40px;
  }

  .footer .footer-social-link i {
    font-size: 18px;
  }

  .footer .footer-social-link svg {
    width: 20px;
    height: 20px;
  }

  .footer .footer-newsletter .newsletter-form {
    margin-top: 20px;
  }

  .footer .copyright {
    padding-top: 18px;
    padding-bottom: 18px;
  }

}


/*--------------------------------------------------------------
# Small Mobile
--------------------------------------------------------------*/

@media (max-width: 480px) {

  .footer .footer-social-link {
    width: 38px;
    height: 38px;
  }

  .footer .footer-social-link i {
    font-size: 17px;
  }

  .footer .footer-social-link svg {
    width: 19px;
    height: 19px;
  }

  .footer .footer-newsletter .newsletter-form input[type="submit"] {
    min-width: 70px;

    padding: 0 12px;
  }

}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
  padding-right: 10px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: calc(100vh - 75px);
  padding: 0;
  margin: 0;
  position: relative;
}

@media (max-height: 500px),
(max-width: 1200px) {
  .hero .carousel {
    min-height: calc(100vh - 48px);
  }
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}


/*--------------------------------------------------------------
# Hero Content Container
--------------------------------------------------------------*/

.hero .container {
  background: color-mix(in srgb, var(--surface-color), transparent 35%);
  position: relative;
  text-align: center;

  padding: 30px 40px;

  margin-bottom: 50px;

  border-top: 4px solid var(--accent-color);

  /* گرد کردن گوشه‌های کانتینر */
  border-radius: 18px;

  /* ایجاد عمق و ظاهر مدرن‌تر */
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);

  /* جلوگیری از بیرون‌زدگی محتوا از گوشه‌های گرد */
  overflow: hidden;

  z-index: 3;
}


/*--------------------------------------------------------------
# Hero Container - Tablet
--------------------------------------------------------------*/

@media (max-width: 1200px) {
  .hero .container {
    margin-left: 30px;
    margin-right: 30px;
  }
}


/*--------------------------------------------------------------
# Hero Container - Mobile
--------------------------------------------------------------*/

@media (max-width: 576px) {
  .hero .container {
    margin-left: 15px;
    margin-right: 15px;

    padding: 25px 20px;

    margin-bottom: 30px;

    border-radius: 14px;
  }
}


/*--------------------------------------------------------------
# Hero Title
--------------------------------------------------------------*/

.hero h2 {
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 26px;
  }
}


/*--------------------------------------------------------------
# Hero Button
--------------------------------------------------------------*/

.hero .btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;

  display: inline-block;

  padding: 10px 32px;

  transition: 0.4s;

  margin: 10px;

  /* گوشه‌های گرد دکمه */
  border-radius: 10px;

  color: var(--contrast-color);

  border: 2px solid var(--accent-color);
}


/*--------------------------------------------------------------
# Hero Button Hover
--------------------------------------------------------------*/

.hero .btn-get-started:hover {
  background: var(--accent-color);
  color: var(--contrast-color);

  /* کمی بزرگ شدن دکمه هنگام Hover */
  transform: translateY(-2px);

  box-shadow: 0 6px 18px color-mix(
    in srgb,
    var(--accent-color),
    transparent 65%
  );
}


/*--------------------------------------------------------------
# Hero Button - Mobile
--------------------------------------------------------------*/

@media (max-width: 576px) {
  .hero .btn-get-started {
    font-size: 14px;
    padding: 9px 25px;
    border-radius: 9px;
  }
}


/*--------------------------------------------------------------
# Carousel Previous Button
--------------------------------------------------------------*/

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}


/*--------------------------------------------------------------
# Carousel Next Button
--------------------------------------------------------------*/

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}


/*--------------------------------------------------------------
# Carousel Arrow Icons
--------------------------------------------------------------*/

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;

  font-size: 26px;
  line-height: 0;

  background: color-mix(
    in srgb,
    var(--default-color),
    transparent 90%
  );

  /* فلش‌ها کاملاً گرد */
  border-radius: 50%;

  color: var(--contrast-color);

  transition: 0.3s;

  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;
}


/*--------------------------------------------------------------
# Carousel Controls
--------------------------------------------------------------*/

.hero .carousel-control-prev,
.hero .carousel-control-next {
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}


/*--------------------------------------------------------------
# Carousel Arrow Hover
--------------------------------------------------------------*/

.hero .carousel-control-prev:hover .carousel-control-next-icon,
.hero .carousel-control-prev:hover .carousel-control-prev-icon,
.hero .carousel-control-next:hover .carousel-control-next-icon,
.hero .carousel-control-next:hover .carousel-control-prev-icon {

  background: var(--accent-color);

  color: var(--default-color);

  transform: scale(1.08);
}



/* فلش سمت راست → جهت به سمت چپ */
.hero .carousel-control-prev-icon {
  transform: scaleX(-1);
}

/* فلش سمت چپ → جهت به سمت راست */
.hero .carousel-control-next-icon {
  transform: scaleX(-1);
}


.hero .carousel-control-prev:hover .carousel-control-prev-icon {
  transform: scaleX(-1) scale(1.08);
}

.hero .carousel-control-next:hover .carousel-control-next-icon {
  transform: scaleX(-1) scale(1.08);
}

@media (max-width: 400px) {

  .hero .container {
    margin-left: 10px;
    margin-right: 10px;

    padding: 22px 15px;

    border-radius: 12px;
  }

  .hero h2 {
    font-size: 23px;
    margin-bottom: 15px;
  }

  .hero .btn-get-started {
    font-size: 13px;
    padding: 8px 20px;
    margin: 6px;
  }

  .hero .carousel-control-next-icon,
  .hero .carousel-control-prev-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}
/*--------------------------------------------------------------
# Hero Carousel Indicators
--------------------------------------------------------------*/

.hero #hero-carousel .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0;
    margin: 0;

    gap: 8px;

    z-index: 10;
}

/* حذف indicator های قدیمی li */
.hero #hero-carousel .carousel-indicators li {
    display: none !important;
}

/* indicator های جدید button */
.hero #hero-carousel .carousel-indicators button {
    box-sizing: border-box !important;

    flex: 0 0 12px !important;

    width: 12px !important;
    height: 12px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;

    border-radius: 50% !important;

    background-color: var(--default-color) !important;
    background-image: none !important;

    opacity: 0.5 !important;

    cursor: pointer;

    text-indent: 0 !important;

    transition: 0.3s ease;
}

/* نقطه فعال */
.hero #hero-carousel .carousel-indicators button.active {
    width: 12px !important;
    height: 12px !important;

    background-color: var(--accent-color) !important;

    opacity: 1 !important;

    border-radius: 50% !important;

    transform: scale(1.15);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about .inner-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 30px 0;
}

@media (min-width: 991px) {
  .about .inner-title {
    max-width: 65%;
    margin: 0 0 80px 0;
  }
}

.about .our-story {
  padding: 40px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
}

@media (min-width: 991px) {
  .about .our-story {
    padding-left: 35%;
    padding-right: 40px;
  }
}

.about .our-story h4 {
  text-transform: uppercase;
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.about .our-story h3 {
  font-size: 2.25rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .our-story p:last-child {
  margin-bottom: 0;
}

/* Story Features */
.about ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-size: 15px;
}

.about ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 1.25rem;
  margin-left: 0.5rem;
  margin-right: 0;
  line-height: 1.2;
  color: var(--accent-color);
}

/* Watch Video */
.about .watch-video {
  margin-top: 25px;
}

.about .watch-video i {
  font-size: 2rem;
  transition: 0.3s;
  color: var(--accent-color);
    transform: scaleX(-1);

}

.about .watch-video a {
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 8px;
  margin-left: 0;
  transition: 0.3s;
}

.about .watch-video:hover a {
  color: var(--accent-color);
}


/* About Image */
.about .about-img {
  min-height: 400px;
  position: relative;
}

@media (min-width: 992px) {
  .about .about-img {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    min-height: 600px;
  }
}

.about .about-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  border-radius: 12px;

}

.about .h_iframe-aparat_embed_frame {
  position: relative;
  width: 100%;
}

.about .h_iframe-aparat_embed_frame .ratio {
  display: block;
  width: 100%;
  height: auto;
}

.about .h_iframe-aparat_embed_frame iframe {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 100%;
  height: 100%;
  border: 0;
}
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .service-item .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .service-item .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .service-item .icon svg path {
  transition: 0.5s;
  fill: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
}

.services .service-item.item-cyan i {
  color: #0dcaf0;
}

.services .service-item.item-cyan:hover .icon i {
  color: #fff;
}

.services .service-item.item-cyan:hover .icon path {
  fill: #0dcaf0;
}

.services .service-item.item-orange i {
  color: #fd7e14;
}

.services .service-item.item-orange:hover .icon i {
  color: #fff;
}

.services .service-item.item-orange:hover .icon path {
  fill: #fd7e14;
}

.services .service-item.item-teal i {
  color: #20c997;
}

.services .service-item.item-teal:hover .icon i {
  color: #fff;
}

.services .service-item.item-teal:hover .icon path {
  fill: #20c997;
}

.services .service-item.item-red i {
  color: #df1529;
}

.services .service-item.item-red:hover .icon i {
  color: #fff;
}

.services .service-item.item-red:hover .icon path {
  fill: #df1529;
}

.services .service-item.item-indigo i {
  color: #6610f2;
}

.services .service-item.item-indigo:hover .icon i {
  color: #fff;
}

.services .service-item.item-indigo:hover .icon path {
  fill: #6610f2;
}

.services .service-item.item-pink i {
  color: #f3268c;
}

.services .service-item.item-pink:hover .icon i {
  color: #fff;
}

.services .service-item.item-pink:hover .icon path {
  fill: #f3268c;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/

.portfolio .portfolio-filters {

  padding: 0;

  margin: 0 auto 30px auto;

  list-style: none;

  text-align: center;

  direction: rtl;
}


.portfolio .portfolio-filters li {

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 9px 20px;

  margin: 0 2px 6px 2px;

  font-size: 14px;

  font-weight: 500;

  line-height: 1.4;

  color: var(--default-color);

  background: transparent;

  border: 1px solid color-mix(
    in srgb,
    var(--default-color),
    transparent 88%
  );

  border-radius: 50px;

  font-family: var(--heading-font);

  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}


.portfolio .portfolio-filters li:hover {

  color: var(--accent-color);

  background-color: color-mix(
    in srgb,
    var(--accent-color),
    transparent 94%
  );

  border-color: color-mix(
    in srgb,
    var(--accent-color),
    transparent 55%
  );
}


.portfolio .portfolio-filters li.filter-active {

  color: var(--contrast-color);

  background-color: var(--accent-color);

  border-color: var(--accent-color);

  box-shadow:
    0 5px 16px color-mix(
      in srgb,
      var(--accent-color),
      transparent 80%
    );
}


.portfolio .portfolio-item {

  position: relative;

  overflow: hidden;

  border-radius: 16px;

  border: none !important;

  outline: none !important;

  background: transparent;

  /*
   * هیچ transform روی کارت قرار نده
   * چون Isotope از transform برای چیدمان استفاده می‌کند.
   */

  box-shadow: none !important;
}


.portfolio .portfolio-item img {

  display: block;

  width: 100%;

  height: auto;

  max-width: 100%;

  border-radius: 16px;

  /*
   * تصویر کاملاً ثابت
   */

  transform: none !important;

  transition: none !important;
}


/* جلوگیری از Zoom */

.portfolio .portfolio-item:hover img {

  transform: none !important;
}


.portfolio .portfolio-item .portfolio-info {

  position: absolute;

  left: 14px;

  right: 14px;

  bottom: 14px;

  z-index: 3;

  min-height: 68px;

  padding: 13px 15px;

  direction: rtl;

  text-align: right;

  /*
   * پس زمینه شیشه‌ای
   */

  background: color-mix(
    in srgb,
    var(--surface-color),
    transparent 8%
  );

  /*
   * Blur ظریف
   */

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  /*
   * گوشه‌های نرم
   */

  border-radius: 11px;

  /*
   * سایه بسیار ظریف
   */

  box-shadow:
    0 5px 18px rgba(0, 0, 0, 0.07);

  /*
   * حالت اولیه
   */

  opacity: 0;

  visibility: hidden;

  /*
   * فقط حرکت بسیار کم
   */

  transform: translateY(8px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}


.portfolio .portfolio-item:hover .portfolio-info {

  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}


.portfolio .portfolio-item .portfolio-info h4 {

  display: block;

  width: 100%;

  margin: 0 0 4px 0;

  padding-left: 78px;

  padding-right: 0;

  font-size: 18px;

  font-weight: 600;

  line-height: 1.5;

  color: var(--heading-color);

  /*
   * اگر عنوان خیلی طولانی باشد
   */

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

  transition: color 0.3s ease;
}


.portfolio .portfolio-item:hover .portfolio-info h4 {

  color: var(--accent-color);
}


.portfolio .portfolio-item .portfolio-info p {

  display: block;

  width: 100%;

  margin: 0;

  padding-left: 78px;

  padding-right: 0;

  font-size: 13px;

  line-height: 1.6;

  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 32%
  );

  /*
   * توضیحات یک خط
   */

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


.portfolio .portfolio-item .portfolio-info .preview-link {

  position: absolute;

  left: 50px;

  right: auto;

  top: 50%;

  width: 36px;

  height: 36px;

  display: flex;

  align-items: center;

  justify-content: center;

  transform: translateY(-50%);

  font-size: 21px;

  line-height: 1;

  color: var(--default-color);

  background: color-mix(
    in srgb,
    var(--default-color),
    transparent 93%
  );

  border: 1px solid color-mix(
    in srgb,
    var(--default-color),
    transparent 90%
  );

  border-radius: 50%;

  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.portfolio .portfolio-item .portfolio-info .details-link {

  position: absolute;

  left: 12px;

  right: auto;

  top: 50%;

  width: 36px;

  height: 36px;

  display: flex;

  align-items: center;

  justify-content: center;

  transform: translateY(-50%);

  font-size: 25px;

  line-height: 1;

  color: var(--default-color);

  background: color-mix(
    in srgb,
    var(--default-color),
    transparent 93%
  );

  border: 1px solid color-mix(
    in srgb,
    var(--default-color),
    transparent 90%
  );

  border-radius: 50%;

  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {

  color: var(--contrast-color);

  background-color: var(--accent-color);

  border-color: var(--accent-color);

  transform:
    translateY(-50%)
    scale(1.06);

  box-shadow:
    0 4px 12px color-mix(
      in srgb,
      var(--accent-color),
      transparent 72%
    );
}


@media (max-width: 575px) {


  .portfolio .portfolio-filters {

    padding-left: 10px;

    padding-right: 10px;

    margin-bottom: 22px;
  }


  .portfolio .portfolio-filters li {

    font-size: 13px;

    padding: 8px 15px;

    margin: 0 1px 7px 1px;
  }


  .portfolio .portfolio-item {

    border-radius: 14px;
  }


  .portfolio .portfolio-item img {

    border-radius: 14px;
  }


  .portfolio .portfolio-item .portfolio-info {

    left: 8px;

    right: 8px;

    bottom: 8px;

    min-height: 58px;

    padding: 10px 11px;

    border-radius: 9px;
  }


  .portfolio .portfolio-item .portfolio-info h4 {

    font-size: 15px;

    line-height: 1.45;

    margin-bottom: 3px;

    padding-left: 63px;
  }


  .portfolio .portfolio-item .portfolio-info p {

    font-size: 12px;

    line-height: 1.5;

    padding-left: 63px;
  }


  .portfolio .portfolio-item .portfolio-info .preview-link {

    left: 40px;

    width: 33px;

    height: 33px;

    font-size: 19px;
  }


  .portfolio .portfolio-item .portfolio-info .details-link {

    left: 8px;

    width: 33px;

    height: 33px;

    font-size: 22px;
  }
}


@media (max-width: 400px) {


  .portfolio .portfolio-item .portfolio-info {

    left: 6px;

    right: 6px;

    bottom: 6px;

    min-height: 52px;

    padding: 8px 9px;

    border-radius: 8px;
  }

  .portfolio .portfolio-item .portfolio-info h4 {

    font-size: 14px;

    padding-left: 56px;
  }


  .portfolio .portfolio-item .portfolio-info p {

    font-size: 11px;

    padding-left: 56px;
  }


  .portfolio .portfolio-item .portfolio-info .preview-link {

    left: 36px;

    width: 30px;

    height: 30px;

    font-size: 17px;
  }


  .portfolio .portfolio-item .portfolio-info .details-link {

    left: 6px;

    width: 30px;

    height: 30px;

    font-size: 20px;
  }
}
/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/

.clients .clients-wrap {
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    display: flex;
    flex-wrap: wrap;
}

.clients .client-item {
    /* اطمینان از اینکه هر کارت فضای خودش را حفظ می‌کند */
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

/* وضعیت عادی کارت */
.clients .client-card-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
    /* رنگی که کاربر در ACF انتخاب کرده، مستقیماً از طریق استایل اینلاین (که در PHP نوشتید) اعمال می‌شود */
}

.clients .client-card-box img {
    padding: 50px;
    max-width: 80%;
    transition: transform .4s ease;
}

/* وضعیت هاور کارت */
.clients .client-card-box:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 10;
    
    /* ترفند جذاب: ترکیب رنگ اصلی با سیاه برای کمی تیره‌تر شدن در حالت هاور */
    /* اگر کاربر رنگ سفید انتخاب کرده باشد، این کد آن را کمی خاکستری/تیره می‌کند */
    background-color: color-mix(in srgb, var(--bg-color, currentColor), black 10%) !important;
}
/* هاور لوگو داخل کارت */
.clients .client-card-box:hover img {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .clients .client-card-box img {
        padding: 30px;
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/

.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
  direction: rtl;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
  text-align: right;
}

.skills .progress .skill .val {
  float: left;
  font-style: normal;
}

/* زمینه نوار */
.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
  direction: rtl;
  overflow: hidden;
}

/* نوار پیشرفت */
.skills .progress-bar {
  height: 10px;
  width: 0%;
  transition: width 0.9s ease-in-out;
  background-color: var(--accent-color);

  /* شروع از سمت راست */
  margin-right: 0;
  margin-left: auto;
}

/* مقدار نهایی که توسط اسکریپت تعیین می‌شود */
.skills-animation .progress-bar {
  width: var(--skill-width, 0%);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/

.team .team-member {
    position: relative;

    background-color: var(--surface-color);

    border: 1px solid color-mix(
        in srgb,
        var(--default-color),
        transparent 92%
    );

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


/* Hover کارت */

.team .team-member:hover {
    transform: translateY(-6px);

    border-color: color-mix(
        in srgb,
        var(--accent-color),
        transparent 75%
    );

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.12);
}


.team .team-member .member-img {
    position: relative;

    overflow: hidden;

    background-color: var(--background-color);
}


/* تصویر */

.team .team-member .member-img img {
    width: 100%;

    display: block;

    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Zoom تصویر */

.team .team-member:hover .member-img img {
    transform: scale(1.04);
}


.team .team-member .member-img::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.18),
        transparent 45%
    );

    opacity: 0;

    transition: opacity 0.4s ease;
}


.team .team-member:hover .member-img::after {
    opacity: 1;
}


.team .team-member .social {
    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 15px;

    min-height: 48px;

    padding: 7px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    opacity: 0;

    visibility: hidden;

    border-radius: 12px;

    background: color-mix(
        in srgb,
        var(--surface-color),
        transparent 12%
    );

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.12);

    transform: translateY(12px);

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


/* نمایش Social */

.team .team-member:hover .social {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.team .team-member .social a {
    width: 34px;
    height: 34px;

    margin: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: var(--heading-color);

    background: color-mix(
        in srgb,
        var(--default-color),
        transparent 94%
    );

    text-decoration: none;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Hover Social */

.team .team-member .social a:hover {
    color: var(--accent-color);

    background: color-mix(
        in srgb,
        var(--accent-color),
        transparent 88%
    );

    transform: translateY(-3px) scale(1.05);

    box-shadow:
        0 5px 12px color-mix(
            in srgb,
            var(--accent-color),
            transparent 85%
        );
}


.team .team-member .social a i {
    font-size: 18px;

    line-height: 1;

    transition:
        transform 0.3s ease;
}


.team .team-member .social a:hover i {
    transform: scale(1.12);
}


.team .team-member .social a img.custom-social-svg {
    width: 18px;
    height: 18px;

    display: block;

    object-fit: contain;

    opacity: 0.9;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.team .team-member .social a:hover img.custom-social-svg {
    opacity: 1;

    transform: scale(1.12);
}

.team .team-member .member-info {
    padding: 25px 18px 27px;

    text-align: center;
}


.team .team-member .member-info h4 {
    margin: 0 0 6px;

    font-size: 18px;

    font-weight: 700;

    line-height: 1.5;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 15%
    );

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* Hover نام */

.team .team-member:hover .member-info h4 {
    color: var(--accent-color);

    transform: translateY(-1px);
}


.team .team-member .member-info span {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.6;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 42%
    );
}


.team .team-member .member-info p {
    margin: 0;

    font-size: 14px;

    line-height: 26px;

    font-style: normal;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 42%
    );
}


.team .team-member::after {
    content: "";

    position: absolute;

    left: 50%;

    bottom: 0;

    width: 0;

    height: 3px;

    border-radius: 3px 3px 0 0;

    background: var(--accent-color);

    transform: translateX(-50%);

    transition:
        width 0.4s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.team .team-member:hover::after {
    width: 55%;
}


[dir="rtl"] .team .team-member .social a {
    direction: ltr;
}


.team .team-member .social a:focus-visible {
    outline: 2px solid var(--accent-color);

    outline-offset: 3px;
}


@media (prefers-reduced-motion: reduce) {

    .team .team-member,
    .team .team-member .member-img img,
    .team .team-member .social,
    .team .team-member .social a,
    .team .team-member .social a i,
    .team .team-member .social a img.custom-social-svg,
    .team .team-member .member-info h4,
    .team .team-member::after {
        transition: none !important;
    }

    .team .team-member:hover {
        transform: none;
    }

    .team .team-member:hover .member-img img {
        transform: none;
    }

}


@media (max-width: 767px) {

    .team .team-member {
        border-radius: 12px;
    }


    .team .team-member .member-info {
        padding: 22px 15px 24px;
    }


    .team .team-member .member-info h4 {
        font-size: 17px;
    }



    .team .team-member .social {
        left: 12px;
        right: 12px;
        bottom: 12px;

        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }


    .team .team-member:hover {
        transform: translateY(-3px);
    }


    .team .team-member:hover .member-img img {
        transform: scale(1.02);
    }

}


[data-theme="dark"] .team .team-member,
.dark-mode .team .team-member {
    box-shadow:
        0 5px 24px rgba(0, 0, 0, 0.20);
}


[data-theme="dark"] .team .team-member:hover,
.dark-mode .team .team-member:hover {
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.30);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  padding: 30px;
  position: relative;
  height: 100%;

  /* حاشیه بالا با رنگ ACF یا رنگ پیش‌فرض */
  border-top: 4px solid var(--accent-color-custom, #ccc);

  transition: all 0.3s ease;
  border-radius: 10px;

  direction: rtl;
  text-align: right;
}


.testimonials .testimonial-item:hover {
  transform: translateY(-8px);

  border-top-width: 6px;

  /* سایه حرفه‌ای و نرم */
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}


.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;

  border-radius: 50%;

  border: 6px solid var(--background-color);

  /* RTL */
  float: right;

  margin: 0 0 0 15px;

  object-fit: cover;
}


.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;

  margin: 10px 0 5px 0;

  text-align: right;
}


.testimonials .testimonial-item h4 {
  font-size: 14px;

  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 20%
  );

  margin: 0;

  text-align: right;
}


.testimonials .testimonial-item .stars {
  margin: 10px 0;
}


.testimonials .testimonial-item .stars i {
  color: #ffc107;

  margin: 0 1px;
}


.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {

  color: color-mix(
    in srgb,
    var(--accent-color-custom, var(--accent-color)),
    transparent 60%
  );

  font-size: 26px;

  line-height: 0;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}


/* Hover */

.testimonials .testimonial-item:hover .quote-icon-left,
.testimonials .testimonial-item:hover .quote-icon-right {

  color: var(--accent-color-custom, var(--accent-color));
}


.testimonials .testimonial-item .quote-icon-left {

  display: inline-block;

  right: -5px;

  left: auto;

  position: relative;
}


.testimonials .testimonial-item .quote-icon-right {

  display: inline-block;

  left: -5px;

  right: auto;

  position: relative;

  top: 10px;

  transform: scale(-1, -1);
}


.testimonials .testimonial-item p {

  font-style: italic;

  margin: 15px 0 0 0;

  padding: 0;

  text-align: right;

  line-height: 1.9;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/

/* ۱. استایل پایه کارت */
.features .features-item {
    display: flex;
    align-items: center;
    padding: 22px;
    position: relative;
    overflow: hidden;

    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);

    background-color: var(--card-bg);

    z-index: 1;

    transition: all 0.4s ease-in-out !important;
}


/* ۲. استایل آیکون */
.features .features-item i {
    font-size: 34px;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    /* مناسب برای RTL و LTR */
    margin-inline-end: 15px;

    flex-shrink: 0;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}


/* ۳. استایل عنوان */
.features .features-item h3 {
    font-weight: 700;
    margin: 0;
    font-size: 16px;
}


/* لینک عنوان */
.features .features-item h3 a {
    color: var(--heading-color);
    transition: color 0.3s ease;
    text-decoration: none;
}


/* ۴. حالت Hover کارت */
.features .features-item:hover {
    background-color: var(--card-bg) !important;
    background: var(--card-bg) !important;

    transform: translateY(-8px) !important;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2) !important;

    border-color: var(--accent-color) !important;

    z-index: 10 !important;
}


/* ۵. افکت Hover آیکون */
.features .features-item:hover i {
    transform: scale(1.15) rotate(8deg);

    filter:
        brightness(1.15)
        saturate(1.2);
}


/* Hover عنوان */
.features .features-item:hover h3 a {
    color: var(--accent-color) !important;
}


/* ۶. افکت Shimmer */
.features .features-item::before {
    content: "";

    position: absolute;

    top: 0;
    inset-inline-start: -100%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );

    transition: 0.6s;

    z-index: 2;
}


/* غیرفعال کردن Shimmer هنگام Hover */
.features .features-item:hover::before {
    opacity: 0 !important;
    pointer-events: none !important;
}
/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

.service-details {
    direction: rtl;
    text-align: right;
}


.service-details .services-list {
    background-color: var(--surface-color);

    padding: 10px 25px;

    border: 1px solid
        color-mix(
            in srgb,
            var(--default-color),
            transparent 90%
        );

    border-radius: 12px;

    margin-bottom: 25px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}


.service-details .services-list a {
    display: flex;

    align-items: center;

    min-height: 44px;

    line-height: 1.5;

    padding: 10px 15px;

    border-right: 3px solid
        color-mix(
            in srgb,
            var(--default-color),
            transparent 75%
        );

    margin: 12px 0;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 20%
    );

    text-decoration: none;

    border-radius: 4px 0 0 4px;

    transition: all 0.3s ease;
}


.service-details .services-list a.active {
    color: var(--heading-color);

    font-weight: 700;

    border-color: var(--accent-color);

    background-color: color-mix(
        in srgb,
        var(--accent-color),
        transparent 94%
    );

    padding-right: 18px;
}


.service-details .services-list a:hover {
    color: var(--heading-color);

    border-color: var(--accent-color);

    background-color: color-mix(
        in srgb,
        var(--accent-color),
        transparent 96%
    );

    padding-right: 18px;
}


.service-details .services-img {
    width: 100%;

    margin-bottom: 25px;

    overflow: hidden;

    border-radius: 14px;
}

.service-details .services-img img {
    width: 100%;

    height: auto;

    display: block;

    border-radius: 14px;

    transition: transform 0.5s ease;
}


/* Image Hover */

.service-details .services-img:hover img {
    transform: scale(1.02);
}


.service-details h3 {
    font-size: 26px;

    font-weight: 700;

    line-height: 1.5;

    margin-bottom: 20px;

    position: relative;
}


/* Underline */

.service-details h3::after {
    content: "";

    display: block;

    width: 45px;

    height: 3px;

    background: var(--accent-color);

    border-radius: 10px;

    margin-top: 12px;
}


.service-details h4 {
    font-size: 20px;

    font-weight: 700;

    line-height: 1.6;

    margin-top: 25px;

    margin-bottom: 12px;
}

.service-details p {
    font-size: 15px;

    line-height: 2;

    margin-bottom: 18px;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 10%
    );
}


.service-details ul {
    list-style: none;

    padding: 0;

    margin: 20px 0;

    font-size: 15px;
}


.service-details ul li {
    padding: 8px 0;

    display: flex;

    align-items: flex-start;

    line-height: 1.8;
}


.service-details ul i {
    flex: 0 0 auto;

    font-size: 20px;

    margin-left: 9px;

    margin-top: 2px;

    color: var(--accent-color);

    line-height: 1;
}


.service-details strong {
    font-weight: 700;

    color: var(--heading-color);
}


.service-details .service-content a {
    color: var(--accent-color);

    text-decoration: underline;

    text-underline-offset: 3px;

    transition: color 0.3s ease;
}

.service-details .service-content a:hover {
    color: color-mix(
        in srgb,
        var(--accent-color),
        black 15%
    );
}


.service-details .service-content img {
    max-width: 100%;

    height: auto;

    display: block;

    border-radius: 10px;

    margin: 20px 0;
}


@media (max-width: 991px) {

    .service-details .services-list {
        margin-bottom: 30px;
    }

}


@media (max-width: 767px) {

    .service-details .services-list {
        padding: 8px 18px;

        border-radius: 10px;
    }

    .service-details .services-list a {
        margin: 8px 0;

        padding: 10px 12px;
    }

    .service-details .services-list a.active,
    .service-details .services-list a:hover {
        padding-right: 15px;
    }

    .service-details .services-img {
        border-radius: 10px;

        margin-bottom: 20px;
    }

    .service-details .services-img img {
        border-radius: 10px;
    }

    .service-details h3 {
        font-size: 23px;
    }

    .service-details h4 {
        font-size: 19px;
    }

    .service-details p {
        font-size: 15px;

        line-height: 1.9;
    }

}


@media (max-width: 575px) {

    .service-details .services-list {
        padding: 8px 15px;
    }

    .service-details .services-list a {
        font-size: 14px;
    }

    .service-details h3 {
        font-size: 21px;
    }

    .service-details h4 {
        font-size: 18px;
    }

    .service-details ul li {
        font-size: 14px;
    }

}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/

.portfolio-details {
    direction: rtl;
    text-align: right;
}


.portfolio-details .portfolio-details-slider {
    overflow: hidden;
    border-radius: 14px;
}

.portfolio-details .portfolio-details-slider img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.portfolio-details .swiper-wrapper {
    height: auto;
}


.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
    width: 48px;
    height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
    color: rgba(255, 255, 255, 0.9);

    background-color: rgba(0, 0, 0, 0.25);

    font-size: 22px;

    border-radius: 50%;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
    background-color: rgba(0, 0, 0, 0.45);

    transform: scale(1.05);
}


.portfolio-details .swiper-pagination {
    margin-top: 18px;
    position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;

    background-color: color-mix(
        in srgb,
        var(--default-color),
        transparent 85%
    );

    opacity: 1;

    transition: all 0.3s ease;
}

.portfolio-details
.swiper-pagination
.swiper-pagination-bullet-active {
    width: 24px;

    border-radius: 10px;

    background-color: var(--accent-color);
}


.portfolio-details .portfolio-info {
    text-align: right;

    background-color: var(--surface-color);

    padding: 30px;

    border-radius: 14px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;

    margin-bottom: 20px;
    padding-bottom: 20px;

    position: relative;
}


/* خط زیر عنوان در RTL */

.portfolio-details .portfolio-info h3:after {
    content: "";

    position: absolute;

    display: block;

    width: 50px;
    height: 3px;

    background: var(--accent-color);

    right: 0;
    left: auto;

    bottom: 0;

    border-radius: 10px;
}


.portfolio-details .portfolio-info ul {
    list-style: none;

    padding: 0;
    margin: 0;

    font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
    display: flex;

    flex-direction: row;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid
        color-mix(
            in srgb,
            var(--default-color),
            transparent 90%
        );
}

.portfolio-details .portfolio-info ul li:last-child {
    border-bottom: none;
}


/* عنوان اطلاعات */

.portfolio-details .portfolio-info ul strong {
    font-weight: 600;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 40%
    );

    font-size: 14px;

    flex-shrink: 0;
}


/* مقدار اطلاعات */

.portfolio-details .portfolio-info ul li > *:last-child {
    text-align: left;
}

.portfolio-details .portfolio-info ul li a {
    word-break: break-word;

    color: var(--accent-color);

    text-decoration: none;

    transition: color 0.3s ease;
}

.portfolio-details .portfolio-info ul li a:hover {
    color: color-mix(
        in srgb,
        var(--accent-color),
        black 15%
    );
}


.portfolio-details .portfolio-info .btn-visit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 32px;

    margin-top: 10px;

    background: var(--accent-color);

    color: var(--contrast-color);

    border-radius: 50px;

    text-decoration: none;

    box-shadow: 0 6px 18px
        color-mix(
            in srgb,
            var(--accent-color),
            transparent 75%
        );

    transition: all 0.3s ease;
}

.portfolio-details .portfolio-info .btn-visit:hover {
    background: color-mix(
        in srgb,
        var(--accent-color),
        black 10%
    );

    color: var(--contrast-color);

    transform: translateY(-3px);

    box-shadow: 0 10px 24px
        color-mix(
            in srgb,
            var(--accent-color),
            transparent 65%
        );
}


.portfolio-details .portfolio-description {
    text-align: right;

    margin-top: 40px;
}

.portfolio-details .portfolio-description h2 {
    position: relative;

    font-size: 26px;

    font-weight: 700;

    margin-bottom: 25px;

    padding-bottom: 15px;
}


/* خط زیر عنوان */

.portfolio-details .portfolio-description h2:after {
    content: "";

    position: absolute;

    right: 0;
    left: auto;

    bottom: 0;

    width: 45px;
    height: 3px;

    background: var(--accent-color);

    border-radius: 10px;
}


.portfolio-details .portfolio-description .portfolio-content {
    font-size: 16px;

    line-height: 2;

    color: var(--default-color);
}

.portfolio-details .portfolio-description .portfolio-content p {
    padding: 0;

    margin-bottom: 18px;
}


/* Headings داخل محتوا */

.portfolio-details .portfolio-description .portfolio-content h3 {
    font-size: 21px;

    font-weight: 700;

    margin: 30px 0 15px;
}

.portfolio-details .portfolio-description .portfolio-content h4 {
    font-size: 18px;

    font-weight: 700;

    margin: 25px 0 12px;
}

.portfolio-details .portfolio-description .portfolio-content h5 {
    font-size: 16px;

    font-weight: 700;

    margin: 20px 0 10px;
}


.portfolio-details
.portfolio-description
.portfolio-content ul,
.portfolio-details
.portfolio-description
.portfolio-content ol {

    padding-right: 25px;

    padding-left: 0;

    margin-bottom: 20px;
}

.portfolio-details
.portfolio-description
.portfolio-content li {

    margin-bottom: 8px;
}


.portfolio-details
.portfolio-description
.portfolio-content a {

    color: var(--accent-color);

    text-decoration: underline;

    text-underline-offset: 3px;

    transition: color 0.3s ease;
}

.portfolio-details
.portfolio-description
.portfolio-content a:hover {

    color: color-mix(
        in srgb,
        var(--accent-color),
        black 15%
    );
}


.portfolio-details
.portfolio-description
.portfolio-content img {

    max-width: 100%;

    height: auto;

    display: block;

    border-radius: 10px;

    margin: 20px 0;
}


.portfolio-details
.portfolio-description
.testimonial-item {

    padding: 30px 30px 20px;

    position: relative;

    background: color-mix(
        in srgb,
        var(--default-color),
        transparent 97%
    );

    margin: 30px 0 50px;

    border-radius: 10px;

    overflow: hidden;

    border-right: 4px solid var(--accent-color);

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}


.portfolio-details
.portfolio-description
.testimonial-item
.testimonial-img {

    width: 80px;

    height: 80px;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid var(--background-color);

    float: right;

    margin: 0 0 10px 15px;
}


.portfolio-details
.portfolio-description
.testimonial-item
h3 {

    font-size: 18px;

    font-weight: 700;

    margin: 15px 0 5px;

    padding-top: 20px;
}


.portfolio-details
.portfolio-description
.testimonial-item
h4 {

    font-size: 14px;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 40%
    );

    margin: 0;
}


.portfolio-details
.portfolio-description
.testimonial-item
.quote-icon-left,
.portfolio-details
.portfolio-description
.testimonial-item
.quote-icon-right {

    color: color-mix(
        in srgb,
        var(--accent-color),
        transparent 50%
    );

    font-size: 26px;

    line-height: 0;
}

.portfolio-details
.portfolio-description
.testimonial-item
.quote-icon-left {

    display: inline-block;

    right: -5px;

    left: auto;

    position: relative;
}


.portfolio-details
.portfolio-description
.testimonial-item
.quote-icon-right {

    display: inline-block;

    left: -5px;

    right: auto;

    position: relative;

    top: 10px;

    transform: scale(-1, -1);
}


.portfolio-details
.portfolio-description
.testimonial-item
p {

    font-style: italic;

    margin: 0 0 15px;

    padding: 0;

    line-height: 1.9;
}


@media (max-width: 991px) {

    .portfolio-details .portfolio-details-slider img {
        height: 380px;
    }

    .portfolio-details .portfolio-info {
        margin-top: 30px;
    }

}


@media (max-width: 767px) {

    .portfolio-details .portfolio-details-slider img {
        height: 300px;

        border-radius: 10px;
    }

    .portfolio-details .portfolio-info {
        padding: 25px 20px;
    }

    .portfolio-details .portfolio-info ul li {
        gap: 15px;
    }

    .portfolio-details .portfolio-description {
        margin-top: 30px;
    }

    .portfolio-details .portfolio-description h2 {
        font-size: 23px;
    }

}


@media (max-width: 575px) {

    .portfolio-details .portfolio-details-slider img {
        height: 240px;
    }

    .portfolio-details .swiper-button-prev,
    .portfolio-details .swiper-button-next {
        display: none;
    }

    .portfolio-details .portfolio-info {
        padding: 22px 18px;

        border-radius: 10px;
    }

    .portfolio-details .portfolio-info h3 {
        font-size: 20px;
    }

    .portfolio-details .portfolio-info ul li {
        flex-direction: column;

        align-items: flex-start;

        gap: 5px;
    }

    .portfolio-details .portfolio-info ul li > *:last-child {
        text-align: right;
    }

    .portfolio-details
    .portfolio-description
    .testimonial-item {

        padding: 25px 20px 18px;

        margin-bottom: 35px;
    }

}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
/* استایل اصلی بخش قیمت‌گذاری */
.pricing {
  padding: 60px 0;
}

.pricing .section-title h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.pricing .section-title p {
  color: var(--default-color);
  margin-bottom: 40px;
  font-size: 16px;
}

/* استایل خود کارت‌ها */
.pricing .pricing-item {
  position: relative;
  padding: 40px;
  height: 100%; /* برای اینکه همه کارت‌ها هم‌اندازه شوند */
  border-radius: 15px;
  
  /* ۱. رنگ پس‌زمینه کارت بر اساس انتخاب شما */
  background-color: color-mix(in srgb, var(--card-theme-color, #f8f9fa), white 92%); /* رنگ ملایم‌تر */
  
  /* ۲. حاشیه کمی تیره‌تر و شبیه سایه */
  border: 1px solid color-mix(in srgb, var(--card-theme-color, #e9ecef), transparent 85%);
  
  /* ۳. سایه پشت کارت */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* سایه واضح‌تر */
  transition: all 0.3s ease;
}

/* افکت هاور: حرکت به بالا و سایه قوی‌تر */
.pricing .pricing-item:hover {
  transform: translateY(-10px); /* حرکت بیشتر به بالا */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* سایه قوی‌تر */
  border-color: var(--card-theme-color); /* حاشیه همرنگ کارت در حالت هاور */
}

/* استایل متن‌ها */
.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--heading-color); /* رنگ عنوان اصلی */
}

.pricing .description {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%); /* متن توضیحات کمی کم‌رنگ‌تر */
}

/* استایل قیمت */
.pricing h4 {
  color: var(--card-theme-color); /* قیمت همرنگ کارت */
  font-size: 48px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  font-weight: 500;
}

/* استایل دکمه */
.pricing .cta-btn {
  border: 2px solid var(--card-theme-color); /* حاشیه دکمه همرنگ کارت */
  background-color: var(--card-theme-color); /* رنگ پس‌زمینه دکمه */
  color: var(--contrast-color, #fff); /* رنگ متن دکمه (سفید) */
  display: block; /* برای اینکه تمام عرض را بگیرد */
  text-align: center;
  padding: 12px 35px; /* کمی padding بیشتر برای اندازه بهتر */
  border-radius: 8px; /* گوشه‌های گردتر */
  font-size: 16px;
  font-weight: 600; /* فونت ضخیم‌تر */
  font-family: var(--heading-font);
  transition: all 0.3s ease;
  margin-top: 25px; /* فاصله بیشتر از قیمت */
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* سایه کوچک برای دکمه */
}

.pricing .cta-btn:hover {
  background-color: color-mix(in srgb, var(--card-theme-color), black 15%); /* کمی تیره‌تر در هاور */
  border-color: color-mix(in srgb, var(--card-theme-color), black 15%);
  color: var(--contrast-color, #fff);
  transform: translateY(-2px); /* کمی حرکت در هاور */
}

/* استایل لیست ویژگی‌ها */
.pricing ul {
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: right; /* راست‌چین در فارسی */
  line-height: 28px; /* فاصله خطوط بیشتر */
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  font-size: 15px; /* فونت کمی بزرگتر */
}

.pricing ul li:last-child {
  padding-bottom: 0;
}

.pricing ul i {
  color: #059652; /* رنگ سبز برای تیک */
  font-size: 20px; /* اندازه آیکون تیک */
  padding-right: 8px; /* فاصله از متن */
  margin-top: 2px; /* تنظیم دقیق‌تر */
}

/* استایل ویژگی‌های ناموجود (اگر از کلاس na استفاده می‌کنید) */
.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

/* استایل کارت ویژه (Featured) */
.pricing .featured {
  position: relative;
  border-width: 2px; /* حاشیه ضخیم‌تر برای کارت ویژه */
  border-color: var(--card-theme-color); /* همرنگ کارت */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* سایه قوی‌تر برای کارت ویژه */
}

.pricing .featured .popular {
  position: absolute;
  top: -12px; /* کمی بالاتر */
  left: 50%; /* وسط چین کردن */
  transform: translateX(-50%); /* وسط چین کردن */
  background-color: var(--card-theme-color); /* رنگ پس‌زمینه برچسب ویژه */
  color: var(--contrast-color, #fff);
  padding: 6px 20px 8px 20px;
  margin: 0;
  border-radius: 8px; /* گوشه‌های گردتر */
  font-size: 14px;
  font-weight: 600;
  z-index: 10; /* روی بقیه عناصر باشد */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing .featured .cta-btn {
  background-color: var(--card-theme-color);
  color: var(--contrast-color, #fff);
  border-color: var(--card-theme-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- رسپانسیو کردن --- */
@media (max-width: 992px) {
  .pricing .col-lg-4 { /* تنظیم برای تبلت */
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .pricing .col-lg-4 { /* تنظیم برای موبایل‌های بزرگ */
    flex: 0 0 100%;
    max-width: 100%;
  }
  .pricing .pricing-item {
    padding: 30px; /* کمی padding کمتر در موبایل */
  }
}

@media (max-width: 420px) {
  .pricing .pricing-item {
    padding: 25px; /* padding کمتر برای موبایل‌های کوچک */
  }
  .pricing h4 {
    font-size: 40px; /* قیمت کمی کوچک‌تر */
  }
  .pricing h4 sup {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/

.blog-posts article {
    position: relative;

    background-color: var(--surface-color);

    border: 1px solid color-mix(
        in srgb,
        var(--default-color),
        transparent 92%
    );

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.4s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        ),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


/* Hover کارت */

.blog-posts article:hover {
    transform: translateY(-6px);

    border-color: color-mix(
        in srgb,
        var(--accent-color),
        transparent 80%
    );

    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.11);
}


.blog-posts .post-img {
    position: relative;

    overflow: hidden;
}


.blog-posts .post-img img {
    width: 100%;

    display: block;

    transition:
        transform 0.7s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


/* Zoom ظریف */

.blog-posts article:hover .post-img img {
    transform: scale(1.04);
}


.blog-posts .post-date {
    position: absolute;

    right: auto;

    left: 15px;

    bottom: 15px;

    padding: 7px 11px;

    background: var(--accent-color);

    color: var(--contrast-color);

    border-radius: 7px;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.3;

    text-transform: uppercase;

    letter-spacing: 0.2px;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.15);

    z-index: 2;
}

.blog-posts .post-content {
    padding: 25px 25px 27px;

    direction: rtl;

    text-align: right;
}

.blog-posts .post-title {
    margin: 0 0 13px;

    color: var(--heading-color);

    font-size: 20px;

    font-weight: 700;

    line-height: 1.6;

    transition:
        color 0.3s ease;
}


.blog-posts article:hover .post-title {
    color: var(--accent-color);
}


.blog-posts .meta {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 6px 15px;

    margin-bottom: 12px;
}


.blog-posts .meta > div {
    display: inline-flex;

    align-items: center;

    gap: 5px;
}


.blog-posts .meta i {
    font-size: 15px;

    line-height: 1;

    color: var(--accent-color);
}


.blog-posts .meta span {
    font-size: 13px;

    line-height: 1.5;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 40%
    );
}


.blog-posts p {
    margin: 17px 0 0;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 25%
    );

    font-size: 14px;

    line-height: 1.9;
}


.blog-posts hr {
    margin: 20px 0 15px;

    border: 0;

    border-top: 1px solid color-mix(
        in srgb,
        var(--default-color),
        transparent 90%
    );

    opacity: 1;
}


.blog-posts .readmore {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: color-mix(
        in srgb,
        var(--heading-color),
        transparent 20%
    );

    font-size: 14px;

    font-weight: 600;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.blog-posts .readmore i {
    margin: 0;

    font-size: 16px;

    line-height: 1;

    transform: rotate(180deg);

    transition:
        transform 0.3s ease;
}


/* Hover Read More */

.blog-posts article:hover .readmore {
    color: var(--accent-color);

    transform: translateX(-3px);
}


.blog-posts article:hover .readmore i {
    transform:
        rotate(180deg)
        translateX(-3px);
}


.blog-posts .post-img::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.12),
        transparent 45%
    );

    opacity: 0;

    transition:
        opacity 0.4s ease;
}


.blog-posts article:hover .post-img::after {
    opacity: 1;
}


[dir="rtl"] .blog-posts article {
    direction: rtl;

    text-align: right;
}


@media (max-width: 767px) {

    .blog-posts article {
        border-radius: 14px;
    }


    .blog-posts .post-content {
        padding: 22px 20px 24px;
    }


    .blog-posts .post-title {
        font-size: 18px;

        line-height: 1.65;
    }


    .blog-posts p {
        font-size: 13px;

        line-height: 1.9;
    }


    .blog-posts .post-date {
        left: 12px;

        bottom: 12px;

        padding: 6px 9px;

        font-size: 11px;
    }


    .blog-posts article:hover {
        transform: translateY(-3px);
    }


    .blog-posts article:hover .post-img img {
        transform: scale(1.02);
    }

}


@media (prefers-reduced-motion: reduce) {

    .blog-posts article,
    .blog-posts .post-img img,
    .blog-posts .post-title,
    .blog-posts .readmore,
    .blog-posts .readmore i,
    .blog-posts .post-img::after {
        transition: none !important;
    }

}
```


/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/

.blog-pagination {
  padding-top: 0;

  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 40%
  );

  direction: rtl;
}


/* لیست pagination */
.blog-pagination ul {
  display: flex;

  flex-direction: row;

  padding: 0;
  margin: 0;

  list-style: none;

  justify-content: center;
  align-items: center;
}


/* آیتم‌ها */
.blog-pagination li {
  margin: 0 5px;

  transition: transform 0.3s ease;
}


/* لینک شماره صفحات */
.blog-pagination li a {
  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 40%
  );

  padding: 7px 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 40px;
  min-height: 40px;

  border-radius: 6px;

  text-decoration: none;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}


/* صفحه فعال و Hover */
.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);

  transform: translateY(-2px);
}


/* حذف سلکتور اشتباه قبلی */
.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: inherit;
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/

.blog-details {
    padding-bottom: 40px;
}


.blog-details .article {
    position: relative;

    background-color: var(--surface-color);

    padding: 30px;

    border: 1px solid color-mix(
        in srgb,
        var(--default-color),
        transparent 92%
    );

    border-radius: 18px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06);

    overflow: hidden;

    direction: rtl;
    text-align: right;

    transition:
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.blog-details .article:hover {
    border-color: color-mix(
        in srgb,
        var(--accent-color),
        transparent 82%
    );

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.09);
}


.blog-details .post-img {
    margin: -30px -30px 25px;

    overflow: hidden;

    background-color: var(--background-color);
}


.blog-details .post-img img {
    width: 100%;

    height: auto;

    display: block;

    transition:
        transform 0.7s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.blog-details .article:hover .post-img img {
    transform: scale(1.015);
}


.blog-details .title {
    margin: 25px 0 20px;

    padding: 0;

    color: var(--heading-color);

    font-size: 30px;

    font-weight: 700;

    line-height: 1.6;

    letter-spacing: -0.2px;
}


.blog-details .content {
    margin-top: 20px;

    color: var(--default-color);

    font-size: 15px;

    line-height: 2;

    text-align: right;
}


/* Paragraph */

.blog-details .content p {
    margin-bottom: 20px;
}


/* Headings */

.blog-details .content h2,
.blog-details .content h3,
.blog-details .content h4 {
    color: var(--heading-color);

    line-height: 1.6;
}


.blog-details .content h2 {
    margin-top: 38px;

    margin-bottom: 18px;

    font-size: 24px;

    font-weight: 700;
}


.blog-details .content h3 {
    margin-top: 32px;

    margin-bottom: 15px;

    font-size: 21px;

    font-weight: 700;
}


.blog-details .content h4 {
    margin-top: 28px;

    margin-bottom: 12px;

    font-size: 18px;

    font-weight: 600;
}


/* Links */

.blog-details .content a {
    color: var(--accent-color);

    text-decoration: underline;

    text-decoration-color: color-mix(
        in srgb,
        var(--accent-color),
        transparent 65%
    );

    text-underline-offset: 3px;

    transition:
        color 0.25s ease,
        text-decoration-color 0.25s ease;
}


.blog-details .content a:hover {
    color: color-mix(
        in srgb,
        var(--accent-color),
        black 15%
    );

    text-decoration-color: var(--accent-color);
}


.blog-details .content blockquote {
    position: relative;

    overflow: hidden;

    margin: 30px 0;

    padding: 30px 40px;

    background: color-mix(
        in srgb,
        var(--accent-color),
        transparent 94%
    );

    border-radius: 12px;

    border-right: 4px solid var(--accent-color);

    text-align: right;
}


.blog-details .content blockquote p {
    margin: 0;

    color: var(--default-color);

    font-size: 19px;

    font-weight: 500;

    font-style: italic;

    line-height: 1.9;
}


/* Quote decoration */

.blog-details .content blockquote::before {
    content: "“";

    position: absolute;

    left: 20px;

    top: 0;

    font-family: Georgia, serif;

    font-size: 90px;

    line-height: 1;

    color: color-mix(
        in srgb,
        var(--accent-color),
        transparent 82%
    );

    pointer-events: none;
}


.blog-details .meta-top {
    margin-top: 15px;

    padding-bottom: 18px;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 40%
    );
}


.blog-details .meta-top ul {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px 18px;

    list-style: none;

    padding: 0;

    margin: 0;
}


.blog-details .meta-top ul li {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.blog-details .meta-top ul li + li {
    padding: 0;
}


.blog-details .meta-top i {
    font-size: 15px;

    line-height: 1;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 35%
    );
}


.blog-details .meta-top a {
    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 35%
    );

    font-size: 13px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.blog-details .meta-top a:hover {
    color: var(--accent-color);
}


.blog-details .meta-bottom {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px 20px;

    padding-top: 18px;

    border-top: 1px solid color-mix(
        in srgb,
        var(--default-color),
        transparent 90%
    );

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 40%
    );

    font-size: 13px;
}


/* Icons */

.blog-details .meta-bottom i {
    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 35%
    );

    display: inline-block;

    margin-left: 4px;
}


/* Links */

.blog-details .meta-bottom a {
    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 35%
    );

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.blog-details .meta-bottom a:hover {
    color: var(--accent-color);
}


.blog-details .meta-bottom .cats,
.blog-details .meta-bottom .tags {
    display: inline-flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 6px;

    list-style: none;

    padding: 0;

    margin: 0;

    font-size: 13px;
}


/* آیتم‌ها */

.blog-details .meta-bottom .cats li,
.blog-details .meta-bottom .tags li {
    display: inline-block;
}


/* Badge */

.blog-details .meta-bottom .cats a,
.blog-details .meta-bottom .tags a {
    display: inline-block;

    padding: 5px 10px;

    border-radius: 7px;

    background: color-mix(
        in srgb,
        var(--accent-color),
        transparent 90%
    );

    color: var(--accent-color);

    border: 1px solid color-mix(
        in srgb,
        var(--accent-color),
        transparent 85%
    );

    text-decoration: none;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* Hover */

.blog-details .meta-bottom .cats a:hover,
.blog-details .meta-bottom .tags a:hover {
    color: #fff;

    background-color: var(--accent-color);

    border-color: var(--accent-color);

    transform: translateY(-2px);
}


/* حذف کاما بین برچسب‌ها */

.blog-details .meta-bottom .tags li + li::before {
    content: none;
}

.blog-details .meta-bottom .share {
    display: inline-flex;

    align-items: center;

    margin-right: auto;

    font-size: 15px;
}


.blog-details .meta-bottom .share a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    border-radius: 8px;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}


.blog-details .meta-bottom .share a:hover {
    background: color-mix(
        in srgb,
        var(--accent-color),
        transparent 90%
    );

    color: var(--accent-color);

    transform: translateY(-2px);
}


[dir="rtl"] .blog-details .article {
    direction: rtl;

    text-align: right;
}


@media (max-width: 767px) {

    .blog-details {
        padding-bottom: 30px;
    }


    .blog-details .article {
        padding: 20px;

        border-radius: 14px;
    }


    .blog-details .post-img {
        margin: -20px -20px 20px;
    }


    .blog-details .title {
        margin: 20px 0 15px;

        font-size: 23px;

        line-height: 1.7;
    }


    .blog-details .content {
        font-size: 14px;

        line-height: 1.95;
    }


    .blog-details .content h2 {
        font-size: 21px;

        margin-top: 30px;
    }


    .blog-details .content h3 {
        font-size: 19px;
    }


    .blog-details .content blockquote {
        padding: 25px 20px;

        margin: 25px 0;
    }


    .blog-details .content blockquote p {
        font-size: 16px;

        line-height: 1.9;
    }


    .blog-details .meta-top ul {
        gap: 8px 12px;
    }


    .blog-details .meta-bottom {
        align-items: flex-start;

        gap: 12px;
    }


    .blog-details .meta-bottom .share {
        width: 100%;

        margin-right: 0;
    }

}


@media (prefers-reduced-motion: reduce) {

    .blog-details .article,
    .blog-details .post-img img,
    .blog-details .content a,
    .blog-details .meta-top a,
    .blog-details .meta-bottom a,
    .blog-details .meta-bottom .cats a,
    .blog-details .meta-bottom .tags a,
    .blog-details .meta-bottom .share a {
        transition: none !important;
    }

}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/

.blog-comments {
  padding: 10px 0;
  direction: rtl;
  text-align: right;
}


/* تعداد نظرات */
.blog-comments .comments-count {
  font-weight: 700;
}


/* هر نظر */
.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}


/* تصویر کاربر */
.blog-comments .comment .comment-img {
  margin-inline-end: 14px;
  flex-shrink: 0;
}

.blog-comments .comment .comment-img img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}


/* نام کاربر */
.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: 700;
  color: var(--default-color);
  transition: color 0.3s ease;
  text-decoration: none;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}


/* دکمه پاسخ */
.blog-comments .comment h5 .reply {
  padding-inline-start: 10px;

  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 20%
  );

  text-decoration: none;

  transition: color 0.3s ease;
}

.blog-comments .comment h5 .reply:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}


/* تاریخ نظر */
.blog-comments .comment time {
  display: block;

  font-size: 14px;

  color: color-mix(
    in srgb,
    var(--default-color),
    transparent 40%
  );

  margin-bottom: 5px;
}


/* پاسخ به نظر */
.blog-comments .comment.comment-reply {
  padding-inline-start: 40px;
}


@media (max-width: 767px) {

  .blog-comments .comment.comment-reply {
    padding-inline-start: 20px;
  }

  .blog-comments .comment .comment-img img {
    width: 50px;
    height: 50px;
  }

}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.comment-form form h4 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
}

.comment-form form p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* Inputs */
.comment-form form input {
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  font-size: 14px;
  border-radius: 9px;
  padding: 12px 14px;
  transition: all 0.25s ease;
}

.comment-form form input:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 45%);
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 88%);
  border-color: var(--accent-color);
  outline: none;
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/* Textarea */
.comment-form form textarea {
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 14px;
  height: 120px;
  resize: vertical;
  transition: all 0.25s ease;
}

.comment-form form textarea:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 45%);
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 88%);
  border-color: var(--accent-color);
  background-color: var(--surface-color);
  outline: none;
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

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

/* Submit Button */
.comment-form form .btn-primary {
  border-radius: 9px;
  padding: 11px 28px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 12%);
  transform: translateY(-2px);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.comment-form form .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px color-mix(in srgb, var(--accent-color), transparent 75%);
}

/* Rating */
.comment-form .rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.comment-form .rating-stars input {
  display: none;
}

.comment-form .rating-stars label {
  cursor: pointer;
  font-size: 22px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
  transition: all 0.2s ease;
}

.comment-form .rating-stars label:hover,
.comment-form .rating-stars label:hover ~ label,
.comment-form .rating-stars input:checked ~ label {
  color: #ffc107;
  transform: scale(1.08);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact {
    padding-top: 0;
    direction: rtl;
    text-align: right;
}


.contact .info {
    height: 100%;
    background: var(--surface-color);
    padding: 35px;

    border-radius: 16px;

    border: 1px solid color-mix(
        in srgb,
        var(--default-color),
        transparent 92%
    );

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);

    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.contact .info:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.09);
}


.contact .info h3 {
    position: relative;

    font-size: 27px;
    font-weight: 700;

    margin: 0 0 12px;

    letter-spacing: -0.3px;
}

.contact .info h3::after {
    content: "";

    display: block;

    width: 45px;
    height: 3px;

    margin-top: 12px;

    background: var(--accent-color);

    border-radius: 10px;
}


.contact .info > p {
    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 35%
    );

    margin: 0 0 30px;

    font-size: 15px;
    line-height: 1.9;
}

.contact .info-item {
    display: flex;
    align-items: center;

    padding: 18px 12px;

    margin: 0 -12px;

    border-radius: 12px;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}


/* جداکننده بین آیتم‌ها */

.contact .info-item + .info-item {
    border-top: 1px solid color-mix(
        in srgb,
        var(--default-color),
        transparent 92%
    );

    border-radius: 0;
}


/* Hover */

.contact .info-item:hover {
    background: color-mix(
        in srgb,
        var(--accent-color),
        transparent 96%
    );

    transform: translateX(-4px);
}


.contact .info-item i {
    width: 52px;
    height: 52px;
    min-width: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 21px;

    color: var(--accent-color);

    background: color-mix(
        in srgb,
        var(--accent-color),
        transparent 90%
    );

    border-radius: 14px;

    margin-left: 16px;
    margin-right: 0;

    box-shadow: 0 6px 18px color-mix(
        in srgb,
        var(--accent-color),
        transparent 90%
    );

    transition:
        color 0.35s ease,
        background-color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Hover Icon */

.contact .info-item:hover i {
    color: var(--contrast-color);

    background: var(--accent-color);

    transform: translateY(-3px) scale(1.05);

    box-shadow: 0 8px 22px color-mix(
        in srgb,
        var(--accent-color),
        transparent 78%
    );
}


.contact .info-item h4 {
    padding: 0;

    margin: 0 0 5px;

    font-size: 16px;

    line-height: 24px;

    font-weight: 700;
}


.contact .info-item p {
    padding: 0;

    margin: 0;

    font-size: 14px;

    line-height: 1.8;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 40%
    );
}


.contact .info-item a {
    color: inherit;

    text-decoration: none;

    transition: color 0.3s ease;
}

.contact .info-item a:hover {
    color: var(--accent-color);
}


.contact form {
    width: 100%;

    background: var(--surface-color);

    padding: 35px;

    border-radius: 16px;

    border: 1px solid color-mix(
        in srgb,
        var(--default-color),
        transparent 92%
    );

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);

    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.contact form:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.09);
}


.contact-input-wrapper,
.contact-textarea-wrapper {
    position: relative;

    width: 100%;
}

.contact form .form-control {
    width: 100%;

    color: var(--default-color);

    background-color: var(--background-color);

    border: 1px solid color-mix(
        in srgb,
        var(--default-color),
        transparent 82%
    );

    border-radius: 12px;

    box-shadow: none;

    font-size: 14px;

    direction: rtl;

    text-align: right;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}


.contact form input.form-control {
    width: 100%;

    height: 54px;

    padding: 12px 48px 12px 16px;
}


.contact form textarea.form-control {
    min-height: 160px;

    height: 160px;

    padding: 14px 48px 14px 16px;

    resize: vertical;
}


.contact-input-icon {
    position: absolute;

    right: 17px;

    left: auto;

    top: 50%;

    transform: translateY(-50%);

    font-size: 18px;

    line-height: 1;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 45%
    );

    z-index: 2;

    pointer-events: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.contact-input-wrapper:focus-within .contact-input-icon {
    color: var(--accent-color);

    transform:
        translateY(-50%)
        scale(1.08);
}

.contact-textarea-wrapper .contact-input-icon {
    top: 20px;

    right: 17px;

    left: auto;

    transform: none;
}

.contact-textarea-wrapper:focus-within .contact-input-icon {
    color: var(--accent-color);

    transform: scale(1.08);
}


.contact form .form-control:focus {
    border-color: var(--accent-color);

    background-color: var(--surface-color);

    box-shadow: 0 0 0 4px color-mix(
        in srgb,
        var(--accent-color),
        transparent 88%
    );
}


.contact form .form-control::placeholder {
    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 60%
    );

    opacity: 1;
}


.contact form .form-control.is-invalid {
    border-color: #dc3545;

    background-image: none;
}

.contact form .form-control.is-invalid:focus {
    border-color: #dc3545;

    box-shadow: 0 0 0 4px rgba(
        220,
        53,
        69,
        0.08
    );
}

.contact form .form-control:invalid:focus {
    box-shadow: 0 0 0 4px rgba(
        220,
        53,
        69,
        0.08
    );
}


.contact-field-error {
    display: block;

    margin-top: 7px;

    color: #dc3545;

    font-size: 13px;

    line-height: 1.7;
}

.contact form .invalid-feedback {
    font-size: 13px;

    margin-top: 6px;
}


.contact-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;

    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(
        0,
        0,
        0,
        0
    ) !important;

    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


.contact form button[type="submit"] {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 170px;

    min-height: 50px;

    background: var(--accent-color);

    color: var(--contrast-color);

    border: 0;

    padding: 14px 35px;

    font-size: 15px;

    font-weight: 600;

    border-radius: 12px;

    cursor: pointer;

    box-shadow: 0 6px 18px color-mix(
        in srgb,
        var(--accent-color),
        transparent 82%
    );

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        opacity 0.3s ease;
}


.contact form button[type="submit"]:hover {
    background: color-mix(
        in srgb,
        var(--accent-color) 90%,
        black 10%
    );

    transform: translateY(-3px);

    box-shadow: 0 10px 25px color-mix(
        in srgb,
        var(--accent-color),
        transparent 72%
    );
}


.contact form button[type="submit"]:active {
    transform: translateY(0);

    box-shadow: 0 5px 12px color-mix(
        in srgb,
        var(--accent-color),
        transparent 82%
    );
}


.contact-submit-btn:disabled {
    opacity: 0.7;

    cursor: not-allowed;

    transform: none !important;

    box-shadow: none !important;
}


.contact .alert {
    border: 0;

    border-radius: 10px;

    padding: 14px 18px;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 25px;
}


.contact iframe {
    display: block;

    width: 100%;

    height: 400px;

    border: 0;

    border-radius: 16px;

    box-shadow: 0 8px 30px rgba(
        0,
        0,
        0,
        0.06
    );
}


@media (max-width: 991px) {

    .contact .info,
    .contact form {
        padding: 28px;
    }

}


@media (max-width: 575px) {

    .contact .info,
    .contact form {
        padding: 22px;

        border-radius: 12px;
    }


    .contact .info h3 {
        font-size: 22px;
    }


    .contact .info-item {
        padding: 16px 8px;

        margin: 0 -8px;
    }


    .contact .info-item i {
        width: 46px;
        height: 46px;
        min-width: 46px;

        margin-left: 13px;

        font-size: 19px;

        border-radius: 12px;
    }


    .contact form input.form-control {
        height: 50px;
    }


    .contact form textarea.form-control {
        min-height: 130px;

        height: 130px;
    }


    .contact form button[type="submit"] {
        width: 100%;
    }


    .contact-input-icon {
        right: 15px;

        font-size: 17px;
    }


    .contact-textarea-wrapper .contact-input-icon {
        right: 15px;
    }


    .contact iframe {
        height: 300px;

        border-radius: 12px;
    }

}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}


.blog-author-widget img {
  max-width: 160px;
}

.blog-author-widget h4 {
  font-weight: 600;
  font-size: 24px;
  margin: 15px 0 0 0;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
  margin: 5px 0;
}

.blog-author-widget .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin: 0 3px;
  font-size: 18px;
}

.blog-author-widget .social-links a:hover {
  color: var(--accent-color);
}

.blog-author-widget p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}



.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type="text"] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
  text-align: right;
}

.search-widget form input[type="text"]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}



.recent-posts-widget .post-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}



.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;

  /* فاصله در RTL */
  margin: 0 0 8px 6px;

  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-right: 5px;
  padding-left: 0;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/*--------------------------------------------------------------
# 404 Page
--------------------------------------------------------------*/

.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    padding: 60px 20px;
}

.error-number {
    font-size: 150px;
    line-height: 1;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.error-content p {
    font-size: 18px;
    line-height: 2;
    color: var(--default-color);
    margin: 0 auto 30px;
    max-width: 650px;
}

.error-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 12px 24px;
    border-radius: 6px;
}

.error-actions .btn i {
    margin-left: 6px;
}

@media (max-width: 768px) {

    .error-number {
        font-size: 100px;
    }

    .error-content h1 {
        font-size: 28px;
    }

    .error-content p {
        font-size: 16px;
    }

}