@import url(fontiran.css);
*{
    box-sizing: border-box;
    text-align: justify;

    
}
body {
    font-family: "IRANSansX";
    direction: rtl;
    background-color: #fff;
    font-size: 15px;
    background-color:#eeeeee2e;
}
.text-primary {
    color: rgb(255 128 0) !important;
}
.swiper-pagination-bullet-active {
    background-color: rgb(255 128 0) !important;
}
.btn-outline-primary {
    color: #fff !important;
    background-color: rgb(255 128 0) !important;
    border-color: rgb(255 128 0) !important;
}
.mainHeader {
    background: rgb(33,37,41);
    background: linear-gradient(90deg, rgb(39 39 40) 17%, rgba(52, 58, 64, 1) 100%);
    height: auto !important;
    padding-top: 12px;
    padding-bottom: 0px !important;
}

.txtmainheader{
  color: #FF8000;
  text-align: left;

}
.typing-effect-container {
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.typing-effect {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #FF8000;
  animation: typing 4s steps(30) infinite, blink 0.75s step-end infinite, delayTyping 4s infinite;
}

@keyframes typing {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}


@keyframes delayTyping {
  0%, 100% {
    width: 0%;
  }
  90% {
    width: 100%; 
  }
  95% {
    width: 0%;
  }
}

 


/* تغییر رنگ نوار اسکرول */
::-webkit-scrollbar {
    width: 15px; /* عرض نوار اسکرول */
}

/* تغییر رنگ قسمت حرکت‌کننده (thumb) نوار اسکرول */
::-webkit-scrollbar-thumb {
    background-color: #ff8000; /* سبز */
    border-radius: 10px;
}

/* تغییر رنگ قسمت پس‌زمینه نوار اسکرول */
::-webkit-scrollbar-track {
    background-color: #343a40; /* رنگ خاکی روشن */
    border-radius: 10px;
}


/* navbar */
.navbar{
  transition: top 0.3s;
}

.fixed-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}





.navbar .nav-link {
    color: white !important;
    font-size: 14px !important;
}

a.navbar-brand {
  margin: 0;
}

ul.navbar-nav {
  margin: 0;
  padding: 0;
  margin-right: -47px;

}

input.form-control.SRbox {
    margin-left: 5px;
    border: 2px solid #ff8000;
    border-radius: 10px;
}

input.form-control.SRbox:focus {
    margin-left: 5px;
    border: 2px solid #ff8000;
    box-shadow:0 0 20px 0px rgba(238, 101, 9, 0.452) !important;
    border-radius: 10px;
}
.btnSearch{
    background-color: #ff8000;
    border: none;
    border-radius: 10px;
    width: 50px;
}

