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

header {
    background-color: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .logo img {
    height: 40px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
}

main {
    padding: 80px 20px 20px; 
} */

.blog-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.blog-post {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin: 10px;
    width: 350px;
    height: 430px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
}
.blog-image {
    border: 1px solid #a30000;
    border-radius: 5px;
    height: 50%;
    width: 100%;
}
.blog-image img {
    height: 100%;
    width: 100%;
    border-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.blog-content {
    padding: 15px;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tag {
    background-color: #f2e8e8;
    color: #a30000;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.blog-content h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.blog-content p {
    color: #666;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.date {
    font-size: 12px;
    color: #aaa;
}


.feature-section {
    display: flex;
    align-items: center;
    background-color: #7a1616;
    color: #ffffff;
    padding: 40px;
    height: 450px;
    margin: 15px 0;
}

.feature-image {
    display: flex;
    justify-content: center;
    flex: 1;
    height: 100%;
}

.feature-image img {
    max-width: 100%;
    border-radius: 10px;
}

.feature-content {
    flex: 1;
    padding-left: 40px;
}

.feature-content h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #ffffff;
    color: #7a1616;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}
.card-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 30px 0;
    
}

.card {
    display: flex;
    max-width: 1130px;
    background-color: #fff;
    border:1px solid #832729;
    overflow: hidden;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}
.card-image {
    flex: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex: 2;
    padding: 20px;
}

.card-content h2 {
    color: #7a1616;
    font-size: 1.5em;
    margin: 0 0 10px;
}

.card-content p {
    color: #7a1616;
    font-size: 1.2em;
    margin: 0 0 20px;
}

.tags {
    display: flex;
    gap: 10px;
}

.tag {
    background-color: #f0f0f0;
    color: #7a1616;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}
.featured-articles {
    max-width: 1200px;
    margin: 0 auto;
}

.articles-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px;
}

.article {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1;
    max-width: 48%;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: auto;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 182, 193, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.content {
    padding: 15px;
}

.tags {
    margin-bottom: 10px;
}

.tags span {
    background-color: #f0f0f0;
    color: #555;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 12px;
}

h3 {
    font-size: 20px;
    margin: 10px 0;
}

.date {
    color: #888;
    font-size: 14px;
    margin: 10px 0;
}

p {
    font-size: 16px;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .articles-container {
        flex-direction: column;
    }

    .article {
        max-width: 100%;
        margin-bottom: 20px;
    }
}
@media (max-width: 768px) {
    .card {
        flex-direction: column;
    }

    .card-image {
        height: 200px;
    }

    .card-content h2 {
        font-size: 1.2em;
    }

    .card-content p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .feature-section {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    .feature-content {
        padding-left: 0;
        padding-top: 20px;
    }

    .feature-content h1 {
        font-size: 1.5em;
    }

    .feature-content p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .blog-post {
        max-width: 48%;
    }
}

@media (max-width: 480px) {
    .blog-post {
        max-width: 100%;
    }
}
