.hero{
    position: relative;
}


/* هیرو: پدینگ پایین کم شود چون نوار بالا کشیده می‌شود */
.hero{
  position:relative;
  margin-bottom:53px;
  background:var(--sepka-navy-deep) center/cover no-repeat;
  overflow:visible;
}
.hero__inner{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:60px;
  padding-top:150px;
  padding-bottom:0;
}
.hero__media{
  position:relative;
  margin:0;
  flex:0 0 auto;
  width:611px;
  max-width:100%;
}
.hero__media img{
  width:100%;
  height:auto;
  display:block;
}
.hero__title
{

font-style: normal;
font-weight: 700;
font-size: 42px;
line-height: 57px;
text-align: right;
letter-spacing: -0.02em;
color: #FFFFFF;


}

.hero__desc
{

font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
text-align: justify;
color: #91AAC5;
padding-left: 200px;
    MARGIN-BOTTOM: 30px;
}

.hero__actions
{
    background: #102A46;
    height: 61px;
    width: 187px;
    border-radius: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
   
}
.hero__actions a{
 color: #fff;
}

.alt-btn
{
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 21px;
color: #FFFFFF;
    white-space: nowrap;

}
.alt-btn a{
 color: #FFFFFF;   
}
.btn-holder-slider{
    display: flex;
    align-items: center;
        gap: 85px;
}
/* ============ زیر 991 ============ */

@media (max-width:1399px){
.hero__desc {
    
    padding-left: 0;
}

}
@media (max-width:1199px){
.hero__title {
  
    font-size: 25px;
}
.btn-holder-slider {
 
    gap: 66px;
}
}

@media (max-width:991px){
  .hero{ margin-bottom:0; }

  .hero__inner{
    flex-direction:column;
    align-items:stretch;
    gap:28px;
    padding-top: 30px;
    padding-bottom:0;
  }
  .hero__desc,.btn-holder-slider{
    display: none;
  }

    .hero__title {
       
        text-align: center;
    }


  .hero__content{ width:100%; text-align:center;        padding-top: 50px; }
  .hero__media{ width:100%; }

}

/*-------------2-----------------*/



/*--------4---------------*/

