/* =========================================================
   THETEJBLOGS 2.0 — ABOUT PAGE
   Clean Modern Editorial Design

   FOUNDER IMAGE:
   - No card
   - No border
   - No container
   - No shadow
   - Horizontal presentation
   - Naturally integrated into page
   ========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --about-bg: #05080f;

    --text-main: #f8fafc;

    --text-muted: #94a3b8;

    --accent-blue: #38bdf8;

    --accent-glow: rgba(56, 189, 248, 0.2);

    --card-bg: #111827;

    --border-color: rgba(255, 255, 255, 0.08);

    --max-width: 1320px;

}

/* =========================================================
   GLOBAL RESET
   Removes browser default spacing
   Completely locks page to viewport width
========================================================= */

*,
*::before,
*::after {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}


html {

    width: 100%;

    max-width: 100%;

    overflow-x: clip;

}


body {

    width: 100%;

    max-width: 100%;

    background-color: var(--about-bg);

    color: var(--text-main);

    font-family: 'Manrope', sans-serif;

    overflow-x: clip;

    -webkit-font-smoothing: antialiased;

}


.about-page {

    position: relative;

    z-index: 1;

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    max-width: 100%;

    margin: 0 auto;

    padding-bottom: 140px;

}


.fw-light {

    font-weight: 200 !important;

    opacity: 0.75;

}

/* =========================================================
   1. HERO SECTION
========================================================= */

.about-hero-section {

    min-height: 50vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 20px 40px;

}


.about-logo-slot {

    width: 60px;

    height: 60px;

    margin-bottom: 24px;

    filter:
        drop-shadow(
            0 0 16px var(--accent-glow)
        );

}


.engine-logo {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.hero-subtitle {

    display: inline-block;

    font-size: 0.8rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 4px;

    color: var(--accent-blue);

    background: rgba(
        56,
        189,
        248,
        0.08
    );

    padding: 6px 16px;

    border-radius: 999px;

    border: 1px solid rgba(
        56,
        189,
        248,
        0.2
    );

    margin-bottom: 22px;

}


.hero-title {

    font-size:
        clamp(
            2.6rem,
            5.2vw,
            4.5rem
        );

    font-weight: 800;

    line-height: 1.15;

    margin-bottom: 20px;

    letter-spacing: -0.03em;

}


.hero-desc {

    color: var(--text-muted);

    font-size:
        clamp(
            1rem,
            1.2vw,
            1.2rem
        );

    font-weight: 300;

    max-width: 600px;

    line-height: 1.75;

}


/* =========================================================
   2. FOUNDER SECTION
========================================================= */

.founder-section {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.9fr);

    gap: 70px;

    align-items: center;

    margin: 110px 0;

}


@media (max-width: 950px) {

    .founder-section {

        grid-template-columns: 1fr;

        gap: 50px;

    }

}


/* =========================================================
   FOUNDER TEXT
========================================================= */

.section-tag {

    display: inline-block;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 3px;

    color: var(--accent-blue);

    margin-bottom: 16px;

    text-transform: uppercase;

}


.founder-text-col h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 50px;

    /* Desktop par title ko ek hi line mein rakhega */
    white-space: nowrap;
}

.founder-text-col h2 .fw-light {
    font-weight: 200;
    opacity: 0.75;
    white-space: nowrap;
}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 800px) {

    .founder-text-col h2 {
        font-size: clamp(2rem, 8vw, 3rem);

        /*
           Mobile par nowrap remove.
           Isse screen chhoti hone par
           text safely wrap ho sakega.
        */
        white-space: normal;
    }

    .founder-text-col h2 .fw-light {
        white-space: normal;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .founder-text-col h2 {
        font-size: 2rem;
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

}


.founder-para {

    color: var(--text-muted);

    font-size: 1.05rem;

    font-weight: 300;

    line-height: 1.85;

    margin-bottom: 35px;

}


.electric-divider {

    width: 100%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--accent-blue),
            rgba(
                56,
                189,
                248,
                0.05
            )
        );

    margin: 30px 0;

    box-shadow:
        0 0 12px
        var(--accent-glow);

}


/* =========================================================
   FOUNDER IMAGE
   PURE IMAGE — NO CARD
========================================================= */

.founder-image-col {

    width: 100%;

    display: flex;

    justify-content: flex-end;

    align-items: center;

}


/*
   This wrapper exists ONLY for layout.

   It has:
   - no background
   - no border
   - no shadow
   - no padding
   - no card styling
*/

.founder-image-wrap {

    width: 100%;

    max-width: 620px;

    overflow: hidden;

    background: transparent;

}


/*
   Horizontal image presentation.

   The source image can be portrait,
   but the website presents it as
   a clean editorial horizontal visual.
*/

.founder-image {

    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    height: auto;

    object-fit: cover;

    object-position: center top;

    border: none;

    outline: none;

    box-shadow: none;

    border-radius: 0;

}


/* =========================================================
   3. CATEGORY CARDS
========================================================= */

.categories-explore-section {

    margin: 150px 0 90px;

}


.section-heading-center {

    text-align: center;

    margin-bottom: 60px;

}


