/* Main content styles */
main {
    padding: 30px; /* Increase padding for a more spacious layout */
    background-color: #f0f0f0; /* Light gray background for contrast */
}

h2 {
    text-align: center;
    margin-bottom: 30px; /* Increase bottom margin for better spacing */
    color: #444; /* Darker shade for better readability */
    font-size: 2.5em; /* Larger font size for better emphasis */
}

.brands-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; /* Add space between items */
}

.column {
    flex: 1;
    max-width: 280px; /* Slightly narrower columns for better fit */
    text-align: center;
    margin: 10px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0); /* Gradient background for modern look */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Stronger shadow for depth */
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for box-shadow */
}

.column:hover {
    transform: scale(1.08); /* Increase scale on hover for more impact */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* More pronounced shadow on hover */
}

.column h3 {
    margin: 15px 0;
    color: #222; /* Darker shade for better contrast */
    font-size: 1.2em; /* Increase font size for more emphasis */
    font-weight: 600; /* Bolder font for headings */
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .column {
        max-width: 45%; /* Adjust max width for tablets */
        margin: 10px; /* Add spacing around columns */
        padding: 15px; /* Add padding inside columns */
        background-color: #ffffff; /* White background for columns */
        border-radius: 10px; /* Rounded corners for a modern look */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
        transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    }

    .column:hover {
        transform: translateY(-5px); /* Slight lift effect on hover */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    }

    .column h3 {
        font-size: 1.3em; /* Adjust font size for tablets */
        color: #009688; /* Teal color for headings */
        margin-bottom: 10px; /* Spacing below headings */
    }

    .column p {
        font-size: 0.95em; /* Adjust font size for tablets */
        color: #555; /* Dark gray color for text */
        line-height: 1.5; /* Improve readability with line height */
    }
}

@media (max-width: 480px) {
    .column {
        max-width: 100%; /* Use full width for mobile devices */
        margin: 8px 0; /* Adjust spacing for smaller screens */
        padding: 12px; /* Reduce padding for smaller screens */
    }

    .column h3 {
        font-size: 1.1em; /* Slightly reduce font size for mobile devices */
        margin-bottom: 8px; /* Reduce spacing below headings */
    }

    .column p {
        font-size: 0.9em; /* Slightly reduce font size for mobile devices */
    }
}
