 body{
  font-family: 'Vazir', sans-serif;
direction: rtl;
    margin: 0;
    min-height: 2000px;
    transition: .3s;

    padding: 0;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
  }
  
.news-bar {
    position: fixed;
    top: 0;
    background: #000233;
   color: white;
   
    height: 35px;
    width: 100%;
    overflow: hidden;
    left: 0;
}

.news {
    margin-right: 5px;
margin-top: 3px;
    align-items: center;
    display: flex;
}
#news {
    white-space: nowrap;
    font-size: 18px;
    display: inline-block;
  }
  
  .red-line {
    display: inline-block;
    width: 2px;       
    height: 1em;         
    background: red;     

    vertical-align: middle;
  }
  
 .news-container {
    flex-grow: 1;
    overflow: hidden;
    height: 24px;
    padding-top: 5px;
    position: relative;
} 
.news-item {
    position: absolute;
    width: 100%;
    transform: translateY(100%);
    animation: slideNews 6s infinite;
    opacity: 0;
    right: 0;
}
.news-item:nth-child(1){
    animation-delay: 0s;
}
.news-item:nth-child(2) {
    animation-delay: 4s;
}
.news-item:nth-child(3) {
    animation-delay: 8s;
}
@keyframes slideNews {
    0%{
        opacity: 0; transform: translateY(100%);
    }
    5%{
        opacity: 1; transform: translateY(0);
    }
    30%{
        opacity: 1; transform: translateY(0);
    }
    35%{
        opacity: 0; transform: translateY(-100%);
    }
    100%{
        opacity: 0; transform: translateY(-100%);
    }
} 

@media (max-width: 412px) {
    .news-bar {
      height: 28px; 
      font-size: 12px;
    }


    #news {
      font-size: 14px; 
    }
  
    .news {
      margin-top: 2px;
    }
  
    .red-line {
      width: 1.5px;
      height: 0.8em; 
    }
  
    .news-container {
      height: 20px; 
      padding-top: 3px;
    }
  
    .news-item {
      font-size: 13px;
    }
  }

  
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: white;
    margin-top: 45px;
    border-bottom: 1px solid #ddd;
}
.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}
.logo {
   margin-right: 20px; 
    height: 60px;
}
.search-box {
    display: flex;
    background: #f0f0f0;
    border-radius: 50px;
    height: 30px;
    padding: 13px 20px;
    align-items: center;
    margin-right: 35px;
}

.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  gap: 6px;

}

#mySearchInput {
  flex: 1;

  padding: 10px 15px;

  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

#mySearchInput:focus {
  border-color: #007bff;
}


.error {
  color: red !important;
  font-weight: bold;
}



#mySearchBtn {
  padding: 6px 15px;
  background: #0c095b;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  margin-left: -15px;
  transition: 0.3s;
}

#mySearchBtn:hover {
  background: #0056b3;
}

.search-error {
  display: none;
  margin: 12px auto;
  max-width: 300px;
  padding: 10px;
  background: #ffe0e0;
  color: #c00;
  border: 1px solid #c00;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}




.search-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    margin-right: 10px;
    width: 400px;
    font-family: 'Vazir', sans-serif !important;
}
svg {
    color: #333;
    margin-top: 2px;
  }
  .font-bold {
    font-weight: 700 !important;
}
.login-box {
    display: flex;
    background: #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    height: 30px;
    padding: 5px 25px;
    gap: 6px;
    width: 130px;
    align-items: center;
}
@media (max-width: 412px) {
    .header-top {
      padding: 6px 10px;
      margin-top: 35px;
    }
  
    .header-right {
      gap: 8px;
    }
  
    .logo {
      height: 40px;
      margin-right: 8px;
    }
  .res{
    font-size: 13px !important;
  }
  #mySearchBtn{
    padding: 2px 8px;
  }
    .search-box {
      height: 26px;
      padding: 4px 10px;
      margin-right: 8px;
      border-radius: 20px;
    }
  
    .search-box input {
      font-size: 12px;
      width: 70px; 
      margin-right: 5px;
    }
  
    .login-box {
      height: 26px;
      padding: 3px 12px;
      font-size: 12px;
      gap: 4px;
      width: 100px;
    }
  
    .login-box svg {
      width: 18px;
      height: 18px;
    }
  }
