.imgBanner{
    max-height: 400px;
}

.imgBanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Hover Effect for Image */
.tiny-slider-inner .tns-item:hover .imgBanner img {
    transform: scale(1.05); 
}
.tiny-slider-inner .row .btn {
    background-color: #007bff; 
    color: #fff;
    font-size: 1.1rem;
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.tiny-slider-inner .row .btn:hover {
    background-color: #0056b3; 
}
.card-img {
    transition: transform 0.3s ease;
}

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

.card-title a {
    transition: color 0.3s ease;
}

.card:hover .card-title a {
    color: #0d6efd; /* Changes title color on hover */
}

/* === Featured Blogs Section === */
.featured-blogs-section {
    padding-top: 3rem;
}
.featured-blogs-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}
.featured-blogs-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}
.featured-blogs-viewall {
    font-size: 0.95rem;
    font-weight: 600;
}

/* === Custom Card === */
.custom-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}
.custom-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.custom-card-img-wrapper {
    overflow: hidden;
}
.custom-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.custom-card:hover .custom-card-img {
    transform: scale(1.05);
}

/* Card Body */
.custom-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Title */
.custom-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.custom-card-title a {
    color: #333;
    text-decoration: none;
}
.custom-card-title a:hover {
    color: #007bff;
}

.custom-card-description-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.custom-card-description {
    font-size: 0.95rem;
    color: #666;
    flex-grow: 1;
    margin: 0;
}

.custom-card-see-more {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.custom-card-see-more:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.custom-card-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .custom-card-img {
        height: 180px;
    }
    .custom-card-title {
        font-size: 1.1rem;
    }
}
@media (max-width: 576px) {
    .custom-card-img {
        height: 160px;
    }
    .custom-card-title {
        font-size: 1rem;
    }
}

[data-bs-theme="dark"] .navbar-brand {
    filter: drop-shadow(0 0 2px #ffffff92);
    border-radius: 8px;
}
[data-bs-theme="dark"] .navbar-brand:hover img {
    transform: scale(1.1);  

}
    .btn-primary {
        background-color: #007bff;
        border: none;
        padding: 10px 20px;
        font-weight: bold;
        transition: background-color 0.3s, transform 0.3s;
        border-radius: 50px;
    }

    .btn-primary:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

    .form-select {
        min-width: 80px;
        padding: 5px 10px;
        border-radius: 10px;
    }

    @media (max-width: 576px) {
        .btn-primary {
            width: 100%;
            justify-content: center;
        }
        form.d-flex {
            flex-direction: column;
            align-items: stretch;
        }
    }
