/* General Styles */
body {
    font-family: "Arial", sans-serif;
    background-color: #4c6986ff;
    color: #e2dede;
}

.navlogo-img {
    width: 100px;
    height: auto;
}

.whatsapp-header {
    background: linear-gradient(90deg, #343a40, #212529);
}

.social-icon {
    color: white;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffc107;
}


/* carrusel */
.carousel-caption {
    bottom: 10%;
    max-width: 600px;
}

.bg-gradient-custom {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    border-radius: 12px;
}

.btn-outline-light {
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: #007bff;
}

.carousel-caption {
    bottom: 10%;
    max-width: 600px;
}

.bg-gradient-custom {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    border-radius: 12px;
}

.btn-outline-light:hover {
    background-color: white;
    color: #007bff;
}


/* CONTENIDO PRINCIPAL */
/* Encabezado sección */
#desarrollo-web h1 {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    border-left: 5px solid #ffc107;
    padding-left: 12px;
}

/* Párrafo principal */
#intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e0e0e0;
}

/* Cards de servicios */
.servicio-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* Imagen de servicio */
.servicio-img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 250px;
    object-fit: cover;
}

/* Cuerpo de la tarjeta */
.servicio-body {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 1.5rem;
    background: linear-gradient(180deg, #1f1f1f 0%, #2c2c2c 100%);
}

/* Título de servicio */
.servicio-body h3 {
    font-weight: 600;
    margin-bottom: 0.8rem;
}

/* Ícono destacado */
.servicio-body i {
    font-size: 1.2rem;
    animation: pulse 1.5s infinite;
}

/* Animación ícono */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.75;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Texto del servicio */
.servicio-body p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* SOLUCIONES INTEGRALES PARA TUS EQUIPOSA DE COMPUTO*/
/* Tarjetas de servicio con diseño moderno */
.servicio-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #1c1c1c;
}

.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Imágenes de servicio estilizadas */
.servicio-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    filter: brightness(0.9);
}

/* Cuerpo de tarjeta con gradiente y mejor legibilidad */
.servicio-body {
    padding: 1.6rem;
    background: linear-gradient(160deg, #1f1f1f, #2a2a2a);
    color: #e5e5e5;
}

/* Títulos de cada servicio */
.servicio-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 0.8rem;
}

/* Iconos destacados animados */
.servicio-body i {
    font-size: 1.2rem;
    animation: flicker 2s infinite ease-in-out;
}

@keyframes flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Descripción del servicio */
.servicio-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

/* Responsive: mejora para móviles */
@media (max-width: 768px) {
    .servicio-img {
        height: 200px;
    }

    .servicio-body {
        padding: 1.2rem;
    }

    .servicio-body h3 {
        font-size: 1rem;
    }

    .servicio-body p {
        font-size: 0.9rem;
    }
}


/* INTRODUCCIÓN CAPACITACIONES */
/* Fondo con gradiente moderno */
.bg-gradient-intro {
    background: radial-gradient(circle at top left, #212529, #111);
}

/* Título con sombra suave */
#intro h1 {
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* Botón con estilo atractivo */
.btn-outline-warning {
    border: 2px solid #ffc107;
    color: #d8bd0eff;
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: #212529;
}

/* Responsive */
@media (max-width: 768px) {
    #intro h1 {
        font-size: 1.75rem;
    }

    #intro p.lead {
        font-size: 1rem;
    }
}

/* CURSOS*/
/* Sección general */
#cursos-teceec {
    background: linear-gradient(to bottom, #f8f9fa, #eaeff5);
    padding: 4rem 1rem;
}

/* Título de categoría */
#cursos-teceec h3 {
    font-size: 1.6rem;
    color: #007bff;
    border-left: 6px solid #ffc107;
    padding-left: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Tarjeta de curso */
.card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Imagen de curso */
.card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* Cuerpo del curso */
.card-body {
    padding: 1.5rem;
    background-color: #ffffff;
}

/* Título del curso */
.card-title a {
    color: #007bff;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Descripción del curso */
.card-text {
    font-size: 0.95rem;
    color: #666;
}


#seccion-faq h2 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.accordion-button {
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.accordion-button:hover {
    background-color: #f0f0f0;
}

.accordion-body {
    font-size: 1rem;
    color: #444444;
    padding: 1.25rem;
    border-radius: 0 0 8px 8px;
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    color: #f8f9fa !important;
    transition: color 0.3s ease;
}

.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%;
}

/*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;
}