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

:root {
  --bg: rgb(28, 28, 28);
}

.header img {
  width: 35%;
  padding: 20px 40px 20px 40px;
}

body {
  display: grid;
  place-content: center;
  min-height: 100vh;
  background-image: url("assets/background.png");
  background-color: #1C1C1C;
  background-position: right 0% bottom 60%;
  background-repeat: no-repeat;
  background-size: 70%;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

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

.container-box {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 20px; 
  width: 50%; 
}

.content {
  flex: 1 1 100%;
  margin: 10px 20px 10px 20px;
  padding: 20px;
  color: white;
  background: rgb(28 28 28 / 15%);
  border-radius: 15px;
}

.content h1 {
  font-weight: 700;
  font-size: 3rem;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
}

.content p {
  font-weight: 300;
  font-size: 1.25rem;
  font-family: "Open Sans", sans-serif;
}

.box {
  width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  background-color: #363636;
  margin: 10px;
  padding: 15px;
  border-radius: 15px;
}

.text-box h2 {
  color: white;
  font-weight: 700;
  font-size: 24px;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  line-height: 1.5;
}

.wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  margin-right: 20px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.outer {
  width: 100px;
  height: 100px;
  box-shadow: 0px 0px 0px 0 rgb(8, 8, 8), 0px 0px 0px 2px black;
  border-radius: 50%;
  padding: 10px;
}

.inner {
  width: 80px;
  height: 80px;
  box-shadow: 0px 0px 2px 0 rgb(8, 8, 8), inset 3px 3px 40px black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#number, #number-301, #number-7 {
  color: white;
  font-size: 2rem; 
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

#number-users {
  color: white;
  font-size: 2rem; 
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}


#number-counter-2 {
  color: white;
  font-size: 2rem; 
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

svg {
  width: 100px; 
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
}

circle {
  cx: 50; 
  cy: 50;
  r: 45; 
  fill: none;
  stroke: url(#GradientColor);
  stroke-width: 11px; 
  stroke-linecap: round;
  stroke-dasharray: 628; 
  stroke-dashoffset: 628;
  animation: anim 1s ease forwards;
  transform: rotateZ(-90deg);
  transform-origin: center;
}

@keyframes anim {
  100% {
    stroke-dashoffset: 250; /* Adjust to match new size */
  }
}

.slider {
  background-color: white;
  padding: 2em;
  overflow: hidden;
  margin-top: auto;
}

@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-40%);
  }
}

.logos {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.logos:before, .logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
}

.logo_items {
  display: inline-block;
  animation: 35s slides infinite linear;
}

.logos:hover .logo_items {
  animation-play-state: paused;
}

.logo_items img{
  height: 100px;
  padding-right: 3em;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .container {
    width: 100%;
  }
  .box {
    flex: 1 1 calc(50% - 20px); /* 2 columns on tablet */
  }
  .header img {
    width: 50%; /* Adjust logo size */
  }
}

@media (max-width: 768px) {
  .box {
    flex: 1 1 90%; /* Stack in single column */
    display: flex;
    flex-direction: column;
  }
  .text-box h2 {
    margin-top: 20px;
  }
  .header img {
    width: 70%;
  }
  .container-box {
   width: 100%; /* Make it take full width */
 }

  .wrapper{
    margin-right: 0px;
  }
}

@media (max-width: 480px) {
  .content h1 {
    font-size: 20px; /* Smaller font on mobile */
  }
  .content p {
    font-size: 16px;
  }
  .slider img {
    width: 40px; /* Adjust slider image size */
    height: 40px;
  }
}
