/*
 * Pratinidhi Media Solutions — About Us Page Styles
 * Page-specific stylesheet injected via $extra_css in header.php
 * Inherits all design tokens from style.css (:root variables)
 */

/* ==========================================================================
   Page Hero — "About Us" Banner
   ========================================================================== */

.about-hero {
    /* background-attachment:fixed breaks on iOS Safari — disabled on mobile */
    background-image: linear-gradient(to bottom, rgba(18,18,18,0.92) 0%, rgba(18,18,18,0.75) 100%), url('../images/aboutus.webp');
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--color-primary-dark);
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding: calc(80px + 4rem) 1.25rem 4rem;
    position: relative;
    text-align: center;
    width: 100%;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

/* Parallax and full height only on devices that actually support it reliably */
@media (min-width: 1024px) and (hover: hover) {
    .about-hero {
        background-attachment: fixed;
        min-height: 70vh;
    }
}

.about-hero-pretitle {
    font-family: var(--font-primary);
    font-size: clamp(0.65rem, 1.8vw, 0.8rem);
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    color: var(--color-primary-light);
    line-height: 1.15;
    max-width: 820px;
    margin: 0 auto 1.25rem;
    letter-spacing: -0.5px;
}

.about-hero-title span {
    color: var(--color-accent);
}

.about-hero-subtitle {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.72);
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

/* Breadcrumb */
.about-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2rem;
    letter-spacing: 0.5px;
}

.about-breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.about-breadcrumb a:hover {
    color: var(--color-accent);
}

.about-breadcrumb .sep {
    color: var(--color-accent);
    font-size: 0.7rem;
}

.about-breadcrumb .current {
    color: var(--color-accent);
    font-weight: 600;
}

/* Decorative scroll indicator */
.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-scroll-hint .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ==========================================================================
   Story Section — "Our Journey"
   ========================================================================== */

.story-section {
    padding: var(--section-padding);
    background-color: var(--color-primary-light);
    position: relative;
    z-index: 1;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2.5rem;
}

@media (min-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        margin-top: 3.5rem;
    }
}

.story-eyebrow {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}

.story-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--color-primary-dark);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.story-body {
    color: var(--color-text-muted);
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.story-body strong {
    color: var(--color-primary-dark);
    font-weight: 700;
}

/* Right-side visual card */
.story-visual {
    position: relative;
}

.story-quote-card {
    background: var(--color-primary-dark);
    border: 1px solid rgba(229, 163, 42, 0.25);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.story-quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.5;
    margin-bottom: -1rem;
    display: block;
    font-style: italic;
}

.story-quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--color-primary-light);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.story-quote-footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(229, 163, 42, 0.2);
}

.story-quote-dot {
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--color-primary-dark);
}

.story-quote-author {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-light);
    letter-spacing: 0.5px;
}

.story-quote-author span {
    display: block;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating badge below card */
.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(229, 163, 42, 0.08);
    border: 1px solid rgba(229, 163, 42, 0.25);
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.5px;
}

.story-badge i {
    font-size: 0.85rem;
}

/* ==========================================================================
   Mission & Vision Cards
   ========================================================================== */

.mission-vision-section {
    padding: var(--section-padding);
    background-color: var(--color-surface-muted);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), rgba(229, 163, 42, 0.3), transparent);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
}

.mv-card {
    background: var(--color-primary-light);
    border-radius: 12px;
    padding: 2.25rem 2rem;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1),
                box-shadow 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(229,163,42,0.15);
}

@media (hover: none) {
    .mv-card:hover { transform: none; }
}

.mv-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), rgba(229, 163, 42, 0.2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

.mv-card:hover::after {
    transform: scaleX(1);
}

.mv-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(229, 163, 42, 0.10);
    border: 1.5px solid rgba(229, 163, 42, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    transition: background 0.3s ease, transform 0.4s ease;
}

.mv-card:hover .mv-icon-wrap {
    background: rgba(229, 163, 42, 0.20);
    transform: scale(1.08) rotate(-3deg);
}

.mv-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.6rem;
    display: block;
}