.btnSearch svg{
  margin-right: 5px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 400;
    text-transform: uppercase;
    padding: 5px 0px;
    transition: all 0.3s ease;
    border-radius: 10px;
    font-size:16px !important;
     
}

  /* افکت هاور برای لینک‌ها */
  .navbar-nav .nav-link:hover {
    background-color: #ff8000;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  /* افکت فعال بودن لینک */
  .navbar-nav .nav-link.active {
    background-color: #ff8000;
    color: white;
    border-radius: 10px;
  }

  /* استایل آیکن‌ها */
  .navbar-toggler-icon {
    background-color: #fff;
  }



  .bgcolor  {
    display: flex;
    justify-content: center;
    gap:9px !important;
    
  }


   .backbg{
    padding: 8px;
    background-color: white !important;
    border-radius: 10px;
    box-shadow:0 0 11px 0px rgb(185 171 171 / 28%) !important;
   

  }

  .bgcolor .cardNews{
    background-color: white !important;
    border-radius: 10px;
    padding: 10px;
    text-align: right !important;
    text-align: justify !important;

  }

  .boxcatagory{
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    padding-right: 22px;
  }

  .boxcatagory a{
    color: white;
  }
  .boxcatagory a:hover{
    color: black;
  }


  .catagory{
    background-color: #FF8000;
    border-radius: 10px;
    padding: 10px;
    padding-bottom: 0px;
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: space-around;
    color: white;
    font-weight: bold;
  }
  .cardText{
    width: 70%;
    text-align: justify;
  }
  .cardText2{
    width:100%;
    text-align: justify;
    border-bottom: 1px dashed #ff8000;
  }
   .cardText span{
    color: #6f6f70;
  }

  .IMG-news{
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }
  .line{
    color: #ff8000;
  }

  .IMG-news2{
    width: 100%;
    border-radius: 10px;
    align-items: center;
    margin-top: 12px;

  }
  span:hover{
    color: #ff8000;

  }
  .Titr{
    color: #6f6f70;
  }


  .OrangeBOX{
    background-color: #ff8000;
    padding: 10px;
    border-radius: 10px;
    color: white;
  }

  .bi-newspaper{
    margin-left: 5px;
    color: white;
  }

  .UL-list {
    display: inline-block;
    list-style:disc;
  }


  .UL-list a{
    color: #343a40;
  }
  .UL-list a:hover{
    color: #ff8000;
  }

  a{
    text-decoration:none !important;

  }

  .note{
   background-color:  #ff8000;
   width: 100%;
   padding: 10px;
   border-radius: 10px;
   color: white;
   font-weight: bold;
  }


  .IMG-news3{
    width: 100%;
    border-radius: 10px;
  }


  .noteTXT{
    font-weight: bold;
  }
  .noteTXT:hover{
    color: #ff8000;
}



   .cardNews2 {
    max-height: 869px; 
    overflow-y: auto;  
    overflow-x: hidden; 
    padding: 8px;
    border: 1px solid #343a404f;
    border-radius: 10px;
    height: 100%;
}

.cardNews3 {
  max-height: 578px; 
  overflow-y: auto;  
  overflow-x: hidden; 
  padding: 8px;
  border: 1px solid #343a404f;
  border-radius: 10px;
  height: 100%;
}

/* تغییر رنگ نوار اسکرول */
.cardNews2::-webkit-scrollbar {
    width: 8px; 
   
}

/* تغییر رنگ قسمت حرکت‌کننده (thumb) نوار اسکرول */
.cardNews2::-webkit-scrollbar-thumb {
    background-color: #ff8000;
    border-radius: 10px;
}

/* تغییر رنگ قسمت پس‌زمینه نوار اسکرول */
.cardNews2::-webkit-scrollbar-track {
    background-color: #e9e9e9; 
    border-radius: 10px;
}



/* تغییر رنگ نوار اسکرول */
.cardNews3::-webkit-scrollbar {
  width: 8px; 
 
}

/* تغییر رنگ قسمت حرکت‌کننده (thumb) نوار اسکرول */
.cardNews3::-webkit-scrollbar-thumb {
  background-color: #ff8000;
  border-radius: 10px;
}

/* تغییر رنگ قسمت پس‌زمینه نوار اسکرول */
.cardNews3::-webkit-scrollbar-track {
  background-color: #e9e9e9; 
  border-radius: 10px;
}

  .boxNews {
    overflow: hidden;
  }



.cardbanner img{
    width: 100% !important;
}

.gifBanner{
    border-radius: 10px;
}

.carousel-item img {
    height: 450px;
    object-fit: cover;
    width: 100% !important;
    border-radius: 10px !important;
    margin-top: 0;
}






/* card news */

 
  .lead{
    color:#ff8000;
    text-align: right !important;
    border-right: 2px solid #ff8000;
    padding-right: 4px;

  }
  
  .CardNews {
    background: rgb(33,37,41);
    background: linear-gradient(90deg, rgb(39 39 40) 17%, rgba(52, 58, 64, 1) 100%);    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow:0 0 11px 0px rgb(185 171 171 / 28%) !important;

  }
  
 

/* GalleryNews */

 
.lead{
  color:#ff8000;
  text-align: right !important;
  border-right: 2px solid #ff8000;
  padding-right: 4px;

}

.GalleryNews {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow:0 0 11px 0px rgb(185 171 171 / 28%) !important;
}

 

.GalleryNews .card-img-top{
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid #ff800048 !important;
}

.card-img-container {
  position: relative;
}

.card-img-top {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease; 
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 100%; */
  background-color: #7a7a7a33;
  opacity: 0;
  transition: opacity 0.3sease;
  margin-top: 10px;
  border-radius: 10px;
  bottom: 0;
}

.card:hover .overlay {
  opacity: 1; 
}



.card-body {
  text-align: center;
}

.card-text{
text-align: right;
}






/* footer */
footer {
    background-color: #212529;
    color: #fff;
    padding: 20px 0;
    margin-top: 90px !important;
    width: 100% !important;
    
}


.footer .subscribe {
  margin-top: -49px;
}

.footer .subscribe-form {
  border-radius: 40px;
  background: #fff;
  padding: 3px;
  -webkit-box-shadow: 0px -12px 21px -15px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px -12px 21px -15px rgba(0, 0, 0, 0.1);
  box-shadow: 0px -12px 21px -15px rgba(0, 0, 0, 0.1);
}


.footer .subscribe-form .form-group {
  position: relative;
  margin-bottom: 0;
  border-radius: 0;
}


.footer .subscribe-form .form-group input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: rgba(0, 0, 0, 0.3) !important;
  font-size: 16px;
  height: 56px;
  border-radius: 0;
}
.form-control {
  height: 52px;
  background: #fff;
  color: #000;
  font-size: 18px;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.rounded-left {
  border-top-left-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
  box-shadow: none !important;
  border: none !important;
}



.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-transition: border-color 0.15sease-in-out, -webkit-box-shadow 0.15sease-in-out;
  transition: border-color 0.15sease-in-out, -webkit-box-shadow 0.15sease-in-out;
  -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15sease-in-out, box-shadow 0.15sease-in-out;
  transition: border-color 0.15sease-in-out, box-shadow 0.15sease-in-out, -webkit-box-shadow 0.15sease-in-out;
}


