:root{
    --bg-dark: #001d57;  
    --bg-orange: #f6a117;
    --bg-gray:#e9e9e9;
    --bg-body:#fdfdfd;
    --bg-white: #ffffff77;
    --bg-mello:#c29958;
    --bg-mello2:#e8e0c2;
    --bg-cherry:#500e10;

    --text-white: #fff;
    --text-black: #000;
    --text-orange:var(--bg-orange);
    --text-mello:var(--bg-mello);
    --text-blue:var(--bg-dark);
    --text-cherry:var(--bg-cherry);

    --vivid-pink:#ff375b;
    --ivory-mist:#efede0;

}
@font-face{
    font-family: "IRanyekan";
    src: url("../font/b/iranyekanwebregular.woff2") format("woff2"),
    url("../font/b/iranyekanwebregular.ttf") format("truetype");
    font-weight: 700;
}
@font-face{
    font-family: "iransans";
    src: url("../font/a/fonts/eot/IRANSansWeb(FaNum)_Medium.eot"),
    url("../font/a/fonts/ttf/IRANSansWeb(FaNum)_Medium.ttf"),
    url("../font/a/fonts/woff/IRANSansWeb(FaNum)_Medium.woff"),
    url("../font/a/fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2");
}

@font-face{
    font-family: "lato";
    src:url("../font/english/Lato-Regular.ttf");
}
.bg-blue{
    background-color: var(--bg-dark);
}
.text-blue{
    color: var(--text-blue);
}
.bg-orange{
    background-color: var(--bg-orange);
}
.bg-gray{
    background-color: var(--bg-gray);
}
.bg-card{
    background-color: var(--bg-white);
}
.text-orange{
    color: var(--text-orange);
}
.text-mello{
    color: var(--text-mello);
}
.fill-orange{
    fill: var(--bg-orange);
}
.fill-blue{
    fill: var(--bg-dark);
}
.border.blue{
    border: 1px solid var(--bg-dark);
}
.text-cherry{
    color: var(--text-cherry);
}
.f-s-1{
    font-size: 1rem !important;
}
.f-s-11{
    font-size: 1.1rem !important;
}
.f-s-21{
    font-size: 1.2rem !important;
}
.f-s-2{
    font-size: 1.3rem !important;
}
.f-s-0{
    font-size: 0.75rem !important;
}
.f-s-5{
    font-size: 0.5rem !important;
}
.f-s-3{
    font-size: 1.5rem !important;
}
.f-s-4{
    font-size: 1.75rem !important;
}
.f-s-08{
    font-size: 0.8rem !important;
}
.f-s-09{
    font-size: 0.9rem !important;
}
.cursor{
    cursor: pointer;
}
.text-j{
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.75;
    word-spacing: 1px;
    text-align-last: right;
}
.text-j2{
    text-align: justify;
    text-justify: inter-word;
    line-height: 2.5;
    word-spacing: 1px;
    text-align-last: right;
}
body{
    font-family: 'iransans';
    font-size: 1.1rem !important;
    background-color:var(--bg-body);
    direction: rtl;
}
a:hover{
    color: var(--text-blue);
}
.searchtop{
    right: 41rem;
    top: 0.9rem;
}
/* سرچ */
.headerSearch span{display:block;position:relative}
.headerSearch input[type="text"]{border:0;outline:none;box-shadow:none;background-image:none !important;background-color:var(--bg-orange) !important;padding:8px 15px 8px 25px;border-radius:50px;width:100%; height:2.5rem; font-size: 1rem;}
.headerSearch a.searchcss{position:absolute;left:0;top:0;bottom:0;font-size:0;line-height:0;-webkit-border-top-left-radius:25px;-webkit-border-bottom-left-radius:25px;-moz-border-radius-topleft:25px;-moz-border-radius-bottomleft:25px;border-top-left-radius:25px;border-bottom-left-radius:25px;background-repeat:no-repeat !important;background-position:15px 10px !important;background-size:20px !important;width:40px;background-color:var(--bg-orange) !important;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="24px" height="24px"><path fill="%23fff" d="M 21 3 C 11.601563 3 4 10.601563 4 20 C 4 29.398438 11.601563 37 21 37 C 24.355469 37 27.460938 36.015625 30.09375 34.34375 L 42.375 46.625 L 46.625 42.375 L 34.5 30.28125 C 36.679688 27.421875 38 23.878906 38 20 C 38 10.601563 30.398438 3 21 3 Z M 21 7 C 28.199219 7 34 12.800781 34 20 C 34 27.199219 28.199219 33 21 33 C 13.800781 33 8 27.199219 8 20 C 8 12.800781 13.800781 7 21 7 Z"/></svg>') !important}
p,span{
    font-family: inherit !important;
    font-weight: normal;
}
h5,span{
    font-size: inherit !important;
}

/* بالای هدر */
.menu{
    width: 100%;
    height: 23rem;
    display: none;
}
.navbar-toggler{
    width: 2.5rem;
    height: 2.4rem;
}
.top-bar{
    font-family: lato;
    background-color: var(--bg-dark);
    color: var(--text-white);
}
.icon-search{
    width: 2.2rem;
    height: 2.2rem;
}
.footer{
    height: 25rem;
}
.top-f{
    width: 12rem;
    height: 3rem;
}
.bottom-f{
    height:3.1rem;    
}
.border-white{
    border-color: var(--bg-white) !important;
}
.searchtop{
    display: none;
}
/*  منو  */

.sticky  { position: fixed !important; background-color: var(--bg-dark); top: 0; left:0; right:0; z-index: 999; }
.nav-link{
    color: var(--text-black) !important;
}
.color-nav{
    color: var(--text-white) !important;
}

/* درباره ما */
.test-img{
    width: 20rem;
    height: 20rem;
}
.aboutme .button{
    height: 2.5rem;
    width: 8rem;
    border-radius: 30px;
}
.width-4{
    width: 6rem;
}
.back-blue{
    margin-left: 5rem;
}
.div-back{
    margin-top: 3rem;
    margin-right: 7rem;
}

.div-front{
    margin-bottom:7rem;
    margin-right: 4rem;
}
.w-h4{
    width: 20rem;
    height: 20rem;
}
.w-h5{
    width: 20rem;
    height: 16rem;
}
.border-left-red{
    border-left: 3px solid var(--text-orange);
}
.height-5{
    height: 5rem;
}
.w-h2{
    width: auto;
    height: 25rem;
}
.w-h3{
    width: auto;
    height: 35rem;
}
/* خدمات */
.w-h1{
    width:20rem;
    height: 15rem;
}

.w-h{
    width: 17rem;
    height: auto;
    transition: all 0.3s ease-in-out;
}
.ah{
    height: 20rem;
}
.height-2{
    height: 30rem;
}
/* Transform */

.transform{
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.transform:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* in the bootstrap  */
.border-radius-1{
    border-radius: 1rem;
}
.cart-color {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 0;
}

.cart-color::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, var(--bg-dark),var(--bg-dark));
    transition: height 0.4s ease;
    z-index: -1;
}

