:root {
    --primary: #2c3e50FF;
    --accent: #2E7D32;
    --primary-dark: #0f2a4f;
    --success: #10b981;
    --gray-light: #f3f4f6;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    scroll-behavior: smooth;
}
h1, h2, h3, h4, .logo, .btn-primary, .btn-outline {
    font-family: 'Poppins', sans-serif;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}
section {
    padding: 80px 0;
}
h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}
.divider {
    width: 64px;
    height: 4px;
    background: var(--primary);
    margin: 16px auto 32px;
    border-radius: 2px;
}
/* Navigation */
nav {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #e5e7eb;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--primary);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}
.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
}
.mobile-menu a {
    padding: 10px 0;
    text-decoration: none;
    color: var(--text-dark);
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu.active { display: flex; }
}
/* Hero */
.hero {
    background: linear-gradient(120deg, #f8fafc 0%, #eef2ff 100%);
    padding: 80px 0;
}
.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-badge {
    background: rgba(25,65,115,0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}
h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 20px;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-top: 8px;
}
.hero-text {
    margin: 24px 0;
    color: #4b5563;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary, .btn-outline {
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 10px rgba(25,65,115,0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25,65,115,0.25);
}
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: rgba(25,65,115,0.05);
    transform: translateY(-2px);
}
.social-links {
    margin-top: 32px;
    display: flex;
    gap: 20px;
}
.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.2s;
}
.social-links a:hover { color: var(--primary); }
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}
.profile-frame {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
    border: 4px solid white;
}
.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.floating-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.floating-badge i { color: var(--success); }
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .social-links { justify-content: center; }
    .floating-badge { bottom: -10px; right: 10px; }
}
/* About */
.about {
    background: white;
}
.about-text {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4b5563;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}
@media (max-width: 640px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Skills */
.skills {
    background: var(--gray-light);
}
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.skills-grid h3 {
    margin-bottom: 16px;
}
.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.skill-badges span {
    background: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
    .skills-grid { grid-template-columns: 1fr; gap: 32px; }
}
/* Timeline */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 20px;
    bottom: -20px;
    width: 2px;
    background: #e2e8f0;
}
.timeline-item:last-child::before { display: none; }
.timeline-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
}
.timeline-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 4px 0 8px;
}
/* Projects */
.projects {
    background: white;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}
.project-image {
    height: 200px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-image img {
    max-height: 100%;
    object-fit: contain;
}
.project-info {
    padding: 24px;
}
.project-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
}
.project-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 12px;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.project-tech span {
    background: #eef2ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
}
.project-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-right: 20px;
}
.more-projects {
    text-align: center;
    margin-top: 32px;
    color: var(--text-muted);
}
.more-projects a { color: var(--primary); }
@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
}
/* Contact */
.contact {
    background: var(--gray-light);
    text-align: center;
}
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
}
/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 24px;
    font-size: 0.875rem;
}