* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #8A2BE2 0%, #9370DB 50%, #4682B4 100%);
    min-height: 100vh;
}

.cover-section {
    position: relative;
    height: 40vh;
    background: linear-gradient(45deg, #8A2BE2 0%, #9370DB 50%, #4682B4);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cover-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.profile-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 4px solid white;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-title {
    font-size: 1.2rem;
    opacity: 0.9;
    padding: 8px 24px;
    border: 2px solid white;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
}

.resume-container {
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 56px);
}

.resume-content {
    flex: 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 0;
}

.section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    cursor: pointer;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #8A2BE2;
    transition: all 0.3s ease;
    user-select: none;
}

.section-title:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.section-title::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.section-title.collapsed::after {
    transform: translateY(-50%) rotate(-90deg);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 15px;
}

.section-content.expanded {
    max-height: 2000px;
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.resume-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #8A2BE2;
    position: relative;
    overflow: hidden;
}

.resume-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, #8A2BE2, #9370DB, #6495ED);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resume-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.resume-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 1rem;
    color: #8A2BE2;
    font-weight: 500;
    margin-bottom: 3px;
}

.card-date {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.card-description {
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skill-category {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #9370DB;
}

.skill-category h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.skill-item {
    background: linear-gradient(45deg, #8A2BE2, #9370DB);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-block;
    margin: 5px 5px 5px 0;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.skill-item:hover {
    transform: scale(1.05);
}

.award-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 50%;
    position: relative;
}

.award-icon::before {
    content: '🏆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.score-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 10px;
}

.community-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    background: linear-gradient(45deg, #17a2b8, #20c997);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .section {
        padding: 0 15px 30px;
    }
}

