body , html {    direction: rtl;}

*{font-family: 'Cairo', sans-serif;}
.main-bg{background-color:rgb(244, 245, 240)!important;}
/*.sec-bg{background-color: #a8ff91;}*/
/*.carousel-item img{height: 500px;}*/
.navbar-brand{height: 100px;width: 150px;}
#about{
  background-image: url(../images/banner.jpg);
  background-size: cover;
  height: 450px;
  background-attachment: fixed;
  /* background-position: bottom; */
}
.custom-title::before{
  content: "";
  position: absolute;
  bottom: -13px;
  width: 95px;
  height: 2px;
  left: calc(50% - 47px);
  background-color: #5ad67d;
}
.custom-title-left::before{
  content: "";
  position: absolute;
  bottom: -13px;
  width: 95px;
  height: 2px;
  right: 18px;
  background-color: #5ad67d;
}
.custom-vision-img{
  height: 90px;
  width: 90px;
}
.navbar-brand img{height: 100%; width:100%}
.about-img{border:solid #094c02 8px; border-radius: 50%;}
.main-color, .nav-link{color: #094c02;}
.thrid-bg{background-color: #094c02;}
.p-font{font-size: 1.4rem;text-align: justify;font-weight: 700;}
.sec-color{color: #A93226;}
.ser{border-radius: 0px 0px 35px 35px;}
.bg-slogan{height: 240px;}
.bg-slogan div{width:100%;height: 100%;top:0;left:0}
.bg-slogan .op{background-image: url('../images/parallax.jpg');background-attachment: fixed;opacity: 0.5;}
#videos{border-top:10px solid #094c02;}
@media yahoo {
input {display:none !important;font-size:0 !important;line-height:0 !important;float:left !important;overflow:hidden !important;width:0 !important;height:0 !important;}}
#slider {text-align: center;margin: 0 auto;}
@media only screen and (-webkit-min-device-pixel-ratio: 1){
* { -webkit-box-sizing: border-box; box-sizing: border-box; }
label {cursor: pointer;}
#slide1:checked ~ #slides .inner {  margin-left:0; }
#slide2:checked ~ #slides .inner {  margin-left:-100%; }
#slide3:checked ~ #slides .inner { margin-left:-200%; }
#slide4:checked ~ #slides .inner { margin-left:-300%; }
#slide5:checked ~ #slides .inner { margin-left:-400%; }
#overflow { width: 100%;overflow: hidden;word-wrap: break-word;}
article img { width: 100%;height:auto;}
#slides .inner {width: 500%;line-height: 0;}
#slides article { width: 20%;float: left;}
#controls { margin-top: -201px;width: 100%;height: 50px;top:50%;}
#controls label { display: none; width: 50px; height: 50px; opacity: 0.3;}
#active {margin: 30% 0 0;text-align: center;}
#active label {-webkit-border-radius: 5px;-moz-border-radius: 5px; border-radius: 25px;display: inline-block; width: 20px; height: 20px; background: #bbb; margin:0 10px;}
#active label:hover { background: #666666;}
#controls label:hover { opacity: 0.8;}
#slide1:checked ~ #controls label:nth-child(2), 
#slide2:checked ~ #controls label:nth-child(3), 
#slide3:checked ~ #controls label:nth-child(4), 
#slide4:checked ~ #controls label:nth-child(5), 
#slide5:checked ~ #controls label:nth-child(1) {
background: url('https://assets.bounceexchange.com/assets/uploads/users/741/ScxFjIFK.png') no-repeat;float: right;margin: 0 -70px 0 0;display: block;}
#slide1:checked ~ #controls label:nth-child(5),
#slide2:checked ~ #controls label:nth-child(1),
#slide3:checked ~ #controls label:nth-child(2),
#slide4:checked ~ #controls label:nth-child(3),
#slide5:checked ~ #controls label:nth-child(4) {
background: url('https://assets.bounceexchange.com/assets/uploads/users/741/fJyenwIJ.png') no-repeat;float: left;margin: 0 0 0 -70px;display: block;}
#slide1:checked ~ #active label:nth-child(1),
#slide2:checked ~ #active label:nth-child(2),
#slide3:checked ~ #active label:nth-child(3),
#slide4:checked ~ #active label:nth-child(4),
#slide5:checked ~ #active label:nth-child(5) {background: #333;border-color: #333 !important;}
.info {opacity: 0 !important;position: absolute;margin:25px;}
    #slides .inner {
        -webkit-transform: translateZ(0);
        -webkit-transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000); 
        transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
        -webkit-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000); 
        transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
    }
    #slider {
        -webkit-transform: translateZ(0);
        -webkit-transition: all 0.5s ease-out;
        transition: all 0.5s ease-out;
    }			
    #controls label{
        -webkit-transform: translateZ(0);
        -webkit-transition: opacity 0.2s ease-out;
        transition: opacity 0.2s ease-out;
    }
    #slide1:checked ~ #slides article:nth-child(1) .info,
    #slide2:checked ~ #slides article:nth-child(2) .info,
    #slide3:checked ~ #slides article:nth-child(3) .info,
    #slide4:checked ~ #slides article:nth-child(4) .info,
    #slide5:checked ~ #slides article:nth-child(5) .info {
        opacity: 1 !important;
        -webkit-transition: all 1s ease-out 0.6s;
        transition: all 1s ease-out 0.6s;
    }
    .info, #controls, #slides, #active, #active label, .info h3 {
        -webkit-transform: translateZ(0);
        -webkit-transition: all 0.5s ease-out;
        transition: all 0.5s ease-out;
    }
    .noWebkit {
        display:none !important;
        line-height:0 !important;
        width:0 !important;
        font-size:0 !important;
        height:0 !important;
    }
}
@media only screen and (max-width: 850px) and (min-width: 450px) {
    #slider #controls {
        margin: -25% 0 0 15%;
        width: 70%;
        height: 50px;
    }
    #slider #controls label {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    #slider #active {
        margin: 22% 0 0;
    }
}
@media only screen and (max-width: 450px) {
    #slider #controls {
        margin: -40% 0 0 20%;
        width: 60%;
        height: 50px;
    }
    #slider #active {
        margin: 30% 0 0;
    }
    #slider #slides {
        padding: 1% 0;
        -webkit-border-radius: 0px;
        border-radius: 0px;
    }
    #slider #controls label {
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
    }
    .info {
        margin:10px !important;
    }
    h3 {
        font-size:18px !important;
        line-height:23px !important;
    }
*[class=eraseForMobile] {display:none !important;font-size:0 !important;
        line-height:0 !important;
        width:0 !important;
        height:0 !important;
        float:left !important;
        overflow:hidden !important;
    }
}
textarea {resize: none!important;}
*{
    margin: 0;
    padding: 0;
}
body {font-family: 'Cairo', sans-serif;}
a {
    text-decoration: none !important;
}
ul , li {
    list-style: none;
}
.bg-img{
    min-height: 75vh;
    width: 100%;
    background-image: url('../images/sean-pollock-203658-unsplash-crop-u2852.jpg');
    background-size: 100% 100%;
    padding: 5%;
}
.projects , .section-container {
    padding: 3%;
}
.projects .card{
    box-shadow: 0 6px 15px 0 rgba(0, 0, 0, 0.1);
    border: 0px;
}

.projects .card img {
    height: 150px;
    min-height: 90px;
}
.section-container .card-head{
    background-color: #006837;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    height: 40px;
    color: white;
    padding-top: 1%;
}
.section-container .card-details {
    /* margin:3% auto; */
    margin-top: 3%;
    background-color: white;
    color: #006837;
    padding-bottom: 3%;
    
}
.section-container .card-details img{
    height:250px;
    width: 100%;
    border: 6px solid yellow;
}
.section-container .card-details span {
    font-size: 15px;
    font-weight: bold;
}
.section-container .card-foot {
    background-color: yellow;
    padding: 4%;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
        margin-bottom: 6%;
}
.section-container .card-foot .btn {background-color: lightgrey;}
.tabs-container img{height: 110px;width: 110px;}
.tabs-container .tab-box{border: 6px solid #006837;border-radius: 6px;}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: white;
    color: green;
    /* font-size: 2px; */
    border-bottom: 2px solid #006837;
}
#v-pills-tab{
    background-color: white;
    color: green;
    font-size: 20px;
    font-weight: bold;
}
.tabs-container .tab-box .tab-content{ background-color:#76D898 ;}
.tab-box .tab-head{padding: 0;}
.oth-proj{background-color: #a8ff91;}
.oth-proj .oth-project-box{
    background-color: #76D898;
    border-radius: 5%;
    padding: 15% 0;
}
.oth-proj .oth-project-box img {
    height: 130px;
    width: 130px;
}
.proj-details{
    padding: 5%;
    background-color: #a8ff91;
    color: green;
}
.video .video-img {
    position: relative;
    height: 160px;

    background-image: url('../images/sean-pollock-203658-unsplash-crop-u2852.jpg')
    ;
    background-size: cover;
    color: white;

}
.video .video-img .overlay{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom,rgba(22,186,154,0.5),rgba(0,0,0,0.3));
}
.video .video-img .overlay h3{
    transform: translateY(58px) translateX(36%);
}

nav > .nav.nav-tabs{

  border: none;
    color:#fff;
    background:#272e38;
    border-radius:0;

}
nav > div a.nav-item.nav-link,
nav > div a.nav-item.nav-link.active
{
  border: none;
    padding: 18px 25px;
    color:#fff;
    background:#272e38;
    border-radius:0;
}

nav > div a.nav-item.nav-link.active:after
 {
  content: "";
  position: relative;
  bottom: -60px;
  left: -10%;
  border: 15px solid transparent;
  border-top-color: #e74c3c ;
}
.tab-content{
  background: #fdfdfd;
    line-height: 25px;
    padding:30px 25px;
}

nav > div a.nav-item.nav-link:hover,
nav > div a.nav-item.nav-link:focus
{
  border: none;
    background: #e74c3c;
    color:#fff;
    border-radius:0;
    transition:background 0.20s linear;
}
.blog-slider {
  width: 95%;
  position: relative;
  max-width: 800px;
  margin: auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 25px;
  border-radius: 25px;
  height: 400px;
  transition: all .3s;
}
@media screen and (max-width: 992px) {
  .blog-slider {
    max-width: 680px;
    height: 400px;
  }
}
@media screen and (max-width: 768px) {
  .blog-slider {
    min-height: 500px;
    height: auto;
    margin: 180px auto;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider {
    height: 350px;
  }
}
.blog-slider__item {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .blog-slider__item {
    flex-direction: column;
  }
}
.blog-slider__item.swiper-slide-active .blog-slider__img img {
  opacity: 1;
  transition-delay: .3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > * {
  opacity: 1;
  transform: none;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
  transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
  transition-delay: 0.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
  transition-delay: 0.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
  transition-delay: 0.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
  transition-delay: 0.7s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
  transition-delay: 0.8s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
  transition-delay: 0.9s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
  transition-delay: 1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
  transition-delay: 1.1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
  transition-delay: 1.2s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
  transition-delay: 1.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
  transition-delay: 1.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
  transition-delay: 1.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
  transition-delay: 1.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
  transition-delay: 1.7s;
}
.blog-slider__img {
  width: 300px;
  flex-shrink: 0;
  height: 300px;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  box-shadow: 4px 13px 30px 1px rgba(252, 56, 56, 0.2);
  border-radius: 20px;
  transform: translateX(-80px);
  overflow: hidden;
}
.blog-slider__img:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  border-radius: 20px;
  opacity: 0.8;
}
.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  border-radius: 20px;
  transition: all .3s;
}
@media screen and (max-width: 768px) {
  .blog-slider__img {
    transform: translateY(-50%);
    width: 90%;
  }
}
@media screen and (max-width: 576px) {
  .blog-slider__img {
    width: 95%;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider__img {
    height: 270px;
  }
}
.blog-slider__content {
  padding-right: 25px;
}
@media screen and (max-width: 768px) {
  .blog-slider__content {
    margin-top: -80px;
    text-align: center;
    padding: 0 30px;
  }
}
@media screen and (max-width: 576px) {
  .blog-slider__content {
    padding: 0;
  }
}
.blog-slider__content > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all .4s;
}
.blog-slider__code {
  color: #7b7992;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}
.blog-slider__title {
  font-size: 24px;
  font-weight: 700;
  color: #0d0925;
  margin-bottom: 20px;
}
.blog-slider__text {
  color: #4e4a67;
  margin-bottom: 30px;
  line-height: 1.5em;
}
.blog-slider__button {
  display: inline-flex;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
  text-decoration: none;
  font-weight: 500;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}
@media screen and (max-width: 576px) {
  .blog-slider__button {
    width: 100%;
  }
}
.blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
  bottom: 10px;
  left: 0;
  width: 100%;
}
.blog-slider__pagination {
  position: absolute;
  z-index: 21;
  right: 20px;
  width: 11px !important;
  text-align: center;
  left: auto !important;
  top: 50%;
  bottom: auto !important;
  transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination {
    transform: translateX(-50%);
    left: 50% !important;
    top: 205px;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 8px 0;
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
  }
}
.blog-slider__pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  display: block;
  border-radius: 10px;
  background: #062744;
  opacity: 0.2;
  transition: all .3s;
}
.blog-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #fd3838;
  height: 30px;
  box-shadow: 0px 0px 20px rgba(252, 56, 56, 0.3);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination .swiper-pagination-bullet-active {
    height: 11px;
    width: 30px;
  }
}
.blog-card {
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.6%;
  background: #fff;
  line-height: 1.4;
 font-family: 'Cairo', sans-serif;;
  border-radius: 5px;
  overflow: hidden;
  z-index: 0;
}
.blog-card a {
  color: inherit;
}
.blog-card a:hover {
  color: #5ad67d;
}
.blog-card:hover .photo {
  -webkit-transform: scale(1.3) rotate(3deg);
          transform: scale(1.3) rotate(3deg);
}
.blog-card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}
.blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: -webkit-transform .2s;
  transition: transform .2s;
  transition: transform .2s, -webkit-transform .2s;
}
.blog-card .details,
.blog-card .details ul {
  margin: auto;
  padding: 0;
  list-style: none;
}
.blog-card .details {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  margin: auto;
  transition: left .2s;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  width: 100%;
  font-size: .9rem;
}
.blog-card .details a {
  -webkit-text-decoration: dotted underline;
          text-decoration: dotted underline;
}
.blog-card .details ul li {
  display: inline-block;
}
.blog-card .details .author:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "\f007";
}
.blog-card .details .date:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "\f133";
}
.blog-card .details .tags ul:before {
  font-family: FontAwesome;
  content: "\f02b";
  margin-right: 10px;
}
.blog-card .details .tags li {
  margin-right: 2px;
}
.blog-card .details .tags li:first-child {
  margin-left: -4px;
}
.blog-card .description {
  padding: 1rem;
  background: #fff;
  position: relative;
  z-index: 1;
}
.blog-card .description h1,
.blog-card .description h2 {
 font-family: 'Cairo', sans-serif;;
}
.blog-card .description h1 {
  line-height: 1;
  margin: 0;
  font-size: 1.7rem;
}
.blog-card .description h2 {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  margin-top: 5px;
}
.blog-card .description .read-more {
  text-align: left;
}
.blog-card .description .read-more a {
  color: #5ad67d;
  display: inline-block;
  position: relative;
}
.blog-card .description .read-more a:after {
  content: "\f061";
  font-family: FontAwesome;
  margin-left: -10px;
  opacity: 0;
  vertical-align: middle;
  transition: margin .3s, opacity .3s;
}
.blog-card .description .read-more a:hover:after {
  margin-left: 5px;
  opacity: 1;
}
.blog-card p {
  position: relative;
  margin: 1rem 0 0;
}
.blog-card p:first-of-type {
  margin-top: 1.25rem;
}
.blog-card p:first-of-type:before {
    content: "";
    position: absolute;
    height: 5px;
    background: #5ad67d;
    width: 35px;
    left: 0;
    top: -0.75rem;
    border-radius: 3px;
}
.blog-card:hover .details {
  left: 0%;
}
@media (min-width: 640px) {
  .blog-card {
    flex-direction: row;
    max-width: 700px;
  }
  .blog-card .meta {
    flex-basis: 50%;
    height: auto;
  }
  .blog-card .description {
    flex-basis: 50%;
  }
  .blog-card .description:before {
    -webkit-transform: skewX(-3deg);
            transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }
  .blog-card.alt {
    flex-direction: row-reverse;
  }
  .blog-card.alt .description:before {
    left: inherit;
    right: -10px;
    -webkit-transform: skew(3deg);
            transform: skew(3deg);
  }
  .blog-card.alt .details {
    padding-left: 25px;
  }
}
.pro-cover{height: 70vh;}
.modal-dialog{max-width: auto!important;}

