@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --dark: #0a0e17;
    --darker: #080c14;
    --light: #e2e8f0;
    --lighter: #f1f5f9;
    --neon-blue: #00f5ff;
    --neon-purple: #b700ff;
}
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 245, 255, 0.2);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(0, 245, 255, 0.05),
        rgba(183, 0, 255, 0.05),
        transparent
    );
    transform: rotate(30deg);
    pointer-events: none;
}
/* Tech Icons */
.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: rgba(30, 41, 59, 0.5);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-5px);
}

.tech-icon i {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.tech-icon span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--light);
}

/* Skill Cards */
.skill-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

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

.skill-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-items li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}
.skill-level {
    height: 100%;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
    border-radius: 3px;
    box-shadow: 0 0 10px var(--neon-blue);
}
/* Project Cards */
.project-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tags span {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.code-link {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.code-link:hover {
    background: rgba(59, 130, 246, 0.2);
}

.demo-link {
    background: rgba(124, 58, 237, 0.1);
    color: var(--secondary);
}

.demo-link:hover {
    background: rgba(124, 58, 237, 0.2);
}

.project-links i {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

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

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

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--darker);
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 2rem);
    padding: 1.5rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Certifications */
.cert-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
}

.cert-icon {
    margin-bottom: 1rem;
}

.cert-date {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--light);
}

.form-group input,
.form-group textarea {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    color: var(--light);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.submit-btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px -5px rgba(59, 130, 246, 0.5);
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.5);
    color: var(--light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-content {
        width: calc(100% - 3rem);
        margin-left: 2rem !important;
        text-align: left !important;
    }
    
    .timeline-dot {
        left: 1rem;
    }
    
    .tech-icon {
        padding: 1rem;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-links a {
        justify-content: center;
    }
}