/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #413d3a;
  background-color: #fafafa;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
}

.header__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header__nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header__nav a {
  color: white;
  font-size: 18px;
  transition: opacity 0.3s;
}

.header__nav a:hover {
  opacity: 0.8;
}

/* Language Selector */
.language-selector {
  display: flex;
  gap: 10px;
  margin-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 20px;
}

.language-selector a {
  font-size: 14px;
  padding: 5px 8px;
  border-radius: 4px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}

.language-selector a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.language-selector a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Cover Section */
.cover {
  background-image: url('./img/cover/hero20.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.cover__wrap {
  position: relative;
  z-index: 1;
  color: white;
}

.cover__title {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.cover__text {
  font-size: 18px;
  max-width: 700px;
}

/* Service List Section */
.service-list {
  padding: 80px 0;
}

.service-list__title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 60px;
}

.service-list__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-list__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-list__item img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.service-list__item h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.service-list__item p {
  font-size: 16px;
}

/* Services Page Styles */
.services-cover {
  background-image: url('./img/cover/hero20.jpg');
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
}

.services-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.services-cover__wrap {
  position: relative;
  z-index: 1;
  color: white;
}

.services-cover__title {
  font-size: 42px;
  text-align: center;
}

.services-list {
  padding: 60px 0;
}

.services-list__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-list__item {
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.services-list__item-title {
  display: flex;
  align-items: center;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: bold;
}

.services-list__item-title::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-image: url('./img/services-list/folder.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.services-list__item-text {
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.6;
}

/* About Page Styles */
.about-cover {
  background-image: url('./img/cover/hero20.jpg');
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
}

.about-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.about-cover__wrap {
  position: relative;
  z-index: 1;
  color: white;
}

.about-cover__title {
  font-size: 42px;
  text-align: center;
}

.about {
  padding: 60px 0;
}

.about__text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about__row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
}

.about__contact {
  width: 100%;
}

.about__contact-title {
  font-size: 28px;
  margin-bottom: 20px;
}

.about__contact ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about__contact li {
  font-size: 16px;
  line-height: 1.6;
}

/* Partners Section */
.about__partners {
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.about__section-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.about__partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.about__partner {
  flex: 1;
  min-width: 280px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.about__partner-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.about__partner-info {
  font-size: 16px;
  line-height: 1.5;
}

.about__partner-info a {
  color: #4a7aff;
  text-decoration: none;
  transition: color 0.3s;
}

.about__partner-info a:hover {
  color: #3a67e8;
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #f1f1f1;
  padding: 20px 0;
  text-align: left;
}

.footer .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer__text {
  font-size: 14px;
  color: #666;
}

/* Media Queries */
@media (max-width: 768px) {
  .header__nav {
    gap: 15px;
  }

  .cover__title {
    font-size: 32px;
  }

  .service-list__list {
    grid-template-columns: 1fr;
  }

  .about__map {
    width: 100%;
    margin-bottom: 30px;
  }

  .about__contact {
    width: 100%;
  }

  .language-selector {
    margin-left: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 576px) {
  .header__row {
    flex-direction: column;
    gap: 15px;
  }

  .header__logo {
    margin-bottom: 10px;
  }

  .header__nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .language-selector {
    border-left: none;
    padding-left: 0;
    margin-top: 10px;
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }
}
