/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

/* Container for all cards */
.container {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px;
}

/* Card Style */
.post-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
}

/* Post Header */
.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.logo {
    font-size: 1.2em;
    color: #0073e6;
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-details {
    text-align: left;
}

.username {
    font-size: 0.9em;
    font-weight: bold;
}

.date-posted {
    font-size: 0.75em;
    color: #666;
}

/* Main Content */
.main-content {
    text-align: center;
}

.main-content h1 {
    color: #333;
    font-size: 1.8em;
    margin: 0;
}

/* Product Image */
.product-image {
    width: 100%; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners */
    margin: 10px 0; /* Spacing around the image */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}


.about-us {
    background-color: #0073e6;
    padding: 10px 20px;
    color: #fff;
    border-radius: 20px;
    margin: 20px 0;
    font-size: 0.9em;
    font-weight: bold;
}

.description {
    color: #666;
    margin-bottom: 20px;
}

/* Services Section */
.services {
    text-align: left;
    margin-bottom: 30px;
}

.services h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.4em;
    font-weight: bold;
}

.services ul {
    list-style: none;
    padding: 0;
}

.services ul li {
    font-size: 0.95em;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.services ul li i {
    color: #0073e6;
    margin-right: 10px;
}

/* Service Details */
.service-details ul {
    padding: 0;
}

.service-details ul li {
    font-size: 0.9em;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.service-details ul li i {
    color: #4CAF50;
    margin-right: 8px;
}

/* Rating Section */
.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.rating p {
    margin-right: 10px;
    color: #333;
}

.rating .star {
    color: #f1c40f;
}

.rating-value {
    margin-left: 10px;
    font-weight: bold;
}

/* Contact Info */
.contact-info {
    font-size: 0.85em;
    color: #333;
    margin-bottom: 20px;
}

/* Social Interactions */
.social-interactions {
    font-size: 0.9em;
    color: #666;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.footer-item i {
    margin-right: 5px;
}

.footer-item:hover {
    color: #0073e6;
}
