@import url("https://fonts.googleapis.com/css2?family=Lalezar&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  --main-text-color: #e4fde1;
  --active-text-color: #ffd700;
  --dark-text-color: #1e1b18;
  --Blue-text-color: #46bd8f;
  --Red-text-color: #dd1c33;
  --hover-text-color: #ffffff;
  --border-text-color: #131110;

  --main-background-color: #1e1b18;
  --active-background-color: #ffd700;
  --main-opacity-background-color: #1e1b18e2;
  --Shadow-opacity-background-color: rgb(19, 17, 16);
  --footer-background-color: #131110;

  --head-company-font-family: "Lalezar", serif;
  --head-company-font-style: normal;

  --desc-font-family: "Rubik", serif;
  --desc-font-optical-sizing: auto;
  --desc-font-style: normal;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--main-background-color);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
html {
  scroll-behavior: smooth;
}

html,
body,
img {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

a {
  text-decoration: none;
  color: inherit; /* Inherits color from parent (optional: or set a specific color) */
}

#preloader {
  background-color: var(--main-background-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}
.loader {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.line {
  position: absolute;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: rotate 1.5s linear infinite;
}
.line1 {
  width: 80px;
  height: 80px;
  border-top-color: var(--active-text-color);
}
.line2 {
  width: 60px;
  height: 60px;
  border-top-color: var(--Blue-text-color);
  animation-delay: -0.3s;
}
.line3 {
  width: 40px;
  height: 40px;
  border-top-color: var(--Red-text-color);
  animation-delay: -0.6s;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#main-Content {
  display: block;
}
.slideshow-Container {
  position: relative;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  max-width: 100vw;
}
.slideshow-arrow-left-Container,
.slideshow-arrow-right-Container {
  position: absolute;
  width: 0;
  height: 100%;
  top: 10.9%;
  z-index: 1500000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease;
  width: 12%;
}

.slideshow-arrow-left-Container {
  left: 0;
}

.slideshow-arrow-right-Container {
  right: 0;
}

.prev-slideshow,
.next-slideshow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 65px;
  cursor: pointer;
  z-index: 10;
  color: var(--main-text-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prev-slideshow:hover,
.next-slideshow:hover {
  color: var(--active-text-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 1;
}
.slideshow-arrow-left-Container:hover,
.slideshow-arrow-right-Container:hover {
  background-color: var(--main-opacity-background-color);
  opacity: 0.81; /* Add this */
}
.slideshow-Page {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  max-width: 100%;

}
.slider-active {
  display: block;
  opacity: 1;
}
.slidershow-Img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  object-fit: cover; /* تصویر داخل قاب بمونه */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}
.slideshow-Container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(30, 27, 24, 0.05) 0%,
    rgba(30, 27, 24, 0.05) 25%,
    rgba(30, 27, 24, 0.35) 50%,
    rgba(30, 27, 24, 1.0) 100%
  );
  z-index: 5;
  pointer-events: none;
}
.slideshow-Text1,
.slideshow-Text2 {
  position: absolute;
  z-index: 10;
  margin: 0;
  transition: color 0.5s ease-in-out;
  color: var(--main-text-color);
  background-color: #1e1b18ef;
  padding: 15px;
  direction: rtl;
  text-align: right;
  width: 40vw;
  border-radius: 4px;
}
.slideshow-Text1 {
  top: 75%;
  right: 60%;
  font-size: 1.5em;
  font-family: var(--head-company-font-family);
  font-weight: 300;
  font-style: var(--head-company-font-style);
}
.slideshow-Text2 {
  top: 85%;
  right: 60%;
  font-size: 1em;
  font-family: var(--desc-company-font-family);
  font-weight: 900;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
}
.slidershow-Dots {
  position: relative; /* تغییر از absolute به relative */
  bottom: 35px; /* حذف موقعیت ثابت */
  left: auto; /* بازنشانی موقعیت */
  transform: none; /* حذف ترنسفورم */
  display: flex;
  justify-content: center; /* مرکز کردن افقی */
  align-items: center; /* مرکز کردن عمودی */
  z-index: 11;
  width: 100%; /* عرض کامل */
  padding: 10px 0; /* padding برای فاصله */
}
.slidershow-Dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  margin: 0 3px;
  cursor: pointer;
  opacity: 0.4;
  box-shadow: 1px 1px 6px rgb(0, 0, 0), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--main-text-color);
}
.slidershow-Dot.active {
  opacity: 1;
  background-color: var(--active-text-color);
  box-shadow: 2px 2px 2px var(--dark-text-color);
}
.header-container {
  background-color: var(--main-opacity-background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 13;
  height: 80px;
  width: 100%;
  position: absolute;
  top: 0;
}
.logo img,
.Header_logo img {
  height: 55px;
  width: 70px;
  border-radius: 50%;
  filter: drop-shadow(0px 2px 4px var(--dark-text-color));
  transition: transform 0.3s ease;
  border: var(--dark-text-color) 2px solid;
}
.Header_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  width: 100%;
  padding: 0 16px; /* جلوگیری از برون‌زدن آیتم‌ها */
  box-sizing: border-box;
}
.header-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}
.header-nav li {
  position: relative;
}
.header-nav a {
  color: var(--main-text-color);
  text-decoration: none;
  padding: 5px 10px;
  position: relative;
  text-shadow: 1px 1px 1px var(--dark-text-color);
  transition: color 0.3s ease;
  white-space: nowrap; /* Prevents breaking into multiple lines */
  font-size: 1.1rem;
  font-family: var(--desc-company-font-family);
  font-weight: 300;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);

  display: block; /* Makes <a> tag behave like a block element, so it occupies its own space */
  max-width: 150px; /* Sets a maximum width to prevent overflow */
  overflow: hidden; /* Hides any text that exceeds the max-width */
  text-overflow: ellipsis; /* Adds an ellipsis (...) if text overflows */
  box-sizing: border-box; /* Ensures padding is included in the width calculation */
}
.header-nav a:hover {
  color: var(--active-text-color);
}

