* {
	font-family: "Roboto", sans-serif;
}

.bg-dark {
	background-color: #000000 !important;
}

.text-justify {
	text-align: justify;
}

.navbar-collapse {
	text-align: center;
}

.navbar-brand {
	font-size: 1.3rem;
	font-weight: normal;
	text-align: center;
	color: white;
	transition: color 0.5s ease;
	margin-left: 30px;
	margin-bottom: -20px;
}

/* Brand Image Styling */
.brand-image {
	margin-top: 5px; /* Space between text and image */
	max-width: 100px; /* Adjust size as needed */
	height: auto;
	margin-top: -15px;
}

.nav-item {
	font-weight: 100;
	font-size: 14px;
}

.nav-link {
	text-decoration: none;
	color: white; /* Default color */
	transition: color 0.5s ease; /* Smooth transition effect */
}

.navbar-brand:hover, .nav-link:hover {
	color: #fa4f0b; /* Hover color (e.g., orange) */
}

.navbar-nav {
	margin: 0 auto; /* Center align the nav items */
}

.body-bg {
	position: relative;
	color: white;
}

.body-bg::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url(../images/body-bg.jpg);
	background-size: auto;
	background-repeat: repeat;
	background-position: center center;
	filter: brightness(17%);
	z-index: -1;
	opacity: 1;
}

.main-section {
	margin-top: 70px;
	padding: 30px;
}

.footer {
	background-color: #141416; /* Black background */
	color: #fff; /* White text */
	padding: 20px 0;
}

.footer h5 {
	font-size: 1rem;
	margin-bottom: 20px;
}

.footer a {
	color: #fff; /* White links */
	text-decoration: none;
}

.footer a:hover {
	color: #ff5757; /* Link hover color */
}

.form-container, .footer-container {
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	border-radius: 5px;
}

.footer-lower {
	background-color: #000000;
	padding: 10px;
	color: white;
}

.form-container h2 {
	text-align: center;
	margin-bottom: 20px;
}

.form-container label {
	margin-bottom: 5px;
	display: block;
	font-weight: normal;
}

.form-container .form-control {
	background-color: #333; /* Dark input background */
	border: 1px solid #555; /* Light border */
	color: #fff; /* White text */
	border-radius: 0px;
}

.form-container .form-control::placeholder {
	color: #fff;
	font-weight: normal;
}

.form-container .form-control:focus {
	background-color: #444;
	border-color: #ff5757; /* Highlight border on focus */
	box-shadow: none;
}

.btn-submit {
	background-color: #ff5757; /* Red submit button */
	color: #fff;
	font-weight: bold;
	border: none;
	width: 100%;
	padding: 10px;
	margin-top: 20px;
	border-radius: 0px;
}

.btn-submit:hover {
	background-color: #ff4040; /* Slightly darker red on hover */
}

.dropdown-submenu .dropdown-menu {
	top: 0;
	left: 100%; /* Position to the right of the parent menu */
	margin-top: -0.5rem;
	margin-left: 0.1rem;
	display: none; /* Hide by default */
}

.dropdown-submenu:hover .dropdown-menu {
	display: block; /* Show when hovered */
	background-color: #141416;
}

.dropdown-toggle::after {
	display: none;
}

.nav-item.dropdown:hover .dropdown-menu {
	display: block;
	margin-top: 0; /* Adjust for proper alignment */
	background-color: #141416;
}

.dropdown-item {
	color: white;
	font-weight: 100;
	font-size: 14px;
}

.dropdown-item:hover {
	color: #ff5757;
	background-color: #141416;
}

.box {
	border: 1px solid grey;
	padding: 15px;
	height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	/* background: white; */
}

.box-header {
	font-size: 12px;
	color: rgb(145, 141, 141);
	padding: 5px 0;
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.box-body {
	flex-grow: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.box-body-title {
	font-size: 22px;
	padding-bottom: 5px;
	margin-bottom: 10px;
	font-weight: bold;
}

.box-body-desc {
	font-size: 16px;
	color: rgb(145, 141, 141);
	flex-grow: 1;
	overflow: hidden;
	margin-bottom: 10px;
}

.box-footer {
	padding-top: 5px;
}

.blog-details {
	border: 1px solid grey;
	background-color: #080707;
	min-height: 500px;
	padding: 50px;
	padding-left: 20px;
	padding-right: 20px;
}

.blog-details-header {
	font-size: 12px;
	color: rgb(145, 141, 141);
	padding-top: 5px;
	padding-bottom: 5px;
	margin-bottom: 50px;
}

.blog-details-body {
	margin-bottom: 50px;
}

.blog-details-footer {
	padding-top: 10px;
	padding-bottom: 10px;
}

.recent-post {
	font-size: 20px;
	font-weight: normal;
	padding-top: 40px;
}

.recent-post-box {
	margin-top: 15px;
	border: 1px solid grey;
	padding: 40px;
	height: 350px;
	background-color: #080707;
	overflow: hidden;
}

.editor-content img {
	max-width: 100%;
	height: auto;
	display: block; /* Removes bottom space under the image */
}

@media ( min-width : 1024px) {
	.editor-content img {
		margin-left: 250px;
		margin-right: 250px;
		max-height: 500px;
		max-width: 500px;
	}
	.editor-content table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

@media ( max-width : 1024px) {
	.MathJax_Display {
        overflow-x: auto;
        max-width: 100%;
    }

    .MathJax {
        max-width: 100%;
        word-wrap: break-word;
    }
}
.editor-content h1, h2, h3, h4, h5, h6 {
	text-align: left;
}