html {
    scroll-behavior: smooth;
}

.icon-section1 {
    padding: 40px 20px;
    text-align: center;
    background-color: white;
}

.icon-heading1 {
    font-size: 50px;
    margin-bottom: 20px;
    color: black;
}

.icon-heading1 span {
    color: orange;
}

.icon-container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    height: auto;
    /* Changed from fixed height to auto for better responsiveness */
}

.icon-card1 {
    background-color: white;
    padding: 20px;
    width: 260px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid black;
    border-radius: 50%;
}

.icon-card1:hover {
    border-radius: 20px;
    background-color: orange;
    transition: 2s;
}

.icon1 {
    font-size: 40px;
    color: black;
    margin-bottom: 10px;
}

.icon-text1 {
    font-size: 1.0rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.icon-description1 {
    font-size: 1rem;
    color: black;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .icon-heading1 {
        font-size: 40px;
        /* Slightly smaller heading for medium screens */
    }

    .icon-card1 {
        width: 45%;
        /* Two cards per row on medium screens */
    }
}

@media (max-width: 768px) {
    .icon-container1 {
        flex-direction: column;
        align-items: center;
    }

    .icon-card1 {
        width: 50%;
        /* Full width on smaller screens */
    }
}

@media (max-width: 480px) {
    .icon-heading1 {
        font-size: 1.5rem;
        /* Smaller heading for mobile */
    }

    .icon-card1 {
        width: 85%;
        /* Almost full width on mobile */
    }

    .icon1 {
        font-size: 30px;
        /* Smaller icon size for mobile */
    }

    .icon-text1 {
        font-size: 1rem;
        /* Smaller text for mobile */
    }

    .icon-description1 {
        font-size: 0.9rem;
        /* Smaller description for mobile */
    }
}