.my-form
{
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.my-form .row
{
    margin-left: 0;
    margin-right: 0;
}

.login-form
{
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.login-form .row
{
    margin-left: 0;
    margin-right: 0;
}



/******************  News Slider Demo-8 *******************/
.post-slide8{
    margin: 0 15px;
    position:relative;
    background:#fff;
    box-shadow: 0 1px 2px rgba(43,59,93,0.30);
    margin-bottom:2em;
}
.post-slide8 .post-img{
    position: relative;
    overflow: hidden;
}
.post-slide8 .post-img img{
    width: 100%;
    height: 250px;
}
.post-slide8 .post-content{
  height: 145px;
}
.post-slide8 .over-layer{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    opacity:0;
    background: rgba(0,0,0,0.6);
    transition: all 0.30s ease;
}
.post-slide8:hover .over-layer{
    opacity:1;
}
.post-slide8 .post-link{
    margin:0;
    padding:0;
    position: relative;
    top:45%;
    text-align:center;
}
.post-slide8 .post-link li{
    display: inline-block;
    list-style: none;
    margin-right:20px;
}
.post-slide8 .post-link li a{
    color:#fff;
    font-size:20px;
}
.post-slide8 .post-link li a:hover{
    color: #ff8b3d;
    text-decoration:none;
}
.post-slide8 .post-date{
    position:absolute;
    top:10%;
    left:4%;
}
.post-slide8 .date{
    display: inline-block;
    border-radius: 3px 0 0 3px;
    padding: 5px 10px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background:#333;
    float: left;
}
.post-slide8 .month{
    display: inline-block;
    border-radius: 0 3px 3px 0;
    padding: 5px 13px;
    color: #111;
    font-size: 20px;
    font-weight: bold;
    background: #ff8b3d;
}
.post-slide8 .post-content{
    padding:30px;
}
.post-slide8 .post-title{
    margin:0 0 15px 0;
}
.post-slide8 .post-title a{
    font-size:18px;
    font-weight:bold;
    color:#333;
    display: inline-block;
    text-transform:capitalize;
    transition: all 0.3s ease 0s;
}
.post-slide8 .post-title a:hover{
    text-decoration: none;
    color:#ff8b3d;
}
.post-slide8 .post-description{
    font-size: 14px;
    line-height:24px;
    color:#808080;
}
.post-slide8 .read-more{
    color:#333;
    font-size:14px;
    font-weight:bold;
    text-transform:uppercase;
    position: relative;
    transition: color 0.20s linear;
}
.post-slide8 .read-more:hover{
    text-decoration:none;
    color:#5ad67d;
}
.post-slide8 .read-more:after{
    content:"";
    position: absolute;
    width:30%;
    display: block;
    right: 0;
    border:1px solid #5ad67d;
    transition: all 0.30s ease;
}
.post-slide8 .read-more:hover:after{
    width:100%;
}
@media only screen and (max-width: 479px) {
    .post-slide8 .month{
        font-size:14px;
    }
    .post-slide8 .date{
        font-size:14px;
    }
}



/******************  News Slider Demo-12 *******************/
.post-slide12{
    background: #fff;
    margin: 0 15px;
    box-shadow: 0 1px 2px rgba(43,59,93,0.30);
    margin-bottom:2em;
}
.post-slide12 .post-img{
    position:relative;
    float: left;
    width:50%;
    height: auto;
}
.post-slide12 .over-layer{
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    position: absolute;
    opacity:0;
    cursor: pointer;
    transition: opacity 0.30s ease 0s;
}
.post-slide12 .over-layer:after{
    color: #fff;
    content: "+";
    font-size: 52px;
    position: absolute;
    top: 31%;
    left:42%;
}
.post-slide12 .post-img:hover .over-layer{
    opacity:1;
}
.post-slide12 .post-img img{
    width:100%;
    height: auto;
}
.post-slide12 .post-review{
    float: left;
    padding: 1px 20px;
    width: 50%;
}
.post-slide12 .post-title{
    margin:0 0 5px 0;
}
.post-slide12 .post-title a{
    color: #3498db;
    font-size: 20px;
    font-weight: 700;
    display: block;
    text-transform: capitalize;
    transition:color 0.30s ease;
}
.post-title > a:hover{
    text-decoration: none;
    color:#333;
}
.post-slide12 .post-date{
    display:block;
    font-size:15px;
    font-weight:700;
    margin-bottom:17px;
}
.post-description{
    color: #333;
    font-size: 15px;
    font-weight:400;
    text-align:left;
}
.owl-pagination{
    /* margin-top: 40px; */
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span{
    background: #5ad67d;
}
@media only screen and (max-width: 990px){
    .post-slide12 .over-layer:after{
        top:39%;
        left: 45%;
    }
}
@media only screen and (max-width: 640px){
    .post-slide12 .post-img{
        width:100%;
    }
    .post-slide12 .post-review{
        width:100%;
        padding:10px;
    }
}

.owl-carousel .owl-wrapper-outer{direction:ltr!important;}


.rounded-close{
  display: block;
  margin-right : auto;
  font-size: 25px;
}

.text-lang{
  font-family: 'cairo';
  font-size: 20px;
}
.overlay{
  background-color: rgb(0 0 0 / 62%);
}
.units-card{
  border-radius: 20px;
}
.units-card img{
  height: 220px;
  border-radius: 20px;
}
.units-card .overlay{
  top: 0;
  border-radius: 20px;
  text-align: right;
}
/* ////  new style */
.top-100{
  top: 0;
  right: 0%;
}
.custom-overlay{
  background-color: #0d092597;
  transition: .7s;
}
.custom-gallery-img-height{
  height: 200px;
}

.bg-green{
  background-color: #5ad67d;
  color: white;
}
.text-muted{
  color: #525456 !important;
}
.fs-3{
  font-size: 18px;
}


/* ====================== UEC REDESIGN (merged) ====================== */

/* ---------- navbar ---------- */
/* ==========================================================
   UEC — Navbar (shared by EN + AR)
   ========================================================== */
:root {
  --nav-green: #094c02;
  --nav-green-2: #1d7a2c;
  --nav-accent: #5ad67d;
  --nav-ink: #0f2a12;
  --nav-muted: #5d6f60;
  --nav-tint: #eef7ef;
  --nav-h: 84px;
  --nav-h-scrolled: 66px;
  --nav-ease: cubic-bezier(.22, .9, .32, 1);
}

.uec-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
}

/* glass layer lives on a pseudo-element so it doesn't trap the fixed mobile drawer */
.uec-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(9, 76, 2, .06);
  transition: box-shadow .35s var(--nav-ease), background .35s var(--nav-ease);
  z-index: -1;
}
/* animated brand line along the bottom */
.uec-nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nav-green), var(--nav-accent), var(--nav-green-2), var(--nav-green));
  background-size: 300% 100%;
  animation: uecNavFlow 9s linear infinite;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s var(--nav-ease);
}
.uec-nav.is-scrolled::before {
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 30px -12px rgba(9, 76, 2, .25);
}
.uec-nav.is-scrolled::after { transform: scaleX(1); }
@keyframes uecNavFlow { to { background-position: 300% 0; } }

.uec-nav__bar {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: height .35s var(--nav-ease);
}
.uec-nav.is-scrolled .uec-nav__bar { height: var(--nav-h-scrolled); }

/* ---------- brand ---------- */
.uec-nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  width: auto !important;          /* override old .navbar-brand rules */
}
.uec-nav__brand img {
  height: 54px !important;
  width: auto !important;
  max-width: none;
  transition: height .35s var(--nav-ease), transform .35s var(--nav-ease);
}
.uec-nav.is-scrolled .uec-nav__brand img { height: 44px !important; }
.uec-nav__brand:hover img { transform: scale(1.04); }

/* ---------- menu (desktop) ---------- */
.uec-nav__menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-inline-start: auto;
}
.uec-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.uec-nav__links > li { position: relative; }

.uec-nav .uec-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--nav-ink);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  transition: color .25s ease, background-color .25s ease;
}
.uec-nav .uec-nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--nav-green), var(--nav-accent));
  transform: scaleX(0);
  transition: transform .3s var(--nav-ease);
}
.uec-nav .uec-nav__link:hover,
.uec-nav .uec-nav__link:focus-visible,
.uec-nav .uec-nav__link.is-active { color: var(--nav-green); text-decoration: none; }
.uec-nav .uec-nav__link:hover::after,
.uec-nav .uec-nav__link:focus-visible::after,
.uec-nav .uec-nav__link.is-active::after { transform: scaleX(1); }
.uec-nav .uec-nav__link.is-active { font-weight: 600; }

.uec-nav .dropdown-toggle::after { display: none; }   /* drop bootstrap caret */
.uec-nav__chev {
  font-size: .65em;
  opacity: .7;
  transition: transform .3s var(--nav-ease);
}
.uec-nav .show > .dropdown-toggle .uec-nav__chev { transform: rotate(180deg); }

/* ---------- dropdown panel ---------- */
.uec-nav .uec-nav__panel {
  display: block;
  min-width: 300px;
  margin-top: 14px;
  padding: 8px;
  border: 1px solid rgba(9, 76, 2, .08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px -16px rgba(9, 40, 12, .28), 0 2px 6px rgba(9, 40, 12, .06);
  text-align: start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.98);
  transform-origin: top center;
  transition: opacity .25s ease, transform .3s var(--nav-ease), visibility 0s linear .3s;
}
.uec-nav .uec-nav__panel::before {        /* invisible bridge so hover doesn't drop */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -16px;
  height: 16px;
}
.uec-nav .uec-nav__panel--sm { min-width: 210px; }
.uec-nav .dropdown.show > .uec-nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .3s var(--nav-ease), visibility 0s;
}
.uec-nav .uec-nav__panel .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--nav-ink);
  white-space: normal;
  transition: background-color .2s ease, transform .25s var(--nav-ease);
}
.uec-nav .uec-nav__panel .dropdown-item strong { display: block; font-weight: 600; font-size: .93rem; }
.uec-nav .uec-nav__panel .dropdown-item small  { display: block; color: var(--nav-muted); font-size: .78rem; margin-top: 1px; }
.uec-nav .uec-nav__panel .dropdown-item:hover,
.uec-nav .uec-nav__panel .dropdown-item:focus {
  background: var(--nav-tint);
  color: var(--nav-green);
  transform: translateX(4px);
}
.uec-nav[dir="rtl"] .uec-nav__panel .dropdown-item:hover,
.uec-nav[dir="rtl"] .uec-nav__panel .dropdown-item:focus { transform: translateX(-4px); }
.uec-nav__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--nav-tint);
  color: var(--nav-green);
  font-size: .95rem;
  transition: background-color .25s ease, color .25s ease;
}
.uec-nav .dropdown-item:hover .uec-nav__ico { background: var(--nav-green); color: #fff; }

/* ---------- actions ---------- */
.uec-nav__actions { display: flex; align-items: center; gap: 10px; }

.uec-nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid rgba(9, 76, 2, .18);
  border-radius: 999px;
  color: var(--nav-green);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}
.uec-nav__lang i { transition: transform .6s var(--nav-ease); }
.uec-nav__lang:hover { border-color: var(--nav-green); background: var(--nav-tint); color: var(--nav-green); text-decoration: none; }
.uec-nav__lang:hover i { transform: rotate(180deg); }

.uec-nav .uec-nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--nav-green) 0%, var(--nav-green-2) 100%);
  box-shadow: 0 8px 20px -8px rgba(9, 76, 2, .7);
  transition: transform .3s var(--nav-ease), box-shadow .3s var(--nav-ease);
}
.uec-nav .uec-nav__cta::before {           /* shine sweep */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--nav-ease);
  z-index: -1;
}
.uec-nav .uec-nav__cta:hover,
.uec-nav .uec-nav__cta:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(9, 76, 2, .75), 0 0 0 4px rgba(90, 214, 125, .18);
}
.uec-nav .uec-nav__cta:hover::before { left: 120%; }
.uec-nav__avatar {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-inline-start: -10px;
  border-radius: 50%;
  background: var(--nav-accent);
  color: var(--nav-green);
  font-weight: 700;
  font-size: .85rem;
}
.uec-nav__uname { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }

/* ---------- hamburger ---------- */
.uec-nav__toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  margin-inline-start: auto;
  border: 0;
  border-radius: 14px;
  background: var(--nav-tint);
  cursor: pointer;
  z-index: 3;
  transition: background-color .3s ease;
}
.uec-nav__toggle span {
  position: absolute;
  left: 13px;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--nav-green);
  transition: transform .4s var(--nav-ease), opacity .25s ease, width .3s var(--nav-ease), top .4s var(--nav-ease);
}
.uec-nav__toggle span:nth-child(1) { top: 16px; }
.uec-nav__toggle span:nth-child(2) { top: 22px; width: 14px; }
.uec-nav__toggle span:nth-child(3) { top: 28px; }
.uec-nav__toggle:hover span:nth-child(2) { width: 20px; }
.uec-nav.is-open .uec-nav__toggle { background: var(--nav-green); }
.uec-nav.is-open .uec-nav__toggle span { background: #fff; }
.uec-nav.is-open .uec-nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.uec-nav.is-open .uec-nav__toggle span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.uec-nav.is-open .uec-nav__toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.uec-nav__overlay { display: none; }

.uec-nav a:focus-visible,
.uec-nav button:focus-visible { outline: 2px solid var(--nav-accent); outline-offset: 2px; }

/* ---------- laptop: tighten spacing ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .uec-nav__bar { gap: 14px; padding: 0 16px; }
  .uec-nav__menu { gap: 10px; }
  .uec-nav .uec-nav__link { padding: 10px 9px; font-size: .88rem; }
  .uec-nav .uec-nav__link::after { left: 9px; right: 9px; }
  .uec-nav__brand img { height: 46px !important; }
  .uec-nav .uec-nav__cta { padding: 0 14px; font-size: .85rem; }
  .uec-nav__lang { padding: 0 11px; }
}

/* desktop: open dropdowns on hover as well as click */
@media (min-width: 992px) and (hover: hover) {
  .uec-nav .uec-nav__dropdown:hover > .uec-nav__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s ease, transform .3s var(--nav-ease), visibility 0s;
  }
  .uec-nav .uec-nav__dropdown:hover > .dropdown-toggle .uec-nav__chev { transform: rotate(180deg); }
}
@media (min-width: 992px) {
  .uec-nav .uec-nav__panel { position: absolute; top: 100%; left: 0; right: auto; }
  .uec-nav[dir="rtl"] .uec-nav__panel { left: auto; right: 0; }
  .uec-nav__actions .uec-nav__panel { left: auto; right: 0; }
  .uec-nav[dir="rtl"] .uec-nav__actions .uec-nav__panel { right: auto; left: 0; }
}

/* ==========================================================
   Mobile / tablet — slide-in drawer
   ========================================================== */
@media (max-width: 991.98px) {
  :root { --nav-h: 72px; --nav-h-scrolled: 62px; }
  .uec-nav__bar { padding: 0 16px; }
  .uec-nav__brand img { height: 44px !important; }
  .uec-nav.is-scrolled .uec-nav__brand img { height: 38px !important; }
  .uec-nav__toggle { display: block; }

  .uec-nav__menu {
    position: fixed;
    top: 0; bottom: 0; right: 0;
    width: min(360px, 88vw);
    margin: 0;
    padding: calc(var(--nav-h) + 12px) 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(90, 214, 125, .18), transparent 60%),
      #fff;
    box-shadow: -24px 0 60px -20px rgba(9, 40, 12, .35);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .5s var(--nav-ease), visibility 0s linear .5s;
    z-index: 2;
  }
  .uec-nav[dir="rtl"] .uec-nav__menu {
    right: auto; left: 0;
    transform: translateX(-105%);
    box-shadow: 24px 0 60px -20px rgba(9, 40, 12, .35);
    background:
      radial-gradient(120% 60% at 0% 0%, rgba(90, 214, 125, .18), transparent 60%),
      #fff;
  }
  .uec-nav.is-open .uec-nav__menu {
    transform: none;
    visibility: visible;
    transition: transform .5s var(--nav-ease), visibility 0s;
  }

  .uec-nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .uec-nav .uec-nav__link {
    display: flex;
    width: 100%;
    padding: 14px 14px;
    font-size: 1.05rem;
    border-radius: 12px;
  }
  .uec-nav .uec-nav__link::after { display: none; }
  .uec-nav .uec-nav__link:hover,
  .uec-nav .uec-nav__link.is-active { background: var(--nav-tint); }
  .uec-nav .uec-nav__link.is-active { box-shadow: inset 3px 0 0 var(--nav-green); }
  .uec-nav[dir="rtl"] .uec-nav__link.is-active { box-shadow: inset -3px 0 0 var(--nav-green); }
  .uec-nav__chev { margin-inline-start: auto; }

  /* dropdown becomes an accordion */
  .uec-nav .uec-nav__panel {
    position: static !important;
    float: none;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--nav-ease), padding .3s ease;
  }
  .uec-nav[dir="rtl"] .uec-nav__panel { padding: 0 8px 0 0; }
  .uec-nav .uec-nav__panel::before { display: none; }
  .uec-nav .dropdown.show > .uec-nav__panel { max-height: 320px; padding-top: 4px; padding-bottom: 6px; }

  /* staggered entrance */
  .uec-nav__links > li,
  .uec-nav__actions {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .4s ease, transform .5s var(--nav-ease);
  }
  .uec-nav[dir="rtl"] .uec-nav__links > li,
  .uec-nav[dir="rtl"] .uec-nav__actions { transform: translateX(-24px); }
  .uec-nav.is-open .uec-nav__links > li,
  .uec-nav.is-open .uec-nav__actions { opacity: 1; transform: none; }
  .uec-nav.is-open .uec-nav__links > li:nth-child(1) { transition-delay: .08s; }
  .uec-nav.is-open .uec-nav__links > li:nth-child(2) { transition-delay: .12s; }
  .uec-nav.is-open .uec-nav__links > li:nth-child(3) { transition-delay: .16s; }
  .uec-nav.is-open .uec-nav__links > li:nth-child(4) { transition-delay: .20s; }
  .uec-nav.is-open .uec-nav__links > li:nth-child(5) { transition-delay: .24s; }
  .uec-nav.is-open .uec-nav__links > li:nth-child(6) { transition-delay: .28s; }
  .uec-nav.is-open .uec-nav__actions { transition-delay: .34s; }

  .uec-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(9, 76, 2, .08);
  }
  .uec-nav__actions .dropdown { display: flex; flex-direction: column; }
  .uec-nav .uec-nav__cta,
  .uec-nav__lang { justify-content: center; height: 50px; font-size: 1rem; }
  .uec-nav__actions .uec-nav__panel { padding: 0; }
  .uec-nav__uname { max-width: none; }
  .uec-nav__avatar { margin-inline-start: 0; }

  .uec-nav__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(6, 30, 8, .45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility 0s linear .4s;
    z-index: 1;
  }
  .uec-nav.is-open .uec-nav__overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s ease, visibility 0s;
  }
  .uec-nav.is-open::after { transform: scaleX(0); }
}

html.uec-nav-lock, html.uec-nav-lock body { overflow: hidden; }

@media (max-width: 380px) {
  .uec-nav__brand img { height: 38px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .uec-nav *, .uec-nav::before, .uec-nav::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- hero ---------- */
/* ==========================================================
   UEC — Hero slider (shared by EN + AR)
   ========================================================== */
.uec-hero {
  --hero-h: clamp(440px, 78vh, 760px);
  --hero-green: #094c02;
  --hero-accent: #5ad67d;
  --hero-ease: cubic-bezier(.22, .9, .32, 1);
  --hero-interval: 6s;
  position: relative;
  background: #06210a;
  overflow: hidden;
}
.uec-hero .carousel,
.uec-hero .carousel-inner,
.uec-hero .carousel-item { height: var(--hero-h); }

.uec-hero .carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;               /* override old style.css cap */
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
}
.uec-hero .carousel-item.active img { animation: uecKenBurns 9s linear forwards; }
@keyframes uecKenBurns { from { transform: scale(1.12); } to { transform: scale(1); } }

.uec-hero.carousel-fade .carousel-item,
.uec-hero .carousel-fade .carousel-item { transition-duration: 1.1s; }

/* overlay */
.uec-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 28, 7, .88) 0%, rgba(9, 60, 6, .62) 38%, rgba(9, 76, 2, .15) 72%, transparent 100%),
    linear-gradient(0deg, rgba(3, 20, 5, .75) 0%, transparent 38%);
}
.uec-hero[dir="rtl"] .uec-hero__shade {
  background:
    linear-gradient(270deg, rgba(4, 28, 7, .88) 0%, rgba(9, 60, 6, .62) 38%, rgba(9, 76, 2, .15) 72%, transparent 100%),
    linear-gradient(0deg, rgba(3, 20, 5, .75) 0%, transparent 38%);
}

/* content */
.uec-hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  pointer-events: none;
}
.uec-hero__content > * { max-width: 640px; pointer-events: auto; }
.uec-hero__content > * { opacity: 0; transform: translateY(24px); animation: uecRise .9s var(--hero-ease) forwards; }
.uec-hero__eyebrow { animation-delay: .15s !important; }
.uec-hero__title   { animation-delay: .3s !important; }
.uec-hero__sub     { animation-delay: .45s !important; }
.uec-hero__btns    { animation-delay: .6s !important; }
@keyframes uecRise { to { opacity: 1; transform: none; } }

