/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-color: #f4f4f4; /* Light gray background */
    color: #333; /* Dark gray text */
    line-height: 1.6;
}


h1, h2, h3 {
    margin: 0.5em 0;
    font-weight: 600;
}

h1 {
    display: inline;
    margin-left: 20px;
    padding: 1.2em 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    background-color: #fff;
    color: #1565c0;
    padding: 2em 0; 
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;       
    flex-direction: column; 
    align-items: center;   
}

.logo {
    width: 100px;
    height: auto;
    margin-right: 15px; 
}
.logo-text{
    margin: 1em 0 0 0;
}
/* Product Section Styles */
#products {
    padding: 2em;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
}

.product-item {
    display: flex;
    flex-direction: column;
    width: calc(50% - 3em); /* Two items per row */
    min-width: 280px;     /* Responsive for smaller screens */
    max-width: 400px;     /* Prevent items from getting too wide */
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product-box {
    background-color: #1565c0;
    padding: 1.5em;
    text-align: center;
    color: white;
    border-radius: 8px 8px 0 0; 
}

.product-box img {
    max-width: 100%;
    height: auto;
    max-height: 80px; 
    margin-bottom: 10px; 
}


.product-details {
    padding: 1.5em;
    text-align: left;
    color: #333;
    flex-grow: 1;
    background-color: white; 
}

/* AePS Action Buttons */
.button-container {
    display: flex; /* Arrange buttons horizontally */
    justify-content: center; /* Center the buttons */
    flex-wrap: wrap;    /* Allow buttons to wrap to the next line */
    gap: 10px;        /* Add spacing between buttons */
}

.action-btn {
    background-color: #1565c0; /* iServeU blue */
    color: white;
    padding: 1em 1.5em;
    border: none;
    cursor: pointer;
    border-radius: 25px; /* Rounded corners */
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

.action-btn:hover {
    background-color: #0d47a1; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}
