/* Base Styles */
.info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.minInfo {
  max-width: 45vw;
  margin-left: 70px;
  text-align: left;
  line-height: 30px;
  font-family: "Ubuntu", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
}

.mainImage {
  padding: 5px 5px 5px 5px;
  max-width: 45vw;
  padding-right: 5vw;
 
}

/* Count Div Layout */
.countDiv {
  display: flex;
  padding-right: 250px;
  justify-content: space-between;
  margin-left: 200px;
  margin-top: 200px;
}

.counter {
  display: flex;
  flex-direction: column;
  font-size: 5rem;
  font-weight: bold;
  color: white;
}

.sub-countDiv {
  display: flex;
  flex-direction: column;
}

/* Animated Button Styles */
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: greenyellow;
  box-shadow: 0 0 0 2px greenyellow;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: greenyellow;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: greenyellow;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  font-size: 1.7rem;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  transform: scale(0.95);
  box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
  width: 420px;
  height: 220px;
  opacity: 1;
}

.btn-Div {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 5vh;
  margin-bottom: 10vh;
  
}

/* -------------------------------- */
/* Responsive Media Queries */
/* -------------------------------- */

/* For Very Large Screens (1440px and up) */
@media screen and (min-width: 1440px) {
  .minInfo {
    margin-left: 100px;
    font-size: 22px;
  }
  .mainImage {
    margin-right: 200px;
  }
  .countDiv {
    margin-left: 250px;
    margin-top: 250px;
    padding-right: 300px;
  }
  .counter {
    font-size: 6rem;
  }
}



/* For Mobile Devices */
@media screen and (max-width: 768px) {
  .info {
    flex-direction: column;
    text-align: center;
  }
  .minInfo {
    margin: 20px auto;
    text-align: center;
  }
  .mainImage {
    margin: 20px auto;
  }
  .countDiv {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    margin-top: 50px;
    padding-right: 0;
  }
  .counter {
    font-size: 3rem;
  }
  .btn-Div {
  
    max-width: 70vw;
    flex-direction: column;
    margin: auto auto;
  }
  .animated-button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* For Very Small Devices */
@media screen and (max-width: 480px) {
  .minInfo {
    font-size: 1em;
    max-width: 90vw;
    
  }
  .mainImage {
    width: 90%;
    margin: 10px auto;
  }
  .animated-button {
    padding: 10px 20px;
    font-size: 13px;
  }
}
