/* =========================
   About Ultra 1
========================= */
.about-ultra-1{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    padding: 4rem 0;
    direction: rtl;
    background: var(--color-white);
    margin: 12rem auto;
}

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


/* =========================
   Text Side
========================= */
.about-ultra-1 .text-side{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    flex: 1 1 52rem;
    max-width: 63rem;
    text-align: right;
    z-index: 2;   
    
}

.about-ultra-1 .text-side > *{
    position: relative;
    z-index: 1;
}

.about-ultra-1 .text-side h3{
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    background: var(--color-secondary);
    width: 40rem;
    padding: 1.4rem;

}

.about-ultra-1 .text-side h4{
    width: 41rem;
    margin: 0 0 1.2rem;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.55;
    color: var(--color-primary);
}

.about-ultra-1 .text-side p{
    margin: 0 0 2.2rem;
    font-size: 1.8rem;
    line-height:181%;
    font-weight: 600;
    color: var(--color-black);
    max-width: 63rem;
    text-align: justify;
}

/* =========================
   Buttons
========================= */
.about-ultra-1 .about-btn{
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.about-ultra-1 .about-btn a{
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    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;
    white-space: nowrap;
}


.about-ultra-1 .about-btn a svg{
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 auto;
}
.about-ultra-1 .about-btn a svg path{
    stroke: currentColor !important;
}


.about-ultra-1 .about-btn a:first-child{
    background: var(--color-primary);
    color: var(--color-white);
}


.about-ultra-1 .about-btn a:last-child{
    background: var(--color-secondary);
    color: var(--color-primary);
    
}

/* =========================
   Image Side
========================= */
.about-ultra-1 .image-side{
    position: relative;
    flex: 0 0 340px;
    min-height: 36rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}


.about-ultra-1 .image-side::before{
    content: "";
    position: absolute;
    left: -5rem;
    top: -5rem;
    width: 36rem;
    height: 36rem;
    background: var(--color-primary);
    clip-path: polygon(0 0, 50% 0, 100% 60%, 100% 100%, 0 100%);
    z-index: 0;
}


.about-ultra-1 .image-side::after{
    content: "";
    position: absolute;
    right: -6.5rem;
    top: 70%;
    transform: translateY(-50%);
    width: 10rem;
    height: 10rem;
    background: var(--color-primary);
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 36% 100%, 0% 50%);
    z-index: 1;
}

.about-ultra-1 .image-side img{
    position: relative;
    z-index: 1;
    width: 36rem;
    height: 36rem;
    object-fit: cover;
    display: block;
    background: var(--color-white);
}

/* =========================
   Responsive
========================= */

@media (max-width: 600px){
	.about-ultra-1 {
    flex-direction: column;
}
	.about-ultra-1 .image-side::after {
    right: -4.5rem;
}
.about-ultra-1 .image-side::before {
    left: -2rem;
}
	.about-ultra-1 {
		margin:0;
     margin-top: 12rem; 
}
}


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

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

/* برق (Shine) */
.about-ultra-1 .about-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;
}

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

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

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

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

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

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

