/** ===============================
    PRELOADER – FINAL CLEAN VERSION
=============================== **/

@import url("https://fonts.googleapis.com/css?family=Barlow:300,400,500,600,700,800|Teko:300,400,500,600,700&display=swap");

/* Rotation Animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Overlay */
#preloader-active {
  position: fixed;
  inset: 0;
  background-color: #f7f7f7;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper */
.preloader {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Circle Container (static) */
.preloader-circle {
  width: 100px;
  height: 100px;
  position: relative;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(35, 181, 185, 0.15);
}

/* Rotating border only */
.preloader-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: #A23121;
  animation: spin 2s linear infinite;
}

/* Logo holder (static & centered) */
.preloader-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo image */
.preloader-img img {
  width: 95px;
  height: auto;
  display: block;
}

/**team-area**/
.team-area .single-team .team-img {
  position: relative;
  overflow: hidden;
}

.team-area .single-team .team-img img {
  width: 100%
}

.team-area .single-team .team-caption {
  position: absolute;
  bottom: -36px;
  background: rgba(255, 255, 255, 0.6);
  width: 100%;
  padding-top: 20px;
  padding-bottom: 30px;
  text-align: center;
  -webkit-transition: all .4s ease-out 0s;
  -moz-transition: all .4s ease-out 0s;
  -ms-transition: all .4s ease-out 0s;
  -o-transition: all .4s ease-out 0s;
  transition: all .4s ease-out 0s;
}

.team-area .single-team .team-caption h3 {
  margin-bottom: 3px;
  line-height: 13px;
  font-family: "Barlow", sans-serif;
}

.team-area .single-team .team-caption h3 a {
  color: #2c234d;
  font-weight: 700;
  font-size: 20px;
}

.team-area .single-team .team-caption h3 a:hover {
  color: #A23121;
}

.team-area .single-team .team-caption p {
  color: #2c234d;
  font-size: 16px;
  margin: 0;
  padding: 0
}

.team-area .single-team:hover .team-img .team-social a {
  transform: translateY(6px);
  opacity: 1;
  visibility: visible;
  color: #fff;
}

.team-area .single-team:hover .team-caption {
  background: #A23121;
  bottom: 0;
}

.team-area .single-team:hover .team-caption h3 a {
  color: #fff;
}

.team-area .single-team:hover .team-caption p {
  color: #fff;
}

.team-social {
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
}

.team-social li {
  display: inline-block;
}

.team-social li a {
  color: #8ba4b1;
  font-size: 14px;
  margin: 0 12px;
  display: inline-block;
  -webkit-transform: .4s;
  -ms-transform: .4s;
  transform: .4s;
  transform: translateY(60px);
  opacity: 1;
  visibility: visible;
}

.team-social li a i {
  display: inline-block;
}

.team-social li:nth-child(1) a {
  transition-delay: 0.0s;
}

.team-social li:nth-child(2) a {
  transition-delay: 0.1s;
}

.team-social li:nth-child(3) a {
  transition-delay: 0.2s;
}

.team-social li:nth-child(4) a {
  transition-delay: 0.3s;
}
.team-separator {
    height: 80px;
}


/* FIX TEAM SECTION NOT SHOWING */
.b--wrap,
.b--ct,
.b--pw {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

/* ===== FORCE TEAM SECTION VISIBILITY ===== */

.team-area {
  position: relative;
  z-index: 5;
  background: #fff;
  padding-top: 120px;
  margin-top: 0;
}

/* ===== FIX TEAM CUT & FOOTER OVERLAP ===== */

.team-area {
  position: relative;
  z-index: 2;
  padding-bottom: 120px;
  /* مسافة آمنة قبل الفوتر */
  clear: both;
}

footer,
#footer {
  position: relative;
  z-index: 1;
}

/* ===== TEAM SOCIAL FIX ===== */

.single-team {
  position: relative;
  overflow: hidden;
}

.single-team .team-social {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.single-team:hover .team-social {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.single-team .team-social ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-team .team-social ul li {
  display: inline-block;
  margin: 0 6px;
}

.single-team .team-social ul li a {
  color: #fff;
  font-size: 16px;
}

.single-team .team-social ul li a:hover {
  color: #f04e3c;
}

.team-social {
  z-index: 10;
}

/* FIX FONT AWESOME ICONS */
.team-social i,
.team-social .fab,
.team-social .fa {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}