/* 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;
}

.persian {
  /* position: absolute; */
}

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;
}

hr.dashed {
  border-top: 3px dashed #4f4f4f;
}

/*  */

/* style for header */
.header {
  width: 100%;
}

.headerlogo {
  padding: 10px;
}

.headerlogo img {
  width: 115px;
}

.headerlist ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.headerlist li {
  font-weight: bolder;
  color: aliceblue;
  font-size: 20px;
}

.headr {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #0d0d0d85;
  height: 124px;
}
.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;
  }
}

/*  */

/*style for slider*/
.slider {
  position: relative;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin-top: -124px;
}

.fade {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#slider-img {
  transition: opacity 1s ease-in-out;
  opacity: 1;
}

.slider img {
  width: 100%;
  height: 100vh;
}

.slider p {
  position: absolute;
  bottom: 34%;
  right: 10%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 15px 25px;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  max-width: 80%;
  text-align: center;
  z-index: 1;
}


/*  */

/* style for services */
.services {
  margin-top: 0;
  background-color: #333333;
  height: 74vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.rightservices {
  width: 40%;
}

.leftservices {
  width: 40%;
}

.rightservices img {
  width: 630px;
}

.text h1 {
  color: bisque;
}

.text p {
  font-weight: 600;
  color: bisque;
  line-height: 32px;
}

.text h1 {
  margin-bottom: 20px;
}

.text button {
  padding: 10px 20px 10px 20px;
  border-radius: 32px;
  background: #eb523f;
  margin-top: 12px;
  border: white;
}

/*  */

/* style for whyus */
.whyus {
  width: 100%;
  height: 55vh;
  /* background: rgb(217, 229, 234) url("../img/bannerabout.jpg") no-repeat fixed center; */
}

.whyus h1 {
  /* margin-top: 50px; */
  /* color: #ffffff; */
  padding-top: 20px;
  text-align: center;
}
.whyus {
  position: relative;
  overflow: hidden;
  color: white; /* رنگ نوشته‌ها برای خوانایی بهتر */
  z-index: 0;
  padding: 2rem; /* به دلخواه: برای فاصله نوشته از لبه‌ها */
  text-align: center; /* اختیاری: برای وسط‌چین کردن متن */
}

.whyus::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../img/PresentationCoverTitle.jpg); 
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center; 
  filter: blur(8px) brightness(0.7); 
  z-index: -2;
}

.whyus::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.3); 
  z-index: -1;
}

.whyussectotal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 33vh;
  margin-top: 100px;
  margin-right: 75px;
}

.whyussec {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* .whyussec h3{
  color: #ffffff;
}
.whyussec i{
  color: #ffffff;

} */

.whyus h3 {
  margin-top: 15px;
}

/*  */

/* style for commercial */
.commercial {
  width: 100%;
  height: 45vh;
  background-color: #fafafa;
}

.commercialimg {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 150px;
}

.commercialsec2 {
  width: 211px;
  height: 211px;
  text-align: center;
}

.commercialsec2 img {
  width: 126px;
  width: 126px;
}

.commercialsec1 {
  width: 325px;
  height: 180px;
  text-align: center;
}

.commercialsec1 img {
  width: 305px;
  height: 115px;
}

#h1style {
  padding-top: 55px;
  padding-right: 110px;
}

.h1style {
  color: rgb(251, 251, 251);
}

/*  */

/* style for blog*/
.blog {
  width: 100%;
  height: 93vh;
  background-color: #333333;
}

.cardblog {
  height: 509px;
  width: 406px;
  background-color: #202020;
  margin-top: 12px;
  margin-right: 110px;
}

.cardblog img {
  height: 257px;
  width: 100%;
  padding: 10px 15px;
}

.cardblog p {
  color: aliceblue;
}

.dateblog {
  padding-right: 15px;
}

.blogp {
  display: flex;
  align-items: center;
}

#blogpfirst {
  font-size: 40px;
}

button.btn.btn-warning {
  margin: 20px 0px;
}

/*  */

/* style for footer */

.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;
}

/*  */

/* Design for responsive */

.whyus {
  background-image: url(../img/PresentationCoverTitle.jpg);
  /* background-position: 434px 100px; */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right top;
  /* background-size: 500px; */
  /* opacity: 0.5; */
  
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

/*  */

/* style for responsie */

/* 
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .rightservices img {
    width: 100%;
  }
  
  .text {
    width: 100%;
  }
  
  .whyussectotal {
    gap: 15vh;
  }
} */


@media (min-width: 992px) and (max-width: 1200px) {
  .rightservices img {
    width: 100%;
  }

  .text {
    width: 100%;
  }

  .text p {
    line-height: 25px;
  }

  .text h1 {
    font-size: 32px;

  }

  .whyussectotal {

    gap: 10vh;

  }



}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 992px) {

  .text p {
    line-height: 25px;
  }

  .whyussectotal {
    gap: 7vh;
  }
}



/*  */


@media (max-width: 576px) {
  .services {
    flex-direction: column;
    height: auto;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .rightservices,
  .leftservices {
    width: 100%;
    text-align: center;
  }

  .rightservices img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .text h1 {
    font-size: 1.5rem;
  }

  .text p {
    font-size: 0.9rem;
    line-height: 28px;
    text-align: justify;
  }

  .text button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}
