/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0;
    font-size: 1.2rem;
    color:#fff;
}

/* Navigation Styles */
nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    background-color: #444;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 1.1rem;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Main Content Styles */
section {
    padding: 20px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: #fff;
    margin: 10px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Related Blogs Section */
.related-blogs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.related-blog {
    width: 180px;
    text-align: center;
}

.related-blog a {
    text-decoration: none;
    color: #333;
}

.related-blog-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.related-blog p {
    font-size: 1em;
    font-weight: bold;
    color: #0056b3;
}

.related-blog p:hover {
    text-decoration: underline;
}

ul li a {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
}

ul li a:hover {
    color: #007BFF;
    text-decoration: underline;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
    background-image: url('/images/footer.jpg');
    background-size: cover;
    background-position: center;

}

footer a {color:#fff}

/* Form Styles */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

form label {
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

form button {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}



.banner-container {
    width: 100%;
    height: 450px;
    background-image: url('/images/banner-home.jpg');
    background-size: cover;
    background-position: center;
    display:block;
}

/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 20px;
    background-color: #f9f9f9;
}

/* Center the Blog Post */
main {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Blog Post Title */
h1 {
    font-size: 2.5em;
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
}

/* Paragraph Padding */
p {
    margin-bottom: 20px;
}

/* Inline Image Styles */
img.inline-image {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
    max-width: 300px;
    height: auto;
    border-radius: 4px;
}

/* Back to Blog Link */
a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Padding for Content */
main p {
    text-align: justify;
}

/* Blog List Styling */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
}

article {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 1.8em;
    color: #0056b3;
    margin-bottom: 10px;
}

h2 a {
    color: #0056b3;
    text-decoration: none;
}

h2 a:hover {
    text-decoration: underline;
}

.date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
}

p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

.read-more {
    display: inline-block;
    padding: 8px 12px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.read-more:hover {
    background-color: #003f87;
}

/* Article Hover Effect */
article:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Inline Blog List Images */
.inline-blog-image {
    max-width: 200px;
    height: auto;
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* Clearfix for floated images */
article::after {
    content: "";
    display: table;
    clear: both;
}

footer p {color:#fff}

#related_posts {margin:10px;}

.related-blogs img {width:150px;float:left;margin-right:15px;}
.related-blogs li {vertical-align: middle;}

/* Container for site image and details */
.site-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; /* Align items closer together */
    gap: 20px; /* Adds space between the image and the text */
    margin: 20px 0;
    padding: 0 20px; /* Add padding to keep content from being too wide */
}

/* Site image on the left */
.site-image img {
    max-width: 300px; /* Adjust the size as needed */
    height: auto;
    border-radius: 8px;
    /* Ensure the image stays closer to the content */
}

/* Site details and form on the right */
.site-details {
    flex: 1;
    max-width: 600px;
}

/* Align the form elements */
.buy-form {
    margin-top: 20px;
}

.buy-form label {
    display: block;
    margin-bottom: 10px;
}

.buy-form select {
    padding: 8px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 200px;
}

.buy-form button {
    padding: 10px 15px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.buy-form button:hover {
    background-color: #003f87;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-container {
        flex-direction: column;
        padding: 0; /* Remove side padding for small screens */
    }

    .site-image {
        margin-bottom: 20px;
    }
}

/* Checkout page container */
.checkout-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left column: Order summary */
.checkout-details {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.checkout-details h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.checkout-details p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Right column: Checkout form */
.checkout-form {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.checkout-form h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.checkout-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkout-form button {
    padding: 10px 20px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.checkout-form button:hover {
    background-color: #003f87;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .checkout-container {
        flex-direction: column;
    }
}


