/* General Styles */
* {
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}



body {
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}







/* Hero Section */
.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: opacity 0.2s ease;
}

.social-links img:hover {
    opacity: 0.8;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between image and content */
}

.blog-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 300px; /* Set a fixed height for the image container */
}

.blog-image img {
    width: 100%;
    height: 300px; /* Make the image cover the container */
    object-fit: cover; /* Ensure the image covers the container while maintaining aspect ratio */
    display: block; /* Remove extra space below the image */
}

.blog-content {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure content takes full height */
}

.blog-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.read-more {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 500;
    align-self: flex-end; /* Align to the right */
    margin-top: auto; /* Push to the bottom */
}
 

