.parallax-container {
    position: relative;
    height: 400px; /* Set your desired height */
    overflow: hidden;
}

.parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.parallax img {
    width: 100%;
    height: auto;
    min-height: 100%; /* Ensures the image covers the container */
    object-fit: cover;
}

.parallax-container h1 {
    position: absolute;
    bottom: 20px; /* Adjust according to preference */
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    color: white; /* Adjust for contrast */
    text-align: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)); /* Gradient background */
    border-radius: 5px; /* Optional for rounded edges */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    width: 85%;
}

/* Parallax effect */
.parallax-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://parimatchin.in/topics/media/Cricket-quotes.png'); /* Same image as in the <img> tag */
    z-index: -1;
}

/* Blog Meta Container */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #555;
    margin-top: 25px;
    margin-bottom: 35px;
}

/* Individual Meta Items */
.blog-meta span {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    font-weight: 500;
}

/* Author Styling */
.blog-meta .author {
    background-color: #f3f4f6;
    color: #382f2f;
}

/* Date Styling */
.blog-meta .date {
    background-color: #f3f4f6;
    color: #333;
}

/* Views Styling */
.blog-meta .views {
    background-color: #ffe599;
    color: #805000;
}

/* Hover Effects */
.blog-meta span:hover {
    background-color: #ececec;
    cursor: pointer;
    transition: background-color 0.3s ease;
}




/* General container styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.blog-listing-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-listing-container h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #0073aa;
}

/* Blog item styling */
.blog-item {
    margin-bottom: 30px;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.blog-item h2 {
    font-size: 25px;
    margin-bottom: 10px;
    color: #0073aa;
}
.blog-item h2:hover {
    text-decoration: none;
}

.blog-item h2 a {
    text-decoration: none;
    color: inherit;
}

.blog-item h2 a:hover {
    color: #005177;
    text-decoration: underline;
}

.blog-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.blog-item p {
    font-size: 16px;
    color: #444;
}
.author-box{
    display: flex; 
    align-items: flex-start; 
    background: #f9f9f9; 
    padding: 20px; 
    margin-top: 30px; 
    border-left: 4px solid #007bff; 
    border-radius: 8px;
}
.author-box img{
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin-right: 20px; 
    border: 2px solid #007bff;
}
.author-info{
    margin: 0 0 10px 0; 
    font-size: 20px; 
    color: #333;
}
.author-info p{
    margin: 0; 
    color: #555; 
    font-size: 15px; 
    line-height: 1.6;    
}
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 20%; /* Show 5 items in one row */
    box-sizing: border-box;
    padding: 15px;
    background: #f9f9f9;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-height: 120px;
}
.carousel-item {
    display: block !important;
}
.carousel-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.carousel-item p {
    font-size: 13px;
    color: #555;
}

.carousel-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    margin: 0 5px;
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


