/* ============================================================
   ABOUT US PAGE — built on top of styles.css
   Reuses: fonts, navbar, contact, footer, root variables
   ============================================================ */

.about-page {
    background: #000;
}

/* ---------- generic dark section ---------- */
.about-section {
    position: relative;
    width: 100%;
    min-height: 200vh;
}

/* content-heavy section sizes to its content (prevents overlap with footer) */
.about-companies,
.about-values,
.about-advantage {
    min-height: auto;
}

.about-container {
    width: 100%;
    /* max-width: 1320px; */
    margin: 0 auto;
    padding: 0 4rem;
}

.ab-eyebrow {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 500;
    letter-spacing: 6px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ab-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-text);
    line-height: 1;
    margin: 0 0 1.5rem;
}

.ab-text {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    max-width: 1000px;
    margin: 0 0 1.4rem;
}

.ab-text strong { color: var(--light-text); font-weight: 500; }

/* ============ HERO HEADER ============ */
.about-hero {
    position: relative;
    width: 100%;
    height: 200vh;
    min-height: 600px;
    /* overflow: hidden; */
}

.about-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    top: -10%;
    object-fit: cover;
    object-position: top;
    will-change: transform;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 0%, #000000 75%, transparent, black 0%, #000000 75%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 0%, #000000 75%, transparent, black 0%, #000000 75%, transparent);
}

/* .about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.6) 80%, #000 100%);
    z-index: 1;
} */

/* ============ ABOUT US INTRO (image bg) ============ */
.about-intro {
    position: relative;
    padding: 14rem 0 8rem;
    margin-top: -1px;
    display: flex;
    align-items: flex-end;
}

.ab-bg {
    position: absolute;
    /* inset: 0; */
    width: 100%;
    height: 100%; 
    object-fit: cover;
    z-index: 0;
    will-change: transform;
    
}

.about-intro .ab-bg {
    object-position: center;
    top: -18%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 65%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 25%, black 65%, transparent);
}

/* .ab-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 30%, rgba(0,0,0,.3) 100%);
} */

.about-intro .about-container,
.about-story .about-container { position: relative; z-index: 2; }

/* ============ OUR STORY ============ */
.about-story {
    position: relative;
    padding: 8rem 0 6rem;
}

/* ----- OUR STORY + ADVANTAGE on one shared molten background ----- */
.about-story.story-advantage {
    background: #000;
    min-height: 300vh;
    padding: 12rem 0 8rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.story-advantage .ab-bg {
    top: -15%;
    object-position: top;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 55%, black 55%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 55%, black 55%, transparent);
}
.story-advantage .ab-bg-overlay {
    background: linear-gradient(to bottom,
        rgba(0,0,0,.55) 0%,
        rgba(0,0,0,.32) 28%,
        rgba(0,0,0,.62) 60%,
        rgba(0,0,0,.92) 82%,
        #000 100%);
}
.story-advantage .about-container { position: relative; z-index: 2; }
.story-spacer { height: 32vh; min-height: 240px; }

@media (max-width: 768px) {
    .about-story.story-advantage { padding: 8rem 0 5rem; }
    .story-spacer { height: 18vh; min-height: 140px; }
    .story-advantage .ab-bg-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,.85) 75%, #000 100%);
    }
}

/* ============ NAVEENA STEEL ADVANTAGE ============ */
.about-advantage {
    position: relative;
    padding: 6rem 0 8rem;
    background: linear-gradient(to bottom, #000, #0a0805 40%, #000);
}

/* oversized headline: THE (top-left) · NAVEENA (huge) · STEEL ADVANTAGE (right) */
.advantage-title {
    display: inline-block;          /* shrink-wrap to NAVEENA's width so .sub right-aligns to its edge */
    margin-bottom: 3.5rem;
    line-height: 1;
}
.advantage-title .small {
    display: block;
    font-size: clamp(1.6rem, 7vw, 4.4rem);
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--light-text);
    margin-bottom: -.08em;
}
.advantage-title .big {
    display: block;
    font-size: clamp(3.2rem, 16vw, 14rem);
    font-weight: 700;
    line-height: .82;
    letter-spacing: -.02em;
    color: var(--light-text);
    white-space: nowrap;
    text-shadow: 0 4px 40px rgba(0, 0, 0, .45);
}
.advantage-title .sub {
    display: block;
    font-size: clamp(1.25rem, 5.2vw, 4rem);
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--light-text);
    text-align: right;
    line-height: .9;
    margin-top: .04em;
}

.advantage-intro {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    max-width: 1000px;
    margin-bottom: 2.5rem;
}

.advantage-list {
    list-style: none;
    display: grid;
    gap: 1.5rem;
    max-width: 1100px;
}

