body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 0 15px; /* Add padding for smaller screens */
}

.about-container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-container h1 {
    color: #e74c3c;
    margin-bottom: 20px;
}

.about-container p {
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        padding: 15px;
    }

    .about-container h1 {
        font-size: 22px;
    }

    .about-container p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 10px;
    }

    .about-container h1 {
        font-size: 20px;
    }

    .about-container p {
        font-size: 13px;
    }
}

.products {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Reduced gap for smaller cards */
    justify-content: center;
}

.product {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 10px; /* Reduced padding for smaller cards */
    border-radius: 8px;
    text-align: center;
    width: calc(25% - 15px); /* Four products per row */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product img {
    max-width: 100%;
    height: 60%; /* Fixed height for uniformity */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product h2 {
    font-size: 16px; /* Reduced font size */
    margin-bottom: 8px;
}

.product p {
    font-size: 14px; /* Reduced font size */
    margin-bottom: 8px;
}

.product .btn {
    display: block; /* Make the button a block element */
    width: 90%; /* Align button to the image width */
    text-decoration: none;
    background-color: #e74c3c;
    color: #fff;
    padding: 6px 10px; /* Reduced padding for smaller buttons */
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: center; /* Center the button text */
}

/* Responsive Design */
@media (max-width: 768px) {
    .product {
        width: calc(33.333% - 15px); /* Three products per row */
    }

    .product img {
        height: 100px; /* Adjusted height for smaller screens */
    }

    .product h2 {
        font-size: 14px;
    }

    .product p {
        font-size: 12px;
    }

    .product .btn {
        font-size: 12px;
        padding: 5px 8px;
    }
}

@media (max-width: 480px) {
    .product {
        width: calc(50% - 15px); /* Two products per row */
    }

    .product img {
        height: 80px; /* Adjusted height for mobile screens */
    }

    .product h2 {
        font-size: 12px;
    }

    .product p {
        font-size: 10px;
    }

    .product .btn {
        font-size: 10px;
        padding: 4px 6px;
    }
}