/* ========================================
   SECTION CONTAINER
   ======================================== */

   .glsl-nema-licenses-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faf9 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.glsl-nema-licenses-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 139, 34, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: glsl-nema-float 25s ease-in-out infinite;
}

.glsl-nema-licenses-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 139, 34, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: glsl-nema-float-reverse 30s ease-in-out infinite;
}

@keyframes glsl-nema-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(50px, -50px) rotate(120deg); }
    66% { transform: translate(-40px, 40px) rotate(240deg); }
}

@keyframes glsl-nema-float-reverse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-50px, 50px) rotate(-120deg); }
    66% { transform: translate(40px, -40px) rotate(-240deg); }
}

.glsl-nema-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.glsl-nema-header {
    text-align: center;
    margin-bottom: 70px;
}

.glsl-nema-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.25);
    animation: glsl-nema-badge-pulse 3s ease-in-out infinite;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes glsl-nema-badge-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 6px 20px rgba(34, 139, 34, 0.25); }
    50% { transform: scale(1.05); box-shadow: 0 8px 25px rgba(34, 139, 34, 0.35); }
}

.glsl-nema-badge i {
    font-size: 18px;
}

.glsl-nema-main-title {
    font-size: 48px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.glsl-nema-subtitle {
    font-size: 19px;
    color: #555;
    line-height: 1.9;
    max-width: 950px;
    margin: 0 auto;
    font-weight: 400;
}

/* ========================================
   LICENSES GRID
   ======================================== */

.glsl-nema-licenses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 70px;
}

/* ========================================
   LICENSE CARD STYLES
   ======================================== */

   .glsl-nema-license-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #e0e0e0;
    animation: cardFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
    }
}

.glsl-nema-license-card:nth-child(1) { animation-delay: 0.1s; }
.glsl-nema-license-card:nth-child(2) { animation-delay: 0.2s; }
.glsl-nema-license-card:nth-child(3) { animation-delay: 0.3s; }
.glsl-nema-license-card:nth-child(4) { animation-delay: 0.4s; }
.glsl-nema-license-card:nth-child(5) { animation-delay: 0.5s; }
.glsl-nema-license-card:nth-child(6) { animation-delay: 0.6s; }

.glsl-nema-license-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(34, 139, 34, 0.2);
    border-color: #228B22;
}

/* ========================================
   CARD HEADER
   ======================================== */

.glsl-nema-card-header {
    padding: 30px 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.glsl-nema-license-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.glsl-nema-license-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: glsl-nema-shine 3s ease-in-out infinite;
}

@keyframes glsl-nema-shine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.glsl-nema-license-icon.mbarara-icon {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
}

.glsl-nema-license-icon.iganga-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
}

.glsl-nema-license-icon.storage-icon {
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
}

.glsl-nema-license-icon.transport-domestic-icon {
    background: linear-gradient(135deg, #4169E1 0%, #6495ED 100%);
}

.glsl-nema-license-icon.transport-infectious-icon {
    background: linear-gradient(135deg, #DC143C 0%, #FF6347 100%);
}

.glsl-nema-license-icon.transport-hazardous-icon {
    background: linear-gradient(135deg, #8B008B 0%, #9932CC 100%);
}

.glsl-nema-license-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E8F5E9;
    color: #228B22;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid #C8E6C9;
}

.glsl-nema-license-badge i {
    font-size: 14px;
}

/* ========================================
   CARD BODY
   ======================================== */

.glsl-nema-card-body {
    padding: 0 30px 25px;
}

.glsl-nema-license-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.glsl-nema-license-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 50px;
}

.glsl-nema-license-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.glsl-nema-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #555;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.glsl-nema-detail-item:hover {
    background: #E8F5E9;
    transform: translateX(5px);
}

.glsl-nema-detail-item i {
    color: #228B22;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* ========================================
   CARD FOOTER
   ======================================== */

.glsl-nema-card-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 10px;
}

.glsl-nema-view-btn {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.glsl-nema-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.3);
}

.glsl-nema-download-btn {
    width: 50px;
    height: 50px;
    background: white;
    color: #228B22;
    border: 2px solid #228B22;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.glsl-nema-download-btn:hover {
    background: #228B22;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   COMPLIANCE STATEMENT
   ======================================== */

.glsl-nema-compliance-statement {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    padding: 50px 60px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 70px;
    box-shadow: 0 10px 40px rgba(34, 139, 34, 0.2);
    position: relative;
    overflow: hidden;
}

.glsl-nema-compliance-statement::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.glsl-nema-compliance-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.glsl-nema-compliance-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.glsl-nema-compliance-title {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.glsl-nema-compliance-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   STATISTICS
   ======================================== */

.glsl-nema-stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.glsl-nema-stat-box {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glsl-nema-stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #228B22 0%, #32CD32 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.glsl-nema-stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(34, 139, 34, 0.15);
}

.glsl-nema-stat-box:hover::before {
    transform: scaleX(1);
}

.glsl-nema-stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.25);
}

