@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@1,8..60,400&display=swap');

/* ========================================
   VARIABLES & RESET
   ======================================== */

:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent: #000000;
    --accent-glow: rgba(0, 0, 0, 0.15);
    --accent-pink: #ff4da6;
    --accent-green: #00e676;
    --accent-purple: #b388ff;
    --accent-orange: #ffab40;
    --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --max-width: 1200px;
    --radius: 16px;
    --radius-sm: 8px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

em {
    font-style: normal;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section .container {
    text-align: center;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    padding: 14px 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    background: #000000;
    border-radius: 100px;
    color: #ffffff;
    transition: all 0.3s;
    box-sizing: border-box;
    overflow: visible;
}

.nav-cta:hover {
    background: #000000;
    box-shadow: 0 0 24px var(--accent-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    text-align: center;
    overflow: hidden;
}

#shader-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.hero-greeting {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title em {
    font-family: var(--font-sans);
    color: #ffffff;
    font-style: normal;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 18px;
    color: #ffffff;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
    overflow: visible;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background: #000000;
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-card-hover);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.hero-video-wrap {
    max-width: 720px;
    margin: 0 auto 48px;
}

.hero-video-wrap:empty {
    display: none;
    margin: 0;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
}

.video-embed iframe,
.video-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ========================================
   SECTION GRADIENT GLOWS
   ======================================== */
.section-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.6;
    animation: glowPulse 8s ease-in-out infinite;
}

.section-glow~.container {
    position: relative;
    z-index: 1;
}

.glow-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.glow-left {
    top: 30%;
    left: -10%;
}

.glow-right {
    top: 30%;
    right: -10%;
    left: auto;
}

.glow-bottom-left {
    bottom: -20%;
    left: -5%;
    top: auto;
}

.glow-bottom-right {
    bottom: -20%;
    right: -5%;
    left: auto;
    top: auto;
}

.section-dark {
    background: var(--bg-secondary);
}

/* ========================================
   SECTIONS (Shared)
   ======================================== */
.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-card);
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.section-title em {
    font-family: var(--font-sans);
    color: inherit;
    font-style: normal;
    font-weight: 400;
}

.section-subtitle {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 60px;
}

/* ========================================
   OUR WORK SECTION
   ======================================== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
}

.work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    z-index: 1;
    transform: translateY(0) scale(1);
    transform-origin: center center;
    will-change: transform;
}

.work-card:hover {
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.28);
    background: #000000;
    transform: translateY(-16px) scale(1.06) !important;
    box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.work-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
}

.work-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000000;
    pointer-events: none;
    transition: transform 0.4s ease;
}

.work-card:hover .work-video-player {
    transform: scale(1.03);
}

.work-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.work-card:hover .work-video-overlay {
    opacity: 1;
}

.work-video-controls {
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.work-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.work-control-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: scale(1.1);
}

.work-info {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #000000;
}

.work-tag-row {
    margin-bottom: 12px;
}

.work-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(255, 255, 255, 0.04);
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: all 0.25s ease;
}

.work-card:hover .work-tag {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.work-info h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.work-info p {
    font-size: 14px;
    color: #8e8e93;
    line-height: 1.6;
    margin: 0;
}

/* Lightbox Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(220, 20, 30, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000000;
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.video-modal-close:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.1);
}

.video-modal-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-title {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* ========================================
   IMPACT SECTION
   ======================================== */
.impact-scroll {
    position: relative;
    margin-top: 48px;
}

.impact-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    text-align: left;
    scrollbar-width: none;
}

.impact-track::-webkit-scrollbar {
    display: none;
}

.impact-fade-edge {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 8px;
    width: 120px;
    background: linear-gradient(to right, transparent, var(--bg-primary));
    pointer-events: none;
}

.impact-card {
    display: block;
    flex: 0 0 340px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s;
}

.impact-card:hover {
    border-color: var(--border-card-hover);
    transform: translateY(-4px);
}

.impact-thumb {
    position: relative;
    height: 190px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding: 14px;
}

.like-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
}

.like-badge svg {
    color: #ff4d6d;
}

.impact-client {
    padding: 16px 16px 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}

.process-card {
    position: relative;
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 40px 32px 32px;
    transition: all 0.4s;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.02) 0%, var(--bg-card) 100%);
}

.process-card:hover {
    border-color: var(--border-card-hover);
    transform: translateY(-4px);
}

.process-number {
    position: absolute;
    top: -16px;
    left: 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-card-hover);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.process-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.process-place {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    font-style: normal;
    margin-bottom: 12px;
}

.process-card p:last-child {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.4s;
}

