/* ==================== VARIABLES ==================== */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #111828;
    --bg-card: #1a1f3a;
    --bg-card-hover: #222847;
    
    --accent-primary: #00d4ff;
    --accent-secondary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: rgba(148, 163, 184, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(ellipse at top, rgba(28, 40, 80, 0.4) 0%, var(--bg-primary) 50%);
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

strong {
    color: var(--accent-primary);
    font-weight: 600;
}

em {
    color: var(--accent-secondary);
    font-style: normal;
}

/* ==================== UTILITIES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section.alt-bg {
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title .icon {
    font-size: 2.5rem;
    display: inline-block;
}

.section-intro {
    text-align: left;
    margin: 0 3rem 2.5rem 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.mt-3 {
    margin-top: 1.5rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
}

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

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.logo .subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.25rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.burger .line {
    width: 25px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 900px;
}

.glitch {
    font-size: 4rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3)); }
    to { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== BIO SECTION ==================== */
.bio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.bio-card.full-width {
    grid-column: 1 / -1;
}

.bio-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-header i {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.card-content p {
    margin-bottom: 1rem;
}

.card-content p:last-child {
    margin-bottom: 0;
}

/* ==================== TIMELINE ==================== */
.timeline {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 20px rgba(0, 212, 255, 0.5);
}

.timeline-content {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}

.timeline-content h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.timeline-content .date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 4px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

/* ==================== PANELS ==================== */
.science-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.panel:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.panel-header {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.panel-header i {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.panel-content {
    padding: 1.5rem;
}

.interest-list {
    list-style: none;
}

.interest-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.interest-list li:last-child {
    border-bottom: none;
}

.interest-list i {
    color: var(--accent-primary);
}

/* ==================== TECH TAGS ==================== */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.tag:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
}

/* ==================== PROJECTS ==================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 2px solid var(--accent-primary);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.project-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
}

.project-card h3 {
    margin-bottom: 0.5rem;
}

.project-card .role {
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-card .description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.project-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    position: relative;
}

.project-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.project-links .link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.project-links .link:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* ==================== WEB DEV SECTION ==================== */
.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.dev-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    color: var(--accent-primary);
}

.skills-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}


.skill-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.skill-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.skill-info {
    display: block;
    margin-bottom: 0.75rem;
}

.skill-name {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 1.1rem;
    display: block;
}

.skill-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}


.skill-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-percent {
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 0.875rem;
}

.skill-bar {
    height: 8px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    transition: width 1s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.skill-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Security Panel */
.security-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==================== DESIGN SECTION ==================== */
.design-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.principle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.principle-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.principle-card i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}

.principle-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.principle-card p {
    margin: 0;
    font-size: 0.875rem;
}

.design-showcase h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-primary);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.showcase-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.showcase-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.showcase-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.showcase-item h4 {
    margin-bottom: 0.75rem;
}

.showcase-item p {
    margin: 0;
    font-size: 0.875rem;
}

/* ==================== MUSIC SECTION ==================== */
.music-content {
    max-width: 900px;
    margin: 0 auto;
}

.music-intro {
    margin-bottom: 3rem;
}

.music-intro .panel-content p {
    font-size: 1.1rem;
    text-align: center;
}

.music-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.music-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.music-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.music-card i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}

.music-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.music-card p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.music-card .timeline-text {
    color: var(--accent-primary);
    font-weight: 600;
}

/* ==================== CONTACT SECTION ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    display: block;
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.cta-panel {
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-panel h3 {
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.cta-panel p {
    margin-bottom: 2rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .burger {
        display: flex;
    }
    
    .burger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .burger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .glitch {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bio-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .dev-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: -28px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
        flex-direction: column;
    }
    
    .contact-grid,
    .design-principles,
    .music-details {
        grid-template-columns: 1fr;
    }
}

/* ==================== WEB DEV PANELS ==================== */
.webdev-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.webdev-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.webdev-panel:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.webdev-panel.full-width-panel {
    grid-column: 1 / -1;
}

.competence-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.competence-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.competence-item h4 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.competence-item h4 i {
    font-size: 1rem;
}

.competence-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.security-item:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.security-item i {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.security-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: left;
}

/* ==================== TEXT ALIGNMENT FIXES ==================== */
.card-content p,
.panel-content p,
.timeline-content p,
.bio-card p,
.project-details li,
.interest-list li,
.music-intro p {
    text-align: left;
}

.section-intro {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .webdev-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem 4rem; /* 2rem vertical, 4rem horizontal */
    margin-bottom: 2rem;
}
    
    .security-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* ==================== BIBLIOGRAPHIE ==================== */
.biblio-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.biblio-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.biblio-list li:last-child {
    border-bottom: none;
}

.biblio-list i {
    color: var(--accent-primary);
    margin-top: 0.25rem;
}

.biblio-list strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.biblio-list .author {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    display: block;
}


