body {
  margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #08153b 0%, #1c2b4f 50%, #032581 100%);
    color: #EFFFFF;
    background-size: 1000% 1000%;
}

#banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #020617 0%, #0a1c45 40%, #1d4ed8 100%);
    background-size: 200% 200%;
    animation: moverGradiente 12s ease-in-out infinite;
}

@keyframes moverGradiente {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.texto {
    color: #22d3ee;
    text-align: justify;
}

#eslogan {
    font-size: medium;
}

#sobremibody {
    background: #0f172ad9;
    border-radius: 32px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

#icono{
    width: 60px;
    max-width: 100%;
    background: radial-gradient(circle at top, #38bdf8 0%, hsl(229, 40%, 39%) 100%);
    border-radius: 25px;
    padding: 5px;
    border: 2px solid #22d3ee;
    display: inline-block;
}
#icono:hover{
    transform: scale(1.20);
    transition: transform 0.3s ease;}
#foto {
    width: 350px;
    max-width: 100%;
    display: inline-block;
    border-radius: 40px;
    border: 2px solid #22d3ee;
    background: radial-gradient(circle at top, #38bdf8 0%, #3c4a8b 100%);
    padding: 16px;
}
#foto:hover{
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

/* Botón suave sobre el fondo azul */
.btn-degradado {
    color: white;
    border-radius: 64px;
    font-weight: lighter;
    font-size: smaller;
    backdrop-filter: blur(6px);
}

.btn-degradado:hover {
    background: transparent;
    color: #e0faff;
    border-color: #22d3ee;
}

.btn-degradado2 {
    color: white;
    font-weight: lighter;
    font-size:medium;
    backdrop-filter: blur(6px);
    background-color: #207ba2;
}

.btn-degradado2:hover {
    background: transparent;
    color: #e0faff;
    border-color: #22d3ee;
}

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

#Frontend {
    color: white;
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid #20D3D1;
    height: auto;
}
#carta:hover {
    transform: scale(1.10);
    transition: transform 0.3s ease;
}

#barra {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(14px);
}

/* Ajustar los enlaces */
#barra .nav-link {
    color: #EFFFFF;
    font-size: 1rem;
    padding: 8px 16px;
    transition: 0.3s ease;
}

/* Hover elegante */
#barra .nav-link:hover {
    color: #20D3D1;
    transform: translateY(-2px);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 4rem;
    margin: 0 0 0 30px;
    color: white;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #ffffff;
}

.timeline .timeline-container {
    position: relative;
    margin-bottom: 2.5rem;
    border: 2px solid #22d3ee;
}

.timeline .timeline-container .timeline-icon {
    position: absolute;
    left: -88px;
    top: 4px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    background: #ffffff;
}

.timeline .timeline-container .timeline-icon i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.timeline .timeline-container .timeline-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.timeline .timeline-container .timeline-body {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    padding: 20px 20px 15px;
    box-shadow: 1px 3px 18px rgba(15, 23, 42, 0.9);
}

.timeline .timeline-container .timeline-body:before {
    content: '';
    background: inherit;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    left: -10px;
    transform: rotate(45deg);
    border-radius: 0 0 0 2px;
}

.timeline .timeline-container .timeline-body .timeline-subtitle {
    font-weight: 300;
    font-style: italic;
    opacity: .6;
    margin-top: 16px;
    font-size: 11px;
    color: #e5f9ff;
}

.timeline .timeline-container.primary .badge,
.timeline .timeline-container.primary .timeline-icon {
    background: #22d3ee !important;
}

/* Proyectos */
div#proyectos {
    border: 2px solid #20D3D1;
    background: rgba(15, 23, 42, 0.9);
    height: 450px;
}

/* Animación secciones */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer-simple {
    background-color: transparent;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-top: 2rem;
}
#contacto .form-control {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.15);
}

#contacto .form-control:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.4);
}

#contacto .card {
  border-radius: 24px;
}

input[aria-invalid="true"] {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 4px rgba(239, 91, 91, .18);
  background: #0c111c;
}

input[data-valid="true"] {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(91, 141, 239, .18);
  background: #0c111c;
}

.error-msg {
  margin-top: 6px;
  padding: 8px 10px;
  font-size: .9rem;
  color: #ffd3d3;
  background: rgba(239,91,91,.12);
  border-left: 4px solid var(--danger);
  border-radius: 8px;
}

#status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: #f8f9fa;             
}

/* Éxito */
#status.ok {
  color: #00e676;             
}

/* Error */
#status.error {
  color: #ff6b6b;              
}



