:root {
  --logo-color: #215540;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 50px;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  width: 100%;
}
.logo {
  font-size: 40px;
  color: var(--logo-color);
  font-weight: bold;
  text-decoration: none;
}
.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
}
.menu-link {
  text-decoration: none;
  color: #595959;
  font-size: 25px;
  font-weight: 400;
  white-space: nowrap;
}
.desktop-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 23px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}
.burger-btn span {
  display: block;
  width: 100%;
  height: 4px;
  background: #215540;
  transition: 0.3s ease-in-out;
}
.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger-btn.active span:nth-child(2) {
  opacity: 0;
}
.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  padding: 100px 30px 30px;
  z-index: 5;
}
.mobile-menu.active {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.mobile-link {
  font-size: 22px;
  color: #595959;
  text-decoration: none;
}
.mobile-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-icons svg{
  display: none;
}
.mobile-icons span{
  color: #595959;
  font-size: 22px;
}
.mobile-icon-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #000;
  text-decoration: none;
}

@media (max-width: 992px) {
  .menu,
  .desktop-icons {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .mobile-icons svg {
    display: none;
  }
  .mobile-icon-link {
    font-size: 18px;
    color: #595959;
  }
}
@media (max-width: 768px) {
  .header {
    padding: 20px 30px;
  }
  .logo {
    font-size: 32px;
  }
  .mobile-menu {
    width: 60%;
    padding: 80px 20px 20px;
  }
  .mobile-link {
    font-size: 20px;
  }
  .mobile-icon-link span {
    font-size: 20px;
  }
  .mobile-icons svg {
    display: none;
  }
  .mobile-nav {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 15px 20px;
  }
  .logo {
    font-size: 40px;
  }
  .mobile-link {
    font-size: 18px;
  }
  .mobile-icons {
    gap: 20px;
  }
  .mobile-icon-link span {
    font-size: 18px;
  }
}


/* Стилизация секции about */
.about-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: clamp(40px, 8vw, 80px) 20px;
  background-color: #f8f9fa;
}

.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 1440px;
  width: 100%;
}

.about-title {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: clamp(10px, 2vw, 20px);
  color: #000;
  text-align: center;
  white-space: nowrap;
}

.about-desc {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 300;
  max-width: 702px;
  text-align: center;
  line-height: 1.5;
  color: #333;
}

/* Стилизация секции преимущества */
.advantages-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: clamp(40px, 8vw, 80px) 20px;
  background: #215540;
}

.advantages-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1440px;
  width: 100%;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
}

.item-title {
  color: #fff;
  font-size: clamp(24px, 5vw, 40px);
  margin-bottom: 10px;
  font-weight: 600;
}

.item-desc {
  font-size: clamp(16px, 3vw, 25px);
  font-weight: 300;
  color: #fff;
  text-align: center;
}

@media (max-width: 768px) {
  .advantages-container {
    gap: 40px;
  }

  .advantage-item {
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .about-section,
  .advantages-section {
    padding: 50px 20px;
  }

  .advantages-container {
    flex-direction: column;
    gap: 30px;
  }

  .advantage-item {
    width: 100%;
  }

  .item-title {
    margin-bottom: 5px;
  }
}

/* Стилизация команды */
.team-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 50px);
  background-color: #fff;
}

.team-title {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: clamp(30px, 5vw, 60px);
  color: #000;
  text-align: center;
  width: 100%;
  max-width: 1440px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 50px);
  max-width: 1440px;
  width: 100%;
}

.team-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 350px;
  transition: transform 0.3s ease;
}

.team-item:hover {
  transform: translateY(-5px);
}

.team-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 50%;
  margin-bottom: clamp(20px, 3vw, 40px);
  object-fit: cover;
  aspect-ratio: 1/1;
}

.team-item-title {
  font-size: clamp(20px, 3vw, 25px);
  margin-bottom: clamp(10px, 2vw, 15px);
  text-align: center;
  color: #333;
}

.team-item-desc {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 300;
  text-align: center;
  color: #555;
  line-height: 1.4;
}

/* Стилизация ценностей */
.worth-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 50px);
  background: #f3f4f6;
}