.uec-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.uec-hero[dir="rtl"] .uec-hero__eyebrow { letter-spacing: 0; font-size: .9rem; }
.uec-hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hero-accent);
  box-shadow: 0 0 0 0 rgba(90, 214, 125, .7);
  animation: uecPulse 2s infinite;
}
@keyframes uecPulse { 70% { box-shadow: 0 0 0 10px rgba(90, 214, 125, 0); } 100% { box-shadow: 0 0 0 0 rgba(90, 214, 125, 0); } }

.uec-hero__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}
.uec-hero[dir="rtl"] .uec-hero__title { line-height: 1.35; letter-spacing: 0; }
.uec-hero__sub {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, .85);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.uec-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.uec-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none !important;
  transition: transform .3s var(--hero-ease), box-shadow .3s var(--hero-ease), background-color .3s ease, color .3s ease;
}
.uec-hero__btn--primary {
  color: #062b0a !important;
  background: var(--hero-accent);
  box-shadow: 0 12px 30px -10px rgba(90, 214, 125, .8);
}
.uec-hero__btn--primary i { transition: transform .3s var(--hero-ease); }
.uec-hero__btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(90, 214, 125, .95); background: #74e293; }
.uec-hero__btn--primary:hover i { transform: translateX(4px); }
.uec-hero[dir="rtl"] .uec-hero__btn--primary:hover i { transform: translateX(-4px); }
.uec-hero__btn--ghost {
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.uec-hero__btn--ghost:hover { background: #fff; color: var(--hero-green) !important; transform: translateY(-2px); }

/* bottom bar: progress indicators + arrows */
.uec-hero__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.uec-hero .uec-hero__dots {
  position: static;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex: 0 1 360px;
}
.uec-hero .uec-hero__dots li {
  flex: 1 1 0;
  height: 4px;
  width: auto;
  margin: 0;
  border: 0;
  border-top: 10px solid transparent;     /* bigger hit area */
  border-bottom: 10px solid transparent;
  background-clip: padding-box;
  background-color: rgba(255, 255, 255, .28);
  border-radius: 4px;
  opacity: 1;
  text-indent: 0;
  position: relative;
  overflow: hidden;
  box-sizing: content-box;
}
.uec-hero .uec-hero__dots li span {
  position: absolute;
  inset: 0;
  background: var(--hero-accent);
  transform: scaleX(0);
  transform-origin: left;
}
.uec-hero[dir="rtl"] .uec-hero__dots li span { transform-origin: right; }
.uec-hero .uec-hero__dots li.active span { animation: uecProgress var(--hero-interval) linear forwards; }
.uec-hero .carousel:hover .uec-hero__dots li.active span { animation-play-state: paused; }
@keyframes uecProgress { to { transform: scaleX(1); } }

.uec-hero__nav { display: flex; align-items: center; gap: 10px; }
.uec-hero__count {
  margin-inline-end: 8px;
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}
.uec-hero__count b { color: #fff; font-size: 1.2rem; font-weight: 700; }
.uec-hero__arrow {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff !important;
  text-decoration: none !important;
  transition: background-color .3s ease, color .3s ease, transform .3s var(--hero-ease), border-color .3s ease;
}
.uec-hero__arrow:hover { background: #fff; color: var(--hero-green) !important; border-color: #fff; transform: scale(1.06); }

/* scroll cue */
.uec-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 4;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 14px;
}
.uec-hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: uecScroll 1.8s var(--hero-ease) infinite;
}
@keyframes uecScroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.uec-hero__end { display: block; scroll-margin-top: 70px; }
html { scroll-behavior: smooth; }

.uec-hero a:focus-visible { outline: 2px solid var(--hero-accent); outline-offset: 3px; }

/* ---------- tablet ---------- */
@media (max-width: 991.98px) {
  .uec-hero { --hero-h: clamp(440px, 70vh, 640px); }
  .uec-hero__scroll { display: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 575.98px) {
  .uec-hero { --hero-h: 540px; }
  .uec-hero__shade,
  .uec-hero[dir="rtl"] .uec-hero__shade {
    background: linear-gradient(0deg, rgba(4, 28, 7, .92) 0%, rgba(9, 60, 6, .6) 50%, rgba(9, 76, 2, .25) 100%);
  }
  .uec-hero__content { justify-content: flex-end; padding: 0 20px 96px; }
  .uec-hero__eyebrow { font-size: .7rem; padding: 6px 12px; margin-bottom: 14px; }
  .uec-hero[dir="rtl"] .uec-hero__eyebrow { font-size: .8rem; }
  .uec-hero__sub { margin-bottom: 24px; }
  .uec-hero__btns { width: 100%; }
  .uec-hero__btn { flex: 1 1 100%; height: 50px; }
  .uec-hero__bar { padding: 0 20px 24px; }
  .uec-hero__count { display: none; }
  .uec-hero__arrow { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .uec-hero *, .uec-hero *::before { animation: none !important; transition-duration: .01ms !important; }
  .uec-hero__content > * { opacity: 1; transform: none; }
  .uec-hero .carousel-item img { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- about ---------- */
/* ==========================================================
   UEC — Home "About" + chairman quote (shared by EN + AR)
   ========================================================== */
.uec-about, .uec-quote {
  --ab-green: #094c02;
  --ab-green-2: #1d7a2c;
  --ab-accent: #5ad67d;
  --ab-ink: #0f2a12;
  --ab-muted: #5d6f60;
  --ab-tint: #eef7ef;
  --ab-ease: cubic-bezier(.22, .9, .32, 1);
}

/* reveal on scroll (only when JS is running) */
.uec-reveal-on [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s var(--ab-ease, ease); }
.uec-reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
.uec-about__features li:nth-child(2) { transition-delay: .08s; }
.uec-about__features li:nth-child(3) { transition-delay: .16s; }
.uec-about__features li:nth-child(4) { transition-delay: .24s; }

/* ---------- about ---------- */
.uec-about {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(90, 214, 125, .10), transparent 70%),
    #fff;
  overflow: hidden;
}
.uec-about__wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

/* image composition */
.uec-about__media { position: relative; padding: 26px 0 36px 36px; }
.uec-about[dir="rtl"] .uec-about__media { padding: 26px 36px 36px 0; }
.uec-about__pattern {
  position: absolute;
  left: 0; bottom: 0;
  width: 62%; height: 62%;
  border-radius: 28px;
  background-image: radial-gradient(rgba(9, 76, 2, .28) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
}
.uec-about[dir="rtl"] .uec-about__pattern { left: auto; right: 0; }
.uec-about__frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(9, 40, 12, .45);
}
.uec-about__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.uec-about__frame img {
  display: block;
  width: 100%; height: auto;
  transition: transform 1.2s var(--ab-ease);
}
.uec-about__media:hover .uec-about__frame img { transform: scale(1.05); }

.uec-about__badge {
  position: absolute;
  right: -18px; top: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ab-green), var(--ab-green-2));
  color: #fff;
  box-shadow: 0 24px 40px -16px rgba(9, 76, 2, .7);
  animation: uecFloat 5s ease-in-out infinite;
}
.uec-about[dir="rtl"] .uec-about__badge { right: auto; left: -18px; }
.uec-about__badge-num { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.uec-about__badge-num sup { color: var(--ab-accent); font-size: .5em; top: -.9em; }
.uec-about__badge-txt { font-size: .85rem; line-height: 1.3; opacity: .9; }
@keyframes uecFloat { 50% { transform: translateY(-10px); } }

/* text */
.uec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--ab-green-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.uec-eyebrow::before {
  content: "";
  width: 36px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ab-green), var(--ab-accent));
}
[dir="rtl"] .uec-eyebrow { letter-spacing: 0; font-size: .95rem; }
[dir="rtl"] .uec-eyebrow::before { background: linear-gradient(270deg, var(--ab-green), var(--ab-accent)); }

.uec-about__title {
  margin: 0 0 22px;
  color: var(--ab-ink);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
}
.uec-about__title span {
  background: linear-gradient(90deg, var(--ab-green), var(--ab-green-2) 60%, #39b25c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uec-about[dir="rtl"] .uec-about__title { line-height: 1.45; letter-spacing: 0; }
.uec-about__lead, .uec-about__text { text-align: start !important; }
.uec-about__lead { margin: 0 0 12px; color: var(--ab-ink); font-size: 1.08rem; line-height: 1.75; }
.uec-about__text { margin: 0 0 30px; color: var(--ab-muted); font-size: .98rem; line-height: 1.8; }

.uec-about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}
.uec-about__features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(9, 76, 2, .08);
  border-radius: 18px;
  background: #fff;
  transition: transform .4s var(--ab-ease), box-shadow .4s var(--ab-ease), border-color .3s ease, opacity .8s ease;
}
.uec-about__features li:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 214, 125, .5);
  box-shadow: 0 20px 40px -20px rgba(9, 40, 12, .3);
}
.uec-about__features strong { display: block; color: var(--ab-ink); font-size: .95rem; font-weight: 600; line-height: 1.35; }
.uec-about__features small  { display: block; margin-top: 3px; color: var(--ab-muted); font-size: .8rem; line-height: 1.45; }
.uec-about__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--ab-tint);
  color: var(--ab-green);
  transition: background-color .3s ease, color .3s ease, transform .4s var(--ab-ease);
}
.uec-about__features li:hover .uec-about__ico { background: var(--ab-green); color: #fff; transform: rotate(-8deg); }

.uec-about__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.uec-about__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ab-green), var(--ab-green-2));
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 12px 28px -12px rgba(9, 76, 2, .8);
  transition: transform .3s var(--ab-ease), box-shadow .3s var(--ab-ease);
}
.uec-about__btn i { transition: transform .3s var(--ab-ease); }
.uec-about__btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(9, 76, 2, .85), 0 0 0 4px rgba(90, 214, 125, .18); }
.uec-about__btn:hover i { transform: translateX(4px); }
.uec-about[dir="rtl"] .uec-about__btn:hover i { transform: translateX(-4px); }

.uec-about__stats { display: flex; gap: 28px; }
.uec-about__stats > div { display: flex; flex-direction: column; padding-inline-start: 18px; border-inline-start: 2px solid var(--ab-tint); }
.uec-about__stats b { color: var(--ab-green); font-size: 1.9rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.uec-about__stats span { color: var(--ab-muted); font-size: .82rem; }

/* ---------- chairman quote ---------- */
.uec-quote {
  position: relative;
  padding: clamp(72px, 10vw, 130px) 24px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.uec-quote__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(4, 28, 7, .94) 0%, rgba(9, 76, 2, .82) 55%, rgba(29, 122, 44, .7) 100%),
    url(../images/back.jpg) center / cover fixed;
}
[dir="rtl"].uec-quote .uec-quote__bg,
.uec-quote[dir="rtl"] .uec-quote__bg {
  background:
    linear-gradient(120deg, rgba(4, 28, 7, .94) 0%, rgba(9, 76, 2, .82) 55%, rgba(29, 122, 44, .7) 100%),
    url(../../images/back.jpg) center / cover fixed;
}
.uec-quote__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.uec-quote__mark {
  display: inline-grid;
  place-items: center;
  width: 72px; height: 72px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: rgba(90, 214, 125, .16);
  border: 1px solid rgba(90, 214, 125, .4);
  color: var(--ab-accent);
  font-size: 1.6rem;
}
.uec-quote__text {
  text-align: center !important;
  margin: 0 0 34px;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.005em;
}
.uec-quote[dir="rtl"] .uec-quote__text { line-height: 1.8; letter-spacing: 0; }
.uec-quote__who { display: inline-flex; align-items: center; gap: 14px; text-align: start; }
.uec-quote__avatar {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(90, 214, 125, .35);
  overflow: hidden;
}
.uec-quote__avatar img { width: 80%; height: 80%; object-fit: contain; }
.uec-quote__who strong { display: block; font-size: 1.05rem; }
.uec-quote__who small  { display: block; color: rgba(255, 255, 255, .7); font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .uec-about__wrap { grid-template-columns: 1fr; }
  .uec-about__media { max-width: 560px; width: 100%; margin: 0 auto; }
  .uec-about__body { max-width: 680px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
  .uec-about__wrap { padding: 0 20px; }
  .uec-about__media { padding: 18px 0 22px 22px; }
  .uec-about[dir="rtl"] .uec-about__media { padding: 18px 22px 22px 0; }
  .uec-about__badge { right: -6px; top: -18px; padding: 12px 16px; border-radius: 16px; }
  .uec-about[dir="rtl"] .uec-about__badge { left: -6px; }
  .uec-about__badge-num { font-size: 2rem; }
  .uec-about__features { grid-template-columns: 1fr; }
  .uec-about__footer { flex-direction: column; align-items: stretch; gap: 22px; }
  .uec-about__btn { justify-content: center; }
  .uec-about__stats > div { flex: 1; }
}
/* fixed backgrounds jank / break on touch devices */
@media (hover: none), (max-width: 991.98px) {
  .uec-quote__bg { background-attachment: scroll !important; }
}
@media (prefers-reduced-motion: reduce) {
  .uec-reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
  .uec-about__badge { animation: none; }
}

/* ---------- projects ---------- */
/* ==========================================================
   UEC — Home housing projects (shared by EN + AR)
   ========================================================== */
.uec-projects {
  --pj-green: #094c02;
  --pj-green-2: #1d7a2c;
  --pj-accent: #5ad67d;
  --pj-ink: #0f2a12;
  --pj-muted: #5d6f60;
  --pj-tint: #eef7ef;
  --pj-ease: cubic-bezier(.22, .9, .32, 1);
  --ab-green: #094c02;
  --ab-green-2: #1d7a2c;
  --ab-accent: #5ad67d;
  --pj-card: calc((min(100vw, 1280px) - 48px - 40px) / 3);
  padding: clamp(64px, 9vw, 110px) 0;
  background: linear-gradient(180deg, #f6faf6 0%, #fff 100%);
  overflow: hidden;
}
.uec-projects__wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.uec-projects__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.uec-projects__title {
  margin: 0 0 12px;
  color: var(--pj-ink);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
}
.uec-projects__title span {
  background: linear-gradient(90deg, var(--pj-green), #39b25c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uec-projects[dir="rtl"] .uec-projects__title { line-height: 1.45; }
.uec-projects__sub { max-width: 560px; margin: 0; color: var(--pj-muted); font-size: 1rem; line-height: 1.7; text-align: start !important; }

.uec-projects__controls { display: flex; gap: 10px; flex-shrink: 0; }
.uec-projects__arrow {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1.5px solid rgba(9, 76, 2, .15);
  border-radius: 50%;
  background: #fff;
  color: var(--pj-green);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--pj-ease), opacity .3s ease;
}
.uec-projects__arrow:hover:not(:disabled) { background: var(--pj-green); border-color: var(--pj-green); color: #fff; transform: scale(1.06); }
.uec-projects__arrow:disabled { opacity: .35; cursor: default; }
.uec-projects.no-scroll .uec-projects__controls { visibility: hidden; }

/* track */
.uec-projects__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 24px;
  padding: 8px 24px 28px;
  margin: 0 -24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.uec-projects__track::-webkit-scrollbar { display: none; }
.uec-projects__track:focus-visible { outline: 2px solid var(--pj-accent); outline-offset: -2px; }

/* card */
.uec-pcard {
  position: relative;
  flex: 0 0 var(--pj-card);
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  color: #fff !important;
  text-decoration: none !important;
  background: #dfe9df;
  box-shadow: 0 24px 48px -28px rgba(9, 40, 12, .55);
  transition: transform .5s var(--pj-ease), box-shadow .5s var(--pj-ease), opacity .8s ease;
}
.uec-pcard img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--pj-ease);
}
.uec-pcard__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 28%, transparent 45%, rgba(4, 28, 7, .88) 100%);
  transition: background .5s ease;
}
.uec-pcard__loc {
  position: absolute;
  top: 16px; left: 16px; right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uec-pcard__loc i { color: var(--pj-accent); }
.uec-pcard__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.uec-pcard__name { font-size: 1.3rem; font-weight: 700; line-height: 1.3; }
.uec-pcard__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pj-accent);
  font-size: .9rem;
  font-weight: 600;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height .4s var(--pj-ease), opacity .3s ease, transform .4s var(--pj-ease);
}
.uec-pcard__more i { transition: transform .3s var(--pj-ease); }

.uec-pcard:hover, .uec-pcard:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 36px 60px -28px rgba(9, 40, 12, .7);
}
.uec-pcard:hover img, .uec-pcard:focus-visible img { transform: scale(1.08); }
.uec-pcard:hover .uec-pcard__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 25%, rgba(9, 76, 2, .35) 55%, rgba(4, 28, 7, .95) 100%); }
.uec-pcard:hover .uec-pcard__more,
.uec-pcard:focus-visible .uec-pcard__more { max-height: 30px; opacity: 1; transform: none; }
.uec-pcard:hover .uec-pcard__more i { transform: translateX(4px); }
.uec-projects[dir="rtl"] .uec-pcard:hover .uec-pcard__more i { transform: translateX(-4px); }
.uec-pcard:focus-visible { outline: 3px solid var(--pj-accent); outline-offset: 3px; }

/* footer link */
.uec-projects__foot { margin-top: 12px; text-align: center; }
.uec-projects__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: var(--pj-green) !important;
  font-weight: 600;
  text-decoration: none !important;
  background: linear-gradient(90deg, var(--pj-green), var(--pj-accent)) no-repeat 0 100% / 100% 2px;
  transition: background-size .4s var(--pj-ease), gap .3s var(--pj-ease);
}
.uec-projects__all:hover { gap: 14px; background-size: 0 2px; }

/* touch devices: always show the "view" link */
@media (hover: none) {
  .uec-pcard__more { max-height: 30px; opacity: 1; transform: none; }
}

@media (max-width: 991.98px) {
  .uec-projects { --pj-card: calc((100vw - 48px - 20px) / 2.15); }
}
@media (max-width: 575.98px) {
  .uec-projects { --pj-card: calc(100vw - 72px); }
  .uec-projects__wrap { padding: 0 20px; }
  .uec-projects__track { padding: 8px 20px 24px; margin: 0 -20px; scroll-padding: 0 20px; gap: 14px; }
  .uec-projects__head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .uec-projects__controls { display: none; }
  .uec-pcard { aspect-ratio: 4 / 4.6; }
  .uec-pcard__body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .uec-pcard, .uec-pcard img, .uec-pcard__more { transition: none; }
}

/* ---------- gov ---------- */
/* ==========================================================
   UEC — Home government & tourist projects (EN + AR)
   ========================================================== */
