:root {
    --primary: #64ffda;
    --bg: #0a192f;
    --card-bg: #112240;
    --text: #ccd6f6;
    --text-dim: #8892b0;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

header {
    padding: 0.5rem 5%;
    width: 100%;
    text-align: center;
    background: linear-gradient(to bottom, #112240, 0);
}

.logo {
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary);
}

.logo img {
    width: 100px;
    display: inline;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 2rem;
    max-width: 100hv;
    height: 50vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../IMG/fondo.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transform: scale(1.05);
    z-index: 1;
}

.hero h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-contenido {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    border-radius: 10px;
}


.student-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border 0.3s ease;
    border: 1px solid rgba(100,255,218,0.1);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.1);
}

.student-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.student-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.student-card p {
    color: var(--text-dim);
    font-size: 0.8rem;
    font-style: italic;
}

.tech-tag {
    display: inline-block;
    background: rgba(100, 255, 218, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-top: 10px;
    transition: all 0.5s ease;
}

.tech-tag:hover {
    background: var(--primary);
    color: var(--bg);
}

.btn-visit {
    display: block;
    margin-top: 1.5rem;
    text-align: center;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-visit:hover {
    background: var(--primary);
    color: var(--bg)
}

.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
    flex-wrap: wrap;
    color: var(--primary);
    font-family: monospace;
}

.filter-btn {
    background: transparent;
    border: 1px solid ver(--text-dim);
    color: var(--text-dim);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(100, 255, 218, 0.1);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 10%;
}

footer {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

footer p {
    font-size: small;
}