/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f8; /* light gray background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Container Styling */
.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

/* Styling for each block */
.block {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
}

.block p {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

/* Hover effect */
.block:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* Styling for media queries */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }
}
