
:root {
    --background: #121212;
    --surface: #1E1E1E;
    --highlight: #03DAC6;
    --text: #E0E0E0;
    --text-secondary: #A0A0A0;
    --card-border: rgba(255, 255, 255, 0.05);
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 32px;
    --spacing-xl: 32px;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.icons{
    filter: invert(100%);
    height:32px; 
    width:32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: var(--spacing-lg);
}

.container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-xl);
    position: sticky;
    top: 0;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.contact-info {
    display: flex;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    padding: var(--spacing-xs) 0;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--highlight);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: var(--spacing-xl);
}

h1 {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.5px;
}

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

.highlight {
    color: var(--highlight);
    font-weight: 500;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

.divider {
    height: 1px;
    background: var(--card-border);
    width: 100px;
    margin: var(--spacing-md) auto;
}

.intro {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
}

/* Section Styling */
section {
    padding: var(--spacing-xl) 0;
    max-width: 800px;
    margin: 0 auto;
}

section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.3px;
    color: var(--text);
}

/* About Section */
.about p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.project-card {
    background-color: var(--surface);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(3, 218, 198, 0.2);
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Education & Skills Section */
.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    .education-content {
        grid-template-columns: 1fr;
    }
}

.education-block{
    background-color: var(--surface);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
}

.education-item {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--card-border);
}

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

.education-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.education-item .date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.skill-item {
    background: rgba(3, 218, 198, 0.1);
    color: var(--highlight);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

/* Work Placement Section */
.experience {
    position: relative;
    margin-left: 20px;
    padding-left: 30px;
    border-left: 1px solid var(--card-border);
}

.experience-item {
    position: relative;
    padding-bottom: var(--spacing-lg);
}


.experience-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--highlight);
}

.work-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.work-item .company {
    font-weight: 500;
    color: var(--highlight);
    margin-bottom: 4px;
}

.work-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

footer {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md) 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--card-border);
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: var(--spacing-md);
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    header {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md) 0;
    }
    
    .header-left {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
}

/* Add to bottom of style.css */
.section-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.section-animate.section-visible {
    opacity: 1;
    transform: translateY(0);
}
