
/*
        body {
            font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
            background-color: var(--light-bg);
            color: var(--text-dark);
            margin: 0;
            line-height: 1.6;
        }*/

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        .blog-header {
            background-color: var(--dark-bg);
            color: white;
            padding: 60px 0;
            margin-bottom: 40px;
            text-align: center;
        }

        .blog-title {
            font-size: 2.5rem;
            margin: 0;
        }

        .blog-description {
            font-size: 1.1rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 15px auto 0;
        }

        /* Main Content Layout */
        .blog-container {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 30px;
            padding-bottom: 60px;
        }

        /* Company Overview Content */
        .company-overview {
            background-color: var(--card-bg);
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .company-overview h2 {
            color: var(--primary-green-dark);
            margin-top: 0;
            font-size: 1.8rem;
        }

        .company-overview p {
            margin-bottom: 20px;
            font-size: 1.05rem;
            line-height: 1.7;
        }

        .highlight-box {
            background-color: rgba(129, 199, 132, 0.1);
            border-left: 4px solid var(--primary-green);
            padding: 20px;
            margin: 30px 0;
            border-radius: 0 4px 4px 0;
        }

        .highlight-box p {
            margin: 0;
            font-style: italic;
        }

        /* Sidebar */
        .blog-sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .sidebar-widget {
            background-color: var(--card-bg);
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .widget-title {
            font-size: 1.2rem;
            margin-top: 0;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--border-color);
        }



        .categories-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .categories-list li {
            padding: 8px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .categories-list li:last-child {
            border-bottom: none;
        }

        .categories-list a {
            color: var(--text-dark);
            text-decoration: none;
            transition: color 0.3s;
        }

        .categories-list a:hover {
            color: var(--primary-green);
        }

        .categories-list .count {
            float: right;
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .recent-posts {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .recent-post {
            display: flex;
            gap: 15px;
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .recent-post:last-child {
            border-bottom: none;
        }

        .recent-post-thumbnail {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
        }

        .recent-post-title {
            font-size: 0.95rem;
            margin: 0 0 5px;
        }

        .recent-post-title a {
            color: var(--text-dark);
            text-decoration: none;
        }

        .recent-post-title a:hover {
            color: var(--primary-green);
        }

        .recent-post-date {
            font-size: 0.8rem;
            color: var(--text-light);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .blog-container {
                grid-template-columns: 1fr;
            }
            
            .blog-sidebar {
                order: -1;
            }
            
            .blog-header {
                padding: 40px 0;
            }
            
            .blog-title {
                font-size: 2rem;
            }
            
            .company-overview {
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
            .blog-title {
                font-size: 1.8rem;
            }
            
            .blog-description {
                font-size: 1rem;
            }
            
            .company-overview h2 {
                font-size: 1.5rem;
            }
            
            .company-overview p {
                font-size: 1rem;
            }
            
            .recent-post {
                flex-direction: column;
            }
            
            .recent-post-thumbnail {
                width: 100%;
                height: auto;
                max-height: 150px;
            }
        }




        /* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 47, 0.5); /* --dark-bg with 50% opacity */
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 3;
}

.slider-control:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: var(--primary-green);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slider-container {
        height: 400px;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 300px;
    }
    
    .blog-title {
        font-size: 1.5rem;
    }
    
    .blog-description {
        font-size: 0.9rem;
    }
    
    .slider-control {
        padding: 10px;
        font-size: 18px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}


.categories-list .loading {
    color: var(--text-light);
    font-style: italic;
    padding: 10px 0;
    list-style: none;
}

.categories-list {
    min-height: 100px; /* Prevent layout shift when loading */
}






/*load post from categories*/
/* Category Page Styles */
.category-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.category-header h2 {
    color: var(--primary-green-dark);
    margin-bottom: 10px;
    text-transform: capitalize;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-style: italic;
}

.error {
    color: var(--danger);
    padding: 20px;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: 4px;
    text-align: center;
}

.no-posts {
    text-align: center;
    padding: 40px;
}

.no-posts h2 {
    color: var(--text-light);
    margin-bottom: 15px;
}




.video-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
    padding-bottom: 10px;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    cursor: pointer;
}

.thumbnail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: #2c3e50;
    font-size: 24px;
    margin-left: 5px;
}

.video-thumbnail:hover .play-button {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    margin: 15px 15px 5px;
    font-size: 16px;
    font-weight: 600;
}

.video-description {
    margin: 0 15px 15px;
    font-size: 14px;
    color: #666;
}

.no-video, .video-error {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
}

#modalVideoPlayer {
    width: 100%;
    background: #000;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
}