
/* ////////banner/////////////////// */

.banner {
            width: 100%;
            height: 400px;
            background-image: url('images/About-back-img.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        
        
        .breadcrumb {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 15px 25px;
            border-radius: 30px;
            z-index: 1;
            margin-top: 80px;
        }
        
        .breadcrumb a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
            display: flex;
            align-items: center;
        }
        
        .breadcrumb a:hover {
            color: #000;
        }
        
        .breadcrumb-separator {
            margin: 0 10px;
            color: #333;
            font-size: 18px;
        }
        
        .breadcrumb-current {
            color: #333;
            font-size: 18px;
            font-weight: bold;
        }
        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .banner {
                height: 400px;
            }
            
            .breadcrumb {
                padding: 12px 20px;
            }
            
            .breadcrumb a,
            .breadcrumb-separator,
            .breadcrumb-current {
                font-size: 16px;
            }
        }
        


/* //////blog section/////////////////// */



body {
    line-height: 1.6;
    color: #333;
    background-color: #f0f0f0; /* Light gray background matching your image */
}

/* Header Styles */
.blog-heading {
    width: 100%;
    text-align: center;
    padding: 30px;
}

.blog-heading h2{
    font-size: 1.9em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
}




/* Container for Main Content and Sidebar */
.container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    gap: 30px; /* Space between main content and sidebar */
}

/* Main Content Area */
.main-content {
    flex: 3; /* Takes up more space than sidebar */
    min-width: 0; /* Allows content to shrink */
}

/* Blog Post Card */
.blog-post {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    margin-bottom: 30px;
    overflow: hidden; /* Ensures image corners are rounded correctly if applied */
}

.post-image {
    flex: 0 0 40%; /* Image takes 40% of the width */
    max-width: 40%;
}

.post-image img {
    width: 100%;
    height: 100%; /* Make image fill its container */
    object-fit: cover; /* Crop image to fit without distorting */
    display: block;
}

.post-content {
    flex: 1; /* Content takes remaining space */
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content if space allows */
}

.post-date {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-category {
    font-size: 0.9em;
    color: #007bff; /* Blue color for category, common for links */
    margin-bottom: 15px;
}

.post-excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows excerpt to take available vertical space */
}

.read-more {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}

.read-more:hover {
    color: #0056b3;
}

/* Sidebar Styles */
.sidebar {
    flex: 1; /* Sidebar takes 1 part of the space */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between widgets */
}

.widget {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
}

.widget h3 {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

/* Search Widget */
.search-widget {
    display: flex;
    align-items: center;
    padding: 15px; /* Adjust padding for input/button alignment */
}

.search-widget input[type="text"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95em;
    outline: none;
}

.search-widget button {
    background-color: #ffc107; /* Yellow color from your image */
    color: #333;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
}

.search-widget button:hover {
    background-color: #e0a800;
}

/* Categories and Popular Posts Widgets */
.categories-widget ul,
.popular-posts-widget ul {
    list-style: none;
    padding: 0;
}

.categories-widget li a,
.popular-posts-widget li a {
    text-decoration: none;
    color: #555;
    padding: 8px 0;
    display: block;
    border-bottom: 1px dotted #eee;
    transition: color 0.2s ease-in-out;
    font-size: 0.95em;
}

.categories-widget li:last-child a,
.popular-posts-widget li:last-child a {
    border-bottom: none; /* No border for the last item */
}

.categories-widget li a::before {
    content: '• '; /* Bullet point like in your image */
    color: #007bff;
    margin-right: 5px;
}

.categories-widget li a:hover,
.popular-posts-widget li a:hover {
    color: #007bff;
}

/* Responsive Design */

/* Tablet View (e.g., 768px to 1024px) */
@media (max-width: 1024px) {
    .blog-header h1 {
        font-size: 2em;
    }

    .container {
        flex-direction: column; /* Stack main content and sidebar vertically */
        padding: 0 15px;
    }

    .main-content,
    .sidebar {
        flex: auto; /* Allow them to take full width */
        width: 100%;
    }

    .blog-post {
        flex-direction: column; /* Stack image and content vertically */
    }

    .post-image,
    .post-content {
        flex: auto;
        max-width: 100%; /* Image and content take full width */
    }

    .post-image img {
        height: 250px; /* Adjust image height for better display */
    }

    .post-content {
        padding: 20px;
    }

    .post-title {
        font-size: 1.4em;
    }
}

/* Phone View (e.g., up to 767px) */
@media (max-width: 767px) {
    .blog-header {
        padding: 30px 15px;
        margin-bottom: 15px;
    }

    .blog-header h1 {
        font-size: 1.8em;
    }

    .container {
        margin: 15px auto;
        padding: 0 10px;
        gap: 20px;
    }

    .blog-post {
        margin-bottom: 20px;
    }

    .post-image img {
        height: 200px; /* Further reduce image height for smaller screens */
    }

    .post-content {
        padding: 15px;
    }

    .post-title {
        font-size: 1.2em;
    }

    .post-excerpt {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    .search-widget input[type="text"],
    .search-widget button {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    .widget h3 {
        font-size: 1em;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .categories-widget li a,
    .popular-posts-widget li a {
        font-size: 0.85em;
        padding: 6px 0;
    }
}

/* Very Small Phones (e.g., 320px width) */
@media (max-width: 400px) {
    .blog-header h1 {
        font-size: 1.5em;
    }

    .post-image img {
        height: 180px;
    }

    .post-title {
        font-size: 1.1em;
    }

    .post-content {
        padding: 10px;
    }

    .post-date,
    .post-category,
    .post-excerpt {
        font-size: 0.8em;
    }

    .read-more {
        font-size: 0.85em;
    }
}