.menu-toggle{
  display: none;
}
.sea {
  margin-top: 7px;
  color: #a0a0a0;
  font-size: 20px;
}
.stroke-current12 {
  stroke: currentColor;
  margin: 3px;
}
.menu-close{
  display: none;
}



.navbar {
  display: flex;
  justify-content: space-between !important;

  border-top: 1px solid #ddd;
  padding: 8px 20px;
  align-items: center;
  position: relative;
  color: white;
  z-index: 1000;
  height: 30px;

  width: 100%;
  transition: background-color 0.4s ease, transform 0.4s ease;
  transform: translateY(0);
} 
.navbar .menu-items{
color: black;
margin-right: 30px;
}
.navbar.sticky {
  transform: translateY(80px); 
  position: fixed;
  
  top: -80px !important;
  background: #f0f0f0;


}
.navbar.sticky .menu-items a{
  color: white !important;
}
.stroke-current2 {
  margin-right: -20px;
margin-left: 5px;
margin-top: 3px;
font-weight: bold;
}
.navbar.sticky .social-icons a {
color: white;
}
.menu-items.sticky {
  color: white;
}
.menu-items .a01 {
  text-decoration: none;
color: black;
margin-top: -5px;
 margin-left: 45px;
  align-items: center;
  display: flex;
  font-weight: 700 !important;
  font-size: 17px;
}

.h {
  display: inline-block;
  width: 1px;
  height: 1.7em;
  background: #b4b4b4;
  margin-right: -30px;
  vertical-align: middle;
}

.live {
color: black;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  
}
.stroke-current {
  stroke: currentColor;
  margin: 3px;
}
.text-sm {
  font-size: .875rem;
  line-height: 1.25rem;
}
.duration-150 {
  transition-duration: .15s;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}
a {
  color: inherit;
  text-decoration: inherit;
}
.flex {
  display: flex
; 
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: red;
 
  animation: blink 2s infinite ease-in-out; 
}
.ml-2 {
margin-left: 5px;
margin-top: 5px;
}
.ml-3 {
margin-top: -4px;
margin-left: 5px;
}
.ml-4{
margin-top: -2px;
margin-left: 5px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}


.menu-items{
  display: flex;
  align-items: center;
}
.menu-items {
  display: flex;
  list-style: none;
  padding: 0;

}

.menu-items .a1 {
  text-decoration: none;
color: black;

 margin-left: 45px;
  align-items: center;
  display: flex;
} 


.dropdown-menu, .submenu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.has-dropdown, .has-sub {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  transform-origin: top right;
  transform: scaleY(.86);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  z-index: 9999;        
  overflow: visible;     
}

.submenu {
  position: absolute;
  right: calc(100% - 4px);
  top: 0;
  min-width: 180px;
  background: #fffffe;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  transform-origin: top right;
  transform: scaleY(.9);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
  z-index: 10000;        
  overflow: visible;     
}


.has-dropdown.open > .dropdown-menu {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a, .submenu a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.dropdown-menu a:hover, .submenu a:hover {
  background: #f5f5f5;
}

.has-sub:hover > .submenu {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 10px;
}

.navbar.sticky .menu-items a,
.navbar.sticky .social-icons a {
  color: rgb(0, 0, 0) !important;
}
.navbar.sticky .menu-items svg{
color: rgb(0, 0, 0) !important;
}

.dropdown-menu, .submenu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.has-dropdown, .has-sub {
  position: relative;
}

.has-dropdown.open > .dropdown-menu {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a, .submenu a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.dropdown-menu a:hover, .submenu a:hover {
  background: #f5f5f5;
}

.has-sub:hover > .submenu {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}



.social-icons a {
  font-size: 16px;
  text-decoration: none;
  margin: 7px;
  color: #000000;
}

.social-icons {
 
  gap: 12px;
  position: absolute;
left: 10px;
align-items: center;
display: flex;
margin-top: 6px;
margin-left: 60px;
}
.men2{
  display: none;
}


@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
  }
  .menu-toggle {
    display: block;
    z-index: 1001;
    margin-right: -7px;
    color: #001fcc;
}



.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
body.no-scroll {
  overflow: hidden;
}



.menu-overlay.active {
  display: block;
}

  .men2{
    display: block;
color: black;
width: 80%;
  }
  .toggleBtnX777 {
    margin-right: -290px;
  }
 
  .iconX777 {
    display: block !important;
  }
  .live {
    display: none !important;
  }
 .menu-items svg {
    display: none;
  }
  .h {
    display: none !important;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
  } 
.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }




  .menu-items {
    flex-direction: column;
    background: #fff;
    width: 50%;             
    max-width: 320px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;         
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 999;
    margin-right: 0px !important;
    overflow-y: auto;
    display: block;
  }
  .menu-items.active {
    right: 0;             
  }

  .menu-close {
    font-size: 35px;
    font-weight: bold;
    background: none;
    border: none;
    color: #ff0000;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 15px;
    margin-top: -15px;
    left: 0px !important;
    display: block;
    margin-right: 200px;
  }
 .menu-items a {
    display: block;
   margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
  
  }
 