.footer .subscribe-form .form-group .submit {
  color: #fff !important;
  display: block;
  width: 150px;
  height: 56px;
  font-size: 14px;
  background: #ff8000 !important;
  border: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 40px;
}

.footer .subscribe-form .form-group input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: rgba(0, 0, 0, 0.3) !important;
  font-size: 16px;
  height: 56px;
  border-radius: 0;
}


.copyright{
  text-align: center;
}

.copyright img{
  width: 85px;
}

.linkBOX{
  padding-right: 100px;
}

.HotLink a{
  text-decoration: none !important;
  font-style: normal !important;
  list-style-type: none !important;
  margin-right: 2px;
  margin-left: 0;
  color: white;
}

.HotLink li {
  padding-right: 4px;
  border-right: 2px solid #ff8000;
}


.HotLink a:hover{
  color: #ff8000;
}


ul.HotLink {
  padding: 0;
}


.H5Social{
  text-align: center;
}

.IcoSocial {
  display: flex;
  gap: 10px; 
  justify-content: center;


}

.IcoSocial img{
  width: 30px;
}


.SocialBOX {
  display: flex;
  align-items: center; 
  background-color: #343a40;
  border-radius: 50%;
  padding: 8px;
  margin-bottom: 8px;
  border: 1px solid #ff8000;
  
}

.scroll{
  --bs-gutter-x: 0;
}



/* detalis page */
.Detalis{
  margin-top: 30px;
}
.container .sectionBOX{
  background-color: white;
  border-radius: 10px;  
  padding: 20px !important;
  box-shadow: 0 0 13px #e5e4e4;
  margin-bottom: 20px;
}
.sectionBOX span{
  color: rgb(104, 104, 104);
}
.mainContent{
  display: flex;
  justify-content: center;
  gap: 9px;
 
}

.Ico {
  display: flex;
  justify-content: flex-end; 
  gap: 10px; 
}

.Ico svg{
  fill: white;
}


.icoBOX {
  display: flex;
  align-items: center; 
  background-color: #FF8000;
  border-radius: 50%;
  padding: 8px;
}

.shortNews{
  background-color: #f1f1f1;
  border-radius: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.imageNews img{
  width: 100%;
  border-radius: 10px;
  height: 100%;
}

.textNewsDETALIS1{
  margin-top: 20px;
}

.resultNews{
  font-weight: bold;
}



:root {
  --size: 60px;
  --frames: 62;
  --like-hover-bg-color: #ffefdd;
 
}

input {
  display: none;
}

.like {
  display: block;
  width: var(--size);
  height: var(--size);
  cursor: pointer;
  border-radius: 999px;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  margin-left: 15px; 
  margin-right: 15px;

}

.hearth {
  background-image: url('https://assets.codepen.io/23500/Hashflag-AppleEvent.svg');
  background-size: calc(var(--size) * var(--frames)) var(--size);
  background-repeat: no-repeat;
  background-position-x: calc(var(--size) * (var(--frames) * -1 + 2));
  background-position-y: calc(var(--size) * 0.02);
  width: var(--size);
  height: var(--size);
}

input:checked + .hearth {
  animation: like 1s steps(calc(var(--frames) - 3));  
  animation-fill-mode: forwards;
}

@keyframes like {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: calc(var(--size) * (var(--frames) * -1 + 3));
  }
}

