.team-technology {
  width: 11.35rem;
  height: 9rem;
  margin: 0.63rem auto 0.35rem;
  background: #0FB14C;
  border-radius: 0.3rem;
  overflow: hidden;
}

.team-technology h1 {
  width: 3.74rem;
  height: 0.59rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: #1b5e34;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.34rem;
  line-height: 0.4rem;
  color: #fff;
}

.team-description {
  width: 9.43rem;
  min-height: 0.6rem;
  margin: 0.3rem auto 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.16rem;
  line-height: 0.2rem;
  color: #FFFFFF;
  text-align: left;
}

.agreement-card {
  position: relative;
  width: 5.21rem;
  height: 6.45rem;
  margin: 0.4rem auto 0.66rem;
  overflow: hidden;
  background: #fff;
  border-radius: 0.24rem;
}

.agreement-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.pdf-expand-button {
  position: absolute;
  top: 0.18rem;
  right: 0.18rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  min-width: 1.72rem;
  height: 0.42rem;
  padding: 0 0.16rem;
  border: 0;
  border-radius: 0.21rem;
  background: #1b5e34;
  box-shadow: 0 0.05rem 0.14rem rgba(0, 57, 20, 0.2);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.14rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pdf-expand-button:hover {
  background: #0fb14c;
  transform: translateY(-1px);
}

.pdf-expand-button:focus-visible,
.pdf-viewer-close:focus-visible {
  outline: 3px solid #8ce4ad;
  outline-offset: 3px;
}

.pdf-expand-icon {
  font-size: 0.2rem;
  line-height: 1;
}

body.pdf-modal-open {
  overflow: hidden;
}

.pdf-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  background: #202420;
}

.pdf-viewer-modal[hidden] {
  display: none;
}

.pdf-viewer-header {
  flex: 0 0 0.64rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  min-height: 56px;
  padding: 0 0.24rem;
  background: #003914;
  color: #fff;
}

.pdf-viewer-header h2 {
  overflow: hidden;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.2rem;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-viewer-close {
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.34rem;
  line-height: 0.42rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pdf-viewer-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.pdf-viewer-modal iframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

.team-contact {
  width: 100%;
  height: 2.59rem;
  padding-top: 0.57rem;
  background: #f3f8f4;
  text-align: center;
}

.team-contact h2 {
  width: 3.37rem;
  height: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: rgba(15, 177, 76, 0.14);
  border-radius: 0.36rem;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.3rem;
  line-height: 0.36rem;
  color: #003914;
}

.team-contact p {
  margin-top: 0.28rem;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.24rem;
  line-height: 0.3rem;
  color: #003914;
}

@media (max-width: 1279px) {
  html {
    font-size: 16px !important;
  }

  body {
    min-width: 0;
  }

  .nav {
    width: calc(100% - 32px) !important;
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px auto 28px;
  }

  .nav .logoTitle {
    width: 100%;
  }

  .nav .logoTitle a {
    width: auto;
    padding: 0;
    font-size: 15px;
    line-height: 18px;
  }

  .nav .logoTitle img {
    width: 42px;
    height: 42px;
    margin-right: 8px;
  }

  .nav .nav_ul {
    order: 3;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav .nav_ul li,
  .nav .nav_ul li.actve {
    flex: 0 0 auto;
    height: 42px;
    margin-right: 0;
    padding: 0 12px;
    border-radius: 21px;
  }

  .nav .nav_ul li a {
    font-size: 14px;
    white-space: nowrap;
  }

  .nav .WhatsApp {
    width: 140px;
    height: 44px;
    border-radius: 22px;
    font-size: 14px;
  }

  .nav .WhatsApp img {
    width: 22px;
    height: 22px;
  }

  .login {
    width: 86px;
    height: 44px;
    border-radius: 22px;
    font-size: 14px;
  }

  .team-technology {
    width: min(92%, 920px);
    height: auto;
    margin: 0 auto 28px;
    padding: 0 28px 36px;
    border-radius: 24px;
  }

  .team-technology h1 {
    width: min(100%, 360px);
    height: 58px;
    font-size: 28px;
    line-height: 34px;
  }

  .team-description {
    width: min(100%, 760px);
    margin-top: 28px;
    font-size: 16px;
    line-height: 24px;
  }

  .agreement-card {
    width: min(100%, 521px);
    height: min(70vh, 645px);
    min-height: 480px;
    margin: 32px auto 0;
    border-radius: 20px;
  }

  .pdf-expand-button {
    top: 16px;
    right: 16px;
    gap: 7px;
    min-width: 154px;
    height: 42px;
    padding: 0 16px;
    border-radius: 21px;
    box-shadow: 0 5px 14px rgba(0, 57, 20, 0.2);
    font-size: 14px;
  }

  .pdf-expand-icon {
    font-size: 20px;
  }

  .pdf-viewer-header {
    flex-basis: 64px;
    padding: 0 20px;
  }

  .pdf-viewer-header h2 {
    font-size: 18px;
  }

  .pdf-viewer-close {
    width: 42px;
    height: 42px;
    font-size: 32px;
    line-height: 42px;
  }

  .team-contact {
    height: auto;
    padding: 48px 24px 54px;
  }

  .team-contact h2 {
    width: min(100%, 337px);
    height: 64px;
    border-radius: 32px;
    font-size: 28px;
    line-height: 34px;
  }

  .team-contact p {
    margin: 24px auto 0;
    font-size: 16px;
    line-height: 24px;
  }

  .footer {
    height: auto;
    padding: 34px 0 28px;
  }

  .footer-content {
    width: calc(100% - 32px);
    flex-wrap: wrap;
    gap: 18px 24px;
    justify-content: center;
    padding-top: 0;
  }

  .footer-content a {
    font-size: 13px;
  }

  .footer-content .logoName {
    order: -1;
    width: 100%;
    justify-content: center;
    font-size: 18px;
  }

  .footer-content .logoName img {
    width: 36px;
    height: 36px;
  }

  .footer .line {
    width: calc(100% - 32px);
    height: 1px;
    margin-top: 24px;
  }

  .footer .Copyright {
    height: auto;
    margin-top: 18px;
    font-size: 13px;
    line-height: 20px;
  }

  .fleld {
    width: calc(100% - 32px) !important;
    max-width: 500px;
    left: 50% !important;
    transform: translateX(-50%);
  }
}

@media (max-width: 560px) {
  .team-technology {
    width: calc(100% - 24px);
    padding: 0 16px 24px;
    border-radius: 18px;
  }

  .team-technology h1 {
    height: 52px;
    font-size: 23px;
  }

  .team-description {
    margin-top: 22px;
    text-align: left;
  }

  .agreement-card {
    min-height: 420px;
    margin-top: 24px;
    border-radius: 16px;
  }

  .pdf-expand-button {
    top: 12px;
    right: 12px;
    min-width: 142px;
    height: 40px;
    padding: 0 14px;
    border-radius: 20px;
    font-size: 13px;
  }

  .pdf-viewer-header {
    flex-basis: 56px;
    padding: 0 12px 0 16px;
  }

  .pdf-viewer-header h2 {
    font-size: 15px;
  }

  .pdf-viewer-close {
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 40px;
  }

  .team-contact {
    padding: 38px 16px 44px;
  }

  .team-contact h2 {
    height: 56px;
    font-size: 24px;
  }

  .footer-content .logoName {
    font-size: 15px;
  }
}