.dropdown-menu {
  display: none;
}
.has-dropdown {
  display: none;
}


  .social-icons {
    position: relative;
    left: 35px;
    margin: 0;
    display: flex !important;
    gap: 8px;
  }
  .social-icons a {
    color: #000;
    font-size: 20px;
  } 
}




  .libx-video-wrapper {
    display: flex;
    margin-top: -30px;
    justify-content: center;
    align-items: center;
    padding: 40px 10px 0px 10px;
  }

  .libx-video-box {
    width: 1300px;   
    max-width: 95vw;
    height: 560px;
    overflow: hidden;
    clip-path: inset(0 50% 0 50%); 
    animation: libx-openWide 3.0s ease-out forwards;
  }

  .libx-video-box video {
    width: 100%;
    height: 90%;
    object-fit: cover;
    display: block;
  }

  @keyframes libx-openWide {
    from { clip-path: inset(0 50% 0 50%); }
    to   { clip-path: inset(0 0 0 0); }
  }

  @media (max-width: 768px) {
    .libx-video-box {
      width: 95%;
      height: 280px;
    }
}
   

 
  .wrap {
    max-width: 1200px;
    margin:0px auto;
    padding: 0 40px;
    height: 100%;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }

  .header h2 {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .more-btn {
    border: 1px solid #0b2d55;
    background: #fff;
    color: #0b2d55;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
  }

  .more-btn:hover {
    background: #0b2d55;
    color: #fff;
  }

  .divider {
    height: 2px;
    background: linear-gradient(to left, #0b2d55 35%, transparent 80%);
    margin-bottom: 20px;
    margin-top: -20px;
  }

  .scroll-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  .scroll-container::-webkit-scrollbar {
    display: none;
  }

  .card {
    flex: 0 0 300px;
    background: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 20px;
  }

  .card:hover {
    background: #fff;
    transform: translateY(-8px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    z-index: 5;
  }

  .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }

  .card-content {
    padding: 14px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card-content h3 {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
  }

  .info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #333;
  }

  .info {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .icon1 {
    width: 120px;
    height: 20px;
    display: inline-block;
  }
  .icon {
    margin-top: -6px;
    width: 20px;
    height: 20px;
    display: inline-block;
  }
  .icon1 svg {
    width: 100%;
    height: 100%;
    fill: #555;
    margin-top: -1px;
  }


  @media (max-width: 768px) {
    .wrap {
      padding: 0 15px;
    }
    .header h2 {
      font-size: 18px;
    }
    .more-btn {
      font-size: 12px;
      padding: 5px 10px;
    }
    .card {
      flex: 0 0 80%;
      max-width: 80%;
    }
    .card img {
      height: 150px;
    }
    .card-content {
      height: auto;
      padding: 10px;
    }
    .card-content h3 {
      font-size: 14px;
    }
    .info-row {
      font-size: 12px;
    }
    .icon {
      width: 18px;
      height: 18px;
    }
  }

  @media (max-width: 480px) {
    .card {
      flex: 0 0 95%;
      max-width: 95%;
    }
    .card img {
      height: 130px;
    }
  }


  .quarterly-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  .quarterly-section .title {
    font-size: 22px;
    color: #001f4d;
    margin-bottom: 20px;
  }
.titlev {
  font-size: 22px;
  color: #001f4d;
  margin-bottom: 0px;
  margin-right: 170px;
}
.dividerv {
  height: 2px;
  width: 80%;
  background: linear-gradient(to left, #001f4d, transparent);
  margin-bottom: 0px;
  margin-right: 170px;
}
  .quarterly-section .divider {
    height: 2px;
    width: 80%;
    background: linear-gradient(to left, #001f4d, transparent);
    margin-bottom: 30px;
  }

  .quarterly-section .magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 450px;
  }

  .quarterly-section .magazine-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
    margin: 0px !important;
  }

  .quarterly-section .magazine-card::before,
  .quarterly-section .magazine-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  .quarterly-section .magazine-card::before {
    top: 0; left: 0;
    width: 280px; height: 2px;

    background: linear-gradient(to right, #001f4d, transparent);
  }

  .quarterly-section .magazine-card::after {
    bottom: 0; right: 0;
    width: 2px; height: 100px;
    background: linear-gradient(to top, #001f4d, transparent);
  }

  .quarterly-section .magazine-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  }

  .quarterly-section .magazine-card img {
    width: 120px;
    height: 100%;
    object-fit: cover;
  }

  .quarterly-section .card-content {
    padding: 15px;
    flex: 1;
  }

  .quarterly-section .card-content h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #001f4d;
  }

  .quarterly-section .category {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
  }

  .quarterly-section .desc {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
  }

  .modal {
    display: none; 
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    background: #fff;
    padding: 35px;
    border-radius: 14px;
    max-width: 700px;
    width: 95%;
    min-height: 300px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    position: relative;
    animation: fadeIn 0.3s ease;
  }

  .modal-content h2 {
    margin: 0 0 20px;
    color: #001f4d;
  }

  .modal-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
  }

  .close {
    position: absolute;
    top: 12px; right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: red; 
    font-weight: bold;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }


.quarterly-section .magazine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: auto;
}

.quarterly-section .magazine-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.quarterly-section .magazine-card::before,
.quarterly-section .magazine-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.quarterly-section .magazine-card::before {
  top: 0; left: 0;
  width: 250px; height: 2px;
  background: linear-gradient(to right, #001f4d, transparent);
}
.quarterly-section .magazine-card::after {
  bottom: 0; right: 0;
  width: 2px; height: 100px;
  background: linear-gradient(to top, #001f4d, transparent);
}

.quarterly-section .magazine-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.quarterly-section .magazine-card img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
}

.quarterly-section .magazine-card .card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .quarterly-section .magazine-grid {
    grid-template-columns: 1fr;   
    gap: 15px;
    height: 460px;
  }
  .quarterly-section .magazine-card {
    flex-direction: row;
    width: 100%;                
    margin: 0 10px;              
    height: auto;               
  }
  .quarterly-section .magazine-card img {
    width: 110px;
    height: 100%;
  }
  .quarterly-section .magazine-card .card-content {
    padding: 10px;
  }

  .modal-content {
    width: 95%;
    max-height: 75vh;
    padding: 15px;
  }
}




.video-section {
  display: flex;
  gap: 15px;
  padding: 15px;
  background:  linear-gradient(to right, #0c3e89, #0e0e4e );
  color: white;
  width: 90%;
  max-width: 1100px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  min-height: 420px;
}


.main-video {
  flex: 1.3;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.main-video video {
  width: 100%;
  height: 100%;
  display: block;
}

.video-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 390px;
  padding-right: 5px;
  background: transparent; 
}

.video-item {
  display: flex;
  gap: 10px;
  border-radius: 8px;
  cursor: pointer;
  padding: 6px;
  align-items: center;
  transition: all 0.3s ease;
}

.video-item:hover {
  background: rgba(200,200,200,0.3);
  transform: scale(1.05);
}

.video-item img {
  width: 100px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
}

.video-info {
  flex: 1;
}

.video-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
}

.video-list::-webkit-scrollbar {
  width: 6px;
}
.video-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .video-section {
    flex-direction: column;
  }

  .main-video {
    height: 220px;
  }

  .video-list {
    max-height: 250px;  
    overflow-y: auto; 
  }
}