.testimonial-card:hover {
    border-color: var(--border-card-hover);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar span {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   OFFERS / PRICING SECTION
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px 32px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    z-index: 1;
    transform: translateY(0) scale(1);
    transform-origin: center center;
    will-change: transform;
}

.pricing-card:hover {
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.28);
    background: #000000;
    transform: translateY(-16px) scale(1.06) !important;
    box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.pricing-desc {
    font-size: 14px;
    color: #8e8e93;
    line-height: 1.6;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    position: relative;
    font-size: 14px;
    color: #a1a1aa;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.pricing-cta {
    width: 100%;
}

/* ========================================
   FAQ SECTION (MINIMALIST ACCORDION)
   ======================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    max-width: 840px;
    margin: 40px auto 0;
    text-align: left;
}

.faq-item {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent !important;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:hover {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    background: transparent;
    border: none;
    color: #e4e4e7;
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-align: left;
    cursor: pointer;
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: #ffffff;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
}

.faq-item:hover .faq-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: #ffffff;
    color: #000000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 0 24px 0;
    font-size: 15px;
    color: #8e8e93;
    line-height: 1.7;
}

/* ========================================
   BOOKING / TALLY SECTION
   ======================================== */
.booking {
    padding: 90px 0 120px;
}

.booking .container {
    max-width: 860px;
}

.tally-card-wrap {
    margin-top: 44px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.95);
    overflow: hidden;
    text-align: left;
}

.tally-card-wrap iframe {
    width: 100%;
    border: none;
    display: block;
    min-height: 800px;
    background: transparent;
}

@media (max-width: 768px) {
    .tally-card-wrap {
        padding: 24px 16px;
        border-radius: 18px;
    }
}



/* ========================================
   FOOTER
   ======================================== */
.footer {
    border-top: 1px solid var(--border-card);
    padding: 48px 0 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px circle at calc(100% + 50px) calc(100% + 50px), rgba(255, 10, 10, 0.6) 0%, rgba(180, 0, 0, 0.4) 25%, rgba(80, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 80%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 48px;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--accent);
}

.footer-right {
    text-align: right;
}

.footer-location {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-right a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-right a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-card);
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-stagger.visible>*:nth-child(1) {
    transition-delay: 0s;
}

.fade-in-stagger.visible>*:nth-child(2) {
    transition-delay: 0.1s;
}

.fade-in-stagger.visible>*:nth-child(3) {
    transition-delay: 0.15s;
}

.fade-in-stagger.visible>*:nth-child(4) {
    transition-delay: 0.2s;
}

.fade-in-stagger.visible>*:nth-child(5) {
    transition-delay: 0.25s;
}

.fade-in-stagger.visible>*:nth-child(6) {
    transition-delay: 0.3s;
}

