/* =============================================
   HERO BANNER & BREADCRUMB (08)
   ============================================= */
.content-hero08 {
    position: relative;
    width: 95%; /* Leaves side margins like the image */
    max-width: 1550px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 40px auto; /* Centers it and adds top/bottom space */
    border-radius: 15px; /* Rounded corners matching the image */
}

.bg-img08 {
    position: absolute;
    inset: 0;
    /* background-image: url('https://picsum.photos/id/1015/1920/600'); Replace with your image */
    background-size: cover;
    background-position: center;
    background-color: #1a4d2e; /* Fallback dark green */
    opacity: 0.85; /* Creates the dark overlay effect */
    z-index: 1;
}

.hero-inner08 {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 20px 10px;
}

.hero-inner08 h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.breadcrumb-custom08 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.1rem;
}

.breadcrumb-custom08 .home-link08 {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.breadcrumb-custom08 .home-link08:hover {
    text-decoration: underline;
}

.breadcrumb-custom08 .separator08 {
    color: #ffffff;
    font-weight: 400;
}

.breadcrumb-custom08 .current-page08 {
    color: #38b44a; /* Bright green from the image */
    font-weight: 600;
}



/* --- GALLERY WRAPPER (Spacing Fix) --- */
.gallery-wrapper08 {
    background-color: #f1f5ec;
    padding: 0 5% 80px 5%;
    width: 100%;
    box-sizing: border-box;
}


/* =============================================
   GALLERY WRAPPER (Spacing Fix)
   ============================================= */
.gallery-wrapper08 {
    background-color: #f1f5ec;
    padding: 0 5% 80px 5%;
    width: 100%;
    box-sizing: border-box;
}

.container08 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- View Management --- */
.view08 {
    display: none;
    animation: fadeIn08 0.3s ease;
}

.view08.active08 {
    display: block;
}

@keyframes fadeIn08 {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- FOLDER VIEW (Top Level) --- */
.folder-grid08 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 25px;
    margin-bottom: 50px;
}

.card08 {
    width: calc(20% - 20px); /* 5 columns */
    min-width: 250px; 

    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.card08:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-image08 {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-content08 {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-title08 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.card-footer08 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.image-badge08 {
    background-color: #e3e8df;
    color: #1a4d2e;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-link08 {
    text-decoration: none;
    color: #1a4d2e;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

/* --- FOLDER DETAIL VIEW --- */
.detail-header08 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.back-btn08 {
    background: white;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #1a4d2e;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.back-btn08:hover {
    background: #e3e8df;
}

.detail-title08 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
}

.image-grid08 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.img-card08 {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
    aspect-ratio: 1 / 1;
}

.img-card08:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.img-card08 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Pagination --- */
.pagination08 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-btn08 {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #1a4d2e;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.page-btn08:hover:not(:disabled) {
    background-color: #e3e8df;
    border-color: #1a4d2e;
}

.page-btn08.active08 {
    background-color: #1a4d2e;
    color: #fff;
    border-color: #1a4d2e;
}

.page-btn08:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1100px) {
    .folder-grid08 { grid-template-columns: repeat(3, 1fr); }
    .image-grid08 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 800px) {
    .folder-grid08 { grid-template-columns: repeat(2, 1fr); }
    .image-grid08 { grid-template-columns: repeat(3, 1fr); }
    .gallery-wrapper08 { padding: 0 20px 60px 20px; }
}

@media (max-width: 500px) {
    .folder-grid08 { grid-template-columns: 1fr; }
    .image-grid08 { grid-template-columns: repeat(2, 1fr); }
}


/* =============================================
   LIGHTBOX MODAL (08)
   ============================================= */
.lightbox08 {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark background */
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox08.show08 {
    display: flex;
    opacity: 1;
}

.lightbox-content08 {
    /* Allow the image to grow larger */
    width: auto;
    height: auto;
    
    /* Use maximum space without overflowing the screen */
    max-width: 95vw; 
    max-height: 95vh; 
    
    /* Preserve the image quality and ratio */
    object-fit: contain; 
    
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox08.show08 .lightbox-content08 {
    transform: scale(1);
}

/* Close Button */
.lightbox-close08 {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 10000;
}

.lightbox-close08:hover {
    color: #38b44a;
    transform: scale(1.1);
}