body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5f5f5;
}

header {
  background: linear-gradient(45deg, teal, lightblue);
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  margin-right: 10px;
  animation: rotateLogo 5s linear infinite;
}

@keyframes rotateLogo {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

.company-name {
  font-size: 24px;
  font-weight: bold;
  color: white;
  position: relative;
  overflow: hidden;
  height: 40px;
}

.company-name svg {
  width: 100%;
  height: 100%;
}

.company-name svg text {
  fill: none;
  stroke: white;
  stroke-width: 1;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawText 5s forwards;
}

@keyframes drawText {
  to { stroke-dashoffset: 0; }
}

.menu-container {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: 20px;
  z-index: 1001;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  border-radius: 5px;
  transition: 0.4s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: white;
  bottom: -4px;
  left: 0;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.scrolling-ad {
  width: 100%;
  background: palegoldenrod;
  color: gold;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  padding: 5px 0;
}

.scrolling-ad p {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 20s linear infinite;
  font-weight: bold;
}

@keyframes scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.icons {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icons a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 5px;
}

.icons a span {
  margin-left: 5px;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: teal;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1001;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
}