:root{

  --libx-slate:#2c3a52;      
  --libx-card1: linear-gradient(135deg, #243354, #40597e);
  --libx-card2: linear-gradient(135deg, #2b3b5e, #4a6289);
  --libx-text:#e7ecf5;
  --libx-muted:#c9d2e3;
  --libx-border: rgba(255,255,255,.12);
  --libx-yellow: rgb(0 0 0 / 52%); 
  --libx-red:#ef4444;
  --libx-white:#ffffff;
  --libx-shadow: 0 10px 30px rgba(0,0,0,.25);
  --libx-radius: 20px;
  --libx-gap: 28px;
}

.libx-screen{
  min-height: 100vh;
  display:flex; flex-direction:column; align-items:center;
  padding-bottom: 40px;

  background: radial-gradient(1200px 600px at 50% -10%, var(--libx-navy) 0%, var(--libx-slate) 60%);
  animation: libxBgShift 18s ease-in-out infinite alternate;
}
@keyframes libxBgShift{
  0%{ background: radial-gradient(1200px 600px at 50% -10%, var(--libx-navy) 0%, var(--libx-slate) 60%); }
  100%{ background: radial-gradient(1200px 600px at 50% -10%, var(--libx-slate) 0%, var(--libx-navy) 60%); }
}


.libx-hero{margin-top:8px; text-align:center; color:var(--libx-text)}
.libx-title{font-size: clamp(28px, 4vw, 30px);  color:#0e2a65; letter-spacing:.4px}
.libx-underline{height:2px; width:min(4000px, 60vw); margin:12px auto 0; position:relative}
.libx-underline::before{
  content:""; position:absolute; inset:0; margin:auto;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(14,42,101,.9) 50%, rgba(255,255,255,0) 100%);
}

.libx-container{
  width:min(1200px, 92vw);
  padding: 0 5vw; margin:42px auto;
  display:grid; grid-template-columns: 1.2fr .9fr; gap: var(--libx-gap);
}

.libx-card{
  border-radius: var(--libx-radius);
  box-shadow: var(--libx-shadow);
  border:1px solid var(--libx-border);
  overflow:hidden; position:relative; isolation:isolate;
  color:var(--libx-text);
  min-height: 400px;
}
.libx-card--left{ background: var(--libx-card1); }
.libx-card--right{ background: var(--libx-card2); }
.libx-card-body{ padding: 20px; height:100%; display:flex; flex-direction:column; gap:12px }

.libx-list{ flex:1; overflow:auto; padding-right:2px; max-height:300px }
.libx-list{ scrollbar-width:none; }
.libx-list::-webkit-scrollbar{ width:0; height:0 }

.libx-book{
  display:grid; grid-template-columns: 50px 1fr auto; gap:10px; align-items:center;
  padding:6px 4px; position:relative; border-radius:10px; min-height:64px; transition:background .2s ease;
}
.libx-book + .libx-book::before{
  content:""; position:absolute; top:-1px; left:10%; right:10%; height:1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.25), rgba(255,255,255,0));
  opacity:.6;
}
.libx-thumb{ width:50px; height:68px; border-radius:8px; background:#eaeaea; overflow:hidden; display:flex; align-items:center; justify-content:center }
.libx-thumb img{ width:100%; height:100%; object-fit:cover; display:block }

.libx-meta{ display:flex; flex-direction:column; gap:2px }
.libx-name{ font-weight:700; font-size:.9rem }
.libx-cat{ font-size:.8rem; color:var(--libx-muted) }
.libx-price{ font-weight:700; font-size:.9rem; margin-inline-start:8px }

.libx-search-wrap{ display:flex; flex-direction:column; gap:6px }
.libx-search{ display:flex; align-items:center; gap:8px }
.libx-input{
  width:220px; padding:10px 12px; border-radius:12px; outline:none;
  border:1px solid rgba(255,255,255,.25); background: var(--libx-white); color:#0f172a; font-size:.9rem;
  transition: box-shadow .2s ease, border-color .2s ease;   font-family: 'Vazir', sans-serif !important;
}
.libx-input:focus{ border-color:#93c5fd; box-shadow: 0 0 0 4px rgba(59,130,246,.2) }
.libx-hint{ font-size:.8rem; color:var(--libx-muted) }
.libx-not-found{ display:none; font-size:.85rem; color:var(--libx-white); background: var(--libx-red); padding:4px 8px; border-radius:8px; width:max-content }


.libx-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:12px }
.libx-bookcard{ display:flex; flex-direction:column; align-items:center; gap:6px }
.libx-cover{ width:100%; aspect-ratio: 3/4; border-radius:12px; overflow:hidden; background:#eaeaea; box-shadow: 0 8px 18px rgba(0,0,0,.25); transition: transform .25s ease }
.libx-cover:hover{ transform: translateY(-6px) }
.libx-cover img{ width:100%; height:100%; object-fit:cover; display:block }
.libx-label{ font-size:.85rem; text-align:center }

.libx-hl{ background: var(--libx-yellow); border-radius:8px }

/* ریسپانسیو */
@media (max-width: 1100px){
  .libx-container{ grid-template-columns: 1fr }
  .libx-card{ min-height: 320px }
}
@media (max-width: 768px){
  .libx-container{ padding:0 2vw }
  .libx-card{ min-height: 150px }    
  .libx-book{ min-height:60px }
  .libx-suggestions{ display:none }  
  .libx-list{ max-height: 260px }  
}
@media (max-width: 520px){
  .libx-card{ min-height: 150px }
  .libx-input{ width:100%; max-width:260px }
  .libx-list{ max-height: 220px }
}

.msf3d-section {
  background: #fdf2e3;
  text-align: center;
  padding: 0px !important;
  position: relative;
  margin-top: 0; 
  overflow: hidden;
}

.msf3d-heading {
  font-size: 22px;
  font-weight: bold;
  color: #2c3a52;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  margin-right: 20px;
  gap: 12px;
}
.msf3d-heading::before,
.msf3d-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(to left, transparent, #2c3a52, transparent);
}
.msf3d-heading span {
  white-space: nowrap;
}

.msf3d-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  perspective: 1200px;
  transform-style: preserve-3d;
  min-height: 320px; 
  overflow: visible;
}

.msf3d-card {
  position: absolute;
  width: 260px;
  height: 180px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  transition: transform 0.6s, opacity 0.6s;
  opacity: 0;
  margin-top: 0; 
}

.msf3d-card .msf3d-icons {
  margin-top: 15px;
  height: 28px;
}

.msf3d-card.active {
  transform: translateX(0) translateZ(200px) rotateY(0deg);
  opacity: 1;
  z-index: 5;
}
.msf3d-card.left1 {
  transform: translateX(240px) translateZ(100px) rotateY(-25deg);
  opacity: 0.8;
  z-index: 4;
}
.msf3d-card.left2 {
  transform: translateX(440px) translateZ(0px) rotateY(-35deg);
  opacity: 0.5;
  z-index: 3;
}
.msf3d-card.right1 {
  transform: translateX(-240px) translateZ(100px) rotateY(25deg);
  opacity: 0.8;
  z-index: 4;
}
.msf3d-card.right2 {
  transform: translateX(-440px) translateZ(0px) rotateY(35deg);
  opacity: 0.5;
  z-index: 3;
}


@media (max-width: 768px) {
  .msf3d-section {
    padding: 0px !important;
    scroll-margin-top: 100px; 
  }

  .msf3d-heading {
    margin-top: -250px; 
    margin-bottom: 40px;
  }

  .msf3d-container {
    min-height: 280px;
  }

  .msf3d-card {
    width: 200px;
    height: 140px;
    font-size: 15px;
    margin-top: 0;
  }

  .msf3d-card.left1 {
    transform: translateX(-180px) translateZ(80px) rotateY(25deg);
  }
  .msf3d-card.left2 {
    transform: translateX(-320px) translateZ(0px) rotateY(35deg);
  }
  .msf3d-card.right1 {
    transform: translateX(180px) translateZ(80px) rotateY(-25deg);
  }
  .msf3d-card.right2 {
    transform: translateX(320px) translateZ(0px) rotateY(-35deg);
  }
}



.kowsar-counter-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin: 70px 10px;
  text-align: center;
  direction: rtl;
}

