/*=============== GOOGLE FONTS ===============*/
/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700;900&display=swap"); */
/*================================ Fonts Face ==============================*/

@font-face {
  font-family: "IRANSansWeb";
  font-style: normal;
  font-weight: bold;
  src: url("../fonts/IRANSansWeb(FaNum)_Bold.woff") format("woff");
}

@font-face {
  font-family: "IRANSansWeb";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/IRANSansWeb(FaNum)_Medium.woff") format("woff");
}

@font-face {
  font-family: "IRANSansWeb";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/IRANSansWeb(FaNum)_Light.woff") format("woff");
}

@font-face {
  font-family: "IRANSansWeb";
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/IRANSansWeb(FaNum)_UltraLight.woff") format("woff");
}

@font-face {
  font-family: "IRANSansWeb";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/IRANSansWeb(FaNum).woff") format("woff");
}

/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  --primary-color: #ebab63;
  --secondary-color: #f0f6fb;
  --primary-color-bg: #fff;
  --title-color: #222222;
  --text-color: #666666;
  /*========== Font and typography ==========*/
  --body-font: "IRANSansWeb", sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.7rem;
  --h2-font-size: 1.2rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-black: 900;

  /*========== Margenes ==========*/
  --m-0-25: 0.25rem;
  --m-0-5: 0.5rem;
  --m-0-75: 0.75rem;
  --m-1: 1rem;
  --m-1-5: 1.5rem;
  --m-2: 2rem;
  --m-2-5: 2.5rem;

  /*========== Box Shadow and Border ==========*/
  --shadow-1: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
  --border-1: 1px solid rgba(0, 0, 0, 0.08);
}

/* Responsive typography */
@media screen and (min-width: 992px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: var(--body-color);
  color: var(--text-color);
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  border: none;
  outline: none;
  font-family: var(--body-font);
}
button {
  cursor: pointer;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.mobile-hidden {
  display: none;
}
.top-title {
  font-weight: 700;
  color: var(--primary-color);
  font-size: var(--h2-font-size);
}
.title {
  font-size: var(--h1-font-size);
}
.paragraph {
  color: var(--body-color);
  line-height: 1.5;
  margin: 1rem 0;
  font-weight: 400;
}
.primary-btn {
  padding: 0.6rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  letter-spacing: 0.5px;
  border-radius: 100px;
  transition: background 0.2s ease-in-out;
}
.primary-btn:hover {
  background: var(--title-color);
}
.secondery-btn {
  position: relative;
  letter-spacing: 0.5px;
  background: transparent;
  font-weight: 700;
  font-size: 1.1rem;
}
.secondery-btn::before {
  position: absolute;
  display: none;
  content: "";
  width: 20%;
  height: 3px;
  background-color: var(--primary-color);
  right: 0;
  bottom: 0;
  transition: width 0.2s ease-in-out;
}
.secondery-btn:hover::before {
  width: 100%;
}
.img {
  margin-bottom: 2rem;
}
.icon-box-container {
  display: grid;
  gap: 1.5rem;
}
.icon-box {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.icon-box .icon {
  background: var(--primary-color);
  color: #fff;
  width: 4rem;
  height: 4rem;
  text-align: center;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease-in-out;
}
.icon-box .icon-box-title {
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}
.icon-box .icon-box-des {
  font-size: 1.1rem;
}
.icon-box:hover .icon {
  transform: translateX(30px);
}
/*=============== LAYOUT ===============*/
.container {
  max-width: 93%;
  margin: auto;
}
.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
}
.section .img,
.section .description {
  flex: 1;
}
.bg-section {
  background: var(--secondary-color);
  padding: 2rem 0;
}
.text-center {
  text-align: center;
  margin: 1.5rem;
}
.text-right {
  text-align: center;
  margin: 1.5rem 0;
}
/*=============== HEADER ===============*/
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.menu-icon {
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary-color);
}
.logo {
  max-width: 100px;
}
/*=============== NAV ===============*/
#menu-mobile-container .dark-part {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 1;
}
#menu-mobile-container.active .dark-part {
  opacity: 1;
  pointer-events: auto;
}
nav.mobile {
  position: fixed;
  top: 0;
  bottom: 0;
  background: var(--primary-color-bg);
  min-width: 300px;
  box-shadow: var(--shadow-1);
  padding: 2rem 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  background: #fff;
  z-index: 2;
}
#menu-mobile-container.active nav.mobile {
  transform: translateX(0);
}
nav.mobile ul li a {
  padding: 0.8rem 2rem;
  display: block;
  color: var(--title-color);
  transition: all 0.2s ease-in-out;
  font-size: var(--h3-font-size);
  letter-spacing: 1px;
}
nav.mobile ul li:hover a {
  background: var(--primary-color);
  color: #fff;
}
/*=============== Hero ===============*/

