/* =========================================
   RESET & BASE (DESKTOP FIRST)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* =========================================
   HEADER (Floating Card Style)
   ========================================= */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 60px;
    z-index: 1000;
}

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

.nav-card {
    background: #fff;
    display: flex;
    height: 55px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 0 10px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.nav-link:hover {
    color: #ff7a2f;
}

.nav-link.active {
    color: #ff7a2f;
    border-bottom: 4px solid #ff7a2f;
}

.divider {
    width: 1px;
    height: 20px;
    background-color: #eee;
    align-self: center;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-contact {
    background: #ff7a2f;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #e06b26;
}

.btn-quote {
    background: #3a3a3a;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-quote:hover {
    background: #555;
}

/* =========================================
   HERO SECTION
   ========================================= */
.portfolio-hero {
    position: relative;
    width: 100%;
    height: 76vh;
    background-image:  url('assests/images/portfolio.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-left: 120px;
    width: 100%;
}

.hero-content h1 {
    font-size: 90px;
    font-weight: 400;
    color: white;
    margin-bottom: 30px;
    margin-top: 0px;
    margin-left: -40px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: #ffffff;
    opacity: 0.9;
    max-width: 760px;
}

/* YOUR ORIGINAL BREADCRUMBS CODE - UNTOUCHED */
.breadcrumbs {
    font-size: 18px;
    color: #ccc;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 150px;
}

.breadcrumbs .current {
    color: #ff7a2f;
    font-weight: 600;
}

.breadcrumbs .arrow {
    font-size: 14px;
    color: #ccc;
}

.portfolio-hero .breadcrumbs {
    position: absolute;
    bottom: 60px;
    left: 80px;
    z-index: 10;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
}

.portfolio-hero .breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 5px;
}

.portfolio-hero .breadcrumbs span {
    background: linear-gradient(45deg, #FF6900, #FE9A00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: 5px;
    font-weight: 600;
}

/* =========================================
   SERVICES SECTION & TABS
   ========================================= */
.services-header-ui {
    background-color: #000000;
    padding: 60px 80px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
}

.main-heading-container {
    margin-bottom: 40px;
}

.main-heading-container h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.2;
}

.highlight-orange {
    color: #FF8C00;
}

.heading-subtitle {
    color: #999;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.tabs-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    row-gap: 20px;
    margin-bottom: 40px;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #111;
    border: 1px solid #222;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-item span {
    font-size: 14px;
    font-weight: 500;
    color: #888;
}

.icon-wrapper {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: invert(0.5);
    transition: all 0.3s ease;
}

.current-section-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 40px;
}

.section-icon-box {
    width: 45px;
    height: 45px;
    background-color: #2E1A05;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.header-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(66%) sepia(61%) saturate(5438%) hue-rotate(1deg) brightness(103%) contrast(105%);
}

.section-text-box h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #fff;
}

.section-text-box p {
    color: #888;
    font-size: 15px;
    margin: 0;
    font-weight: 400;
}

/* =========================================
   GALLERY GRID (Perfect Desktop 3-Column)
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 30px;
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
}

.grid-item {
    background: transparent;
    overflow: visible;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}

.image-title {
    margin: 12px 0 0 0;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    font-weight: 400;
    background: transparent;
    line-height: 1.3;
}

/* =========================================
   PURE CSS TABS LOGIC
   ========================================= */
.current-section-header,
.grid-item {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#radio-adv:checked~.tabs-navigation label[for="radio-adv"],
#radio-sign:checked~.tabs-navigation label[for="radio-sign"],
#radio-event:checked~.tabs-navigation label[for="radio-event"],
#radio-research:checked~.tabs-navigation label[for="radio-research"],
#radio-pr:checked~.tabs-navigation label[for="radio-pr"],
#radio-print:checked~.tabs-navigation label[for="radio-print"] {
    background-color: #2E1A05;
    border-color: #4D2B00;
}