.glsl-nema-stat-number {
    font-size: 56px;
    font-weight: 900;
    color: #228B22;
    line-height: 1;
    margin-bottom: 12px;
    display: inline-block;
}

.glsl-nema-stat-suffix {
    font-size: 36px;
    font-weight: 900;
    color: #228B22;
    display: inline-block;
}

.glsl-nema-stat-label {
    font-size: 17px;
    color: #666;
    font-weight: 700;
    line-height: 1.4;
}

/* ========================================
   MODAL STYLES
   ======================================== */

.glsl-nema-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glsl-nema-modal.glsl-nema-modal-active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.glsl-nema-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.glsl-nema-modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 1000px;
    width: 92%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    animation: glsl-nema-modal-slide-up 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

@keyframes glsl-nema-modal-slide-up {
    from {
        transform: translateY(60px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.glsl-nema-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 40px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 24px 24px 0 0;
}

.glsl-nema-modal-title {
    font-size: 26px;
    font-weight: 800;
    color: #228B22;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.glsl-nema-modal-title i {
    font-size: 28px;
}

.glsl-nema-modal-close {
    width: 45px;
    height: 45px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #666;
}

.glsl-nema-modal-close:hover {
    background: #228B22;
    color: white;
    transform: rotate(90deg);
}

.glsl-nema-modal-body {
    padding: 40px;
    overflow-y: auto;
}

.glsl-nema-modal-image-container {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 35px;
}

.glsl-nema-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.glsl-nema-modal-info {
    margin-bottom: 35px;
}

.glsl-nema-modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.glsl-nema-modal-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #228B22;
}

.glsl-nema-modal-info-label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glsl-nema-modal-info-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 700;
}

.glsl-nema-status-active {
    color: #228B22;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glsl-nema-status-active i {
    font-size: 18px;
}

.glsl-nema-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.glsl-nema-modal-btn {
    padding: 18px 36px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.glsl-nema-modal-download {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
}

.glsl-nema-modal-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.35);
}

.glsl-nema-modal-print {
    background: white;
    color: #228B22;
    border: 2px solid #228B22;
}

