.fira-sans-thin {
    font-family: "Fira Sans", serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .fira-sans-extralight {
    font-family: "Fira Sans", serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .fira-sans-light {
    font-family: "Fira Sans", serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .fira-sans-regular {
    font-family: "Fira Sans", serif;
    font-weight: 400;
    font-style: normal;
  }
  .fira-sans-medium {
    font-family: "Fira Sans", serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .fira-sans-semibold {
    font-family: "Fira Sans", serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .fira-sans-bold {
    font-family: "Fira Sans", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .fira-sans-extrabold {
    font-family: "Fira Sans", serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .fira-sans-black {
    font-family: "Fira Sans", serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .fira-sans-thin-italic {
    font-family: "Fira Sans", serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .fira-sans-extralight-italic {
    font-family: "Fira Sans", serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .fira-sans-light-italic {
    font-family: "Fira Sans", serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .fira-sans-regular-italic {
    font-family: "Fira Sans", serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .fira-sans-medium-italic {
    font-family: "Fira Sans", serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .fira-sans-semibold-italic {
    font-family: "Fira Sans", serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .fira-sans-bold-italic {
    font-family: "Fira Sans", serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .fira-sans-extrabold-italic {
    font-family: "Fira Sans", serif;
    font-weight: 800;
    font-style: italic;
  }
  
  .fira-sans-black-italic {
    font-family: "Fira Sans", serif;
    font-weight: 900;
    font-style: italic;
  }
  
/* Smooth scrolling for modern browsers */
html {
    scroll-behavior: smooth;
}
main{
    font-family: "Fira Sans", serif;
    font-weight: 400;
    font-style: normal;
}
.logo{
    width: 120px;
    height: auto;
}
.nav{
    z-index: 1000;
    margin: 10px auto;
    border-radius: 8px;
}
.bg-glass{
    background: rgb(255, 255, 255,0.5);
    backdrop-filter: blur(10px);    
}
.bg-about{
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
.swiper {
    width: 80%;
    padding: 20px 0;
    margin: 30px auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cover{
    object-fit: cover;
}
.backdrop-blur-md {
    backdrop-filter: blur(10px);
}
/* .bg-about::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    pointer-events: none;
} */
.actahr{
    height: 4px;
    margin:10px 0;
    color: #70cde2;
    background-color: #70cde2;
}
#productssec .swiper-slide{
    height: 500px !important;
}
.hexagon {
    height: 250px; /* adjust to control the size  */
    aspect-ratio: cos(30deg);
    clip-path: polygon(-50% 50%,50% 100%,150% 50%,50% 0);
    background: #fff;
    margin: auto auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.topp{
    top:140px !important;
}
.topn{
    top: 150px !important;
    display: none !important;
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 76px !important;
    font-weight: bold !important;
}
.swiper-button-next,.swiper-button-prev{
    color: #fff !important;
}
.hexagon span{
    margin-top: -15px;
}
.header {
    z-index: -1;
    overflow: hidden;
    height: 700px;
    margin: 25px auto;
    border-radius: 8px;
    background-image: 
      linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), /* گرادیانت سایه */
      url('images/hero.webp'); /* تصویر پس‌زمینه */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* بهتر است برای پوشش کامل از cover استفاده کنید */
  }
  
.bg-products1{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url('../images/left-sec.webp');
    background-size: cover;
    background-position: center;
}
.bg-products2{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url('../images/right-sec.webp');
    background-size: cover;
    background-position: center;
}
.video-background {
    position: relative;
    background-color: black; /* در صورتی که ویدیو بارگذاری نشود */
    overflow: hidden; /* جلوگیری از نمایش اجزای اضافی */
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1; /* اطمینان از اینکه ویدیو زیر لایه سایه است */
}
p{
  cursor: default;;
}
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* سایه سیاه کمرنگ */
    z-index: 2; /* اطمینان از اینکه سایه روی ویدیو قرار گیرد */
    pointer-events: none; /* جلوگیری از اختلال در تعاملات */
}
#myVideo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
#application{
    margin: 0px auto;
    padding: 50px 10px;
}
#application div.wrapsec{
    margin: auto auto;
    min-height: 530px;
}
#application img{
    object-fit: cover;
}
.ovid{
    background-color: rgb(255, 255, 255,0.4);
}
@media only screen and (max-width: 600px) {
  .bpy{
    background-position-y: 350px;
  }
    .header{
        height: 400px;
    }
    #application{
        margin: 0px auto;
        padding: 5px 10px;
    }
    .bg-size-phone{
        background-size: 150%;
    }
}

/* پنهان کردن هدر فقط در دسکتاپ */
@media (min-width: 769px) {
    .dropdown-header {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #dropdownNavbarproduct {
        position: fixed !important;
        top: 60px !important;
        left: 50% !important;
        width: 90% !important;
        transform: translateX(-50%) !important;
        z-index: 1000 !important;
        background: white !important;
        padding: 1rem !important;
        border-radius: 0.5rem !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.2s ease-out !important;
        display: none !important;
        max-height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
    }

    #dropdownNavbarproduct.show {
        display: block !important;
    }

    /* نمایش هدر در موبایل */
    .dropdown-header {
        display: flex !important;
        margin-bottom: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        border-bottom: 1px solid #eee !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .dropdown-header h3 {
        font-size: 1.1rem !important;
        color: #333 !important;
    }

    /* استایل آیتم‌های منو */
    #dropdownNavbarproduct .grid {
        gap: 0.5rem !important;
    }

    #dropdownNavbarproduct a {
        height: 100px !important;
        border-radius: 0.375rem !important;
        background: #f8f9fa !important;
    }

    /* Backdrop ساده */
    .mobile-menu-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.2) !important;
        opacity: 0 !important;
        transition: opacity 0.2s ease !important;
        pointer-events: none !important;
        z-index: 999 !important;
    }

    #dropdownNavbarproduct.show + .mobile-menu-backdrop {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* دکمه بستن */
    .close-dropdown {
        position: absolute !important;
        top: 0.5rem !important;
        right: 0.5rem !important;
        padding: 0.5rem !important;
        color: #666 !important;
    }
}
