

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 2rem; */
}

h1 {
    color: #aaa;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.item h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.item p {
    color: #666;
    line-height: 1.5;
}

.item .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 65%;
    height: 100vh;
    background: #FFF;
    color: gray;
    /* padding: 2rem; */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
}

.sidebar.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar h2 {
    font-size: 4.5rem;
    font-weight: 600;
    margin-top: 30px;
   
    color: black;
}

.close-btn {
    background: none;
    border: none;
    color: black;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid black;
    border-radius: 16px;
    padding: 0.5rem 1rem 0.2rem 1rem;
    margin-top: 20px;
}

/* Language switch */
.lang-switch {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.lang-btn {
    background: transparent;
    color: #111;
    border: 1px solid #111;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 0.9rem;
    cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
    background: #111;
    color: #fff;
}



.sidebar-content {
    line-height: 1.6;
}

.sidebar-content h3 {
    margin-bottom: 1rem;
    color: #aaa;
    font-size: 1.3rem;
}

.sidebar-content p {
    margin-bottom: 1rem;
    color: #aaa;
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #aaa;
}

.feature-list li:before {
    content: "✓ ";
    color: #2ecc71;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 85%;
        visibility: hidden;
        opacity: 0;
    }
    
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 95%;
        padding: 1.5rem;
        visibility: hidden;
        opacity: 0;
    }
    
    .sidebar h2 {
        font-size: 1.5rem;
    }
}

/* Animation for items appearing */
.item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.line-top {
    width: auto;
    height: 7px;
    background-color: black;
}

/* Sidebar top header container */
.sidebar-top {
    background: #FFF;
    padding: 40px 32px 24px 32px;
    border-bottom: 1px solid #e5e5e5;
}

/* Sidebar header row alignment */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Meta section wrappers */
.meta-wrap {
    padding: 0 32px 32px 32px;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 1.5em;
}

.meta-col {
    flex: 1;
}

.meta-label {
    font-size: 0.95rem;
    color: #222;
}

.meta-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
}

/* Sidebar footer (under header) */
.sidebar-footer {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    font-size: 1.1rem;
    color: #222;
}

.sidebar-footer .client-label,
.sidebar-footer .client-type,
.sidebar-footer .client-number {
    color: #111;
    border-radius: 8px;
    padding: 0.2em 0.8em;
    font-weight: 500;
}

/* Sidebar image sizing */
.sidebar-image-wrap {
    width: 100%;
}

.sidebar-image {
    width: 100%;
    height: 400px;
    padding: 25px;
    object-fit: cover;
}

/* Generic sidebar content section */
.sidebar-section {
    padding: 32px 32px 0 32px;
}

.section--white {
    background: #fff;
}

.section-title {
    font-size: 1.4rem;
    color: #181818;
    margin-bottom: 0.5em;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.section-text {
    color: #222;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 1.5em;
}

.badge-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    border-radius: 8px;
    padding: 0.3em 1em;
    font-size: 1rem;
}

.badge--neutral {
    color: #181818;
    border: 1px solid #ddd;
}

.badge--gold { /* for gold themed chips */
    background: #f3e9d2;
    color: #b48a3c;
}

.badge--blue {
    background: #e3f0f7;
    color: #3c7ab4;
}

.badge--green {
    background: #e7f7e3;
    color: #3cb44a;
}

.note-card {
    border-radius: 12px;
    padding: 1.2em 1.5em;
    margin-bottom: 1.5em;
}

.note-card--neutral {
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.note-card--gold {
    background: #fffbe6;
    box-shadow: 0 1px 8px rgba(180,138,60,0.07);
}

.note-card strong {
    color: #181818;
}

.note-card--gold strong {
    color: #b48a3c;
}

.note-card p {
    margin: 0.5em 0 0 0;
    color: #222;
}

/* Sidebar content area adjustments */
.sidebar-content {
    padding: 32px 32px 0 32px;
}

.sidebar-content .section-title--gold {
    color: #b48a3c;
    font-weight: 600;
}

.sidebar-content .description {
    color: #444;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 1.5em;
}

#sidebar-body {
    margin-bottom: 50px;
}