@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import 'bootstrap/dist/css/bootstrap.min.css';




*,
*::after,
*::before{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat';
text-decoration: none;
}

 
.blog-a {
text-decoration: none;
color: #0443ff ;
}


.maincontainer {
padding: 45px;
}

.blogs-container {
margin: 100px auto;
padding: 0 20px;
}

.blogs-container-latest {/* margin: 80px auto; */padding: 0 20px;}

.blog-layout {
display: flex;
gap: 30px;
margin-bottom: 50px;
}

.blog-main {
flex: 1;
}

.blog-sidebar {
width: 300px;
}

.filter-options {
background: white;
border-radius: 12px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.filter-title {
font-size: 1.5rem;
margin-bottom: 20px;
color: #2c3e50;
position: relative;
padding-bottom: 10px;
margin: 0px auto;
left: 0;
right: 0;
}

.filter-title2 {
font-size: 2.5rem;
margin-bottom: 20px;
color: #2c3e50;
position: relative;
padding-bottom: 10px;
margin: 0px auto;
left: 0;
right: 0;
text-align: center;
top: 55px;
}

.blogs-title {
font-size: 2.5rem;
margin-bottom: 20px;
color: #2c3e50;
position: relative;
padding-bottom: 10px;
margin: 0px auto;
left: 0;
right: 0;
text-align: center;
}

.filter-title::after {
content: '';
position: absolute;
bottom: 0px;
left: 0;
width: 141px;
height: 3px;
background: linear-gradient(to right, #3498db, #2ecc71);
border-radius: 2px;
/* margin-bottom: 10px; */
}

.filter-title2::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 366px;
height: 3px;
background: linear-gradient(to right, #3498db, #2ecc71);
border-radius: 2px;
left: 0;
margin: auto;
}

.blogs-title::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 500px;
height: 3px;
background: linear-gradient(to right, #3498db, #2ecc71);
border-radius: 2px;
left: 0;
margin: auto;
}

.blogs-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 240px;
height: 3px;
background: linear-gradient(to right, #3498db, #2ecc71);
border-radius: 2px;
}

.category-tabs {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 20px;
margin-bottom: 20px;
}

.category-tab {
padding: 10px 20px;
background: white;
border: 2px solid #e0e0e0;
border-radius: 30px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}

.category-tab:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-tab.active {
background: linear-gradient(to right, #3498db, #2ecc71);
color: white;
border-color: transparent;
}

.search-box {
position: relative;
margin-bottom: 20px;
}

.search-box input {
width: 100%;
padding: 12px 15px 12px 45px;
border: 2px solid #e0e0e0;
border-radius: 30px;
font-size: 1rem;
transition: all 0.3s ease;
}

.search-box input:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.search-box i {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: #7f8c8d;
}

.sort-options {
display: flex;
align-items: center;
gap: 10px;
}

.sort-options select {
padding: 10px 15px;
border: 2px solid #e0e0e0;
border-radius: 30px;
font-size: 1rem;
background: white;
cursor: pointer;
transition: all 0.3s ease;
}

.sort-options select:focus {
outline: none;
border-color: #3498db;
}

.blog-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 30px;
margin-bottom: 40px;
}

.blog-card {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;

position: relative;
}

.blog-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: linear-gradient(to right, #3498db, #2ecc71);
z-index: 1;
}

.blog-card .blogs-details-img {
width: 100%;
height: auto;
object-fit: cover;
transition: transform 0.5s ease;
}

.blog-card:hover .blogs-details-img {
transform: scale(1.05);
}

.blog-content {
padding: 25px;
}

.category-tag {
display: inline-block;
background: linear-gradient(to right, #3498db, #2ecc71);
color: white;
padding: 5px 12px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 600;
margin-bottom: 15px;
letter-spacing: 0.5px;
}

.blog-content h3 {
font-size: 1.4rem;
margin-bottom: 12px;
color: #2c3e50;
line-height: 1.3;
}

.blog-content p {
color: #7f8c8d;
margin-bottom: 20px;
font-size: 0.95rem;
}

.blog-meta {
display: flex;
justify-content: space-between;
color: #95a5a6;
font-size: 0.85rem;
margin-bottom: 15px;
}

.read-more {
display: inline-flex;
align-items: center;
color: #3498db;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
}

.read-more i {
margin-left: 8px;
transition: transform 0.3s ease;
}

.read-more:hover {
color: #2ecc71;
}

.read-more:hover i {
transform: translateX(5px);
}

.pagination {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 40px;
}

.pagination a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background: white;
color: #3498db;
text-decoration: none;
font-weight: 600;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
background: linear-gradient(to right, #3498db, #2ecc71);
color: white;
}

.sidebar-section {
background: white;
border-radius: 12px;
padding: 25px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
font-size: 1.3rem;
margin-bottom: 20px;
color: #2c3e50;
position: relative;
padding-bottom: 10px;
}

.sidebar-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background: linear-gradient(to right, #3498db, #2ecc71);
border-radius: 2px;
}

.tags-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.tag {
padding: 8px 15px;
background: #f1f8ff;
border-radius: 20px;
font-size: 0.9rem;
color: #3498db;
transition: all 0.3s ease;
cursor: pointer;
}

.tag:hover {
background: #3498db;
color: white;
transform: translateY(-2px);
}

.recent-post {
padding: 15px 0;
border-bottom: 1px solid #f0f0f0;
}

.recent-post:last-child {
border-bottom: none;
}

.recent-post h4 {
margin-bottom: 5px;
}

.recent-post h4 a {
color: #2c3e50;
text-decoration: none;
transition: color 0.3s ease;
}

.recent-post h4 a:hover {
color: #3498db;
}

.post-date {
color: #95a5a6;
font-size: 0.85rem;
}

.latest-img {
margin: auto;
display: flex;
width: 100%;
height: auto;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
.blog-layout {
flex-direction: column;
}

.blog-sidebar {
width: 100%;
}
.latest-img {
margin: auto;
display: flex;
width: 100%;
height: auto;
}
}

@media (max-width: 768px) {
.blog-container {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.filter-title2 {
font-size: 1.5rem;

}

.filter-title2::after {

width: 300px;

}
.blogs-title {
font-size: 1.5rem;

}

.blogs-title::after {

width: 150px;

}

}

@media (max-width: 480px) {
.blog-container {
grid-template-columns: 1fr;
}

.category-tabs {
justify-content: center;
}
}

.blogs-container {
/* text-align: center; */
padding: 40px 0 10px;
}

.filter-title2 {
color: #0066B2;
font-size: 32px;
font-weight: 700;
margin-bottom: 20px;
}

.container {
width: 90%;
margin: auto;
max-width: 1200px;
}

.blog-layout {
display: flex;
gap: 40px;
justify-content: space-between;
margin-bottom: 50px;
}

.blog-main {
flex: 3;
}

.blog-card {
background: #fff;
border-radius: 12px;
box-shadow: rgba(99, 99, 99, .2) 0px 2px 8px 0px;
overflow: hidden;
margin-bottom: 30px;
cursor: pointer;
transition: transform 0.3s ease;
}

.blog-card:hover {
transform: translateY(-5px);
}

.blog-card img {width: 100%;height: auto;object-fit: cover;}

.blog-content {
padding: 15px 20px;
}

.category-tag {
display: inline-block;
background: #E9AF00 !important;
color: #050505 !important;
font-size: 13px;
font-weight: 600;
padding: 4px 10px;
border-radius: 4px;
margin-bottom: 8px;
}

.blog-content h3 {
font-size: 20px;
color: #0f2239;
margin-bottom: 10px;
}

.blog-content p {
color: #636363;
font-size: 15px;
}

.blog-meta {
font-size: 13px;
margin-top: 10px;
color: #888;
}

/* Sidebar */
.blog-sidebar {
flex: 1;
}

.sidebar-section {
background: #fff;
box-shadow: rgba(99, 99, 99, .2) 0px 2px 8px 0px;
padding: 20px;
border-radius: 10px;
}

.sidebar-title {
font-size: 20px;
font-weight: 600;
color: #0066B2;
margin-bottom: 15px;
}

.recent-post {
margin-bottom: 15px;
}

.recent-post h4 {
font-size: 15px;
font-weight: 500;
margin-bottom: 5px;
}

.recent-post a {
color: #0f2239;
text-decoration: none;
transition: color 0.3s;
}

.recent-post a:hover {
color: #0066B2;
}

.post-date {
font-size: 13px;
color: #888;
}

.pagination {
text-align: center;
margin-top: 20px;
}

.pagination nav {
display: inline-block;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat';
}

:root {
--colorPrimary: #0066B2;
--colorBlue: #4582ff;
--colorGreen: #00d6d3;
--colorBlack: #0f2239;
--paraColor: #636363;
--ratingColor: #f1cc38;
--colorWhite: #fff;
--paraFont: "Rubik", sans-serif;
--headingFont: "Montserrat";
--box-shadow: rgba(99, 99, 99, .2) 0px 2px 8px 0px;
--swiper-navigation-size: 20px;
}

body {
background-image: url("images/bg.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
min-height: 100vh;
}

/* Text styles */
.h3-style {
color: #E9AF00;
transition: color 0.3s ease;
font-size: 28px;
font-weight: 700;
}

.tf__single_category.red:hover .h3-style {
color: #000;
}

.blogs-container {
padding: 20px 0;
}

.blogs-title {
color: #02569B;
margin-bottom: 30px;
text-align: center;
}

.blog-layout {
display: flex;
gap: 30px;
margin: 20px 0;
}

.blog-main {
flex: 3;
}

.blog-sidebar {
flex: 1;
}

.blog-card {
background: #fff;
border-radius: 10px;
box-shadow: rgba(99, 99, 99, .2) 0px 2px 8px 0px;
overflow: hidden;
margin-bottom: 30px;
}

.blogs-details-img {
width: 100%;
height: 400px;
object-fit: cover;
}

.blog-content {
padding: 20px;
}

.category-tag {
display: inline-block;
background: #0066B2;
color: #fff;
font-size: 14px;
font-weight: 600;
padding: 6px 12px;
border-radius: 4px;
margin-bottom: 15px;
}

.blog-content h2 {
font-size: 28px;
margin-bottom: 15px;
color: #0f2239;
}

.blog-meta {
font-size: 14px;
color: #888;
margin-bottom: 20px;
}

.blog-description {
color: #636363;
line-height: 1.6;
}

.blog-description p {
margin-bottom: 15px;
text-align: justify;
}

.sidebar-section {
background: #fff;
border-radius: 10px;
box-shadow: rgba(99, 99, 99, .2) 0px 2px 8px 0px;
padding: 20px;
margin-bottom: 30px;
}

.sidebar-title {
font-size: 20px;
color: #0066B2;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}

.recent-post {
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid #f0f0f0;
}

.recent-post:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}

.recent-post h4 {
font-size: 16px;
margin-bottom: 5px;
}

.recent-post h4 a {
color: #0f2239;
text-decoration: none;
}

.recent-post h4 a:hover {
color: #0066B2;
}

.post-date {
font-size: 13px;
color: #888;
}

@media (max-width: 768px) {
.blog-layout {
flex-direction: column;
}

.blogs-details-img {
height: 250px;
}

.blog-content h2 {
font-size: 22px;
}
}