/*
  Azin Pash Tehran - Site Styles
*/

@font-face {
  font-family: Vazir;
  src: url("../fonts/Vazir-Regular.eot");
  src:
    url("../fonts/Vazir-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Vazir-Regular.woff2") format("woff2"),
    url("../fonts/Vazir-Regular.woff") format("woff"),
    url("../fonts/Vazir-Regular.ttf") format("truetype");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url("../fonts/Vazir-Bold.eot");
  src:
    url("../fonts/Vazir-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Vazir-Bold.woff2") format("woff2"),
    url("../fonts/Vazir-Bold.woff") format("woff"),
    url("../fonts/Vazir-Bold.ttf") format("truetype");
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url("../fonts/Vazir-Light.eot");
  src:
    url("../fonts/Vazir-Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Vazir-Light.woff2") format("woff2"),
    url("../fonts/Vazir-Light.woff") format("woff"),
    url("../fonts/Vazir-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: Vazir;
  src: url("../fonts/Vazir-Medium.eot");
  src:
    url("../fonts/Vazir-Medium.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Vazir-Medium.woff2") format("woff2"),
    url("../fonts/Vazir-Medium.woff") format("woff"),
    url("../fonts/Vazir-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Brand colors */
  --az-accent: #ce3333;
  --az-dark: #0f1115;
  --az-black: #000000;
  --az-white: #ffffff;

  /* Backgrounds */
  --az-bg: #ffffff;
  --bg-accent: #ce3333;
  --az-soft: #f3f6fb;
  --az-light: #f7f7f7;
  --az-gray: #e6e6e6;
  --az-product-gray: #efefef;
  --az-bg-overlay: rgba(10, 12, 16, 0.62);
  --az-dark-overlay: rgba(20, 20, 20, 0.78);
  --az-red-overlay: rgba(206, 51, 51, 0.847);

  /* Legacy aliases - keep for existing HTML */
  --bg-color-1: var(--az-gray);
  --bg-color-2: var(--az-accent);
  --bg-color-3: #222428;
  --bg-color-4: var(--az-light);
  --bg-color-5: var(--az-product-gray);

  /* Text */
  --text: #000000;
  --az-text: #232323;
  --az-text-2: #616161;
  --text-ccc: #cccccc;
  --muted: #6b7280;
  --az-muted: #8a8a8a;
  --az-card-desc: #6c757d;

  /* Borders and shadows */
  --az-border: #e2e2e2;
  --az-border-light: #e6e6e6;
  --az-border-dark: rgba(255, 255, 255, 0.14);
  --az-card-border: rgba(255, 255, 255, 0.14);
  --az-card: #ffffff;
  --az-card-bg: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --az-shadow: 0 10px 24px rgba(15, 17, 21, 0.06);
  --az-image-radius: 14px;

  /* Dropdown */
  --az-dd-bg: #ffffff;
  --az-dd-border: rgba(0, 0, 0, 0.08);
  --az-dd-muted: rgba(17, 17, 17, 0.65);
  --az-dd-hover: rgba(206, 51, 51, 0.08);
  --az-dd-accent: var(--az-accent);

  /* Split project detail */
  --az-split-text: rgba(255, 255, 255, 0.786);
  --az-split-muted: rgba(255, 255, 255, 0.64);
  --az-split-line: rgba(255, 255, 255, 0.14);
  --az-split-accent: var(--az-accent);

  /* Bootstrap accordion icon */
  --az-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ce3333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

body,
p,
a,
li,
div,
span,
input,
textarea,
button,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Vazir", sans-serif;
}

.bg-color-1 {
  background-color: var(--bg-color-1);
}
.bg-color-2 {
  background-color: var(--bg-color-2);
}
.bg-color-3 {
  background-color: var(--bg-color-3);
}
.bg-color-4 {
  background-color: var(--bg-color-4);
}
.bg-color-5 {
  background-color: var(--bg-color-5);
}
.bg-accent {
  background-color: var(--bg-accent);
}

/* ===================================
   Buttons
=================================== */
.az-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 15px;
  border-radius: 999px;
  border: none;
  background: var(--bg-color-2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}
.az-btn i {
  margin-top: 0.18rem;
  margin-left: 0.05rem;
}

.az-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: #232323;
  z-index: -1;
  transition: width 0.4s ease;
  border-radius: inherit;
}

.az-btn-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--bg-color-2);
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.4s ease,
    color 0.4s ease,
    transform 0.4s ease;
}

