/* ===== ABOUT PAGE SPECIFIC ===== */
.about-hero {
    min-height: 92vh;
    padding-top: 68px;
    background: linear-gradient(135deg, #eef3ff 0%, #dce8ff 60%, #e8f0ff 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(26, 86, 219, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 86, 219, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow-a {
    position: absolute;
    top: -200px;
    left: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.hero-glow-b {
    position: absolute;
    bottom: -150px;
    right: -80px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 4%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 86, 219, 0.1);
    border: 1px solid rgba(26, 86, 219, 0.25);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.about-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.12;
    margin-bottom: 22px;
}

.about-hero h1 em {
    font-style: normal;
    color: var(--blue);
}

.about-hero-sub {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-hero-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.hero-pill {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    background: #fff;
    border: 1.5px solid var(--border);
    color: var(--dark);
    transition: all 0.2s;
}

.hero-pill:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.hero-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(26, 86, 219, 0.15);
    position: relative;
}

.hero-img-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 14px 20px;
    border: 1.5px solid var(--border);
}

.hero-img-badge strong {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blue);
    display: block;
    line-height: 1;
}

.hero-img-badge span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
}

/* ===== STATS ===== */
.about-stats {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.stat-cell {
    text-align: center;
    padding: 36px 16px;
    border-right: 1px solid var(--border);
}

.stat-cell:last-child {
    border-right: none;
}

.stat-n {
    font-family: 'Sora', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.stat-l {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ===== BRANCHES MAP ===== */
.branches {
    background: var(--gray);
}

.branches-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.branch-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    background: #fff;
}

.branch-map img {
    width: 100%;
    height: auto;
    display: block;
}

.branch-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.branch-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s;
}

.branch-item:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.08);
}

.branch-dot {
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.branch-hq .branch-dot {
    background: #ef4444;
    width: 10px;
    height: 10px;
}

.branch-item-text strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark);
    display: block;
}

.branch-item-text span {
    font-size: 0.75rem;
    color: var(--muted);
}

.hq-card {
    background: var(--blue-light);
    border: 1.5px solid var(--blue-mid);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.hq-card h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 6px;
}

.hq-card p {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.65;
}

/* ===== CMD SECTION ===== */
.cmd-section {
    background: #fff;
}

.cmd-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: center;
}

.cmd-img-wrap {
    position: relative;
}

.cmd-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 86, 219, 0.12);
}

.cmd-img img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: top;
}

.cmd-img-ph {
    width: 100%;
    height: 460px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.cmd-badge {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.35);
}

.cmd-text h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.cmd-role {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: block;
}

.cmd-text p {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ===== BRIHASPATHI EDGE ===== */
.edge-section {
    background: var(--gray);
}

.edge-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.edge-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 86, 219, 0.1);
}

.edge-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.edge-img-ph {
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    border-radius: 20px;
}

.edge-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.edge-step {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.edge-step:last-child {
    border-bottom: none;
}

.edge-num {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue-mid);
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
}

.edge-step-text h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.edge-step-text p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ===== WHAT WE DO ===== */
.whatwedo {
    background: #fff;
}

.wwd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.wwd-card {
    padding: 32px 26px;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.wwd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

.wwd-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(26, 86, 219, 0.08);
}

.wwd-card:hover::before {
    transform: scaleX(1);
}

.wwd-icon {
    width: 52px;
    height: 52px;
    background: var(--blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.wwd-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.wwd-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ===== TEAM ===== */
.team-section {
    background: var(--gray);
}

.team-stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.team-stat {
    text-align: center;
}

.team-stat-n {
    font-family: 'Sora', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue);
}

.team-stat-l {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 4px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.team-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(26, 86, 219, 0.1);
    border-color: var(--blue);
}

.team-card-img {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s;
}

.team-card-img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.team-card-body {
    padding: 16px;
}

.team-card-body h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.team-card-body span {
    font-size: 0.78rem;
    color: var(--muted);
}

.team-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.team-modal.open {
    display: flex;
}

.team-modal-box {
    background: #fff;
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
    animation: fadeUp 0.35s ease;
}

.team-modal-img {
    height: 260px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
    overflow: hidden;
}

.team-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-modal-body {
    padding: 32px;
}

.team-modal-body h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.team-modal-role {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    display: block;
}

.team-modal-body p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.8;
}

