/* Override theme colors for team section */
.team-one .team-one__single,
.team-one .team-one__img-box,
.team-one .team-one__img {
  --moniz-primary: #ffffff !important;
  --moniz-primary-rgb: 255, 255, 255 !important;
}

body {
  padding: 50px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

/* Language Switcher Styles */
.language-switcher {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

.language-switcher .current-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}

.language-switcher .current-lang:hover {
  background: #f5f5f5;
  border-color: #e21f27;
}

.language-switcher .current-lang img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.language-switcher .lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher .lang-dropdown li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #f0f0f0;
}

.language-switcher .lang-dropdown li:last-child {
  border-bottom: none;
}

.language-switcher .lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease;
  font-size: 14px;
}

.language-switcher .lang-dropdown a:hover {
  background: #f5f5f5;
  color: #e21f27;
}

.language-switcher .lang-dropdown img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

/* Hide Google Translate toolbar */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

#google_translate_element {
  display: none !important;
}

/* Team Section Styles */
.team-one {
  padding: 80px 0;
  background: #f8f9fa;
}

.team-one__single {
  background: transparent !important;
  border-radius: 10px;
  overflow: visible !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  border: none;
}

.team-one__single * {
  background: transparent !important;
}

.team-one__single .team-one__content {
  background: #fff !important;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.team-one__single:hover {
  transform: translateY(-10px);
}

.team-one__single:hover .team-one__content {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-one__img-box {
  position: relative;
  overflow: hidden;
  height: 350px;
  background: transparent !important;
  background-image: none !important;
  border-radius: 10px !important;
  padding: 0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
}

.team-one__img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent !important;
  background-image: none !important;
  border-radius: 10px !important;
}

/* Kill any decorative pseudo-elements that might paint red backgrounds */
.team-one__img::before,
.team-one__img::after,
.team-one__img-box::before,
.team-one__img-box::after {
  content: none !important;
  background: none !important;
  background-image: none !important;
}

.team-one__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  border-radius: 10px !important;
}

.team-one__single:hover .team-one__img img {
  transform: scale(1.05);
}

.team-one__content {
  padding: 25px 20px;
  text-align: center;
}

.team-one__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.team-one__name a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-one__name a:hover {
  color: #e21f27;
}

.team-one__designation {
  font-size: 14px;
  color: #e21f27;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-one__expertise {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  font-style: italic;
}

/* Responsive */
@media (max-width: 991px) {
  .team-one__img-box {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .team-one {
    padding: 60px 0;
  }
  
  .team-one__img-box {
    height: 220px;
  }
  
  .team-one__content {
    padding: 20px 15px;
  }
}
