/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

/* Body */
body {
    font-family: 'Poppins', sans-serif;
    background: #0b1120;
    color: #f8fafc;
    line-height: 1.7;
    scroll-behavior: smooth;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Header / Hero */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0b1120, #111827);
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

header p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    margin: 20px 10px 0;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #334155;
    color: #f8fafc;
}

.btn-secondary:hover {
    background: #1e293b;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #2563eb;
    margin: 10px auto 0;
    border-radius: 5px;
}

/* About */
.about {
    text-align: center;
    color: #dbe4ee;
    max-width: 800px;
    margin: auto;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.project-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 25px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #2563eb;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.project-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 18px;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-card p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.tech-stack span {
    background: #1e293b;
    color: #93c5fd;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.project-links a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    margin-right: 15px;
}

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

/* Skills */
.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill {
    background: #111827;
    border: 1px solid #1f2937;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 500;
    color: #e5e7eb;
    transition: all 0.3s ease;
}

.skill:hover {
    border-color: #2563eb;
    transform: translateY(-3px);
}

/* Internship */
.internship {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    color: #dbe4ee;
}

/* Contact */
.contact {
    text-align: center;
}

.contact p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-links a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: #94a3b8;
    border-top: 1px solid #1f2937;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .project-card {
        padding: 20px;
    }
}