.kowsar-counter-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kowsar-counter-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}

.kowsar-counter-number {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin: 5px 0;
}

.kowsar-counter-text {
  font-size: 15px;
  color: #666;
}




.kowsar-partners-section {
  background: #fff;
  padding: 0px 100px;
  text-align: center;
  direction: rtl;
}

.kowsar-partners-title {
  font-size: 30px;
  color: #001f3f; 
  position: relative;
  display: inline-block;
  margin-bottom: 0px;

}

.kowsar-partners-title span {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 0 20px;
  margin-top: -10px !important;
}

.kowsar-partners-title::before,
.kowsar-partners-title::after {
  content: "";
  position: absolute;
  top: 60%;
  width: 400px;
  height: 2px;
  background: linear-gradient(to right, transparent, #001f3f);
  transform: translateY(-50%);
}

.kowsar-partners-title::before {
  right: 100%;
}

.kowsar-partners-title::after {
  left: 100%;
  background: linear-gradient(to left, transparent, #001f3f);
}

.kowsar-partners-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0;
  margin: 0 auto;
  max-width: 85%; 

 
  scrollbar-width: none; 
}
.kowsar-partners-wrapper::-webkit-scrollbar {
  display: none; 
}

.kowsar-partners-logos {
  display: flex;
  gap: 40px; 
}
.kowsar-logo-placeholder {
  width: 130px;
  height: 130px;
  background: #ddd;
  border-radius: 16px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #555;
  transition: transform 0.3s ease;
}

.kowsar-logo-placeholder:hover {
  transform: scale(1.1);
}

/* رسپانسیو */
@media (max-width: 768px) {
  .kowsar-logo-placeholder {
    width: 100px;
    height: 100px;
  }
  .kowsar-partners-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .kowsar-partners-section{
    padding: 0;
  }
  .kowsar-logo-placeholder {
    width: 100px;
    height: 80px;
  }
  .kowsar-partners-title {
    font-size: 20px;

  }
}




.arasx-footer {
  direction: rtl;
  color: #e8eff7;
  background: #0e0e4e;
   background-size: 300% 300%;
  animation: arasxGradient 18s ease-in-out infinite;
  padding-top: 48px;
  margin-top: 40px;
}

@keyframes arasxGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.arasx-footer__container {

  padding: 0 24px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.arasx-footer__col { min-width: 0; }
.arasx-footer__heading {
  font-size: 18px;
  margin: 0 0 10px;
  color: #ffffff;
}
.arasx-footer__text {
  margin: 0 0 16px;
  line-height: 1.9;
  color: #cfe0ff;
}
.arasx-footer__text--muted { color: #b9ccec; }

.arasx-footer__title-line {
  position: relative;
  text-align: center;
  font-size: 20px;
  margin: 0 0 12px;
  color: #ffffff;
}
.arasx-footer__title-line span {
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.arasx-footer__title-line::before,
.arasx-footer__title-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 2px;
  background: linear-gradient(to left, transparent, rgba(255,255,255,0.5));
  transform: translateY(-50%);
}
.arasx-footer__title-line::before { right: calc(50% + 70px); }
.arasx-footer__title-line::after {
  left: calc(50% + 70px);
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.5));
}

.arasx-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}
.arasx-social__item {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(2px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.arasx-social__item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}

.arasx-footer__list {
  list-style: none;
  padding: 0; margin: 0 0 14px;
}
.arasx-footer__list li { margin-bottom: 8px; }
.arasx-footer__link {
  color: #e6f1ff; text-decoration: none; border-bottom: 1px dashed rgba(230,241,255,0.4);
}
.arasx-footer__link:hover { border-bottom-color: rgba(230,241,255,0.9); }

.arasx-footer__links { display: flex; flex-wrap: wrap; gap: 8px; }
.arasx-footer__chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: #0a2244;
  background: #e6f1ff;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.arasx-footer__chip:hover { transform: translateY(-2px); opacity: .95; }

.arasx-enamad {
  display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.arasx-enamad__slot {
  width: 94px; height: 94px;
  background: rgba(255,255,255,0.12);
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  position: relative;
}
.arasx-enamad__slot::after {
  content: "ENAMAD";
  font-size: 11px; color: rgba(255,255,255,0.7);
}

.arasx-footer__bottom {
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 14px 16px 18px;
  background: rgba(0,0,0,0.08);
}
.arasx-footer__copyright {
  margin: 0; font-size: 13px; color: #d7e6ff;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .arasx-footer__container {
    grid-template-columns: 1fr; 
    gap: 24px;
    text-align: center;
  }
  .arasx-footer__links { justify-content: center; }
  .arasx-enamad { justify-content: center; }
  .arasx-footer__title-line::before,
  .arasx-footer__title-line::after { width: 80px; }
}
@media (max-width: 420px) {
  .arasx-social { gap: 10px; }
  .arasx-social__item { width: 36px; height: 36px; border-radius: 8px; }
  .arasx-enamad__slot { width: 86px; height: 86px; }
}


.arasx-social__item1 svg {

  fill: #f83948;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  padding: 6px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(2px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.arasx-social__item1:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.fill-current {
  fill: currentColor;
}
.w-5 {
  width: 1.25rem;
}
.h-5 {
  height: 1.25rem;
}
.ml-1 {
  margin-left: .25rem;
}

.stroke-current1{
  color: #ff39db;
  stroke: currentColor;
  margin: 3px;
}

.stroke-current5 {
  color: #0f6fff;
  stroke: currentColor;
}
.arasx-social__item6 {
  color: #72a8fa;
  stroke: currentColor;

}
.rss-icon-bg {

  display: inline-flex;
  padding: 5px;
  border-radius: 50%;
}
a .dot1{
  color:  black !important;
}



body.darkModeX777 {
  background: radial-gradient(90% 70% at 50% 0%, #251c38 0%,
  #151520 55%,
  #0a0a0a 100%);


}
body.darkModeX777  .libx-screen{
  background: transparent; 
}
.toggleBtnX777 {
  position: fixed;
  top: 5px;
  right: 77%;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .1);
  cursor: pointer;
  display: flex
;
  align-items: center;
  justify-content: center;
}
.iconX777 {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
body.darkModeX777 .toggleBtnX777 { color: #fff; }
body:not(.darkModeX777) .toggleBtnX777 { color: #000; }


body.darkModeX777 svg{
  color: white!important;
}
body.darkModeX777 .menu-item {
  color: #fdfdfd;
}
body.darkModeX777 .a1 , .h, .ml-2, .ml-3{
  color: #fdfdfd !important;
}
body.darkModeX777 .ml-4, .stroke-current12{

  color: #fdfdfd !important;
}
body.darkModeX777 .divider{
  background: white;
}
body.darkModeX777 .header-top{
  background: transparent !important; 
}
body.darkModeX777 h2{
  color: white;
}
body.darkModeX777 .menu-items .a01 {
  color: white;
}
body.darkModeX777 .kowsar-counter-section{
  background: transparent !important; 
}
body.darkModeX777 .kowsar-partners-wrapper{
  background: radial-gradient(90% 70% at 50% 0%, #251c38 0%,
  #151520 55%,
  #0a0a0a 100%) !important;
}

body.darkModeX777 .login-box {
background: #4c4a6d;
}
body.darkModeX777 .search-box{
  background: #4c4a6d;
}
body.darkModeX777 .ml-3{
  color: #fff;
}
body.darkModeX777 .msf3d-section {
  background: transparent; 
}
body.darkModeX777 .kowsar-partners-section {
  background: transparent; 
}
body.darkModeX777 .kowsar-counter-number{
  color: white;
}
body.darkModeX777 a {
  color: white !important;
}
body.darkModeX77 .ml-3 {
  color: white !important;
}
body.darkModeX777 .more-btn{
  background: radial-gradient(90% 70% at 50% 0%, #251c38 0%,
  #151520 55%,
  #0a0a0a 100%);
}
body.darkModeX777 .libx-title{
  color: white;
}
body.darkModeX777 ul {
  background: radial-gradient(90% 70% at 50% 0%, #251c38 0%,
  #151520 55%,
  #0a0a0a 100%);
}
body.darkModeX777 .submenu{
  background: radial-gradient(90% 70% at 50% 0%, #251c38 0%,
  #151520 55%,
  #0a0a0a 100%);
}
body.darkModeX777 .quarterly-section .title{
  color: white;
}
body.darkModeX777 .kowsar-partners-title span {
  background: transparent !important; 
}
body.darkModeX777 .menu-items.active {
  background: radial-gradient(90% 70% at 50% 0%, #251c38 0%,
  #151520 55%,
  #0a0a0a 100%);
}

body.darkModeX777 .arasx-footer__list {
  background: none !important;
}
body.darkModeX777 .dropdown-menu a:hover, .submenu a:hover {
  background: #ffffff89;
}

body.darkModeX777 .navbar.sticky .menu-items a,
.navbar.sticky .social-icons a{
  color: white !important;
}
body.darkModeX777 .navbar.sticky {
  background:   radial-gradient(90% 70% at 50% 0%, #251c38 0%,
  #151520 55%,
  #0a0a0a 100%);
}
body.darkModeX777 .navbar.sticky .menu-items svg {
  color: white !important;
}

body.darkModeX777 .modal-content {
  background:  radial-gradient(90% 70% at 50% 0%, #3c2d5b 0%, #2e2e3d 55%, #161616 100%);
}
body.darkModeX777 .modal-content p{
  color: rgb(230, 230, 230);
}

body.darkModeX777 .arasx-footer__chip{
  background:#7cecf152;
}