#radio-adv:checked~.tabs-navigation label[for="radio-adv"] .icon-wrapper,
#radio-sign:checked~.tabs-navigation label[for="radio-sign"] .icon-wrapper,
#radio-event:checked~.tabs-navigation label[for="radio-event"] .icon-wrapper,
#radio-research:checked~.tabs-navigation label[for="radio-research"] .icon-wrapper,
#radio-pr:checked~.tabs-navigation label[for="radio-pr"] .icon-wrapper,
#radio-print:checked~.tabs-navigation label[for="radio-print"] .icon-wrapper {
    background-color: #FF8C00;
    color: #000;
}

#radio-adv:checked~.tabs-navigation label[for="radio-adv"] .value-img,
#radio-sign:checked~.tabs-navigation label[for="radio-sign"] .value-img,
#radio-event:checked~.tabs-navigation label[for="radio-event"] .value-img,
#radio-research:checked~.tabs-navigation label[for="radio-research"] .value-img,
#radio-pr:checked~.tabs-navigation label[for="radio-pr"] .value-img,
#radio-print:checked~.tabs-navigation label[for="radio-print"] .value-img {
    filter: brightness(0) invert(1);
}

#radio-adv:checked~.tabs-navigation label[for="radio-adv"] span,
#radio-sign:checked~.tabs-navigation label[for="radio-sign"] span,
#radio-event:checked~.tabs-navigation label[for="radio-event"] span,
#radio-research:checked~.tabs-navigation label[for="radio-research"] span,
#radio-pr:checked~.tabs-navigation label[for="radio-pr"] span,
#radio-print:checked~.tabs-navigation label[for="radio-print"] span {
    color: #fff;
    font-weight: 600;
}

#radio-adv:checked~.dynamic-headers .header-adv {
    display: flex;
}

#radio-adv:checked~.gallery-grid .cat-adv {
    display: block;
    animation: fadeIn 0.5s;
}

#radio-sign:checked~.dynamic-headers .header-sign {
    display: flex;
}

#radio-sign:checked~.gallery-grid .cat-sign {
    display: block;
    animation: fadeIn 0.5s;
}

#radio-event:checked~.dynamic-headers .header-event {
    display: flex;
}

#radio-event:checked~.gallery-grid .cat-event {
    display: block;
    animation: fadeIn 0.5s;
}

#radio-research:checked~.dynamic-headers .header-research {
    display: flex;
}

#radio-research:checked~.gallery-grid .cat-research {
    display: block;
    animation: fadeIn 0.5s;
}

#radio-pr:checked~.dynamic-headers .header-pr {
    display: flex;
}

#radio-pr:checked~.gallery-grid .cat-pr {
    display: block;
    animation: fadeIn 0.5s;
}

#radio-print:checked~.dynamic-headers .header-print {
    display: flex;
}

#radio-print:checked~.gallery-grid .cat-print {
    display: block;
    animation: fadeIn 0.5s;
}


/* =========================================
   PREMIUM DARK SLATE LIGHTBOX MODAL
   ========================================= */
.adv-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.adv-lightbox-modal.active {
    display: flex;
}

.adv-lightbox-content {
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background-color: #0b1120;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #1e293b;
}

.adv-lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: transparent;
    border-bottom: 1px solid #1e293b;
    color: #fff;
    flex-shrink: 0;
}

.lightbox-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-icon {
    width: 32px;
    height: 32px;
    background-color: #172554;
    color: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

#lightbox-title-text {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.lightbox-controls-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

#lightbox-counter {
    font-size: 13px;
    color: #94a3b8;
    background-color: #1e293b;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

#lightbox-close-btn {
    background-color: #1e293b;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

#lightbox-close-btn:hover {
    background-color: #334155;
    color: #fff;
}

.adv-lightbox-main {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #020617;
    overflow: hidden;
}

.main-image-container { 
    width: 100%; 
    height: 100%; 
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 10px 70px;
}