.uec-gov {
  --gv-green: #094c02;
  --gv-accent: #5ad67d;
  --gv-ease: cubic-bezier(.22, .9, .32, 1);
  --ab-green: #094c02;
  --ab-accent: #5ad67d;
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0;
  background-color: #061d09;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.uec-gov__glow {
  position: absolute;
  z-index: -1;
  width: 720px; height: 720px;
  top: -280px; right: -200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90, 214, 125, .22), transparent);
  pointer-events: none;
}
.uec-gov[dir="rtl"] .uec-gov__glow { right: auto; left: -200px; }
.uec-gov__wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.uec-gov__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.uec-eyebrow--light { color: var(--gv-accent) !important; }
.uec-gov__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
}
.uec-gov__title span {
  background: linear-gradient(90deg, var(--gv-accent), #b6f3c6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uec-gov[dir="rtl"] .uec-gov__title { line-height: 1.45; }
.uec-gov__sub { max-width: 560px; margin: 0; color: rgba(255, 255, 255, .7); font-size: 1rem; line-height: 1.7; text-align: start !important; }

.uec-gov__all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.uec-gov__all i { transition: transform .3s var(--gv-ease); }
.uec-gov__all:hover { background: var(--gv-accent); border-color: var(--gv-accent); color: #062b0a !important; }
.uec-gov__all:hover i { transform: translateX(4px); }
.uec-gov[dir="rtl"] .uec-gov__all:hover i { transform: translateX(-4px); }

/* bento grid */
.uec-gov__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 18px;
}
.uec-gcard {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  color: #fff !important;
  text-decoration: none !important;
  background: #0d2e12;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .5s var(--gv-ease), border-color .4s ease, box-shadow .5s var(--gv-ease), opacity .8s ease;
}
.uec-gcard--feature { grid-column: span 2; grid-row: span 2; }
.uec-gcard img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--gv-ease), filter .6s ease;
}
.uec-gcard__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 18, 5, .35) 0%, transparent 30%, rgba(3, 18, 5, .55) 60%, rgba(3, 18, 5, .95) 100%);
}
.uec-gcard__client {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(6, 29, 9, .55);
  border: 1px solid rgba(90, 214, 125, .35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.3;
}
.uec-gov[dir="rtl"] .uec-gcard__client { left: auto; right: 16px; }
.uec-gcard__client i { color: var(--gv-accent); flex-shrink: 0; }
.uec-gcard__client span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.uec-gcard__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 76px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.uec-gov[dir="rtl"] .uec-gcard__body { padding: 22px 22px 22px 76px; }
.uec-gcard__place { color: var(--gv-accent); font-size: .8rem; font-weight: 600; }
.uec-gcard__name { font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.uec-gcard--feature .uec-gcard__name { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.3; }
.uec-gcard__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .88rem;
  line-height: 1.6;
  transition: max-height .5s var(--gv-ease), opacity .4s ease;
}
.uec-gcard--feature .uec-gcard__desc { max-height: 4em; opacity: 1; font-size: .98rem; max-width: 560px; }
.uec-gcard__go {
  position: absolute;
  right: 22px; bottom: 22px;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .3s ease, color .3s ease, transform .4s var(--gv-ease), border-color .3s ease;
}
.uec-gov[dir="rtl"] .uec-gcard__go { right: auto; left: 22px; }

.uec-gcard:hover, .uec-gcard:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(90, 214, 125, .45);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(90, 214, 125, .25);
}
.uec-gcard:hover img { transform: scale(1.07); }
.uec-gcard:hover .uec-gcard__desc { max-height: 4em; opacity: 1; }
.uec-gcard:hover .uec-gcard__go { background: var(--gv-accent); border-color: var(--gv-accent); color: #062b0a; transform: rotate(-45deg); }
.uec-gov[dir="rtl"] .uec-gcard:hover .uec-gcard__go { transform: rotate(45deg); }
.uec-gcard:focus-visible { outline: 3px solid var(--gv-accent); outline-offset: 3px; }

@media (hover: none) {
  .uec-gcard__desc { max-height: 4em; opacity: 1; }
}
@media (max-width: 991.98px) {
  .uec-gov__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .uec-gcard--feature { grid-column: span 2; grid-row: span 1; height: 380px; }
}
@media (max-width: 575.98px) {
  .uec-gov__wrap { padding: 0 20px; }
  .uec-gov__head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .uec-gov__grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .uec-gcard, .uec-gcard--feature { grid-column: auto; height: 320px; }
  .uec-gcard--feature .uec-gcard__name { font-size: 1.3rem; }
  .uec-gcard--feature .uec-gcard__desc { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .uec-gcard, .uec-gcard img, .uec-gcard__desc, .uec-gcard__go { transition: none; }
}

/* ---------- cta ---------- */
/* ==========================================================
   UEC — Home slogan / call-to-action banner (EN + AR)
   ========================================================== */
.uec-cta {
  --ct-green: #094c02;
  --ct-accent: #5ad67d;
  --ct-ease: cubic-bezier(.22, .9, .32, 1);
  padding: clamp(56px, 8vw, 96px) 24px;
  background: #fff;
}
.uec-cta__card {
  position: relative;
  max-width: 1232px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 6vw, 72px);
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(9, 76, 2, .65);
}
.uec-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(6, 33, 10, .96) 0%, rgba(9, 76, 2, .9) 45%, rgba(29, 122, 44, .72) 100%),
    url(../images/parallax.jpg) center / cover;
}
.uec-cta[dir="rtl"] .uec-cta__bg {
  background:
    linear-gradient(-105deg, rgba(6, 33, 10, .96) 0%, rgba(9, 76, 2, .9) 45%, rgba(29, 122, 44, .72) 100%),
    url(../../images/parallax.jpg) center / cover;
}
/* decorative rings */
.uec-cta__rings { position: absolute; z-index: -1; right: -120px; top: 50%; width: 0; height: 0; }
.uec-cta[dir="rtl"] .uec-cta__rings { right: auto; left: -120px; }
.uec-cta__rings span {
  position: absolute;
  left: 50%; top: 50%;
  border: 1px solid rgba(90, 214, 125, .28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: uecRing 6s ease-in-out infinite;
}
.uec-cta__rings span:nth-child(1) { width: 260px; height: 260px; }
.uec-cta__rings span:nth-child(2) { width: 420px; height: 420px; animation-delay: .6s; }
.uec-cta__rings span:nth-child(3) { width: 580px; height: 580px; animation-delay: 1.2s; }
@keyframes uecRing { 50% { transform: translate(-50%, -50%) scale(1.06); opacity: .5; } }

.uec-cta__text { max-width: 640px; }
.uec-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(90, 214, 125, .15);
  border: 1px solid rgba(90, 214, 125, .35);
  color: var(--ct-accent);
  font-size: .82rem;
  font-weight: 600;
}
.uec-cta__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.uec-cta__title span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: .5em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}
.uec-cta[dir="rtl"] .uec-cta__title { line-height: 1.4; letter-spacing: 0; }

.uec-cta__actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; min-width: 260px; }
.uec-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  transition: transform .3s var(--ct-ease), box-shadow .3s var(--ct-ease), background-color .3s ease, color .3s ease, border-color .3s ease;
}
.uec-cta__btn--primary {
  background: var(--ct-accent);
  color: #062b0a !important;
  box-shadow: 0 14px 30px -12px rgba(90, 214, 125, .9);
}
.uec-cta__btn--primary i { transition: transform .3s var(--ct-ease); }
.uec-cta__btn--primary:hover { background: #74e293; transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(90, 214, 125, 1); }
.uec-cta__btn--primary:hover i { transform: translateX(4px); }
.uec-cta[dir="rtl"] .uec-cta__btn--primary:hover i { transform: translateX(-4px); }
.uec-cta__btn--ghost {
  justify-content: flex-start;
  padding: 8px 24px 8px 8px;
  border: 1.5px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff !important;
}
.uec-cta[dir="rtl"] .uec-cta__btn--ghost { padding: 8px 8px 8px 24px; }
.uec-cta__btn--ghost small { display: block; color: rgba(255, 255, 255, .65); font-size: .75rem; font-weight: 500; line-height: 1.2; }
.uec-cta__btn--ghost b { display: block; font-size: 1.05rem; letter-spacing: .02em; line-height: 1.3; }
.uec-cta__phone-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--ct-green);
}
.uec-cta__phone-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .5);
  animation: uecRingPhone 2s infinite;
}
@keyframes uecRingPhone { 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }
.uec-cta__btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }

@media (max-width: 991.98px) {
  .uec-cta__card { flex-direction: column; align-items: flex-start; }
  .uec-cta__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; width: 100%; }
  .uec-cta__actions .uec-cta__btn { flex: 1 1 240px; }
}
@media (max-width: 575.98px) {
  .uec-cta { padding: 48px 16px; }
  .uec-cta__card { border-radius: 24px; padding: 36px 22px; gap: 28px; }
  .uec-cta__actions .uec-cta__btn { flex-basis: 100%; }
  .uec-cta__rings { right: -200px; top: 20%; }
  .uec-cta[dir="rtl"] .uec-cta__rings { left: -200px; }
}
@media (prefers-reduced-motion: reduce) {
  .uec-cta__rings span, .uec-cta__phone-ico::after { animation: none; }
}

/* ---------- contact ---------- */
/* ==========================================================
   UEC — Home gallery + contact (EN + AR)
   ========================================================== */
.uec-gallery, .uec-contact {
  --gc-green: #094c02;
  --gc-green-2: #1d7a2c;
  --gc-accent: #5ad67d;
  --gc-ink: #0f2a12;
  --gc-muted: #5d6f60;
  --gc-tint: #eef7ef;
  --gc-ease: cubic-bezier(.22, .9, .32, 1);
  --ab-green: #094c02;
  --ab-green-2: #1d7a2c;
  --ab-accent: #5ad67d;
}

/* shared centered heading */
.uec-sec-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.uec-sec-head .uec-eyebrow::after {
  content: "";
  width: 36px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(270deg, var(--ab-green), var(--ab-accent));
}
.uec-sec-head__title {
  margin: 0 0 12px;
  color: var(--gc-ink);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
}
[dir="rtl"] .uec-sec-head__title { line-height: 1.45; }
.uec-sec-head__title span {
  background: linear-gradient(90deg, var(--gc-green), #39b25c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uec-sec-head__sub { margin: 0; color: var(--gc-muted); font-size: 1rem; line-height: 1.7; text-align: center !important; }

/* ---------- gallery ---------- */
.uec-gallery { padding: clamp(64px, 9vw, 110px) 0; background: #fff; }
.uec-gallery__wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.uec-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 16px;
}
.uec-gallery__item {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #dfe9df;
  transition: opacity .8s ease, transform .9s var(--gc-ease), box-shadow .4s ease;
}
.uec-gallery__item:nth-child(8n+1) { grid-column: span 2; grid-row: span 2; }
.uec-gallery__item:nth-child(8n+6) { grid-column: span 2; }
.uec-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--gc-ease);
}
.uec-gallery__over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(180deg, rgba(9, 76, 2, .15), rgba(4, 28, 7, .85));
  opacity: 0;
  transition: opacity .4s ease;
}
.uec-gallery__zoom {
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--gc-green);
  transform: scale(.6) rotate(-45deg);
  transition: transform .45s var(--gc-ease);
}
.uec-gallery__cap {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.35;
  transform: translateY(10px);
  transition: transform .45s var(--gc-ease);
}
.uec-gallery__item:hover img, .uec-gallery__item:focus-visible img { transform: scale(1.08); }
.uec-gallery__item:hover .uec-gallery__over, .uec-gallery__item:focus-visible .uec-gallery__over { opacity: 1; }
.uec-gallery__item:hover .uec-gallery__zoom, .uec-gallery__item:focus-visible .uec-gallery__zoom { transform: none; }
.uec-gallery__item:hover .uec-gallery__cap { transform: none; }
.uec-gallery__item:focus-visible { outline: 3px solid var(--gc-accent); outline-offset: 3px; }

/* lightbox polish */
.ekko-lightbox .modal-content { border: 0; border-radius: 18px; overflow: hidden; }
.ekko-lightbox .modal-header { border: 0; }
.ekko-lightbox-nav-overlay a { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }

/* ---------- contact ---------- */
.uec-contact {
  padding: clamp(64px, 9vw, 110px) 0;
  background:
    radial-gradient(50% 60% at 0% 100%, rgba(90, 214, 125, .12), transparent 70%),
    #f6faf6;
}
.uec-contact__wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.uec-contact__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.uec-contact__info {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(150deg, #06210a 0%, var(--gc-green) 60%, var(--gc-green-2) 100%);
  color: #fff;
  box-shadow: 0 40px 70px -40px rgba(9, 76, 2, .8);
}
.uec-contact__info h3 { margin: 0 0 22px; color: #fff; font-size: 1.35rem; font-weight: 700; }
.uec-contact__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.uec-contact__list li { display: flex; align-items: center; gap: 14px; }
.uec-contact__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(90, 214, 125, .15);
  border: 1px solid rgba(90, 214, 125, .3);
  color: var(--gc-accent);
  font-size: 1.05rem;
}
.uec-contact__list small { display: block; color: rgba(255, 255, 255, .6); font-size: .78rem; margin-bottom: 2px; }
.uec-contact__list a, .uec-contact__list b { display: block; color: #fff !important; font-size: 1.02rem; font-weight: 600; line-height: 1.45; text-decoration: none !important; }
.uec-contact__list a:hover { color: var(--gc-accent) !important; }
.uec-contact__map {
  flex: 1;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
}
.uec-contact__map iframe { display: block; width: 100%; height: 100%; min-height: 220px; border: 0; filter: saturate(.85); }

/* form */
.uec-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .07);
  box-shadow: 0 30px 60px -40px rgba(9, 40, 12, .4);
}
.uec-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.uec-field { position: relative; }
.uec-field input, .uec-field textarea {
  display: block;
  width: 100%;
  padding: 24px 16px 10px;
  border: 1.5px solid #dfe8df;
  border-radius: 14px;
  background: #fbfdfb;
  color: var(--gc-ink);
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  resize: vertical;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.uec-field textarea { min-height: 150px; }
.uec-field input[dir="ltr"] { text-align: left; }
[dir="rtl"] .uec-field input[dir="ltr"] { text-align: right; }
.uec-field label {
  position: absolute;
  top: 17px;
  inset-inline-start: 17px;
  margin: 0;
  color: var(--gc-muted);
  font-size: .98rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--gc-ease), color .25s ease;
}
[dir="rtl"] .uec-field label { transform-origin: right top; }
.uec-field input:focus, .uec-field textarea:focus {
  border-color: var(--gc-green-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(90, 214, 125, .18);
}
.uec-field input:focus + label, .uec-field textarea:focus + label,
.uec-field input:not(:placeholder-shown) + label, .uec-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(.78);
  color: var(--gc-green-2);
}
.uec-field.is-invalid input, .uec-field.is-invalid textarea { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217, 83, 79, .12); }
.uec-field.is-invalid label { color: #c9302c; }

.uec-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.uec-form__result { flex: 1 1 240px; font-size: .92rem; line-height: 1.5; }
.uec-form__result:empty { display: none; }
.uec-form__result.is-success, .uec-form__result.is-error { padding: 12px 16px; border-radius: 12px; }
.uec-form__result.is-success { background: var(--gc-tint); color: var(--gc-green); }
.uec-form__result.is-error { background: #fdeeee; color: #b52b27; }
.uec-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  margin-inline-start: auto;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gc-green), var(--gc-green-2));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(9, 76, 2, .8);
  transition: transform .3s var(--gc-ease), box-shadow .3s var(--gc-ease), opacity .3s ease;
}
.uec-form__btn i { transition: transform .5s var(--gc-ease); }
.uec-form__btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(9, 76, 2, .85), 0 0 0 4px rgba(90, 214, 125, .18); }
.uec-form__btn:hover:not(:disabled) i { transform: translate(4px, -4px); }
[dir="rtl"] .uec-form__btn i { transform: scaleX(-1); }
[dir="rtl"] .uec-form__btn:hover:not(:disabled) i { transform: scaleX(-1) translate(4px, -4px); }
.uec-form__btn:disabled { opacity: .7; cursor: progress; }
.uec-form.is-sending .uec-form__btn i { animation: uecFly .8s ease-in-out infinite alternate; }
@keyframes uecFly { to { transform: translate(6px, -6px); opacity: .4; } }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .uec-gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .uec-gallery__item:nth-child(8n+6) { grid-column: auto; }
  .uec-contact__grid { grid-template-columns: 1fr; }
  .uec-contact__map { min-height: 260px; }
}
@media (max-width: 575.98px) {
  .uec-gallery__wrap, .uec-contact__wrap { padding: 0 20px; }
  .uec-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .uec-gallery__item { border-radius: 14px; }
  .uec-gallery__item:nth-child(8n+1) { grid-row: span 2; }
  .uec-gallery__over { opacity: 1; background: linear-gradient(180deg, transparent 50%, rgba(4, 28, 7, .8)); }
  .uec-gallery__zoom { display: none; }
  .uec-gallery__cap { transform: none; font-size: .8rem; }
  .uec-contact__info, .uec-form { padding: 24px 20px; border-radius: 22px; }
  .uec-form__row { grid-template-columns: 1fr; }
  .uec-form__btn { width: 100%; justify-content: center; }
}
@media (hover: none) {
  .uec-gallery__over { opacity: 1; background: linear-gradient(180deg, transparent 50%, rgba(4, 28, 7, .8)); }
  .uec-gallery__zoom { display: none; }
  .uec-gallery__cap { transform: none; }
}

/* ---------- contact page ---------- */
.uec-cq { position: relative; z-index: 2; margin-top: -48px; padding-bottom: 8px; }
.uec-cq__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.uec-cq__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 30px 60px -36px rgba(9, 40, 12, .55);
  color: var(--ab-ink) !important;
  text-decoration: none !important;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--ab-ease), box-shadow .45s var(--ab-ease), opacity .8s ease;
}
.uec-cq__card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px; height: 180px;
  top: -70px;
  inset-inline-end: -70px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90, 214, 125, .18), transparent);
  transition: transform .6s var(--ab-ease);
}
.uec-cq__card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(9, 40, 12, .6); }
.uec-cq__card:hover::before { transform: scale(1.6); }
.uec-cq__card--accent { background: linear-gradient(150deg, #06210a, var(--ab-green) 70%, var(--ab-green-2)); color: #fff !important; border-color: transparent; }
.uec-cq__ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--ab-tint);
  color: var(--ab-green);
  font-size: 1.2rem;
}
.uec-cq__card--accent .uec-cq__ico { background: rgba(90, 214, 125, .16); color: var(--ab-accent); border: 1px solid rgba(90, 214, 125, .35); }
.uec-cq__txt small { display: block; color: var(--ab-muted); font-size: .8rem; font-weight: 600; }
.uec-cq__txt b { display: block; margin: 2px 0; font-size: 1.35rem; font-weight: 700; line-height: 1.35; letter-spacing: .01em; }
.uec-cq__txt em { display: block; color: var(--ab-muted); font-size: .85rem; font-style: normal; }
.uec-cq__card--accent .uec-cq__txt small, .uec-cq__card--accent .uec-cq__txt em { color: rgba(255, 255, 255, .7); }
.uec-cq__card:not(.uec-cq__card--accent) .uec-cq__txt b { font-size: 1.05rem; }
.uec-cq__card:not(.uec-cq__card--accent) a[href^="tel"] .uec-cq__txt b, .uec-cq__card[href^="tel"] .uec-cq__txt b { font-size: 1.35rem; }
.uec-cq__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--ab-green-2); font-size: .88rem; font-weight: 700; }
.uec-cq__card--accent .uec-cq__go { color: var(--ab-accent); }
.uec-cq__go i, .uec-cq__go svg { transition: transform .3s var(--ab-ease); }
.uec-cq__card:hover .uec-cq__go i.fa-arrow-right { transform: translateX(4px); }
.uec-cq__card:hover .uec-cq__go i.fa-arrow-left { transform: translateX(-4px); }