.like:hover {
  background-color: var(--like-hover-bg-color);
}

.like:hover .hearth {
  background-position-x: calc(var(--size) * (var(--frames) * -1 + 1));
}

.hashflag {
  position: fixed;
  display: block;
  right: 114px;
  bottom: 20px;
}



.hashflag img {
  display: block;
  height: 28px;
}



#like-count {
  font-size: 18px;
  font-weight: bold;
  color: #FF8000;
  padding-top: 5px;

}


.like-container {
  display: flex;
  align-items: center; 
}



.social h6{
  font-size: 15px;
  text-align: center;
}

.social{
  background-color: #FF8000;
  border-radius: 10px;
  padding: 10px;
  margin-right: 0;
  margin-left: 0;
}

.Ico2 {
  display: flex ;
  justify-content: center;
  gap: 20px;
}

.Ico2 svg{
  fill: white;
}


.icoBOX2 {
  display: flex;
  align-items: center; 
  background-color: #3b3b3b;
  border-radius: 50%;
  padding: 8px;
}




/* form */
.contact-form{
  background: #f1f1f1;
  width: 100%;
  border-radius: 10px;
  padding-top: 15px;
}

.contact-form h5{
  text-align: right;
  border-right: 2px solid #ff8000;
  padding-right: 10px;
  font-size: 18px;

}


.contact-form form{
  padding: 10%;
}
.contact-form form .row{
  margin-bottom: -7%;
}

input.form-control.DetalisForm {
  border: 1px solid #ff8000;
  border-radius: 10px;
  font-size: 15px;
}

textarea.form-control.DetalisForm{
  border: 1px solid #ff8000;
  border-radius: 10px;
  font-size: 15px;
}

button.btn.SubmitBTN{
  border: none;
  width: 100%;
  border-radius: 10px;
  background-color: #FF8000;
}


/* advert */
.sectionBOX  img{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  width: 100%;
}




/* gallery */
.gallery{
 background-color: #343a40;
 padding: 20px; 
 padding-bottom: 0px;

}

.owl-carousel img{
  border-radius: 10px;
}

button.owl-prev {
  background-color: #FF8000 !important;
  border-radius: 50%;
  height: 29px;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  margin: 20px;
}


button.owl-next {
  background-color: #FF8000 !important;
  border-radius: 50%;
  height: 29px;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  margin: 20px;
}

.owl-carousel span {
  color: white;
  font-size: 30px;
  text-align: center !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px !important
}

.owl-carousel span:hover {
  color: #3b3b3b;
  font-size: 30px;
  text-align: center !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px !important
}

.owl-nav {
  display: flex
;
  justify-content: center;
}

 
 


/* responcive */
@media (max-width: 480px) {
  .cardNews2 {
    max-height: 500px !important; 
    overflow-y: auto !important; 
    margin-bottom: 10px;
  }
   .noteTXT{
    margin-top: 8px;
  }
  .Pnews {
    background-color: #343a40a3;
    padding: 10px;
    margin-top: -67px;
    color: white;
    margin-left: 3px;
    margin-right: 3px;
}
  .IcoSocial {
  margin-right: 0;
  }
  .linkBOX {
    padding-right:14px;
    margin-top: 20px;
    margin-bottom: 21px;
}


.navbar-toggler {
  background-color: #FF8000;
}
.navbar-toggler-icon {
  background-color: #ff8000;
  border-radius: 6px;
  padding-top: 10px !important;
}

.navbar-nav .nav-link {
  padding: 3px;


}
.btn-close{
  display: block !important;
}


ul.navbar-nav {
  margin-top: 10px;
  padding: 15px;
  margin-right: 0px;
  margin-bottom: 5px;
  border-right: 1px solid #ff8000;

}

div#navbarResponsive {
  background-color: #212529;
  padding: 25px;
  margin-right: -2%;

}
.navbar-collapse {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 65%;
  height: 100%;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.navbar-collapse.show {
  transform: translateX(0);
}
.catagory{
width: 100% !important;
/* margin-right: -6px !important; */
padding: 10px;
}
.boxcatagory{
  padding: 17px;
}
.gifBanner {
 display: none !important;
}
}



