/* Enhanced CSS with professional styling, consistent colors, and smooth animations */

.myanime {
  animation: animate 5s alternate infinite;
}

@keyframes animate {
  100% {
      transform: rotate(360deg);
  }
}

html {
  scroll-behavior: smooth;
}

.toolsection {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #e9ecef 0%, #b8c6db 100%);
  transition: background 0.5s ease;
}

.half-section {
  width: 75%;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
  padding-bottom: 50px;
  border-radius: 12px;
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.half-section:hover {
  transform: translateY(-10px);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 20px;
}

.toolheading {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: center;
  color: #1e2a44;
  background: linear-gradient(to right, #1e90ff, #ff4d4d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  width: 70%;
  text-align: center;
  margin: auto;
  color: #2d3b55;
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

@media (max-width: 710px) {
  .toolsection {
      gap: 50px;
      padding-block: 30px;
  }
  .half-section {
      width: 95%;
  }
}

.toolbox {
  padding-block: 40px;
  width: 60%;
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: center;
  gap: 30px;
  border: 2px solid #1e90ff;
  min-height: 200px;
  border-radius: 20px;
  flex-wrap: wrap;
  padding-inline: 20px;
  background: rgba(30, 144, 255, 0.05);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.toolbox:hover {
  border-color: #ff4d4d;
  background: rgba(255, 77, 77, 0.05);
}

.downloadbutton {
  border: 2px solid #1e90ff;
  padding: 12px 28px;
  border-radius: 50px;
  background: #1e90ff;
  color: #ffffff;
  font-weight: 600;
  font-family: 'Roboto', Arial, sans-serif;
  transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.downloadbutton:hover {
  background: #ff4d4d;
  border-color: #ff4d4d;
  transform: scale(1.05);
}

.mydrop {
  width: 100% !important;
  padding: 50px;
  background: #f8f9fa;
}

.mydrop ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.mydrop ul li a {
  padding: 12px 25px;
  border-radius: 50px;
  color: #ffffff;
  background: #1e90ff;
  box-shadow: rgba(50, 50, 93, 0.2) 0px 6px 12px -2px, rgba(0, 0, 0, 0.25) 0px 3px 7px -3px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.mydrop ul li a:hover {
  background: #ff4d4d;
  transform: translateY(-3px);
  box-shadow: rgba(50, 50, 93, 0.3) 0px 8px 16px -2px;
}

.toollist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-template-rows: auto;
  gap: 15px;
  margin-top: 0px;
  padding: 5%;
}

@media (min-width: 1068px) {
  .toollist {
      grid-template-columns: repeat(5, minmax(270px, 1fr));
  }
}

.singletools {
  min-height: 220px;
  background: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 8px;
  border-radius: 12px;
  padding: 20px;
  padding-top: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.singletools:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 12px;
}

.singletools a {
  height: 100%;
  width: 100%;
  display: inline-block;
  z-index: 5;
  cursor: pointer;
}

.singletools a img {
  height: 50px;
  transition: transform 0.3s ease;
}

.singletools a:hover img {
  transform: scale(1.1);
}

.singletools a h2 {
  font-size: 1.1rem;
  margin-top: 20px;
  font-weight: 600;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 28px;
  color: #1e2a44;
  margin-bottom: 8px;
}

.singletools a p {
  font-size: 0.8rem;
  margin-top: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #6b7280;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.imgbox {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
}

#features {
  margin-top: 0;
  padding-block: 100px;
  background: linear-gradient(to bottom, #ffffff, #e9ecef);
}

@media (max-width: 568px) {
  .herobutton {
      width: 100%;
      display: flex;
      flex-flow: column !important;
      gap: 20px;
  }
  .herobutton a {
      width: 60%;
  }

  #features {
      margin-top: 0;
      padding-block: 50px;
  }
}

@media (max-width: 567px) {
  .mydrop {
      padding: 0;
      width: 100%;
  }
  #dropdownNavbar {
      transform: translate3d(0px, 80px, 0px) !important;
  }

  .half-section {
      width: 100%;
      margin-top: 20px;
  }
  .toolbox {
      width: 85%;
      justify-content: center;
      align-items: center;
      display: flex;
      gap: 0;
  }
  .mydrop ul {
      padding-inline: 10px;
  }
  .mydrop ul li a {
      padding: 8px 16px;
      border-radius: 50px;
      color: #ffffff;
      background: #1e90ff;
      box-shadow: rgba(50, 50, 93, 0.2) 0px 6px 12px -2px, rgba(0, 0, 0, 0.25) 0px 3px 7px -3px;
      zoom: 0.8;
  }

  .MYIMG {
      width: 100% !important;
  }

  .singletools {
      min-height: 220px;
      background: #ffffff;
      box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 8px;
      border-radius: 8px;
      padding: 20px;
      padding-top: 30px;
  }
}

nav {
  box-shadow: 0 3px 6px 0 rgba(50, 50, 50, 0.2);
  background: #1e2a44;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

nav:hover {
  background: #2d3b55;
}

nav a {
  color: #f8f9fa;
  padding: 12px 18px;
  transition: color 0.3s ease, transform 0.2s ease, background 0.3s ease;
  border-radius: 5px;
  font-family: 'Roboto', Arial, sans-serif;
}

nav a:hover {
  color: #ffffff;
  background: #1e90ff;
  transform: translateY(-2px);
}