:root {
  --primary: #2196F3;
  --success: #4CAF50;
  --warning: #FFC107;
  --danger: #F44336;
  --dark: #263238;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
  font-family: Arial, sans-serif;
}

header {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  width: 100%;
  z-index: 10;
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  padding: 10px 0;
}

.navbar ul li {
  margin: 0 20px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #00aaff;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.content {
  z-index: 2;
  padding-bottom: 20px;
}

.animated-text {
  animation: fadeInUp 2s ease-in-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider {
  width: 100%;
  overflow: hidden;
  margin: 40px 0;
}

.slide-track {
  display: flex;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.slide-img {
  width: 10%;
  border-radius: 10px;
  margin: 0 10px;
}

.dashboardv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.cardvalv {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.valve-status {
  text-align: center;
}

.valve-icon {
  width: 150px;
  height: 150px;
  margin: 20px auto;
}

.controls {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btnvalv {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primaryv {
  background: var(--primary);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat-card {
  background: var(--dark);
  color: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}

.chart-containerv {
  position: relative;
  height: 300px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.active {
  animation: pulse 2s infinite;
}

.project-details {
  padding: 20px;
}

.animated-title {
  font-size: 2em;
  font-weight: bold;
  background-image: linear-gradient(90deg, #949fac, #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 2s infinite linear;
  margin-bottom: 20px;
}

@keyframes shine {
  0% { background-position: -500px; }
  100% { background-position: 500px; }
}

.btn-special {
  background-color: #f81280;
  color: #fff;
  font-size: 1.5em;
  font-weight: lighter;
  letter-spacing: 1px;
  padding: 20px 60px;
  margin-top: 40px;
}

.btn-special:hover {
  background-color: #d11264;
  color: #fff;
}

.wrapper1 {
  display: flex;
  justify-content: center;
}

.cta1 {
  display: flex;
  padding: 10px 45px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  color: white;
  background: #6225E6;
  transition: 1s;
  box-shadow: 6px 6px 0 black;
  transform: skewX(-15deg);
}

.cta1:focus {
  outline: none;
}

.cta1:hover {
  transition: 0.5s;
  box-shadow: 10px 10px 0 #FBC638;
}

.cta1 span:nth-child(2) {
  transition: 0.5s;
  margin-right: 0px;
}

.cta:hover span:nth-child(2) {
  transition: 0.5s;
  margin-right: 45px;
}

span1 {
  transform: skewX(15deg);
}

span:nth-child(2) {
  width: 20px;
  margin-left: 30px;
  position: relative;
  top: 12%;
}

path.one {
  transition: 0.4s;
  transform: translateX(-60%);
}

path.two {
  transition: 0.5s;
  transform: translateX(-30%);
}

.cta:hover path.three {
  animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.4s;
}

@keyframes color_anim {
  0% {
    fill: white;
  }
  50% {
    fill: #FBC638;
  }
  100% {
    fill: white;
  }
}

.hug-features {
  background-color: #393d4d;
  padding: 50px 0 150px;
  margin-top: -1px;
}

.hug-features h2 {
  color: #fff;
  font-family: 'Lobster', cursive;
  font-size: 3em;
  margin-bottom: 50px;
  text-transform: capitalize;
  letter-spacing: 2px;
}

.hug-features i {
  font-size: 6em;
  color: #26b2ad;
}

.hug-features h3 {
  margin-top: 0;
  color: #26b2ad;
  text-transform: uppercase;
  font-size: 1.4em;
  letter-spacing: 1px;
}

.hug-features h3 .new {
  color: #ffde00;
}

.hug-features p {
  color: #fff;
  line-height: 2;
  letter-spacing: .2px;
}

.hug-features .feature.centered {
  text-align: center;
  float: none;
  margin: 0 auto;
}

.hug-info {
  color: #26b2ad;
  padding-bottom: 290px;
  position: relative;
  background-color: #fff;
  background-image: url("../img/gif5.avif");
  background-repeat: no-repeat;
  background-position: right 0 bottom 0;
  background-size: contain;
}

.hug-info h2 {
  font-family: 'Lobster', cursive;
  font-size: 7em;
  text-transform: capitalize;
  margin-top: -90px;
}

.hug-info h3 {
  font-size: 3em;
}

.hug-info .row img {
  max-width: 100px;
  margin: 20px;
}

.hug-info .arrow {
  position: relative;
  top: -60px;
  max-width: 120px;
  margin-bottom: 50px;
}

.timeline {
  position: relative;
  margin: 50px auto;
  padding: 40px 0;
  width: 1000px;
  box-sizing: border-box;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #c5c5c5;
}

.timeline ul {
  margin: 0;
  padding: 0;
}

.timeline ul li {
  list-style: none;
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline ul li:nth-child(odd) {
  float: left;
  text-align: right;
  clear: both;
}

.timeline ul li:nth-child(odd):before {
  content: '';
  position: absolute;
  top: 24px;
  right: -6px;
  width: 10px;
  height: 10px;
  background: rgba(233, 33, 99, 1);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(233, 33, 99, 0.2);
}

.timeline ul li:nth-child(even) {
  float: right;
  text-align: left;
  clear: both;
}

.timeline ul li:nth-child(even):before {
  content: '';
  position: absolute;
  top: 24px;
  left: -4px;
  width: 10px;
  height: 10px;
  background: rgba(233, 33, 99, 1);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(233, 33, 99, 0.2);
}

.timeline ul li h3 {
  margin: 0;
  padding: 0;
  font-weight: 600;
  color: rgba(233, 33, 99, 1);
}

.timeline ul li p {
  margin: 10px 0 0;
  padding: 0;
}

.timeline ul li .time h4 {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.timeline ul li:nth-child(odd) .time {
  position: absolute;
  top: 12px;
  right: -165px;
  margin: 0;
  padding: 8px 16px;
  background: rgba(233, 33, 99, 1);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 0 0 3px rgba(233, 33, 00, 0.3);
}

.timeline ul li:nth-child(even) .time {
  position: absolute;
  top: 12px;
  left: -165px;
  margin: 0;
  padding: 8px 16px;
  background: rgba(233, 33, 99, 1);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 0 0 3px rgba(233, 33, 00, 0.3);
}

@media (max-width: 1000px) {
  .timeline {
    width: 100%;
  }
}

@media (max-width: 767px) {
  h1 {
    text-align: center;
    font-size: 40px;
    padding: 0 20px;
  }

  .timeline {
    width: 100%;
    padding-bottom: 0;
  }

  .timeline:before {
    left: 20px;
  }

  .timeline ul li:nth-child(odd),
  .timeline ul li:nth-child(even) {
    width: 100%;
    text-align: left;
    padding-left: 50px;
    padding-bottom: 50px;
  }

  .timeline ul li:nth-child(odd):before,
  .timeline ul li:nth-child(even):before {
    top: -18px;
    left: 16px;
  }

  .timeline ul li:nth-child(odd) .time,
  .timeline ul li:nth-child(even) .time {
    top: -30px;
    left: 50px;
    right: inherit;
  }
}

footer {
  background-color: #084b6d;
  color: white;
  padding: 20px;
  text-align: center;
}

footer ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
}

footer ul li {
  margin: 0 10px;
}

footer ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

footer p {
  margin: 10px 0;
}

.progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 900px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-image: url("../img/01aa.png");
  margin: auto; /* Centra horizontalmente */
  height: 130vh; /* Ocupa toda la altura de la vista */
}

.progress-circle {
  position: relative;
  width: 200px;
  height: 200px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

.progress-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background-color: #fff;
  background-image: url("../img/chek2.jpg");
  border-radius: 50%;
  z-index: 1;
}

.progress-circle span {
  position: absolute;
  font-size: 1.5em;
  font-weight: bold;
  z-index: 2;
}

.description {
  margin-top: 10px;
  font-size: 1em;
  text-align: center;
}

.progress-circle .progress {
  stroke-dasharray: 565;
  stroke-dashoffset: 565;
  transition: stroke-dashoffset 2s linear;
}


body1 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f0f0;
  font-family: Arial, sans-serif;
}
