/* =================================================================
   PORTFOLIO PAGE STYLES (Visionary Aesthetic)
   ================================================================= */

.v-page {
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

/* 1. The "Visionary" Hero */
.s-v-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #010208;
}

/* Grainy Gradient Background */
.v-hero__canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 20% 40%, #0d0821 0%, #010208 100%);
}

.v-hero__spotlight {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(138, 66, 255, 0.03) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.v-hero__canvas::after {
    content: "";
    position: absolute;
    inset: -200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    animation: noiseMove 40s linear infinite;
}

@keyframes noiseMove {
    0% { transform: translate(0,0); }
    25% { transform: translate(-0.5%, -0.5%); }
    50% { transform: translate(-1%, 0.5%); }
    75% { transform: translate(0.5%, -1%); }
    100% { transform: translate(0,0); }
}

.v-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    align-items: center;
    gap: clamp(60px, 10vw, 120px);
    width: 100%;
    max-width: 1200px;
}

.v-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.v-hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(138, 66, 255, 0.05);
    border: 1px solid rgba(138, 66, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.v-hero__badge span {
    font-family: monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
}

.v-hero__content .title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.v-hero__content .title .line {
    display: block;
    overflow: hidden;
}

.v-hero__content .subtitle {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: var(--color-text-muted);
    max-width: 450px;
    line-height: 1.6;
    opacity: 0.7;
}

.v-hero__stats {
    display: flex;
    flex-direction: column;
    gap: clamp(50px, 6vw, 50px);
    border-left: 1px solid rgba(138, 66, 255, 0.2);
    padding-left: clamp(50px, 6vw, 100px);
    height: fit-content;
    box-shadow: -20px 0 40px -20px rgba(138, 66, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-item:hover {
    transform: translateX(10px);
}

.stat-item .label {
    font-family: monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary-light);
    opacity: 0.8;
}

.stat-item .value {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(138, 66, 255, 0.2);
}

/* 2. The Digital Gallery (Horizontal Scroll) */
.s-h-gallery {
    position: relative;
    background: var(--color-bg);
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
}

.h-gallery__wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Will be pinned */
}

.h-gallery__track {
    display: flex;
    height: 100%;
    width: fit-content;
    /* Will be translated */
}

.h-gallery__panel {
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5vw;
}

/* Intro Panel */
.intro-panel .intro-content {
    text-align: center;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.intro-panel::before {
    content: 'EXHIBITION';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.intro-panel .tagline {
    display: inline-block;
    font-family: monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary-light);
    margin-bottom: 30px;
    border: 1px solid rgba(138, 66, 255, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(138, 66, 255, 0.05);
    backdrop-filter: blur(5px);
}

.intro-panel .title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.intro-panel .subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 550px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0.8;
}

.icon-drag {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.icon-drag i {
    animation: dragArrow 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes dragArrow {
    0% { transform: translateX(-5px); opacity: 0.5; }
    50% { transform: translateX(5px); opacity: 1; }
    100% { transform: translateX(-5px); opacity: 0.5; }
}

/* Project Panel */
.project-panel {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 6vw;
    padding: 0 8vw;
}

.project-visual {
    position: relative;
    width: 100%;
    height: 70vh;
    border-radius: 24px;
    overflow: hidden;
    background: #050816;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.x-ray-reveal {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 46, 0.9);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    pointer-events: none; /* JS will handle the lens effect */
}

.code-snippet {
    font-family: monospace;
    color: var(--color-accent);
    font-size: 1rem;
    background: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.info-header .cat {
    font-family: monospace;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.info-header .year {
    font-family: var(--font-heading);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
}

.project-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
    margin-bottom: 50px;
    font-weight: 800;
}

.project-narrative {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.narrative-block h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: 700;
}

.narrative-block p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
}

.project-stats {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.stat .val {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.stat .lbl {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-cta {
    display: inline-block;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    width: fit-content;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.project-cta:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    gap: 20px;
}

/* Outro Panel */
.outro-panel::before {
    content: 'NEXT STEP';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.outro-panel .outro-content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.outro-panel .title {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.85;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.outro-panel .btn-primary {
    display: inline-block;
    padding: 24px 50px;
    font-size: 1.2rem;
    border-radius: 100px;
    background: #fff;
    color: #000;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.outro-panel .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.2);
    background: #fff;
    color: #000;
}

/* Progress Bar */
.h-gallery__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.h-gallery__progress .bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.1s linear;
}

/* Responsive */
@media (max-width: 1024px) {
    .s-h-gallery {
        height: auto;
        overflow: visible;
    }

    .project-panel {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .project-visual {
        height: 50vh;
        margin-bottom: 40px;
    }

    .project-title {
        font-size: 3rem;
        margin-bottom: 30px;
    }

    .project-stats {
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .h-gallery__wrapper {
        display: block;
        height: auto;
        overflow: visible;
        width: 100%;
    }
    
    .h-gallery__track {
        display: block;
        width: 100%;
        height: auto;
    }
    
    .h-gallery__panel {
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 80px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .intro-panel {
        min-height: 60vh;
        padding-top: 120px;
    }
    
    .scroll-hint {
        display: none;
    }
}

/* Scroll Indicator */
.v-hero__scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.v-hero__scroll span {
    font-family: monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scrollLineAnim 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollLineAnim {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .v-hero__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .s-v-hero { height: auto;min-height: 900px; max-height: 1100px; padding: 180px 0 120px; }
    
    .v-hero__grid {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
    }

    .v-hero__content {
        align-items: center;
        text-align: center;
    }

    .v-filter__list {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .v-hero__stats {
        flex-direction: row;
        justify-content: center;
        border-left: none;
        border-top: 1px solid rgba(138, 66, 255, 0.15);
        padding-left: 0;
        padding-top: 60px;
        gap: clamp(30px, 8vw, 80px);
    }

    .stat-item {
        align-items: center;
    }
}

/* 3. The Complete Archive (Index) */
.s-archive {
    padding: 120px 0;
    background: var(--color-bg);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.s-archive__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
    flex-wrap: wrap;
}

.header-content {
    max-width: 600px;
}

.s-archive__header .tagline {
    display: block;
    font-family: monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary-light);
    margin-bottom: 16px;
}

.s-archive__header .title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
}

.s-archive__header .subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Filter Pills */
.archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(138, 66, 255, 0.3);
}

/* Archive Grid */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.archive-card {
    display: block;
    text-decoration: none;
    position: relative;
}

.card-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 24px;
    background: #0a0f2e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: none; /* Custom cursor or hover effect */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.archive-card:hover .card-image img {
    transform: scale(1.05);
}

.card-hover {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 46, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.archive-card:hover .card-hover {
    opacity: 1;
}

.pd-modal {
    position: absolute; /* For JS movement */
    background: rgba(10, 15, 46, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 10px 10px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: transform 0.1s linear, opacity 0.3s ease; /* Fast transform for mouse follow */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    pointer-events: none; /* Let clicks pass through to the link */
    left: 50%;
    top: 50%;
}

.archive-card:hover .pd-modal {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.pd-modal span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.pd-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.archive-card:hover .card-meta h3 {
    color: var(--color-primary-light);
}

.meta-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-tags span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.archive-card:hover .meta-tags span {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.archive-load-more {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
}

#loadMoreBtn{
    padding: 20px 30px;
    background-color: #fff;
    background: linear-gradient(90deg, #fff, #f9f9f9);
    color: #050816;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .s-archive {
        padding: 80px 0;
    }

    .s-archive__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }

    .archive-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }

    .filter-pill {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .stat-item .value {
        font-size: 1.4rem;
    }
    .v-hero__content .title {
        font-size: clamp(3rem, 15vw, 3rem);
        /* font-size: 3rem; */
    }
    .v-hero__scroll {
        bottom: 30px;
    }
}

/* 4. The "Excellence" Strip */
.s-v-excellence {
    padding: 140px 0;
    background: linear-gradient(to bottom, var(--color-bg), #0a0f2e);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.v-excellence__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.v-excellence__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    transition: transform 0.4s ease;
}

.v-excellence__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}

.v-excellence__item:hover {
    transform: translateY(-10px);
}

.v-excellence__item .num {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    display: block;
}

.v-excellence__item:hover .num {
    color: #fff;
    -webkit-text-stroke: 0px transparent;
    text-shadow: 0 0 40px rgba(138, 66, 255, 0.4);
}

.v-excellence__item .label {
    font-family: monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .v-excellence__grid {
        gap: 40px;
    }
    
    .v-excellence__item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .s-v-excellence {
        padding: 100px 0;
    }

    .v-excellence__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .v-excellence__item .num {
        font-size: 5rem;
    }
}

/* 5. Voices of Success (Testimonials) */
.s-v-voices {
    padding: 140px 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
    display: none !important;
}

.v-voices__bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(138, 66, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.v-voices__header {
    text-align: center;
    margin-bottom: 80px;
}

.v-voices__header .tagline {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--color-primary-light);
    margin-bottom: 16px;
}

.v-voices__header .title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

.testimonial-slider-portfolio {
    overflow: visible !important;
    padding-bottom: 40px !important;
    position: relative;
    z-index: 2;
}

.v-voice-card {
    position: relative;
    height: 100%;
    perspective: 1000px;
    cursor: grab;
}

.v-voice-card:active {
    cursor: grabbing;
}

.card-glass {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.v-voice-card:hover .card-glass {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(138, 66, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 66, 255, 0.1);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.rating-stars {
    color: #FFD700;
    font-size: 1rem;
    display: flex;
    gap: 2px;
}

.project-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.v-voice-card .quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 500;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.author-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.author-text {
    display: flex;
    flex-direction: column;
}

.author-text h4 {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}

.author-text span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.company-icon {
    font-size: 1.5rem;
    color: var(--color-primary-light);
    opacity: 0.5;
}

.v-voices__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.v-voices__controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v-voices__controls button:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.v-pagination {
    display: flex;
    gap: 8px;
}

.v-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transition: all 0.3s ease;
}

.v-pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
    width: 20px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .s-v-voices {
        padding: 100px 0;
    }
    
    .v-voice-card {
        padding: 0; /* Let content handle padding */
    }
    
    .v-voice-card .quote {
        font-size: 1.2rem;
    }
}

/* 6. The Event Horizon (CTA) */
.s-v-cta {
    padding: 200px 0;
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-cta__horizon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: radial-gradient(ellipse at bottom, rgba(138, 66, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.v-cta__scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: scanDown 4s linear infinite;
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
}

@keyframes scanDown {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

.v-cta__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    z-index: 0;
}

.v-cta__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.v-cta__content .tagline {
    display: block;
    font-family: monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary-light);
    margin-bottom: 20px;
}

.v-cta__content .title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.v-cta__content .subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 60px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.v-cta__actions {
    display: flex;
    justify-content: center;
}

.cta-trigger {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 12px 12px 12px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-trigger::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 0;
}

.cta-trigger:hover {
    border-color: #fff;
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.cta-trigger:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.trigger-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.4s ease;
    padding-left: 0;
}

.cta-trigger:hover .trigger-text {
    color: #000;
}

.trigger-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cta-trigger:hover .trigger-icon {
    background: #000;
    color: #fff;
    transform: rotate(45deg) scale(1.1);
}

@media (max-width: 768px) {
    .s-v-cta {
        padding: 140px 0;
    }
}
