/* Modern, Clean Portfolio Styles */
:root {
    --primary: #2563eb;       /* More vibrant blue */
    --secondary: #7c3aed;     /* Purple accent */
    --light-bg: #f9fafb;      /* Very light gray background */
    --card-bg: #ffffff;       /* Pure white cards */
    --text: #1f2937;          /* Dark gray for text */
    --text-light: #6b7280;    /* Medium gray */
    --border: #e5e7eb;       /* Light border color */
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text);
    line-height: 1.6;
}

/* Header */
header {
    text-align: center;
    padding: 4rem 1rem 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.profile-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 5px solid white;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 700;
}

.tagline {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: white;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    margin: 0 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.company, .degree, .tech {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
}

ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* About Section */
.about-card {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.skills {
    flex: 1;
    min-width: 300px;
}

.skills h3 {
    margin-bottom: 1.25rem;
}

.skills ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    list-style: none;
    padding-left: 0;
}

.skills li {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Contact Section */
.contact-card {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 2.5rem;
}

.contact-methods {
    flex: 1;
    min-width: 250px;
}

.contact-form {
    flex: 1;
    min-width: 250px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

.contact-item a, .contact-item span {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.contact-item a:hover {
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    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(37, 99, 235, 0.1);
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Project Links */
.project-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.project-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: white;
    border-top: 1px solid var(--border);
    color: var(--text-light);
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-light);
    margin: 0 0.75rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

/* Quantum Canvas */
#quantumCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: .2;  /* Increased opacity to make it more visible */
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    background-color: rgba(249, 250, 251, 0.3);  /* More see-through */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }
    
    nav a {
        margin: 0.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    header {
        padding: 3rem 1rem 1.5rem;
    }
}