.az-btn:hover::before {
  width: 100%;
}

.az-btn:hover .az-btn-icon {
  background: var(--bg-color-2);
  color: #fff;
}
.az-btn:hover {
  color: white;
}

.cta-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.cta-btn:hover {
  color: var(--text);
  filter: brightness(0.97);
}
.az-back-btn {
  background: #ce3333;
  color: #fff;
  border-radius: 50px;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}
.az-back-btn:hover {
  color: white;
}
/* ===================================
   Typography & Utilities
=================================== */

.az-accent {
  color: var(--az-accent);
}
.text-justify {
  text-align: justify;
}
.text-accent {
  color: var(--az-accent);
}
.text-ccc {
  color: var(--text-ccc);
}
.hover-accent:hover {
  color: var(--az-accent);
}
/* End Typography & Utilities */
.border-color-2 {
  border-color: var(--az-accent);
}
.btn-no-hover:hover,
.btn-no-hover:focus,
.btn-no-hover:active {
  background-color: inherit !important;
  color: inherit !important;
  border-color: inherit !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed)::after {
  background-image: var(--az-accordion-btn-active-icon) !important;
}
.accordion-button:focus {
  box-shadow: none;
}
.az-dots {
  position: absolute;
  top: -24px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(#ce3333 1.4px, transparent 1.4px);
  background-size: 12px 12px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 3;
}
.nav-tabs .nav-link {
  color: black;
}
.nav-tabs .nav-link.active {
  color: var(--az-accent);
}
.az-search-icon {
  -webkit-text-stroke: 0.6px;
}
/*******************  swiper controls *********************/
.az-swiper-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2rem;
  justify-content: flex-end;
}

.az-swiper-controls .swiper-button-next,
.az-swiper-controls .swiper-button-prev {
  position: static !important;
  margin: 0 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 35px;
  height: 35px;
  background: #000000;
  border: 1px solid #111;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.az-swiper-controls .swiper-button-next::after,
.az-swiper-controls .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}
/****************** swiper controls end  **********************/

/****************** Divider **********************/
.az-divider {
  background: black;
  padding: 8px 0;
  font-size: 14px;
  position: relative;
  z-index: 10;
}

.az-divider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 54%;
  height: 100%;
  z-index: -1;
  background: var(--bg-color-2);
}
/****************** Divider end **********************/

/***************** Language Switch **********************/
.top-lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #bdbdbd;
}

.top-lang-switch .lang-item {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.25s ease;
}

.top-lang-switch .lang-item.active {
  color: var(--az-accent);
  font-weight: 700;
}

.lang-separator {
  opacity: 0.4;
}

/****************** Language Switch end **********************/

/************************************ NAVBAR ************************************/

.navbar .nav-link {
  color: #000;
  font-weight: 500;
  padding: 30px 10px;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--az-accent);
}

.navbar-nav .dropdown-menu {
  background: var(--az-dd-bg);
  border: 1px solid var(--az-dd-border);
  border-radius: 0;
  padding: 10px;
  min-width: 260px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0.3rem);
  }
}

.navbar-nav .dropdown-item {
  color: var(--text);
  border-radius: 0;
  padding: 10px 12px;
  font-size: 14px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    padding-inline-start 0.18s ease;
  white-space: nowrap;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: transparent;
}

.navbar-nav .dropdown-item:hover span,
.navbar-nav .dropdown-item:hover svg,
.navbar-nav .dropdown-item:hover {
  color: var(--az-accent);
}

.navbar-nav .dropdown-menu li + li {
  margin-top: 4px;
}

.dropdown-submenu {
  position: relative;
}

.submenu-icon {
  transition: transform 0.25s ease;
  margin-inline-start: 0.5rem;
  flex: 0 0 auto;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  margin-top: -6px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
}

.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
  background: transparent;
  color: var(--az-accent);
}

/* =========================
   Mobile Offcanvas
========================= */

#offcanvasMenu.offcanvas {
  color: white;
  width: 100%;
}

/* Header */

#offcanvasMenu .offcanvas-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
}

#offcanvasMenu .btn-close {
  filter: none;
  opacity: 1;
  width: 2em;
  height: 2em;
}

#offcanvasMenu .btn-close:hover {
  opacity: 1;
}

#offcanvasMenu .offcanvas-body {
  background-color: var(--bg-accent);
  padding: 0;
}

#offcanvasMenu .navbar-nav {
  margin: 0;
  padding: 0;
}

