/* ============================================
   PORTAFOLIO ESTILO PLACA MADRE / CIRCUITO
   Paleta: Tonos azules con efectos neón
   ============================================ */

/* Variables de colores */
:root {
    /* Colores principales - Tonos azules */
    --bg-dark: #0a0e17;
    --bg-medium: #0d1321;
    --bg-light: #1a2332;
    --bg-card: #141d2b;

    /* Colores de acento - Neón */
    --neon-blue: #00d4ff;
    --neon-cyan: #00fff7;
    --neon-purple: #a855f7;
    --neon-green: #00ff88;

    /* Colores de texto */
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-white: #ffffff;

    /* Efectos */
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-cyan: 0 0 20px rgba(0, 255, 247, 0.5);
    --glow-strong: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.4);

    /* Circuitos */
    --circuit-line: #1e3a5f;
    --circuit-glow: #00d4ff;

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif !important;
    background: #0a0e17 !important;
    background-color: #0a0e17 !important;
    color: #e2e8f0 !important;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Canvas de fondo para circuitos */
#circuitCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #0a0e17 !important;
}

/* Contenedor principal */
.motherboard-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   NAVEGACIÓN - ESTILO CHIPS
   ============================================ */

.chip-nav {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
    padding: 15px;
    background: rgba(10, 14, 23, 0.9);
    border: 1px solid var(--circuit-line);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.chip-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--bg-card);
    border: 1px solid var(--circuit-line);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.chip-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.chip-btn:hover::before {
    left: 100%;
}

.chip-btn:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: var(--glow-blue);
    transform: translateX(-5px);
}

.chip-btn:hover .chip-led {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.chip-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 5px;
    font-size: 14px;
}

.chip-label {
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.chip-led {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    margin-left: auto;
    transition: all var(--transition-medium);
}

/* ============================================
   HEADER / PERFIL
   ============================================ */

.cv-header {
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.profile-section {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

/* Foto de perfil con marco de circuito */
.profile-photo-container {
    position: relative;
}

.photo-frame {
    position: relative;
    width: 200px;
    height: 200px;
    border: 3px solid var(--circuit-line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-card);
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-cyan)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.photo-circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 49%, rgba(0, 212, 255, 0.1) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(0, 212, 255, 0.1) 50%, transparent 51%);
    background-size: 20px 20px;
    pointer-events: none;
}

.photo-connectors {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.connector {
    width: 10px;
    height: 20px;
    background: linear-gradient(to bottom, var(--circuit-line), var(--neon-blue));
    border-radius: 0 0 3px 3px;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Información del perfil */
.profile-info {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.name-plate {
    margin-bottom: 20px;
}

.name-plate h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    margin-bottom: 10px;
}

.title-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--neon-blue);
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--neon-blue);
    position: relative;
    overflow: hidden;
}

.chip-glow {
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: chipGlowMove 2s ease-in-out infinite;
}

@keyframes chipGlowMove {
    0% { left: -50%; }
    100% { left: 150%; }
}

.bio {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 25px;
    line-height: 1.8;
}

.quick-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.stat-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-light);
    border: 1px solid var(--circuit-line);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-medium);
}

.stat-chip i {
    color: var(--neon-cyan);
}

.stat-chip:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-3px);
}

/* ============================================
   SECCIONES DEL CV
   ============================================ */

.cv-section {
    margin-bottom: 60px;
    padding: 40px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.section-chip {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    font-size: 1.3rem;
    color: var(--neon-blue);
    box-shadow: var(--glow-blue);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.6); }
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), transparent);
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: -3px;
    width: 30px;
    height: 8px;
    background: var(--neon-blue);
    border-radius: 4px;
    animation: lineGlow 1.5s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--neon-blue); }
    50% { opacity: 0.5; box-shadow: none; }
}

/* Tarjetas de componentes */
.component-card {
    background: var(--bg-card);
    border: 1px solid var(--circuit-line);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.component-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-cyan));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.component-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
}

.component-card:hover::before {
    opacity: 1;
}

/* ============================================
   TIMELINE - EXPERIENCIA
   ============================================ */

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-blue), var(--circuit-line));
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-connector {
    position: absolute;
    left: -40px;
    top: 25px;
    width: 30px;
    height: 2px;
    background: var(--circuit-line);
}

.pulse-dot {
    position: absolute;
    left: -8px;
    top: -6px;
    width: 14px;
    height: 14px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: var(--glow-blue);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.timeline-content .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.period-chip {
    padding: 5px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--neon-blue);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--neon-blue);
}

.company {
    font-size: 1.1rem;
    color: var(--neon-cyan);
    margin-bottom: 10px;
}

