.experiences {
    position: relative;
    padding: 20px 0;
}

.experiences::before {
    content: '';
    position: absolute;
    top: 0;
    left: -45px;                    /* matches about-skill negative margins */
    right: -45px;                   /* matches about-skill negative margins */
    height: 35%;                    /* ← how far it bleeds down — adjust this */
    background-color: #242734;      /* exact about-skill background color */
    z-index: 0;
}

.experiences .content {
    position: relative;
    z-index: 1;
}

.experiences-header {
    color: #F7C461;
    margin-bottom: 40px;
    font-size: 28px;
}

/* ---- CARDS LIST ---- */
.experiences-list {
    display: flex;
    flex-direction: column;
    gap: 24px;                          /* ← spacing between cards — adjust this */
}

/* ---- SINGLE CARD ---- */
.experience-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #424657;
    border-radius: 0;
    padding: 40px 48px;
    height: 260px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* ← add this */
}
/* ---- LEFT: TEXT ---- */
.experience-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding-right: 40px;               /* ← gap between text and image — adjust this */
}

.experience-info h3 {
    color: #F7C461;
    font-size: 22px;                    /* ← bigger title */
    margin: 0;
}

.experience-company {
    font-size: 15px;                    /* ← bigger company name */
    opacity: 0.6;
    margin: 0;
}

.experience-info ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.experience-info li {
    font-size: 15px;                    /* ← bigger bullet text */
    line-height: 1.8;
    opacity: 0.85;
}

/* ---- RIGHT: IMAGE PLACEHOLDER ---- */
.experience-image {
    position: relative;             /* ← add this */
    margin-top: -40px;
    margin-bottom: -40px;
    margin-right: -48px;
    width: 30%;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;                /* ← add this */
}

/* add transition to existing rule */
.experience-image img {
    width: 320px;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;  /* ← add this */
}

/* add these new rules */
.experience-image:hover img {
    filter: blur(3px) brightness(0.6);
}

.experience-image-hint {
    position: absolute;
    bottom: 12px;                   /* bottom like projects */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.experience-image-hint::after {
    content: 'Preview';
    font-size: 11px;
    font-weight: 600;
    color: #242734;
    background-color: rgba(247, 196, 97, 0.85);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.experience-image:hover .experience-image-hint {
    opacity: 1;
}

/* lightbox */
.exp-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.88);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.exp-lightbox-overlay.active {
    display: flex;
}

.exp-lightbox-box {
    position: relative;
    width: 90vw;                    /* ← takes up 90% of screen width */
    height: 90vh;                   /* ← takes up 90% of screen height */
    border-radius: 8px;
    overflow: hidden;
}

.exp-lightbox-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;            /* keeps full image visible without cropping */
    display: block;
}

.exp-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-lightbox-close:hover {
    background: #F7C461;
    color: #242734;
    border-color: #F7C461;
}