:root {
    --cisco-green: #6cbd44;
    --cisco-blue: #00bceb;
    --cisco-dark-grey: #333333;
    --cisco-light-grey: #f4f4f4;
    --cisco-header-bg: #f9fafb;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: transparent;
}

#techCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(circle at top right, #f5f9fc 0%, #ffffff 100%);
}

header {
    padding: 25px 40px;
    background: var(--cisco-header-bg);
    border-bottom: 1px solid var(--border-color);
}

header h1 {
    font-size: 24px;
    color: #444;
    font-weight: 600;
}

header h1 i {
    color: var(--cisco-blue);
    margin-right: 10px;
}

main {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 450px));
    gap: 40px;
    padding: 60px 20px;
    justify-content: center;
    align-items: start;
}

.cards {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-bottom: 2px solid var(--cisco-green);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.img-container {
    position: relative;
    width: 100%;
    height: 200px;
}

.cards-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Etiquetas Estático/Dinámico en la esquina superior izquierda */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #2e7d32; /* Borde de su respectivo color */
    letter-spacing: 1px;
}

.badge.blue {
    background: #e1f5fe;
    color: #0288d1;
    border: 2px solid #0288d1; /* Borde de su respectivo color */
}

.credits {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 11px;
    padding: 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.credits a { 
    color: #6dd942; 
    text-decoration: none; 
    font-weight: 600;
}

.img-container:hover .credits { opacity: 1; }

.cards-content {
    padding: 25px;
}

/* TypeScript arriba de todo el texto */
.tech-stack {
    margin-bottom: 12px;
}

.tech-stack img {
    height: 25px;
    border-radius: 3px;
}

.cards-content h2 {
    font-size: 20px;
    color: var(--cisco-dark-grey);
    margin-bottom: 4px;
}

.subtitle {
    font-size: 13px;
    color: #888;
    font-weight: 400;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cards-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
    min-height: 65px;
}

.btn-netacad {
    background-color: var(--cisco-green);
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    width: 100%;
}

footer {
    background-color: var(--cisco-dark-grey);
    color: #ddd;
    padding: 20px 40px;
    font-size: 13px;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 10px;
}

.footer-links a { color: var(--cisco-blue); text-decoration: none; }

@media (max-width: 768px) {
    main {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
}