body {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333; /* Texto principal más legible */
    background-color: #f8f9fa; /* Fondo suave para no cansar la vista */
}

header {
    background-color: #343a40;
}

.custom-header {
    position: relative;
    overflow: hidden;
    color: white;
}

.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.rain-code, .circuit-line {
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    color: lime;
    opacity: 0.9;
}

@keyframes fall {
    0% {
        top: -50px;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.icon-box {
    margin-bottom: 30px;
    text-align: center;
}

.icon-box h4 {
    margin-top: 15px;
    font-size: 1.2em;
}

.icon-box p {
    font-size: 1em;
    color: #555;
}

.progress-circle {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.progress-circle .circle {
    width: 100%;
    height: 100%;
    stroke-width: 10;
    fill: none;
}

.progress-circle .progressbar-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.container {
    margin-top: 50px;
}

.row {
    display: flex;
    justify-content: space-between;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 15px;
    background-color: #fff;
}

.project-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    margin: 0 auto 15px;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-text {
    font-size: 1rem;
    margin-bottom: 15px;
}

.btn {
    align-self: center;
    margin-top: auto;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    border-radius: 0.75rem;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-hover {
    transition: transform 0.3s ease;
}

.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.card-link:hover,
.card-link:focus,
.card-link:active {
    color: inherit;
    text-decoration: none;
}

.card-link:focus {
    outline: none;
}

.card-link .card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-link .icon-hover {
    transition: transform 0.3s ease;
}

.card-link .card-hover:hover .icon-hover {
    transform: scale(1.2) rotate(5deg);
}

/* ===== Estilos Nuevos: Sección Quiénes Somos ===== */
#quienesSomos .display-4 {
    color: #012C66;
}

#quienesSomos .icon-circle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(1,44,102,0.1);
    margin: 0 auto 15px;
}

#quienesSomos .card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

#quienesSomos .card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

#quienesSomos .icon-circle i {
    transition: transform 0.3s;
}

#quienesSomos .card-hover:hover .icon-circle i {
    transform: scale(1.2);
}

/* ===== Estilos Nuevos: Proyectos Extras ===== */
#proyectosExtras .card-hover {
    border-radius: 1rem;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

#proyectosExtras .card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

#proyectosExtras .card-hover i {
    font-size: 3rem;
    color: #012C66;
    transition: transform 0.3s, color 0.3s;
}

#proyectosExtras .card-hover:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #ff6600; /* efecto de color en hover */
}

#proyectosExtras .card-title {
    font-weight: bold;
    margin-top: 10px;
}

#proyectosExtras .card-text {
    color: #555;
    font-size: 0.95rem;
}
.technologies {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.tech-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.tech-carousel {
  display: flex;
  gap: 3rem;
  animation: scrollTech 30s linear infinite;
}

.tech-item {
  flex: 0 0 auto;
  text-align: center;
  transition: transform 0.3s, color 0.3s;
}

.tech-item i {
  transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
}

.tech-item h6 {
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Efecto hover */
.tech-item:hover i {
  transform: scale(1.3) rotate(-10deg);
  color: #012C66 !important;
  text-shadow: 0 0 10px #012C66;
}

/* Animación continua */
@keyframes scrollTech {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Ajustar según cantidad de items */
}
  /* Footer Profesional */
  .footer {
    background: linear-gradient(135deg, #0b1a2b, #012C66);
    color: #e0e0e0;
    position: relative;
  }

  .footer a.social-link {
    color: #e0e0e0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
  }

  .footer a.social-link:hover {
    background-color: #012C66;
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(1,44,102,0.5);
    color: #ffffff;
  }

  .footer h5 {
    color: #f0f0f0;
    position: relative;
  }

  .footer h5::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #00b4d8;
    border-radius: 2px;
    margin-top: 8px;
  }

  .footer p {
    line-height: 1.6;
  }

  @media (max-width: 767px) {
    .footer .d-flex {
      justify-content: center !important;
    }
  }
  /* ===== Responsive ===== */
@media (max-width: 1200px) {
    .card-title {
        font-size: 1.1rem;
    }
    .card-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .row {
        justify-content: center;
    }
    .card {
        margin-bottom: 20px;
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .card {
        max-width: 100%;
        padding: 15px;
    }
    .project-img {
        max-width: 100%;
        height: auto;
    }
    .technologies {
        padding: 1.5rem 0;
    }
    .tech-item h6 {
        font-size: 0.85rem;
    }
    .card-title {
        font-size: 1rem;
    }
    .card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2rem 1rem;
        text-align: center;
    }
    .footer a.social-link {
        width: 40px;
        height: 40px;
        margin: 0 0.15rem;
    }
    .tech-carousel {
        gap: 1.5rem;
    }
}
/* Botón CV Profesional */
.btn-cv {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: linear-gradient(135deg, #0d6efd, #012c66);
  border: none;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

/* Hover elegante */
.btn-cv:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.45);
}

/* Click */
.btn-cv:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(13, 110, 253, 0.3);
}

/* Pequeña animación inicial (sutil) */
@keyframes cvFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-cv {
  animation: cvFadeIn 0.6s ease forwards;
}