.cart-color:hover::before {
    height: 100%;
}

.cart-color:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card1 {
    position: relative;
    z-index: 1;
    color: var(--text-black);
}

.cart-color:hover .card1 {
    color: #fff;
}

.svg-size{
    width: 6rem;
    height: 6rem;
}
.card1:hover svg{
    fill: white;
}
.card1:hover .svg-blue{
    fill: var(--bg-dark);
}
/* ویدیو */
.div-li:hover .li-color{
    border: 1.5px solid var(--bg-orange);
    border-radius: 1rem;
    cursor: pointer;
}
.li-color{
    width: 10rem;
    height: 3rem;
    transition: all 0.3s ease-in;
}
.number{
    color: var(--text-orange);
    font-weight: bold;
}
/* دکمه ویدیو */

.color-play{
   color: rgb(255, 255, 255);
   font-size: 3rem;
}
.main-color{
    margin-right: 13rem;
    margin-top: 5rem !important;
}
.btn2 {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-orange);
  background: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  border-radius: 50% !important;
  width: 5rem;
  height: 5rem;
  z-index: 1;
}

.neon-pulse2 {
  background-color: #00000059;
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 10px var(--bg-white);
  overflow: visible;
}

.neon-pulse2::before,
.neon-pulse2::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--bg-white);
  border-radius: inherit;
  animation: pulseOut 2s ease-out infinite;
  opacity: 0;
}

