@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*, *::before, *::after{
   box-sizing: border-box;
   padding: 0;
   margin: 0;
}

/* general styles start */


body{
   color: #000;
   font-family: 'Manrope';
}

.container{
   max-width: 1280px;
   margin: 0 auto;
}

.section__title {
   text-align: center;
   font-size: 2.5rem;
   font-weight: 700;
   margin-bottom: 3rem;
   color: #333;
}


.section__title-highlight {
   color: #149c9c;
}

/* general styles end */

/* header start */

.header {
  position: relative;
  z-index: 1000;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-container {
  padding: 10px 3px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo__link {
  text-decoration: none;
}

.logo {
  width: 125px;
  transition: width 0.3s ease;
}

.logo__img {
  width: 100%;
}

.menu {
  position: fixed;
  top: 66px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: white;
  transition: all 0.3s ease;
  padding: 20px 0;
  overflow-y: auto;
  z-index: 1000;
}

.menu.active {
  left: 0;
}

.menu-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list__item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.menu-list__link {
  text-decoration: none;
  color: black;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  transition: 0.25s;
}

.menu-list__link span {
  margin-right: 5px;
}

.menu-list__link-arrow {
  width: 10px;
  height: 10px;
  transition: 0.3s;
}

.menu-list__link:hover {
  color: #19c0c0;
}

.menu-list__item.active > .menu-list__link .menu-list__link-arrow {
  transform: rotate(180deg);
}

.menu-list-submenu {
  position: static;
  background-color: #f8f8f8;
  list-style: none;
  width: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  padding: 0;
}

.menu-list-submenu__item {
  display: block;
}

.menu-list-submenu__link {
  display: block;
  padding: 12px 20px 12px 35px;
  color: black;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease-in-out;
}

.menu-list-submenu__link:hover {
  background-color: #f0f0f0;
  color: #19c0c0;
}

.menu-list__item.active > .menu-list-submenu {
  display: block;
  opacity: 1;
}

/* Burger menu styles */
.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Desktop language selector */
.desktop-language-selector {
  position: relative;
  display: block;
  z-index: 1001;
}

.language-toggle {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
  padding: 10px;
  cursor: pointer;
}

.language-toggle span {
  margin-right: 5px;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  list-style: none;
  min-width: 80px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
  padding: 5px 0;
}

.language-dropdown li {
  display: block;
}

.language-dropdown a {
  display: block;
  padding: 8px 15px;
  color: black;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.language-dropdown a:hover {
  background-color: #f0f0f0;
  color: #19c0c0;
}

.desktop-language-selector:hover .language-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.active-language {
  color: #19c0c0 !important;
}

.no-scroll {
  overflow: hidden;
  height: 100vh; 
}

/* header end */


/* Contact Form Styles */
.contacts {
  padding: 3rem 1rem;
  background-color: #fff;
}

.contacts__wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contacts__form {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.contacts__form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contacts__form-group {
  margin-bottom: 1.5rem;
}

.contacts__form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.contacts__form-input,
.contacts__form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contacts__form-input:focus,
.contacts__form-textarea:focus {
  outline: none;
  border-color: #19c0c0;
  box-shadow: 0 0 0 3px rgba(25, 192, 192, 0.1);
}

.contacts__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contacts__form-submit {
  background-color: #149c9c;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  display: block;
  width: 100%;
}

.contacts__form-submit:hover {
  background-color: #19c0c0;
  transform: translateY(-2px);
}

.contacts__form-submit:active {
  transform: translateY(0);
}

/* contacts end */

/* Footer start */
.footer {
   background-color: #222;
   color: #fff;
   padding: 4rem 1rem 2rem;
 }
 
 .footer__content {
   display: grid;
   grid-template-columns: 1fr;
   gap: 2.5rem;
   margin-bottom: 2rem;
 }
 
 .footer__column--info {
   max-width: 100%;
 }
 
 .footer__logo {
   margin-bottom: 1.5rem;
 }
 
 .footer__logo-img {
   width: 120px;
   height: auto;
 }
 
 .footer__description {
   color: #ccc;
   line-height: 1.6;
   margin-bottom: 1.5rem;
   font-size: 0.95rem;
 }
 
 .footer__social {
   display: flex;
   gap: 1rem;
 }
 
 .footer__social-link {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background-color: rgba(255, 255, 255, 0.1);
   transition: all 0.3s ease;
 }
 
 .footer__social-link:hover {
   background-color: #149c9c;
   transform: translateY(-3px);
 }
 
 .footer__social-icon {
   fill: none;
   stroke: #fff;
   stroke-width: 2;
   stroke-linecap: round;
   stroke-linejoin: round;
 }
 
 .footer__heading {
   color: #fff;
   font-size: 1.25rem;
   font-weight: 600;
   margin-bottom: 1.25rem;
   position: relative;
   padding-bottom: 0.75rem;
 }
 
 .footer__heading:after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 50px;
   height: 3px;
   background-color: #149c9c;
 }
 
 .footer__list {
   list-style: none;
 }
 
 .footer__list-item {
   margin-bottom: 0.75rem;
 }
 
 .footer__list-link {
   color: #ccc;
   text-decoration: none;
   transition: color 0.3s ease;
   font-size: 0.95rem;
   display: inline-block;
 }
 
 .footer__list-link:hover {
   color: #19c0c0;
   transform: translateX(3px);
 }
 
 .footer__list-item--contact {
   display: flex;
   align-items: flex-start;
   gap: 0.75rem;
   margin-bottom: 1rem;
 }
 
 .footer__contact-icon {
   fill: none;
   stroke: #149c9c;
   stroke-width: 2;
   stroke-linecap: round;
   stroke-linejoin: round;
   flex-shrink: 0;
   margin-top: 3px;
 }
 
 .footer__bottom {
   padding-top: 2rem;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1rem;
 }
 
 .footer__copyright {
   color: #999;
   font-size: 0.9rem;
   text-align: center;
 }
 
 .footer__legal {
   display: flex;
   gap: 1.5rem;
 }
 
 .footer__legal-link {
   color: #999;
   text-decoration: none;
   font-size: 0.9rem;
   transition: color 0.3s ease;
 }
 
 .footer__legal-link:hover {
   color: #19c0c0;
 }
 
 /* footer end */


 @media screen and (min-width: 769px) {
  .menu {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
    overflow: visible;
  }
  
  .burger-menu {
    display: none;
  }
  
  .menu-list {
    flex-direction: row;
    align-items: center;
  }
  
  .menu-list__item {
    width: auto;
    flex-direction: row;
  }
  
  .menu-list__link {
    padding: 10px 15px;
  }
  
  .menu-list-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: auto;
    min-width: 180px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
  }
  
  .menu-list-submenu__link {
    padding: 12px 20px;
  }
  
  .menu-list__item:hover > .menu-list-submenu {
    display: block;
    opacity: 1;
  }
  
  /* Hide language item in desktop menu */
  .language-item {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .logo {
    width: 90px;
  }

  .desktop-language-selector {
    display: none;
  }

  .language-item {
    display: flex;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 10px;
  }

  /* Add these new rules */
  .language-item .menu-list__link {
    width: 100%;
    justify-content: space-between;
  }

  .language-item.active .menu-list-submenu {
    display: block;
    opacity: 1;
    position: static;
    background-color: #f8f8f8;
    width: 100%;
  }

  .language-item .menu-list-submenu__link {
    padding: 12px 20px 12px 35px;
  }
}

 @media (min-width: 768px) {
  .contacts__form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .contacts__form-submit {
    width: auto;
    margin-left: auto;
  }

  .footer__content {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer__copyright {
    text-align: left;
  }
}

 @media (min-width: 576px) {
   .footer__content {
     grid-template-columns: repeat(2, 1fr);
   }
 }
 
 @media (min-width: 992px) {
   .footer__content {
     grid-template-columns: 2fr 1fr 1fr 1.5fr;
   }
 }
 
 @media (min-width: 1200px) {
   .footer {
     padding: 5rem 1rem 2rem;
   }
   
   .footer__content {
     gap: 3rem;
   }
 }

 @media (max-width: 660px){
    .section__title{
      font-size: 2rem;
      margin-bottom: 1.5rem;
    }
 }