#offcanvasMenu .nav-link {
  font-size: 18px;
  color: white;
  font-weight: 500;
  padding: 18px 22px;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
  border-radius: 0;
  opacity: 0.85;
}

#offcanvasMenu .nav-link.active {
  color: black;
}

#offcanvasMenu .nav-link[data-bs-toggle="collapse"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#offcanvasMenu .arrow {
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.85;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    color 0.2s ease;
}

#offcanvasMenu .nav-link[aria-expanded="true"] {
  color: white;
  opacity: 1;
}
.offcanvas.offcanvas-start {
  border-right: none;
  border-left: none;
}
#offcanvasMenu .nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.249);
}
#offcanvasMenu .nav-item:last-child {
  border-bottom: 0;
}

#offcanvasMenu .collapse.list-unstyled .nav-link {
  color: var(--text, #222);
}

#offcanvasMenu .collapse.list-unstyled .nav-link:hover,
#offcanvasMenu .collapse.list-unstyled .nav-link:focus {
  background: transparent;
  color: var(--az-accent);
}

.navbar-toggler:focus,
.btn-close:focus,
#offcanvasMenu .nav-link:focus {
  color: white;
  box-shadow: none;
  outline: none;
}

/************************************ END NAVBAR ************************************/

/**************************************** HERO ************************************/
.az-hero {
  position: relative;
}
#azHeroCarousel,
#azHeroCarousel .carousel-inner,
#azHeroCarousel .carousel-item {
  height: 500px;
}
.az-hero-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.az-hero-caption-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(16px, 4vw, 56px);
}
.az-hero-caption {
  width: 580px;
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.az-hero-title {
  margin: 0 0 15px;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 43px);
  line-height: 1.15;
  color: #111;
  justify-self: self-start;
}
.az-hero-text {
  margin: 0 0 25px;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.72);
}
.az-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 0px;
  text-decoration: none;
  font-weight: 700;
  background: var(--bg-color-2);
  color: #fff;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.az-hero-btn:hover {
  filter: brightness(0.95);
}
.az-hero-btn-icon {
  font-size: 18px;
  line-height: 1;
}
#azHeroCarousel .carousel-control-prev,
#azHeroCarousel .carousel-control-next {
  width: 64px;
  opacity: 0.9;
}
#azHeroCarousel .carousel-indicators {
  gap: 10px;
}
#azHeroCarousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(148, 148, 148, 0.551);
  opacity: 1;
  border: none;
  transition: all 0.3s ease;
}
#azHeroCarousel .carousel-indicators .active {
  background-color: var(--az-accent);
}
#azHeroCarousel .carousel-indicators [data-bs-target]:hover {
  background-color: #ffffff;
}
@media (max-width: 768px) {
  #azHeroCarousel,
  #azHeroCarousel .carousel-inner,
  #azHeroCarousel .carousel-item {
    height: 350px;
  }
}
@media (max-width: 992px) and (min-width: 769px) {
  #azHeroCarousel,
  #azHeroCarousel .carousel-inner,
  #azHeroCarousel .carousel-item {
    height: 450px;
  }
}

@media (max-width: 992px) {
  .az-hero-caption {
    width: 340px;
  }
}

@media (max-width: 576px) {
  .az-hero-caption {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .az-hero-caption-wrap {
    align-items: flex-center;
  }
  .az-hero-caption {
    margin-bottom: 18px;
  }
}
/*************************************** HERO END ************************************/
/*************************************** search ******************************/

.az-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 21, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
}

.az-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.az-search-wrapper {
  width: 90%;
  max-width: 600px;
  position: relative;
}

.az-search-input {
  width: 100%;
  height: 70px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  outline: none;
}

.az-search-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--az-accent, #ce3333);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.az-search-close {
  position: absolute;
  top: -60px;
  background: none;
  border: none;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/******************************** search END *******************************/
/******************************** Products **********************************/
.az-products-section {
  position: relative;
  background-image: url("/images/home/products/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.az-products-section .nav-link {
  color: black;
}
.az-products-section .nav-link.active {
  color: var(--az-accent);
}
.az-kicker {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.18);
}
.az-ap-card {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  color: #111;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  border: 1px solid rgba(0, 0, 0, 0.122);
  overflow: hidden;
  border-radius: 10px;
}

