* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #f8f9fa;
  padding: 20px;
}

@media (min-width: 990px) {
  .logo {
    right: 60px;
  }
}

.header {
  background-color: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  z-index: 10000;
  position: fixed;
  width: 1150px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1100px;
}

.container {
  max-width: 1180px;
  margin: auto;
}

.armenian-flag-text p {
  font-weight: bold;
  font-size: 20px;
}

.armenian-flag-text:hover {
  transform: scale(1.07);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  top: 7px;
  position: relative;
  color: var(--text-color);
}
.logo a {
  text-decoration: none; /* Убираем подчеркивание */
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  color: var(--color-text);
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}
.nav {
  display: flex;
  gap: 20px;
  justify-content: center; /* Центрируем элементы по горизонтали */
  position: relative;
}

.nav a {
  text-decoration: none;
  color: var(--color-text); /* Цвет текста */
  font-size: 18px;
  font-weight: bold;
  padding: 10px 85px;
  border-radius: 5px;
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}

.nav a:hover {
  color: #007bff; /* Меняем цвет при наведении */
  transform: scale(1.1); /* Чуть увеличиваем */
}
/* FILTERS */
.armenian-flag-text {
  display: flex;
  justify-content: center; /* Центрирует элементы по горизонтали */
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 120px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  border: var(--border-color);
}
.filters {
  display: flex;
  justify-content: center; /* Центрирует элементы по горизонтали */
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  border: var(--border-color);
}

.filter-link {
  text-decoration: none; /* Убираем подчеркивание */
  color: var(--color-text); /* Цвет текста */
  font-weight: bold;
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}

.filter-link h4 {
  margin: 0;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: left;
}

.filter-link:hover {
  color: #007bff; /* Синий цвет при наведении */
  transform: scale(1.1); /* Увеличение */
}
.filter-group h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555;
}

.filter-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.top-left-logo {
  max-width: 100px;
  border-radius: 10px;
  display: block;
  width: 150px;
  height: auto;
}

/* dropdown.css */
.dropdown-container {
  font-size: 18px;
  position: relative;
  font-weight: bold;
  display: inline-block;
  top: -10px;
}

.dropdown-button {
  border: none;
  padding: 10px 16px;
  top: 7px;
  cursor: pointer;
  border-radius: 8px;

  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
  overflow: hidden;
  position: relative;
}
.dropdown-button.active {
  color: #f58220;
}

.dropdown-button:active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: splash 0.4s ease-out;
  pointer-events: none;
  z-index: 1;
}

@keyframes splash {
  to {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.triangle {
  display: inline-block;
  transition: transform 0.3s ease;
}

.triangle.rotated {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  opacity: 0;
  position: absolute;
  background-color: #ffffff;
  min-width: 360px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 999;
  top: 100%;
  left: 0;
  padding: 10px 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  transform: scale(0.95);
}

.dropdown-content.show {
  display: block;
  opacity: 1;
  transform: scale(1);
  background-color: var(--dropdown-color);
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
}

.service-item:hover {
  background-color: #f0f0f0; /* Background color on hover */
}

/* Change plus color when service-item is hovered */
.service-item:hover .plus {
  color: #f58220; /* Desired color for plus on hover */
}

/* langauge switcher */

.dropdown-fixed {
  position: fixed;
  top: 68px; /* distance from top */
  right: 20px; /* distance from right */
  z-index: 1000; /* stay on top of other elements */
}

.dropdown-toggle {
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: -100px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 6px 12px;
}

.dropdown-menu li a {
  text-decoration: none;
  color: black;
}

.dropdown-menu li a:hover {
  background-color: #eee;
}
.service-item {
  padding: 16px 20px;
}

/* request form */

.request-form {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #ff4d4d; /* Красный цвет */
  text-decoration: none;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease-in-out;
}

.request-form:hover {
  opacity: 0.8;
}

.request-form:hover {
  opacity: 0.8;
}

.arrow {
  top: 3px;
  position: relative;
}
.theme-switch-wrapper {
  top: 40px !important;
}
@media (max-width: 1210px) {
  .theme-switch-wrapper {
    top: 5px !important;
    right: -8px !important;
    margin-right: 15px;
  }
  .dropdown {
    top: 35px !important;
    right: 10px !important;
  }
}

.p-4 {
  margin-top: 130px;
}

@media (max-width: 1230px) {
  .armenian-flag-text {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .header {
    display: grid !important;
    justify-content: center;
    width: auto;
    position: relative;
    box-shadow: none;
    border: 0;
  }
  .armenian-flag-text {
    margin-top: 0px;
  }

  .nav {
    display: grid !important;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 20px 0;
    border: var(--border-color);
    width: 300px;
  }
  .dropdown-content {
    left: -30px;
  }

  .dropdown-button {
    display: grid !important;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 20px 0;
    border: var(--border-color);
    width: 300px;
  }

  .dropdown-menu {
    left: -100px !important;
  }

  .theme-switch-wrapper {
    right: 20px !important;
  }

  .dropdown {
    right: 30px !important;
    top: 45px !important;
  }

  .top-left-logo {
    left: 100px;
    position: relative;
  }

  .logo {
    left: 100px;
    display: flex;
  }

  .filters {
    display: grid !important;
  }
  .theme-switch {
    display: block;
    margin: 10px auto 20px;
  }
  .dropdown {
    display: block;
    margin: 0 auto -5px;
  }
  .dropdown-menu {
    left: -40px;
  }
}

/* dropdown window */
.title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  color: #000;
}

.plus {
  font-weight: bold;
  font-size: 18px;
  color: #000;
}

.service-title {
  font-size: 18px;
  right: 30px;
  position: relative;
}

.service-description {
  margin-top: 4px;
  font-size: 12px;
  font-weight: normal;
  color: #333;
}

.dropdown-divider {
  width: 100%;
  height: 1px;
  background-color: #ddd;
  margin-top: 8px;
  display: none; /* hidden by default */
}

.dropdown-divider.show {
  display: block;
}