.description {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Tags de tecnología */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 5px 12px;
    background: var(--bg-light);
    border: 1px solid var(--circuit-line);
    border-radius: 5px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* ============================================
   GRID DE PROYECTOS
   ============================================ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 12px;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: var(--glow-blue);
}

.project-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.project-status {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(0, 212, 255, 0.2));
    border: 1px solid var(--neon-purple);
    border-radius: 8px;
    color: var(--neon-purple);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    text-align: center;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(168, 85, 247, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
    }
}

/* Botones estilo circuito */
.circuit-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    color: var(--neon-blue);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.circuit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.circuit-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

.circuit-btn:hover::before {
    left: 100%;
}

/* ============================================
   HABILIDADES
   ============================================ */

.skills-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--circuit-line);
    border-radius: 12px;
    padding: 25px;
}

.skill-category h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-chips {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-chip {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    align-items: center;
    gap: 15px;
}

.skill-name {
    font-weight: 500;
    color: var(--text-primary);
}

.skill-bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    width: var(--fill-width);
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
    border-radius: 4px;
    position: relative;
    animation: fillIn 1.5s ease-out;
}

@keyframes fillIn {
    from { width: 0; }
}

.skill-pulse {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: skillPulse 1s ease-in-out infinite;
}

@keyframes skillPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.skill-percent {
    font-weight: 600;
    color: var(--neon-blue);
    text-align: right;
}

/* Chips de herramientas */
.tool-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-light);
    border: 1px solid var(--circuit-line);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-medium);
}

.tool-chip i {
    color: var(--neon-blue);
}

.tool-chip:hover {
    border-color: var(--neon-blue);
    box-shadow: var(--glow-blue);
    transform: translateY(-3px);
}

/* ============================================
   EDUCACIÓN
   ============================================ */

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.education-card {
    display: flex;
    gap: 20px;
}

.edu-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    border-radius: 10px;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.edu-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.institution {
    color: var(--neon-cyan);
    font-weight: 500;
    margin-bottom: 8px;
}

.edu-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 10px;
}

/* ============================================
   CONTACTO
   ============================================ */

.contact-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-chip {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--circuit-line);
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-medium);
}

.contact-chip:hover {
    border-color: var(--neon-blue);
    box-shadow: var(--glow-blue);
    transform: translateX(10px);
}

.contact-chip:hover .chip-led.active {
    animation: ledBlink 0.3s ease-in-out infinite;
}

@keyframes ledBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.contact-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 10px;
    font-size: 1.2rem;
    color: white;
}

.contact-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    color: var(--text-primary);
    font-weight: 500;
}

.chip-led.active {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

/* Formulario de contacto */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form h3 i {
    color: var(--neon-blue);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-light);
    border: 1px solid var(--circuit-line);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-medium);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

.form-group input:focus ~ .input-glow,
.form-group textarea:focus ~ .input-glow {
    width: 100%;
}

.submit-btn {
    align-self: flex-start;
    padding: 12px 30px;
    font-size: 1rem;
}

.submit-btn i {
    transition: transform var(--transition-medium);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* ============================================
   FOOTER
   ============================================ */

.cv-footer {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid var(--circuit-line);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: var(--text-muted);
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-medium);
}

.footer-email:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.footer-email i {
    font-size: 1.1rem;
}

.footer-leds {
    display: flex;
    gap: 10px;
}

.led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: ledPulse 2s ease-in-out infinite;
}

.led.red {
    background: #ff4757;
    box-shadow: 0 0 10px #ff4757;
    animation-delay: 0s;
}

.led.green {
    background: #2ed573;
    box-shadow: 0 0 10px #2ed573;
    animation-delay: 0.3s;
}

.led.blue {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
    animation-delay: 0.6s;
}

@keyframes ledPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .chip-nav {
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        border-radius: 0;
        padding: 10px;
        gap: 5px;
        overflow-x: auto;
    }

    .chip-btn {
        flex-direction: column;
        padding: 8px 12px;
        gap: 5px;
    }

    .chip-label {
        font-size: 10px;
    }

    .chip-led {
        display: none;
    }

    .motherboard-container {
        padding-bottom: 100px;
    }
}

@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }

    .name-plate h1 {
        font-size: 2rem;
    }

    .quick-stats {
        justify-content: center;
    }

    .contact-board {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 25px;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-connector {
        left: -25px;
        width: 17px;
    }

    .skill-chip {
        grid-template-columns: 80px 1fr 40px;
        gap: 10px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .chip-nav {
        gap: 3px;
    }

    .chip-btn {
        padding: 6px 8px;
    }

    .chip-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .chip-label {
        font-size: 9px;
    }

    .projects-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

    .photo-frame {
        width: 150px;
        height: 150px;
    }
}
