/* =========================================================
   legacy.css
   Page-specific styles for /legacy
   Split out of the old monolithic style.css. Rule order is
   unchanged from the original file.
   ========================================================= */

.team-single-area .team-content-top {
  background: #ffffff;
  padding: 20px;
  box-shadow: 1px 4px 20px -2px rgb(0 0 0 / 10%) !important;
}
.team-single-area .team-content-top .right-info {
  padding-left: 35px;
  padding-right: 50px;
}
.team-img-p {
  margin-bottom: 1px;
}
@media (max-width: 991px) {
  .team-single-area .team-content-top .right-info {
    padding-left: 12px;
    padding-right: 10px;
  }
  .team-img-p {
    margin-bottom: 20px;
  }
  .team-single-area .team-content-top {
    background: #ffffff;
    padding: 20px;
    box-shadow: 1px 4px 20px -2px rgb(0 0 0 / 10%) !important;
  }
}
.team-single-area .team-content-top .right-info h2 {
  font-weight: 600;
}
.team-single-area .team-content-top .right-info span {
  display: block;
  margin-bottom: 15px;
}
.team-single-area .right-info ul {
  margin-top: 25px;
  border-top: 1px solid #e7e7e7;
  padding-top: 17px;
}
.team-single-area .right-info ul li {
  margin-top: 10px;
  color: #232323;
}
.team-single-area .right-info ul li a {
  font-weight: 400;
}
.team-single-area .right-info ul li a:hover {
  color: #1273eb;
}
.team-single-area .right-info .social {
  display: flex;
  margin-top: 25px;
  font-weight: 600;
  align-items: center;
}
.team-single-area .right-info .social h4 {
  font-weight: 600;
  margin-bottom: 0;
  margin-right: 25px;
}
.team-single-area .right-info .social ul {
  margin: 0;
  padding: 0;
  border: none;
}
.team-single-area .right-info .social .share-link {
  position: relative;
  z-index: 1;
  margin-left: 15px;
}
.team-single-area .right-info .social .share-link > i {
  display: inline-block;
  height: 45px;
  background: #ffffff;
  box-shadow: 0 0 10px #cccccc;
  line-height: 45px;
  width: 45px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  color: #1273eb;
}
.team-single-area .right-info .social ul {
  display: flex;
  list-style-type: none;
  grid-gap: 10px;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in-out 0s;
}
.team-single-area .right-info .social .share-link:hover ul {
  left: 58px;
  opacity: 1;
  pointer-events: auto;
}
.team-single-area .right-info .social ul li {
  display: inline-block;
  margin: 0;
  margin-right: 10px;
}
.team-single-area .right-info .social ul li a {
  display: inline-block;
  height: 45px;
  width: 45px;
  line-height: 47px;
  background: #f1f1f1;
  text-align: center;
  border-radius: 50%;
}
.team-single-area .bottom-info {
  margin-top: 80px;
}
.team-single-area .bottom-info h2 {
  font-weight: 600;
  margin-bottom: 25px;
}
.team-single-area .bottom-info p:last-child {
  margin-bottom: 0;
}
.team-single-area .bottom-info .skill-items {
  padding-left: 35px;
}
.serices-2 .serices-2-item {

}
.serices-2 .serices-2-item .serices-2-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.serices-2 .serices-2-item .serices-2-img img {
  transition: 0.5s;
}
.serices-2 .serices-2-item:hover .serices-2-img img {
  transform: scale(1.2);
}
.serices-2 .serices-2-item .serices-2-img::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: rgba(68, 210, 246, 0.4);
  transition: 0.5s;
}
.serices-2 .serices-2-item:hover .serices-2-img::after {
  width: 100% !important;
  height: 100% !important;
}
.serices-2 .serices-2-item .serices-2-content {
  position: relative;
}
.serices-2 .serices-2-item .serices-2-content::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  background:linear-gradient(to right, #63005d, #01316f);
  transition: 0.5s;
  z-index: 1;
}
.serices-2 .serices-2-item:hover .serices-2-content::after {
  width: 100% !important;
  height: 100% !important;
}
.serices-2 .serices-2-item .serices-2-content .serices-2-content-inner {
  transition: 0.5s;
}
.serices-2 .serices-2-item:hover .serices-2-content .serices-2-content-inner {
  position: relative;
  color: var(--bs-white) !important;
  transition: 0.5s;
  z-index: 2;
}
.serices-2 .serices-2-item:hover .serices-2-content .serices-2-content-inner a.h4 {
  color: var(--bs-white) !important;
  transition: 0.5s;
}
.serices-2 .serices-2-item:hover .serices-2-content .serices-2-content-inner a.h4:hover {
  color: var(--bs-primary) !important;
}
.drop-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease-out;
}
.drop-block i {
  font-size: 40px;
  color: #fff;
  background: linear-gradient(to right, #63005d, #01316f);
  padding: 20px;
  border-radius: 12px;
  flex-shrink: 0;
}
.drop-block h3 {
  margin: 0 0 5px;
  color: #01316f;
}
.drop-block p {
  margin: 0;
  color: #555;
}
.philosophy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.flags-section {
  padding: 30px 20px;
}
.flags-grid {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  column-gap: 60px;
  row-gap: 10px;
  text-align: center;
}
.flag-card img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 8px 8px rgba(0,0,0,0.15));
  transform: perspective(600px) rotateY(-5deg);
}
.flag-card p {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}
