/* Reset and Base Styles /*
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

/* Header */

header {
    background: #1a1a1a;
    color: #fff;
    padding: 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.header-intro {
    font-size: 1.2rem;
    margin: 1rem auto;
    color: #dcd4d4;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease
}

.cta-button:hover {
    background: #333;
}

/* Navigation */

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #94a3b8;
}

/* Sections */

section {
   max-width: 1200px;
   margin: 0 auto;
   padding: 4rem 2rem;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a1a1a;
}

/* Projects Grid */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Project Cards */

.project-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.project-card p {
   color: #555;
   font-size: 0.95rem;
   margin-bottom: 0.75rem;
}

.tech-stack {
    color: #3F4C5F;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.project-card a {
    display: inline-block;
    margin-right: 0.75rem;
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.project-card a:hover {
    background: #333;
}

/* About Section */

#about {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
}

#about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

#about p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 10px auto;
    line-height: 1.6;
    color: #555;
}

#about .skills {
    margin-top: 25px;
}

.skill-tag {
    display: inline-block;
    margin: 5px;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #333;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.skill-tag:hover {
    background: #333;
    color: #fff;
}

/* Contact Section */

#contact {
    text-align: center;
}

#contact a {
    display: inline-block;
    margin: 0 1rem;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

#contact a:hover {
    background: #333;
    transform: translateY(-2px);
}  

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.contact-card .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #969696;
}

.contact-card p {
    font-size: 0.9rem;
    color: #B3B3B3;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
}

.social-link span {
    font-size: 1.2rem;
}

/* Responsive Design */

@media (max-width: 768px) {
    header {
        text-align: center;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    section {
        padding: 2rem 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

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

    .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    .social-link {
        justify-content: center;
    }

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

        nav a {
            font-size: 1rem;
        }

        section h2 {
            font-size: 1.8rem;
        }

        .project-card {
            padding: 1.5rem;
        }
    }
}