.uec-contact--page { padding-top: clamp(48px, 7vw, 80px); }
.uec-contact--page .uec-contact__grid { grid-template-columns: 1.15fr .85fr; }
.uec-form__head { margin-bottom: 6px; }
.uec-form__head .uec-sec-head__title { margin-bottom: 6px; text-align: start; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.uec-form__head p { margin: 0; color: var(--ab-muted); text-align: start !important; }
.uec-contact__sub { margin: 24px 0 14px !important; font-size: 1.05rem !important; }
.uec-contact--page .uec-contact__map { flex: none; height: 300px; }
.uec-contact__quick {
  display: flex !important;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px;
  border-radius: 16px;
  transition: background-color .3s ease;
}
.uec-contact__quick:hover { background: rgba(255, 255, 255, .08); color: #fff !important; }
.uec-contact__quick > span:nth-child(2) { flex: 1; }
.uec-contact__quick b { font-size: .98rem !important; }
.uec-contact__quick small { margin: 2px 0 0 !important; }
.uec-contact__qarrow { color: var(--ab-accent); transition: transform .3s var(--ab-ease); }
.uec-contact__quick:hover .uec-contact__qarrow.fa-arrow-right { transform: translateX(4px); }
.uec-contact__quick:hover .uec-contact__qarrow.fa-arrow-left { transform: translateX(-4px); }
@media (max-width: 991.98px) {
  .uec-contact--page .uec-contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .uec-cq { margin-top: -32px; }
  .uec-cq__card { padding: 20px; }
}

/* ---------- footer ---------- */
/* ==========================================================
   UEC — Footer (all pages, EN + AR)
   ========================================================== */
.uec-footer {
  --ft-accent: #5ad67d;
  --ft-ease: cubic-bezier(.22, .9, .32, 1);
  position: relative;
  background: #051a08;
  color: rgba(255, 255, 255, .72);
  overflow: hidden;
  isolation: isolate;
}
.uec-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #094c02, var(--ft-accent), #1d7a2c);
}
.uec-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 640px; height: 640px;
  left: -220px; top: -320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90, 214, 125, .12), transparent);
}
.uec-footer[dir="rtl"]::after { left: auto; right: -220px; }
.uec-footer__wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 80px) 24px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.uec-footer__logo {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;
}
.uec-footer__logo img { height: 48px; width: auto; display: block; }
.uec-footer__brand p { max-width: 360px; margin: 0 0 24px; font-size: .94rem; line-height: 1.75; text-align: start !important; }
.uec-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ft-accent);
  color: #062b0a !important;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none !important;
  transition: transform .3s var(--ft-ease), background-color .3s ease;
}
.uec-footer__cta i { transition: transform .3s var(--ft-ease); }
.uec-footer__cta:hover { background: #74e293; transform: translateY(-2px); }
.uec-footer__cta:hover i { transform: translateX(4px); }
.uec-footer[dir="rtl"] .uec-footer__cta:hover i { transform: translateX(-4px); }

.uec-footer__col h4 {
  position: relative;
  margin: 8px 0 22px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
}
.uec-footer__col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 28px; height: 2px;
  border-radius: 2px;
  background: var(--ft-accent);
}
.uec-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.uec-footer__col a {
  position: relative;
  color: rgba(255, 255, 255, .72) !important;
  font-size: .94rem;
  text-decoration: none !important;
  transition: color .25s ease, padding .3s var(--ft-ease);
}
.uec-footer__col nav a, .uec-footer nav.uec-footer__col a { display: inline-block; }
.uec-footer nav.uec-footer__col a::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  width: 0; height: 2px;
  background: var(--ft-accent);
  transition: width .3s var(--ft-ease);
}
.uec-footer nav.uec-footer__col a:hover { color: #fff !important; padding-inline-start: 18px; }
.uec-footer nav.uec-footer__col a:hover::before { width: 10px; }

.uec-footer__contact li { display: flex; align-items: flex-start; gap: 12px; font-size: .94rem; line-height: 1.6; }
.uec-footer__contact li > i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(90, 214, 125, .12);
  color: var(--ft-accent);
  font-size: .85rem;
}
.uec-footer__contact a, .uec-footer__contact span { padding-top: 6px; }
.uec-footer__contact a:hover { color: var(--ft-accent) !important; }

.uec-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.uec-footer__wrap--bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
}
.uec-footer__top {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, transform .3s var(--ft-ease), border-color .3s ease;
}
.uec-footer__top:hover { background: var(--ft-accent); border-color: var(--ft-accent); color: #062b0a; transform: translateY(-3px); }
.uec-footer a:focus-visible, .uec-footer button:focus-visible { outline: 2px solid var(--ft-accent); outline-offset: 3px; }

@media (max-width: 991.98px) {
  .uec-footer__wrap { grid-template-columns: 1fr 1fr; }
  .uec-footer__brand { grid-column: 1 / -1; }
  .uec-footer__brand p { max-width: 560px; }
}
@media (max-width: 575.98px) {
  .uec-footer__wrap { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-left: 20px; padding-right: 20px; }
  .uec-footer__contact { grid-column: 1 / -1; }
  .uec-footer__wrap--bottom { flex-direction: row; font-size: .8rem; }
}

.uec-footer i > svg, .uec-footer i { pointer-events: none; }

/* ---------- page ---------- */
/* ==========================================================
   UEC — Inner pages: page hero + About page blocks (EN + AR)
   ========================================================== */
:root {
  --ab-green: #094c02; --ab-green-2: #1d7a2c; --ab-accent: #5ad67d;
  --ab-ink: #0f2a12; --ab-muted: #5d6f60; --ab-tint: #eef7ef;
  --ab-ease: cubic-bezier(.22, .9, .32, 1);
  --gc-green: #094c02; --gc-green-2: #1d7a2c; --gc-accent: #5ad67d;
  --gc-ink: #0f2a12; --gc-muted: #5d6f60; --gc-tint: #eef7ef;
  --gc-ease: cubic-bezier(.22, .9, .32, 1);
}
.uec-page__wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- page hero ---------- */
.uec-phero {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0 clamp(56px, 7vw, 90px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #06210a;
}
.uec-phero__bg {
  position: absolute;
  inset: -20px;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: uecHeroZoom 14s ease-out forwards;
}
.uec-phero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(4, 28, 7, .94) 0%, rgba(9, 76, 2, .78) 50%, rgba(9, 76, 2, .45) 100%),
    linear-gradient(0deg, rgba(4, 28, 7, .5), transparent 60%);
}
.uec-phero[dir="rtl"]::before {
  background:
    linear-gradient(-100deg, rgba(4, 28, 7, .94) 0%, rgba(9, 76, 2, .78) 50%, rgba(9, 76, 2, .45) 100%),
    linear-gradient(0deg, rgba(4, 28, 7, .5), transparent 60%);
}
.uec-phero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ab-green), var(--ab-accent), var(--ab-green-2));
}
@keyframes uecHeroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.uec-phero__wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; text-align: start; }
.uec-page__wrap, .uec-story, .uec-quality__intro { text-align: start; }
.uec-phero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .85rem;
}
.uec-phero__crumb a { color: rgba(255, 255, 255, .75) !important; text-decoration: none !important; }
.uec-phero__crumb a:hover { color: var(--ab-accent) !important; }
.uec-phero__crumb span { color: var(--ab-accent); font-weight: 600; }
.uec-phero__sep { font-size: .6rem; opacity: .6; }
.uec-phero__title { margin: 0 0 10px; color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.15; }
.uec-phero[dir="rtl"] .uec-phero__title { line-height: 1.4; }
.uec-phero__sub { max-width: 620px; margin: 0; color: rgba(255, 255, 255, .8); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; text-align: start !important; }
.uec-phero__crumb, .uec-phero__title, .uec-phero__sub { animation: uecRise .9s var(--ab-ease) both; }
.uec-phero__title { animation-delay: .12s; }
.uec-phero__sub { animation-delay: .24s; }
@keyframes uecRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- story ---------- */
.uec-story { padding: 0 24px clamp(56px, 8vw, 96px); background: #fff; }
.uec-story__wrap {
  max-width: 1232px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: var(--ab-tint);
  border: 1px solid rgba(9, 76, 2, .08);
}
.uec-story__mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ab-green), var(--ab-green-2));
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 16px 30px -14px rgba(9, 76, 2, .8);
}
.uec-story__title { margin: 6px 0 14px; color: var(--ab-ink); font-size: 1.6rem; font-weight: 700; }
.uec-story p { margin: 0 0 10px; color: var(--ab-muted); font-size: 1rem; line-height: 1.85; text-align: start !important; }
.uec-story p:last-child { margin-bottom: 0; }

/* ---------- mission & vision ---------- */
.uec-mv { padding: 0 0 clamp(64px, 9vw, 110px); background: #fff; }
.uec-mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.uec-mv__card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .1);
  box-shadow: 0 30px 60px -45px rgba(9, 40, 12, .5);
  overflow: hidden;
  transition: transform .5s var(--ab-ease), box-shadow .5s var(--ab-ease), opacity .8s ease;
}
.uec-mv__card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(9, 40, 12, .55); }
.uec-mv__card--dark { background: linear-gradient(150deg, #06210a, var(--ab-green) 70%, var(--ab-green-2)); color: #fff; border-color: transparent; }
.uec-mv__card--dark::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -90px; top: -90px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90, 214, 125, .25), transparent);
}
[dir="rtl"] .uec-mv__card--dark::after { right: auto; left: -90px; }
.uec-mv__ico {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--ab-tint);
  color: var(--ab-green);
  font-size: 1.4rem;
}
.uec-mv__card--dark .uec-mv__ico { background: rgba(90, 214, 125, .15); color: var(--ab-accent); border: 1px solid rgba(90, 214, 125, .3); }
.uec-mv__label { display: block; margin-bottom: 6px; color: var(--ab-green-2); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
[dir="rtl"] .uec-mv__label { letter-spacing: 0; font-size: .95rem; }
.uec-mv__card--dark .uec-mv__label { color: var(--ab-accent); }
.uec-mv__card h3 { margin: 0 0 14px; color: var(--ab-ink); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.3; }
.uec-mv__card--dark h3 { color: #fff; }
.uec-mv__card p { margin: 0; color: var(--ab-muted); line-height: 1.85; text-align: start !important; }
.uec-mv__card--dark p { color: rgba(255, 255, 255, .8); }
.uec-mv__card--dark strong { color: var(--ab-accent); }

/* ---------- goals ---------- */
.uec-goals { padding: clamp(64px, 9vw, 110px) 0; background: linear-gradient(180deg, #f6faf6, #fff); }
.uec-goals__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: none; }
.uec-goals__list li { grid-column: span 2; }
.uec-goals__list li:nth-child(4) { grid-column: 2 / span 2; }
.uec-goals__list li:nth-child(5) { grid-column: 4 / span 2; }
.uec-goals__list li {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 20px 40px -34px rgba(9, 40, 12, .5);
  overflow: hidden;
  transition: transform .5s var(--ab-ease), border-color .3s ease, opacity .8s ease;
}
.uec-goals__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--ab-green), var(--ab-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ab-ease);
}
[dir="rtl"] .uec-goals__list li::before { transform-origin: right; }
.uec-goals__list li:hover { transform: translateY(-5px); border-color: rgba(90, 214, 125, .4); }
.uec-goals__list li:hover::before { transform: scaleX(1); }
.uec-goals__num {
  display: block;
  margin-bottom: 12px;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--ab-green), var(--ab-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uec-goals__list p { margin: 0; color: var(--ab-ink); font-size: .98rem; line-height: 1.75; text-align: start !important; }

/* ---------- values ---------- */
.uec-values {
  padding: clamp(72px, 10vw, 120px) 0;
  background-color: #061d09;
  background-image:
    radial-gradient(40% 50% at 100% 0%, rgba(90, 214, 125, .16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  color: #fff;
}
.uec-values .uec-sec-head__title { color: #fff; }
.uec-values .uec-sec-head__title span { background: linear-gradient(90deg, var(--ab-accent), #b6f3c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.uec-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uec-value {
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .4s ease, border-color .4s ease, transform .5s var(--ab-ease), opacity .8s ease;
}
.uec-value:hover { background: rgba(90, 214, 125, .08); border-color: rgba(90, 214, 125, .35); transform: translateY(-4px); }
.uec-value__ico {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(90, 214, 125, .14);
  color: var(--ab-accent);
  font-size: 1.15rem;
  transition: transform .5s var(--ab-ease), background-color .3s ease, color .3s ease;
}
.uec-value:hover .uec-value__ico { background: var(--ab-accent); color: #062b0a; transform: rotate(-8deg) scale(1.05); }
.uec-value h3 { margin: 0 0 8px; color: #fff; font-size: 1.12rem; font-weight: 700; }
.uec-value p { margin: 0; color: rgba(255, 255, 255, .68); font-size: .92rem; line-height: 1.7; text-align: start !important; }

/* ---------- services + strategy ---------- */
.uec-ss { padding: clamp(64px, 9vw, 110px) 0; background: #fff; }
.uec-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.uec-service {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--ab-tint);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ab-ease), color .4s ease, opacity .8s ease;
}
.uec-service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(150deg, var(--ab-green), var(--ab-green-2));
  opacity: 0;
  transition: opacity .45s ease;
}
.uec-service:hover { transform: translateY(-6px); }
.uec-service:hover::before { opacity: 1; }
.uec-service__ico {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--ab-green);
  font-size: 1.4rem;
  box-shadow: 0 12px 24px -14px rgba(9, 76, 2, .6);
}
.uec-service h3 { margin: 0 0 8px; color: var(--ab-ink); font-size: 1.2rem; font-weight: 700; transition: color .4s ease; }
.uec-service p { margin: 0; color: var(--ab-muted); font-size: .95rem; line-height: 1.7; text-align: start !important; transition: color .4s ease; }
.uec-service:hover h3 { color: #fff; }
.uec-service:hover p { color: rgba(255, 255, 255, .8); }

.uec-strategy {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: linear-gradient(150deg, #06210a, var(--ab-green));
  color: #fff;
}
.uec-strategy__head h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.3; }
.uec-strategy__body p { margin: 0 0 14px; color: rgba(255, 255, 255, .8); line-height: 1.85; text-align: start !important; }
.uec-strategy__body p:last-child { margin: 0; }
.uec-strategy__body p:first-child::first-letter { color: var(--ab-accent); font-size: 1.3em; font-weight: 700; }

/* ---------- quality accordion ---------- */
.uec-quality { padding: clamp(64px, 9vw, 110px) 0; background: linear-gradient(180deg, #f6faf6, #fff); }
.uec-quality__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.uec-quality__intro { position: sticky; top: 100px; }
.uec-quality__intro .uec-sec-head__title { text-align: start; }
.uec-quality__intro p { color: var(--ab-muted); line-height: 1.8; text-align: start !important; }
.uec-quality__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px; height: 96px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px dashed rgba(9, 76, 2, .3);
  color: var(--ab-green);
  box-shadow: 0 20px 40px -24px rgba(9, 76, 2, .5);
  animation: uecSpinSlow 30s linear infinite;
}
.uec-quality__badge b { font-size: 1.4rem; line-height: 1; }
.uec-quality__badge span { font-size: .9rem; font-weight: 600; letter-spacing: .1em; }
@keyframes uecSpinSlow { 50% { transform: rotate(8deg); } }

.uec-acc { display: flex; flex-direction: column; gap: 12px; }
.uec-acc__item {
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .1);
  box-shadow: 0 16px 34px -30px rgba(9, 40, 12, .5);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.uec-acc__item[open] { border-color: rgba(90, 214, 125, .5); box-shadow: 0 24px 44px -30px rgba(9, 40, 12, .55); }
.uec-acc__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--ab-ink);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.uec-acc__item summary::-webkit-details-marker { display: none; }
.uec-acc__item summary i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ab-tint);
  color: var(--ab-green);
  font-size: .8rem;
  transition: transform .4s var(--ab-ease), background-color .3s ease, color .3s ease;
}
.uec-acc__item[open] summary i { transform: rotate(45deg); background: var(--ab-green); color: #fff; }
.uec-acc__item summary:hover { color: var(--ab-green); }
.uec-acc__body { padding: 0 24px 22px; color: var(--ab-muted); line-height: 1.8; animation: uecAcc .45s var(--ab-ease); }
@keyframes uecAcc { from { opacity: 0; transform: translateY(-6px); } }
.uec-acc__body p { margin: 0 0 12px; text-align: start !important; }
.uec-acc__body ul { margin: 0 0 12px; padding: 0; list-style: none; }
.uec-acc__body li { position: relative; margin-bottom: 8px; padding-inline-start: 22px; }
.uec-acc__body li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .72em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ab-accent);
}

/* CTA: plain ghost button variant */
.uec-cta__btn--plain { justify-content: center !important; padding: 0 28px !important; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .uec-mv__grid, .uec-strategy, .uec-quality__grid { grid-template-columns: 1fr; }
  .uec-quality__intro { position: static; }
  .uec-goals__list { grid-template-columns: 1fr 1fr; }
  .uec-goals__list li, .uec-goals__list li:nth-child(4), .uec-goals__list li:nth-child(5) { grid-column: auto; }
  .uec-goals__list li:nth-child(5) { grid-column: 1 / -1; }
  .uec-values__grid { grid-template-columns: 1fr 1fr; }
  .uec-services { grid-template-columns: 1fr 1fr; }
  .uec-services .uec-service:last-child { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .uec-page__wrap, .uec-phero__wrap { padding: 0 20px; }
  .uec-story { padding-left: 16px; padding-right: 16px; }
  .uec-story__wrap { flex-direction: column; gap: 18px; border-radius: 22px; }
  .uec-goals__list, .uec-values__grid, .uec-services { grid-template-columns: 1fr; }
  .uec-services .uec-service:last-child, .uec-goals__list li:nth-child(5) { grid-column: auto; }
  .uec-acc__item summary { padding: 18px; font-size: 1rem; }
  .uec-acc__body { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .uec-phero__bg, .uec-quality__badge, .uec-phero__crumb, .uec-phero__title, .uec-phero__sub { animation: none; }
}

/* ---------- videos ---------- */
/* ==========================================================
   UEC — Videos page (EN + AR)
   ========================================================== */
.uec-videos { padding: clamp(56px, 8vw, 100px) 0; background: linear-gradient(180deg, #fff, #f6faf6); }
.uec-videos__empty { text-align: center !important; color: var(--ab-muted); font-size: 1.1rem; }
.uec-videos__layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: start; }

/* player */
.uec-player {
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 40px 80px -50px rgba(9, 40, 12, .6);
  overflow: hidden;
}
.uec-player__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #06210a;
  overflow: hidden;
}
.uec-player__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.uec-player__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1s var(--ab-ease), filter .6s ease;
  animation: uecFadeIn .5s ease;
}
@keyframes uecFadeIn { from { opacity: 0; } }
.uec-player__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(4, 28, 7, .15), rgba(4, 28, 7, .65));
  pointer-events: none;
  transition: opacity .4s ease;
}
.uec-player__screen.is-playing::after { opacity: 0; }
.uec-player__screen:hover .uec-player__poster { transform: scale(1.07); }
.uec-player__play {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  width: 92px; height: 92px;
  margin: -46px 0 0 -46px;
  border: 0;
  border-radius: 50%;
  background: var(--ab-accent);
  color: #062b0a;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(90, 214, 125, .6), 0 20px 40px -10px rgba(0, 0, 0, .5);
  animation: uecPlayPulse 2.2s infinite;
  transition: transform .35s var(--ab-ease), background-color .3s ease;
}
.uec-player__play i { margin-left: 6px; }
.uec-player__play:hover { transform: scale(1.1); background: #fff; }
@keyframes uecPlayPulse { 70%, 100% { box-shadow: 0 0 0 26px rgba(90, 214, 125, 0), 0 20px 40px -10px rgba(0, 0, 0, .5); } }
.uec-player__meta { padding: 24px 28px 28px; }
.uec-player__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ab-tint);
  color: var(--ab-green);
  font-size: .8rem;
  font-weight: 600;
  direction: ltr;
}
.uec-player__title { margin: 0 0 12px; color: var(--ab-ink); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.45; }
.uec-player__proj {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ab-green-2) !important;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none !important;
}
.uec-player__proj[hidden] { display: none; }
.uec-player__proj i:last-child { font-size: .8em; transition: transform .3s var(--ab-ease); }
.uec-player__proj:hover i:last-child { transform: translateX(4px); }
[dir="rtl"] .uec-player__proj:hover i:last-child { transform: translateX(-4px); }

