.rs-team-grid .owl-stage-outer {
  overflow-y: visible;
}
.rs-team-grid .team-item {
  margin-bottom: 125px;
  position: relative;
  overflow: visible;
  margin-left: 20px;
  margin-right: 20px;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.rs-team-grid .team-item:before {
  display: none;
  background: transparent;
}
.rs-team-grid .team-item .image-wrap {
  overflow: hidden;
  position: relative;
}
.rs-team-grid .team-item .image-wrap .social-icons .social-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.rs-team-grid .team-item .image-wrap .social-icons a {
  display: inline-block;
  margin: 0 8px;
}
.rs-team-grid .team-item .image-wrap .social-icons a i {
  color: #fff;
  font-size: 15px;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.rs-team-grid .team-item .image-wrap img {
  transform: scale(1);
  transition: 0.3s ease-in-out;
}
.rs-team-grid .team-item .team-content {
  background: #fff;
  padding: 20px;
  text-align: center;
  z-index: 9;
  position: absolute;
  z-index: 1;
  opacity: 1;
  width: unset;
  height: unset;
  display: inline-block;
  border-radius: 2px;
  top: unset;
  bottom: -80px;
  padding: 20px 20px 25px;
  left: 50%;
  max-width: 300px;
  transform: translateX(-50%);
  width: 100%;
}
.rs-team-grid .team-item .team-content .team-name {
  display: block;
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 0px;
  text-transform: capitalize;
  font-weight: 700;
}
.rs-team-grid .team-item .team-content .team-name a {
  color: #1F1F1F;
}
.rs-team-grid .team-item .team-content .team-title {
  font-size: 16px;
  font-weight: 400;
  padding-top: 5px;
  display: block;
  color: #616161;
}
.rs-team-grid .team-item .team-content .team-desc {
  font-size: 12px;
  margin-bottom: 0;
  color: #616161;
  position: relative;
  z-index: 1;
  max-height: 0;
  opacity: 0;
  line-height: 18px;
  -webkit-transition: all 0.6s, max-height 0.5s;
  -o-transition: all 0.6s, max-height 0.5s;
  -moz-transition: all 0.6s, max-height 0.5s;
  transition: all 0.6s, max-height 0.5s;
  overflow: hidden;
  -webkit-transform: scaleY(0);
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -o-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: bottom;
  -moz-transform-origin: bottom;
  -ms-transform-origin: bottom;
  -o-transform-origin: bottom;
  transform-origin: bottom;
}
.rs-team-grid .team-item .team-content .team-desc:before {
  content: "";
  position: absolute;
  z-index: 1;
  background: #010d14;
  top: 0;
  left: 50%;
  width: 50px;
  height: 2px;
  margin-left: -25px;
}
.rs-team-grid .team-item .team-content:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  background-color: #EA5501;
  height: 2px;
  width: 0;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.rs-team-grid .team-item:hover .team-content {
  opacity: 1;
  top: unset;
}
.rs-team-grid .team-item:hover .team-content .team-desc {
  position: relative;
  max-height: 400px;
  opacity: 1;
  text-align: center;
  -webkit-transform: scaleY(1);
  -moz-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -o-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transition: all 0.4s, max-height 1.5s;
  -o-transition: all 0.4s, max-height 1.5s;
  -moz-transition: all 0.4s, max-height 1.5s;
  transition: all 0.4s, max-height 1.5s;
  padding-top: 18px;
  margin-top: 8px;
}
.rs-team-grid .team-item:hover .team-content:after {
  width: 100%;
}

.team-grid-style1 .team-item .image-wrap .social-icons {
  position: absolute;
  height: 39px;
  background-color: #EA5501;
  border-radius: 2px 0px 0px 2px;
  right: -108px;
  top: 65px;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.team-grid-style1 .team-item .image-wrap img {
  width: 100%;
}
.team-grid-style1 .team-item:hover .image-wrap .social-icons {
  right: 0;
}
.team-grid-style1.clip-path-enable .team-item .image-wrap {
  clip-path: polygon(0% 0%, 88% 0, 100% 10%, 100% 100%, 0% 100%) !important;
}

.team-grid-style2 .team-item .image-wrap .social-icons {
  position: absolute;
  height: 39px;
  background-color: #EA5501;
  border-radius: 2px 0px 0px 2px;
  left: 50%;
  bottom: -8px;
  transform: translate(-50%, 0px);
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.team-grid-style2 .team-item:hover .image-wrap .social-icons {
  bottom: 31px;
}
.team-grid-style2 .team-item:hover .image-wrap img {
  transform: scale(1.1);
}

.team-grid-style3 .team-item .team-content {
  transition: all 0.5s ease;
}
.team-grid-style3 .team-item .team-content:after {
  display: none;
}
.team-grid-style3 .team-item .image-wrap img {
  transform: unset;
}
.team-grid-style3 .team-item .social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-grid-style3 .team-item .social-icons .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 5px;
  transition: all 0.5s ease;
}
.team-grid-style3 .team-item .social-icons .social-icon svg {
  width: 18px;
  height: 18px;
}
.team-grid-style3 .team-item:hover .image-wrap .social-icons {
  bottom: 31px;
}
.team-grid-style3 .team-item:hover .image-wrap img {
  transform: scale(1);
}
.team-grid-style3 .team-item:hover .team-content {
  transform: translate(-50%, -10px);
}

.rspopup_style1 .rs-social-icons .social-icons1 {
  display: flex;
}
.rspopup_style1 .rs-social-icons .social-icons1 .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.edge-contact-bar {
  position: absolute;
  right: 0;
  top: 120px;
  width: 420px; /* Daha büyük alan tanımla */
  height: 120px;
}

.edge-contact-btn {
  position: absolute;
  right: 0;
  width: 44px;
  height: 48px;
  background: #1864ab;
  border-radius: 12px 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  transition: width 0.38s cubic-bezier(0.57,0.09,0.45,1.2), box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(24,100,171,0.13);
  z-index: 2;
 padding-left: 10px; 
  box-sizing: border-box;
}


.phone-btn { top: 0; }
.mail-btn  { top: 62px; }

.edge-contact-btn i {
  font-size: 22px;
  color: #fff !important;
  margin-left: 10px;  /* azaltıldı */
  margin-right: 8px;
  min-width: 22px;
}

.edge-contact-btn:hover,
.edge-contact-btn:focus {
  width: auto;  /* Otomatik genişlik! */
  min-width: 44px;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(24,100,171,0.20);
}


.edge-contact-btn .edge-contact-label {
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  margin-right: 5px;

  font-size: 16px;
  color: #fff !important; 
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.22s, max-width 0.42s, margin-left 0.28s;
}
.edge-contact-label {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important; /* iOS & Safari için */
  -webkit-tap-highlight-color: transparent;
}
.edge-contact-btn:hover .edge-contact-label,
.edge-contact-btn:focus .edge-contact-label {
  opacity: 1;
  max-width: 340px; /* Ana barı taşma! */
  margin-left: 4px;
}
@media (max-width: 1299px) {
  .edge-contact-bar {
    top: 32px;     /* veya padding-top: 0 !important; */
  }
  .edge-contact-btn:hover .edge-contact-label,
.edge-contact-btn:focus .edge-contact-label {
  font-size: 10px;
  color:#fff!important;
}

}

/* Daha küçük ekranlarda daha çok yukarı */
@media (max-width: 900px) {
  .edge-contact-bar {
    top: 32px;  
    
    font-size: 16px;
    color:#fff !important;

    /* veya padding-top: 0 !important; */
  }
}