:root {
    --primary-color: #2d3436;
    --secondary-color: #6c5ce7;
    --accent-color: #a8e6cf;
    --background-color: #ffffff;
    --card-background: #ffffff;
    --text-color: #2d3436;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.hero {
    text-align: center;
    padding: 6rem 2rem;
    background-color: var(--background-color);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 2rem;
    border: 3px solid var(--accent-color);
    object-fit: cover;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-text {
    font-size: 1.2rem;
    color: #666;
}

.featured-work, .projects {
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.featured-card {
    background: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

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

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

.project-card {
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

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

.card-content {
    padding: 1rem;
    text-align: center;
}

.card-content img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background-color: var(--background-color);
    padding: 1rem;
}

.featured-card .card-content img {
    height: 180px;
}

.card-content h3 {
    margin: 0.75rem 0 0.25rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-align: center;
}

.project-card p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .featured-work, .projects {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-icon {
    font-size: 24px;
    opacity: 0.8;
}

.social-icon:hover {
    opacity: 1;
}

.card-content i.social-icon {
    font-size: 100px;
    height: 180px;
    width: 100%;
    color: var(--primary-color);
    background-color: #f8f9fa;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.professional-links {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #666;
}

.professional-links a {
    color: #007bff;
    text-decoration: none;
}

.professional-links a:hover {
    text-decoration: underline;
}