.br-section{
    padding:50px 0;
    text-align:center;
}
.br-title{
    margin:0 0 20px;
    font-size:28px;
    font-weight:800;
    color:#1B2A4A;
    text-align:right;
}
.br-title strong,
.br-title b{ color:#2E6BE6; font-weight:800; }

.br-text{
    max-width:100%;
    margin:0 0 50px;
    font-size:15px;
    line-height:2.1;
    color: #979DA8;
    text-align: justify;
}

.br-slider{ overflow:hidden; }
.br-item{
    display:flex;
    align-items:center;
    justify-content:center;
    height:80px;
    padding:0 10px;
    filter:grayscale(100%);
    opacity:.55;
    transition:opacity .3s, filter .3s;
}
.br-item:hover{ filter:grayscale(0); opacity:1; }
.br-item img{
    max-height:100%;
    max-width:100%;
    object-fit:contain;
}

.br-slider .swiper-wrapper{
    transition-timing-function:linear !important;
}

/*----5---*/
.ab-section{
    position:relative;
    padding:90px 0;
    background-color:#131E3A;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    overflow:hidden;
        margin: 50px 0;
}


.ab-section .container{ position:relative; z-index:2; }

.ab-inner{
    max-width:1000px;
    margin:0 auto;
    text-align:center;
}

.ab-icon{
    width:72px;
    height:72px;
    margin:0 auto 30px;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
}
.ab-icon img{
    width:32px;
    height:32px;
    object-fit:contain;
}

.ab-title{
    margin:0 0 26px;
    font-size:30px;
    font-weight:800;
    color:#fff;
}
.ab-title span{ color:#3CBF8E; }

.ab-text{
    font-size:15px;
    line-height:2.2;
        color: #91AAC5;
    text-align: center
}

@media (max-width:767px){
    .ab-section{ padding:60px 0; }
    .ab-title{ font-size:22px; }
    .ab-text{ font-size:14px; line-height:2; }
}

/*----------------------*/
.st-section{
    padding:50px 0;
    --st-border:#E8E8E8;
    --st-dark:#1B2A4A;
}

/* --- سربرگ --- */
.st-head{
    display:flex;
    align-items:flex-start;
    gap:60px;
    margin-bottom:40px;
}
.st-title{
    flex:0 0 auto;
    margin:0;
    font-size:30px;
    font-weight:800;
    line-height:1.7;
    color:var(--st-dark);
    text-align:right;
}
.st-title span{ color:#3CBF8E; }
.st-text{
    flex:1;
    font-size:15px;
    line-height:2.1;
        color: #979DA8;
    text-align:justify;
}

/* --- آمار --- */
.st-list{
    display:flex;
    flex-wrap:wrap;
}
.st-item{
    flex:1 1 20%;
    padding:0 20px;
    text-align:center;
    border-left:1px solid var(--st-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.st-item:last-child{ border-left:0; }

.st-num{
    display:block;
    font-size:38px;
    font-weight:800;
        color: #081530;

}
.st-label{
    display:block;
    font-size:14px;
       color: #979DA8;
}

@media (max-width:991px){
    .st-head{ flex-direction:column; gap:24px; }
    .st-title{ font-size:22px; }
    .st-item{ flex:0 0 50%; }
 .st-list .st-item:not(:last-child)
{
            margin-bottom: 75px;
}
.st-head {
 
    margin-bottom: 50px;
}

    .st-item:nth-child(2n){ border-left:0; }
}
@media (max-width:575px){
    .st-num{ font-size:30px; }
}


/*-------------8------------*/

.cl-section{
    padding:70px 0 90px;
    text-align:center;
}
.cl-title{
    margin:0 0 60px;
    font-size:28px;
    font-weight:800;
    color:#1B2A4A;
}
.cl-title span{ color:#2E6BE6; }

.cl-slider{ overflow:hidden; }
.cl-slider .swiper-wrapper{
    transition-timing-function:linear !important;
    align-items:center;
}
.cl-item{
    display:flex;
    align-items:center;
    justify-content:center;
    height:100px;
    padding:0 12px;
    filter:grayscale(100%);
    opacity:.5;
    transition:opacity .3s, filter .3s;
}
.cl-item:hover{ filter:grayscale(0); opacity:1; }
.cl-item img{
    max-height:100%;
    max-width:100%;
    object-fit:contain;
}




@media (max-width:991px){

    
    .em-bar{ width:60px; }


.em-heading {
  
    gap: 5px;
}

.br-title {
   
    font-size: 22px;
}

.st-section {
    padding: 0;

}
.nw-head{  gap:20px; }
    .nw-title{ font-size:22px; }

.nw-sub {

    font-size: 14px;
}
.nw-body {
  
    gap: 15px
}
.nw-section {
    padding: 30px 0 0px 0;
}
.cl-title{ font-size:22px; margin-bottom:40px; }
    .cl-item{ height:80px; }

.ab-section {
   
    margin: 30px 0;
}
.br-section {
    padding: 30px 0;
   
}
}

/* ---------- Hero buttons hover effects ---------- */
/* Primary pill: whole pill clickable, lifts, lightens, soft glow + light sweep */
.hero__actions {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.hero__actions a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    z-index: 1;
}
.hero__actions::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
    pointer-events: none;
}
.hero__actions:hover,
.hero__actions:focus-within {
    background-color: #1B4A7A;
   
    box-shadow: 0 12px 26px -10px rgba(91, 193, 164, .55);
}
.hero__actions:hover::after,
.hero__actions:focus-within::after {
    left: 120%;
}

.hero__actions:hover a::after,
.hero__actions:focus-within a::after {
    max-width: 20px;
    opacity: 1;
    transform: translateX(-2px);
}

/* Secondary text button: colour change + underline growing from the right (RTL) */
.alt-btn a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    transition: color .3s ease;
}
.alt-btn a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: #5BC1A4;
    transition: width .35s ease;
}
.alt-btn a:hover,
.alt-btn a:focus-visible {
    color: #5BC1A4;
}
.alt-btn a:hover::after,
.alt-btn a:focus-visible::after {
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .hero__actions,
    .hero__actions::after,
    .hero__actions a::after,
    .alt-btn a::after { transition: none; }
    .hero__actions:hover,
    .hero__actions:focus-within { transform: none; }
}

/* ---------- Hero fills the whole first screen (desktop) ---------- */
@media (min-width: 992px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: 100vh;
        min-height: 100svh;
        margin-bottom: 0;
    }
    .hero__inner {
        width: 100%;
        padding-top: 150px;   /* room for the transparent fixed header */
        padding-bottom: 60px; /* image no longer sticks to the bottom edge */
    }
    .admin-bar .hero {
        min-height: calc(100vh - 32px);
        min-height: calc(100svh - 32px);
    }
}


/*================ اسلایدر تمام‌صفحه بالای صفحه (hs-) ================*/
.hs-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--sepka-navy-deep);
  color: #fff;
}