#main-lightbox-img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    border-radius: 8px; 
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0b1120;
    color: #fff;
    border: 1px solid #1e293b;
    font-size: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: #1e293b;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.adv-lightbox-footer {
    background-color: transparent;
    border-top: 1px solid #1e293b;
    padding: 20px 24px 15px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.thumbnail-scroll-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnail-scroll-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.lightbox-thumb {
    height: 60px;
    width: 90px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    border: 2px solid transparent;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active-thumb {
    opacity: 1;
    border-color: #3b82f6;
}

.lightbox-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
}

.page-dot {
    width: 6px;
    height: 6px;
    background-color: #334155;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}

.page-dot:hover {
    background-color: #475569;
}

.page-dot.active-dot {
    width: 24px;
    height: 4px;
    background-color: #3b82f6;
    border-radius: 4px;
}


/* =========================================
   FOOTER SECTION (DESKTOP)
   ========================================= */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    padding: 80px 80px 20px;
    width: 100%;
    border-top: 1px solid #111;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 70px;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.contact-col {
    flex: 1.4;
}

.links-col {
    flex: 0.7;
}

.services-col {
    flex: 0.7;
}

.map-col {
    flex: 1.5;
}

.footer-logo {
    margin-bottom: 35px;
}

.footer-logo img {
    height: 75px;
    object-fit: contain;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15px;
    color: #cccccc;
    line-height: 1.6;
}

.icon-box {
    width: 20px;
    display: flex;
    justify-content: center;
    margin-top: 4px;
    color: #fff;
}

.footer-col h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 18px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff7a2f;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-link svg {
    width: 22px;
    height: 22px;
    color: #fff;
    transition: 0.3s;
}

.social-link:hover svg {
    stroke: #ff7a2f;
}

.map-container {
    width: 100%;
    height: 350px;
    background-color: #222;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom {
    border-top: 1px solid #1f1f1f;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #777;
}

.legal-links {
    display: flex;
    gap: 40px;
}

.legal-links a {
    color: #777;
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #fff;
}