.header-nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  height: 10px;
  width: 0.4px;
  background-color: var(--main-text-color);
  top: 15px;
  opacity: 0.5;
  box-shadow: 1px 1px var(--dark-text-color);
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .header-nav ul {
    align-items: center;
    width: 100%;
    gap: 5px;
  }
  .header-nav li {
    width: 100%;
    text-align: center;
  }
  .header-nav a {
    font-size: 10px;
    margin: -10px;
    max-width: 80px;
  }
  .header-nav li:not(:last-child)::after {
    width: 0;
  }
  .logo img,
  .Header_logo img {
    height: 40px;
    width: 45px;
  }
  .Header_logo {
    margin: 0 20px;
  }
}
.dropdown-content {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: none;
  position: absolute;
  top: 55px;
  right: 0;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  width: 150px;
  border-radius: 0 0 6px 6px;
  margin-right: -20px;
  background-color: var(--main-opacity-background-color);
}
.dropdown-content a {
  color: var(--main-text-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
  border-radius: 6px;
  text-align: right;
}
.dropdown-content a:hover {
  background-color: var(--main-opacity-background-color);
}
.dropdown:hover .dropdown-content,
.dropdown.show .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-Text-Container {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align items to the right */
  justify-content: center;
  position: absolute;
  top: 23%;
  right: 25vh;
  transform: translateX(0); /* Removed -50% to start from the right */
  z-index: 15;
}
.main-Text {
  font-size: 3em;
  margin: 0;
  color: var(--Blue-text-color);
  text-shadow: 1px 1px 1px var(--dark-text-color);
  text-align: right; /* Right-align text */
  font-family: var(--head-company-font-family);
  font-weight: 300;
  font-style: var(--head-company-font-style);
}
.main-Text-Desc-Container {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align items to the right within this container */
  gap: 12px;

}
.main-Text-Desc {
  font-size: 1.2em;
  margin-left: 0; /* Remove margin from the left */
  color: var(--main-text-color);
  text-shadow: 1px 1px 1px var(--dark-text-color);
  text-align: right; /* Right-align description text */
  font-family: var(--desc-company-font-family);
  font-weight: 600;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
}

@media (max-width: 480px) {
  .main-Text {
    font-size: 1.5em;
  }

  .main-Text-Desc {
    font-size: 0.9em;
  }
}
.fa-caret-right {
  font-size: 1.2em;
  color: var(--main-text-color);
  text-shadow: 1px 1px 1px var(--dark-text-color);
}

.grid-Item-Head-Text::before {
  content: "";
  width: 100px;
  height: 1px;
  background: linear-gradient(
    to right,
    #f7b43800,
    #f7b43800,
    #f7b43831,
    #f7b43886,
    #f7b438a3
  );
  margin: 0 50px;
  text-shadow: 1px 1px 1px var(--dark-text-color);
}
.grid-Item-Head-Text::after {
  content: "";
  width: 100px;
  height: 1px;
  background: linear-gradient(
    to left,
    #f7b43800,
    #f7b43800,
    #f7b43831,
    #f7b43886,
    #f7b438a3
  );
  margin: 0 50px;
  text-shadow: 1px 1px 1px var(--dark-text-color);
}
.grid-Item-Head-Text {
  white-space: nowrap; /* Prevents breaking into multiple lines */
  align-items: center;
  text-align: center;
  text-shadow: 1px 1px 1px var(--dark-text-color);
  color: var(--main-text-color);
  font-size: 4rem;
  margin-top: 13vh;
  display: flex;
  justify-content: center;
  font-family: var(--head-company-font-family);
  font-weight: 100;
  font-style: var(--head-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
}
.grid-Container-Intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
  margin: 15vh;
  margin-top: 13vh;
  column-gap: 0px;
  row-gap: 85px;
}
.grid-Container-Intro a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.grid-Item-Intro {
  width: 305px;
  height: 355px;
  text-align: center;
  border-radius: 32.055px;
  position: relative;
  background-color: var(--main-background-color);
  box-shadow: 2px 1px 3px 2px var(--Shadow-opacity-background-color);
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.grid-Item-Intro:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 15px var(--Shadow-opacity-background-color);
  opacity: 5;
}
.grid-Item-Intro:hover .grid-Item-Desc-Desc-Text {
  color: var(--hover-text-color);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
  transition: none;
}
.grid-Item-Intro::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -1px;
  right: -4px;
  bottom: -1px;
  z-index: -1;
  border-radius: 32.055px;
  background: linear-gradient(
    to bottom,
    #f7b538,
    #f7b438d5,
    #1e1b1896,
    #1e1b18
  );
  padding: 1px;
  transition: background 0.3s ease;
}
.grid-Item-Intro-Red::before {
  background: linear-gradient(
    to bottom,
    #dd1c33,
    #dd1c33e0,
    #1e1b1896,
    #1e1b18
  );
}
.grid-Item-Intro-Red:hover::before {
  background: linear-gradient(
    to bottom,
    #dd1c33,
    #dd1c339d,
    #dd1c333f,
    #dd1c330f,
    #1e1b18
  );
}
.grid-Item-Intro-Orange::before {
  background: linear-gradient(
    to bottom,
    #f7b538,
    #f7b5389d,
    #f7b5383f,
    #f7b5380f,
    #1e1b18
  );
}
.grid-Item-Intro-Orange:hover::before {
  background: linear-gradient(
    to bottom,
    #f7b538,
    #f7b43879,
    rgba(30, 27, 24, 0.051) 18,
    #1e1b18
  );
}
.grid-Item-Intro-Blue::before {
  background: linear-gradient(
    to bottom,
    #46bd8f,
    #46bd8fcd,
    #1e1b1896,
    #1e1b18
  );
}
.grid-Item-Intro-Blue:hover::before {
  background: linear-gradient(
    to bottom,
    #46bd8f,
    #46bd8f9d,
    #46bd8f3f,
    #46bd8f0f,
    #1e1b18
  );
}
.grid-Item-Intro:not(:hover) {
  transition: none;
}
.grid-Item-Intro-Images {
  height: 140px;
  width: 140px;
  margin-top: -65px;
}
.grid-Item-Desc-Head-Text {
  align-items: center;
  text-align: center;
  text-shadow: 1px 1px 1px var(--dark-text-color);
  color: var(--hover-text-color);
  font-size: 34px;
  margin-top: 20px;
  font-family: var(--head-company-font-family);
  font-weight: 100;
  font-style: var(--head-company-font-style);
}
.grid-Item-Desc-Desc-Text {
  text-shadow: 1px 1px 1px var(--dark-text-color);
  color: var(--main-text-color);
  font-size: 18px;
  direction: rtl;
  text-align: right;
  overflow: hidden;
  width: 75%;
  height: 50%;
  margin-left: 15%;
  margin-top: -25px;
  text-align: justify;
  overflow-y: auto;
  white-space: normal;
  text-overflow: ellipsis;
  display: block;
  word-break: break-word;
  line-height: 1.5;
  font-family: var(--desc-company-font-family);
  font-weight: 200;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
}
/* Base styling remains the same */

/* Responsive adjustments for tablets and smaller devices */
@media (max-width: 1024px) {
  .grid-Container-Intro {
    grid-template-columns: repeat(2, 1fr); /* Change to 2 columns */
    margin: 10vh;
    row-gap: 50px;
    column-gap: 20px;
  }

  .grid-Item-Intro {
    width: 260px;
    height: 320px;
  }

  .grid-Item-Intro-Images {
    height: 120px;
    width: 120px;
    margin-top: -45px;
    margin-left: 15px;
  }

  .grid-Item-Desc-Head-Text {
    font-size: 28px;
    margin-top: 20px;
  }

  .grid-Item-Desc-Desc-Text {
    font-size: 16px;
    width: 80%;
    height: auto;
    margin-left: 10%;
  }
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
  .grid-Container-Intro {
    grid-template-columns: 1fr; /* Single-column layout */
    margin: 5vh;
    row-gap: 40px;
  }

  .grid-Item-Intro {
    width: 90%;
    height: auto;
    padding: 10px;
  }

  .grid-Item-Intro-Images {
    height: 100px;
    width: 100px;
    margin-top: -30px;
    margin-left: 10px;
  }

  .grid-Item-Desc-Head-Text {
    font-size: 24px;
    margin-top: 15px;
  }

  .grid-Item-Desc-Desc-Text {
    font-size: 14px;
    width: 90%;
    margin-left: 5%;
  }
}

