
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    margin: 0;
}

h2 {
    margin-bottom: 10px;
    font-size: 28px;
}

#about, #projects, #contact {
    padding: 30px 80px;
    margin: 10px auto;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #0f172a;
    border-radius: 12px;
    margin: 20px auto;
}

.headings {
    display: flex;
}

.headings a {
    margin-left: 30px;
    font-size: 20px;
    text-decoration: none;
    color: #e2e8f0;
    transition: 0.3s;
}

.headings a:hover {
    color: #3b82f6;
}

.resume a {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
}

.resume a:hover {
    background: #2563eb;
}


.hero {
    margin: 60px auto;
    max-width: 800px;
    text-align: center;
}

.head {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.sub-text {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}
.text{
    font-size: 20px;
}
.extra {
    margin-top: 10px;
    color: #3b82f6;
    font-weight: 500;
}


.projects-Container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.project-card img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background: #f1f5f9;
}

.project-content {
    padding: 16px;
}

.project-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 10px;
}

.tech {
    font-size: 12px;
    color: #334155;
    background: #e2e8f0;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.buttons a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    background: #0f172a;
    color: white;
    transition: 0.3s;
}

.buttons a:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}
.buttons{
    margin: 10px auto;
}


#contact {
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    margin-top: 60px;
}

#contact h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#contact p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 10px;
}

#contact p:last-of-type {
    color: #1e293b;
    font-weight: 500;
}

.contact-links {
    margin-top: 20px;
}

.contact-links a {
    font-size: 24px;
    margin: 0 12px;
    color: #0f172a;
    transition: 0.3s;
}

.contact-links a:hover {
    color: #3b82f6;
    transform: scale(1.2);
}