* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #05a79e;
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #007bff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background-color: #fff;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Section */
.blog-section {
    padding: 2rem 0;
}

.blog-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.img{
  width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;

}  

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.post-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h3 a:hover {
    color: #007bff;
}

.post-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    margin-bottom: 1.5rem;
    color: #555;
}

.read-more {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        text-align: center;
        padding: 0.5rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .blog-posts {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .post-content {
        padding: 1rem;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}


/* ============================
   Article Page Styles
   ============================ */

.article {
    background-color: #fff;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    max-width: 900px;
}

.article h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #05a79e;
    line-height: 1.3;
    text-align: center;
}

.article h2 {
    font-size: 1.7rem;
    margin: 2rem 0 1rem;
    color: black;
    border-left: 5px solid black;
    padding-left: 10px;
}

.article h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
    color: #333;
}

.article p {
    margin-bottom: 1rem;
    color: #444;
    line-height: 1.7;
}

.article ul,
.article ol {
    margin: 1rem 0 1.5rem 2rem;
    color: #444;
}

.article li {
    margin-bottom: 0.5rem;
}

.article strong {
    color: #000;
    font-weight: 600;
}

.article dl {
    margin: 1.5rem 0;
}

.article dt {
    font-weight: 600;
    margin-top: 1rem;
    color: #333;
}

.article dd {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.article blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 5px solid #05a79e;
    background-color: #f1fdfc;
    font-style: italic;
    color: #333;
}

.article a {
    color: #007bff;
    text-decoration: none;
}

.article a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Responsive article */
@media screen and (max-width: 768px) {
    .article {
        padding: 1.5rem;
    }

    .article h1 {
        font-size: 1.8rem;
    }

    .article h2 {
        font-size: 1.4rem;
    }
}


