/* =========================================================
   VMENTORZ — ABOUT PAGE RESPONSIVE
========================================================= */

.about-header .nav-container {
    width: min(1280px, 92%);
}

.about-header .nav-links.show {
    display: flex;
}

.about-header .mobile-menu {
    display: none;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
}

.about-header.scrolled {
    background: rgba(255,255,255,.90);
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.about-hero,
.about-story-section {
    scroll-margin-top: 90px;
}

@media (max-width: 1200px) {
    .about-hero-layout {
        grid-template-columns: .95fr 1.05fr;
        gap: 25px;
    }

    .about-hero-visual {
        transform: scale(.92);
        transform-origin: center;
    }

    .about-story-layout {
        gap: 55px;
    }
}

@media (max-width: 992px) {
    .about-header .nav-links {
        display: none;
        position: absolute;
        top: 82px;
        left: 4%;
        right: 4%;
        width: auto;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(18px);
        box-shadow: 0 20px 45px rgba(15,23,42,.12);
        z-index: 1001;
    }

    .about-header .nav-links.show {
        display: flex;
    }

    .about-header .nav-links a {
        width: 100%;
        padding: 13px 15px;
        border-radius: 10px;
    }

    .about-header .nav-links a:hover,
    .about-header .nav-links a.active {
        background: var(--surface-3);
    }

    .about-header .nav-links a.active::after {
        display: none;
    }

    .about-header .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }

    .about-header .nav-right {
        gap: 10px;
    }

    .about-hero {
        min-height: auto;
        padding: 125px 0 90px;
    }

    .about-hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-hero-content {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .about-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero-actions,
    .about-hero-note {
        justify-content: center;
    }

    .about-hero-visual {
        min-height: 570px;
        max-width: 720px;
        margin: 0 auto;
        transform: none;
    }

    .about-story-section {
        padding: 95px 0 100px;
    }

    .about-story-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-story-visual {
        min-height: 470px;
        max-width: 620px;
        margin: 0 auto;
        width: 100%;
    }

    .about-story-content {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-header .nav-container {
        height: 80px;
    }

    .about-header .logo img {
        height: 46px;
    }

    .about-header .nav-demo-btn {
        display: none;
    }

    .about-hero {
        padding: 115px 0 70px;
    }

    .about-hero-title {
        font-size: clamp(40px, 9vw, 58px);
    }

    .about-hero-description {
        font-size: 14px;
        line-height: 1.75;
    }

    .about-hero-actions {
        flex-wrap: wrap;
    }

    .about-hero-visual {
        min-height: 500px;
        transform: scale(.82);
        transform-origin: center top;
        margin-bottom: -70px;
    }

    .hero-visual-ring.ring-one,
    .hero-orbit.orbit-one,
    .hero-orbit.orbit-two {
        width: 470px;
    }

    .hero-visual-ring.ring-one,
    .hero-visual-ring.ring-two,
    .hero-visual-ring.ring-three {
        max-width: 100%;
    }

    .ecosystem-node {
        min-width: 130px;
    }

    .node-individual { left: 0; }
    .node-family { right: 0; }
    .node-community { left: -1%; }
    .node-student { right: 0; }
    .node-workplace { left: 5%; }
    .node-india { right: 10%; }

    .about-scroll-indicator {
        display: none;
    }

    .about-section-heading {
        margin-bottom: 50px;
    }

    .about-section-heading h2 {
        font-size: 36px;
    }

    .about-story-section {
        padding: 80px 0;
    }

    .about-story-visual {
        min-height: 430px;
    }

    .story-visual-card {
        min-height: 390px;
    }

    .floating-card-one { right: -5px; }
    .floating-card-two { left: -5px; }
}

@media (max-width: 576px) {
    .about-header .nav-right {
        gap: 6px;
    }

    .about-header .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .about-header .mobile-menu {
        width: 40px;
        height: 40px;
    }

    .about-hero {
        padding-top: 105px;
    }

    .about-hero-title {
        font-size: 38px;
        line-height: 1.08;
    }

    .about-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .about-primary-btn,
    .about-secondary-btn {
        width: min(100%, 280px);
    }

    .about-hero-visual {
        min-height: 390px;
        transform: scale(.67);
        margin-bottom: -115px;
    }

    .hero-ecosystem-center {
        width: 165px;
        height: 165px;
    }

    .hero-center-logo {
        width: 56px;
        height: 56px;
    }

    .hero-center-logo img {
        width: 47px;
    }

    .ecosystem-node {
        min-width: 118px;
        padding: 9px 10px;
    }

    .ecosystem-node-icon {
        width: 32px;
        height: 32px;
    }

    .ecosystem-node-text strong {
        font-size: 9px;
    }

    .ecosystem-node-text span {
        font-size: 7px;
    }

    .node-individual { top: 6%; left: 1%; }
    .node-family { top: 28%; right: 0; }
    .node-student { bottom: 8%; right: 0; }
    .node-workplace { bottom: 0; left: 3%; }
    .node-community { top: 51%; left: 0; }
    .node-india { top: 1%; right: 8%; }

    .about-section-heading h2 {
        font-size: 31px;
    }

    .about-section-heading p {
        font-size: 13px;
    }

    .about-story-layout {
        gap: 25px;
    }

    .about-story-visual {
        min-height: 370px;
        transform: scale(.92);
        transform-origin: center;
    }

    .story-visual-card {
        min-height: 350px;
    }

    .story-content-block {
        grid-template-columns: 34px 1fr;
        gap: 13px;
    }

    .story-content-block h3 {
        font-size: 15px;
    }

    .story-content-block p,
    .story-highlight p {
        font-size: 11px;
    }
}

@media (max-width: 430px) {
    .about-hero-title {
        font-size: 34px;
    }

    .about-hero-visual {
        min-height: 340px;
        transform: scale(.57);
        margin-bottom: -135px;
    }

    .about-story-visual {
        min-height: 330px;
        transform: scale(.82);
        margin-bottom: -45px;
    }

    .story-floating-card {
        padding: 9px 11px;
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-header *,
    .about-hero *,
    .about-story-section * {
        animation: none !important;
        transition: none !important;
    }
}

/* Dark theme compatibility */
[data-theme="dark"] .about-header.scrolled {
    background: rgba(4,10,20,.90);
}

[data-theme="dark"] .about-header .nav-links {
    background: rgba(6,13,26,.97);
    border-color: var(--border);
}

/* Keep the existing VMENTORZ navbar flex layout on About */
.about-header .navbar {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 992px) {
    .about-header .navbar {
        min-height: 80px;
    }
}
