
/*
        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;
    }
}




/* recent post */

.modalRecent {
    display: none; /*  important */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Prevent interaction when hidden */
}

.modalRecent.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}


.modal-contentRecent {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 5px;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: black;
}











        /* Video Gallery Styles - Unique Class Names */
        .vm-gallery {
            padding: 40px 0;
            background-color: #f9f9f9;
        }
        
        .vm-gallery-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .vm-gallery-header h1 {
            font-size: 2.5rem;
            color: #003366;
            margin-bottom: 15px;
        }
        
        .vm-slider-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .vm-slider-wrapper {
            overflow: hidden;
            position: relative;
        }
        
        .vm-slider-track {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .vm-slide {
            min-width: 300px;
            margin: 0 15px;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .vm-slide:hover {
            transform: translateY(-5px);
        }
        
        .vm-thumbnail {
            position: relative;
            cursor: pointer;
            height: 180px;
            overflow: hidden;
        }
        
        .vm-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .vm-slide:hover .vm-thumbnail img {
            transform: scale(1.05);
        }
        
        .vm-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background-color: rgba(0, 119, 204, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            transition: all 0.3s ease;
        }
        
        .vm-slide:hover .vm-play-btn {
            background-color: rgba(0, 119, 204, 1);
            transform: translate(-50%, -50%) scale(1.1);
        }
        
        .vm-info {
            padding: 15px;
        }
        
        .vm-info h3 {
            margin: 0 0 10px;
            font-size: 1.1rem;
            color: #333;
        }
        
        .vm-info p {
            color: #666;
            font-size: 0.9rem;
            margin: 0;
        }
        
        .vm-slider-nav {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        
        .vm-slider-dot {
            width: 12px;
            height: 12px;
            background-color: #ccc;
            border-radius: 50%;
            margin: 0 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .vm-slider-dot.active {
            background-color: #0077cc;
        }
        
        .vm-slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(255,255,255,0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            border: none;
            font-size: 18px;
            color: #0077cc;
        }
        
        .vm-slider-arrow:hover {
            background-color: white;
        }
        
        .vm-slider-arrow.prev {
            left: 0;
        }
        
        .vm-slider-arrow.next {
            right: 0;
        }
        
        /* Video Modal Styles */
        .vm-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .vm-modal.show {
            display: flex;
            opacity: 1;
        }
        
        .vm-modal-content {
            position: relative;
            width: 90%;
            max-width: 900px;
        }
        
        .vm-modal-player {
            width: 100%;
            aspect-ratio: 16/9;
            background-color: black;
        }
        
        .vm-close-modal {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 30px;
            cursor: pointer;
        }
        
        .vm-section {
            margin: 20px 0;
            padding: 15px;
            background: #f0f0f0;
            border-radius: 5px;
        }
        
        .vm-section-title {
            color: #003366;
            margin-bottom: 15px;
            font-size: 1.3rem;
        }
        
        @media (max-width: 768px) {
            .vm-slide {
                min-width: 250px;
            }
            
            .vm-slider-arrow {
                width: 30px;
                height: 30px;
                font-size: 14px;
            }
        }