* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #e0e0e0;
    background: #0a0a0a;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -1px;
}

header p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-info a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95em;
}

.contact-info a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

main {
    padding: 60px 50px;
}

section {
    margin-bottom: 60px;
}

h2 {
    color: #fff;
    font-size: 2em;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h3 {
    color: #f0f0f0;
    font-size: 1.4em;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.experience-item, .education-item {
    background: #252525;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    transition: all 0.3s;
}

.experience-item:hover, .education-item:hover {
    background: #2a2a2a;
    transform: translateX(5px);
}

.date {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

ul {
    padding-left: 20px;
    margin-top: 15px;
}

li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #d0d0d0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-category {
    background: #252525;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s;
}

.skill-category:hover {
    background: #2a2a2a;
    transform: translateY(-3px);
}

.skill-category h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 600;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    padding: 5px 0;
    color: #d0d0d0;
    position: relative;
    padding-left: 15px;
}

.skill-category li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #667eea;
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.cert-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s;
}

.cert-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

#visitor-counter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
    font-weight: 500;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* Summary section styling */
section:first-child p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #d0d0d0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }
    
    header {
        padding: 40px 30px;
    }
    
    main {
        padding: 40px 25px;
    }
    
    .experience-item, .education-item {
        padding: 20px;
    }
}