/* playlist */
.uec-playlist {
  position: sticky;
  top: 96px;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(160deg, #06210a, var(--ab-green) 85%);
  color: #fff;
  box-shadow: 0 40px 80px -50px rgba(9, 76, 2, .9);
}
.uec-playlist__head { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 6px 16px; }
.uec-playlist__head h3 { margin: 0; color: #fff; font-size: 1.15rem; font-weight: 700; }
.uec-playlist__head span { color: rgba(255, 255, 255, .6); font-size: .85rem; }
.uec-playlist__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.uec-pl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #fff;
  text-align: start;
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease;
}
.uec-pl-item:hover { background: rgba(255, 255, 255, .06); }
.uec-pl-item.is-active { background: rgba(90, 214, 125, .12); border-color: rgba(90, 214, 125, .45); }
.uec-pl-item:focus-visible { outline: 2px solid var(--ab-accent); outline-offset: 2px; }
.uec-pl-item__thumb {
  position: relative;
  flex-shrink: 0;
  width: 128px;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
  overflow: hidden;
  background: #0d2e12;
}
.uec-pl-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ab-ease); }
.uec-pl-item:hover .uec-pl-item__thumb img { transform: scale(1.08); }
.uec-pl-item__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 28, 7, .35);
  font-size: .85rem;
  transition: background-color .3s ease;
}
.uec-pl-item__now {
  position: absolute;
  left: 6px; bottom: 6px;
  display: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ab-accent);
  color: #062b0a;
  font-size: .65rem;
  font-weight: 700;
}
[dir="rtl"] .uec-pl-item__now { left: auto; right: 6px; }
.uec-pl-item.is-active .uec-pl-item__now { display: block; }
.uec-pl-item.is-active .uec-pl-item__icon { background: rgba(9, 76, 2, .55); }
.uec-pl-item__text { min-width: 0; flex: 1; }
.uec-pl-item__text b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.5;
}
.uec-pl-item__text small { display: block; margin-top: 4px; color: var(--ab-accent); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 991.98px) {
  .uec-videos__layout { grid-template-columns: minmax(0, 1fr); }
  .uec-playlist { position: static; }
  .uec-playlist__list { max-height: none; }
}
@media (max-width: 575.98px) {
  .uec-player, .uec-playlist { border-radius: 20px; }
  .uec-player__play { width: 70px; height: 70px; margin: -35px 0 0 -35px; font-size: 1.2rem; }
  .uec-player__meta { padding: 18px 18px 22px; }
  .uec-playlist { padding: 14px; }
  .uec-pl-item__thumb { width: 108px; }
}
@media (prefers-reduced-motion: reduce) { .uec-player__play { animation: none; } }

/* ---------- plist ---------- */
/* ==========================================================
   UEC — Projects listing pages (EN + AR)
   ========================================================== */
.uec-plist { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); background: linear-gradient(180deg, #fff, #f6faf6); }
.uec-plist__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding: 12px 12px 12px 24px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 20px 40px -32px rgba(9, 40, 12, .5);
}
[dir="rtl"] .uec-plist__bar { padding: 12px 24px 12px 12px; }
.uec-plist__count { color: var(--ab-muted); font-size: .95rem; }
.uec-plist__count b { color: var(--ab-green); font-size: 1.3rem; margin-inline-end: 4px; }
.uec-plist__search {
  position: relative;
  flex: 0 1 360px;
  margin: 0;
}
.uec-plist__search > i, .uec-plist__search > svg {
  position: absolute;
  top: 50%;
  inset-inline-start: 18px;
  transform: translateY(-50%);
  color: var(--ab-muted);
  pointer-events: none;
}
.uec-plist__search input {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  padding-inline-start: 46px;
  border: 1.5px solid #e2ebe2;
  border-radius: 999px;
  background: #f8fbf8;
  color: var(--ab-ink);
  font-size: .95rem;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.uec-plist__search input:focus { border-color: var(--ab-green-2); background: #fff; box-shadow: 0 0 0 4px rgba(90, 214, 125, .18); }

.uec-plist__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.uec-pitem {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 24px 50px -40px rgba(9, 40, 12, .55);
  overflow: hidden;
  transition: transform .5s var(--ab-ease), box-shadow .5s var(--ab-ease), border-color .3s ease, opacity .8s ease;
}
.uec-pitem[hidden] { display: none; }
.uec-pitem:hover { transform: translateY(-6px); border-color: rgba(90, 214, 125, .45); box-shadow: 0 36px 60px -38px rgba(9, 40, 12, .6); }
.uec-pitem__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe9df; }
.uec-pitem__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ab-ease); }
.uec-pitem:hover .uec-pitem__media img { transform: scale(1.07); }
.uec-pitem__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 35%);
}
.uec-pitem__badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ab-green);
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4);
}
.uec-pitem__dot { width: 8px; height: 8px; border-radius: 50%; background: #22b14c; box-shadow: 0 0 0 0 rgba(34, 177, 76, .6); animation: uecPulse 2s infinite; }
@keyframes uecPulse { 70% { box-shadow: 0 0 0 8px rgba(34, 177, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 177, 76, 0); } }

.uec-pitem__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.uec-pitem__loc { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--ab-green-2); font-size: .82rem; font-weight: 600; }
.uec-pitem__name { margin: 0 0 10px; font-size: 1.22rem; font-weight: 700; line-height: 1.4; }
.uec-pitem__name a { color: var(--ab-ink) !important; text-decoration: none !important; background: linear-gradient(var(--ab-accent), var(--ab-accent)) no-repeat 0 100% / 0 2px; transition: background-size .4s var(--ab-ease); }
[dir="rtl"] .uec-pitem__name a { background-position: 100% 100%; }
.uec-pitem:hover .uec-pitem__name a { background-size: 100% 2px; }
.uec-pitem__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 18px;
  color: var(--ab-muted);
  font-size: .92rem;
  line-height: 1.7;
  text-align: start !important;
}
.uec-pitem__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #edf3ed;
}
.uec-pitem__spec { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; color: var(--ab-ink); font-size: .85rem; font-weight: 600; }
.uec-pitem__spec i, .uec-pitem__spec svg { color: var(--ab-green-2); }
.uec-pitem__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.uec-pitem__ghost {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ab-tint);
  color: var(--ab-green) !important;
  transition: background-color .3s ease, color .3s ease;
}
.uec-pitem__ghost:hover { background: #c0392b; color: #fff !important; }
.uec-pitem__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ab-green);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.uec-pitem__btn i { transition: transform .3s var(--ab-ease); }
.uec-pitem__btn:hover { background: var(--ab-green-2); box-shadow: 0 0 0 4px rgba(90, 214, 125, .2); }
.uec-pitem__btn:hover i { transform: translateX(4px); }
[dir="rtl"] .uec-pitem__btn:hover i { transform: translateX(-4px); }

.uec-plist__empty { padding: 56px 20px; text-align: center; }
.uec-plist__empty[hidden] { display: none; }
.uec-plist__empty > span { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: var(--ab-tint); color: var(--ab-green); font-size: 1.4rem; }
.uec-plist__empty h3 { margin: 0 0 6px; color: var(--ab-ink); font-size: 1.2rem; font-weight: 700; }
.uec-plist__empty p { margin: 0; color: var(--ab-muted); text-align: center !important; }

@media (max-width: 991.98px) {
  .uec-plist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .uec-plist__bar { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 16px !important; }
  .uec-plist__search { flex-basis: auto; }
  .uec-plist__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .uec-pitem__body { padding: 18px 18px 20px; }
}

/* ---------- government / construction projects list ---------- */
.uec-plist__sep { margin: 0 6px; color: #c5d3c5; }
.uec-chips.uec-chips--start { justify-content: flex-start; margin-bottom: 24px; }
.uec-chip__txt { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uec-gitem__client {
  position: absolute;
  z-index: 1;
  left: 14px; right: 14px; bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(6, 29, 9, .72);
  border: 1px solid rgba(90, 214, 125, .35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .76rem;
  font-weight: 500;
}
[dir="rtl"] .uec-gitem__client { margin-inline-start: auto; }
.uec-gitem__client i, .uec-gitem__client svg { flex-shrink: 0; color: var(--ab-accent); }
.uec-gitem__client span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* first (latest) project as a wide feature card when the list is not filtered */
@media (min-width: 992px) {
  .uec-plist__grid:not(.is-filtered) .uec-gitem--feature { grid-column: span 2; flex-direction: row; }
  .uec-plist__grid:not(.is-filtered) .uec-gitem--feature .uec-pitem__media { flex: 1.25; aspect-ratio: auto; min-height: 340px; }
  .uec-plist__grid:not(.is-filtered) .uec-gitem--feature .uec-pitem__body { flex: 1; padding: 30px; justify-content: center; }
  .uec-plist__grid:not(.is-filtered) .uec-gitem--feature .uec-pitem__name { font-size: 1.55rem; }
  .uec-plist__grid:not(.is-filtered) .uec-gitem--feature .uec-pitem__desc { -webkit-line-clamp: 5; font-size: .98rem; }
  .uec-plist__grid:not(.is-filtered) .uec-gitem--feature .uec-pitem__foot { margin-top: 8px; }
}

/* ---------- project ---------- */
/* ==========================================================
   UEC — Single housing project page (EN + AR)
   ========================================================== */

/* shared buttons */
.uec-pj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .3s var(--ab-ease), box-shadow .3s var(--ab-ease), background-color .3s ease, color .3s ease, border-color .3s ease;
}
.uec-pj-btn i { transition: transform .3s var(--ab-ease); }
.uec-pj-btn:hover { transform: translateY(-2px); }
.uec-pj-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.uec-pj-btn:hover i.fa-arrow-left { transform: translateX(-4px); }
.uec-pj-btn--accent { background: var(--ab-accent); color: #062b0a !important; box-shadow: 0 14px 30px -12px rgba(90, 214, 125, .85); }
.uec-pj-btn--accent:hover { background: #74e293; }
.uec-pj-btn--green { background: var(--ab-green); color: #fff !important; box-shadow: 0 12px 26px -14px rgba(9, 76, 2, .85); }
.uec-pj-btn--green:hover { background: var(--ab-green-2); box-shadow: 0 0 0 4px rgba(90, 214, 125, .2); }
.uec-pj-btn--glass {
  border: 1.5px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff !important;
}
.uec-pj-btn--glass:hover { background: #fff; color: var(--ab-green) !important; }
.uec-pj-btn--block { width: 100%; }

/* ---------- hero ---------- */
.uec-pj-hero {
  position: relative;
  min-height: clamp(520px, 82vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #06210a;
}
.uec-pj-hero__bg {
  position: absolute;
  inset: -20px;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: uecHeroZoom 16s ease-out forwards;
}
.uec-pj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(4, 28, 7, .96) 0%, rgba(4, 28, 7, .7) 35%, rgba(4, 28, 7, .15) 70%, rgba(4, 28, 7, .35) 100%),
    linear-gradient(90deg, rgba(4, 28, 7, .55), transparent 60%);
}
.uec-pj-hero[dir="rtl"]::before {
  background:
    linear-gradient(0deg, rgba(4, 28, 7, .96) 0%, rgba(4, 28, 7, .7) 35%, rgba(4, 28, 7, .15) 70%, rgba(4, 28, 7, .35) 100%),
    linear-gradient(-90deg, rgba(4, 28, 7, .55), transparent 60%);
}
.uec-pj-hero__wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 120px 24px 40px; text-align: start; }
.uec-pj-hero__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ab-accent);
  font-weight: 600;
  font-size: .98rem;
  animation: uecRise .9s var(--ab-ease) .1s both;
}
.uec-pj-hero__title {
  max-width: 900px;
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  animation: uecRise .9s var(--ab-ease) .2s both;
}
.uec-pj-hero[dir="rtl"] .uec-pj-hero__title { line-height: 1.35; letter-spacing: 0; }
.uec-pj-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; animation: uecRise .9s var(--ab-ease) .3s both; }
.uec-pj-hero .uec-phero__crumb { animation: uecRise .9s var(--ab-ease) both; flex-wrap: wrap; }

.uec-pj-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 22px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
  animation: uecRise .9s var(--ab-ease) .4s both;
}
.uec-pj-stats > div { padding: 20px 24px; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.uec-pj-stats > div:first-child { border-inline-start: 0; }
.uec-pj-stats b { display: block; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.1; }
.uec-pj-stats b small { font-size: .55em; font-weight: 600; color: var(--ab-accent); }
.uec-pj-stats span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .7); font-size: .85rem; }
.uec-pj-stats > div:first-child b { color: var(--ab-accent); }

/* ---------- overview ---------- */
.uec-pj-over { padding: clamp(56px, 8vw, 100px) 0; background: #fff; }
.uec-pj-over__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.uec-pj-over__text .uec-sec-head__title { text-align: start; }
.uec-pj-over__text p { margin: 0; color: var(--ab-ink); font-size: 1.06rem; line-height: 1.95; text-align: start !important; }
.uec-pj-over__text p::first-letter { color: var(--ab-green); font-size: 1.6em; font-weight: 700; }
.uec-pj-facts {
  position: sticky;
  top: 100px;
  padding: 28px;
  border-radius: 26px;
  background: var(--ab-tint);
  border: 1px solid rgba(9, 76, 2, .08);
}
.uec-pj-facts h3 { margin: 0 0 18px; color: var(--ab-ink); font-size: 1.2rem; font-weight: 700; }
.uec-pj-facts ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.uec-pj-facts li { display: flex; align-items: center; gap: 14px; }
.uec-pj-facts__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: #fff;
  color: var(--ab-green);
  box-shadow: 0 8px 18px -12px rgba(9, 76, 2, .6);
}
.uec-pj-facts small { display: block; color: var(--ab-muted); font-size: .78rem; }
.uec-pj-facts b { display: block; color: var(--ab-ink); font-size: .98rem; line-height: 1.45; }

