@font-face {
    font-family: 'Revista';
    src: url('../font/REVISTA.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Arial', sans-serif;
    background: #0a0a0a;
    overflow-x: hidden;
    color: white;
    min-height: 100vh;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.profile-photo {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 3px solid #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), 0 0 60px rgba(0, 255, 255, 0.2);
    animation: pulseGlow 4s ease-in-out infinite;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.name {
    font-family: 'Revista', Arial, sans-serif;
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    background: linear-gradient(45deg, #00ffff, #0cace6, #105670);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.contact-info a {
    color: #00ffff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.main-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab {
    padding: 12px 24px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    color: #00ffff;
    cursor: pointer;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.tab:hover, .tab.active {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

.home-content {
    text-align: center;
    padding: 3rem 0;
}

.welcome-message {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta {
    padding: 15px 30px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    color: #00ffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    display: inline-block;
    margin: 0 10px;
}

/* Smaller CTA inside cards with spacing from date */
.card .cta {
    padding: 8px 16px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
    margin: 0.75rem 0 0;
    text-align: center;
    width: auto;
}

.cta:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}

.filter-tags {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    padding: 8px 16px;
    background: rgba(12, 172, 230, 0.1);
    border: 1px solid #0cace6;
    color: #0cace6;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-tag:hover, .filter-tag.active {
    background: rgba(12, 172, 230, 0.2);
    box-shadow: 0 0 15px rgba(12, 172, 230, 0.4);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
    display: none;
}

.card.show {
    display: block;
}

.card:hover {
    border-color: #00ffff;
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.3);
    transform: translateY(-5px);
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.card-tag {
    padding: 4px 8px;
    background: rgba(16, 86, 112, 0.15);
    border: 1px solid #105670;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #105670;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.card-date {
    font-size: 0.9rem;
    color: #0cace6;
    font-weight: bold;
}

.resume-section {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.resume-header {
    font-size: 2rem;
    color: #00ffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.education-item, .experience-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.education-item:last-child, .experience-item:last-child {
    border-bottom: none;
}

.item-title {
    font-size: 1.3rem;
    color: #105670;
    font-weight: bold;
}

.item-subtitle {
    font-size: 1.1rem;
    color: #0cace6;
    margin-bottom: 0.5rem;
}

.item-date {
    font-size: 0.9rem;
    color: #00ffff;
    margin-bottom: 1rem;
}

.item-description {
    line-height: 1.6;
    opacity: 0.9;
}

.skills-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-category {
    background: rgba(0, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.skill-title {
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 0.5rem;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), 0 0 40px rgba(0, 255, 255, 0.1); 
    }
    50% { 
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), 0 0 60px rgba(0, 255, 255, 0.2); 
    }
}

@media (max-width: 768px) {
    .name { font-size: 2.5rem; }
    .container { padding: 1rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .main-tabs { flex-direction: column; align-items: center; }
    .filter-tags { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}