.section-heading-center h2 {

    font-size:
        clamp(
            2.2rem,
            3.5vw,
            3.2rem
        );

    font-weight: 800;

    letter-spacing: -0.02em;

}


.glass-cat-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 32px;

}


@media (max-width: 800px) {

    .glass-cat-grid {

        grid-template-columns: 1fr;

    }

}


.transparent-category-card {

    background: transparent;

    border: none;

    border-radius: 0;

    overflow: hidden;

    display: flex;

    flex-direction: column;

}


.card-poster-169 {

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #020408;

    border-radius: 12px;

    margin-bottom: 18px;

    box-shadow:
        0 12px 30px
        rgba(
            0,
            0,
            0,
            0.4
        );

}


.card-poster-169 img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.card-body-content {

    padding: 0 10px;

}


.card-body-content h3 {

    font-size: 1.4rem;

    font-weight: 700;

    margin-bottom: 10px;

}


.scrollable-card-text {

    max-height: 110px;

    overflow-y: auto;

    padding-right: 8px;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(
            56,
            189,
            248,
            0.3
        )
        transparent;

}


.scrollable-card-text::-webkit-scrollbar {

    width: 3px;

}


.scrollable-card-text::-webkit-scrollbar-thumb {

    background:
        rgba(
            56,
            189,
            248,
            0.3
        );

    border-radius: 3px;

}


.scrollable-card-text p {

    color: var(--text-muted);

    font-size: 0.95rem;

    font-weight: 300;

    line-height: 1.7;

}


/* =========================================================
   4. ECOSYSTEM CARDS
========================================================= */

.ecosystem-cards-section {

    margin: 90px 0 120px;

}


.eco-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 32px;

}


@media (max-width: 800px) {

    .eco-grid {

        grid-template-columns: 1fr;

    }

}


.glass-eco-card {

    background:
        rgba(
            17,
            24,
            39,
            0.65
        );

    border:
        1px solid
        var(--border-color);

    backdrop-filter: blur(14px);

    border-radius: 20px;

    padding: 36px;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    box-shadow:
        0 15px 35px
        rgba(
            0,
            0,
            0,
            0.4
        );

}


.eco-header-flex {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;

}


.eco-badge {

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 2px;

    color: #05080f;

    background: var(--accent-blue);

    padding: 4px 12px;

    border-radius: 4px;

    text-transform: uppercase;

}


.story-badge {

    background: #f43f5e;

    color: #ffffff;

}


.eco-logo-slot {

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    filter:
        drop-shadow(
            0 0 8px
            var(--accent-glow)
        );

}


.eco-logo-slot img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.glass-eco-card h3 {

    font-size: 1.5rem;

    font-weight: 700;

    margin-bottom: 10px;

}


.glass-eco-card p {

    color: var(--text-muted);

    font-size: 0.98rem;

    font-weight: 300;

    line-height: 1.75;

}


/* =========================================================
   5. MISSION
========================================================= */

.mission-elite-section {

    text-align: center;

    padding: 70px 20px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    max-width: 950px;

    margin: 0 auto;

}


.typewriter-heading {

    font-size:
        clamp(
            1.8rem,
            3.2vw,
            2.8rem
        );

    font-weight: 800;

    line-height: 1.35;

    letter-spacing: -0.02em;

    min-height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

}


.typewriter-cursor {

    display: inline-block;

    width: 3px;

    height: 1em;

    background-color:
        var(--accent-blue);

    margin-left: 6px;

    animation:
        cursorBlink
        0.8s infinite;

}


@keyframes cursorBlink {

    0%,
    100% {

        opacity: 1;

    }

    50% {

        opacity: 0;

    }

}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-left,
.reveal-right,
.reveal-up {

    opacity: 0;

    will-change:
        transform,
        opacity;

    transition:
        opacity
        1.3s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),

        transform
        1.3s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        );

}


.reveal-left {

    transform:
        translateX(-40px);

}


.reveal-right {

    transform:
        translateX(40px);

}


.reveal-up {

    transform:
        translateY(40px);

}


.reveal-left.active,
.reveal-right.active,
.reveal-up.active {

    opacity: 1;

    transform:
        translate(
            0,
            0
        );

}


/* =========================================================
   MOBILE FOUNDER IMAGE
========================================================= */

@media (max-width: 950px) {

    .founder-image-col {

        justify-content: center;

    }


    .founder-image-wrap {

        max-width: 720px;

    }

}


@media (max-width: 600px) {

    .about-page {

        width:
            min(
                calc(100% - 28px),
                var(--max-width)
            );

    }


    .about-hero-section {

        padding:
            70px
            14px
            30px;

    }


    .founder-section {

        margin: 80px 0;

        gap: 40px;

    }


    /*
       On small screens we retain
       the horizontal visual language,
       but let the image occupy
       the available width.
    */

    .founder-image-wrap {

        width: 100%;

    }


    .founder-image {

        width: 100%;

        aspect-ratio: 16 / 9;

        object-fit: cover;

        object-position: center top;

    }


    .glass-eco-card {

        padding: 26px;

    }

}