/* Preload critical fonts */
@import url('https://fonts.cdnfonts.com/css/poppins') print;
html, body {
    overflow-x: hidden;
    background-color: #dee9fe;
    font-family: 'Poppins', sans-serif;
}
main{
    background-color: #dee9fe !important;
}
.target-section {
     position: relative;
    scroll-margin-top: 130px; /* مقدار 60px را بر اساس ارتفاع نوار فیکس تنظیم کن */
}

.main-color-border{
    border-color: rgb(144,97,249,0.4);
}
.primary-color-border{
    border-color: #001b79;
}
/* حالت اولیه منو */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    color: #001b79 !important;
}
.bottom-10{
    bottom:-10px !important;
}
.minhls{
    height:170px important;
}
h1,h2,h3,h4{
    color: #001b79 !important;
}
h2{
    font-size: 38px !important;
}
.seccustom{
    padding:20px 35px !important;
}
h3{
    font-size: 28px !important;
}
.minhl{
    min-height:265px !important;
}
.minha{
    min-height:400px !important;
}
#tech{
    scroll-margin-top: 200px; /* به اندازه ارتفاع هدر */
}
.space-button{
    position:relative;
    top:15px;
}
/* حالت فیکس منو بعد از اسکرول */
.navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #001b79;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.navbar.fixed {
    color: #fff !important;
}
.navbar.fixed a{
    color: #fff !important;
}
.navbar.fixed a:hover{
    color: #f2be22 !important;
}
.navbar.fixed ul li a{
    color: #001b79 !important;
}
.navbar.fixed button{
    color: #fff !important;
}
.navbar.fixed button:hover{
    color: #f2be22 !important;
}
.navbar.fixed span{
    color: #fff !important;
}
.navbar {
    color: #001b79 !important;
}
.navbar a{
    color: #001b79 !important;
}
.navbar button{
    color: #001b79 !important;
}
.navbar span{
    color:#001b79 !important;
}
article{
    background-color: #dee9fe;
}
/* تغییر رنگ متن زمانی که منو فیکس می‌شود */
.navbar.fixed .text-white {
    color: #fff !important;/* این رنگ مربوط به text-gray-50 است */
}
header {
    background-color: #dee9fe;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height:850px;
}
.article-flex{
    display: flex;
}
.inf-box h2{
    font-size: 32px !important;
    font-weight: 500;
    margin: 10px 0px;
    line-height: 36px;
}
.txt-product{
    font-size:16px !important;
    line-height:26px !important;
}
.inf-box h3{
    font-size: 24px;
    font-weight: 500;
    margin: 10px 0px;
    line-height: 36px;
}
.inf-box h4{
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0px;
    line-height: 36px;
}
.inf-box p{
    line-height: 26px;
    font-size: 16px;
    font-weight:300;
    text-align:left;
}
ol {
    padding-left: 20px !important;
    margin-bottom: 1em;
    list-style-type:circle !important;
    line-height: 26px;
    font-size: 16px;
    font-weight: 300;
    text-align: left;
}

ol li {
    margin-bottom: 0.5em;
}

ol li:before {
    font-weight: bold; /* متن ضخیم برای شماره‌ها */
    margin-right: 5px;
}

ol ol {
    padding-left: 20px;
    list-style-type:disc !important;
    margin-top:10px;
}

ol ol li:before {
    font-weight: normal; /* تنظیم فونت برای زیرلیست‌ها */
    margin-right: 5px;
}

#product-header{
    min-height: 450px;
    background:linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('images/b3.jpg');    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#product-header h1{
  font-weight: 400;
  position: relative;
  top: 150px;
}
#product-header-lyophilization h1{
  font-weight: 400;
  position: relative;
  top: 150px;
}
#product-header-lyophilization{
    min-height: 450px;
    background:linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('images/lyophilization.jpg');    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#product-header-liposomal{
    min-height: 450px;
    background:linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('images/liposomal.jpg');    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#product-header-high{
    min-height: 450px;
    background:linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('images/high.webp');    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#product-header-liposomal h1{
  font-weight: 400;
  position: relative;
  top: 150px;
}
#product-header-high h1{
  font-weight: 300;
  position: relative;
  top: 150px;
  line-height: 52px;
}
#product-header-services{
    min-height: 450px;
    background:linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('images/our-services.jpg');    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#product-header-services h1{
  font-weight: 400;
  position: relative;
  top: 150px;
}
.img-services{
  width: 275px;
  height: 190px;
  object-fit: cover;
}
#myVideo{
    width:100%;
    min-height: 100%;
    object-fit:cover;
    float: right;
}
.mf-inner{
    margin: 0 30px;
}
footer h2{
    color: #fff !important;
    line-height: 34px !important ;
}
.overlay{
    background-color: #c4c5e5;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: absolute;
}
#bg2{
    padding-top:210px;
    padding-bottom: 100px;
}
.pl0{
    padding-left:0px !important;
}
#bg1 svg {
    width: 55%;
    position: absolute;
    left: -5px;
    top: 10px;
}

