
/* ===== WORLD CLASS CASE STUDY LAYOUT ===== */

/* New Hero Style - Cinematic & Impactful */
.case-study-hero-new {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1a1a3a 0%, #000000 100%);
    overflow: hidden;
    padding-top: 120px; /* Space for fixed header */
    padding-bottom: 60px;
}

.case-study-hero-new::before {
    content: none;
}

.case-study-hero-new::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--primary-color) 100%);
    z-index: 1;
}

.hero-content-layer {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 1280px; /* Aligned with standard container */
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
}

.hero-text-block {
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    /* Stacked layout persists on desktop for widescreen video */
    .hero-content-layer {
        text-align: center;
    }
}

.hero-text-block h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-text-block .subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    display: block;
    font-weight: 600;
}

.hero-text-block p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto; /* Center the paragraph block */
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

/* The "Floating" Video Card */
.video-showcase-card {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Widescreen cinematic width */
    margin: 0 auto;
    perspective: 1000px;
}

.video-frame-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.5),
        0 0 30px rgba(0, 255, 255, 0.1); /* Neon glow */
    transform: rotateX(2deg); /* Subtle tilt only */
    transition: transform 0.5s ease;
}

.video-frame-wrapper:hover {
    transform: rotateX(0) scale(1.01);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.6),
        0 0 50px rgba(0, 255, 255, 0.2);
}

.video-element {
    width: 100%;
    display: block;
    border-radius: 12px;
    background: #000;
}

/* Section: The Client Story */
.client-story-section {
    padding: 40px 0;
    background: var(--primary-color);
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.story-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.client-quote-card {
    background: rgba(255,255,255,0.03);
    border-left: 4px solid var(--accent-color);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin-top: 2rem;
}

.client-quote-card em {
    font-size: 1.2rem;
    color: #fff;
    font-style: italic;
    display: block;
    margin-bottom: 1rem;
}

.client-quote-card span {
    color: var(--accent-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats/Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #111, #161616);
    border-radius: 12px;
    border: 1px solid #222;
}

.impact-stat .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.impact-stat .label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
}