.az-ap-card__media {
  position: relative;
  overflow: hidden;
  background: var(--bg-color-1);
  border-bottom: 2px solid var(--az-accent);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.az-ap-card__media::before {
  position: absolute;
  content: "";
  top: -2rem;
  height: 69%;
  width: 30%;
  background: url("/images/products/line.png") center center no-repeat;
  overflow: hidden;
}
.az-ap-card__media img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
}
.az-ap-bottom {
  position: relative;
  overflow: hidden;
  background: var(--bg-color-1);
}
.az-ap-bottom::before {
  position: absolute;
  content: "";
  bottom: -3.5rem;
  height: 69%;
  width: 30%;
  background: url("/images/products/line.png") center center no-repeat;
  overflow: hidden;
}

.az-ap-card__title {
  position: relative;
  text-align: start;
  padding: 14px 10px 12px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.az-ap-card__title h6 {
  color: black;
}
.az-ap-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--az-accent);
}

.az-ap-card__meta {
  padding: 10px 6px 2px;
}
.az-product-card-desc {
  font-size: 0.8rem;
  color: var(--az-card-desc);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 0;
  padding: 0.6rem 0.5rem;
  text-align: justify;
  line-height: 1.8;
}

.az-ap-card__footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
  padding: 0.6rem 0.5rem;
}

.az-ap-industries {
  padding: 12px 0.5rem 12px 0.5rem;
}

.az-ap-industries__head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.az-ap-industries__head i {
  font-size: 0.9rem;
  color: var(--az-accent);
}

.az-ap-industries__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.az-industry-tag {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.05);
  padding: 6px 12px;
  border-radius: 20px;
  color: #444;
  transition: all 0.2s ease;
}

/********************************* Products End ********************************/

/************************************* Blog   ****************************/

.az-article-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.3s ease;
}

.az-article-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--bg-color-2);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.45s ease;
}

.az-article-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.az-article-media {
  position: relative;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}
.az-article-img {
  height: 240px; /* قابل تغییر */
  object-fit: cover;
  display: block;
}

.az-article-date {
  position: absolute;
  top: -35px;
  width: 65px;
  height: 65px;
  background: var(--bg-color-2);
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 5;
}

.az-article-day {
  font-size: 26px;
  font-weight: 800;
}
.az-article-month {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}

/* Text */
.az-article-cat {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #7a7a7a;
  margin-top: 10px;
}
.az-article-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: black;
  display: -webkit-box;
  line-height: 1.8;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.8em * 2);
}

/* Link */
.az-article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--bg-color-2);
  transition: 0.2s ease;
}

/**************************************** Blog END************************************/

/**************************************** ABOUT ************************************/
.about-us-section {
  position: relative;
  background-image: url("/images/home/about-us/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.about-us-video-wrapper {
  position: relative;
  max-height: clamp(240px, 40vw, 420px);
  overflow: hidden;
  border-radius: 8px;
}
/* هاله تیره */
.about-us-video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.35);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 2;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}
.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.04);
}
.video-play-btn i {
  margin-left: 6px;
  margin-top: 8px;
}
.video-play-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

/**************************************** ABOUT END ************************************/

/************************************* PROJECTS *************************************/
.projects-section {
  position: relative;
  background-image: url("/images/home/projects/background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.projects-section .az-project-card {
  position: relative;
  z-index: 0;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: var(--az-image-radius);
}

.projects-section .az-project-card::before {
  content: "";
  position: absolute;
  inset: auto 0 -14px 0;
  margin: auto;
  width: 94%;
  height: calc(100% - 14px);
  border: 2px solid #353944;
  transition: border-color 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

.projects-section .az-project-media {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--az-image-radius);
}

@media (max-width: 575.98px) {
  .projects-section .az-project-media {
    height: 320px;
  }
}

/* تصویر */
.projects-section .az-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  will-change: transform;
}

/* ===============================
   Red Hover Overlay
================================ */

.projects-section .az-project-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(214, 3, 0, 0.75) 0%,
    rgba(214, 3, 0, 0.45) 35%,
    rgba(214, 3, 0, 0.2) 65%,
    rgba(214, 3, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* ===============================
   Bottom Content
================================ */

.projects-section .az-project-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;

  padding: 14px 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(2px);

  border-top: 2px solid var(--bg-color-2);

  /* حالت بسته */
  transform: translateY(56px);
  transition: transform 0.45s ease;
  will-change: transform;
}

/* Meta */
.projects-section .az-project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--az-accent);
  margin-bottom: 8px;
}

.projects-section .az-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--az-accent);
}