#bg2 svg {
    width: 70%;
    position: absolute;
    left: -120px;
    top: -160px;
    opacity: 1;
}
.txt-sec{
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    width: 320px;
    margin-bottom: 25px !important;
  line-height: 23px !important;
  font-weight: 300 !important;
  font-size: 16px !important;
}
.h2lh{
    line-height:26px !important;
}
.b-sec{
    border-bottom: 4px solid #001b79;
    padding-bottom: 8px;
}
#bg2 h1 {
    
    opacity: 1;
    color: #fff;
    font-size: 30px;
    z-index: 10;
    font-weight: 600;
    position:relative;
    top:-100px;
}
#bg2 h2 {
    
    opacity: 1;
    color: #fff;
    font-size: 28px;
    z-index: 10;
    position:relative;
    top:-100px;
}
h2{
    font-weight:medium !important;
}
.aw{
   width:110px !important; 
}
.w-custom{
    width: 500px;
}
.img-sec{
    height: 400px !important;
    width: 650px !important;
    object-fit: cover !important;
}
#bg2 p {
    
    opacity: 1;
    color: #001b79 !important;
    font-size: 18px;
    line-height: 32px;
    width: 545px;
    z-index: 10;
    position:relative;
    top:-100px;
}

#bg3 svg {
    width: 55%;
    position: absolute;
    left: -5px;
    top: 10px;
}
.text-left{
    margin-bottom:15px !important;
}
.yellow-caps {
    background-color: #f2be22;
}

.yellow-b {
    border-color: #f2be22;
}

.yellow-color {
    color: #f2be22;
}

article {
    position: relative;
    top: -100px;
}

#our-about p {
    line-height: 1.6 !important;
}

.bgnano {
    position: absolute;
    top: 80px;
    left: -50px;
    opacity: 0.1;
    transform: rotate(85deg);
}

.bgnanor {
    position: absolute;
    top: 500px;
    right: -40px;
    opacity: 0.1;
}
.mb-25{
    margin-bottom:25px !important;
    min-height:120px;
}

.bgnano2 {
    position: absolute;
    top: 1500px;
    left: -70px;
    opacity: 0.1;
    transform: rotate(65deg);
}

.bgnanor2 {
    position: absolute;
    top: 1900px;
    right: -50px;
    opacity: 0.1;
    transform: rotate(85deg);
}

.bgnano3 {
    position: absolute;
    top: 2800px;
    left: -80px;
    opacity: 0.1;
    transform: rotate(35deg);
}

.bgnanor3 {
    position: absolute;
    top: 3500px;
    right: -50px;
    opacity: 0.1;
    transform: rotate(85deg);
}

