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

body {
  background: linear-gradient(to bottom, #cde5fd, #f4f9fb);
  color: #222;
  line-height: 1.6;
}

/* HEADER */
header {
  backdrop-filter: blur(10px);
  background-color: rgba(0, 119, 182, 0.3);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
header img.logo {
  height: 50px;
}
nav a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
}
nav a:hover {
  opacity: 0.8;
}

/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px;
}
.hero h1 {
  font-size: 36px;
  color: #023e8a;
  margin-bottom: 15px;
}
.hero p {
  font-size: 18px;
}

/* SLIDER PRINCIPAL */
.slider-container {
  width: 100%;
  height: 600px;
  margin: 30px auto;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}
.slider-fade {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slider-fade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-fade .caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.4);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  max-width: 50%;
}
.slider-fade.active {
  opacity: 1;
  z-index: 1;
}

/* Circuits slider */
#circuits {
  padding: 60px 20px;
  text-align: center;
}
.slider-circuits {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 600px;
  margin: auto;
  overflow: hidden;
  border-radius: 20px;
}
.circuit-slide {
  display: none;
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0;
}
.circuit-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.circuit-slide p {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: bold;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.card {
  backdrop-filter: blur(10px);
  background: rgba(207, 227, 232, 0.6);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
}
.card h3 {
  margin-bottom: 10px;
  color: #0077b6;
}

/* CONTACT */
#contact {
  text-align: center;
  padding: 40px 20px;
}
.socials a {
  color: #0077b6;
  margin: 0 10px;
  font-size: 24px;
}
.socials a:hover {
  color: #023e8a;
}

/* FOOTER */
footer {
  background: #023e8a;
  color: white;
  text-align: center;
  padding: 20px;
}