/* Fine-tuning for very small devices */
@media (max-width: 480px) {
  .grid-Container-Intro {
    margin: 3vh;
    row-gap: 20px;
    gap: 40px;
  }
.slidershow-Dots{
   bottom:30px;
}
  .grid-Item-Head-Text {
    font-size: 28px;
  }
  .grid-Item-Intro {
    width: 100%;
    padding: 5px;
  }

  .grid-Item-Intro-Images {
    height: 80px;
    width: 80px;
    margin-top: -20px;
    margin-left: 5px;
  }

  .grid-Item-Desc-Head-Text {
    font-size: 20px;
  }

  .grid-Item-Desc-Desc-Text {
    font-size: 12px;
    margin-top: 2%;
  }
}

.sliding-Card-Container {
  width: 100vw;
  height: 40vh;
  background-color: #13111010;
  border-top: #131110 3px solid;
  border-bottom: #131110 3px solid;
  margin-right: 1vw;
  filter: drop-shadow(1px 4px 4px rgba(0, 0, 0, 0.258));
  box-shadow: 2px 1px 3px 2px rgb(19, 17, 16);
  display: flex;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  align-items: center;
  transition: transform 0.5s ease;
  padding: 0;
}
.sliding-Card-Wrapper {
  display: flex;
  transition: transform 0.5s ease;
  justify-content: center; /* Center the items in the wrapper */
}
.sliding-Card-Item {
  width: 362px;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-right: 10px;
  border-radius: 8px;
}
.sliding-Card-Item:last-child {
  margin-right: 0;
}
.sliding-Card-Item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -8px;
  width: 1px;
  height: 80%;
  background: linear-gradient(
    to Bottom,
    #e4fde100,
    #e4fde156,
    #e4fde1,
    #e4fde156,
    #e4fde100
  );
  border-radius: 2px;
}
.sliding-Card-Item img.item-image {
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sliding-Card-Item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.sliding-Card-Item h4.item-title {
  margin: 25px 0 5px;
  text-shadow: 1px 1px 1px var(--dark-text-color);
  color: var(--hover-text-color);
  font-size: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--head-company-font-family);
  font-weight: 100;
  font-style: var(--head-company-font-style);
}
.sliding-Card-Item:hover .item-image,
.sliding-Card-Item:hover .item-title {
  transform: scale(1.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sliding-Card-Item:hover .item-title {
  color: var(--active-text-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prev,
.next {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;

  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  color: var(--main-text-color);
  transition: background-color 0.3s ease, transform 0.3s ease;
  background-color: #1311104c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}
.prev:hover,
.next:hover {
  color: var(--active-text-color);
  background-color: #131110cb;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
}
.prev {
  left: 35px;
}
.next {
  right: 35px;
}
.pointer {
  cursor: pointer;
}
.cursor-Normal {
  cursor: default;
}

@media (max-width: 768px) {
  .sliding-Card-Container {
    width: 100%;
    height: auto;
    overflow-y: hidden;
    left: 0;
    gap: 0;
    -webkit-overflow-scrolling: touch;
  }

  .sliding-Card-Wrapper {
    flex-wrap: nowrap;
    width: max-content;
    justify-content: flex-start;
    gap: 12px;
    transition: none !important;
    transform: none !important;
    left: 0 !important;
  }

  .sliding-Card-Item {
    width: 210px;
    min-width: 175px;
    scroll-snap-align: start;
    margin: 10px 10px;
    transform: scale(0.9);
  }

  .sliding-Card-Item h4.item-title {
    font-size: 16px;
  }

  .sliding-Card-Item img.item-image {
    max-width: 70px;
  }

  .grid-Item-Head-Text {
    font-size: 24px;
    margin-bottom: 10%;
  }
  .prev {
    left: 15px;
  }
  .next {
    right: 15px;
  }
}

.certificate-Page-Container {
  position: relative;
  top: 15vh;
  right: 3%;
  width: 80%;
  height: 86vh;
  stroke-width: 1px;
  margin: 0 auto; /* مرکز چین افقی */
  background-color: #13111010;
  filter: drop-shadow(1px 4px 4px rgba(0, 0, 0, 0.258));
  border-radius: 22px;
  box-shadow: 0 0 3px 2px var(--Shadow-opacity-background-color);
  margin-bottom: 10vh !important;
}

/* سمت چپ (عکس + متن زیرش) */
.certificat-Page-Left {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.certificat-Page-Right {
  flex-direction: column;
  justify-content: center; /* وسط‌چین عمودی */
  align-items: center; /* وسط‌چین افقی داخل ستون راست */
  gap: 44px; /* فاصله عمودی بین آیتم‌ها — می‌تونی این رو تغییر بدی */
}
.certificate-Page-Dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 5%;
  left: 3%;
  background: linear-gradient(to right, #0000004f, #0000004f, #0000004f);
  border: 1px solid var(--border-background-color);
  text-shadow: 1px 1px 1px var(--dark-text-color);
}
.certificat-Page-Item {
  display: flex;
  flex-direction: row; /* مهم: ردیفی باشن (نه ستونی) */
  justify-content: space-between; /* دو طرف: چپ و راست */
  align-items: center;
  height: 100%;
  padding: 4vh 5%;
  gap: 2rem;
}
.certificat-Page-Left,
.certificat-Page-Right {
  flex: 0 0 48%;
  max-width: 48%;
  display: flex;
}
.certificat-Page-Items {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: var(--main-text-color);
  text-shadow: 1px 1px 1px rgb(19, 17, 16);
  direction: rtl;
  text-align: right;
  margin: 0; /* حذف margin-left:55% قدیمی */
  width: auto;
  justify-content: center; /* متن و آیکون داخل هر آیتم وسط‌چین افقی */
}

.certificat-Page-Head-Text {
  transform: rotate(90deg);
  position: absolute;
  right: -18%;
  margin-top: 36vh;
  text-shadow: 1px 1px 1px var(--dark-text-color);
  margin-top: 51vh;
}
.certificate-Page-Line {
  height: 1px; /* ارتفاع خط نسبت به کانتینر */
  width: 25%;
  transform: rotate(90deg);
  background: linear-gradient(
    to right,
    #e4fde100,
    #e4fde156,
    #e4fde1,
    #e4fde156,
    #e4fde100
  );
  position: absolute;
  top: 50%;
  left: 40%;
}

.certificat-Page-Pic-Container {
  width: 305px;
  height: auto;
  position: static; /* مهم: حذف absolute تا در فلو قرار بگیره */
  background-color: var(--main-background-color);
  border-radius: 24px;
  overflow: hidden;
  display: block;
}
.certificat-Page-Pic {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}
.certificat-Page-Head2-Text {
  margin: 0;
  padding-top: 6px;
  font-size: 20px;
  width: 100%;
  max-width: 305px;
  color: var(--active-text-color);
  text-align: center;
  position: static;
  top: auto;
  right: auto;
  text-wrap: nowrap;
  font-weight: bold;
  font-family: var(--head-company-font-family);
  font-weight: 100;
  font-style: var(--head-company-font-style);
}
.certificat-Page-Head2-Text-Active {
  text-shadow: 1px 1px 1px var(--dark-text-color);
  color: var(--active-text-color);
  font-weight: bold;
}
.certificat-Page-slidershow {
  width: 25vw;
  z-index: 11111;
  font-size: 22px;
  font-family: var(--desc-company-font-family);
  font-weight: 600;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
  text-wrap: nowrap;
}
.image-dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0.6;
  transform: scale(0.8);
  transition: opacity 0.1s ease, transform 0.3s ease;
}
.image-dialog.open {
  opacity: 1;
  transform: scale(1);
}
.image-dialog .dialog-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0px 0px 10px var(--Shadow-opacity-background-color);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.no-scroll {
  overflow: hidden;
}
.image-dialog.open .dialog-image {
  opacity: 1;
}
.zoomed {
  transform: scale(1.5);
  cursor: zoom-in;
}
.image-dialog .close-dialog {
  position: fixed;
  top: 5vh;
  left: 2vw;
  font-size: 28px;
  color: var(--main-text-color);
  cursor: pointer;
  font-weight: bold;
  opacity: 0.6;
}
.close-dialog:hover {
  color: var(--active-text-color);
  opacity: 1;
}

/* General styles for responsiveness */
@media (max-width: 1024px) {
  .certificate-Page-Container {
    width: 90vw; /* Adjust container width */
    height: 50vh; /* Reduce container height */
    border-radius: 16px;
    right: 0;
  }
  .image-dialog .close-dialog {
    left: 4vw;
  }
  .project-container {
    grid-template-columns: repeat(2, 1fr); /* Two items per row */
    width: 55%; /* Adjust width for better layout */
  }
  .certificat-Page-Item {
    gap: 20px; /* Reduce spacing between items */
  }

  .certificat-Page-Items {
    gap: 10px; /* Smaller gap between items */
    font-size: 20px; /* Smaller font size */
  }

  .certificat-Page-Head-Text {
    transform: none; /* حذف rotate */
    position: static; /* برگرده توی فلو طبیعی */
    text-align: center;
    margin: 20px auto; /* وسط‌چین افقی */
    margin-top: 18%;
    margin-bottom: -13%;
  }

  .certificate-Page-Line {
    width: 20%; /* Adjust line width */
    top: 48%; /* Adjust positioning */
  }

  .certificat-Page-Pic-Container {
    width: 275px;
    height: auto;
  }

  .certificat-Page-Pic {
    width: 100%;
    height: auto; /* Scale down image */
  }

  .certificat-Page-Head2-Text {
    font-size: 18px; /* Reduce font size */
    right: 20%;
    top: 67%;
  }

  .certificat-Page-slidershow {
    font-size: 13px; /* Smaller font for slidershow */
    width: 25vw; /* Adjust width */
  }
}

@media (max-width: 768px) {
  .certificate-Page-Container {
    right: 0;
  }
  .certificat-Page-Pic-Container {
    width: 160px;
    height: auto; /* حذف height:0 */
    position: static; /* حذف absolute */
  }
  .project-container {
    grid-template-columns: repeat(2, 1fr); /* Two items per row */
    width: 80%; /* Adjust width for better layout */
  }
  .certificat-Page-Item {
    gap: 8px;
  }

  .certificat-Page-Items {
    font-size: 14px;
    gap: 8px;
    position: relative;
    right: 10px;
  }

  .certificat-Page-Head-Text {
    transform: none; /* حذف rotate */
    position: static; /* برگرده توی فلو طبیعی */
    text-align: center;
    margin: 20px auto; /* وسط‌چین افقی */
    margin-top: 18%;
    margin-bottom: -13%;
  }

  .certificate-Page-Line {
    display: none;
  }

  .certificat-Page-Pic-Container {
    width: 220px;
    height: auto;
    top: 13%;
    left: 10%;
  }
  .certificat-Page-Right {
    margin-left: 8%;
  }
  .certificat-Page-Pic {
    width: 100%;
    height: auto; /* نسبت اصلی حفظ بشه */
    max-height: 220px; /* برای کنترل ارتفاع */
    border-radius: 16px;
  }

  .certificat-Page-Head2-Text {
    font-size: 13px;
    max-width: 160px;
    text-align: center;
    position: static; /* حذف offsetها */
    margin-top: 6px;
  }

  .certificat-Page-slidershow {
    font-size: 13px;
    width: 20vw;
  }
}

@media (max-width: 480px) {
  .certificate-Page-Container {
    right: 0;
  }
  .certificat-Page-Pic-Container {
    width: 140px;
    height: auto;
    position: static;
  }
  .project-container {
    grid-template-columns: repeat(2, 1fr); /* Two items per row */
    width: 80%; /* Adjust width for better layout */
  }

  .certificat-Page-Right {
    margin-right: -11%;
  }
  .certificat-Page-Item {
    gap: 6px;
  }

  .certificat-Page-Items {
    font-size: 12px;
    gap: 6px;
  }

  .certificat-Page-Head-Text {
    transform: none; /* حذف rotate */
    position: static; /* برگرده توی فلو طبیعی */
    text-align: center;
    margin: 20px auto; /* وسط‌چین افقی */
    margin-top: 18%;
    margin-bottom: -13%;
  }

  .certificate-Page-Line {
    display: none;
  }

  .certificat-Page-Pic-Container {
    width: 150px;
    height: auto;
    top: 8%;
    left: 4%;
  }

  .certificat-Page-Pic {
    width: 100%;
    height: auto;
    max-height: 180px;
    border-radius: 12px;
  }

  .certificat-Page-Head2-Text {
    font-size: 12px;
    max-width: 140px;
    text-align: center;
    margin-top: 4px;
  }

  .certificat-Page-slidershow {
    font-size: 10px;
    width: 28vw;
    text-wrap: wrap;
  }
}

.products-Dot-Right {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 3%;
  right: 3%;
  background: linear-gradient(to right, #0000004f, #0000004f, #0000004f);
  border: 1px solid var(--border-text-color);
  text-shadow: 1px 1px 1px var(--dark-text-color);
}
.products-Dot-left {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 3%;
  left: 3%;
  background: linear-gradient(to right, #0000004f, #0000004f, #0000004f);
  border: 1px solid var(--border-text-color);
  text-shadow: 1px 1px 1px var(--dark-text-color);
}
.helicopter-Servie-Container {
  max-width: 1020px; /* ⬅ تغییر دادم از width به max-width */
  width: 100%; /* همیشه تو عرض صفحه قرار بگیره */
  height: 625px;
  position: relative;
  top: 12vh;
  margin: auto;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  align-items: center; /* وسط‌چین عمودی در دسکتاپ */
  overflow-x: hidden;
  padding: 0 12px; /* جلوگیری از چسبیدن به لبهٔ viewport */
}
.helicopter-Servie-Text-Container {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.helicopter-Servie-Text-Head {
  text-align: center;
  text-shadow: 1px 1px 1px var(--dark-text-color);
  color: var(--main-text-color);
  font-size: 3.5rem;
  flex-wrap: wrap;
  margin-top: -5%;
}
.helicopter-Servie-Text-Desc {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
  color: var(--main-text-color);
  font-size: 1.4rem;
  transition: all 0.3s ease;
  margin-right: 30%;
  top: 5%;
}
.helicopter-Servie-Text-Desc h3 {
  text-shadow: 1px 1px 1px var(--dark-text-color);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  font-family: var(--desc-company-font-family);
  font-weight: 600;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
}
.helicopter-Servie-Text-Desc:hover h3,
.helicopter-Servie-Text-Desc:hover i {
  color: var(--active-text-color);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  transition: color 0.3s ease;
}

.helicopter-Servie-Pic-Container {
  width: 510px;
  height: 400px;
  position: absolute;
  top: 20%;
  right: 0;
  margin: auto;
}
.helicopter-Servie-Pic1-Container {
  width: 320px;
  height: 320px;
  position: absolute;
  top: 0;
  right: 0;
  background-image: url(../img/Helicopter-Services/heli2.jpg);
  background-size: cover;
  background-position: center;
}
.helicopter-Servie-Pic2-Container {
  width: 320px;
  height: 320px;
  position: absolute;
  bottom: 5%;
  left: 10%;
  border-color: var(--main-background-color);
  border-style: solid;
  border-width: 16px 16px 0 0;
  background-image: url(../img/Helicopter-Services/heli1.jpg);
  background-size: cover;
}

.products_Container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  padding-bottom: 10vh;
  gap: 30px;
  background-color: #13111043;
  border-radius: 22px;
  box-shadow: 0 0 3px 2px var(--Shadow-opacity-background-color);
  margin: 0 auto;
  filter: drop-shadow(1px 4px 4px rgba(0, 0, 0, 0.258));
  width: 85vw;
  position: relative;
  top: 18vh;
}
.product-Page-Dot-left,
.product-Page-Dot-right {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(to right, #0000004f, #0000004f, #0000004f);
  border: 1px solid var(--border-background-color);
  text-shadow: 1px 1px 1px var(--dark-text-color);
}
.product-Page-Dot-left {
  top: 2vh;
  left: -49%;
}
.product-Page-Dot-right {
  top: -4vh;
  left: 49%;
}
.product-Head-Text {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 30px;
  margin-top: -15px;
  white-space: nowrap; /* Prevents breaking into multiple lines */
}

.products-Row {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three sections horizontally */
  gap: 100px;
  width: 100%;
  max-width: 1200px;
}

.product-Section {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 25px;
  border-radius: 26px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.382);
  filter: drop-shadow(1px 4px 4px rgba(0, 0, 0, 0.458));
}

.section-title {
  font-size: 1.6rem;
  color: var(--main-text-color);
  opacity: 0.9;
  text-align: center;
}
.index-product-yellow-text {
  color: var(--active-text-color);
  border: 1px solid var(--footer-background-color);
  border-radius: 10%;
  padding: 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.482);
}
.index-product-blue-text {
  color: var(--Blue-text-color);
  border: 1px solid var(--footer-background-color);
  border-radius: 10%;
  padding: 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.482);
}
.index-product-red-text {
  color: var(--Red-text-color);
  border: 1px solid var(--footer-background-color);
  border-radius: 10%;
  padding: 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.482);
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #0000004f;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
  position: relative; /* For positioning pseudo-elements */
  transition: transform 0.3s ease;
  height: 450px;
}

.product:hover {
  transform: scale(1.05);
}

/* Create a pseudo-element for the hover effect on the right border */
.product-Yellow::after {
  content: "";
  position: absolute;
  top: 49%;
  right: 0; /* Position at the right side */
  width: 1px; /* Thickness of the border */
  height: 25%; /* 50% height of the product */
  background-color: var(--main-text-color); /* Color of the right border */
  opacity: 0.4;
}

/* Ensure the hover effect is smooth and the right border extends */
.product-Yellow:hover::after {
  opacity: 1;
  background-color: var(--active-text-color); /* Color of the right border */
}
.product-Red::after {
  content: "";
  position: absolute;
  top: 49%;
  right: 0; /* Position at the right side */
  width: 1px; /* Thickness of the border */
  height: 25%; /* 50% height of the product */
  background-color: var(--main-text-color); /* Color of the right border */
  opacity: 0.4;
}

/* Ensure the hover effect is smooth and the right border extends */
.product-Red:hover::after {
  opacity: 1;
  background-color: var(--Red-text-color); /* Color of the right border */
}
.product-Blue::after {
  content: "";
  position: absolute;
  top: 49%;
  right: 0; /* Position at the right side */
  width: 1px; /* Thickness of the border */
  height: 25%; /* 50% height of the product */
  background-color: var(--main-text-color); /* Color of the right border */
  opacity: 0.4;
}

/* Ensure the hover effect is smooth and the right border extends */
.product-Blue:hover::after {
  opacity: 1;
  background-color: var(--Blue-text-color); /* Color of the right border */
}

.product img {
  width: 100%;
  height: 150px; /* Reduced height */
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}
.product-item-text {
  text-decoration: none;
  font-size: 1.2rem;
  color: var(--main-text-color);
  line-height: 2.5;
  font-family: var(--desc-company-font-family);
  font-weight: 800;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
  width: 62%;
  height: 120px;
  margin-top: 22%;
}

.product-item-Read-more {
  font-size: 0.85rem;
  color: var(--main-text-color);
  text-decoration: none;
  margin-top: 5px;
  cursor: pointer;
  border: solid 1px var(--main-text-color);
  border-radius: 35px;
  padding: 1em 2em;
  font-family: var(--desc-company-font-family);
  font-weight: 100;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
}
.product-item-Read-more-Blue:hover {
  color: var(--Blue-text-color);
  border-color: var(--Blue-text-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-item-Read-more-Yellow:hover {
  color: var(--active-text-color);
  border-color: var(--active-text-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-item-Read-more-Red:hover {
  color: var(--Red-text-color);
  border-color: var(--Red-text-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.load-more {
  display: block;
  font-size: 1.2rem;
  color: var(--main-text-color);
  text-align: center;
  margin-top: 10px;
  text-decoration: none;
  padding: 1em 1em;
  opacity: 0.7;
  border: 1px solid transparent; /* Transparent border to maintain size */
  font-family: var(--desc-company-font-family);
  font-weight: 900;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
}

.load-more:hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: solid 1px var(--active-text-color);
  color: var(--active-text-color);
  opacity: 1;
  border-radius: 35px;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add a shadow effect */
}

.load-more:active {
  transform: scale(0.55); /* Subtle shrinking effect on click */
}

.load-more:hover,
.load-more:focus,
.load-more:focus-visible {
  outline: none; /* Avoid focus outline for better appearance */
}
.line-above-loadmore {
  width: 90%; /* Full width of the container */
  height: 2px; /* Height of the line */
  margin: 0 auto; /* Centers the line horizontally */
  background-color: var(
    --main-text-color
  ); /* Line color, adjust to match your design */
  opacity: 0.85;
  margin-bottom: -25px; /* Space between the line and the button */
}
/* Responsive Design */
@media (max-width: 1024px) {
  .products-Row {
    grid-template-columns: 1fr 1fr; /* Two sections horizontally */
  }
  .product-Head-text {
    font-size: 2.7rem;
  }
  .customer-Head-text {
    font-size: 1.7rem;
  }
  .product img {
    height: 100px; /* Reduced image height */
  }
  .product-item-text {
    position: relative;
    top: 4%;
  }
  .section-title {
    font-size: 1.3rem;
  }

  .load-more {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .customer-Head-text {
    font-size: 1.7rem;
  }
  .grid-Item-Head-Text {
    font-size: 20px !important;
  }
  .products-Row {
    grid-template-columns: 1fr; /* One section per row */
  }

  .product img {
    height: 90px;
  }

  .product-item-text {
    font-size: 0.8rem;
    position: relative;
    top: 4%;
  }

  .product-item-Read-more,
  .load-more {
    font-size: 0.75rem;
  }
}
.customer-Container {
  width: 100vw;
  position: relative;
  top: 18vh;
  padding: 20px;
  margin-bottom: 14%;
}

.customer-Head-text {
  white-space: nowrap;
  text-align: center; /* Center align text */
  font-size: 3rem;
}

.customer-Pic-Round-Container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
}

.customer-Pic-Round {
  width: 120px; /* Set a fixed width */
  height: 120px; /* Set a fixed height */
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: center;
  object-fit: cover; /* Ensure the image covers the area while maintaining aspect ratio */
  flex-shrink: 0; /* Prevent shrinking of images */
}

.customer-Pic-Round:hover {
  transform: scale(1.1);
  z-index: 1;
  box-shadow: 0 1px 5px var(--active-background-color);
}

/* Media Queries for Responsiveness */

/* For small tablets and phones */
@media (max-width: 768px) {
  .customer-Head-text {
    font-size: 2rem;
  }

  .customer-Pic-Round-Container {
    gap: 15px;
  }

  .customer-Pic-Round {
    width: 85px; /* Adjust width for smaller screens */
    height: 85px; /* Adjust height for smaller screens */
  }
}

/* For very small phones */
@media (max-width: 480px) {
  .customer-Head-text {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .customer-Pic-Round-Container {
    gap: 10px;
  }

  .customer-Pic-Round {
    width: 60px; /* Adjust width for smaller screens */
    height: 60px; /* Adjust height for smaller screens */
  }
  .product-Head-text {
    font-size: 2rem;
  }
}

footer {
  width: 100%;
  height: auto;
  background-color: var(--footer-background-color);
  position: relative;
  top: 7vh;
}
.foter-Head-Container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* بچسبن سمت راست (چون متن راست‌چین داری) */
  gap: 12px; /* فاصله بین لوگو و متن */
  margin-right: 0; /* حذف هر margin اضافی */
  margin-left: auto;
  max-width: 1200px; /* هم‌اندازه ستون‌های فوتر */
  padding: 0 16px; /* مثل ستون‌های فوتر */
  box-sizing: border-box;
  position: relative;
  top: 50px;
  margin: 0 auto; /* ✅ هم‌تراز با بقیه ستون‌ها */
  padding: 0 16px; /* ✅ فاصله‌ی داخلی یکسان با ستون‌ها */
  justify-content: right;
}
.footer_Logo {
  position: relative; /* از absolute خارج بشه */
  left: auto;
  top: auto;
  margin: 0;
  margin-right: 10px;
  text-align: center;
  width: 60px;
  position: relative; /* ✅ بجای absolute */
  height: auto;
  flex-shrink: 0; /* نذاره تو موبایل له بشه */
}
.footer_Logo a {
  text-decoration: none;
  display: inline-block;
}
.footer_Logo img {
  filter: brightness(80%);
  border-radius: 50%;
}
.footer_Logo img:hover {
  filter: brightness(60%);
}
.footer-Head-Text {
  color: var(--main-text-color);
  font: 28px;
  text-shadow: 1px 1px 1px var(--dark-text-color);
  font-size: 2em;
  text-align: center;
  margin: 0;
  position: relative;
  font-family: var(--head-company-font-family);
  font-weight: 300;
  font-style: var(--head-company-font-style);
}
.footer-Main-Link-Continer {
  width: 100%;
  height: 55%;
  align-items: center;
  text-align: center;
  margin-top: 11vh;
  display: flex;
  justify-content: center;
  gap: 150px;
}
.footer-Main-Item {
  display: flex;
  height: auto;
  justify-content: right;
  text-align: right;
  padding: 10px;
  white-space: nowrap;
}
.footer-Main-Item:last-child {
  margin-right: 0;
}
.footer-main-Head-Text {
  color: var(--main-text-color);
  font-size: 22px;
  position: relative;
  right: 14px;
}
.footer-Main-Text {
  color: var(--main-text-color);
  font-family: var(--desc-company-font-family);
  font-weight: 400;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
}
.footer-Main-Text a {
  text-decoration: none;
  color: inherit;
  margin: 15px;
  font-family: var(--desc-company-font-family);
  font-weight: 400;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
  display: block; /* Ensures spacing remains consistent */
}
.footer-Main-Text a:hover {
  color: var(--active-text-color);
  text-shadow: 1px 1px 1px var(--dark-text-color);
}
#Contact_Us .footer-Main-Text a {
  pointer-events: none; /* Disables hover and click events */
  color: inherit; /* Ensures consistent color with the rest of the footer */
  text-shadow: none; /* Removes hover effects */
  cursor: default; /* Ensures the cursor is not a pointer */
}

.footer-Main-Project,
.footer-Main-News,
.footer-Main-Address {
  width: auto;
  display: inline-block;
}
.footer-Main-News {
  position: relative;
  left: 2%;
}
.footer-Main-Address {
  margin-left: -100px;
}
.footer-Main-Item-Devider,
.footer-Main-Item-Devider-right {
  content: "";
  position: relative;
  left: 68%;
  top: 18vh;
  width: 120px;
  height: 1px;
  background: linear-gradient(
    to left,
    #f7b43802,
    #f7b43812,
    #f7b43835,
    #f7b43845,
    #f7b43860,
    #f7b43886,
    #f7b438a3
  );
  margin: 0 50px;
  transform: rotate(90deg);
}

.footer_Logo {
  order: 2; /* اول بیاد */
}

.footer-Head-Text {
  order: 1; /* بعدش بیاد */
}
.footer-Bottom-Item-Head-Text {
  color: var(--main-text-color);
  font-size: 22px;
  text-align: center;
  margin-top: 50px;
  position: relative;
  top: 1vh;
  opacity: 0.6;
  font-family: var(--desc-company-font-family);
  font-weight: 100;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
      text-indent: 0 Important;

}
.social-media-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #e4fde19e;
  position: relative;
  z-index: 1;
  width: 100%;
}
.social-icons a i {
  font-size: 26px;
}
.social-icons::before,
.social-icons::after {
  content: "";
  display: inline-block;
  width: 29vw;
  height: 1px;
  background-color: var(--main-text-color);
  opacity: 0.7;
  margin: -2px 10px;
  transform: translateY(7px);
}

.social-icons a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
  opacity: 0.8;
}

.social-icons a:hover {
  color: var(--active-text-color);
  opacity: 1;
}

.social-icons i {
  font-size: 2rem;
}
.footer-Copyright {
  display: flex; /* Align items in a single line */
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 15px;
  font-size: 0.9rem; /* Adjusts size for smaller screens */
  color: var(--main-text-color);
  opacity: 0.2;
  position: relative;
  flex-wrap: nowrap; /* Prevents wrapping */
}


.footer-Copyright i {
    margin-right: 8px;
}

.footer-Copyright-text {
  font-size: 1rem;
  font-family: var(--desc-company-font-family);
  font-weight: 100;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
  white-space: nowrap; /* Prevents text from breaking to a new line */
}
.footer-Logo {
  height: auto;
  width: 55px;
  border-radius: 50%;
  filter: drop-shadow(0px 2px 4px #1e1b18);
  transition: transform 0.3s ease;
  border: var(--border-text-color) 4px solid;
}

@media (min-width: 1025px) {
.slideshow-arrow-left-Container, .slideshow-arrow-right-Container{
    Top:0;
}

.footer-Copyright {
        justify-content: right;
        text-align: right;
        width: 87%;
        margin-top: -3%;
    }
}
@media (max-width: 768px) {
  .dropdown:hover .dropdown-content,
  .dropdown.show .dropdown-content {
    display: none;
  }
  .prev-slideshow,
  .next-slideshow {
    font-size: 18px;
  }
  .slideshow-arrow-left-Container,
  .slideshow-arrow-right-Container {
    top: 14.2%;
  }
  .main-Text-Container {
    padding: 10px;
    text-align: center;
    left: 73%;
  }
  .main-Text-Desc {
    font-size: 1em;
    text-wrap: nowrap;
  }
  .main-Text {
    font-size: 2rem;
    text-wrap: nowrap;
  }
  .main-Text-Desc {
    font-size: 1rem;
  }
  .slideshow-arrow-left-Container,
  .slideshow-arrow-right-Container {
    width: 15vh;
  }
  .slideshow-Text1 {
    font-size: 1em;
    text-wrap: nowrap;
    height: 45px;
  }
  .slideshow-Text2 {
    font-size: 0.7em;
    height: 35px;
  }
  .slideshow-Text1,
  .slideshow-Text2 {
    left: 50%; /* Center horizontally */
    right: auto; /* Reset the right position */
    transform: translateX(-50%); /* Center horizontally */
    width: auto; /* Allow width to shrink to fit content */
    max-width: 90%; /* Optional: Prevent overflowing on smaller screens */
    text-align: center; /* Center align text within the box */
  }

}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.glass-wa-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--main-text-color);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 20px;
  border-radius: 40px;
  font-size: 16px;
  font-family: var(--desc-company-font-family);
  font-weight: 800;
  font-style: var(--desc-company-font-style);
  font-optical-sizing: var(--desc-font-optical-sizing);
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  z-index: 1000;
}

.glass-wa-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.glass-wa-btn img {
  margin-left: 5px;
  width: 22px;
  height: 22px;
}
.glass-wa-btn span {
  display: inline;
  margin-top: 1px;
}

@media screen and (max-width: 768px) {
  .glass-wa-btn {
    padding: 12px;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }

  .glass-wa-btn span {
    display: none;
  }

  .glass-wa-btn img {
    margin-left: 0;
  }
}
/* Ipad And Tablet In LandScape */
@media (max-width: 1024px) and (min-width: 768px) {
  .helicopter-Servie-Container {
    width: 85%;
    top: 10vh;
    height: 475px;
  }
  .grid-Item-Head-Text {
    font-size: 2.8rem;
  }
  .helicopter-Servie-Text-Desc {
    font-size: 1.4rem;
  }
  .helicopter-Servie-Pic-Container {
    width: 275px;
    height: 200px;
    position: absolute;
    top: 25%;
    right: 0;
    margin: auto;
    z-index: 10;
  }
  .helicopter-Servie-Pic1-Container,
  .helicopter-Servie-Pic2-Container {
    width: 275px;
    height: 275px;
  }
  .helicopter-Servie-Pic1-Container {
    top: 0%;
    left: 5%;
    border-width: 6px 6px 0 0;
  }
  .helicopter-Servie-Pic2-Container {
    top: 20%;
    left: -30%;
    border-width: 6px 6px 0 0;
  }
  .customer-Container {
    top: 12vh;
    margin-bottom: 14%;
  }
  .foter-Head-Container {
    flex-direction: column; /* آیتم‌ها زیر هم */
    justify-content: center;
    align-items: center;
    text-align: center;
    top: 20px;
  }

  .footer_Logo {
    margin-right: 0;
    margin: 0 auto; /* وسط بیاد و فاصله از متن داشته باشه */
  }

  .footer-Head-Text {
    order: 2;
    margin: 0;
    text-align: center;
    font-size: 2rem; /* بزرگ‌تر از گوشی */
  }

  .footer-Main-Link-Continer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px; /* کمی فاصله بیشتر نسبت به موبایل */
    margin-top: 6vh;
  }

  .footer-Main-Item {
    justify-content: center;
    text-align: center;
    padding: 0;
  }
  .footer-Main-Address {
    margin-left: 0;
  }
  .footer-main-Head-Text {
    font-size: 1.6rem; /* بزرگ‌تر از موبایل (1.4rem بود) */
  }

  .footer-Main-Text {
    font-size: 1rem; /* متن توضیحات بزرگ‌تر از موبایل */
  }

  .footer-Main-Text a {
    font-size: 1rem;
  }

  .footer-Bottom-Item-Head-Text {
    font-size: 1.4rem; /* کمی بزرگ‌تر از موبایل */
  }

  .footer-Main-Item-Devider,
  .footer-Main-Item-Devider-right {
    top: 12vh; /* متناسب‌تر از گوشی */
  }
}

/* Large Phone And Tablet */
@media (max-width: 769px) and (min-width: 481px) {
  .header-container {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* جلوگیری از پرتی افقی */
  }

  .header-nav {
    justify-content: space-between; /* همه در یک خط بمونن */
    padding: 0 10px; /* فاصله داخلی کمتر */
    gap: 10px;
  }

  .header-nav ul {
    gap: 10px; /* فاصله بین آیتم‌ها کمتر بشه */
    margin: 0; /* حذف مارجین پیش‌فرض مرورگر */
    padding: 0; /* حذف پدینگ پیش‌فرض مرورگر */
  }

  .header-nav a {
    max-width: none; /* محدودیت 150px حذف بشه */
    white-space: nowrap; /* لینک‌ها خطی بمونن */
    font-size: 13px; /* متن کوچک‌تر */
    padding: 4px 6px; /* فضای کمتر */
  }

  .Header_logo img {
    max-width: 40px; /* لوگو کوچیک‌تر بشه */
    height: auto;
  }
  .helicopter-Servie-Container {
    width: 85%;
    top: 10vh;
    height: 425px;
  }
  .helicopter-Servie-Text-Desc {
    font-size: 1.2rem;
  }
  .helicopter-Servie-Pic-Container {
    width: 275px;
    height: 200px;
    position: absolute;
    top: 25%;
    right: 0;
    margin: auto;
    z-index: 10;
  }
  .helicopter-Servie-Pic1-Container,
  .helicopter-Servie-Pic2-Container {
    width: 225px;
    height: 225px;
  }
  .helicopter-Servie-Pic1-Container {
    top: 0%;
    left: 5%;
    border-width: 6px 6px 0 0;
  }
  .helicopter-Servie-Pic2-Container {
    top: 15%;
    left: -15%;
    border-width: 6px 6px 0 0;
  }
  .customer-Container {
    top: 9vh;
    margin-bottom: 10%;
  }
  .foter-Head-Container.foter-Head-Container {
    flex-direction: column; /* آیتم‌ها بیفتن زیر هم */
    justify-content: center; /* وسط‌چین عمودی */
    align-items: center; /* وسط‌چین افقی */
    text-align: center; /* متن وسط */
    top: 20px;
  }
  .footer-Head-Text {
    order: 2; /* بعدش بیاد */
    margin: 0; /* اضافه‌ها حذف شه */
    text-align: center;
  }
  .footer_Logo {
    margin-right: 0;
    margin: 0 auto; /* وسط بیاد و فاصله از متن داشته باشه */
  }
  .footer-Main-Address {
    margin-left: 0;
  }
}
/* Phone And Smaller Device */
@media (max-width: 480px) {
  .header-nav {
    justify-content: space-between; /* همه در یک خط بمونن */
    padding: 0 10px; /* فاصله داخلی کمتر */
    gap: 10px;
  }
  .header-nav ul {
    gap: 15px;
  }

  .helicopter-Servie-Container {
    width: 85%;
    top: 10vh;
    height: 275px;
  }
  .helicopter-Servie-Text-Head {
    margin-top: 15%;

  }
  .helicopter-Servie-Text-Desc {
    width: 95%;
    gap: 5px;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    margin-right: 50%;
    margin-top: 0;
    text-wrap: nowrap;
    z-index: 20;
  }
  .helicopter-Servie-Pic-Container {
    width: 155px;
    height: 125px;
    position: absolute;
    top: 25%;
    right: 0;
    margin: auto;
    z-index: 10;
  }
  .helicopter-Servie-Pic1-Container,
  .helicopter-Servie-Pic2-Container {
    width: 125px;
    height: 125px;
  }
  .helicopter-Servie-Pic2-Container {
    top: 20%;
    left: 5%;
    border-width: 6px 6px 0 0;
  }
  .customer-Container {
    top: 10vh;
    margin-bottom: 14%;
  }
  .foter-Head-Container.foter-Head-Container {
    flex-direction: column; /* آیتم‌ها بیفتن زیر هم */
    justify-content: center; /* وسط‌چین عمودی */
    align-items: center; /* وسط‌چین افقی */
    text-align: center; /* متن وسط */
    top: 20px;
  }
  .footer_Logo {
    order: 1; /* اول بیاد */
    margin: 0 auto 10px; /* وسط بیاد و فاصله از متن داشته باشه */
  }

  .footer-Head-Text {
    order: 2; /* بعدش بیاد */
    margin: 0; /* اضافه‌ها حذف شه */
    text-align: center;
  }
  .footer-Main-Link-Continer {
    flex-direction: column; /* آیتم‌ها زیر هم */
    align-items: center; /* وسط‌چین افقی */
    text-align: center; /* متن‌ها هم وسط */
    gap: 40px; /* فاصله بین بلاک‌ها */
    margin-top: 5vh; /* کمی فاصله از بالا */
  }
.footer-main-Head-Text {
  right: 0;
}
  .footer-Main-Item {
    justify-content: center;
    text-align: center;
    padding: 0;
  }
  .footer-Main-Item-Devider,
  .footer-Main-Item-Devider-right {
    top: 15vh; /* ✅ به جای 18vh خیلی بالاتر میاد */
  }
  .footer-Main-Address {
    margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .slideshow-Container {
    height: 60vh;
  }

  .slidershow-Img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slideshow-Text1,
  .slideshow-Text2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 85%;
    background: rgba(30, 27, 24, 0.65);
    border-radius: 6px;
    padding: 8px 10px;
  }

  .slideshow-Text1 {
    bottom: 18%;
    font-size: 1rem;
  }

  .slideshow-Text2 {
    bottom: 8%;
    font-size: 0.8rem;
  }

  .prev-slideshow,
  .next-slideshow {
    font-size: 28px;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
  }


}

@media (max-width: 1024px) and (min-width: 768px) {
  .slideshow-Container {
    height: 75vh; /* کانتینر هم ارتفاع ثابت داشته باشه */
    overflow: hidden;
  }

  /* هر اسلاید */
  .slideshow-Page {
    height: 75vh; /* هر اسلاید هم با همون ارتفاع */
  }

  /* تصویر */
  .slidershow-Img {
    position: relative;
    width: 100%;
    height: 75vh; /* ارتفاع ثابت */
    object-fit: cover; /* پر کردن قاب بدون کشیدگی */
  }

  /* متن‌ها */
  .slideshow-Text1,
  .slideshow-Text2 {
    width: 80%; /* بجای 40vw → برای تبلت بهتره */
    right: 10%; /* وسط‌چین‌تر بشه */
    text-align: center; /* متن‌ها وسط */
    background-color: rgba(30, 27, 24, 0.6);
    border-radius: 6px;
  }

  .slideshow-Text1 {
    top: auto;
    bottom: 20%; /* بجای top: 75% */
    font-size: 1.6em;
  }

  .slideshow-Text2 {
    top: auto;
    bottom: 10%; /* بجای top: 85% */
    font-size: 1.6em;
  }

  /* دکمه‌های قبلی/بعدی */
  .slideshow-arrow-left-Container,
  .slideshow-arrow-right-Container {
    top: 0%; /* وسط ارتفاع تصویر */
    width: 10%;
    max-width: 100px;
  }
  .slideshow-arrow-left-Container:hover,
  .slideshow-arrow-right-Container:hover {
    opacity: 0.81; /* Add this */
    background-color: none;
  }

  .prev-slideshow,
  .next-slideshow {
    font-size: 40px; /* کوچیک‌تر از دسکتاپ */
  }

  .main-Text-Container {
    top: 15%;
    right: 10%;
  }

  .main-Text-Desc {
    font-size: 1.4em;
  }
  .grid-Container-Intro {
    display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
  }
  .sliding-Card-Item {
    width: 325px;
  }
}

@media (max-width: 480px) {
  .slideshow-Container {
    height: 55vh;
  }

  .slidershow-Img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slideshow-Text1,
  .slideshow-Text2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 85%;
    background: rgba(30, 27, 24, 0.65);
    border-radius: 6px;
    padding: 6px 8px;
  }

  .slideshow-Text1 {
    bottom: 20%;
    font-size: 0.9rem;
  }

  .slideshow-Text2 {
    bottom: 8%;
    font-size: 0.75rem;
  }

  .prev-slideshow,
  .next-slideshow {
    font-size: 24px;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
  }


  .slideshow-arrow-left-Container:hover,
  .slideshow-arrow-right-Container:hover {
    background-color: rgba(255, 0, 0, 0);
    opacity: 1; /* Add this */
  }
  .main-Text-Desc-Container,
  .main-Text {
    display: none;
  }
  .slideshow-arrow-left-Container,
  .slideshow-arrow-right-Container {
    top: 0 !important;
  }
  .slideshow-arrow-left-Container,
  .slideshow-arrow-right-Container {
    width: 13%;
  }
.footer-Main-News {
    left:0;
}
}

/* بخش کارت‌های اسلایدینگ */
div.sliding-Card-Container {
  max-width: 100% !important;
  overflow-x: hidden;
}

/* متن بخش محصولات */
h2.product-Head-Text.grid-Item-Head-Text {
  max-width: 100% !important;
  overflow-wrap: break-word;
  text-align: center; /* تو گوشی وسط‌چین باشه */
  padding: 0 10px; /* کمی فاصله داخلی برای جلوگیری از بزن‌زدن بیرون */
}
