.technical-mastery {
    background-color: var(--neutral-color);
    padding: 100px 0;
    color: var(--white-color);
}

.technical-mastery-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* --- Section Heading & Description --- */
.technical-mastery-title {
    font-family: var(--font-family);
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white-color);
}

.technical-mastery-subtitle {
    text-align: center;
    font-size: 24px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.technical-mastery-description {
    text-align: center;
    font-size: var(--text-size);
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

/* --- Skills Grid --- */
.technical-mastery-skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* --- Individual Skill Card --- */
.technical-mastery-skill {
    background-color: #020617; /* Darker than neutral-color to stand out */
    background: linear-gradient(145deg, #030712 0%, #080f1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 300px;
}

.technical-mastery-skill:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.2);
}

/* Icon / Logo Container */
.technical-mastery-skill img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 25px;
     fill: var(--primary-color);
    background: rgba(0, 229, 255, 0.05);
    padding: 12px;
    border-radius: 12px;
    /* border: 1px solid rgba(0, 229, 255, 0.1); */
    transition: transform 0.3s ease;
}

.technical-mastery-skill:hover img {
    transform: scale(1.05);
    background: rgba(0, 229, 255, 0.1);
}

/* Skill Name */
.technical-mastery-skill-name {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white-color);
}

/* Skill Description */
.technical-mastery-skill-description {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* If there happens to be an image block side-by-side in HTML, hide or adjust */
.technical-mastery-image {
    display: none;
}

/* --- Responsive Layout --- */
@media screen and (max-width: 1024px) {
    .technical-mastery-skills {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .technical-mastery-skills {
        grid-template-columns: 1fr;
    }
    
    .technical-mastery-title {
        font-size: 32px;
    }

    .technical-mastery-description {
        margin-bottom: 40px;
    }
}




@media screen and (max-width: 991px) {
    .technical-mastery{
       padding-top: 60px;
       padding-bottom: 60px;
    }
}
@media (max-width:767px) {

}