.glsl-nema-modal-print:hover {
    background: #228B22;
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .glsl-nema-licenses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .glsl-nema-main-title {
        font-size: 42px;
    }

    .glsl-nema-stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .glsl-nema-licenses-section {
        padding: 70px 15px;
    }

    .glsl-nema-header {
        margin-bottom: 50px;
    }

    .glsl-nema-badge {
        font-size: 13px;
        padding: 10px 22px;
    }

    .glsl-nema-main-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .glsl-nema-subtitle {
        font-size: 16px;
    }

    .glsl-nema-licenses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 50px;
    }

    .glsl-nema-card-header {
        padding: 25px 25px 15px;
    }

    .glsl-nema-license-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .glsl-nema-card-body {
        padding: 0 25px 20px;
    }

    .glsl-nema-license-title {
        font-size: 20px;
    }

    .glsl-nema-license-description {
        font-size: 14px;
        min-height: auto;
    }

    .glsl-nema-card-footer {
        padding: 20px 25px 25px;
    }

    .glsl-nema-view-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .glsl-nema-download-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .glsl-nema-compliance-statement {
        padding: 35px 30px;
        flex-direction: column;
        text-align: center;
        gap: 25px;
        margin-bottom: 50px;
    }

    .glsl-nema-compliance-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .glsl-nema-compliance-title {
        font-size: 24px;
    }

    .glsl-nema-compliance-text {
        font-size: 15px;
    }

    .glsl-nema-stats-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .glsl-nema-stat-box {
        padding: 35px 25px;
    }

    .glsl-nema-stat-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .glsl-nema-stat-number {
        font-size: 48px;
    }

    .glsl-nema-stat-suffix {
        font-size: 32px;
    }

    .glsl-nema-stat-label {
        font-size: 16px;
    }

    /* Modal Responsive */
    .glsl-nema-modal-content {
        width: 96%;
        max-height: 96vh;
    }

    .glsl-nema-modal-header {
        padding: 25px 30px;
    }

    .glsl-nema-modal-title {
        font-size: 22px;
    }

    .glsl-nema-modal-close {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .glsl-nema-modal-body {
        padding: 30px;
    }

    .glsl-nema-modal-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .glsl-nema-modal-actions {
        flex-direction: column;
    }

    .glsl-nema-modal-btn {
        width: 100%;
        padding: 16px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .glsl-nema-licenses-section {
        padding: 50px 10px;
    }

    .glsl-nema-main-title {
        font-size: 26px;
    }

    .glsl-nema-subtitle {
        font-size: 14px;
    }

    .glsl-nema-license-title {
        font-size: 18px;
    }

    .glsl-nema-compliance-statement {
        padding: 25px 20px;
    }

    .glsl-nema-compliance-title {
        font-size: 20px;
    }

    .glsl-nema-compliance-text {
        font-size: 14px;
    }

    .glsl-nema-stat-number {
        font-size: 40px;
    }

    .glsl-nema-modal-header {
        padding: 20px 25px;
    }

    .glsl-nema-modal-body {
        padding: 25px;
    }

    .glsl-nema-modal-title {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .glsl-nema-licenses-section::before,
    .glsl-nema-licenses-section::after,
    .glsl-nema-badge,
    .glsl-nema-card-footer,
    .glsl-nema-modal-actions,
    .glsl-nema-modal-close {
        display: none !important;
    }

    .glsl-nema-licenses-section {
        padding: 20px;
        background: white;
    }

    .glsl-nema-licenses-grid {
        display: block;
    }

    .glsl-nema-license-card {
        page-break-inside: avoid;
        margin-bottom: 20px;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .glsl-nema-modal-image {
        max-width: 100%;
        height: auto;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.glsl-nema-view-btn:focus,
.glsl-nema-download-btn:focus,
.glsl-nema-modal-btn:focus,
.glsl-nema-modal-close:focus {
    outline: 3px solid #228B22;
    outline-offset: 3px;
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .glsl-nema-licenses-section::before,
    .glsl-nema-licenses-section::after,
    .glsl-nema-badge,
    .glsl-nema-license-icon::before {
        animation: none !important;
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    .glsl-nema-licenses-section {
        background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    }

    .glsl-nema-main-title {
        color: #ffffff;
    }

    .glsl-nema-subtitle {
        color: #cccccc;
    }

    .glsl-nema-license-card {
        background: #2d2d2d;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    }

    .glsl-nema-license-title {
        color: #ffffff;
    }

    .glsl-nema-license-description,
    .glsl-nema-detail-item {
        color: #cccccc;
        background: #3d3d3d;
    }

    .glsl-nema-stat-box {
        background: #2d2d2d;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    }

    .glsl-nema-stat-label {
        color: #cccccc;
    }

    .glsl-nema-modal-content {
        background: #2d2d2d;
    }

    .glsl-nema-modal-header {
        background: linear-gradient(135deg, #3d3d3d 0%, #2d2d2d 100%);
        border-bottom-color: #3d3d3d;
    }

    .glsl-nema-modal-close {
        background: #3d3d3d;
        color: #cccccc;
    }

    .glsl-nema-modal-image-container,
    .glsl-nema-modal-info-item {
        background: #1a1a1a;
    }

    .glsl-nema-modal-info-label {
        color: #999;
    }

    .glsl-nema-modal-info-value {
        color: #ffffff;
    }

    .glsl-nema-modal-print {
        background: #2d2d2d;
        border-color: #32CD32;
        color: #32CD32;
    }
}

/* ========================================
   SCROLLBAR CUSTOMIZATION
   ======================================== */

.glsl-nema-modal-body::-webkit-scrollbar {
    width: 10px;
}

.glsl-nema-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.glsl-nema-modal-body::-webkit-scrollbar-thumb {
    background: #228B22;
    border-radius: 10px;
}

.glsl-nema-modal-body::-webkit-scrollbar-thumb:hover {
    background: #1a6b1a;
}

/* ========================================
   COUNTER ANIMATION COMPLETED STATE
   ======================================== */

.glsl-nema-stat-number.nema-counted {
    animation: glsl-nema-counter-pulse 0.6s ease;
}

@keyframes glsl-nema-counter-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ========================================
   HOVER EFFECTS
   ======================================== */

.glsl-nema-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glsl-nema-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ========================================
   LOADING STATE
   ======================================== */

.glsl-nema-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.glsl-nema-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #228B22;
    border-radius: 50%;
    animation: glsl-nema-spin 1s linear infinite;
}

@keyframes glsl-nema-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.glsl-nema-hidden {
    display: none !important;
}

.glsl-nema-visible {
    display: block !important;
}

.glsl-nema-text-center {
    text-align: center;
}

.glsl-nema-fade-in {
    animation: glsl-nema-fadeIn 0.6s ease;
}

@keyframes glsl-nema-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   HIGH CONTRAST MODE
   ======================================== */

@media (prefers-contrast: high) {
    .glsl-nema-badge,
    .glsl-nema-license-icon,
    .glsl-nema-stat-icon,
    .glsl-nema-view-btn,
    .glsl-nema-modal-download {
        background: #000;
        color: #fff;
        border: 3px solid #fff;
    }

    .glsl-nema-download-btn,
    .glsl-nema-modal-print {
        background: #fff;
        color: #000;
        border: 3px solid #000;
    }

    .glsl-nema-license-card,
    .glsl-nema-stat-box {
        border: 3px solid #000;
    }
}

/* ========================================
   FOCUS VISIBLE (Modern Browsers)
   ======================================== */

.glsl-nema-view-btn:focus-visible,
.glsl-nema-download-btn:focus-visible,
.glsl-nema-modal-btn:focus-visible,
.glsl-nema-modal-close:focus-visible {
    outline: 3px solid #228B22;
    outline-offset: 3px;
}

/* ========================================
   SMOOTH SCROLLING
   ======================================== */

.glsl-nema-modal-body {
    scroll-behavior: smooth;
}

/* ========================================
   RESPONSIVE IMAGES
   ======================================== */

.glsl-nema-modal-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   CARD STACKING ON MOBILE
   ======================================== */

@media (max-width: 480px) {
    .glsl-nema-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .glsl-nema-license-badge {
        position: relative;
        top: auto;
        right: auto;
    }

    .glsl-nema-license-details {
        gap: 10px;
    }

    .glsl-nema-detail-item {
        padding: 8px 12px;
        font-size: 13px;
    }

    .glsl-nema-detail-item i {
        font-size: 14px;
    }
}

/* ========================================
   GRADIENT TEXT EFFECT (Optional)
   ======================================== */

.glsl-nema-gradient-text {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   ANIMATION DELAYS FOR STAGGERED EFFECT
   ======================================== */

.glsl-nema-license-card:nth-child(1) {
    animation-delay: 0.1s;
}

.glsl-nema-license-card:nth-child(2) {
    animation-delay: 0.2s;
}

.glsl-nema-license-card:nth-child(3) {
    animation-delay: 0.3s;
}

.glsl-nema-license-card:nth-child(4) {
    animation-delay: 0.4s;
}

.glsl-nema-license-card:nth-child(5) {
    animation-delay: 0.5s;
}

.glsl-nema-license-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* ========================================
   TOOLTIP ENHANCEMENT (Optional)
   ======================================== */

.glsl-nema-tooltip {
    position: relative;
    display: inline-block;
}

.glsl-nema-tooltip .glsl-nema-tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #228B22;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glsl-nema-tooltip .glsl-nema-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #228B22 transparent transparent transparent;
}

.glsl-nema-tooltip:hover .glsl-nema-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ========================================
   BREADCRUMB STYLE (If Needed)
   ======================================== */

.glsl-nema-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.glsl-nema-breadcrumb a {
    color: #228B22;
    text-decoration: none;
    transition: color 0.3s ease;
}

.glsl-nema-breadcrumb a:hover {
    color: #32CD32;
}

.glsl-nema-breadcrumb i {
    font-size: 12px;
    color: #999;
}

/* ========================================
   EMPTY STATE (If No Licenses)
   ======================================== */

.glsl-nema-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.glsl-nema-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #ccc;
}

.glsl-nema-empty-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.glsl-nema-empty-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* ========================================
   ERROR STATE
   ======================================== */

.glsl-nema-error-message {
    background: #fee;
    border: 2px solid #fcc;
    color: #c33;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.glsl-nema-error-message i {
    font-size: 24px;
}

/* ========================================
   SUCCESS STATE
   ======================================== */

.glsl-nema-success-message {
    background: #efe;
    border: 2px solid #cfc;
    color: #3c3;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.glsl-nema-success-message i {
    font-size: 24px;
}

/* ========================================
   SKELETON LOADER (Optional)
   ======================================== */

.glsl-nema-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: glsl-nema-skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes glsl-nema-skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.glsl-nema-skeleton-card {
    height: 400px;
    border-radius: 20px;
}

/* ========================================
   BADGE VARIATIONS
   ======================================== */

.glsl-nema-badge-warning {
    background: #FFF3CD;
    color: #856404;
    border: 2px solid #FFE69C;
}

.glsl-nema-badge-danger {
    background: #F8D7DA;
    color: #721C24;
    border: 2px solid #F5C6CB;
}

.glsl-nema-badge-info {
    background: #D1ECF1;
    color: #0C5460;
    border: 2px solid #BEE5EB;
}

/* ========================================
   CARD RIBBON (Optional Enhancement)
   ======================================== */

.glsl-nema-card-ribbon {
    position: absolute;
    top: 20px;
    right: -5px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.glsl-nema-card-ribbon::before {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 5px 0;
    border-color: transparent #d45a2c transparent transparent;
}

/* ========================================
   PAGINATION (If Needed)
   ======================================== */

.glsl-nema-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.glsl-nema-pagination-btn {
    padding: 12px 20px;
    background: white;
    color: #228B22;
    border: 2px solid #228B22;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.glsl-nema-pagination-btn:hover,
.glsl-nema-pagination-btn.active {
    background: #228B22;
    color: white;
}