/* Title */
.projects-section .az-project-title {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;

  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA */
.projects-section .az-project-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;

  font-size: 14px;
  color: #fff;

  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.projects-section .az-readmore {
  white-space: nowrap;
}

/* ===============================
   Hover & Focus States
================================ */

.projects-section .az-project-card:hover .az-project-img {
  transform: scale(1.05);
}

.projects-section .az-project-card:hover .az-project-hover {
  opacity: 1;
}

.projects-section .az-project-card:hover .az-project-content {
  transform: translateY(0);
}

.projects-section .az-project-card:hover .az-project-cta {
  opacity: 1;
  transform: translateY(0);
}

.projects-section .az-project-card:hover::before {
  border-color: var(--az-accent);
}

/* کیبورد (Accessibility) */
.projects-section .az-project-link:focus-visible .az-project-hover {
  opacity: 1;
}

.projects-section .az-project-link:focus-visible .az-project-content {
  transform: translateY(0);
}

.projects-section .az-project-link:focus-visible .az-project-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   Touch / Mobile
================================ */

@media (hover: none) {
  .projects-section .az-project-content {
    transform: translateY(0);
  }

  .projects-section .az-project-cta {
    opacity: 1;
    transform: translateY(0);
  }
}

/************************************* PROJECTS *************************************/
/********************* International Collaboration with China *************************/
.az-contract-section {
  position: relative;
  padding: 5rem 0;
  background-image: url("/images/home/partnership/background.jpg"); /* عکس بک‌گراند */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #e5e7eb;
  overflow: hidden;
}

.az-contract-section > .container {
  position: relative;
  z-index: 1;
}

/********************* International Collaboration with China END *********************/

/************************************ Clients ************************************/

.client-card {
  height: 110px;
  padding: 14px;
  background: #fff;
  width: 100%;
  background: #fff;
}

.client-card img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.client-card:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}

/************************************ Clients END ************************************/
/************************************ stats ************************************/
.stats-section {
  position: relative;
  background-image: url("/images/home/stats/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  width: 100%;
}
.stats-section .section-title.t_center p {
  position: relative;
  display: inline-block;
  padding: 0 1rem;
}

.stats-section .section-title.t_center p::before,
.stats-section .section-title.t_center p::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  height: 1.5px;
  width: min(30rem, 28vw);
  background: #3a3e49;
  opacity: 0.9;
}

.stats-section .section-title.t_center p::before {
  right: 100%;
  margin-right: 1rem;
}

.stats-section .section-title.t_center p::after {
  left: 100%;
  margin-left: 1rem;
}
.counter-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

@media (max-width: 991.98px) {
  .stats-section .section-title.t_center p::before,
  .stats-section .section-title.t_center p::after {
    display: none;
  }
}
/************************************  stats END ************************************/
/************************************ Footer *************************************/

.footer-section {
  position: relative;
  background-image: url("/images/footer/bg.jpg");
  background-color: black;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

/* Social buttons */

.az-social {
  width: 36px;
  height: 36px;
  color: #fff;
  background-color: var(--az-accent);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.15s ease;
}

.az-social i {
  margin-top: 0.2rem;
}

/* SVG */

.az-social-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.az-social-img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
}

.az-social:hover {
  background-color: white;
  color: var(--az-accent);
}

/************************************* Footer END *************************************/

/************************************ WHATSAPP-BTN ************************************/

.whatsapp-float {
  position: fixed;
  bottom: 2.8rem;
  z-index: 999;

  padding: 25px 18px;
  width: auto;
  height: 50px;

  border-radius: 999px;
  background-color: #27a655;
  color: #fff;

  font-size: 0.8rem;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  text-decoration: none;

  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float i {
  margin-top: 0.2rem;
}

/* Hover */

.whatsapp-float:hover {
  background-color: #25d366;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
  color: #fff;
}

/* Focus */

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.6);
  outline-offset: 4px;
}

/************************************ WHATSAPP-BTN END ************************************/

/************************************ scrollToTop-BTN ************************************/

.scroll-to-top-btn {
  position: fixed;
  bottom: 2.8rem;
  z-index: 999;

  width: 50px;
  height: 50px;

  border: none;
  border-radius: 999px;

  background-color: var(--bg-color-2);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.6rem;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.3s ease;
}

.scroll-to-top-btn i {
  margin-top: 0.2rem;
}

.scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background-color: var(--az-accent);
}

.scroll-to-top-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

/************************************ scrollToTop-BTN END ************************************/
