/* Profile image positioning fixes */
.profile-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

.profile-image-container {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.7);
    margin-top: -30px; /* Move image down */
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Skills section styling */
#skills {
    padding: 2rem 0;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.skill-category {
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.skill-category h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #00f7ff, #ff00a0);
}

.skill-item {
    margin-bottom: 0.8rem;
}

.skill-item span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #e0e0e0;
}

.skill-bar {
    height: 8px;
    background-color: rgba(30, 30, 50, 0.5);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #00f7ff, #ff00a0);
    border-radius: 4px;
    width: 0; /* Initial width */
    transition: width 1.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image-container {
        margin: 0 auto;
    }
}