.hs-slider {
  height: 100vh;
  height: 100svh;
  min-height: 620px;
}

.hs-slide {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  overflow: hidden;
  background: var(--sepka-navy-deep);
}

.hs-bg,
.hs-overlay,
.hs-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hs-bg { z-index: 0; }

.hs-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.hs-slide.swiper-slide-active .hs-bg img,
.hs-hero.is-single .hs-bg img {
  transform: scale(1);
}

/* تیرگی: سمت راست (متن) تیره‌تر */
.hs-overlay {
  z-index: 1;
  background:
    linear-gradient(270deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.72) 45%, rgba(7, 17, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.45) 0%, transparent 50%, rgba(7, 17, 31, 0.86) 100%);
}

.hs-grid {
  z-index: 2;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hs-container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 130px;
}

.hs-content { max-width: 660px; }

.hs-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.hs-badge-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sepka-green);
  animation: hsPulse 2s ease infinite;
}

@keyframes hsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 213, 179, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(94, 213, 179, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 213, 179, 0); }
}

.hs-title {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3.2vw, 2.9rem);
  font-weight: 900;
  line-height: 1.45;
  color: #fff;
}

/* بخش رنگی عنوان (span) سبز با گرادیان، مثل سایت مرجع */
.hs-title span {
  color: var(--sepka-green) !important;
  background: linear-gradient(90deg, #4f9dff, var(--sepka-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hs-desc {
  max-width: 590px;
  margin: 0 0 38px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.79);
}

.hs-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s, background-color 0.22s, color 0.22s;
}

.hs-btn--main {
  padding: 16px 32px;
  background: var(--sepka-green);
  color: var(--sepka-navy-deep);
  box-shadow: 0 16px 36px rgba(94, 213, 179, 0.35);
}

.hs-btn--main:hover,
.hs-btn--main:focus-visible {
  transform: translateY(-2px);
  color: var(--sepka-navy-deep);
  box-shadow: 0 20px 40px rgba(94, 213, 179, 0.45);
}

.hs-btn--ghost {
  padding: 15px 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
}

.hs-btn--ghost:hover,
.hs-btn--ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* انیمیشن ورود محتوا در هر اسلاید */
.hs-content > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hs-slide.swiper-slide-active .hs-content > *,
.hs-hero.is-single .hs-content > * {
  opacity: 1;
  transform: none;
}

.hs-slide.swiper-slide-active .hs-content > *:nth-child(2) { transition-delay: 0.12s; }
.hs-slide.swiper-slide-active .hs-content > *:nth-child(3) { transition-delay: 0.24s; }
.hs-slide.swiper-slide-active .hs-content > *:nth-child(4) { transition-delay: 0.36s; }

/* فلش‌ها پایین سمت چپ */
.hs-controls {
  position: absolute;
  bottom: 56px;
  inset-inline: 0;
  z-index: 5;
  pointer-events: none;
}

.hs-controls .container {
  display: flex;
  justify-content: flex-end;
}

.hs-arrows {
  display: flex;
  gap: 12px;
  pointer-events: auto;
}