footer {
    background-color: #dee9fe;
    margin-top: -100px;
}
footer h2{
    color: rgb(156 163 175) !important;
    font-size: 27px !important;
}
footer span{
    color: #000 !important;
    font-size: 16px !important;
}
footer a{
    color: rgb(156 163 175 / var(--tw-text-opacity)) !important;
}
footer img{
    width:400px;
}
.text-lg{
    font-size:16px !important;
    line-height:23px !important;
}
.product-sec{
    margin: 25px !important;
    padding-bottom:45px !important;
}
nav button:hover{
    color:#f2be22 !important;
}
nav a:hover{
    color:#f2be22 !important;
}
p{
    font-weight:300px !important;
}
.hsecwrap{
 height:285px !important;   
}
.lipleft{
    text-align: left !important;
}
.imgblog{
    width:500px !important;
    height:280px;
    object-fit:cover;
}
.contap{
     display: flex;
    flex-direction: column; /* ترتیب عمودی برای دسکتاپ */
}
.aboutdiv{
    order:1;
}
.productdiv{
    order:2;
}
.hservice{
    font-size:20px !important;
}
@media only screen and (max-width: 600px) {
    .inf-box h2{
        font-size: 30px !important;
        font-weight: 400;
        margin: 10px 0px;
        line-height: 36px;
    }
    header{
        min-height:unset;
    }
.contap{
    flex-direction: column; /* ترتیب عمودی برای دسکتاپ */
}
.aboutdiv{
    order:2;
}
.productdiv{
    order:1;
}
    .text-lg{
        font-size:16px !important;  
        line-height:23px !important;
    }
    .text-3xl{
        line-height:48px !important;
    }
    .hsecwrap{
        height:auto !important;
        padding-bottom:60px !important;
    }
    .txt-sec{
   text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
  width: auto;
  margin-bottom: 25px !important;
  line-height: 24px !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  text-align:left;
  word-break:break-all;
}
.hsecwrap a{
    padding:10px !important;
    font-size:14px !important;
}
.hsecwrap p{
    margin:15px !important;
}
    #dropdownNavbar1 ul li a{
        color:#001b79 !important;
    }
    #dropdownNavbar1 ul li a:hover{
        color:#f1be25 !important;
    }
    #dropdownNavbar2 ul li a{
        color:#001b79 !important;
    }
    #dropdownNavbar2 ul li a:hover{
        color:#f1be25 !important;
    }
    #dropdownNavbar ul li a{
        color:#001b79 !important;
    }
    #dropdownNavbar ul li a:hover{
        color:#f1be25 !important;
    }
    #product-header-liposomal{
        height:300px !important;
    }
    #contact-height{
        min-height: unset !important;
    }
    #services-height{
        min-height: unset !important;
    }
    #about-height{
        height: unset !important;
    }
    footer img{
        width: 150px !important;
        position: relative !important;
        left: -15px !important;
    }
    #navbar-dropdown{
        background-color: #001b79;
        position: absolute;
        top: 112px;
        left: 0;
        border-top:3px solid #fff;
    }
    #main-article{
        height:unset;
    }
    .product-sec{
        min-height:585px !important;
    }
    .navbar a{
        color:#fff !important;
    }
    #product-header-services{
        height: 200px;
    }
    .h2r{
        font-size: 32px !important;
        line-height: 42px !important;
    }
    .navbar.fixed #navbar-dropdown{
        background-color: #001b79 !important;
    }
    #myVideo{
        object-fit:contain;
        width:100%;
        position:relative;
        top:-10px;
    }
    #myVideo2{
        display:none;
    }
    #bg2{
        width: 100%;
        padding-top:270px !important;
    }
    #bg2 h1 {
        position: absolute;
    left: 18px;
    top: 85px;
    opacity: 1;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    z-index: 10;
    }
    #bg2 h2 {
        position: absolute;
    left: 18px;
    top: 110px;
    opacity: 1;
    color: #fff;
    font-size: 14px !important;
    font-weight: 400;
    z-index: 10;
    line-height: 28px;
    width:235px;
    }
    .mb-25{
        min-height:110px !important;
    }
    #bg2 p {
        position: absolute;
    left: 18px;
    top: 140px;
    opacity: 1;
    color: rgba(236, 240, 241,1.0);
    font-size: 10px;
    line-height: 15px;
    width: 200px;
    z-index: 10;
    text-align: justify;
    word-break:break-all;
    }
    .overlay{
        opacity:unset;
    }
    header{
        top:-80px !important;
    }
    .h2about{
        font-size:26px !important;
    }
    footer img{
        width: 300px !important;
        padding-left: 15px;
        padding-top: 15px;
    }
    .h2p{
        margin-top:25px !important;
        margin-bottom:-15px !important;
    }
    #our-sec{
        border-top:3px solid #001b79;
    }
    #our-product{
        padding:10px !important;
    }
    nav{
        background:#001b79 !important;
    }
    .navbar span{
        color:#fff !important;
    }
    .navbar button{
        color:#fff !important;
    }
    .product-sec{
        margin: 20px 0px !important;
    }
    .custom-heading{
        margin: 14px;
        position: relative !important;
        top: -3px !important;
        font-size: 28px !important;
    }
    #product-header-high{
        min-height:300px;
    }
    #product-header-lyophilization{
        min-height:300px;
    }
    #product-header-liposomal{
        min-height:300px;
    }
    #product-header{
        min-height:300px;
    }
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1800px) {
    header{
        min-height:unset;
    }
    #bg2{
        
    }
    .pl0{
        padding-left:50px !important;
    }
    .pn{
        padding:0px 60px !important;
    }
    .txt-sec{
        text-align:justify;
        word-break:break-all;
        width:240px !important;
    }
    .seccustom{
        padding:0px !important;
        width:90%;
    }
    .w90{
        width:90% !important;
    }
    .text-xl{
        font-size:14px !important;
        line-height:21px !important;
    }
    .hsecwrap{
        height:285px !important;
    }
    .fl{
}
h3{
    font-size:23px !important;
}
.hservice{
    font-size:18px !important;
}
.pb30{
    padding-bottom:30px;
}
.minhl{
    min-height:230px !important;
}
    #myVideo{
        object-fit: cover;
        height: 510px;
    }
}

/* Plus sign superscript */
.plusup {
    position: relative !important;
    top: -8px !important;
    right: 3px !important;
    font-size: 0.8em !important;
    vertical-align: super !important;
}