/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px;
}

/* Navigation Bar */
.navbar {
    background-color: #0a192f !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.avatar-img {
    display: block;
    margin: 0 auto 20px auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.skills-tags .badge-tag {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 40px;
    margin: 5px;
    font-weight: 500;
    transition: all 0.2s;
}
.skills-tags .badge-tag:hover {
    background-color: white;
    color: #764ba2;
    transform: scale(1.05);
}

/* General Section Styles */
.section-light {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.section-dark {
    padding: 80px 0;
    background-color: #0a192f;
    color: white;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}
.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #667eea;
    margin: 15px auto 0;
    border-radius: 2px;
}
.section-dark .section-title:after {
    background: #ffb347;
}

/* About Me – 新横条样式（干净、现代、横向排列） */
.fact-container {
    gap: 16px;
}
.fact-bar {
    background: linear-gradient(90deg, #667eea, #764ba2);
    color: white;
    border-radius: 50px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 260px;
}
.fact-bar:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.35);
}
.fact-bar i {
    font-size: 1.45rem;
    width: 28px;
}
.strength-badge {
    display: inline-block;
    background: #e9ecef;
    padding: 6px 15px;
    border-radius: 30px;
    margin-right: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

/* Skills Cards */
.skill-card {
    background: white;
    color: #333;
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}
.skill-card i {
    color: #667eea;
    margin-bottom: 15px;
}
.skill-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}
.skill-card ul {
    padding-left: 1.2rem;
}
.skill-card li {
    margin-bottom: 8px;
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    height: 100%;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.project-date {
    font-size: 0.85rem;
    font-weight: normal;
    color: #6c757d;
}
.project-card p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* Resume Button */
.btn-resume {
    background-color: #ffb347;
    color: #0a192f;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.2s;
    border: none;
}
.btn-resume:hover {
    background-color: #ff9f1a;
    transform: scale(1.02);
    color: #0a192f;
}

/* Contact Section */
.contact-section {
    background: #ffffff;
    padding: 60px 0;
    text-align: center;
}
.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}
.contact-item {
    background: #f0f2f5;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}
.contact-item i {
    margin-right: 8px;
    font-size: 1.2rem;
}
.contact-item:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    .contact-links { flex-direction: column; align-items: center; }
    .avatar-img {
        width: 160px;
        height: 160px;
    }
    .fact-bar {
        min-width: auto;
        padding: 14px 20px;
        font-size: 1rem;
    }
}