:root {
    --azul-celeste: #066cfb;
    --azul-oscuro: #033874;
    --amarillo: #ffc107;
    --rojo: #dc3545;
    --blanco: #f8f9fa;
    --gris-claro: #ccd4e2;
}

/* General Styles */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, var(--azul-celeste) 0%, var(--azul-oscuro) 100%);
  color: var(--blanco);
  min-height: 100vh;
}

.navbar, .teceec-header {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-celeste));
}
.navlogo-img, .logo-header {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 2px 6px #0003);
}
.navbar-nav .nav-link {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--blanco) !important;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--amarillo);
  transition: width 0.3s;
}
.navbar-nav .nav-link:hover::after {
  width: 80%;
}
.navbar-nav .nav-link:hover {
  color: var(--amarillo) !important;
  text-shadow: 0 0 8px var(--amarillo);
}  

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0%;
    height: 2px;
    background-color: #ffc107;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.6);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}


.logo-img {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeInUp 1s;
  border-radius: 10px;
  box-shadow: 0 4px 20px var(--azul-celeste);
  transition: transform 0.3s;
}
.hero-section {
  background-image: url('../img/equipo01.png'); /* Cambia por tu imagen institucional */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}
.logo-img {
  max-width: 180px;
  margin-top: 20px;
}


@media (min-width: 768px) {
  .logo-img {
    margin-top: 40px;
    max-width: 220px;
  }
}

.about-section {
  background-image: url('../img/fondo-about.jpg'); /* Cambia por tu imagen institucional */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.whatsapp-header {
    background: linear-gradient(90deg, #343a40, #212529);
}

.social-icon {
    color: white;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffc107;
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 600px;
}

.service-box {
  background-color: var(--blanco);
  border: 1px solid var(--gris-claro);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(160, 224, 247, 0.7); /* sombra azul oscuro suave */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(1, 189, 246, 0.278); /* sombra azul celeste más intensa */
}

.service-box i {
  transition: transform 0.3s ease;
}

.service-box:hover i {
  transform: scale(1.2);
}

footer {
    background: #212529;
    color: #adb5bd;
}

footer a {
    color: #ffc107;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/*HOVER PARA LAS OPCIONES DE NAVBAR*/
.navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    color: #f8f9fa !important;
    transition: color 0.3s ease;
}


/*header navbar y footer*/
.social-icon i {
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* Fondo con degradado institucional */
.bg-gradient-dark {
    background: linear-gradient(135deg, #1c1c1c, #2e2e2e);
}

/* Animación sutil en íconos */
.pulse-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
    transform: scale(1);
    opacity: 1;
    }

    50% {
    transform: scale(1.1);
    opacity: 0.8;
    }

    100% {
    transform: scale(1);
    opacity: 1;
    }
}

/* Íconos sociales con efecto hover */
.social-icon i {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.3);
    filter: brightness(1.3);
}

/* Icon container con sombra */
.icon-box {
    background-color: #ffffff10;
    padding: 0.75rem;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00aa;
}

.logo-header {
    width: 55px;
    height: auto;
}

.pulse-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
    transform: scale(1);
    opacity: 1;
    }

    50% {
    transform: scale(1.1);
    opacity: 0.8;
    }

    100% {
    transform: scale(1);
    opacity: 1;
    }
}

.social-icon i {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.3);
    filter: brightness(1.3);
}

.icon-box {
    background-color: #ffffff10;
    padding: 0.75rem;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00aa;
}

#teceecHeader {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: transform 0.4s ease;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* Colores para iconos */
.text-success {
    color: var(--azul-celeste) !important;
}

.text-primary {
    color: var(--azul-celeste) !important;
}

.text-warning {
    color: var(--amarillo) !important;
}

.text-danger {
    color: var(--rojo) !important;
}

/* Botón flotante de WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px; /* Cambiado a derecha */
  z-index: 1000;
  background: var(--amarillo);
  color: var(--azul-celeste);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--azul-celeste);
  font-size: 2rem;
  transition: background 0.3s, color 0.3s;
}
.whatsapp-btn:hover {
  background: var(--rojo);
  color: var(--blanco);
}