@font-face {
  font-family: 'B-NAZANIN';
  src: url('../font/B-NAZANIN.TTF');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
     text-align: left !important;
    direction: ltr !important;
    width: 100%;
    margin: 0px;
    padding: 0;
}
header{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    align-content:end;
    width: 100%;
    height: 80px;
    background-color: darkslategrey;
    transition: top 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}

header.hidden {
    opacity: 0;
    pointer-events: none;
}
.left-header{
    margin-left: 20px;
    text-align: left;
    align-content:center;
}
.right-header{
    text-align: right;
  
}

.btn-container {
    position: relative;
    display: inline-block;
}
.logo{
    width: 80px;
    margin-left: 40px;
    margin-right: 40px;
}
.btn-light{
    background-color: darkslategrey;
    color: white;
    border: 0px;
}
button {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
}
.a-button{
    color: white;
}
.popup-box {
    display: none;
    position: fixed;         /* از absolute به fixed تغییر دادیم */
    top: 60px;               /* یا هر جایی که می‌خوای نمایش شروع بشه */
    right: 0;
    width: 100vw;            /* تمام عرض صفحه */
    height: 300px;
    background-color: darkslategrey;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding-top: 2px;
    z-index: 1000;
}


.btn-container:hover .popup-box {
    display: block;
}
.menu-countainer{
    width: 100%;
    height: 100%;
    padding: 10PX;
    text-align: right;
    
   
}
.menu-row{
    margin: 10px;
}
a{
    text-decoration: none;
    color: black;
}
.first-culom{

    height: 100%;
    width: 35%;
    

}
.seconde-culom{
    height: 100%;
    width: 35%;
    

}
/*  */
.menu-countainer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end; /* ستون‌ها از راست شروع بشن */
  gap: 20px;
  width: 100%;
  direction: rtl; 
  
}

.first-culom,
.seconde-culom {
   display: flex;
  flex-direction: column;
  gap: 10px;

}

.menu-row {
  cursor: pointer;
  transition: color 0.3s;
}

.menu-row:hover {
  color: #007BFF;
}

.image-culom {
  width: 300px;
  height: 200px;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f7;
}



.image-culom img {
  display: none;
  max-width: 90%;
  max-height: 90%;
  object-fit: cover;
}
.image-culom{
    height: 100%;
    width: 30%;
    
}
.first-intro{
    margin-top: 80px;
    width: 100%;
    height: 700px;
    background-image: url('../gif/vecteezy_digital-tech-data-infographic-futuristic-frame-hud-display_51267037\ \(4\).gif');
    background-repeat:no-repeat;
   background-size:100% 700px;
  
    
}
.intro-text{
    font-family: 'B-NAZANIN';
    text-align: center;
    padding-top: 200px;
    color: white;
    font-size: 30px;
}
.intro-button{
    font-family: 'B-NAZANIN';
    width: 20%;
    margin-top: 100px;
    margin-left: 40%;
    text-align: center;
    font-size: 20px;
    
}
.intro-line{
    
    margin: 0px;
    width: 100%;
    height: 100px;
    background-color: darkgray;
}
.countiner1{
    width: 100%;
    height: 500px;
    display: flex;
    background-color: darkslategrey ;
}
.countiner2{
    width: 100%;
    height: 500px;
    display: flex;
    
    
}
.image-countiner1{
    text-align: center;
    margin: 0px;
    width: 40%;
}
.text-countiner1{
    text-align: center;
    margin: 0px;
    width: 60%;
}
.image-countiner2{
    text-align: center;
    margin: 0px;
    width: 40%;

}
.text-countiner2{
    font-family: 'B-NAZANIN';
    text-align: center;
    margin: 0px;
    width: 60%;
    padding-right: 20px;
}
.hamburger {
      display: none;
      position: fixed;
      top: 8px;
      right: 20px;
      font-size: 28px;
      background: none;
      border: none;
      color: white;
      z-index: 1001;
      cursor: pointer;
}

    /* منوی موبایل */
.menu-mobile {
      display: none;
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100vh;
      background-color: darkslategrey;
      z-index: 1000;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 30px;
}

.menu-mobile a {
      color: white;
      text-decoration: none;
      font-size: 20px;
}
.mobile-li{
    text-align: right;
    color: white;
}
.accordion-button::after {
    margin-right: auto;
    margin-left: 0px;
    color: white;
}
.accordion-button{
    
    color: white;
    background-color: darkslategrey;
    border: 0px;
    
}
.accordion-body{
    background-color: darkslategrey;

}

.menu-list{
    color: white;

}
.menu-link {
        border: none !important;
        background-color: transparent;
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
        text-align: start;
        color: #0d6efd;
        text-decoration: none;
}
.accordion{
    background-color: darkslategrey;
}
.accordion-item,
.accordion-button {
        color: white;
        background-color: darkslategrey;
        border: none !important;
        box-shadow: none !important;
        
}
.accordion-button {position: static;}

.accordion-button:not(.collapsed) {
        background-color: darkslategrey;
        color: #000;
}
.menu-link:hover {
        background-color: darkslategrey;
        color: #0a58ca;
}

.accordion-body a {
        color: #0d6efd;
}