/* =========================================
   RESPONSIVE DESIGN (Tablet & Mobile)
   ========================================= */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .site-footer {
        padding: 60px 30px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .map-container {
        height: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .legal-links {
        gap: 20px;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    header {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        background: rgba(0, 0, 0, 0.9);
        position: relative;
    }

    .nav-card {
        width: 100%;
        height: auto;
        padding: 10px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .portfolio-hero h1 {
        font-size: 50px;
        margin-top: 50px;
    }

    .hero-content {
        padding-left: 20px;
    }

    .services-header-ui {
        padding: 40px 20px;
    }

    .divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .main-heading-container h2 {
        font-size: 36px;
    }

    .tab-item {
        flex: 1 1 auto;
    }
}

/* =========================================
   MOBILE RESPONSIVE (< 768px)
   ========================================= */
@media (max-width: 768px) {

    .portfolio-hero {
        height: 200px;
        
        background-size: 150% !important;   
        background-position: center;
        
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .portfolio-hero h1 {
        font-family: 'Poppins', sans-serif;
        font-weight: 800;      
        font-size: 22px;       
        line-height: 32px;     
        letter-spacing: 0px;
        color: #FFFFFF;
        margin-top: 113px;     
        margin-left: 14px;
        margin-bottom: 100px;
    }

    /* BREADCRUMBS MOBILE (YOUR ORIGINAL CSS) */
    .breadcrumbs {
        margin-top: 0;
        font-size: 14px;
    }

    .portfolio-hero .breadcrumbs {
        left: 24px !important;
        right: 24px;
        bottom: 24px !important;
        font-size: 14px !important;
    }

    /* TYPOGRAPHY */
    .main-heading-container h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 22px !important;
    }

    .heading-subtitle {
        font-family: 'Poppins', sans-serif;
        font-weight: 400 !important;
        font-size: 16px !important;
        line-height: 28px !important;
        letter-spacing: -0.45px !important;
        color: #99A1AF !important;
        max-width: 332px;
    }

    .section-text-box h3 {
        font-family: 'Poppins', sans-serif;  
        font-size: 24px;
        font-weight: 700;
        line-height: 32px;
        letter-spacing: 0.07px;
    }

    .section-text-box p {
        font-family: 'Poppins', sans-serif;
        font-weight: 400 !important;
        font-size: 14px !important;
        line-height: 20px !important;
        letter-spacing: -0.15px !important;
        color: #99A1AF !important;
        max-width: 272px;
    }

    /* TABS */
    .tabs-navigation {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: flex-start !important;
    }

    .tab-item {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        background-color: #121212 !important;
        border: 1px solid #2a2a2a !important;
        padding: 5px 16px 5px 5px !important;
        border-radius: 10px !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
    }

    .tab-item span {
        font-size: 13px !important;
        color: #888 !important;
    }

    .icon-wrapper {
        width: 32px !important;
        height: 32px !important;
        background-color: #1a1a1a !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .icon-wrapper .value-img {
        width: 16px !important;
        height: 16px !important;
    }

    #radio-adv:checked~.tabs-navigation label[for="radio-adv"],
    #radio-sign:checked~.tabs-navigation label[for="radio-sign"],
    #radio-event:checked~.tabs-navigation label[for="radio-event"],
    #radio-research:checked~.tabs-navigation label[for="radio-research"],
    #radio-pr:checked~.tabs-navigation label[for="radio-pr"],
    #radio-print:checked~.tabs-navigation label[for="radio-print"] {
        background-color: #121212 !important;
        border-color: #3a3a3a !important;
    }

    #radio-adv:checked~.tabs-navigation label[for="radio-adv"] .icon-wrapper,
    #radio-sign:checked~.tabs-navigation label[for="radio-sign"] .icon-wrapper,
    #radio-event:checked~.tabs-navigation label[for="radio-event"] .icon-wrapper,
    #radio-research:checked~.tabs-navigation label[for="radio-research"] .icon-wrapper,
    #radio-pr:checked~.tabs-navigation label[for="radio-pr"] .icon-wrapper,
    #radio-print:checked~.tabs-navigation label[for="radio-print"] .icon-wrapper {
        background-color: #FF8C00 !important;
    }

    #radio-adv:checked~.tabs-navigation label[for="radio-adv"] span,
    #radio-sign:checked~.tabs-navigation label[for="radio-sign"] span,
    #radio-event:checked~.tabs-navigation label[for="radio-event"] span,
    #radio-research:checked~.tabs-navigation label[for="radio-research"] span,
    #radio-pr:checked~.tabs-navigation label[for="radio-pr"] span,
    #radio-print:checked~.tabs-navigation label[for="radio-print"] span {
        color: #ffffff !important;
    }

    /* =========================================
       MOBILE GALLERY GRID (Perfect 2-Column responsive fix)
       ========================================= */
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 25px 15px 10px 15px !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .grid-item {
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 5px !important;
        background: transparent !important;
        border: none !important;
        overflow: visible !important;
    }
    
    .grid-item img {
        width: 100% !important;
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
        object-fit: cover !important; 
        border-radius: 10px !important;
        display: block !important;
    }
    
    .grid-item .image-title {
        font-size: 13px !important; 
        padding-top: 8px !important;
        text-align: center !important; 
        width: 100% !important;
        color: #ffffff !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        position: static !important;
        background: transparent !important;
    }

    /* TABS FILTER FIX FOR MOBILE */
    #radio-adv:checked ~ .gallery-grid .grid-item:not(.cat-adv) { display: none !important; }
    #radio-sign:checked ~ .gallery-grid .grid-item:not(.cat-sign) { display: none !important; }
    #radio-event:checked ~ .gallery-grid .grid-item:not(.cat-event) { display: none !important; }
    #radio-research:checked ~ .gallery-grid .grid-item:not(.cat-research) { display: none !important; }
    #radio-pr:checked ~ .gallery-grid .grid-item:not(.cat-pr) { display: none !important; }
    #radio-print:checked ~ .gallery-grid .grid-item:not(.cat-print) { display: none !important; }

    .services-header-ui {
        padding-bottom: 5px !important;
    }

    .site-footer {
        margin-top: 0px !important;
        padding-top: 20px !important;
    }

    /* MOBILE LIGHTBOX UI */
    .adv-lightbox-modal {
        padding: 10px;
        align-items: center;
        background: #000;
    }

    .adv-lightbox-content {
        width: 100%;
        height: 92vh;
        border-radius: 18px;
        background: #0b1120;
        border: 1px solid #1e293b;
    }

    .adv-lightbox-header {
        display: grid;
        grid-template-columns: auto 1fr auto; 
        align-items: start;
        gap: 12px;
        padding: 14px 16px;
        background: linear-gradient(180deg, #0f172a, #0b1120);
        border-bottom: 1px solid #1e293b;
    }

    .title-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        background: linear-gradient(145deg, #0f2a4d, #0b1e36);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border: 1px solid rgba(59, 130, 246, 0.3);
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.5),
            inset 0 0 12px rgba(59, 130, 246, 0.25);
    }

    .title-icon svg,
    .title-icon img {
        width: 24px;
        height: 24px;
    }

    .lightbox-title-box {
        min-width: 0;
    }

    #lightbox-title-text {
        font-size: 15px;
        font-weight: 600;
        color: #fff;
        line-height: 1.3;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .lightbox-controls-box {
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        justify-self: end; 
    }

    #lightbox-counter {
        font-size: 12px;
        background: #1e293b;
        padding: 4px 10px;
        border-radius: 20px;
        color: #94a3b8;
    }

    #lightbox-close-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
        background: #1e293b;
        border-radius: 50%;
        margin-left: 10px;
    }

    .adv-lightbox-main {
        flex: 1;
        background: #020617;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .main-image-container {
        padding: 5px 15px;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #main-lightbox-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 12px;
    }

    .nav-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
        background: #0f172a;
        border: 1px solid #1e293b;
    }

    .prev-btn { left: 8px; }
    .next-btn { right: 8px; }

    .adv-lightbox-footer {
        padding: 14px;
        border-top: 1px solid #1e293b;
        background: #0b1120;
    }

    .thumbnail-scroll-container {
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .thumbnail-scroll-container::-webkit-scrollbar {
        display: none;
    }

    .lightbox-thumb {
        width: 70px;
        height: 50px;
        border-radius: 8px;
        opacity: 0.6;
    }

    .lightbox-thumb.active-thumb {
        border: 2px solid #3b82f6;
        opacity: 1;
    }

    .lightbox-pagination {
        margin-top: 8px;
        gap: 6px;
        display: flex;
        justify-content: center;
    }

    .page-dot {
        width: 6px;
        height: 6px;
        background: #334155;
        border-radius: 50%;
    }

    .page-dot.active-dot {
        width: 22px;
        height: 4px;
        border-radius: 4px;
        background: #3b82f6;
    }
}
/* ========================================================
   AUTO-SLIDING GRID CSS (PERFECT LOOP FIX)
   ======================================================== */
.auto-slider-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    background-color: #111;
}

.auto-slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.auto-slider-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

@media (max-width: 768px) {
    .auto-slider-wrapper {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }
}
/* ================= MODAL ================= */
.modal {
  width: 420px;
  max-width: 92%;
  background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
  border-radius: 18px;
  padding: 28px;
  color: white;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);

 
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.9) !important;
  z-index: 10000 !important;
  margin: 0 !important;

  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1) !important;
  opacity: 1;
  visibility: visible;
}