.hs-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.hs-arrow:hover,
.hs-arrow:focus-visible {
  border-color: var(--sepka-green);
  background: var(--sepka-green);
  color: var(--sepka-navy-deep);
}

/* نقطه‌های عمودی سمت راست */
.hs-dots {
  position: absolute;
  top: 50%;
  inset-inline-start: clamp(12px, 2.5vw, 32px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.hs-dot {
  width: 3px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: height 0.3s, background-color 0.3s;
}

.hs-dot.is-active {
  height: 40px;
  background: var(--sepka-green);
}

/* نوار پیشرفت پایین اسلایدر */
.hs-progress {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  z-index: 6;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.hs-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #4f9dff, var(--sepka-green));
  transform: scaleX(0);
  transform-origin: left center;
}

@media (max-width: 767px) {
  .hs-slider { min-height: 560px; }
  .hs-container { padding-top: 110px; padding-bottom: 110px; }
  .hs-overlay {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.6) 0%, rgba(7, 17, 31, 0.75) 50%, rgba(7, 17, 31, 0.9) 100%);
  }
  .hs-badge { margin-bottom: 20px; font-size: 12px; }
  .hs-desc { margin-bottom: 28px; line-height: 1.9; }
  .hs-btn--main { padding: 13px 24px; }
  .hs-btn--ghost { padding: 12px 22px; }
  .hs-controls { bottom: 28px; }
  .hs-arrow { width: 40px; height: 40px; }
  .hs-dots { inset-inline-start: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-bg img,
  .hs-content > * { transition: none; }
  .hs-badge-dot { animation: none; }
}


/*================ نوار برندها زیر اسلایدر ================*/
.br-strip {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid rgba(7, 17, 31, 0.09);
  border-bottom: 1px solid rgba(7, 17, 31, 0.09);
  background: #fff;
}

.br-strip__track {
  display: flex;
  width: max-content;
  animation: brStripMove 32s linear infinite;
}

.br-strip:hover .br-strip__track { animation-play-state: paused; }

.br-strip__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.br-strip__item {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 40px;
  border-inline-end: 1px solid rgba(7, 17, 31, 0.09);
}

.br-strip__item::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-inline-start: 28px;
  border-radius: 50%;
  background: rgba(7, 17, 31, 0.15);
}

.br-strip__item img {
  display: block;
  width: auto;
  max-width: 140px;
  height: 36px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}

.br-strip__item:hover img,
.br-strip__item:focus-visible img {
  filter: none;
  opacity: 1;
}

@keyframes brStripMove {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

@media (max-width: 767px) {
  .br-strip { padding: 16px 0; }
  .br-strip__item { padding: 0 24px; height: 36px; }
  .br-strip__item::after { margin-inline-start: 18px; }
  .br-strip__item img { height: 28px; max-width: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .br-strip { overflow-x: auto; }
  .br-strip__track { animation: none; }
}


/*================ دکمه اسکرول به پایین اسلایدر ================*/
.hs-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transform: translateX(-50%);
  transition: color 0.25s;
}

.hs-scroll:hover,
.hs-scroll:focus-visible {
  color: #fff;
}

.hs-scroll__mouse {
  position: relative;
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 14px;
}

.hs-scroll__wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--sepka-green);
  animation: hsWheel 1.8s ease-in-out infinite;
}

@keyframes hsWheel {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

@media (max-width: 767px) {
  .hs-scroll { bottom: 20px; }
  .hs-scroll__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-scroll__wheel { animation: none; }
}


/* ================= افکت ورود نوشته‌های اسلایدر هنگام لود صفحه ================= */
.hs-hero:not(.hs-loaded) .hs-content > * {
  opacity: 0 !important;
  transform: translateY(26px) !important;
}

.hs-hero.is-single .hs-content > *:nth-child(2) { transition-delay: 0.15s; }
.hs-hero.is-single .hs-content > *:nth-child(3) { transition-delay: 0.3s; }
.hs-hero.is-single .hs-content > *:nth-child(4) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .hs-hero .hs-content > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
