.technologies {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--background-color);
    color: var(--text-color);
}

.technologies h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.technologies p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.technology-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.tech-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-background);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--card-hover-shadow);
}

.tech-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .technologies h2 {
        font-size: 2em;
    }

    .technologies p {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .technology-icons {
        gap: 20px;
    }

    .tech-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .technologies {
        padding: 40px 15px;
    }

    .technologies h2 {
        font-size: 1.8em;
    }

    .technologies p {
        font-size: 0.95em;
    }

    .technology-icons {
        gap: 15px;
    }

    .tech-icon {
        width: 60px;
        height: 60px;
    }
}
