/* =========================
   Why Ultra 1
========================= */
.why-ultra-1{
    position: relative;
    direction: rtl;
    padding:90px 0;
    overflow: hidden;
}

.why-ultra-1 *{ box-sizing: border-box; }



/* تیتر کوچک بالا سمت راست + هایلایت */
.why-ultra-1 > h3{
       margin: 0 0 2.8rem;
    text-align: right;
    display: inline-block;
    z-index: 1;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    background: var(--color-secondary);
    width: 40rem;
    padding: 1.4rem;
}


/* محتوا */
.why-ultra-1 .why-content{
    position: relative;
    z-index: 2;
    clear: both;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

/* =========================
   Text Side
========================= */
.why-ultra-1 .text-side{
    flex: 1 1 560px;
    max-width: 600px;
    text-align: right;
}

.why-ultra-1 .text-side h4{
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.55;
    color: var(--color-primary);
}

.why-ultra-1 .text-side p{
    margin: 0 0 18px;
    max-width: 560px;
    font-size: 13px;
    line-height: 2.05;
    color: rgba(52,52,52,.78);
}

/* لیست */
.why-ultra-1 .text-side ul{
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.why-ultra-1 .text-side ul li{
    position: relative;
    padding-right: 24px;
    margin: 10px 0;
    font-size: 13px;
    font-weight: 800;
    color: rgba(52,52,52,.82);
    line-height: 1.9;
}

.why-ultra-1 .text-side ul li::before{
    content:"";
    position:absolute;
    right: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 8px 18px rgba(0,0,0,.12);

    /* چک سفید داخل دایره */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.2 16.6 4.9 12.3l1.4-1.4 2.9 2.9 8.6-8.6 1.4 1.4z'/%3E%3C/svg%3E") no-repeat center/9px 9px;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.2 16.6 4.9 12.3l1.4-1.4 2.9 2.9 8.6-8.6 1.4 1.4z'/%3E%3C/svg%3E") no-repeat center/9px 9px;
    background-color: var(--color-primary);
}

/* دکمه‌ها */
.why-ultra-1 .why-btn{
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.why-ultra-1 .why-btn a{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 1.6rem;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
    white-space: nowrap;
}

/* اگر svg فلش گذاشتی */
.why-ultra-1 .why-btn a svg{
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
.why-ultra-1 .why-btn a svg path{
    stroke: currentColor !important;
}



/* =========================
   Image Side
========================= */
.why-ultra-1 .image-side{
    position: relative;
    flex: 0 0 420px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* شکل L نارنجی پشت عکس */
.why-ultra-1 .image-side::before{
    content:"";
    position:absolute;
    left: -22px;
    bottom:-44px;
    width: 330px;
    height: 330px;
    background: var(--color-primary);
    z-index: 0;

    /* L-shape + برش مورب پایین */
   clip-path: polygon(0 0, 100% 0%, 100% 45%, 45% 100%, 0 100%);

}

.why-ultra-1 .experience-badge {
	position: absolute;
    height: auto!important;
    text-align: right;
    font-weight: 900;
    font-size: 26px;
    line-height: 0.9!important;
    z-index: 2;
    white-space: pre;
    padding: 18px;
	top: 130px!important;
    right: -160px!important;
    z-index: 999!important;
    width: 100%!important;
    color: var(--color-white);
}

/* باکس تجربه (+15 سال سابقه) */
.why-ultra-1 .image-side::after{
    content: "";
    white-space: pre;
    position: absolute;
    right: -9rem;
    top: 150px;
    width: 150px;
    height: 130px;
    padding:18px;
    text-align: right;
    color: var(--color-white);
    font-weight: 900;
    font-size: 26px;
    line-height: 1.25;
    background: var(--color-primary);
    z-index: 2;

    /* گوشه مورب بالا-چپ (مثل طرح) */
   clip-path: polygon(0 50%, 51% 0, 100% 0, 100% 100%, 0 100%);


    /* 3 خط سفید پایین */
    box-shadow: inset 0 -16px 0 rgba(0,0,0,0);
}
.why-ultra-1 .image-side::after{
    background-image:
        linear-gradient(#fff,#fff),
        linear-gradient(#fff,#fff),
        linear-gradient(#fff,#fff);
    background-repeat: no-repeat;
    background-size: 38px 4px, 38px 4px, 38px 4px;
    background-position: center 104px, center 104px, center 104px;
    /* سه خط با فاصله */
    background-position:
        calc(50% - 46px) 104px,
        50% 104px,
        calc(50% + 46px) 104px;
    background-color: var(--color-primary);
}

/* عکس */
.why-ultra-1 .image-side img{
    position: relative;
    z-index: 1;
    width: 360px;
    height: 400px;
    object-fit: cover;
    display: block;
    box-shadow: var(--box-shadow);
    background: var(--color-white);
}
/* دکمه اول (راست) = نارنجی */
.why-ultra-1 .why-btn a:first-child{
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 14px 28px rgba(0,0,0,.10);
}

/* دکمه دوم (چپ) = روشن */
.why-ultra-1 .why-btn a:last-child{
    background: var(--color-secondary);
    color: var(--color-primary);
    border-color: rgba(237,85,33,.20);
}


/* =========================
   Responsive
========================= */
@media (max-width: 992px){
    .why-ultra-1{ padding: 34px 24px 40px; }
    .why-ultra-1 .why-content{
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
    }
    .why-ultra-1 .image-side{
        width: 100%;
        flex-basis: auto;
    }
    .why-ultra-1 .image-side::after{
        left: 240px;
    }
}

@media (max-width: 600px){
   
    .why-ultra-1 .image-side::before{
        width: 290px;
        height: 270px;
    }
    .why-ultra-1 .image-side::after{
        left: 210px;
        width: 135px;
        height: 120px;
        font-size: 24px;
    }
	.why-ultra-1 .image-side::after {
    right: -2rem;
}
	.why-ultra-1 .experience-badge {
    right: -100px !important;
}
	.why-ultra-1 .text-side {
		    flex: 1 1 360px;
	}
}


/*Hover*/
/* =========================
   Why Buttons - برق روی دکمه (No radius)
   .why-ultra-1 .why-btn a
========================= */

.why-ultra-1 .why-btn a{
  position: relative;
  overflow: hidden; /* برای برق */
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change: transform;
}

/* برق (Shine) */
.why-ultra-1 .why-btn a::before{
  content:"";
  position:absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 35%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,.10) 65%,
    transparent 100%
  );
  transform: rotate(18deg) translateX(-30%);
  opacity: 0;
  pointer-events:none;
}

/* هاور */
.why-ultra-1 .why-btn a:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.14);
  filter: brightness(1.03);
}

/* وقتی هاور شد، برق رد میشه */
.why-ultra-1 .why-btn a:hover::before{
  opacity: 1;
  animation: ultra-why-shine .75s ease-out forwards;
}

@keyframes ultra-why-shine{
  0%   { transform: rotate(18deg) translateX(-40%); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: rotate(18deg) translateX(260%); opacity: 0; }
}

/* فلش: تکون جذاب */
.why-ultra-1 .why-btn a svg{
  transition: transform .18s ease, opacity .18s ease;
}

.why-ultra-1 .why-btn a:hover svg{
  transform: translateX(-5px);
  opacity: .95;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .why-ultra-1 .why-btn a,
  .why-ultra-1 .why-btn a::before,
  .why-ultra-1 .why-btn a svg{
    transition: none !important;
    animation: none !important;
  }
}

