/* general style */
@font-face {
  font-family: "Vazir";
  src: url("fonts/vazir/Vazir.eot");
  src: url("fonts/vazir/Vazir.eot?#iefix") format("embedded-opentype"),
    url("fonts/vazir/Vazir.woff2") format("woff2"),
    url("fonts/vazir/Vazir.woff") format("woff"),
    url("fonts/vazir/Vazir.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Vazir";
  src: url("fonts/vazir/Vazir-Bold.eot");
  src: url("fonts/vazir/Vazir-Bold.eot?#iefix") format("embedded-opentype"),
    url("fonts/vazir/Vazir-Bold.woff2") format("woff2"),
    url("fonts/vazir/Vazir-Bold.woff") format("woff"),
    url("fonts/vazir/Vazir-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Vazir";
  src: url("fonts/vazir/Vazir-Light.eot");
  src: url("fonts/vazir/Vazir-Light.eot?#iefix") format("embedded-opentype"),
    url("fonts/vazir/Vazir-Light.woff2") format("woff2"),
    url("fonts/vazir/Vazir-Light.woff") format("woff"),
    url("fonts/vazir/Vazir-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Vazir";
  src: url("fonts/vazir/Vazir-Medium.eot");
  src: url("fonts/vazir/Vazir-Medium.eot?#iefix") format("embedded-opentype"),
    url("fonts/vazir/Vazir-Medium.woff2") format("woff2"),
    url("fonts/vazir/Vazir-Medium.woff") format("woff"),
    url("fonts/vazir/Vazir-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Vazir";
  src: url("fonts/vazir/Vazir-Thin.eot");
  src: url("fonts/vazir/Vazir-Thin.eot?#iefix") format("embedded-opentype"),
    url("fonts/vazir/Vazir-Thin.woff2") format("woff2"),
    url("fonts/vazir/Vazir-Thin.woff") format("woff"),
    url("fonts/vazir/Vazir-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  font-family: Vazir;
  direction: rtl;
}
p {
  margin-top: 0;
  margin-bottom: 0rem;
}
button {
  font-family: vazir;
}
* {
  margin: 0;
  padding: 0;
}
a:link {
  text-decoration: none;
  color: black;
}

a:visited {
  text-decoration: none;
  color: black;
}

/*  */
/*style for header  */
.headerlogo {
  padding: 10px;
}
.headerlogo img {
  width: 84px;
}
.headerlist ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.headerlist li {
  font-weight: bolder;
  color: rgb(255, 255, 255);
}
.headr {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: black !important;
}
/*  */

/* style for banner  */
.banner img {
  width: 100%;
  height: 399px;
}

.banner-text {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  text-align: center;
}

/*  */
.aboutchildp{
  width: 50%;
}
.aboutchildimg img {
  width: 500px;
}
.aboutchildimg{
  width: 50%;
}
.aboutchild {
  display: flex;
  align-items: center;
  flex-direction: row;
}
.aboutus {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
  line-height: 1;
  font-size: 1.1rem;
  color: #333;
}

.aboutus p {
  margin-bottom: 90px;
  line-height: 2rem;

}

.commercial {
  margin-top: 40px;
}

.commercial h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #444;
}

.commercial img {
  height: 180px;
  margin: 10px;
  transition: transform 0.3s ease;
}

.commercial img:hover {
  transform: scale(1.1);
}

.footer {
  width: 100%;
  height: 274px;
  background-color: #131821;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.logofooter img {
  /* height: 115px; */
  width: 150px;
}
.footer p {
  color: #ffffff;
  font-size: 20px;
}
.footer i {
  color: #ffffff;
  font-size: 50px;
  margin-left: 30px;
}
.footersec {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 30%;
}
.calldetail {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
@media (max-width: 992px) {
  .aboutchild {
    flex-direction: column;
    text-align: center;
  }

  .aboutchildp,
  .aboutchildimg {
    width: 100%;
  }

  .aboutchildimg img {
    width: 100%;
    max-width: 350px;
    height: auto;
  }

  .commercial img {
    height: 120px;
    margin: 10px 5px;
  }
}

@media (max-width: 600px) {
  .aboutus {
    font-size: 1rem;
  }

  .commercial h2 {
    font-size: 1.2rem;
  }

  .aboutus p {
    line-height: 1.7rem;
  }

  .commercial img {
    height: 100px;
  }
}


/* همبرگر مخفی در دسکتاپ */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  padding: 10px;
}


@media (max-width: 768px) {
  .headerlist {
    position: absolute;
    top: 124px;
    right: 0;
    background-color: #0d0d0d;
    width: 100%;
    flex-direction: column;
    display: none; 
  }

  .headerlist ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .headerlist ul a {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    display: block;
    text-decoration: none;
  }

  .hamburger {
    display: block;
  }

  .headr {
    justify-content: space-between;
    padding: 0 20px;
  }

  .headerlist.active {
    display: flex;
  }
}
