
/* Blog page specific styling */
body {
	padding: 0;
	line-height: 1.6;
	background: #f9f9f9;
}

/* Blog container */
.blog-container {
	max-width: 900px;
	margin: 0px auto 40px auto;
	padding: 0 20px;
	padding-top: 0px;
	text-align: justify;
	flex: 1;
}

.blog-title {
	text-align: center;
	margin-bottom: 30px;
	font-size: 28px;
	font-weight: bold;
	color: #667;
}

.blog-content {
	background: #ffffff;
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
}

.blog-content h2 {
	font-size: 21px;
	margin-bottom: 15px;
	color: #667;
}

.blog-content p {
	font-size: 18px;
	color: #667;
}

/* --- BLOG LEFT SIDEBAR LAYOUT --- */
.blog-layout {
    max-width: 1250px;
    margin: 120px auto 40px auto;
    display: flex;
    gap: 0px;
    padding: 0 20px;
}

/* Left column */
.blog-sidebar {
    width: 300px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 220px;
}

.blog-sidebar h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #444;
    text-align: left;
}

.blog-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar ul li {
    margin-bottom: 12px;
}

.blog-sidebar ul li a {
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    display: block;
    transition: 0.3s;
}

.blog-sidebar ul li a:hover {
    color: #003655;
    padding-left: 5px;
}

/* Ensure header visibility */
header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.navbar ul {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.navbar ul li a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: 0.3s;
}

.navbar ul li a.active, .navbar ul li a:hover {
	color: #007bff;
}

.hamburger {
	display: none;
	cursor: pointer;
}

.hamburger i {
	font-size: 24px;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .blog-layout {
        flex-direction: column;
        margin-top: 80px;
    }
    .blog-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
}
@media ( max-width : 768px) {
	.blog-container {
		margin: 80px 15px 30px 15px;
	}
	.blog-content p {
		font-size: 16px;
	}
}
@media ( max-width : 768px) {
	.navbar {
		position: absolute;
		top: 60px;
		right: 0;
		background: #fff;
		width: 200px;
		display: none;
		flex-direction: column;
		padding: 15px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	}
	.navbar.active {
		display: flex;
	}
	.hamburger {
		display: block;
	}
	.navbar ul {
		flex-direction: column;
		gap: 10px;
	}
}