/* MEDIA OVERWRITE AND NEW SETTINGS */
@media screen and (max-width: 950px) {
    .main-title-large {
        text-align: center;
    }

    .grid-system-2 {
        grid-template-columns: 1fr;
    }

    .grid-system-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .small-card {
        min-height: 300px;
    }
}

@media screen and (max-width: 950px) and (min-width: 510px) {
    .max-width {
        max-width: 300px;
    }
}
@media screen and (max-width: 950px) and (min-width: 377px) {
    .main-title-large {
        font-size: 2rem;
        text-align: center;
        margin: 0;
    }
}

@media screen and (max-width: 600px) {
    .grid-system-4 {
        grid-template-columns: 1fr;
    }

    .small-card {
        height: auto;
    }
}

.skills-section {
    text-align: center;
    background: #1a1a1a;
    color: white;
    padding: 50px 20px;
    border-radius: 10px;
}

.skills-section {
    text-align: center;
    background: #1a1a1a;
    color: white;
    padding: 50px 20px;
    border-radius: 10px;
}

/* Grid layout - Responsive */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Individual skill card */
.skill-item {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out, background 0.3s;
}

/* Hover effect */
.skill-item:hover {
    transform: translateY(-5px);
}

/* Icons */
.skill-icon {
    width: 50px;
    margin-bottom: 10px;
}

/* Headings and text */
.skill-item h4 {
    margin: 10px 0;
    color: #00f100;
}

.skill-item p {
    font-size: 14px;
    color: #ccc;
}

/* Responsive for smaller screens */
@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