/*=============== About ===============*/

/*=============== Products ===============*/
.product-box-container {
  display: grid;
  gap: 2rem;
}
.product-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-1);
  border-radius: 0.5rem;
  padding: 1.5rem 1rem;
  border-bottom: 3px solid var(--primary-color);
  min-width: 220px;
}
.product-box * {
  margin: 1.3rem 0 0;
}
.product-box-title {
  font-size: var(--h2-font-size);
}
.product-box p {
  text-align: center;
}
/*=============== Features ===============*/

/*=============== Team Members ===============*/
.team-container {
  display: grid;
  gap: 2rem;
  width: 100%;
}
.team-member img {
  width: 100%;
  display: block;
}
.team-member h4 {
  font-size: var(--h2-font-size);
}
.team-member p {
  font-size: 1rem;
}
.team-member .socials i {
  font-size: 1.7rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem;
  border-radius: 50%;
  margin-right: 0.3rem;
  transition: transform 0.2s ease-in-out;
}
.team-member .socials i:hover {
  transform: translateY(-10px);
}
.team-member-img {
  position: relative;
  cursor: pointer;
}

.team-member .socials-container {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}
.team-member .socials {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-in-out;
  display: flex;
}
.team-member-img:hover .socials-container {
  opacity: 1;
  pointer-events: auto;
}
.team-member-img:hover .socials {
  top: 50%;
}
/*=============== Blog ===============*/
.blog-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
article.blog {
  position: relative;
  background: #fff;
  box-shadow: var(--shadow-1);
  border-radius: 10px;
  overflow: hidden;
}
article.blog .blog-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
}
article.blog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
article.blog:hover .blog-img img {
  transform: scale(1.2);
}
.blog-des {
  padding: 1.5rem 2rem;
}
article.blog a {
  position: absolute;
  inset: 0;
}

/*=============== Footer ===============*/
.top-footer > * {
  margin-bottom: 3rem;
}
.top-footer .title {
  font-size: 1.3rem;
}
.address ul {
  margin-top: 1.5rem;
}
.address ul li {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
}
.address ul li i {
  color: var(--primary-color);
  margin-left: 0.5rem;
  font-size: 1.6rem;
}
.address ul li p {
  font-size: 1.1rem;
  font-weight: 300;
}
.address ul li a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-color);
}
.address ul li a:hover{
  color: var(--primary-color);
}
.links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.links .link .title {
  margin-bottom: 0.8rem;
}
.link ul li a {
  font-size: 1.1rem;
  color: var(--text-color);
  padding: 0.4rem 0;
  display: block;
}
.link ul li:hover a {
  color: var(--primary-color);
}
.newsletter p {
  font-size: 1.1rem;
  font-weight: 300;
}
.newsletter-input {
  width: 100%;
  display: flex;
  background: var(--secondary-color);
  height: 60px;
  align-items: center;
  padding: 0 1rem;
  border-radius: 3px;
  margin-top: 1.5rem;
}
.newsletter-input input {
  width: 100%;
  background: transparent;
  font-size: 1.05rem;
}
.newsletter-input button {
  background: transparent;
  font-size: 2rem;
  color: var(--primary-color);
  line-height: 0;
}

.bottom-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.copyright a {
  color: var(--primary-color);
}
.foot-socials {
  display: flex;
  align-items: center;
}
.foot-socials a {
  font-size: 1.5rem;
  padding: 0.5rem;
  color: var(--body-color);
}
.foot-socials a:hover {
  color: var(--primary-color);
}

.pop-animation {
  animation: pop 5s linear infinite;
}

@keyframes pop {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
@media (max-width: 992px) {
  .product-box-container{
    display: flex;
    width: 100%;
  }
  .product-box{
    padding: 1rem 1rem;
    width: 33%;
  }
}
@media (max-width: 600px) {
  .m_text_center {
    text-align: center !important;
  }

  .m_m_auto {
    margin: auto;
  }
  .logo{
    max-width: 125px;
  }
  .product-box *{
    margin: 0.3rem 0;
  }
  .product-box{
    padding: 1rem 1rem;
    width: 100%;
    margin-top: 10px;
  }
  .product-box-container{
    display: block;
    gap: 1rem;
  }
}