/* Make all captions always visible */
.carousel-caption {
    display: block !important;
    opacity: 1 !important;
}

/* Custom caption styling */
.custom-caption {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    padding: 20px 30px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* Heading and paragraph */
.custom-caption h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.custom-caption p {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Stylish button */
.btn-learn {
    display: inline-block;
    margin-top: 12px;
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-learn:hover {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    transform: translateY(-2px);
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: auto;
    padding: 0 12px;
}

/* Custom icons with solid background so they show on white images */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.75rem;
    height: 2.75rem;
    background-color: rgba(15, 25, 50, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* Indicator customization: circular dots */
.carousel-indicators {
    --bs-carousel-indicator-width: 10px;
    --bs-carousel-indicator-height: 10px;
    --bs-carousel-indicator-spacer: 8px;
    margin-bottom: 12px;
}

.carousel-indicators [data-bs-target] {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(0, 0, 0, 0.15);
    opacity: 1;
    margin: 0 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-indicators .active {
    background-color: #ff4b2b;
    border-color: #ff4b2b;
    transform: scale(1.1);
}

/* Make left carousel match right column height */
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Right sidebar */
.sidebar-list .side-item {
    background: #ffffff;
    color: #0F1932;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 7px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    min-height: 105px;
    /* uniform height across items */
    display: flex;
    align-items: center;
}

.sidebar-list .side-thumb-wrapper {
    width: 90px;
    height: 83px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}

.sidebar-list .side-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sidebar-list .side-title {
    font-size: 0.87rem;
    font-weight: 700;
    color: #0F1932;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-list .side-title:hover {
    color: #ff4b2b;
}

.sidebar-list .badge-tag {
    background: #f1f2ff;
    color: #5a5ae3;
    font-size: 10px;
    border-radius: 30px;
    padding: 3px 8px;
    margin-right: 6px;
    border: 1px solid #e5e7ff;
}

.sidebar-list .meta {
    font-size: 10px;
    color: #6b7280;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F1932;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #c4c3c3;
}

/* Follow Us Buttons */
.follow-us-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.follow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.follow-btn i {
    font-size: 1.1rem;
}

.follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
}

.follow-facebook {
    background: #1877f2;
}

.follow-facebook:hover {
    background: #166fe5;
}

.follow-youtube {
    background: #ff0000;
}

.follow-youtube:hover {
    background: #e60000;
}

.follow-github {
    background: #6e5494;
}

.follow-github:hover {
    background: #5d447a;
}

.follow-linkedin {
    background: #0077b5;
}

.follow-linkedin:hover {
    background: #006399;
}

/* Featured Post Section */
.featured-post-preview {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
}

.featured-post-image-wrapper {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.featured-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.featured-post-preview:hover .featured-post-image {
    transform: scale(1.1);
}

.featured-post-content {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.featured-post-title-small {
    font-size: 1rem;
    font-weight: 700;
    color: #0F1932;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.featured-post-title-small a {
    color: #0F1932;
    transition: color 0.2s ease;
}

.featured-post-title-small a:hover {
    color: #ff4b2b;
}

.featured-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.featured-post-tags .badge-tag {
    background: #f1f2ff;
    color: #5a5ae3;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid #e5e7ff;
}

.featured-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: #6b7280;
}

.featured-post-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Categories Section */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 8px;
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    text-decoration: none;
    color: #0F1932;
    transition: all 0.2s ease;
}

.category-link:hover {
    background: #ffffff;
    border-color: #ff4b2b;
    color: #ff4b2b;
    text-decoration: none;
}

.category-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.category-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    background: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 28px;
    text-align: center;
    float: right;
}

.category-link:hover .category-count {
    background: #ff4b2b;
    color: #fff;
}

/* Recent Posts Section */
.recent-posts-section {
    margin-top: 48px;
    margin-bottom: 32px;
    position: relative;
}

.recent-posts-section .row {
    align-items: flex-start;
}

.recent-posts-section .col-lg-4 {
    position: -webkit-sticky;
    position: sticky;
    top: -400px;
    align-self: flex-start;
}

.section-header {
    margin-bottom: 10px;
    position: relative;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ff4b2b;
    position: relative;
    z-index: 2;
}

.section-title::before {
    content: attr(data-first-letter);
    position: absolute;
    font-size: 3rem;
    font-weight: 900;
    color: #e09f9f;
    opacity: 0.3;
    top: -12px;
    left: -10px;
    z-index: -1;
    line-height: 1;
}

/* Category Section Slider */
.category-section {
    margin-bottom: 32px;
}

.section-header-with-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.slider-nav {
    display: flex;
    gap: 8px;
}

.slider-nav-btn {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    color: #6b7280;
    padding: 0;
    user-select: none;
}

.slider-nav-btn:hover {
    background: #ff4b2b;
    border-color: #ff4b2b;
    color: #fff;
}

.slider-nav-btn span {
    line-height: 1;
}


.cards-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.cards-slider::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
}

.category-card {
    flex: 0 0 calc(33.333% - 10px);
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #ff4b2b;
}

.category-card-image {
    display: block;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f5f5f5;
    text-decoration: none;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.1);
}

.category-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0F1932;
    margin: 12px 12px 8px 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card-meta {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0 12px 12px 12px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

/* Minimal Post Card */
.post-card-minimal {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    transition: border-color 0.2s ease;
    min-height: 200px;
}

.post-card-minimal:hover {
    border-color: #ff4b2b;
}

.post-card-minimal-image-wrapper {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
    text-decoration: none;
}

.post-card-minimal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.post-card-minimal:hover .post-card-minimal-image {
    transform: scale(1.1);
}

/* Text Image Placeholder - Enhanced Design */
.post-card-minimal-image.text-image {
    width: 100%;
    height: 100%;
    background: #2f2043;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card-minimal:hover .post-card-minimal-image.text-image {
    box-shadow: 0 8px 24px rgba(47, 32, 67, 0.4);
    background: #251a35;
}

.text-image-content {
    position: relative;
    z-index: 2;
    padding: 16px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.text-image-icon {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.text-image-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.text-image-icon svg {
    width: 60%;
    height: 60%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.post-card-minimal:hover .text-image-icon {
    transform: scale(1.1);
}

.post-card-minimal:hover .text-image-icon::before {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.text-image-title {
    font-size: 0.7rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 255, 255, 0.15);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    letter-spacing: 0.3px;
    max-width: 100%;
    padding: 0 10px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.post-card-minimal:hover .text-image-title {
    text-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.3);
}

.text-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.post-card-minimal:hover .text-image-overlay {
    opacity: 0.9;
}

/* Simple background pattern */
.text-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.05) 20px,
            rgba(255, 255, 255, 0.05) 40px
        );
    z-index: 1;
    opacity: 0.4;
}

/* Responsive adjustments for text-image */
@media (max-width: 768px) {
    .text-image-icon {
        width: 28px;
        height: 28px;
    }

    .text-image-icon svg {
        width: 55%;
        height: 55%;
    }

    .text-image-title {
        font-size: 0.65rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        padding: 0 8px;
    }

    .text-image-content {
        padding: 12px;
        gap: 6px;
    }
}

.post-card-minimal-content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-minimal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F1932;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.post-card-minimal-title a {
    color: #0F1932;
    transition: color 0.2s ease;
}

.post-card-minimal-title a:hover {
    color: #ff4b2b;
}

.post-card-minimal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.post-card-minimal-tags .badge-tag {
    background: #f1f2ff;
    color: #5a5ae3;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.text-decoration-none {
    text-decoration: none !important;
    color: #0F1932 !important;
}

.text-decoration-none:hover {
    text-decoration: none !important;
    color: #ff4b2b !important;
}

.post-card-minimal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.65rem;
    color: #6b7280;
}

.post-card-minimal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.post-card-minimal-excerpt {
    font-size: 0.75rem;
    color: #6b7280;
    /* line-height: 1.1; */
    margin-bottom: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-minimal-readmore {
    color: #ff4b2b;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    margin-top: auto;
}

.post-card-minimal-readmore:hover {
    color: #ff6a00;
}

/* Post Cards Container */
.post-cards-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Load More Button */
.btn-load-more {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-load-more:hover {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.3);
}

.btn-load-more:active {
    transform: translateY(0);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-load-more:disabled:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.2rem;
    }

    .section-title::before {
        font-size: 3rem;
        top: -12px;
        left: -10px;
    }

    .post-card-minimal {
        flex-direction: column;
        min-height: auto;
    }

    .post-card-minimal-image-wrapper {
        width: 100%;
        height: 200px;
    }

    .post-card-minimal-content {
        padding: 16px;
    }
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #0F1932 0%, #1a2840 100%);
    color: #ffffff;
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-content {
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-logo-wrapper {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
    text-align: left;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-links-section {
    margin-top: 30px;
}

.footer-links-list,
.footer-middle-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.footer-links-list li,
.footer-middle-links-list li {
    margin-bottom: 0;
}

.footer-link-item {
    color: #b0b8c0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link-item:hover {
    color: #ff4b2b;
    text-decoration: none;
    transform: translateX(5px);
}

.footer-middle-links-section {
    margin-top: 30px;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.footer-description {
    font-size: 0.95rem;
    color: #b0b8c0;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.footer-contact {
    margin-top: 0;
}

.footer-contact-label {
    font-size: 0.95rem;
    color: #b0b8c0;
    display: block;
    margin-bottom: 8px;
}

.footer-email {
    font-size: 0.95rem;
    color: #b0b8c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #ff4b2b;
    text-decoration: none;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: #ff4b2b;
    border-color: #ff4b2b;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.4);
    text-decoration: none;
}

/* Footer Newsletter Section */
.footer-newsletter-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter-description {
    font-size: 0.9rem;
    color: #b0b8c0;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.footer-newsletter-form {
    width: 100%;
}

.footer-newsletter-input-group {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.footer-newsletter-input-group:focus-within {
    border-color: #ff4b2b;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.2);
}

.footer-newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-input:focus {
    color: #ffffff;
}

.footer-newsletter-btn {
    padding: 12px 18px;
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-newsletter-btn:hover {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    transform: scale(1.05);
    color: #ffffff;
}

.footer-newsletter-btn:active {
    transform: scale(1);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    margin-top: 40px;
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    color: #b0b8c0;
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.3px;
    text-align: center;
}

.copyright-text {
    display: inline-block;
}

.copyright-separator {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 6px;
    font-weight: 300;
    font-size: 0.75rem;
}

.footer-brand-highlight {
    color: #ff4b2b;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.9rem;
    color: #b0b8c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff4b2b;
    text-decoration: none;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0;
        margin-top: 60px;
    }

    .footer-brand-name {
        font-size: 1.5rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-links {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .footer-copyright {
        justify-content: center;
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-newsletter-section {
        margin-top: 20px;
        padding-top: 20px;
    }

    .footer-newsletter-description {
        font-size: 0.85rem;
    }
}

/* Post Details Page Styles */

/* Breadcrumb */
.post-breadcrumb {
    margin-bottom: 15px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #ff4b2b;
    text-decoration: none;
}

.breadcrumb-separator {
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0 3px;
}

.breadcrumb-current {
    color: #0F1932;
    font-size: 0.8rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-hero-section {
    margin-bottom: 30px;
}

.post-hero-image-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.post-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Post Details Card */
.post-details-card {
    margin-bottom: 30px;
}

.post-details-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.post-details-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-details-categories .badge-tag {
    background: #e9eaff;
    color: #5a5ae3;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.post-details-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0F1932;
    margin: 5px 0 5px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.post-details-meta-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5px;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.775rem;
    white-space: nowrap;
}

.post-meta-item i {
    color: #ff4b2b;
    font-size: 0.7rem;
    flex-shrink: 0;
    line-height: 1;
    position: relative;
    top: -1px;
}

.post-meta-item span {
    line-height: 1;
}

/* Post Body */
.post-details-body {
    color: #2d3748;
    line-height: 1.75;
    font-size: 1rem;
    margin: 30px 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.01em;
    max-width: 100%;
    word-spacing: 0.05em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.post-details-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin: 2.5em 0 1em 0;
    line-height: 1.3;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.02em;
}

.post-details-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin: 2em 0 0.75em 0;
    line-height: 1.4;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
}

.post-details-body p {
    margin-bottom: 1.5em;
    font-size: 1rem;
    line-height: 1.8;
    color: #2d3748;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.post-details-body ul,
.post-details-body ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.post-details-body li {
    margin-bottom: 0.75em;
    line-height: 1.8;
    font-size: 1rem;
    color: #2d3748;
}

.post-details-body ul li {
    list-style-type: disc;
}

.post-details-body ol li {
    list-style-type: decimal;
}

/* Pre and Code Styling - ChatGPT Style */
.post-details-body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Custom Scrollbar for Code Blocks */
.post-details-body pre::-webkit-scrollbar {
    height: 8px;
}

.post-details-body pre::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.post-details-body pre::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.post-details-body pre::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Firefox Scrollbar */
.post-details-body pre {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

.post-details-body pre code {
    background: transparent;
    color: #e2e8f0;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    white-space: pre;
    word-wrap: normal;
    display: block;
}

/* Inline code styling */
.post-details-body code:not(pre code) {
    background: #f7fafc;
    color: #e53e3e;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    border: 1px solid #e2e8f0;
}

/* Links styling */
.post-details-body a {
    color: #3182ce;
    text-decoration: underline;
    text-decoration-color: rgba(49, 130, 206, 0.3);
    text-underline-offset: 2px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.post-details-body a:hover {
    color: #2c5282;
    text-decoration-color: rgba(44, 82, 130, 0.6);
}

/* Strong and emphasis */
.post-details-body strong {
    font-weight: 700;
    color: #1a202c;
}

.post-details-body em {
    font-style: italic;
    color: #2d3748;
}

/* Blockquotes */
.post-details-body blockquote {
    border-left: 4px solid #cbd5e0;
    padding-left: 1.5em;
    margin: 1.5em 0;
    font-style: italic;
    color: #4a5568;
    background: #f7fafc;
    padding: 1em 1.5em;
    border-radius: 4px;
}

/* Images in content */
.post-details-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Copy Button */
.code-block-wrapper {
    position: relative;
}

.code-copy-button {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.code-copy-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.code-copy-button:active {
    transform: scale(0.95);
}

.code-copy-button.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.code-copy-button i {
    font-size: 0.7rem;
}



.post-code-block {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    border-left: 4px solid #ff4b2b;
}

.post-code-block code {
    color: #e2e8f0;
}

/* Post Tags Section */
.post-details-tags-section {
    margin-top: 30px;
    padding-top: 25px;
}

.post-tags-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0F1932;
    margin: 0 0 15px 0;
}

.post-tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-tag-item {
    padding: 6px 14px;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid transparent;
}

.post-tag-item:hover {
    background: #ff4b2b;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.3);
    border-color: #ff4b2b;
}

/* Like and Share Section */
.post-like-share-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    gap: 20px;
    flex-wrap: wrap;
}

.post-like-comment-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.post-action-button:hover {
    background: #f8f9fa;
    border-color: #ff4b2b;
    color: #ff4b2b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 75, 43, 0.15);
}

.post-action-button i {
    font-size: 1rem;
}

.post-action-count {
    background: #f0f0f0;
    color: #6b7280;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.post-action-button:hover .post-action-count {
    background: #ffe5e0;
    color: #ff4b2b;
}

.post-like-button.active {
    border-color: #ff4b2b;
}

.post-like-button.active:hover {
    background: #f8f9fa;
    border-color: #ff4b2b;
    color: #ff4b2b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 75, 43, 0.15);
}

.post-like-button.active i {
    color: #ff4b2b;
}

.post-like-button.active i.far {
    display: none;
}

.post-like-button.active i.fas {
    display: inline-block;
}

.post-like-button:not(.active) i.fas {
    display: none;
}

.post-like-button:not(.active) i.far {
    display: inline-block;
}

.post-like-button.active .post-action-count {
    background: #ffe5e0;
    color: #ff4b2b;
}

.post-like-button.active:hover .post-action-count {
    background: #ffe5e0;
    color: #ff4b2b;
}

/* Share Section */
.post-details-share-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
}

.post-share-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #0F1932;
    margin: 0 0 15px 0;
}

.post-share-buttons-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.post-share-button {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.post-share-button.facebook-btn {
    background: #1877f2;
}

.post-share-button.twitter-btn {
    background: #1da1f2;
}

.post-share-button.linkedin-btn {
    background: #0077b5;
}

.post-share-button.whatsapp-btn {
    background: #25d366;
}

.post-share-button.copy-btn {
    background: #6c757d;
    border: none;
    cursor: pointer;
}

.post-share-button.copy-btn:hover {
    background: #5a6268;
}

.post-share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    text-decoration: none;
}

/* Responsive Like and Share Section */
@media (max-width: 768px) {
    .post-like-share-section {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .post-like-comment-buttons {
        display: flex;
        justify-content: space-between;
        width: 100%;
        gap: 15px;
    }

    .post-like-comment-buttons .post-like-button {
        margin-right: auto;
    }

    .post-like-comment-buttons .post-comment-button {
        margin-left: auto;
    }

    .post-share-buttons-group {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 12px;
    }
}

/* Author Card Section */
.post-author-card-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.post-author-avatar-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #ff4b2b;
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.2);
}

.author-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-author-details {
    flex: 1;
}

.author-name-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F1932;
    margin: 0 0 10px 0;
}

.author-description {
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

.author-social-links {
    display: flex;
    gap: 12px;
}

.author-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.author-social-icon:hover {
    background: #ff4b2b;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    border-color: #ff4b2b;
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {

    .post-details-title {
        font-size: 1.875rem;
    }

    .post-hero-image-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .post-hero-image-container {
        height: 280px;
        border-radius: 6px;
    }


    .post-details-title {
        font-size: 1.625rem;
    }

    .post-details-body {
        font-size: 1rem;
    }

    .post-details-body p {
        font-size: 1rem;
        text-align: left;
    }

    .post-details-body h2 {
        font-size: 1.75rem;
    }

    .post-details-body h3 {
        font-size: 1.375rem;
    }

    .post-details-body {
        font-size: 0.95rem;
    }

    .post-details-body h2 {
        font-size: 1.5rem;
    }

    .post-details-body h3 {
        font-size: 1.25rem;
    }

    .post-details-meta-info {
        gap: 15px;
    }

    .post-author-card-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Comments Section */
.comments-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F1932;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: #ff4b2b;
    border-radius: 2px;
}

.comments-list {
    margin-bottom: 50px;
}

.comment-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Comment Replies */
.comment-replies {
    margin-top: 25px;
    padding-left: 12px;
    border-left: 2px solid #e5e5e5;
    padding-top: 15px;
    margin-bottom: 0px;
}

.comment-reply {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.comment-reply:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.comment-reply-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.25);
}

.comment-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.comment-avatar-initials {
    font-weight: 600;
    color: #fff;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0F1932;
}

.comment-date {
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-date i {
    font-size: 0.75rem;
}

.comment-text {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.comment-text p {
    margin: 0;
    color: #495057;
}

.comment-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.comment-action-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.comment-action-btn:hover {
    color: #ff4b2b;
}

.comment-action-btn i {
    font-size: 0.875rem;
}

/* Comment Form Section */
.comment-form-section {
    background: #f9fafb;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    margin-top: 40px;
}

.comment-form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0F1932;
    margin-bottom: 8px;
}

.comment-form-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 25px;
}

.comment-form {
    margin-top: 20px;
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.comment-form-group {
    margin-bottom: 20px;
}

.comment-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F1932;
    margin-bottom: 8px;
}

.comment-form-input,
.comment-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #495057;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.comment-form-input:focus,
.comment-form-textarea:focus {
    outline: none;
    border-color: #ff4b2b;
    box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.1);
}

.comment-form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.comment-form-actions {
    margin-top: 25px;
}

.comment-form-button {
    background: #ff4b2b;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 8px rgba(255, 75, 43, 0.2);
}

.comment-form-button:hover {
    background: #ff6a00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.3);
}

.comment-form-button:active {
    transform: translateY(0);
}

.comment-form-button i {
    font-size: 0.875rem;
}

/* Responsive Comments */
@media (max-width: 768px) {
    .comment-form-row {
        grid-template-columns: 1fr;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comments-title {
        font-size: 1.3rem;
    }

    .comment-form-section {
        padding: 20px;
    }

    .comment-replies {
        margin-left: 20px;
        padding-left: 15px;
    }
}

/* ============================================
   Top Bar Styles
   ============================================ */

.topbar {
    background: linear-gradient(135deg, #6c5ce7, #5f3dc4);
    color: #ffffff;
    padding: 6px 0;
    font-size: 11px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.topbar.hidden {
    transform: translateY(-100%);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

.topbar-item i {
    font-size: 10px;
    opacity: 0.9;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.topbar-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.topbar-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .topbar {
        font-size: 10px;
        padding: 5px 0;
    }

    .topbar-left {
        gap: 10px;
    }

    .topbar-item {
        gap: 4px;
    }

    .topbar-item i {
        font-size: 9px;
    }
}

/* ============================================
   Main Header Border & Shadow
   ============================================ */

.page-header {
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    top: 0;
    transition: top 0.3s ease;
}

.page-header.with-topbar {
    top: 30px;
}

@media (max-width: 767.98px) {
    .page-header.with-topbar {
        top: 28px;
    }
}

/* ============================================
   Left Sidebar Menu Styles
   ============================================ */

.offcanvas-start {
    width: 280px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.offcanvas-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f9fa;
}

.offcanvas-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0F1932;
}

.btn-close {
    padding: 0.5rem;
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 1;
}

.offcanvas-body {
    padding: 0;
    overflow-y: auto;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.sidebar-menu-item {
    margin: 0;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu-link:hover {
    background: rgba(255, 75, 43, 0.05);
    color: #ff4b2b;
    border-left-color: #ff4b2b;
    padding-left: 25px;
}

.sidebar-menu-link i:first-child {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.sidebar-menu-link span {
    flex: 1;
}

.sidebar-menu-toggle {
    cursor: pointer;
}

.sidebar-menu-toggle .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.sidebar-menu-dropdown.active .sidebar-menu-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.sidebar-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.sidebar-menu-dropdown.active .sidebar-submenu {
    max-height: 500px;
}

.sidebar-submenu li {
    margin: 0;
}

.sidebar-submenu-link {
    display: block;
    padding: 10px 20px 10px 52px;
    color: #6c757d;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sidebar-submenu-link:hover {
    background: rgba(255, 75, 43, 0.08);
    color: #ff4b2b;
    padding-left: 55px;
}

.sidebar-menu-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 10px 20px;
}

.sidebar-menu-btn {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    color: #ffffff !important;
    border-radius: 6px;
    margin: 10px 15px;
    justify-content: center;
    font-weight: 600;
}

.sidebar-menu-btn:hover {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #ffffff !important;
    border-left-color: transparent;
    padding-left: 20px;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.3);
}

/* Sidebar Toggle Animation */
.sidebar-menu-dropdown .sidebar-menu-toggle {
    position: relative;
}

/* Responsive */
@media (max-width: 991.98px) {
    .offcanvas-start {
        width: 260px;
    }
}