/* ---------- construction timeline ---------- */
.uec-pj-prog {
  padding: clamp(64px, 9vw, 110px) 0;
  background-color: #061d09;
  background-image:
    radial-gradient(40% 50% at 0% 0%, rgba(90, 214, 125, .14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  color: #fff;
}
.uec-pj-prog .uec-sec-head__title { color: #fff; }
.uec-pj-prog .uec-sec-head__title span { background: linear-gradient(90deg, var(--ab-accent), #b6f3c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.uec-tl { position: relative; max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.uec-tl::before {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, var(--ab-accent), rgba(90, 214, 125, .15));
}
.uec-tl__item { position: relative; width: 50%; padding: 0 44px 28px 0; }
.uec-tl__item:nth-child(even) { margin-left: 50%; padding: 0 0 28px 44px; }
[dir="rtl"] .uec-tl__item { padding: 0 0 28px 44px; }
[dir="rtl"] .uec-tl__item:nth-child(even) { margin-left: 0; margin-right: 50%; padding: 0 44px 28px 0; }
.uec-tl.is-collapsed .uec-tl__item.is-extra { display: none; }
.uec-tl__dot {
  position: absolute;
  top: 16px;
  right: -19px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #0d2e12;
  border: 2px solid rgba(90, 214, 125, .6);
  color: var(--ab-accent);
  font-size: .8rem;
  font-weight: 700;
}
.uec-tl__item:nth-child(even) .uec-tl__dot { right: auto; left: -19px; }
[dir="rtl"] .uec-tl__item .uec-tl__dot { right: auto; left: -19px; }
[dir="rtl"] .uec-tl__item:nth-child(even) .uec-tl__dot { left: auto; right: -19px; }
.uec-tl__item.is-latest .uec-tl__dot { background: var(--ab-accent); color: #062b0a; border-color: var(--ab-accent); box-shadow: 0 0 0 6px rgba(90, 214, 125, .2); animation: uecTlPulse 2s infinite; }
@keyframes uecTlPulse { 70% { box-shadow: 0 0 0 14px rgba(90, 214, 125, 0); } 100% { box-shadow: 0 0 0 0 rgba(90, 214, 125, 0); } }
.uec-tl__card {
  display: flex;
  gap: 16px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff !important;
  text-decoration: none !important;
  transition: background-color .3s ease, border-color .3s ease, transform .4s var(--ab-ease);
}
.uec-tl__card:hover { background: rgba(90, 214, 125, .08); border-color: rgba(90, 214, 125, .4); transform: translateY(-3px); }
.uec-tl__item.is-latest .uec-tl__card { border-color: rgba(90, 214, 125, .5); background: rgba(90, 214, 125, .08); }
.uec-tl__img { flex-shrink: 0; width: 112px; height: 96px; border-radius: 14px; overflow: hidden; background: #0d2e12; }
.uec-tl__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ab-ease); }
.uec-tl__card:hover .uec-tl__img img { transform: scale(1.08); }
.uec-tl__text { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.uec-tl__text small { color: rgba(255, 255, 255, .55); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
[dir="rtl"] .uec-tl__text small { letter-spacing: 0; }
.uec-tl__new { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--ab-accent); color: #062b0a; letter-spacing: 0; text-transform: none; }
.uec-tl__text b { font-size: 1.02rem; font-weight: 700; line-height: 1.4; }
.uec-tl__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: rgba(255, 255, 255, .68); font-size: .86rem; line-height: 1.6; }
.uec-tl__more { margin-top: 12px; text-align: center; }

/* ---------- units ---------- */
.uec-pj-units { padding: clamp(64px, 9vw, 110px) 0; background: linear-gradient(180deg, #f6faf6, #fff); }
.uec-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.uec-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1.5px solid #dfe8df;
  border-radius: 999px;
  background: #fff;
  color: var(--ab-ink);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.uec-chip span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--ab-tint); color: var(--ab-green); font-size: .78rem; }
.uec-chip:hover { border-color: var(--ab-green-2); }
.uec-chip.is-active { background: var(--ab-green); border-color: var(--ab-green); color: #fff; }
.uec-chip.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }

.uec-units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.uec-unit {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 20px 44px -36px rgba(9, 40, 12, .55);
  overflow: hidden;
  transition: transform .45s var(--ab-ease), box-shadow .45s var(--ab-ease), border-color .3s ease;
  animation: uecFadeIn .4s ease;
}
.uec-unit[hidden] { display: none; }
.uec-unit:hover { transform: translateY(-5px); box-shadow: 0 30px 54px -34px rgba(9, 40, 12, .6); }
.uec-unit--s0 { border-color: rgba(90, 214, 125, .55); }
.uec-unit__media { position: relative; aspect-ratio: 16 / 10; background: var(--ab-tint); overflow: hidden; }
.uec-unit__media a, .uec-unit__media img { display: block; width: 100%; height: 100%; }
.uec-unit__media img { object-fit: cover; transition: transform .8s var(--ab-ease); }
.uec-unit:hover .uec-unit__media img { transform: scale(1.06); }
.uec-unit__ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(9, 76, 2, .3); font-size: 2.2rem; background: repeating-linear-gradient(45deg, #eef7ef 0 12px, #e6f2e7 12px 24px); }
.uec-unit__status {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5);
}
.uec-unit--s0 .uec-unit__status { background: var(--ab-accent); color: #062b0a; }
.uec-unit--s1 .uec-unit__status { background: #fff; color: #8a8f8a; }
.uec-unit--s2 .uec-unit__status { background: #ffb547; color: #4a2c00; }
.uec-unit--s1 .uec-unit__media img { filter: grayscale(.6); opacity: .85; }
.uec-unit__body { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 20px; }
.uec-unit__body h3 { margin: 0 0 14px; color: var(--ab-ink); font-size: 1.1rem; font-weight: 700; }
.uec-unit__specs { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.uec-unit__specs li { display: flex; align-items: center; gap: 10px; }
.uec-unit__specs li > i, .uec-unit__specs li > svg { flex-shrink: 0; width: 18px; color: var(--ab-green-2); text-align: center; }
.uec-unit__specs small { display: block; color: var(--ab-muted); font-size: .72rem; line-height: 1.2; }
.uec-unit__specs b { display: block; color: var(--ab-ink); font-size: .9rem; font-weight: 600; line-height: 1.4; }
.uec-unit__body .uec-pj-btn { margin-top: auto; height: 46px; font-size: .9rem; }
.uec-unit__na { margin-top: auto; display: grid; place-items: center; height: 46px; border-radius: 999px; background: #f2f4f2; color: #8a8f8a; font-weight: 600; font-size: .88rem; }
.uec-units__empty { padding: 40px 0; color: var(--ab-muted); text-align: center !important; }
.uec-units__empty[hidden] { display: none; }

/* news & others */
.uec-pj-news { padding: clamp(56px, 8vw, 100px) 0 0; background: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .uec-units { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .uec-pj-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uec-pj-stats > div:nth-child(3) { border-inline-start: 0; }
  .uec-pj-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .uec-pj-over__grid { grid-template-columns: minmax(0, 1fr); }
  .uec-pj-facts { position: static; }
  .uec-units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* single-side timeline */
  .uec-tl::before { left: 19px; margin-left: 0; }
  [dir="rtl"] .uec-tl::before { left: auto; right: 19px; }
  .uec-tl__item, .uec-tl__item:nth-child(even),
  [dir="rtl"] .uec-tl__item, [dir="rtl"] .uec-tl__item:nth-child(even) { width: 100%; margin: 0; padding: 0 0 20px; padding-inline-start: 56px; }
  .uec-tl__item .uec-tl__dot, .uec-tl__item:nth-child(even) .uec-tl__dot,
  [dir="rtl"] .uec-tl__item .uec-tl__dot, [dir="rtl"] .uec-tl__item:nth-child(even) .uec-tl__dot { left: 0; right: auto; }
  [dir="rtl"] .uec-tl__item .uec-tl__dot, [dir="rtl"] .uec-tl__item:nth-child(even) .uec-tl__dot { left: auto; right: 0; }
}
@media (max-width: 575.98px) {
  .uec-pj-hero { min-height: 560px; }
  .uec-pj-hero__wrap { padding: 110px 20px 28px; }
  .uec-pj-hero__btns .uec-pj-btn { flex: 1 1 100%; }
  .uec-pj-stats > div { padding: 16px; }
  .uec-units { grid-template-columns: minmax(0, 1fr); }
  .uec-tl__card { flex-direction: column; }
  .uec-tl__img { width: 100%; height: 150px; }
  .uec-pj-facts { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .uec-pj-hero__bg, .uec-tl__item.is-latest .uec-tl__dot { animation: none; }
}

/* ---------- government project page ---------- */
.uec-gp-stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.uec-gp-stats span { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--ab-accent); font-size: .78rem; font-weight: 600; }
.uec-gp-stats b { font-size: 1.05rem; line-height: 1.45; font-weight: 600; }
.uec-gp-stats > div:first-child b { color: #fff; }
.uec-gp-figure { margin: 26px 0 0; }
@media (max-width: 991.98px) {
  .uec-gp-stats { grid-template-columns: minmax(0, 1fr); }
  .uec-gp-stats > div { border-inline-start: 0 !important; border-top: 1px solid rgba(255, 255, 255, .12); }
  .uec-gp-stats > div:first-child { border-top: 0; }
}

/* ---------- order ---------- */
/* ==========================================================
   UEC — Book a unit page (EN + AR)
   ========================================================== */
.uec-order { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); background: linear-gradient(180deg, #fff, #f6faf6); }

/* steps */
.uec-steps { display: flex; justify-content: center; gap: 8px; margin: 0 auto 36px; padding: 0; list-style: none; max-width: 640px; }
.uec-steps li {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ab-muted);
  font-size: .86rem;
  font-weight: 600;
  text-align: center;
}
.uec-steps li::before {
  content: "";
  position: absolute;
  top: 19px;
  inset-inline-start: calc(-50% + 26px);
  width: calc(100% - 52px);
  height: 2px;
  background: #dfe8df;
}
.uec-steps li:first-child::before { display: none; }
.uec-steps li.is-done::before, .uec-steps li.is-current::before { background: var(--ab-accent); }
.uec-steps span {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #dfe8df;
  color: var(--ab-muted);
  font-size: .95rem;
  transition: all .4s var(--ab-ease);
}
.uec-steps li.is-done span { background: var(--ab-accent); border-color: var(--ab-accent); color: #062b0a; }
.uec-steps li.is-current { color: var(--ab-green); }
.uec-steps li.is-current span { background: var(--ab-green); border-color: var(--ab-green); color: #fff; box-shadow: 0 0 0 6px rgba(90, 214, 125, .2); }

/* layout */
.uec-order__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.uec-order__unit { position: sticky; top: 96px; }
.uec-ocard {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 30px 60px -44px rgba(9, 40, 12, .5);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.uec-ocard[hidden] { display: none; }
.uec-ocard__title { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; color: var(--ab-ink); font-size: 1.2rem; font-weight: 700; }
.uec-ocard__title > i, .uec-ocard__title > svg {
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 11px;
  border-radius: 12px;
  background: var(--ab-tint);
  color: var(--ab-green);
  box-sizing: border-box;
}
.uec-ocard__note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff7e6; color: #8a5a00; font-size: .9rem; text-align: start !important; }
.uec-ocard__note[hidden], .uec-field[hidden] { display: none; }

/* select fields (floating label) */
.uec-field--select select {
  display: block;
  width: 100%;
  height: 62px;
  padding: 24px 44px 8px 16px;
  border: 1.5px solid #dfe8df;
  border-radius: 14px;
  background: #fbfdfb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23094c02' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--ab-ink);
  font-size: .98rem;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease;
}
[dir="rtl"] .uec-field--select select { padding: 24px 16px 8px 44px; background-position: left 16px center; }
.uec-field--select select:focus { border-color: var(--ab-green-2); box-shadow: 0 0 0 4px rgba(90, 214, 125, .18); }
.uec-field--select label { transform: translateY(-10px) scale(.78) !important; color: var(--ab-green-2) !important; }

/* selected unit */
.uec-sel { border-radius: 20px; overflow: hidden; border: 1.5px solid rgba(90, 214, 125, .55); background: var(--ab-tint); }
.uec-sel[hidden] { display: none; }
.uec-sel.is-pop { animation: uecPop .5s var(--ab-ease); }
@keyframes uecPop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.uec-sel__media { position: relative; aspect-ratio: 16 / 8; background: #dfe9df; }
.uec-sel__media img { width: 100%; height: 100%; object-fit: cover; }
.uec-sel__badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--ab-accent); color: #062b0a;
  font-size: .75rem; font-weight: 700;
}
.uec-sel__body { padding: 18px 20px 20px; }
.uec-sel__body small { display: block; color: var(--ab-green-2); font-weight: 600; font-size: .82rem; }
.uec-sel__body h3 { margin: 2px 0 12px; color: var(--ab-ink); font-size: 1.3rem; font-weight: 700; }
.uec-sel__body ul { list-style: none; margin: 0 0 10px; padding: 0; }
.uec-sel__body li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(9, 76, 2, .15); font-size: .92rem; }
.uec-sel__body li[hidden] { display: none; }
.uec-sel__body li span { color: var(--ab-muted); }
.uec-sel__body li b { color: var(--ab-ink); text-align: end; }
.uec-sel__total { border-bottom: 0 !important; }
.uec-sel__total b { color: var(--ab-green) !important; font-size: 1.15rem; }
.uec-sel__note { margin: 0 0 12px; color: var(--ab-muted); font-size: .78rem; line-height: 1.6; text-align: start !important; }
.uec-sel__link { display: inline-flex; align-items: center; gap: 8px; color: var(--ab-green) !important; font-weight: 600; font-size: .9rem; text-decoration: none !important; }

/* preferences */
.uec-prefs[hidden] { display: none; }
.uec-prefs h3 { margin: 4px 0 12px; color: var(--ab-ink); font-size: 1rem; font-weight: 700; }
.uec-prefs .uec-form__row { margin-bottom: 12px; }

/* form side */
.uec-order__send { height: 58px; margin-top: 4px; }
.uec-order__send:disabled { opacity: .7; cursor: progress; }
.uec-order.is-sending .uec-order__send i, #uecOrderForm.is-sending .uec-order__send i { animation: uecFly .8s ease-in-out infinite alternate; }
.uec-order__privacy { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ab-muted); font-size: .8rem; text-align: start !important; }
.uec-pj-btn--outline { background: transparent; border: 1.5px solid #dfe8df; color: var(--ab-green) !important; }
.uec-pj-btn--outline:hover { border-color: var(--ab-green); background: var(--ab-tint); }

/* success */
.uec-done { align-items: center; text-align: center; padding: 48px 28px; }
.uec-done h2 { margin: 6px 0 0; color: var(--ab-ink); font-size: 1.7rem; font-weight: 700; }
.uec-done p { max-width: 420px; margin: 0; color: var(--ab-muted); line-height: 1.7; text-align: center !important; }
.uec-done__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.uec-done__check svg { width: 96px; height: 96px; }
.uec-done__check circle { fill: var(--ab-tint); stroke: var(--ab-accent); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: uecDraw .7s ease forwards; }
.uec-done__check path { fill: none; stroke: var(--ab-green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: uecDraw .45s ease .55s forwards; }
@keyframes uecDraw { to { stroke-dashoffset: 0; } }

@media (max-width: 991.98px) {
  .uec-order__grid { grid-template-columns: minmax(0, 1fr); }
  .uec-order__unit { position: static; }
}
@media (max-width: 575.98px) {
  .uec-ocard { padding: 20px; border-radius: 20px; }
  .uec-steps li { font-size: .74rem; }
  .uec-done__btns .uec-pj-btn { flex: 1 1 100%; }
}

.uec-ocard .uec-form__result { flex: none; }

/* ---------- detail ---------- */
/* ==========================================================
   UEC — Phase / project-news detail pages (EN + AR)
   ========================================================== */
.uec-dt-hero {
  position: relative;
  min-height: clamp(380px, 56vh, 540px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #06210a;
}
.uec-dt-hero__bg { position: absolute; inset: -20px; z-index: -2; background-size: cover; background-position: center; filter: saturate(1.05); animation: uecHeroZoom 16s ease-out forwards; }
.uec-dt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(4, 28, 7, .97) 0%, rgba(4, 28, 7, .72) 40%, rgba(4, 28, 7, .3) 75%, rgba(4, 28, 7, .45) 100%);
}
.uec-dt-hero__wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 110px 24px 40px; text-align: start; }
.uec-dt-hero .uec-phero__crumb { flex-wrap: wrap; animation: uecRise .9s var(--ab-ease) both; }
.uec-dt-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; animation: uecRise .9s var(--ab-ease) .1s both; }
.uec-dt-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: .82rem;
  font-weight: 600;
}
.uec-dt-tag--accent { background: var(--ab-accent); border-color: var(--ab-accent); color: #062b0a; }
.uec-dt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ab-accent); box-shadow: 0 0 0 0 rgba(90, 214, 125, .7); animation: uecPulse 2s infinite; }
.uec-dt-hero__title {
  max-width: 900px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  animation: uecRise .9s var(--ab-ease) .2s both;
}
.uec-dt-hero[dir="rtl"] .uec-dt-hero__title { line-height: 1.4; }
.uec-dt-progress { max-width: 420px; animation: uecRise .9s var(--ab-ease) .3s both; }
.uec-dt-progress__bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.uec-dt-progress__bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--ab-accent), #b6f3c6); transform-origin: left; animation: uecBar 1.4s var(--ab-ease) .4s both; }
[dir="rtl"] .uec-dt-progress__bar span { transform-origin: right; margin-inline-start: 0; }
@keyframes uecBar { from { transform: scaleX(0); } }
.uec-dt-progress small { display: block; margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: .82rem; }

/* layout */
.uec-dt { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); background: linear-gradient(180deg, #fff, #f6faf6); }
.uec-dt__wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 32px; align-items: start; }

.uec-dt__main {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 30px 60px -46px rgba(9, 40, 12, .5);
}
.uec-dt__figure { position: relative; display: block; margin: 0 0 26px; border-radius: 20px; overflow: hidden; background: #dfe9df; }
.uec-dt__figure img { display: block; width: 100%; max-height: 620px; object-fit: cover; transition: transform 1s var(--ab-ease); }
.uec-dt__figure:hover img { transform: scale(1.03); }
.uec-dt__zoom {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ab-green);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s ease, transform .3s var(--ab-ease);
}
.uec-dt__figure:hover .uec-dt__zoom, .uec-dt__figure:focus-visible .uec-dt__zoom { opacity: 1; transform: none; }

.uec-dt__body { color: var(--ab-ink); font-size: 1.08rem; line-height: 1.95; }
.uec-dt__body p { margin: 0 0 16px; text-align: start !important; }
.uec-dt__body > p:first-child::first-letter { color: var(--ab-green); font-size: 1.5em; font-weight: 700; }
.uec-dt__body ul, .uec-dt__body ol { margin: 0 0 16px; padding-inline-start: 22px; }
.uec-dt__body a { color: var(--ab-green-2); text-decoration: underline; }
.uec-dt__body img { max-width: 100%; height: auto; border-radius: 14px; }

.uec-dt__video { margin-top: 26px; }
.uec-dt__video h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--ab-ink); font-size: 1.15rem; font-weight: 700; }
.uec-dt__video .uec-player__screen { border-radius: 20px; }

/* share */
.uec-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #edf3ed; }
.uec-share__label { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: 6px; color: var(--ab-muted); font-weight: 600; font-size: .9rem; }
.uec-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ab-tint);
  color: var(--ab-green) !important;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, transform .3s var(--ab-ease);
}
.uec-share__btn:hover { transform: translateY(-2px); color: #fff !important; }
.uec-share__btn--fb:hover { background: #1877f2; }
.uec-share__btn--wa:hover { background: #25d366; }
.uec-share__btn--x:hover { background: #111; }
.uec-share__btn--copy:hover, .uec-share__btn--copy.is-done { background: var(--ab-green); color: #fff !important; }

/* prev / next */
.uec-dt__pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.uec-dt__pn-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1.5px solid #e2ebe2;
  color: var(--ab-ink) !important;
  text-decoration: none !important;
  transition: border-color .3s ease, background-color .3s ease, transform .3s var(--ab-ease);
}
.uec-dt__pn-item:hover { border-color: var(--ab-accent); background: var(--ab-tint); }
.uec-dt__pn-item > i, .uec-dt__pn-item > svg { flex-shrink: 0; color: var(--ab-green); transition: transform .3s var(--ab-ease); }
.uec-dt__pn-item:hover > i.fa-arrow-left { transform: translateX(-4px); }
.uec-dt__pn-item:hover > i.fa-arrow-right { transform: translateX(4px); }
.uec-dt__pn-item small { display: block; color: var(--ab-muted); font-size: .76rem; font-weight: 600; }
.uec-dt__pn-item b { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; }
.uec-dt__pn-item--next { justify-content: flex-end; text-align: end; }

/* sidebar */
.uec-dt__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.uec-dt__proj {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(150deg, #06210a, var(--ab-green));
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 24px 50px -36px rgba(9, 76, 2, .9);
  transition: transform .3s var(--ab-ease);
}
.uec-dt__proj:hover { transform: translateY(-3px); }
.uec-dt__proj img { flex-shrink: 0; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.uec-dt__proj span { flex: 1; min-width: 0; }
.uec-dt__proj small { display: block; color: var(--ab-accent); font-size: .78rem; font-weight: 600; }
.uec-dt__proj b { display: block; font-size: 1rem; line-height: 1.4; }
.uec-dt__proj > i, .uec-dt__proj > svg { margin-inline-end: 8px; }

.uec-dt__list { padding: 20px; border-radius: 22px; background: #fff; border: 1px solid rgba(9, 76, 2, .08); box-shadow: 0 24px 50px -44px rgba(9, 40, 12, .5); }
.uec-dt__list h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; color: var(--ab-ink); font-size: 1.05rem; font-weight: 700; }
.uec-dt__list h3 span { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--ab-tint); color: var(--ab-green); font-size: .8rem; }
.uec-dt__list ol { position: relative; list-style: none; margin: 0; padding: 0; max-height: 440px; overflow-y: auto; scrollbar-width: thin; }
.uec-dt__list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--ab-ink) !important;
  font-size: .9rem;
  text-decoration: none !important;
  transition: background-color .25s ease;
}
.uec-dt__list li a:hover { background: var(--ab-tint); }
.uec-dt__list-n {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid #dfe8df;
  color: var(--ab-muted);
  font-size: .75rem;
  font-weight: 700;
}
.uec-dt__list-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uec-dt__list li.is-current a { background: var(--ab-tint); color: var(--ab-green) !important; font-weight: 700; }
.uec-dt__list li.is-current .uec-dt__list-n { background: var(--ab-green); border-color: var(--ab-green); color: #fff; }

@media (max-width: 991.98px) {
  .uec-dt__wrap { grid-template-columns: minmax(0, 1fr); }
  .uec-dt__side { position: static; }
}
@media (max-width: 575.98px) {
  .uec-dt-hero__wrap { padding: 100px 20px 28px; }
  .uec-dt__wrap { padding: 0 16px; }
  .uec-dt__main { border-radius: 22px; }
  .uec-dt__pn { grid-template-columns: 1fr; }
  .uec-share__btn--copy span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .uec-dt-hero__bg, .uec-dt-progress__bar span { animation: none; }
}

/* ---------- news & updates ---------- */
.uec-news { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); background: linear-gradient(180deg, #fff, #f6faf6); }
.uec-news__group { margin-bottom: clamp(40px, 6vw, 64px); }
.uec-news__group[hidden] { display: none; }
.uec-news__h { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--ab-ink); font-size: 1.4rem; font-weight: 700; }
.uec-news__h > i, .uec-news__h > svg { display: grid; place-items: center; width: 42px; height: 42px; padding: 11px; border-radius: 12px; background: var(--ab-tint); color: var(--ab-green); box-sizing: border-box; }
.uec-ntag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--ab-accent); color: #062b0a; font-size: .74rem; font-weight: 700; }
.uec-nproj { display: flex; align-items: center; gap: 7px; color: var(--ab-green-2); font-size: .85rem; font-weight: 600; }
.uec-nlink { display: inline-flex; align-items: center; gap: 8px; color: var(--ab-green); font-weight: 700; }

.uec-nfeat {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 30px 60px -44px rgba(9, 40, 12, .55);
  overflow: hidden;
  color: var(--ab-ink) !important;
  text-decoration: none !important;
  transition: transform .5s var(--ab-ease), box-shadow .5s var(--ab-ease), opacity .8s ease;
}
.uec-nfeat:hover { transform: translateY(-5px); box-shadow: 0 40px 70px -40px rgba(9, 40, 12, .6); }
.uec-nfeat__media { min-height: 320px; overflow: hidden; background: #dfe9df; }
.uec-nfeat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ab-ease); }
.uec-nfeat:hover .uec-nfeat__media img { transform: scale(1.06); }
.uec-nfeat__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: clamp(24px, 4vw, 44px); }
.uec-nfeat__body b { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; }
.uec-nfeat__desc { color: var(--ab-muted); line-height: 1.75; }

.uec-upd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 18px; }
.uec-upd__item {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: #0d2e12;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .5s var(--ab-ease), box-shadow .5s var(--ab-ease), opacity .8s ease;
}
.uec-upd__item.is-more { display: none; }
.uec-upd__item--feature { grid-column: span 2; grid-row: span 2; }
.uec-upd__item:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .6); }
.uec-upd__item img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ab-ease); }
.uec-upd__item:hover img { transform: scale(1.07); }
.uec-upd__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 18, 5, .35) 0%, transparent 32%, rgba(3, 18, 5, .55) 60%, rgba(3, 18, 5, .95) 100%); }
.uec-upd__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.uec-upd__n { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .74rem; font-weight: 600; }
.uec-upd__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.uec-upd__body small { display: flex; align-items: center; gap: 7px; color: var(--ab-accent); font-size: .8rem; font-weight: 600; }
.uec-upd__body b { font-size: 1.12rem; line-height: 1.35; }
.uec-upd__item--feature .uec-upd__body { padding: 28px; }
.uec-upd__item--feature .uec-upd__body b { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.uec-upd__go { display: inline-flex; align-items: center; gap: 8px; max-height: 0; opacity: 0; overflow: hidden; color: var(--ab-accent); font-size: .88rem; font-weight: 700; transition: max-height .4s var(--ab-ease), opacity .3s ease; }
.uec-upd__item:hover .uec-upd__go, .uec-upd__item--feature .uec-upd__go { max-height: 30px; opacity: 1; }
@media (hover: none) { .uec-upd__go { max-height: 30px; opacity: 1; } }

@media (max-width: 991.98px) {
  .uec-nfeat { grid-template-columns: minmax(0, 1fr); }
  .uec-nfeat__media { min-height: 0; aspect-ratio: 16 / 9; }
  .uec-upd { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .uec-upd__item--feature { grid-row: span 1; height: auto; }
}
@media (max-width: 575.98px) {
  .uec-upd { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; gap: 14px; }
  .uec-upd__item--feature { grid-column: auto; }
}

/* ---------- customer login ---------- */
.uec-auth { padding: clamp(32px, 5vw, 64px) 16px clamp(56px, 8vw, 96px); background: radial-gradient(60% 50% at 100% 0%, rgba(90, 214, 125, .12), transparent 70%), linear-gradient(180deg, #f6faf6, #fff); }
.uec-auth__wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 50px 100px -60px rgba(9, 40, 12, .6);
  overflow: hidden;
  animation: uecRise .8s var(--ab-ease) both;
}
.uec-auth__panel { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: 600px; }
.uec-auth__panel-bg { position: absolute; inset: -20px; z-index: -2; background-size: cover; background-position: center; animation: uecHeroZoom 16s ease-out forwards; }
.uec-auth__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(4, 28, 7, .92) 0%, rgba(9, 76, 2, .85) 55%, rgba(29, 122, 44, .78) 100%);
}
.uec-auth__panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px; height: 420px;
  bottom: -160px;
  inset-inline-end: -140px;
  border-radius: 50%;
  border: 1px solid rgba(90, 214, 125, .3);
  box-shadow: 0 0 0 60px rgba(90, 214, 125, .05), 0 0 0 120px rgba(90, 214, 125, .03);
}
.uec-auth__panel-in { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 56px); }
.uec-auth__logo { width: 150px; margin-bottom: 36px; padding: 10px 14px; border-radius: 14px; background: #fff; }
.uec-auth__panel h2 { margin: 0 0 26px; color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; line-height: 1.3; }
.uec-auth__panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.uec-auth__panel li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .88); font-size: 1rem; }
.uec-auth__panel li span { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(90, 214, 125, .16); border: 1px solid rgba(90, 214, 125, .35); color: var(--ab-accent); }