.accordion-body a:hover {
        text-decoration: underline;
}
.container {
    text-align: center;
   width: 60%;
   padding: 0px;
}
.header-cuntiner1{
    font-family: 'B-NAZANIN';
    color: white;
    text-align: right;
     margin-top: 80px;
     font-size: 30px;

}
.par-cuntiner1{
    font-family: 'B-NAZANIN';
    margin-top: 30px;
    margin-left: 40px;
    margin-right: 30px;
    text-align: right;
    font-size: 19px;
    color: white;
}
.image-cuntiner1{
    margin-top: 100px;
    width: 60%;
    height: 300px;
    margin-left: 20%;
}
.header-cuntiner2{
    color: black;
    text-align: right;
     margin-top: 80px;
     font-size: 30px;

}
.par-cuntiner2{
    font-family: 'B-NAZANIN';
    margin-top: 30px;
    margin-left: 40px;
    margin-right: 30px;
    text-align: right;
    font-size: 19px;
    color: black;
}
.image-text1{
    margin-top: 100px;
    width: 60%;
    height: 300px;
    margin-left: 20%;
}
.image-text2{
    margin-top: 100px;
    width: 60%;
    height: 300px;
    margin-right: 20%;
}
.countiner3{
    width: 100%;
    height: 400px;
    
}
.desktop1,
.desktop2, 
.desktop3 {
  width: 200px;
  height: 100px;
  border-radius: 5px;
  background: var(--red);
  position: absolute;
  z-index: 0;
  left: 30%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  text-align: center;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 100px;
  color: white;
}
.gray {
  position: relative;
  width: 100%;
  height: 50vh;
  background-color: darkslategrey;
}
.desktop1 {
  left: 80%;
  background: var(--green);
}
.desktop2 {
  left: 50%;
  background: var(--green);
}
.desktop3 {
  left: 20%;
  background: var(--green);
}
footer{
    margin-top: 2px;
    width: 100%;
    height: 400px;
    background-color:darkslategrey;
    display: block;
}
.row1-footer{
    width: 100%;
    text-align: center;
    height: 40%;

}
.row2-footer{
    width: 100%;
    height: 30%;
    text-align: center;
}
.row3-footer{
    width: 100%;
    height: 30%;
    
}
.icon-footer{
    margin-top: 10px;
    width: auto;
    height: 70%;
}
hr{
    font-size: 20px;
    opacity:2;
    width: 50%;
    margin-right: 25%;
}
.link-fotter{
    display: flex;
   justify-self: center;
}
.link1-footer{
    font-size: 20px;
    margin-left: 20px;

}
.link1-footer:hover{
    color: white;
}
.link2-footer{
 font-size: 20px;
 margin-right: 20px;
}
.link2-footer:hover{
    color: white;
}
.a-about{
    color: white!important;
}
@media (min-width: 769px) {
.hamburger,
.mboile-countiner,
.menu-mobile {
      display: none !important;
}
.logo{
    width: 80px;
    margin-left: 10px;
    margin-right: 40px;
}
     
}
@media (max-width: 768px) {
.left-header{
    display: none;
}
.logo{
    width: 70px;
    margin-left: 5px;
    margin-right: 40px;
}
.right-header{
    display: none;
  
}
.hamburger {
    display: block;
}
.countiner1{
    display: block;
    padding-top: 20px;
    height: 700px;
}
.image-countiner1{
    width: 100%;
    height: 50%;
}
.text-countiner1{
    font-family: 'B-NAZANIN';
    width: 100%;
    height: 60%;
    
}
.image-text1{
    margin-top: 10px;
    margin-left: 0px;
    width: 60%;
    height: auto;
}
.header-cuntiner1{
    font-size: 17px;
    margin-right: 10px;
    margin-top: 10px;
}
.par-cuntiner1{
    font-size: 17px;
    
}

.countiner2{
    display: flex;
    padding-top: 20px;
    flex-direction: column;
    height: 700px;
}
.image-countiner2{
    width: 100%;
    height: 50%;
    order: 2;
}
.text-countiner2{
    font-family: 'B-NAZANIN';
    width: 100%;
    height: 60%;
    order: 1;
    
}
.image-text2{
    margin-top: 10px;
    margin-right: 0px;
    width: 60%;
    height: auto;
}
.header-cuntiner2{
    font-family: 'B-NAZANIN';
    font-size: 17px;
    margin-right: 10px;
    margin-top: 0px;
}
.par-cuntiner2{
    font-family: 'B-NAZANIN';
    font-size: 17px;
    
}
.first-intro{
    margin-top: 80px;
    width: 100%;
    height: 400px;
    background-image: url('../gif/vecteezy_digital-tech-data-infographic-futuristic-frame-hud-display_51267037\ \(4\).gif');
    background-repeat:no-repeat;
   background-size:100% 400px;
  
    
}
.intro-text{
    text-align: center;
    padding-top: 130px;
    color: white;
    font-size: 20px;
    margin-left: 10%;
    margin-right: 10%;
}
.intro-button{
    width: 40%;
    margin-top: 50px;
    margin-left: 30%;
    text-align: center;
    font-size: 15px;
    
}

.menu-mobile.show {
    display: flex;
}
.desktop1 {
    top: 20%;
  left: 70%;
  background: var(--green);
}
.desktop2 {
    top: 50%;
  left: 50%;
  background: var(--green);
}
.desktop3 {
    top: 80%;
  left: 30%;
  background: var(--green);
}
.gray {
  position: relative;
  width: 100%;
  height: 80vh;
  background-color: darkslategrey;
}
}
@media (max-width: 500px) {
    .foot{
        height: 500px;
    }
      .container2{
        font-family: 'B-NAZANIN';
        text-align: center;
        width: 90%;
        margin-left: 5%;
        margin-top: 80px;
    }
}