:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f4f7f6;
    --text-color: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.test-banner {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    font-size: 0.9em;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-top: 20px;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    margin-top: 10px;
    font-size: 1.2em;
    opacity: 0.9;
}

nav {
    text-align: center;
    background: #fff;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    margin: 0 15px;
    font-weight: bold;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.intro-section {
    background: white;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.navigation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--text-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.card h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.card p {
    color: #666;
}

.contact-section {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.contact-section h2 {
    color: white;
    border-bottom: 2px solid white;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.contact-card h3 {
    margin-top: 0;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-email {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-email:hover {
    background-color: #2980b9;
}

.btn-docente {
    background-color: #27ae60;
}

.btn-docente:hover {
    background-color: #229954;
}

.btn-tecnico {
    background-color: #e67e22;
}

.btn-tecnico:hover {
    background-color: #d35400;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8em;
    color: #777;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    header h1 {
        font-size: 1.8em;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}