:root {
    --primary-color: #007AFF;
    --background-color: #FFFFFF;
    --text-color: #1D1D1F;
    --secondary-text: #86868B;
    --card-background: #F5F5F7;
    --spacing-unit: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: calc(var(--spacing-unit) * 2) 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    width: auto;
    height: 50px;
    display: block;
}

.logo svg {
    width: 100%;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-unit) * 20) 0;
    text-align: center;
    background: linear-gradient(to bottom, #F5F5F7, #FFFFFF);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.subtitle {
    font-size: 24px;
    color: var(--secondary-text);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.cta-button {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: calc(var(--spacing-unit) * 10) 0;
}

h2 {
    font-size: 36px;
    margin-bottom: calc(var(--spacing-unit) * 6);
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 6);
}

.skills {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
    margin-top: calc(var(--spacing-unit) * 3);
}

.skills span {
    padding: calc(var(--spacing-unit)) calc(var(--spacing-unit) * 2);
    background-color: var(--card-background);
    border-radius: 20px;
    font-size: 14px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 2);
}

.stat-card {
    background-color: var(--card-background);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: 20px;
    text-align: center;
}

.stat-card h3 {
    font-size: 36px;
    color: var(--primary-color);
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

.project-card {
    background-color: var(--card-background);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-link {
    display: inline-block;
    margin-top: calc(var(--spacing-unit) * 2);
    color: var(--primary-color);
    text-decoration: none;
}

/* Goals Section */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

.goal-card {
    background-color: var(--card-background);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: 20px;
    text-align: center;
}

.goal-card h3 {
    font-size: 36px;
    color: var(--primary-color);
}

/* Updated Contact Section */
.contact {
    background-color: #ffffff;
    padding: calc(var(--spacing-unit) * 8) 0;
}

.serif-heading {
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    font-size: 42px;
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 4);
    padding: calc(var(--spacing-unit) * 4) 0;
}

.social-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon i {
    font-size: 24px;
    color: #000;
}

.social-icon:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

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

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 20px;
    }

    .social-icons {
        gap: calc(var(--spacing-unit) * 2);
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon i {
        font-size: 20px;
    }
    
    .serif-heading {
        font-size: 32px;
    }
}

/* Remove old contact styles */
.contact-content,
.social-links,
.social-button {
    display: none;
}

/* Footer */
footer {
    padding: calc(var(--spacing-unit) * 4) 0;
    background-color: var(--card-background);
    text-align: center;
    color: var(--secondary-text);
}