/* WORK CAROUSEL STYLES - INSPIRED BY REACT COMPONENT */

.section-work-cases {
    padding: 100px 0;
    /* background: #000; */
    overflow: hidden;
    position: relative;
    color: #fff;
}

.work-header-top {
    margin-bottom: 3rem;
}

.work-overline {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 0.75rem;
}

.work-headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.work-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    line-height: 1.6;
}

.work-carousel-container {
    position: relative;
    width: 100%;
}

.swiper-work {
    width: 100%;
    /* border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1); */
    /* background: #0a0a0a; */
    transition: height 0.6s ease;
}

.work-slide {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    /* Center content vertically */
    overflow: hidden;
}

.work-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.work-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #121212 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.work-content {
    position: relative;
    z-index: 2;
    padding: 120px 0px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    width: 100%;
    align-items: center;
}

.work-info-main {
    max-width: 600px;
}

.work-client-name {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
}

.work-badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.work-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 2rem;
}

.detail-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
    display: block;
}

.detail-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.work-outcome-box {
    margin-top: 2rem;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* border-radius: 16px; */
    backdrop-filter: blur(10px);
}

.work-outcome-box p {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.work-testimonial {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 320px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* border-radius: 20px; */
    backdrop-filter: blur(20px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.work-slide:hover .work-testimonial {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.testimonial-quote {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 6px;
}

.testimonial-author a {
    color: #fff;
    text-decoration: none;
}

.testimonial-author a:hover {
    text-decoration: underline;
}

.testimonial-role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 6px;
}

.testimonial-stars {
    color: #ffce3a;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.testimonial-person {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 1rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0a66c2;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.35rem;
}

.testimonial-linkedin i {
    font-size: 1rem;
}

/* NAVIGATION */
.work-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.controls-progress {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.progress-num {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.progress-num.active {
    color: #fff;
}

.progress-line {
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.5s ease;
}

.controls-btns {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #fff;
    color: #000;
}

.work-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn-pill {
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pill-primary {
    background: #fff;
    color: #000;
}

.btn-pill-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-pill-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-pill-secondary:hover {
    border-color: #fff;
}

/* RESPONSIVENESS */
@media (max-width: 991px) {
    .work-content {
        grid-template-columns: 1fr;
        padding: 48px;
    }

    .work-slide {
        min-height: auto;
    }

    .work-slide-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.95) 100%);
    }
}

@media (max-width: 768px) {
    .work-content {
        padding: 32px;
    }

    .work-details-grid {
        grid-template-columns: 1fr;
    }

    .progress-line {
        width: 80px;
    }
}

.work-client-logo{
    width: 60px;
    margin-bottom: 1.2rem;
}
.work-client-logo-ntt{
    width: 120px;
    margin-bottom: 1.2rem;
}


.work-carousel-container {
  position: relative;
}

/* Side Nav Buttons */
.work-side-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(15,15,15,0.65);
  backdrop-filter: blur(10px);
  color: #fff;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

.work-side-nav i {
  font-size: 14px;
}

.work-side-nav:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-50%) scale(1.06);
}

/* Left Button */
.work-side-prev {
  left: 24px;
}

/* Right Button */
.work-side-next {
  right: 24px;
}

/* Mobile */
@media (max-width: 768px) {
  .work-side-nav {
    width: 32px;
    height: 32px;
  }

  .work-side-prev {
    left: 10px;
  }

  .work-side-next {
    right: 10px;
  }
}