body {
  font-family: "Segoe UI", system-ui, Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: #f7f9fc;
  color: #333;
}

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

.button {
  display: inline-block;
  background-color: #003366;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #0055aa;
}

h2 {
  color: #003366;
  margin-bottom: 20px;
  text-align: center;
}

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

.main-header {
  background-image: url('images/vovatek-header.jpg');
  background-size: cover;
  background-position: center;
  height: 0;
  padding-top: 39%;
  position: relative;
  color: white;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5vw 3vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1vw;
}

.logo {
  width: clamp(139px, 22vw, 360px);
}

.nav {
  position: relative;
  margin-right: 4vw;
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  justify-content: space-around;
}

.nav-list li a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-list li a:hover {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

.header-center {
  position: absolute;
  top: 74%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.slogan {
  font-family: 'Arial Black', Gadget, sans-serif;
  font-size: 3vw;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

#language-switch {
  position: absolute;
  top: 6px;
  right: 16px;
  display: flex;
  font-size: 22px;
  z-index: 1000;
  gap: 4px;
}

#language-switch span {
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#language-switch span:hover {
  opacity: 1;
  transform: scale(1.2);
}

#language-switch span img {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 50%;
  border: 1px solid transparent;
}

#language-switch .active img {
  border-color: white;
}

.intro,
.team-section {
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
  padding: 20px 40px;
}

.intro h2 {
  color: #003366;
  margin-bottom: 16px;
}

.intro p {
  font-size: 1rem;
  line-height: 1.6;
  margin: auto;
  margin-bottom: 20px;
  text-align: justify;
}

.products {
  background-color: #f9f9f9;
  padding: 20px;
}

.products .container {
  background-color: #fff;
}

.products h2 {
  text-align: center;
  color: #003366;
  padding-top: 20px;
}

.product-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
  padding: 20px;
}

.product-img img {
  max-width: 256px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-info {
  flex: 1;
}

.product-info h3 {
  color: #003366;
  margin-bottom: 10px;
}

.product-info h4 {
  margin-bottom: 6px;
}

.product-info p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #444;
  text-align: justify;
}

.services {
  padding-bottom: 20px;
}

.values-grid,
.whatwedo-grid,
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 0 20px;
  max-width: 1200px;
  margin: auto;
}

.box {
  flex: 1 1 calc(33.333% - 64px);
  background-color: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.box h4 {
  margin-bottom: 12px;
  color: #003366;
  font-size: 1.2rem;
}

.box p {
  text-align: justify;
}

.team-section p {
  max-width: 800px;
  margin: auto;
  text-align: justify;
}

.contact-section {
  text-align: center;
  padding: 40px 20px;
}

.cta-section {
  background-color: #003366;
  color: white;
  padding: 60px 20px;
}

.cta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  text-align: center;
}

.cta-box {
  flex: 1 1 280px;
  background-color: #0055aa;
  border-radius: 8px;
  padding: 24px;
}

.cta-box h4 {
  margin-bottom: 10px;
}

.cta-box a {
  display: inline-block;
  margin-top: 10px;
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 4px;
}

.footer {
  background-color: #0f1c2e;
  color: #ffffff;
  padding: 20px;
  font-size: 0.79rem;
}

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

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0;
}

.footer-logo-img {
  margin-top: 1.33em;
  max-width: 150px;
  opacity: 0.9;
}

.footer-slogan {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 8px;
  font-style: italic;
}

.footer h4,
.footer h5 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer p,
.footer a,
.footer li {
  color: #cccccc;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #888;
}

.contact-info p {
  margin: 8px 0;
  font-size: 1rem;
}

.contact-icons {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.icon-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
}

.circle,
.circle-fill {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.8);
  animation: pulse 2s infinite;
}

.circle-fill {
  animation-delay: 1s;
  background-color: rgba(37, 211, 102, 0.6);
}

.icon {
  position: absolute;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon img {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .box {
    flex: 1 1 calc(50% - 64px);
  }
}

/* < 768px (mobile) */
@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
  }

  .main-header {
    padding-top: 47%;
  }

  .nav {
    margin-right: 0;
    padding-top: 12px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 51, 102, 0.8);
    position: absolute;
    right: 0;
    top: 37px;
    padding: 6px 16px;
    border-radius: 6px;
  }

  .nav-list li {
    display: inline-block;
    white-space: nowrap;
    padding: 8px 0;
    width: 100%;
  }

  .nav-list.show {
    display: inline-block;
    z-index: 999;
  }

  .nav-list li a {
    font-size: 1rem;
    display: inline-block;
    width: 100%;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
  }

  .slogan {
    font-size: 1.3rem;
  }

  .header-center {
    top: 66%;
    transform: translateX(-50%);
  }

  .intro h2 {
    font-size: 1.5rem;
  }

  .intro p {
    font-size: 0.95rem;
    text-align: left;
  }

  .box {
    flex: 1 1 100%;
  }

  .product-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-info {
    max-width: 100%;
  }

  .footer-columns {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
  }

  .footer {
    text-align: left;
  }
}