
    /*--------------------------------------------------------------
# Blogs Page Styles
--------------------------------------------------------------*/

:root {
    --primary-color: #66FCF1;
    --primary-color-rgb: 102, 252, 241;
    --secondary-color: #45A29E;
    --dark-color: #0B0C10;
    --dark-light-color: #1F2833;
    --light-color: #C5C6C7;
    --white-color: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

/*--------------------------------------------------------------
# Blogs Hero Section
--------------------------------------------------------------*/
#blogs-hero {
    width: 100%;
    height: 50vh;
    background: linear-gradient(rgba(11, 12, 16, 0.8), rgba(11, 12, 16, 0.8)), url('/placeholder.svg?height=800&width=1600') center center;
    background-size: cover;
    position: relative;
    margin-top: 70px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#blogs-hero:before {
    content: "";
    background: rgba(11, 12, 16, 0.6);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#blogs-hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    color: var(--white-color);
    font-family: var(--font-primary);
}

#blogs-hero h1 span {
    color: var(--primary-color);
}

#blogs-hero p {
    color: var(--light-color);
    margin: 10px 0 0 0;
    font-size: 20px;
}

.breadcrumb-wrapper {
    margin-top: 20px;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 16px;
    color: var(--light-color);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--white-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light-color);
}

@media (max-width: 768px) {
    #blogs-hero {
        height: 40vh;
    }
    
    #blogs-hero h1 {
        font-size: 36px;
    }
    
    #blogs-hero p {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Featured Blogs Slider
--------------------------------------------------------------*/
.featured-blogs-slider {
    margin-top: 30px;
    position: relative;
}

.featured-blog-card {
    background: var(--dark-light-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-blog-image {
    height: 400px;
    overflow: hidden;
}

.featured-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-blog-card:hover .featured-blog-image img {
    transform: scale(1.05);
}

.featured-blog-content {
    padding: 30px;
}

.blog-meta {
    margin-bottom: 15px;
}

.blog-meta span {
    color: var(--light-color);
    margin-right: 20px;
    font-size: 14px;
}

.blog-meta span i {
    color: var(--primary-color);
    margin-right: 5px;
}

.featured-blog-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white-color);
    font-family: var(--font-primary);
}

.featured-blog-content p {
    color: var(--light-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    color: var(--primary-color);
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
    opacity: 1;
}

.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: var(--dark-light-color);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

.slick-prev:hover, .slick-next:hover {
    background: var(--primary-color);
}

.slick-prev:hover:before, .slick-next:hover:before {
    color: var(--dark-color);
}

.slick-prev:before, .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
}

.slick-prev:before {
    content: '\f053';
}

.slick-next:before {
    content: '\f054';
}

@media (max-width: 992px) {
    .featured-blog-image {
        height: 300px;
    }
    
    .featured-blog-content {
        padding: 20px;
    }
    
    .featured-blog-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .featured-blog-image {
        height: 250px;
    }
}

/*--------------------------------------------------------------
# Search and Filter Section
--------------------------------------------------------------*/
.search-filter-wrapper {
    background: var(--dark-light-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid transparent;
    border-radius: 50px;
    background: var(--dark-color);
    color: var(--white-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.search-box input::placeholder {
    color: var(--light-color);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 15px;
    background: var(--dark-color);
    color: var(--light-color);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

@media (max-width: 992px) {
    .filter-buttons {
        margin-top: 20px;
    }
}

/*--------------------------------------------------------------
# Blogs Grid Section
--------------------------------------------------------------*/
.blogs-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--dark-light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-date {
    position: absolute;
    bottom: 0;
    left: 20px;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
    text-align: center;
    font-weight: 600;
    font-family: var(--font-secondary);
    display: flex;
    flex-direction: column;
}

.blog-date span:first-child {
    font-size: 20px;
}

.blog-date span:last-child {
    font-size: 14px;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.blog-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.blog-author span {
    color: var(--light-color);
    font-size: 14px;
}

.blog-author a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-author a:hover {
    color: var(--secondary-color);
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white-color);
    font-family: var(--font-primary);
    line-height: 1.4;
}

.blog-description {
    color: var(--light-color);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-card .read-more {
    align-self: flex-start;
    padding: 8px 20px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-card .read-more:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

.blog-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
}

.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(102, 252, 241, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.blog-loading p {
    margin-top: 15px;
    color: var(--light-color);
    font-size: 16px;
}

.no-results-found {
    grid-column: 1 / -1;
    padding: 50px 0;
    color: var(--light-color);
}

.no-results-found i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.no-results-found h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--white-color);
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: var(--light-color);
}

.error-message i {
    font-size: 48px;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.error-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--white-color);
}

.btn-outline {
    padding: 10px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

@media (max-width: 1200px) {
    .blogs-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blogs-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 250px;
    }
}

/*--------------------------------------------------------------
# Blog Categories Section
--------------------------------------------------------------*/
.section-title{
    padding: 55px;
}
.category-card {
      position: relative; /* Needed for absolute positioning inside */
    padding-top: 50px;   /* Extra padding to make space for the icon */
    background: var(--dark-light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}



.category-card .icon {
       position: absolute;
    top: -55px;
    left: 40%;
    transform: translateX(-50%);
    z-index: 2;
    width: 70px;
    height: 70px;
    background: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.category-card:hover .icon {
    background: var(--primary-color);
}

.category-card .icon i {
    font-size: 30px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-card:hover .icon i {
    color: var(--dark-color);
}

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white-color);
    font-family: var(--font-primary);
}

.category-card p {
    color: var(--light-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.category-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: var(--secondary-color);
}

.category-link:hover i {
    transform: translateX(5px);
}


/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.accordion-item {
    background: var(--dark-light-color);
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background: var(--dark-light-color);
    color: var(--white-color);
    font-weight: 600;
    font-size: 18px;
    padding: 20px 25px;
    box-shadow: none;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--dark-light-color);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2366FCF1' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2366FCF1' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-body {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 20px 25px;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 1200px) {
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .section-padding-sm {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-padding-sm {
        padding: 30px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .accordion-button {
        font-size: 16px;
        padding: 15px 20px;
    }
    
    .accordion-body {
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
}