.uec-auth__card { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 60px); text-align: start; }
.uec-auth__badge { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 18px; background: var(--ab-tint); color: var(--ab-green); font-size: 1.4rem; }
.uec-auth__title { margin: 0 0 8px; color: var(--ab-ink); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; }
.uec-auth__sub { margin: 0 0 24px; color: var(--ab-muted); line-height: 1.7; text-align: start !important; }
.uec-auth__msg { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; animation: uecShake .45s ease; }
@keyframes uecShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.uec-auth__form { display: flex; flex-direction: column; gap: 14px; }
.uec-field--icon input { padding-inline-end: 52px; }
.uec-field__ico, .uec-field__eye { position: absolute; top: 50%; inset-inline-end: 16px; transform: translateY(-50%); color: var(--ab-muted); }
.uec-field__eye { display: grid; place-items: center; width: 36px; height: 36px; inset-inline-end: 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.uec-field__eye:hover, .uec-field__eye.is-on { background: var(--ab-tint); color: var(--ab-green); }
.uec-auth__submit { height: 56px; margin-top: 6px; }
.uec-auth__submit.is-loading { opacity: .75; pointer-events: none; }
.uec-auth__submit.is-loading i { animation: uecFly .8s ease-in-out infinite alternate; }
.uec-auth__help { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: #f6faf6; border: 1px dashed rgba(9, 76, 2, .18); }
.uec-auth__help b { display: block; margin-bottom: 4px; color: var(--ab-ink); font-size: .95rem; }
.uec-auth__help > span { display: block; color: var(--ab-muted); font-size: .86rem; line-height: 1.6; }
.uec-auth__help-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.uec-auth__help-btns .uec-pj-btn { height: 42px; padding: 0 16px; font-size: .86rem; }

@media (max-width: 991.98px) {
  .uec-auth__wrap { grid-template-columns: minmax(0, 1fr); }
  .uec-auth__panel { min-height: 0; }
  .uec-auth__panel-in { padding: 28px; }
  .uec-auth__logo { width: 120px; margin-bottom: 18px; }
  .uec-auth__panel h2 { margin-bottom: 16px; font-size: 1.35rem; }
  .uec-auth__panel ul { gap: 10px; }
  .uec-auth__panel li { font-size: .9rem; }
  .uec-auth__panel li span { width: 36px; height: 36px; border-radius: 11px; }
}
@media (max-width: 575.98px) {
  .uec-auth { padding-left: 12px; padding-right: 12px; }
  .uec-auth__wrap { border-radius: 24px; }
  .uec-auth__help-btns .uec-pj-btn { flex: 1 1 100%; }
}

/* ---------- customer dashboard ---------- */
.uec-dash-hero {
  position: relative;
  padding: clamp(36px, 5vw, 56px) 0 clamp(80px, 9vw, 110px);
  color: #fff;
  background-color: #061d09;
  background-image:
    radial-gradient(50% 80% at 100% 0%, rgba(90, 214, 125, .22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.uec-dash-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; animation: uecRise .8s var(--ab-ease) both; }
.uec-dash-hero__who { display: flex; align-items: center; gap: 18px; }
.uec-dash-hero__avatar { flex-shrink: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--ab-accent); color: #062b0a; font-size: 1.6rem; font-weight: 700; box-shadow: 0 0 0 6px rgba(90, 214, 125, .18); }
.uec-dash-hero h1 { margin: 0 0 4px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.uec-dash-hero p { margin: 0; color: rgba(255, 255, 255, .72); text-align: start !important; }
.uec-dash-stats { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; animation: uecRise .8s var(--ab-ease) .15s both; }
.uec-dash-ring { position: relative; display: grid; place-items: center; width: 136px; height: 136px; }
.uec-dash-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.uec-dash-ring circle { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 10; }
.uec-dash-ring .uec-dash-ring__val { stroke: var(--ab-accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: calc(327 - 327 * var(--p) / 100); animation: uecRing2 1.6s var(--ab-ease) both; }
@keyframes uecRing2 { from { stroke-dashoffset: 327; } }
.uec-dash-ring div { text-align: center; }
.uec-dash-ring b { display: block; color: #fff; font-size: 1.7rem; line-height: 1; }
.uec-dash-ring span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .7); font-size: .75rem; }
.uec-dash-stat { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.uec-dash-stat span { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: .85rem; font-weight: 600; }
.uec-dash-stat b { color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; }
.uec-dash-stat--ok span i, .uec-dash-stat--ok span svg { color: var(--ab-accent); }
.uec-dash-stat--warn span i, .uec-dash-stat--warn span svg { color: #ffb547; }

.uec-dash { position: relative; margin-top: -52px; padding-bottom: clamp(56px, 8vw, 96px); }
.uec-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
  padding: 6px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(9, 76, 2, .08);
  box-shadow: 0 24px 50px -36px rgba(9, 40, 12, .55);
  overflow-x: auto;
  scrollbar-width: none;
}
.uec-tabs::-webkit-scrollbar { display: none; }
.uec-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: max-content;
  height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ab-muted);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.uec-tab span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--ab-tint); color: var(--ab-green); font-size: .75rem; }
.uec-tab:hover { color: var(--ab-green); background: #f6faf6; }
.uec-tab.is-active { background: var(--ab-green); color: #fff; }
.uec-tab.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }
.uec-tabpane { animation: uecPop .45s var(--ab-ease); }
.uec-tabpane[hidden] { display: none; }

.uec-dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 36px; }
.uec-dcard { padding: 26px; border-radius: 24px; background: #fff; border: 1px solid rgba(9, 76, 2, .08); box-shadow: 0 24px 50px -40px rgba(9, 40, 12, .5); }
.uec-dcard h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--ab-ink); font-size: 1.05rem; font-weight: 700; }
.uec-dcard h3 i, .uec-dcard h3 svg { color: var(--ab-green-2); }
.uec-dcard__big { display: block; color: var(--ab-green); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.15; }
.uec-dcard__big--sm { font-size: 1.3rem; }
.uec-dcard__meta { display: block; margin-top: 6px; color: var(--ab-muted); font-size: .9rem; }
.uec-dcard__alert { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: #fdeeee; color: #b52b27; font-weight: 700; font-size: .85rem; cursor: pointer; }
.uec-dcard__bar { height: 10px; margin-top: 20px; border-radius: 10px; background: var(--ab-tint); overflow: hidden; }
.uec-dcard__bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--ab-green), var(--ab-accent)); animation: uecBar 1.4s var(--ab-ease) both; transform-origin: left; }
[dir="rtl"] .uec-dcard__bar span { transform-origin: right; }
.uec-dcard--help { background: linear-gradient(150deg, #06210a, var(--ab-green) 75%); color: #fff; border-color: transparent; }
.uec-dcard--help h3 { color: #fff; }
.uec-dcard--help h3 i, .uec-dcard--help h3 svg { color: var(--ab-accent); }
.uec-dcard--help p { color: rgba(255, 255, 255, .75); line-height: 1.7; text-align: start !important; }

.uec-contracts { display: flex; flex-direction: column; gap: 16px; }
.uec-contract { display: flex; align-items: center; gap: 22px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid rgba(9, 76, 2, .08); box-shadow: 0 20px 44px -38px rgba(9, 40, 12, .55); }
.uec-contract__ico { flex-shrink: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--ab-tint); color: var(--ab-green); font-size: 1.4rem; }
.uec-contract__main { flex: 1; min-width: 0; }
.uec-contract__main small { color: var(--ab-muted); font-size: .8rem; font-weight: 600; }
.uec-contract__main h3 { margin: 0 0 10px; color: var(--ab-ink); font-size: 1.25rem; font-weight: 700; text-align: start; }
.uec-contract dl { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.uec-contract dt { color: var(--ab-muted); font-size: .76rem; font-weight: 600; }
.uec-contract dd { margin: 0; color: var(--ab-ink); font-weight: 600; font-size: .95rem; }
.uec-contract__na { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; color: var(--ab-muted); font-size: .85rem; }

.uec-paytable { border-radius: 22px; background: #fff; border: 1px solid rgba(9, 76, 2, .08); box-shadow: 0 20px 44px -38px rgba(9, 40, 12, .55); overflow: hidden; }
.uec-paytable__head, .uec-payrow { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 14px 22px; }
.uec-paytable__head { background: #f6faf6; color: var(--ab-muted); font-size: .8rem; font-weight: 700; }
.uec-payrow { border-top: 1px solid #eef3ee; color: var(--ab-ink); font-size: .92rem; transition: background-color .2s ease; }
.uec-payrow:hover { background: #fbfdfb; }
.uec-payrow[hidden] { display: none; }
.uec-payrow--over { box-shadow: inset 3px 0 0 #e05a52; }
[dir="rtl"] .uec-payrow--over { box-shadow: inset -3px 0 0 #e05a52; }
.uec-pill { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; font-style: normal; white-space: nowrap; }
.uec-pill--paid { background: var(--ab-tint); color: var(--ab-green); }
.uec-pill--part { background: #e8f1ff; color: #1f5fbf; }
.uec-pill--over { background: #fdeeee; color: #b52b27; }
.uec-pill--due { background: #fff4e0; color: #9a5b00; }
.uec-chip--over.is-active { background: #b52b27; border-color: #b52b27; }

.uec-prof { max-width: 720px; }
.uec-prof__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.uec-prof__head b { color: var(--ab-ink); font-size: 1.3rem; }
.uec-prof__list { margin: 0 0 16px; }
.uec-prof__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #e2ebe2; }
.uec-prof__list dt { display: flex; align-items: center; gap: 10px; color: var(--ab-muted); font-weight: 600; font-size: .9rem; }
.uec-prof__list dt i, .uec-prof__list dt svg { color: var(--ab-green-2); width: 16px; }
.uec-prof__list dd { margin: 0; color: var(--ab-ink); font-weight: 600; text-align: end; }

@media (max-width: 991.98px) {
  .uec-dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uec-dash-ring { grid-row: span 2; justify-self: center; }
  .uec-dash-grid { grid-template-columns: minmax(0, 1fr); }
  .uec-contract { flex-wrap: wrap; }
  .uec-paytable { background: transparent; border: 0; box-shadow: none; overflow: visible; display: flex; flex-direction: column; gap: 12px; }
  .uec-paytable__head { display: none; }
  .uec-payrow { grid-template-columns: 1fr 1fr; padding: 16px 18px; border: 1px solid rgba(9, 76, 2, .08); border-radius: 18px; background: #fff; }
  .uec-payrow span[data-l]::before { content: attr(data-l); display: block; color: var(--ab-muted); font-size: .72rem; font-weight: 600; }
}
@media (max-width: 575.98px) {
  .uec-dash-hero__top .uec-pj-btn { width: 100%; }
  .uec-dash-stats { grid-template-columns: minmax(0, 1fr); }
  .uec-dash-ring { grid-row: auto; }
  .uec-tab { flex: 0 0 auto; padding: 0 14px; }
  .uec-contract { padding: 20px; gap: 14px; }
  .uec-contract .uec-pj-btn { width: 100%; }
  .uec-prof__list > div { flex-direction: column; gap: 4px; }
  .uec-prof__list dd { text-align: start; }
}
.uec-dcard__big--over { color: #b52b27; }

/* footer: company social page */
.uec-footer__social { margin-top: 18px; }
.uec-footer__social a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85) !important; font-size: .9rem; font-weight: 600; text-decoration: none !important; transition: color .3s ease; }
.uec-footer__social a i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); font-size: 1rem; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.uec-footer__social a:hover { color: #fff !important; }
.uec-footer__social a:hover i { background: #1877f2; border-color: #1877f2; color: #fff; }

/* customer login: field error under the ID number / password */
.uec-field__err { display: block; margin: -8px 4px 14px; color: #c9302c; font-size: .84rem; font-weight: 600; line-height: 1.6; }
.uec-field__err[hidden] { display: none; }