.advantage-list li {
    position: relative;
    padding-left: 1.8rem;
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.advantage-list li::before {
    content: "";
    position: absolute;
    left: .15rem;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* ============ VISION / MISSION / VALUES (shared workers bg) ============ */
.about-vmv {
    position: relative;
    width: 100%;
    min-height: 200vh;
    padding: 1rem 0 8rem;
    /* overflow: hidden; */
}

.about-vmv .ab-bg {
    top: -15%;
    object-position: center;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 45%, black 75%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 45%, black 75%, transparent);
}



/* keep workers visible on the left, darken the right where text sits */
/* .about-vmv .ab-bg-overlay {
    background:
        linear-gradient(to right, rgba(0,0,0,.30) 0%, rgba(0,0,0,.42) 42%, rgba(0,0,0,.72) 100%),
        linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 28%, rgba(0,0,0,.25) 68%, rgba(0,0,0,.55) 100%);
} */

.vmv-block { margin-bottom: 3.5rem; max-width: 1000px; }

.vmv-block h2 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--light-text);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

/* ----- Values block (offset to the right, over the workers image) ----- */
.values-block {
    width: 62%;
    max-width: 760px;
    margin-left: auto;
    margin-top: 4rem;
}

.values-heading {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--light-text);
    text-align: left;
    margin-bottom: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2.5rem;
}

.value-card {
    text-align: left;
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.value-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.value-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--light-text);
    margin-bottom: .7rem;
}

.value-card p {
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

@media (max-width: 992px) {
    .values-block { width: 100%; max-width: none; }
}
@media (max-width: 600px) {
    .values-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============ GROUP COMPANIES ============ */
.about-companies {
    position: relative;
    width: 100%;
    height: auto;
    padding: 6rem 0 8rem;
    background: #000;
}


.about-companies .ab-bg {
    top: -15%;
    object-position: top;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 45%, black 75%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 45%, black 75%, transparent);
}


.about-companies .about-container {
    position: relative;
    z-index: 2;
}

.companies-title {
    margin-bottom: 2rem;
}
.companies-title .small {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 8px;
    color: var(--light-text);
}
.companies-title .big {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: .95;
    color: var(--light-text);
    letter-spacing: 2px;
}

.companies-img-wrap {
    position: relative;
    margin: 3rem 0;
    border-radius: 14px;
    overflow: hidden;
}
.companies-img {
    width: 100%;
    height: clamp(280px, 45vw, 560px);
    object-fit: cover;
    object-position: center;
    display: block;
    will-change: transform;
}

/* ---------- timeline ---------- */
.timeline {
    position: relative;
    margin: 29rem 0 14rem 0;
    padding: 1rem 0;
}
.timeline-track {
    position: relative;
    display: flex;
    min-width: 1150px;
    padding: 0 1rem;
}
/* horizontal connecting line through the vertical centre */
.timeline-track::before {
    content: "";
    position: absolute;
    left: 1rem; right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: linear-gradient(to right, rgba(212,160,80,.15), rgba(212,160,80,.7) 12%, rgba(212,160,80,.7) 88%, rgba(212,160,80,.15));
}

.tl-item {
    position: relative;
    flex: 1 0 0;
    min-height: 280px;
    padding: 0 .4rem;
}

/* node sits exactly on the centre line */
.tl-dot {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #000;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .55);
    z-index: 2;
}

/* text + year block, centred horizontally, placed above or below the line */
.tl-content {
    position: absolute;
    left: 0; right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 .4rem;
    gap: .7rem;
}
/* default (down) items: content below the line, year nearest the line */
.tl-item:not(.up) .tl-content { top: calc(50% + 26px); }
/* up items: content above the line, year nearest the line */
.tl-item.up .tl-content {
    bottom: calc(50% + 26px);
    flex-direction: column-reverse;
}

/* little vertical stem connecting the year badge to the line */
.tl-content::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 18px;
    background: rgba(212, 160, 80, .6);
}
.tl-item:not(.up) .tl-content::after { top: -22px; }
.tl-item.up .tl-content::after { bottom: -22px; }

.tl-year {
    display: inline-block;
    padding: .3rem 1.1rem;
    border: 1px solid rgba(212, 160, 80, .55);
    border-radius: 6px;
    background: rgba(0, 0, 0, .55);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-size: 1.05rem;
}
.tl-text {
    font-size: .8rem;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
    margin: 0;
}

/* ---------- company cards ---------- */
.company-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
}
.company-card {
    position: relative;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;          /* center the title block */
    justify-content: center;
    text-align: center;
    isolation: isolate;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
}
.company-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .9s cubic-bezier(.22,.61,.36,1), filter .6s ease;
}

/* navy overlay — hidden at rest, fades in on hover */
.company-card::after {
    content: "";
    position: absolute; inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(13,32,61,.94) 0%, rgba(13,32,61,.6) 55%, rgba(13,32,61,.45) 100%);
    opacity: 0;
    transition: opacity .55s ease;
}

/* orange accent line that grows on hover */
.company-card::before {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
    z-index: 3;
}

