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

:root {
    --primary-color: #3b82f6;
    --secondary-color: #1e40af;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --hover-bg: #f3f4f6;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-tech: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.content {
    background: var(--bg-color);
    border-radius: 24px;
    padding: 80px 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-tech);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-tech);
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.name {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.title {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 30px;
    animation: fadeIn 1s ease;
}

.expertise-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    animation: fadeIn 1.2s ease;
}

.expertise-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.expertise-tag i {
    font-size: 1.2rem;
}

/* Buttons */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 50px 0 40px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--gradient-tech);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    border-bottom: 2px solid var(--border-color);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.social-link i {
    font-size: 1.5rem;
}

/* Sections */
.section {
    margin-top: 70px;
    padding-top: 50px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-icon {
    font-size: 2rem;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-tech);
    border-radius: 16px;
    color: white;
    box-shadow: var(--shadow-md);
}

/* Professional Summary */
.summary-section {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.05), rgba(6, 182, 212, 0.05));
    padding: 50px;
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
}

.summary-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.summary-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Skills Grid */
.skills-section {
    background: var(--bg-secondary);
    padding: 50px;
    border-radius: 20px;
    margin-left: -60px;
    margin-right: -60px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.skill-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-tech);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-tech);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.skill-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.skill-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.skill-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.skill-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.skill-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Education */
.education-section {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    padding: 50px;
    border-radius: 20px;
    border-left: 6px solid var(--success-color);
}

.education-item {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--success-color);
}

.education-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--success-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.education-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.education-institution {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-weight: 600;
}

.education-date {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.education-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
}

.detail-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.detail-item strong {
    color: var(--text-primary);
}

.text-muted {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Experience */
.experience-section {
    padding: 50px;
}

.experience-item {
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.03), rgba(6, 182, 212, 0.03));
    border-radius: 16px;
    border-left: 6px solid var(--primary-color);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.experience-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
    gap: 30px;
}

.experience-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.company {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
}

.experience-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.date, .location {
    font-size: 0.95rem;
    color: var(--text-secondary);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.date i, .location i {
    color: var(--primary-color);
}

.experience-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.experience-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.experience-list li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .content {
        padding: 50px 30px;
    }

    .name {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1.2rem;
    }

    .expertise-tags {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .skills-section,
    .summary-section,
    .education-section,
    .experience-section {
        margin-left: -30px;
        margin-right: -30px;
        padding: 30px 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .education-item {
        flex-direction: column;
        padding: 30px 20px;
    }

    .experience-header {
        flex-direction: column;
        align-items: start;
    }

    .experience-meta {
        align-items: flex-start;
    }

    .section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 40px 20px;
    }

    .name {
        font-size: 2rem;
    }

    .header-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}
