/* ============================================================
   PROJECT HERO THEME
   ============================================================ */
.project-hero-section {
    background: #05010a;
    padding: 150px 0 100px 0;
    position: relative;
    overflow: visible;
}

.project-hero-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 44, 155, 0.12) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.project-hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: clamp(60px, 12vh, 120px);
}

.project-main-title {
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin: 15px 0 25px;
    letter-spacing: -0.03em;
}

.project-hero-desc {
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
}

/* --- TECHNICAL SPECS (2 Columns by Default) --- */
.project-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.proj-spec-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.spec-accent-bar {
    width: 2px;
    height: 55px;
    background: linear-gradient(to bottom, var(--purple-light), transparent);
    box-shadow: 0 0 15px var(--purple-main);
    transform-origin: top;
    transform: scaleY(0);
    /* Controlled by JS */
}

.spec-text span {
    font-size: 11px;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.spec-text strong {
    font-size: clamp(15px, 1.1vw, 18px);
    color: #fff;
}

/* --- BROWSER UI (Permanent) --- */
.project-mockup-reveal {
    width: 100%;
    margin-top: 40px;
    position: relative;
    z-index: 20;
    margin-bottom: -150px;
}

.browser-frame-container {
    background: #111;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    opacity: 0;
}

.browser-top-bar {
    height: 40px;
    background: #1a1a1a;
    display: flex;
    /* PERSISTENT */
    align-items: center;
    padding: 0 20px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-top-bar .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   RESPONSIVE: STAYS IN 2 COLUMNS
   ============================================================ */
@media (max-width: 1024px) {
    .project-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .project-hero-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .project-hero-desc {
        margin: 0 auto;
    }

    .project-specs-grid {
        margin: 0 auto;
        max-width: 800px;
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns Stay */
        gap: 60px 80px;
    }

    .proj-spec-item {
        justify-content: flex-start;
        text-align: left;
    }
}

/* ============================================================
   RESPONSIVE: SMALL MOBILE (460px and below)
   SWITCHES TO 1 COLUMN STRAIGHT
   ============================================================ */
@media (max-width: 460px) {
    .project-hero-section {
        padding-top: 80px;
    }

    .project-specs-grid {
        grid-template-columns: 1fr;
        /* 1 COLUMN STARTS AT 460PX */
        gap: 45px;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Ensure perfectly straight vertical line */
    .proj-spec-item {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0 !important;
        transform: none !important;
    }

    .project-mockup-reveal {
        margin-bottom: -40px;
        margin-top: 30px;
    }
}

/* ============================================================
   CHALLENGE SECTION
   ============================================================ */
.challenge-section {
    padding: clamp(100px, 20vh, 200px) 0 clamp(80px, 10vh, 120px);
    background: #05010a;
    position: relative;
    overflow: hidden;
}

.challenge-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Asymmetrical split */
    gap: clamp(40px, 6vw, 100px);
    align-items: flex-start;
}

/* --- LEFT SIDE: TITLE --- */
.challenge-left-title {
    position: sticky;
    top: 140px;
    /* Sticks title while reading long text on desktop */
}

.challenge-display-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-top: 20px;
    color: #fff;
}

/* --- RIGHT SIDE: CONTENT --- */
.chal-text-stack p {
    font-size: clamp(17px, 1.3vw, 21px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: clamp(25px, 4vh, 40px);
    max-width: 650px;
    /* Prevents lines from being too long on huge screens */
}

.chal-text-stack p:last-child {
    margin-bottom: 0;
}

.chal-text-stack strong {
    color: #fff;
    font-weight: 600;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* TABLET (Under 1024px) */
@media (max-width: 1024px) {
    .challenge-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 50px;
    }

    .challenge-left-title {
        position: static;
        /* Disable sticky */
        text-align: left;
    }

    .challenge-display-title {
        margin-top: 15px;
    }

    .chal-text-stack p {
        max-width: 100%;
        /* Use full width on tablet/mobile */
    }
}

/* MOBILE (Under 768px) */
@media (max-width: 768px) {
    .challenge-section {
        padding-top: 120px;
        /* Space for the mockup overlap */
        padding-bottom: 80px;
    }

    .challenge-display-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .chal-text-stack p {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* SMALL MOBILE (Under 480px) */
@media (max-width: 480px) {
    .challenge-section {
        padding-top: 100px;
    }

    .challenge-display-title {
        letter-spacing: -0.02em;
    }
}

/* ============================================================
   PARTNERSHIP SECTION - FIXED IMAGE ALIGNMENT
   ============================================================ */
.partnership-section {
    /* Large padding-top compensates for previous section overlap */
    padding: clamp(140px, 20vh, 200px) 0 clamp(80px, 15vh, 160px);
    background: #05010a;
    position: relative;
    overflow: hidden;
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
}

/* --- TEXT CONTENT --- */
.partnership-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: clamp(30px, 5vh, 50px);
    letter-spacing: -0.04em;
    color: #fff;
}

.partnership-body p {
    font-size: clamp(16px, 1.1vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
}

.partnership-body strong {
    color: #fff;
    font-weight: 600;
}

/* --- QUOTE BLOCK --- */
.client-quote-box {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    padding: clamp(25px, 4vw, 45px);
    margin: clamp(40px, 6vh, 60px) 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.quote-accent-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--purple-light);
    box-shadow: 0 0 15px var(--purple-main);
    transform-origin: top;
}

.quote-text {
    font-family: serif;
    font-style: italic;
    font-size: clamp(18px, 1.5vw, 22px) !important;
    color: #fff !important;
    line-height: 1.5 !important;
    opacity: 0.9;
    margin-bottom: 15px;
}

.quote-author {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
}

/* --- VISUAL SIDE (Fixed Clipping) --- */
.part-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.2;
    border-radius: clamp(20px, 4vw, 40px);
    overflow: hidden;
    clip-path: inset(0 0 100% 0);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.part-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Looks more premium than contain */
    object-position: center 20%;
    /* Focuses on the top-middle area */
    filter: saturate(0.8) brightness(0.9);
    transition: transform 0.8s ease;
    display: block;
}

.part-image-frame:hover .part-img {
    transform: scale(1.05);
}

.part-img-tag {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1024px) {
    .partnership-section {
        /* Extra padding-top to stop previous section overlap from cutting the image */
        padding-top: 160px;
    }

    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .partnership-visual {
        order: 2;
        /* Moves image below content */
        max-width: 480px;
        /* Refined size to not look bulky */
        margin: 50px auto 0;
        /* Adds space above the image */
        width: 100%;
    }

    .part-image-frame {
        aspect-ratio: 1 / 1;
        /* Square looks cleaner when placed after text */
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    .partnership-section {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .client-quote-box {
        padding: 30px 20px;
    }

    .quote-text {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .partnership-section {
        padding-top: 120px;
    }

    .part-image-frame {
        aspect-ratio: 1 / 1;
        /* Square on mobile for best visibility */
        border-radius: 20px;
    }
}

/* ============================================================
   EXPERIENCE SECTION - PREMIUM STICKY RESPONSIVE
   ============================================================ */
.experience-section {
    padding: clamp(80px, 15vh, 160px) 0;
    background: #05010a;
    position: relative;
    overflow: visible; /* Allows sticky child to work */
}

.exp-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 8vw, 100px);
    align-items: flex-start;
}

/* --- CONTENT SIDE --- */
.exp-content {
    width: 100%;
}

.exp-main-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: clamp(30px, 5vh, 60px);
    letter-spacing: -0.04em;
    color: #fff;
}

.exp-paragraphs p {
    font-size: clamp(16px, 1.1vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
}

.exp-paragraphs strong {
    color: #fff;
    font-weight: 600;
}

/* --- NEON GLASS QUOTE CARD --- */
.exp-quote-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: clamp(25px, 4vw, 45px);
    margin: clamp(40px, 6vh, 60px) 0;
    backdrop-filter: blur(10px);
}

.quote-glow-bar {
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: var(--purple-light);
    box-shadow: 0 0 20px var(--purple-main);
    border-radius: 0 10px 10px 0;
}

.quote-body {
    font-family: serif;
    font-style: italic;
    font-size: clamp(18px, 1.6vw, 24px) !important;
    color: #fff !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    opacity: 0.9;
}

/* --- VISUAL SIDE (Sticky Logic) --- */
.exp-visual-side {
    position: sticky;
    top: 120px; /* Pins image when scrolling text on desktop */
    width: 100%;
}

.ui-node {
    position: relative;
    width: 100%;
    aspect-ratio: auto; /* Allows container to follow image height */
    background: #111;
    border-radius: clamp(20px, 4vw, 40px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

.ui-node img {
    width: 100%;
    height: auto !important; /* Auto height ensure karega ki pura product dikhe */
    display: block;
    object-fit: contain; /* Contain se image kabhi nahi kategi */
    filter: saturate(0.8) brightness(0.9);
}

.node-tag {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* TABLETS (Under 1024px) */
@media (max-width: 1024px) {
    .exp-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .exp-visual-side {
        position: static; /* Disable sticky on mobile */
        order: 2; /* Move image below text */
        max-width: 500px;
        margin: 0 auto;
    }

    .ui-node {
        aspect-ratio: auto !important; /* Fixed height hatayi */
        max-width: 500px;
        margin: 0 auto;
    }
}

/* MOBILE (Under 768px) */
@media (max-width: 768px) {
    .experience-section {
        padding: 80px 0;
    }

    .exp-main-title {
        margin-bottom: 30px;
    }

    .exp-quote-card {
        padding: 30px 20px;
    }
}

/* SMALL MOBILE (Under 480px) */
@media (max-width: 480px) {
    .ui-node {
        aspect-ratio: auto !important; /* Fixed height hatayi */
        border-radius: 20px;
    }
}

/* ============================================================
   RESULTS SECTION - PREMIUM RESPONSIVE
   ============================================================ */
.results-section {
    /* Large padding-top to ensure breathing room after previous section */
    padding: clamp(100px, 15vh, 160px) 0 0 0;
    background: #05010a;
    position: relative;
    overflow: visible; /* Allows the mockup to overlap downwards */
}

.results-header {
    max-width: 800px;
    margin-bottom: clamp(50px, 8vh, 80px);
}

.results-main-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin: 15px 0 25px;
    letter-spacing: -0.04em;
}

.results-intro {
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.results-intro strong {
    color: #fff;
    font-weight: 600;
}

/* --- RESULTS GRID --- */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: clamp(60px, 10vh, 120px);
}

.result-card {
    display: flex;
    gap: clamp(15px, 2vw, 25px);
    align-items: flex-start;
    padding: clamp(20px, 3vw, 35px);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.result-card:hover {
    border-color: rgba(165, 148, 253, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.node-icon {
    width: 32px;
    height: 32px;
    background: var(--purple-main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 0 15px var(--purple-main);
    flex-shrink: 0;
}

.node-text strong {
    display: block;
    font-size: clamp(17px, 1.3vw, 20px);
    color: #fff;
    margin-bottom: 8px;
}

.node-text p {
    font-size: clamp(14px, 1vw, 15px);
    color: #888;
    line-height: 1.6;
}

/* --- FINAL MOCKUP (Permanent Browser UI) --- */
.final-project-mockup {
    width: 100%;
    margin-top: 40px;
    position: relative;
    z-index: 20;
    /* Overlap into footer or next section */
    margin-bottom: -150px; 
}

.final-project-mockup .browser-frame-container {
    background: #111;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.browser-top-bar {
    height: 38px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-top-bar .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    /* Static image - no parallax scroll */
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* TABLETS (Under 1024px) */
@media (max-width: 1024px) {
    .results-grid {
        grid-template-columns: 1fr; /* Switch to 1 Column */
        gap: 25px;
    }

    .final-project-mockup {
        margin-bottom: -80px; /* Reduced overlap for tablets */
    }
}

/* MOBILE (Under 768px) */
@media (max-width: 768px) {
    .results-section {
        padding-top: 100px;
    }

    .results-header {
        text-align: center;
    }

    .result-card {
        padding: 20px;
    }

    .final-project-mockup {
        margin-bottom: -40px; /* Safe overlap for mobile */
    }
}

/* SMALL MOBILE (Under 480px) */
@media (max-width: 480px) {
    .results-main-title {
        font-size: 2.5rem;
    }
    
    .browser-top-bar {
        height: 28px;
    }
}

/* ============================================================
   FUTURE & ADVOCACY - PREMIUM RESPONSIVE
   ============================================================ */
.future-advocacy-section {
    /* 
       Increased top padding to clear the overlap 
       from the 'Results' mockup section (-150px to -180px)
    */
    padding: clamp(140px, 25vh, 220px) 0 clamp(80px, 12vh, 140px);
    background: #05010a;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: clamp(30px, 5vh, 50px);
    color: #fff;
    letter-spacing: -0.04em;
}

/* --- ROADMAP BLOCK --- */
.future-block {
    margin-bottom: clamp(80px, 10vh, 120px);
}

.future-block .heading-tag{
    justify-content: center;
}

.future-content p {
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
    max-width: 850px;
}

.future-content strong {
    color: #fff;
    font-weight: 600;
}

/* --- CHOICE LIST --- */
.choice-block {
    margin-bottom: clamp(80px, 10vh, 120px);
}

.choice-list {
    list-style: none;
    max-width: 900px;
}

.choice-item {
    display: flex;
    gap: clamp(15px, 2.5vw, 25px);
    align-items: flex-start;
    margin-bottom: clamp(20px, 4vh, 35px);
}

.check-node {
    width: 24px;
    height: 24px;
    background: var(--purple-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 0 15px var(--purple-main);
    flex-shrink: 0;
    margin-top: 4px;
}

.choice-item p {
    font-size: clamp(15px, 1.1vw, 18px);
    color: #888;
    line-height: 1.6;
}

.choice-item strong {
    color: #fff;
    font-weight: 700;
}

/* --- TESTIMONIAL CARD --- */
.testimonial-block {
    margin-top: clamp(60px, 8vh, 100px);
}

.testimonial-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    padding: clamp(30px, 6vw, 70px);
    border-radius: 4px; /* Iconic sharp studio look */
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.quote-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--purple-light);
    box-shadow: 0 0 20px var(--purple-main);
}

.main-quote {
    font-family: serif;
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.4;
    color: #fff;
    margin-bottom: 25px;
    opacity: 0.95;
}

.quote-author {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    font-weight: 800;
    display: block;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* TABLETS (Under 1024px) */
@media (max-width: 1024px) {
    .future-content p, .choice-list {
        max-width: 100%;
    }
}

/* MOBILE (Under 768px) */
@media (max-width: 768px) {
    .future-advocacy-section {
        padding-top: 160px; /* Reduced space but still clear of overlap */
    }

    .future-block .heading-tag{
    justify-content: left;
}

    .section-title {
        text-align: left;
    }

    .testimonial-card {
        padding: 40px 25px;
    }
}

/* SMALL MOBILE (Under 480px) */
@media (max-width: 480px) {
    .future-advocacy-section {
        padding-top: 140px;
    }

    .choice-item {
        gap: 12px;
    }

    .check-node {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }

    .quote-bar {
        width: 3px;
    }
}