@charset "UTF-8";

:root {
    --primary-blue: #1B2B5E;     /* Navy blue - salestech primary */
    --light-blue: #00B4D8;       /* Cyan - salestech light */
    --secondary-blue: #0D1B3E;   /* Dark navy - salestech secondary */
    --accent-color: #E63946;     /* Red accent - salestech accent */
    --text-dark: #212121;        /* Dark text */
    --text-light: #757575;       /* Light text */
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);  /* Kept the same */
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Kept the same */
    --transition-speed: 0.3s;    /* Kept the same */
    --border-radius: 12px;       /* Kept the same */
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    background-color: #f8f9fa;
    padding-top: 5rem;
}
/* Navbar  Section */

.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    color: var(--primary-blue);
}

.navbar-custom .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 20px;
    transition: all var(--transition-speed) ease;
}

.navbar-custom .nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Hamburger button styles */
.navbar-custom .navbar-toggler {
    border: none; /* Remove default border */
    padding: 10px;
    outline: none; /* Remove focus outline if unwanted */
}

/* Default state of the toggler icon */
.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    width: 25px;
    height: 25px;
}

/* Hover state for the toggler */
.navbar-custom .navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='var(--primary-blue)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Ensure visibility on smaller screens */
@media (max-width: 991px) {
    .navbar-custom .navbar-toggler {
        display: block;
    }
}


/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 7rem 0 5rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='white' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Search and Category Section */
.search-container {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    margin: -30px auto 50px;
    max-width: 1000px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 10;
}

.search-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

#searchInput {
    border: 2px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    box-shadow: none;
    height: 48px;
    flex: 1;
    line-height: 24px;
}

#searchInput:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.25);
}

.search-container .btn-primary {
    padding: 0 25px;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    transition: all var(--transition-speed) ease;
    height: 48px;
    line-height: 24px;
    white-space: nowrap;
    margin-left: 0;
}

.search-container .btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.search-container .input-group {
    display: flex;
    align-items: stretch;
    gap: 0;
}

#categorySelect {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231565C0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) 50%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    width: 100%;
    max-width: 250px; /* Limit the width for better appearance */
}

#categorySelect:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.25);
}

/* Whitepapers Section */
#whitepapers {
    padding: 50px 0 80px;
    background-color: #f8f9fa;
}

#whitepapers .row.mb-4 {
    display: flex;
    justify-content: flex-end; /* Align the dropdown to the right */
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}



/* Whitepaper Card */
.whitepaper-card {
    position: relative;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.whitepaper-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.pdf-thumbnail-container {
    height: 220px;
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.pdf-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain */
    transition: transform 0.5s ease;
    background-color: #fff; /* Add a white background to handle letterboxing */
}

.whitepaper-card:hover .pdf-thumbnail {
    transform: scale(1.08);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whitepaper-card:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay::after {
    content: "View";
    color: white;
    background-color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.whitepaper-card:hover .thumbnail-overlay::after {
    opacity: 1;
    transform: translateY(0);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #ffffff;
}

.card-body .badge-container {
    display: flex;
    flex-wrap: wrap; /* Allow badges to wrap if there are multiple */
    gap: 8px; /* Add spacing between badges */
}


.badge {
    display: inline-block;
    padding: 6px 12px; /* Slightly smaller padding for a tighter look */
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px; /* Slightly smaller radius for a more refined look */
    margin-top: 10px; /* Ensure consistent spacing above */
    margin-right: 8px; /* Add spacing between multiple badges */
    align-self: flex-start;
    background-color: rgba(21, 101, 192, 0.1);
    color: white;
    transition: all var(--transition-speed) ease;
}

.whitepaper-card:hover .badge {
    background-color: var(--primary-blue);
    color: white;
}

/* Thumbnail loading */
.thumbnail-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f5f5f5;
    padding: 20px;
}

.thumbnail-loading i,
.thumbnail-loading .spinner-border {
    font-size: 3rem;
    margin-bottom: 15px;
}

.thumbnail-loading p {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Pagination */
.pagination {
    margin-top: 3rem;
}

.pagination .page-item .page-link {
    color: var(--text-dark);
    padding: 10px 18px;
    border: none;
    background-color: #fff;
    border-radius: 8px;
    margin: 0 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.pagination .page-item .page-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-blue);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
}

/* Modal */
.modal-content {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: none;
    box-shadow: var(--hover-shadow);
}

.modal-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
}

.modal-header .modal-title {
    font-weight: 600;
}

.modal-header .btn-close {
    color: white;
    box-shadow: none;
    opacity: 0.8;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: none;
    padding: 1.5rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary {
    background-color: var(--primary-blue);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #e0e0e0;
    border: none;
    color: var(--text-dark);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
    color: var(--text-dark);
}

/* Loader */
#loader {
    padding: 30px 0;
}

#loader .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .search-container {
        padding: 20px;
        margin-top: -25px;
    }

    .search input, .search .btn {
        width: 100%;
    }

    #searchInput {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .search-container .btn-primary {
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 0 4rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .search-container {
        flex-direction: column;
        margin-top: -20px;
    }

    .col-md-2 {
        width: 100%;
        margin-top: 15px;
    }

    #categorySelect {
        width: 100% !important;
    }
}

