/* Modern Professional Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f8f9fa;
    color: #2d3439;
    line-height: 1.6;
}

/* ================== */
/* Enhanced Navbar */
/* ================== */
.navbar {
    background: #ffffff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    height: 50px;
    transition: opacity 0.2s;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    color: #495057;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: #2b8a3e;
    background: #f1f3f5;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2b8a3e;
    transition: all 0.2s ease;
}

.nav-links a:hover::after {
    width: 60%;
    left: 20%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #495057;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #495057;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ================== */
/* Main Content Styles */
/* ================== */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Unique Section */
.unique-section {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 4rem;
    padding: 2rem;
    position: relative;
}

.unique-section h1 {
    font-size: 2.75rem;
    color: #2b8a3e;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    position: relative;
    display: inline-block;
}

.unique-section h1::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2b8a3e;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.unique-section:hover h1::after {
    width: 120px;
}

.unique-section p {
    font-size: 1.2rem;
    color: #495057;
    line-height: 1.8;
    margin: 1.5rem auto;
    max-width: 600px;
    position: relative;
    padding: 1rem 0;
}

.unique-section p::before {
    content: "✦";
    color: #2b8a3e;
    font-size: 1.5rem;
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
}

/* ================== */
/* Blog Grid System */
/* ================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.blog-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h2 {
    font-size: 1.25rem;
    color: #212529;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.blog-card h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: #2b8a3e;
}

.blog-card p {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-card small {
    color: #6c757d;
    font-size: 0.85rem;
    display: block;
    margin-top: auto;
}

/* ================== */
/* Blog Detail Page */
/* ================== */
.blog-detail-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.blog-detail-header h1 {
    font-size: 2.5rem;
    color: #212529;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 2rem auto;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ================== */
/* Comments Section */
/* ================== */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.comment {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.comment:before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    height: 100%;
    width: 3px;
    background: #2b8a3e;
    border-radius: 2px;
}

.comment h3 {
    font-size: 1.1rem;
    color: #212529;
    margin-bottom: 0.5rem;
}

.comment small {
    color: #6c757d;
    font-size: 0.85rem;
}

/* ================== */
/* Comment Form */
/* ================== */
.comment-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-top: 2rem;
}

.comment-form h3 {
    font-size: 1.5rem;
    color: #212529;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b8a3e;
    box-shadow: 0 0 0 3px rgba(43, 138, 62, 0.1);
}

button[type="submit"] {
    background: #2b8a3e;
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

button[type="submit"]:hover {
    background: #237332;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 138, 62, 0.15);
}

/* ================== */
/* Responsive Design */
/* ================== */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid #e9ecef;
    }

    .menu-toggle {
        display: block;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .blog-detail-header h1 {
        font-size: 2rem;
    }

    .unique-section {
        padding: 1.5rem;
        margin: 2rem auto 3rem;
    }

    .unique-section h1 {
        font-size: 2.25rem;
    }

    .unique-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .image-container {
        padding-top: 75%;
    }

    .unique-section h1 {
        font-size: 2rem;
    }

    .unique-section p {
        font-size: 1rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}