@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

a {
  text-decoration: none;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  height: 100vh;
  background: #020817 !important;
  color: #ffffff !important;
}

::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  background: #d1e5ff;
}

::-webkit-scrollbar-thumb {
  border-radius: 7px;
  background: linear-gradient(#642bff, #ff22e6);
}

.icon-pulse {
  font-size: 8pt;
  color: #90ee90;
  text-shadow: 0 0 5px #90ee90, 0 0 10px #90ee90, 0 0 15px #90ee90;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    text-shadow: 0 0 2px #90ee90, 0 0 5px #90ee90, 0 0 8px #90ee90;
  }
  50% {
    text-shadow: 0 0 3px #90ee90, 0 0 8px #90ee90, 0 0 10px #90ee90;
  }
}

.text-shadow-strong {
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4);
}

.text-justify {
  text-align: justify;
}

.letter-spacing {
  letter-spacing: 10px;
}

.text-tubeLight-effect {
  color: #fff;
  position: relative;
  text-transform: uppercase;
  width: 100%;
  outline: none;
  overflow-y: hidden;
  /* -webkit-box-reflect: below -27px linear-gradient(transparent, #ffffff40); */
  animation: animate 5s linear infinite;
}
@keyframes animate {
  0%,
  18%,
  20%,
  50.1%,
  60%,
  65.1%,
  80%,
  90.1%,
  92% {
    color: gray;
    text-shadow: none;
  }
  18.1%,
  20.1%,
  30%,
  50%,
  60.1%,
  65%,
  80.1%,
  90.1%,
  92.1%,
  100% {
    color: #fff;
    text-shadow: 0 0 1px rgb(150, 150, 150), 0 0 2px rgb(150, 150, 150),
      0 0 2px rgb(150, 150, 150), 0 0 5px rgb(150, 150, 150),
      0 0 20px rgb(150, 150, 150);
  }
}

.dancing-text {
  font-family: "Dancing Script", cursive;
}

.typewriter {
  font-size: 1.5em;
  font-family: monospace;
  letter-spacing: 10px !important;
}
.typewriter span::after {
  content: "_";
  animation: blink 0.7s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.timeline-with-icons {
  border-left: 1px solid hsl(0, 0%, 90%);
  position: relative;
  list-style: none;
}

.timeline-with-icons .timeline-item {
  position: relative;
}

.timeline-with-icons .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline-with-icons .timeline-icon {
  position: absolute;
  left: -48px;
  background-color: hsl(217, 88.2%, 90%);
  color: hsl(217, 88.8%, 35.1%);
  border-radius: 50%;
  height: 31px;
  width: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heading-line {
  display: flex;
  align-items: center;
  text-align: center;
}
.heading-line::before,
.heading-line::after {
  content: "";
  flex: 1;
  height: 4px; /* Adjust thickness */
  background-color: #fff; /* Color of the line */
  margin: 0 1rem; /* Space between line and heading */
}

.tilted-frame {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 5rem;
  transform: rotate(30deg);
}

.tilted-frame img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  border: 20px #fff solid;
}

.circular-progress {
  position: relative;
  width: 150px; /* Diameter of the circle */
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(
    #642bff calc(var(--progress) * 1%),
    #ff22e6 calc(var(--progress) * 1%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5); /* Shadow effect */
  transition: box-shadow 0.3s;
}

.circular-progress::before {
  content: "";
  position: absolute;
  width: 120px; /* Inner circle size */
  height: 120px;
  border-radius: 50%;
  background-color: white; /* Inner background color */
}

.progress-value {
  position: relative;
  z-index: 1;
}

.contact-form-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}

#alertBox {
  display: none; /* Hide the alert initially */
  position: fixed; /* Fixed positioning */
  bottom: 20px; /* Distance from the bottom */
  right: 20px; /* Distance from the left */
  z-index: 9999; /* Ensure it appears above other elements */
  width: 300px; /* Set a fixed width for the alert */
  align-items: center;
}

#alertMessage {
  margin-left: 5px;
}

/* Media Queries */

/* Small screens (max-width: 576px) */
@media (max-width: 576px) {
  .circular-progress {
    width: 100px; /* Smaller circle size */
    height: 100px;
    font-size: 1rem; /* Smaller text size */
  }
  .circular-progress::before {
    width: 80px; /* Smaller inner circle */
    height: 80px;
  }
}

/* Medium screens (min-width: 577px and max-width: 768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .circular-progress {
    width: 120px; /* Medium circle size */
    height: 120px;
    font-size: 1.2rem; /* Medium text size */
  }
  .circular-progress::before {
    width: 100px; /* Medium inner circle */
    height: 100px;
  }
}

/* Large screens (min-width: 769px and up) */
@media (min-width: 769px) {
  .circular-progress {
    width: 150px; /* Larger circle size */
    height: 150px;
    font-size: 1.5rem; /* Default text size */
  }
  .circular-progress::before {
    width: 120px; /* Default inner circle size */
    height: 120px;
  }
}