.team-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.2s;
}

.team-modal-close:hover {
    background: var(--blue);
    color: #fff;
}

.team-modal-inner {
    position: relative;
}

/* ===== JOURNEY / TIMELINE ===== */
.journey {
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.tl-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 40px;
    position: relative;
}

.tl-left {
    text-align: right;
    padding: 0 30px 0 0;
}

.tl-right {
    text-align: left;
    padding: 0 0 0 30px;
}

.tl-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 14px;
}

.tl-dot {
    width: 18px;
    height: 18px;
    background: var(--blue);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--blue-mid);
    flex-shrink: 0;
}

.tl-year {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 4px;
}

.tl-title {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.tl-desc {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.7;
}

.tl-card {
    background: var(--gray);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s;
}

.tl-card:hover {
    border-color: var(--blue);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.08);
}

/* ===== VALUES ===== */
.values {
    background: var(--gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.val-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.val-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue);
    box-shadow: 0 14px 40px rgba(26, 86, 219, 0.08);
}

.val-icon {
    width: 64px;
    height: 64px;
    background: var(--blue-light);
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.val-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.val-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ===== KEY ACHIEVEMENTS ===== */
.key-achieve {
    background: #fff;
}

.ka-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.ka-card {
    padding: 28px;
    background: var(--gray);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s;
}

.ka-card:hover {
    border-color: var(--blue);
    box-shadow: 0 10px 28px rgba(26, 86, 219, 0.08);
    transform: translateY(-3px);
}

.ka-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.ka-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.ka-card p {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ===== MISSION / VISION ===== */
.mission {
    background: linear-gradient(135deg, var(--blue-light) 0%, #dce8ff 100%);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.mission-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(26, 86, 219, 0.1);
    border-color: var(--blue);
}

.mission-card-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-light);
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.mission-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
}

.mission-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ===== CAPABILITIES TABS ===== */
.capabilities {
    background: var(--gray);
}

.cap-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 32px;
}

.cap-tab {
    padding: 9px 20px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.cap-tab.active,
.cap-tab:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.cap-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cap-desc h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
}

.cap-desc p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.cap-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cap-features li {
    font-size: 0.875rem;
    color: var(--dark);
    padding-left: 22px;
    position: relative;
    line-height: 1.6;
}

.cap-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

.cap-visual {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border: 1.5px solid var(--border);
}

/* RESPONSIVE */
@media(max-width:1024px) {

    .about-hero-inner,
    .edge-inner,
    .cmd-inner,
    .branches-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-img-wrap,
    .edge-img,
    .edge-img-ph {
        display: none;
    }

    .cmd-img-wrap { max-width: 340px; margin: 0 auto; }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ka-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:768px) {

    .wwd-grid,
    .values-grid,
    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .tl-item {
        grid-template-columns: 20px 1fr;
        grid-template-rows: auto auto;
    }

    .tl-left {
        display: none;
    }

    .tl-center {
        grid-column: 1;
        grid-row: 1;
        padding-top: 14px;
    }

    .tl-right {
        grid-column: 2;
        grid-row: 1;
        padding: 0 0 0 16px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cap-content {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .branch-list {
        grid-template-columns: 1fr 1fr;
    }

    .about-hero-inner {
        padding: 48px 4%;
    }
}

@media(max-width:576px) {

    .wwd-grid,
    .values-grid,
    .mission-grid,
    .ka-grid,
    .branch-list {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-modal-box { border-radius: 14px; }
    .team-modal-body { padding: 20px; }
    .team-modal-img { height: 200px; }
}