.mv-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.mv-card p {
    color: var(--color-text-muted);
    font-size: 0.97rem;
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   Milestones / Stats (reuses .stats-grid, .stat-item from style.css)
   These are light overrides for context on the About page.
   ========================================================================== */

.about-stats-section {
    padding: var(--section-padding);
    background: var(--color-primary-dark);
    position: relative;
    overflow: hidden;
}

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

.about-stats-section h2 {
    color: var(--color-primary-light);
}

.about-stats-section p {
    color: rgba(255, 255, 255, 0.62);
}

/* Divider ornament between stat items */
@media (min-width: 768px) {
    .stats-grid .stat-item:not(:last-child) {
        border-right: 1px solid rgba(229, 163, 42, 0.12);
        padding-right: 1.5rem;
    }
}

/* ==========================================================================
   Core Values / Differentiators
   ========================================================================== */

.values-section {
    padding: var(--section-padding);
    background-color: var(--color-primary-light);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }
}

.value-card {
    background: #FAFAF8;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: var(--border-radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1),
                box-shadow 0.4s ease,
                background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(229,163,42,0.15);
    background-color: #fdfbf7;
}

@media (hover: none) {
    .value-card:hover { transform: none; }
}

.value-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1);
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    transform: scale(1.2) translateY(-4px);
}

.value-card h3 {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Manifesto / "The Pratinidhi Advantage" — Dark Feature Section
   ========================================================================== */

.manifesto-section {
    padding: var(--section-padding);
    background: var(--color-primary-dark);
    position: relative;
    overflow: hidden;
}

.manifesto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* Large decorative text watermark */
.manifesto-section::after {
    content: 'PRATINIDHI';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: clamp(6rem, 18vw, 14rem);
    font-weight: 900;
    color: rgba(229, 163, 42, 0.04);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.1em;
    user-select: none;
}

.manifesto-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    display: block;
}

.manifesto-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    color: var(--color-primary-light);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.manifesto-headline em {
    color: var(--color-accent);
    font-style: normal;
}

.manifesto-body {
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Advantage list — horizontal chips */
.manifesto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 2rem 0;
}

.manifesto-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid rgba(229, 163, 42, 0.3);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    background: rgba(229, 163, 42, 0.06);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.manifesto-tag i {
    color: var(--color-accent);
    font-size: 0.78rem;
}

.manifesto-tag:hover {
    background: rgba(229, 163, 42, 0.14);
    border-color: rgba(229, 163, 42, 0.55);
    color: var(--color-primary-light);
    transform: translateY(-2px);
}

/* ==========================================================================
   CTA Strip (slight override for about page context)
   ========================================================================== */

.about-cta-section {
    padding: 4rem 1.25rem;
    background: var(--color-accent);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .about-cta-section { padding: 5rem 2rem; }
}

/* No overlay on CTA section */

.about-cta-section h2 {
    color: var(--color-primary-dark);
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto 0.75rem;
    line-height: 1.3;
}

.about-cta-section p {
    color: rgba(38, 35, 34, 0.75);
    font-size: clamp(0.9rem, 2vw, 1rem);
    max-width: 560px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.about-cta-section .btn-group {
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Section Header Utility (shared title+rule component)
   ========================================================================== */

.section-header-block {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-eyebrow {
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    display: block;
}

.section-rule {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), rgba(229, 163, 42, 0.2));
    border-radius: 2px;
    margin: 0.85rem auto 0;
}

/* Dark variant of section-rule */
.section-rule.rule-light {
    background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.1));
}

/* ==========================================================================
   Responsive Tweaks
   ========================================================================== */

@media (max-width: 480px) {
    .about-hero {
        padding: 8rem 1rem 4rem;
    }

    .story-quote-card {
        padding: 1.75rem 1.25rem;
    }

    .manifesto-tags {
        gap: 0.5rem;
    }
}