@media (max-width: 768px) {
  .cardNews2 {
    max-height: 325px !important; 
    overflow-y: auto !important; 
    margin-bottom: 10px;
  }
   .noteTXT{
    margin-top: 8px;
  }
  .Pnews {
    background-color: #343a40a3;
    padding: 10px;
    margin-top: -67px;
    color: white;
    margin-left: 3px;
    margin-right: 3px;
}
  .IcoSocial {
  margin-right: 0;
  }
  .linkBOX {
    padding-right:14px;
    margin-top: 20px;
    margin-bottom: 21px;
}


.navbar-toggler {
  background-color: #FF8000;
}
.navbar-toggler-icon {
  background-color: #ff8000;
  border-radius: 6px;
  padding-top: 10px !important;
}

.navbar-nav .nav-link {
  padding: 3px;


}
.btn-close{
  display: block !important;
}


ul.navbar-nav {
  margin-top: 10px;
  padding: 15px;
  margin-right: 0px;
  margin-bottom: 5px;
  border-right: 1px solid #ff8000;

}

div#navbarResponsive {
  background-color: #212529;
  padding: 25px;
  margin-right: -2%;

}
.navbar-collapse {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 65%;
  height: 100%;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.navbar-collapse.show {
  transform: translateX(0);
}
.catagory{
width: 100% !important;
/* margin-right: -6px !important; */
padding: 10px;
}
.boxcatagory{
  padding: 17px;
}
.gifBanner {
 display: block !important;
}
.card-text {
  text-align: right;
}
.boxcatagory{
  width: 46%;
  
}
.mainCatagory{
  gap: 15px;
}
}






/* Start gallery News */

 
.galleryNews-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border-radius: 0.75rem;
  position: relative;
}

.galleryNews-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.galleryNews-card .card-img-top {
  transition: transform 0.5s ease;
}

.galleryNews-card:hover .card-img-top {
  transform: scale(1.05);
}

.galleryNews-img-container {
  position: relative;
  overflow: hidden;
}

.galleryNews-overlay {
  background: rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.galleryNews-card:hover .galleryNews-overlay {
  opacity: 1;
}
 

/* End gallery News */


/* Start custom card swipper */

.media-swiper {
  padding: 2rem 1rem;
  position: relative;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease-in-out;
}

.cardowl {
    background: #ffffff0a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
    max-width: 240px;
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
}
}

.cardowl:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.cardowl img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.cardowl:hover img {
  transform: scale(1.05);
}

.cardowl p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  font-weight: 500;
  transition: color 0.3s;
}

.cardowl:hover p {
  color: #007aff;
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #333;
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, transform 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #007aff;
  color: white;
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
}


/* End custom card swipper */




.GalleryIMG {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.GalleryIMG .col-6 {
  flex: 0 0 48%;
  transition: transform 0.4s ease;
}

.GalleryIMG .col-6:hover {
  transform: translateY(-6px);
}

.GalleryIMG img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  object-fit: cover;
}

.GalleryIMG .col-6:hover img {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.Pnews {
  font-size: 1rem;
  margin-top: 0.8rem;
  color: #333;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
  transition: color 0.3s ease;
}

.GalleryIMG .col-6:hover .Pnews {
  color: #007aff;
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .GalleryIMG .col-6 {
    flex: 0 0 100%;
  }
}


 












/*New style*/



/*Home Page with Usf*/

.news-slider {
    padding: 20px;
}

.news-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .news-card:hover {
        transform: scale(1.02);
    }

    .news-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .news-card:hover img {
        transform: scale(1.05);
    }

.news-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #fff;
    font-weight: bold;
    animation: fadeInUp 0.7s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.boxNews .titr h2 {
    font-size: 1.2em;
    color: #fff
}




.blog-details-container {
    max-width: 800px;
    margin: auto;
    font-family: 'IRANSansX', sans-serif;
    line-height: 1.8;
    color: #2c2c2c;
    padding: 2rem 1rem;
}

.blog-details-header h1 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1c1c1c;
}

