* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(90deg, #ff9933, #138808);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
}

nav {
    background: #2d2d2d;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0; /* Will be overridden by JS */
    z-index: 99;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    transition: right 0.3s ease;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff9933;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
}

.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

section {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease-out forwards;
}

h2, h3 {
    color: #ff9933;
    margin-bottom: 1rem;
}

a {
    color: #ff9933;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ff9933;
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #138808;
    text-decoration: none;
    transform: scale(1.05);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

footer {
    background: #2d2d2d;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    header h1 { font-size: 2rem; }
    header p { font-size: 1rem; }
    .menu-toggle {
        display: block;
    }
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background: #2d2d2d;
        padding: 4rem 1.5rem 1.5rem;
        transition: right 0.3s ease;
        z-index: 99;
    }
    nav ul.active {
        right: 0;
    }
    section { padding: 1.5rem; }
    .blog-grid { grid-template-columns: 1fr; }
}