/* Загальні налаштування */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
}

.site-header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  margin-right: 10px;
}
.logo-text {
  font-size: 1.5rem;
  color: #333;
  font-weight: bold;
}
p span {
  color: rgb(75, 125, 89);
  font-size: 2rem;
}
.main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li {
  margin: 0 10px;
}
.main-nav li a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  text-transform: capitalize;
  position: relative;
}

.main-nav li a:hover {
  color: #0077cc;
}
.main-nav li a::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0%;
  height: 3px;
  background: #0077cc;
  transition: all 0.5s;
}
.main-nav li a:hover::before {
  width: 100%;
}
.language-switcher {
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
}

.lang-dropdown li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.lang-dropdown li a:hover {
  background-color: #dddddd;
}

.lang-dropdown.show {
  display: block;
}

/* Основний контент */
main {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Секції в середині */
.main-h {
  text-align: center;
  color: #2563eb;
}
section {
  padding: 20px;
}

section h3 {
  color: #2563eb;
  margin-top: 0;
}
h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #2563eb;
}
/* Футер */
.site-footer {
  background: #333;
  color: #fff;
  padding: 30px 20px 10px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}
.email {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}
.footer-links{
  margin-right: 5vw;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #555;
  padding-top: 10px;
}
.menu-toggle {
  display: none;
}
@media (max-width: 645px) {
.main-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background-color: white;
  padding: 1rem;
  position: absolute;
  top: 80px;
  right: 5vw;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav.show {
  display: flex;
}

.menu-toggle {
  display: block;
  background: none;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}
}