.worth-title {
  font-size: clamp(28px, 5vw, 40px);
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 50px);
  color: #000;
  width: 100%;
  max-width: 1440px;
}

.worth-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 30px);
  max-width: 1440px;
  width: 100%;
}

.worth-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(25% - 30px);
  min-width: 290px;
  background: #fff;
  padding: clamp(25px, 3vw, 35px) clamp(15px, 2vw, 25px);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.worth-item::before {
  position: absolute;
  content: "";
  width: 60%;
  background-color: #215540;
  height: 4px;
  bottom: 10%;
  left: 20%;
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  z-index: 2;
}

.worth-item:hover::before {
  transform: scaleX(1);
}

.worth-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.worth-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.worth-item-title {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: clamp(10px, 2vw, 17px);
  color: #000;
  text-align: center;
}

.worth-item-desc {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 300;
  color: #555;
  text-align: center;
  line-height: 1.4;
}
@media (max-width:1300px){
  .team-container{
    justify-content: center;
  }
}
@media (max-width: 1024px) {
  .worth-item {
      width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .team-container {
      flex-direction: column;
      align-items: center;
  }
  
  .team-item {
      max-width: 100%;
  }
  .worth-container{
    justify-content: center;
  }
  
  .worth-item {
      width: 100%;
      max-width: 350px;
  }
  
  .worth-item::before {
      height: 3px;
  }
}

@media (max-width: 480px) {
  .worth-item::before {
      height: 2px;
      width: 50%;
      left: 25%;
  }
  
  .worth-item:hover {
      transform: none;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }
}

@media (max-width: 480px) {
  .team-container,
  .worth-container {
    grid-template-columns: 1fr;
  }

  .team-item img {
    max-width: 200px;
  }

  .worth-item {
    max-width: 100%;
  }
  .worth-item::before {
    height: 2px;
    width: 50%;
    left: 25%;
  }

  .worth-item:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }
}

/* Стилизация сертификатов */

.sertificate-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 50px);
  background-color: #fff;
}

.sertificate-title {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: clamp(40px, 8vw, 120px);
  color: #000;
  text-align: center;
  width: 100%;
  max-width: 1440px;
}

.sertificate-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 40px);
  max-width: 1440px;
  width: 100%;
}

.sertificate-item {
  display: flex;
  flex-direction: column;
  width: calc(33.333% - 40px);
  min-width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: clamp(20px, 3vw, 32px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sertificate-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.sertificate-item img {
  width: 100%;
  height: auto;
  margin-bottom: clamp(15px, 2vw, 18px);
  border-radius: 5px;
  object-fit: cover;
}

.sertificate-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.sertificate-item-title {
  font-size: clamp(16px, 2vw, 18px);
  margin-bottom: 5px;
  color: #333;
  font-weight: 600;
}

.sertificate-item-desc {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 300;
  color: #555;
  line-height: 1.4;
}

@media (max-width:1100px) {
  .sertificate-container{
    justify-content: center;
  }
  
}
@media (max-width: 1024px) {
  .sertificate-item {
      width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .sertificate-item {
      width: 100%;
      max-width: 400px;
  }
  
  .sertificate-text {
      align-items: center;
      text-align: center;
  }
}
/* Стилизация подвала */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: clamp(40px, 8vw, 90px) clamp(20px, 4vw, 50px) 26px;
  background-color: #002717;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1440px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 60px);
  margin-bottom: clamp(40px, 6vw, 90px);
}

/* Блоки подвала */
.logo-block,
.footer-contacts,
.time-work {
  min-width: 250px;
  max-width: 420px;
}

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: #fff;
  position: relative;
  display: inline-block;
}

.logo-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-contacts,
.time-work {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vw, 12px);
}

.block-title {
  color: #fff;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 300;
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-contact-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.8);
  transition: all 0.3s ease;
}

.time-work p {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-line {
  width: 100%;
  max-width: 1440px;
  height: 1px;
  background: rgba(33, 85, 64, 0.5);
  margin-bottom: clamp(15px, 3vw, 22px);
}

.copyright {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: start;
  }

  .logo-block,
  .footer-contacts,
  .time-work {
    max-width: 100%;
  }
}
