
/* Skills Section */
.skills {
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0;
}

.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.skills-group {
    flex: 1;
    min-width: 360px; /* Increased from 320px */
    margin-bottom: 30px;
}

.skills-group h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--white-color);
    text-align: center;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--main-color);
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

/* Fix for extremely small screens */
@media (max-width: 480px) {
    .skills-content span {
        width: 110px;  /* Wider than original small screen */
        height: 110px; /* Taller than original small screen */
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .skills-content {
        gap: 15px;
    }
    
    .skills-group {
        min-width: 300px;
    }
    
    /* Make profile elements stack better */
    .profile-image {
        flex: 0 0 200px;
        margin-left: -10px;
    }
    
    .profile-text {
        padding: 0 10px;
    }
    
    /* Better alignment for header elements */
    .logo h2 {
        font-size: 1.4rem;
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 360px) {
    .skills-content span {
        width: 90px;
        height: 90px;
        font-size: 0.75rem;
    }
    
    .skills-content span i {
        font-size: 1.8rem;
    }
    
    .skills-group {
        min-width: 250px;
    }
    
    .profile-image img {
        width: 130px;
        height: 130px;
    }
}
.skills-content span:hover {
    box-shadow: 0 0 15px rgba(0, 171, 240, 0.5);
    transform: translateY(-5px);
}

.skills-content span i {
    font-size: 3rem; /* Increased from 2.5rem */
    color: var(--main-color);
    margin-bottom: 12px; /* Increased from 10px */
}

/* Media queries for better responsiveness */
@media screen and (max-width: 1200px) {
    .skills-group {
        min-width: 320px;
    }
    
    .skills-content span {
        width: 130px;
        height: 130px;
    }
}

@media screen and (max-width: 768px) {
    .skills-content span {
        width: 120px;
        height: 120px;
        font-size: 0.95rem;
    }
    
    .skills-group {
        min-width: 100%;
    }
}

/* Skills description section */
.skills-description {
    margin-top: 20px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-description h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--white-color);
}

.skills-description p, 
.skills-description ul {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.skills-description ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.skills-description ul li::before {
    content: "•";
    color: var(--main-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