/* No results and error messages */
.no-results-message,
.error-message {
    text-align: center;
    padding: 3rem 0;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.no-results-message h3 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.error-message h3 {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 1rem;
}

.error-message p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* ----------------------------------------------------------------------------------------------------------------------------------*/
/* news or blog css section */
/* Global Section Styling */
.section-header {
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding-top : 2rem;
}

.highlight-bar {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 4px;
    background: var(--bs-primary);
    margin-right: 10px;
    top: -5px;
    border-radius: 2px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Featured News Carousel Styling */
.featured-news-section {
    position: relative;
    z-index: 1;
    padding-top: 100px; /* Adjust based on your navbar height */
    padding-bottom: 4rem;
    background-color: #f8f9fa;
    margin-top: -1rem;
}

.premium-carousel {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured-slide {
    display: flex;
    height: 560px;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    position: relative;
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.featured-content {
    width: 60%;
    padding: 4rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.featured-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.category-tag, .subcategory-tag {
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-tag {
    background-color: var(--bs-primary);
    color: white;
}

.subcategory-tag {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(5px);
}

.featured-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.featured-meta {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.featured-blog-author-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: white;
}

.read-btn {
    padding: 12px 24px;
    background-color: var(--bs-primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.read-btn:hover {
    background-color: var(--bs-primary-dark, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: white;
}

.read-btn i {
    transition: transform 0.3s ease;
}

.read-btn:hover i {
    transform: translateX(4px);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--bs-primary);
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background-color: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.custom-indicators {
    position: absolute;
    bottom: 20px;
    right: 40px;
    left: auto;
    margin: 0;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.custom-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border: none;
    margin: 0;
}

.custom-indicators button.active {
    background-color: var(--bs-primary);
    width: 24px;
    border-radius: 6px;
}

/* Latest News Section Styling */
.latest-news-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: white;
    height: 100%;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.1);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.category-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background-color: var(--bs-primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.blog-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.card-date {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.publish-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.card-subcategory {
    background-color: #f8f9fa;
    color: #495057;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.category-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category {
    font-weight: 700;
    font-size: 0.9rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subcategory {
    font-size: 0.85rem;
    color: #666;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    color: #212529;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer; /* Shows it's clickable */
    transition: all 0.3s ease; /* Smooth transition */
}

.card-title.expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.blog-title {
    color: var(--primary-blue);
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid #f0f0f0;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.card-link {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.card-link:hover::after {
    width: 100%;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: #444;
}

.read-more {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--light-blue);
}

/* Loading Indicator */
#loading-indicator {
    display: none;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.loading-text {
    font-weight: 500;
    color: #6c757d;
    margin-left: 10px;
}

.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    color: #dc3545;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Error Slide Styling */
.error-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8d7da;
    height: 100%;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .featured-title {
        font-size: 2.5rem;
    }

    .featured-content {
        width: 70%;
    }
}

@media (max-width: 992px) {
    .featured-slide {
        height: 480px;
    }

    .featured-content {
        width: 80%;
        padding: 3rem;
    }

    .featured-title {
        font-size: 2.2rem;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .featured-slide {
        height: 400px;
    }

    .featured-content {
        width: 100%;
        padding: 2rem;
    }

    .featured-title {
        font-size: 1.8rem;
    }

    .featured-tags {
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .custom-indicators {
        right: 20px;
    }

    .blog-card img {
        height: 200px;
    }

    .blog-content {
        padding: 1.25rem;
    }
}

/* Filter Section Styling */
.filter-section {
    padding: 2rem 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 2rem auto;
    max-width: 1000px;
}

/* Layout Containers */
.filter-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    flex: 1;
}

/* Text Elements */
.filter-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b4086;
    margin-bottom: 0.75rem;
}

/* Dropdown Components */
.dropdown {
    position: relative;
    width: 100%;
}

.custom-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333333;
    font-weight: 500;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
}

.custom-select:hover {
    border-color: #0b4086;
    background-color: #f8f9fa;
}

.custom-select:focus {
    outline: none;
    border-color: #0b4086;
    box-shadow: 0 0 0 3px rgba(11, 64, 134, 0.2);
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #0b4086;
}

/* Dropdown Menu */
.dropdown-menu {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    z-index: 1000;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #e6f0ff;
    color: #0b4086;
}

.dropdown-item.active {
    background-color: #0b4086;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-group {
        min-width: 100%;
    }
}