.fade-in-stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-overlay a {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.mobile-nav-overlay a:hover {
    color: var(--accent);
}

.mobile-nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 32px;
    cursor: pointer;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {

    .work-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section {
        padding: 80px 0;
    }

    .work-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .process-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .impact-card {
        flex-basis: 280px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-right {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-actions {
        width: 100%;
        padding: 0 16px;
    }

    .hero-actions .btn {
        max-width: 100%;
    }
}

/* ========================================
   FOLDER SHOWCASE (REACT VANILLA PORT)
   ======================================== */
.folder-demo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.folder-showcase {
    overflow: visible !important;
}

.folder-scroll-track {
    width: 100%;
    height: 300vh;
    /* Long scroll track for animation */
    position: relative;
    margin-top: 50px;
}

.folder-sticky-wrap {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.react-folder-wrapper {
    width: 320px;
    /* Base size */
    height: 208px;
    position: relative;
    perspective: 1000px;
    transform: scale(2.0);
    /* Scaled massively for maximum impact */
    transform-origin: center;
}

.react-folder {
    position: relative;
    width: 87.5%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #2b0505;
    /* Reverted to dark back */
    box-shadow: inset 0px 0px 15.7px 16px rgba(79, 73, 85, 0.30);
    border-radius: 10px;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.react-card {
    position: absolute;
    top: 8px;
    /* top-2 */
    width: 128px;
    /* w-32 */
    height: auto;
    border-radius: 12px;
    transform-origin: center;
    /* Short transition to smooth out scroll-wheel ticks */
    transition: transform 0.15s ease-out;
}

.react-card-1 {
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translate(-38px, 2px) rotate(-3deg);
}

.react-card-2 {
    z-index: 20;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translate(0px, 0px) rotate(0deg);
}

.react-card-3 {
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translate(42px, 1px) rotate(3.5deg);
}

/* NO CSS OPEN STATES, JS WILL SCRUB INSTEAD */

.react-folder-flap {
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    z-index: 20;
    height: 176px;
    /* h-44 */
    border-radius: 24px;
    transform-origin: bottom center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    transform: rotateX(0deg);
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.svg-flap {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Card internal styling based on the React Page component */
.react-card-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #E8E7F0, #DCDAE8);
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 12px;
}

@media (min-width: 640px) {
    .react-card-inner {
        padding: 16px;
    }
}

.react-card-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (min-width: 640px) {
    .react-card-lines {
        gap: 8px;
    }
}

.react-line-top {
    width: 100%;
    height: 4px;
    background-color: rgba(207, 205, 224, 0.3);
    /* Made lighter so text stands out */
    border-radius: 9999px;
}

@media (min-width: 640px) {
    .react-line-top {
        height: 6px;
    }
}

.react-line-row {
    display: flex;
    gap: 6px;
}

@media (min-width: 640px) {
    .react-line-row {
        gap: 8px;
    }
}

.react-line-half {
    flex: 1;
    height: 4px;
    background-color: rgba(207, 205, 224, 0.3);
    /* Made lighter so text stands out */
    border-radius: 9999px;
}

/* Card Text Overlay */
.react-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.react-card-overlay h3 {
    font-family: "Sourceserif 4 Variablefont Opsz Wght", "Source Serif 4", Arial, sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 42px;
    letter-spacing: -0.01em;
    color: #720505;
    margin: 0;
    line-height: 1;
}

.react-card-overlay p {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    margin: 6px 0 0 0;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .react-line-half {
        height: 6px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    /* Blends with existing dark theme */
    color: #fff;
}

.max-w-7xl {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    grid-auto-rows: minmax(auto, auto);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: 32px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Use provided images for the cards directly */
.testimonial-card.bg-primary {
    background-color: transparent !important;
    background-image: url('assets/testimonial.png');
    background-size: cover;
    background-position: center;
    border: none !important;
}

.testimonial-card.bg-dark,
.testimonial-card.bg-black {
    background-color: transparent !important;
    background-image: url('assets/t2.png');
    background-size: cover;
    background-position: center;
    border: none !important;
}

.testimonial-card>* {
    position: relative;
    z-index: 2;
    /* Ensures content stays above the grain */
    color: #ffffff;
    /* Force all text to be white */
}

.testimonial-card:hover {
    transform: scale(1.02);
}

.testimonial-quote {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 32px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.testimonial-quote em {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 600;
    color: #ffffff;
    /* Explicitly white for emphasis too */
}

.lg-quote {
    font-size: 22px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .lg-quote {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .lg-quote {
        font-size: 28px;
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2px solid;
}

.author-info h4 {
    font-family: var(--font-sans);
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

.author-info p {
    font-family: var(--font-sans);
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
    color: #ffffff;
}

/* Card Variants */
.bg-primary {
    background-color: #002ab3;
}

.bg-dark {
    background-color: #09090b;
}

.bg-black {
    background-color: #000000;
}

.text-white {
    color: #ffffff;
}

.border-transparent {
    border: 1px solid transparent;
}

.border-light {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.border-dark {
    border: 1px solid #1a1a1a;
}

.border-black {
    border-color: #000;
}

.border-primary {
    border-color: #002ab3;
}

/* Spans */
@media (min-width: 1024px) {
    .col-span-1 {
        grid-column: span 1;
    }

    .col-span-2 {
        grid-column: span 2;
    }

    .row-span-2 {
        grid-row: span 2;
    }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

/* ========================================
   HOW IT WORKS SECTION (Sticky Cards)
   ======================================== */
#process,
#how-it-works {
    overflow: visible !important;
}

.how-it-works-grid {
    position: relative;
    padding-bottom: 25vh;
    /* To allow scrolling past the last card */
    max-width: 900px;
    margin: 0 auto;
    padding-top: 50px;
}

.voices_item {
    height: auto;
    position: sticky;
    top: 22vh;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    margin-bottom: 40px;
    /* Space between stacked cards */
}

.card-wrapper {
    background: #0a0000 url('assest/cards.png') center/cover no-repeat;
    border: 1px solid #3a0505;
    border-radius: var(--radius);
    flex-flow: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 480px;
    height: 100%;
    display: flex;
    overflow: hidden;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.8);
    /* subtle shadow so stacked cards pop */
    transition: transform 0.3s;
}

.voices_slide-wrapper {
    width: 100%;
    padding: 3rem 4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.voices_top {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    grid-template-columns: max-content 1fr;
    display: grid;
    margin-bottom: 2rem;
    width: 100%;
}

.voices_photo {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: var(--accent);
    /* Alvynx red */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
}

.voices_flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #111;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: left;
}

.voices_position {
    color: #7a7470;
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 0.25rem;
}

.voices_bottom {
    display: flex;
    flex-direction: column;
}

.voices_quote {
    font-size: 1.2rem;
    font-weight: 400;
    color: #111;
    line-height: 1.6;
}