.blog-details-header h2 {
    font-size: 1.4rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.blog-details-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.blog-details-image img {
    border-radius: 10px;
    max-height: 450px;
    object-fit: cover;
    margin: 1.5rem 0;
    width: 100%;
}

.blog-details-content {
    font-size: 1rem;
    text-align: justify;
    margin-bottom: 2rem;
    padding: 10px;
}

.blog-details-share a {
    min-width: 120px;
    font-size: 0.9rem;
}

.blog-details-rating {
    margin-top: 2rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

.blog-details-comment {
    margin-top: 3rem;
    border-top: 1px solid #ccc;
    padding-top: 2rem;
}

.blog-details-comment-form label {
    font-weight: bold;
}

.blog-details-comment-list {
    margin-top: 1rem;
}

.blog-details-comment-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

    .blog-details-comment-item strong {
        color: #333;
    }

    .blog-details-comment-item p {
        margin: 0.5rem 0;
    }

@media (max-width: 576px) {
    .blog-details-header h1 {
        font-size: 1.8rem;
    }

    .blog-details-header h2 {
        font-size: 1.2rem;
    }

    .blog-details-image img {
        max-height: 250px;
    }
}







.newsText .txtNews {
    color: #000;
    line-height: 25px
}

.border-gray {
    border-bottom: 1px solid #80808040;
}
.section-header {
    border-bottom: 2px solid #ff8000;
}
.text-im{
    color:white !important;
}
.bg-o {
    background-color: #ff8000;
}

.section-title {
    font-size: 1.25rem;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
}

    .section-link:hover {
        color: #0d6efd;
        text-decoration: none;
    }







/* زیرمنو در دسکتاپ */
.nav-item.dropdown .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
    }
}

/* زیرمنو و منوی موبایل */
@media (max-width: 991px) {
    .dropdown-menu {
        display: none;
        background-color: #fff;
        padding-left: 1rem;
        margin-top: 0.5rem;
        border-left: 2px solid #399DC8;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    .dropdown.show > .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease-in-out;
    }

    .nav-item.dropdown .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(10px);
        transition: all 0.3s ease;
        border: none;
        border-radius: 0 0 8px 8px;
        overflow: hidden;
        background-color: #ffffff00;
        box-shadow: 0 8px 16px rgba(0,0,0,0.0);
    }

        .nav-item.dropdown .dropdown-menu a {
            color: #fff;
        }

    .navbar-brand img {
        width: 40px;
        height: 40px;
    }

    .top-bar {
        display: none;
    }
}

/* انیمیشن باز شدن زیرمنو در موبایل */
@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }

    to {
        max-height: 500px;
        opacity: 1;
    }
}

/* افکت hover آیتم‌های زیرمنو */
.dropdown-menu .dropdown-item {
    position: relative;
    overflow: hidden;
    color: #333;
    padding: 10px 20px;
    background-color: transparent !important;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

    .dropdown-menu .dropdown-item::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 0;
        height: 100%;
        background-color: #399DC8;
        transition: width 0.4s ease;
        z-index: -1;
    }

    .dropdown-menu .dropdown-item:hover::before {
        width: 100%;
        left: auto;
        right: 0;
    }

    .dropdown-menu .dropdown-item:hover {
        color: white;
        transform: translateX(5px);
    }

/* حذف فلش پیش‌فرض Bootstrap */
.nav-item.dropdown > a::after {
    content: none !important;
}

/* منوی موبایل با اسلاید از راست */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #222;
    padding: 2rem 1.5rem;
    z-index: 1050;
    transition: right 0.4s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

    .mobile-menu.show {
        right: 0;
    }

.btn-toggle-menu {
    position: relative;
    z-index: 1060;
    font-size: 1.5rem;
    background: #369ac4;
    width: 50px;
    border-radius: 5px;
}

.main-nav a.nav-link {
    display: flex;
    justify-content: space-between;
}

.toggle-icon-open,
.toggle-icon-close {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toggle-icon-close {
    position: absolute;
    top: 0;
    right: 0;
}

/* در دسکتاپ حالت عادی */
@media (min-width: 992px) {
    .mobile-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        right: auto;
    }

    .btn-toggle-menu {
        display: none;
    }
}

/* منوی چسبان هنگام اسکرول (با افکت شیشه‌ای) */
.fixed-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1050;
    background-color: rgb(255 255 255 / 20%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(255 255 255 / 20%);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

    .fixed-navbar .navbar-brand img {
        height: 36px;
        transition: all 0.3s ease;
    }

    .fixed-navbar .nav-link {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

/* دکمه scroll to top (اختیاری - آماده‌سازی اولیه) */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ff8000;
    color: #fff;
    border: none;
    outline: none;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

    .scroll-to-top:hover {
        background-color: #267aa2;
        transform: translateY(-3px);
    }

.top-bar {
    height: 20px;
    width: 100%;
    background-color: #399DC8;
}

/* هنگام مخفی بودن */
.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.navbar-show-fixed {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
}
