* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Blog Content Styles */
.featured-container {
    padding-top: 50px;
    padding-left: 20px;
}

.header-text {
    width: 100%;
    padding: 20px; /* Add padding for better appearance */
    border-radius: 10px; /* Optional: Add border radius for rounded corners */
    
}

.text-h5 {
    font-size: 2rem; /* Adjust this size to match the header size */
    line-height: 1.2; /* Adjust line height if necessary */
    display: flex;
}

.header {
    position: relative; /* Ensure the pseudo-element is positioned relative to the header */
    overflow: hidden; /* Hide the overflow to prevent the scaled image from showing outside the header */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    width: 75%; /* Adjust this value to decrease the width */
    margin: 0 auto; /* Center the header */
    cursor: pointer; /* Make it look like a button */
    height: 500px; /* Set a fixed height */
    color: white; /* Ensure text is readable */
    background-position: center;
    background-size: cover;
    border-radius: 10px; /* Optional: Add border radius for rounded corners */
    padding: 10px; /* Optional: Add padding for better appearance */
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn.usegalileo.ai/sdxl10/2fb413b7-a567-4688-951f-e311b8c8d669.png'); /* Add background image */
    background-size: cover; /* Cover the entire header */
    background-position: center; /* Center the background image */
    transition: transform 0.3s ease; /* Smooth transition for the scaling effect */
    z-index: -1; /* Ensure the pseudo-element is behind the header content */
}

.header:hover::before {
    transform: scale(1.05); /* Scale up the background image */
}

.header .blog-category {
    left: 15px;
}

.all-blogs {
    padding: 20px;
    padding-top: 60px;
    padding-left: 80px;
    font-family: 'Poppins';
    font-size: 2.5rem;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 80px;
    margin-bottom: 2rem;
}

.category-tag {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background-color: #40B3A2;
    color: white;
    border-color: #40B3A2;
}

.category-tag.active {
    background-color: #40B3A2;
    color: white;
    border-color: #40B3A2;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

p {
    color: white;
    margin-bottom: 20px;
}

.featured {
    text-align: center;
    padding-bottom: 40px;
    /* margin: auto; */
}

.all-articles {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    padding: 20px;
    padding-left: 48px;
    padding-bottom: 150px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-snippet {
    width: calc(33.33% - 27px);
    min-height: 380px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid #E8F7F5;
    box-shadow: 0 8px 16px rgba(232, 247, 245, 0.8);
    transition: transform 0.3s ease;
    text-decoration: none;
    margin-bottom: 20px;
    background-color: white;
}

.blog-snippet:hover {
    transform: scale(1.05); /* Scale up the blog snippet on hover */
    cursor: pointer;
}

.blog-snippet .blog-image {
    width: 100%;
    height: 200px; /* Fixed height for image */
    object-fit: cover;
    transition: transform 0.3s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.blog-snippet .blog-content {
    width: 100%;
    flex: 1; /* Allow content to grow */
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: black;
    position: relative;
}

.blog-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    color: black;
    position: relative;
}

.blog-content .blog-category {
    color: gray;
    font-weight: 400;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.blog-content .blog-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 12px;
    padding-right: 10px;
}

.blog-content .summary {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    padding-right: 10px;
}

.blog-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.blog-description {
    font-size: 1rem;
    opacity: 0.8;
}

.blog-content .blog-category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(64, 179, 162, 0.1);
    color: #40B3A2;
    border-radius: 25px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-content .blog-date {
    color: gray;
    font-weight: 400;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

/* Update mobile styles */
@media (max-width: 1200px) {
    .blog-snippet {
        width: calc(50% - 20px);
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .blog-snippet {
        width: 100%;
        min-height: 340px;
    }

    .blog-snippet .blog-image {
        height: 180px;
    }

    .blog-content .blog-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .blog-content .blog-category-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .blog-categories {
        padding: 0 20px;
        justify-content: center;
    }
    
    .category-tag {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Override footer styles from common.css */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.footer-column .speak-title {
    margin-top: 2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-column ul li {
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 0;
}

.footer-column ul li:before {
    content: none;
}

.footer-column ul li a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    line-height: 1.4;
    padding-left: 0;
    display: block;
}

.footer-column ul li a:hover {
    color: #40B3A2;
}

.address {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 0;
}

.footer-column:first-child ul li a {
    padding-left: 0;
}

.footer-column:nth-child(2) ul li {
    padding-right: 2rem;
}

.footer-column:last-child .speak-title {
    margin-top: 2rem;
}

.social-links {
    margin-top: 1rem;
    text-align: left;
    padding-left: 0;
}

.linkedin-link {
    color: #0077B5;
    font-size: 2rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.linkedin-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    margin-top: 4rem;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(64, 179, 162, 0.2);
}

.footer-copyright p {
    color: #555;
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #40B3A2;
}

.green-bar {
    height: 8px;
    background-color: #40B3A2;
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 968px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-column {
        text-align: left;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }
}