/* ----- HOVER STATE ----- */
.company-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,152,0,.3);
}
.company-card:hover img {
    transform: scale(1.1);
    filter: brightness(.95);
}
.company-card:hover::after { opacity: 1; }
.company-card:hover::before { transform: scaleX(1); }

/* title — hidden at rest, reveals on hover */
.company-card-inner {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .55s cubic-bezier(.22,.61,.36,1);
}
.company-card:hover .company-card-inner {
    opacity: 1;
    transform: translateY(0);
}

.company-card .cc-small {
    display: block;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: rgba(255,255,255,.85);
}
.company-card .cc-big {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--light-text);
    text-transform: uppercase;
}

/* "Read more" — pinned to card bottom, reveals on hover */
.company-card .cc-link {
    position: absolute;
    left: 0; right: 0;
    bottom: 1.6rem;
    z-index: 3;
    text-align: center;
    font-size: .8rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .5s ease .05s, transform .5s ease .05s;
    pointer-events: none;
}
.company-card:hover .cc-link {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.company-card .cc-link:hover { text-decoration: underline; }

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

/* ----- timeline: track (1150px) viewport se bara ho jaye to scroll ----- */
@media (max-width: 1280px) {
    .timeline {
        overflow-x: auto;
        padding-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(212,160,80,.5) transparent;
    }
}

@media (max-width: 992px) {
    .about-container { padding: 0 2rem; }
    .company-cards { grid-template-columns: repeat(2, 1fr); }
    .timeline { margin: 30rem 0 8rem; }
}

/* ----- touch devices: hover nahi hota, card title/link hamesha visible ----- */
@media (hover: none), (max-width: 768px) {
    .company-card::after { opacity: 1; }
    .company-card-inner { opacity: 1; transform: none; }
    .company-card .cc-link { opacity: 1; transform: none; pointer-events: auto; }
}

@media (max-width: 768px) {
    .about-container { padding: 0 1.5rem; }

    /* fixed viewport heights mobile par overflow/khali gaps banati hain */
    .about-section { min-height: auto; }
    .about-hero { height: 80vh; min-height: 420px; }
    .about-hero-img { top: 0; }
    .about-intro { padding: 9rem 0 5rem; min-height: 100vh; min-height: 100svh; }
    .about-story.story-advantage { min-height: auto; }
    .about-vmv { min-height: auto; padding: 6rem 0 5rem; }
    .about-companies { padding: 4rem 0 5rem; }

    .vmv-block { margin-bottom: 2.5rem; }
    .values-block { margin-top: 2.5rem; }
    .advantage-title { margin-bottom: 2rem; }
    .advantage-intro { margin-bottom: 1.8rem; }
    .advantage-list { gap: 1.1rem; }

    .ab-bg-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,.6));
    }
    .company-cards { grid-template-columns: 1fr 1fr; gap: .8rem; }
    .company-card { height: 240px; }
    .values-grid { gap: 2rem 1.2rem; }

    /* ----- timeline: phone par vertical layout ----- */
    .timeline {
        margin: 5rem 0 4rem;
        overflow: visible;
        padding-bottom: 0;
    }
    .timeline-track {
        min-width: 0;
        flex-direction: column;
        gap: 2.2rem;
        padding: 0;
    }
    /* line ab vertical, left side par */
    .timeline-track::before {
        left: 8px;
        right: auto;
        top: 6px;
        bottom: 6px;
        width: 2px;
        height: auto;
        transform: none;
        background: linear-gradient(to bottom, rgba(212,160,80,.7), rgba(212,160,80,.7) 85%, rgba(212,160,80,.15));
    }
    .tl-item,
    .tl-item.up {
        flex: none;
        min-height: 0;
        padding: 0 0 0 2.4rem;
    }
    .tl-dot {
        top: 6px;
        left: 8px;
        transform: translate(-50%, 0);
        width: 14px;
        height: 14px;
    }
    /* content ab normal flow mein, line ke right side par */
    .tl-content,
    .tl-item:not(.up) .tl-content,
    .tl-item.up .tl-content {
        position: static;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 0;
        gap: .5rem;
    }
    /* year-to-line stem ki zaroorat nahi rahi */
    .tl-content::after { display: none; }
    .tl-year { font-size: .95rem; padding: .25rem .9rem; }
    .tl-text { font-size: .85rem; max-width: 48ch; }
}

@media (max-width: 480px) {
    .about-container { padding: 0 1.25rem; }
    .about-hero { height: 65vh; min-height: 360px; }
    .ab-heading { letter-spacing: 1px; }
    .company-cards { grid-template-columns: 1fr; }
    .company-card { height: 300px; }
    .value-icon, .value-icon img { width: 48px; height: 48px; }
}

/* Values cards — frosted panel fills each grid cell with equal height */
.value-card {
    display: flex;
}
.value-card > .text_bg_section {
    float: none;
    width: 100%;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}
