:root {
    --primary: #2563eb;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --light-text: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 0 50px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

.header-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.25rem;
    color: #93c5fd;
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary);
}

.social-links a {
    display: inline-block;
    margin: 0 8px;
    color: white;
    background: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.social-links i {
    margin-right: 5px;
}

/* Sections */
main section {
    margin: 50px 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 8px;
    border-radius: 2px;
}

/* About */
#about p {
    font-size: 1.1rem;
    color: var(--text);
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.skill-category {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: var(--light-text);
}

.skill-category li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Education */
.timeline-item {
    background: var(--card-bg);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.timeline-item h3 {
    margin-bottom: 5px;
}

.timeline-item span {
    color: var(--light-text);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.project-card p {
    flex-grow: 1;
    margin-bottom: 15px;
    color: var(--light-text);
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.3s;
    text-align: center;
    margin-right: 5px;
}

.btn.disabled {
    background: #cbd5e1;
    pointer-events: none;
}

.btn:hover {
    background: #1d4ed8;
}

/* Certifications */
#certifications ul {
    list-style: none;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

#certifications li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

#certifications li:last-child {
    border-bottom: none;
}

.in-progress {
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #92400e;
}

/* Contact */
#contact {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

#contact p {
    margin: 10px 0;
    color: var(--light-text);
}

/* Footer */
footer {
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    .header-text h1 {
        font-size: 2.2rem;
    }
    .contact-info {
        flex-direction: column;
        gap: 8px;
    }
}