.neon-pulse2::after {
  animation-delay: 1s;
}

@keyframes pulseOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
/* پیشنهادات حقوقی */

.key{
    height: 8rem;
    border: 1px solid var(--bg-mello);
    transition: border 0.3s ease-in-out;
}
.key:hover{
    border: 1px solid var(--bg-dark);
}
/* کارفرمایان خاص */
.kar-img{
    width: 5rem;
    height: 5rem;
}
.icon-kar{
    transition: scale 0.3s ease-in ;
}
.icon-kar:hover{
    scale: 0.9;
}

/* اخبار */
.bottom{
    width: 4rem;
}
.div1{
    height: 30rem;
}
.akhbar{
    min-height: 45vh;
}
.akh-h{
    min-height: 30rem;
}
.of{
    overflow: hidden;
}
.akhbar .cart{
    height: 20rem;
    width: 14rem;
}
.akhbar .button{
    height: 2.5rem;
    width: 8rem;
    border-radius: 30px;
}
.button > div{
    width: 4rem;
}
.akhbar .img{
    width: 13rem;
    height: 10rem;
}
.cart > img{
    transition:filter ease-in 0.3s, scale ease-in 0.3s;
}
.cart > img:hover{
    scale: 1.1;
}
/* کارت اخبار */
.img-col.active{ outline: 1px solid #4a90e2; }
.img-col{
    user-select: none;
}
/* مستطیل سمت چپ */

    .full-section {
      min-height: 10vh; 
    }

    .left-rect {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      cursor: pointer;
    }
    .left-rect .svg{
        width: 5rem;
        height: 5rem;
    }

    .right-col {
      background-color: transparent;
      display: flex;
      flex-direction: column;
      justify-content: center; 
      align-items: flex-end;   
      gap: 1rem;
      padding: 1.25rem;
      box-sizing: border-box;
      height: 100%;
     
    }

    .square {
      background-color: transparent;
      width: 15rem;
      height: 10rem;         
      aspect-ratio: 1 / 1;    
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .square h3 { margin: 0; font-size: 1.1rem; color: #3a2b12; }

    @media (max-width: 768px) {
      .right-col { align-items: center; justify-content: center; }
      .left-col { align-items: center; justify-content: center; } /* وسط چین در موبایل */
      .square { width: 90%; }              /* کمی جمع‌تر در موبایل */
    }

/* اعزام داشنجو */
.custom-list{
    list-style: none;
}

/* پرسش */

.Qcard{
    min-height: 10rem;
}
.circle{
    background-color: var(--bg-mello);
    width: 2rem;
    height: 2rem;
}
.circle i{
    color: var(--bg-dark);    
}
.user-text{
    border: 1px solid var(--bg-mello);
}
/* فوتر */
.footer-size-p{
    text-align: justify;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
}

/* Page Khadamat */

/* خدمات */
.khadamat{
    min-height: 35rem;
}
.khadamat3{
    min-height: 26rem;
}
/* مشتریان */
.logo-img{
    height: 8rem;
}
.swiper {
    direction: rtl !important;
}

.swiper-slide {
    width: 6.5rem !important;
    height: 6.5rem !important;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ماژول اخبار */



