/* Prop Mission - About Us Page Styles */

/* Hero Section */
.about-hero {
    padding: 60px 0 40px;
    background: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.03) 0px, transparent 50%),
                radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.03) 0px, transparent 50%);
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem; /* Ultra-compact gap */
    align-items: center;
}

.about-visual {
    position: relative;
    z-index: 2;
    perspective: 1500px; /* Essential for 3D card effect */
}

/* 3D Animated Logo Card */
.logo-card {
    background: #ffffff;
    padding: 1.5rem; /* Ultra-compact padding */
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    transform-style: preserve-3d;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.logo-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), transparent 60%);
    border-radius: 2.5rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.logo-card svg {
    width: 100%;
    height: auto;
    max-width: 180px; /* Ultra-compact logo */
    filter: drop-shadow(0 10px 20px rgba(34, 117, 186, 0.1));
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.logo-card:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(-8deg);
    box-shadow: 0 60px 140px -40px rgba(34, 117, 186, 0.2);
    border-color: rgba(0, 210, 255, 0.1);
}

.logo-card:hover::after {
    opacity: 1;
}

.logo-card:hover svg {
    transform: translateZ(60px) scale(1.05);
    filter: drop-shadow(0 25px 45px rgba(34, 117, 186, 0.2));
}

/* Float Animation */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-card {
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-card:hover {
    animation-play-state: paused;
}

.about-text h1 {
    font-size: 1.8rem; /* Ultra-compact font size */
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-text .lead {
    font-size: 1rem;
    color: var(--brand-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-text p {
    font-size: 0.9rem; /* Ultra-compact text */
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.stat-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    margin: 0;
}

/* CTA Section */
.about-cta {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-call {
    background: var(--brand-primary);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 1.2rem;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(34, 117, 186, 0.25);
}

.btn-call:hover {
    background: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(34, 117, 186, 0.35);
}

/* Branches Section Styling (Keep existing) */
.branches-section {
    padding: 40px 0; /* Ultra-compacted */
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.section-header .badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(34, 117, 186, 0.1);
    color: var(--brand-primary);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.branch-card {
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.card-image { height: 240px; background-size: cover; background-position: center; position: relative; }
.hq-badge { position: absolute; top: 1.5rem; left: 1.5rem; background: #00d2ff; color: #000; padding: 0.6rem 1.2rem; border-radius: 1rem; font-size: 0.85rem; font-weight: 800; }
.card-content { padding: 2.5rem; }
.card-content h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.origin-tag { color: #00d2ff; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 1rem; }
.branch-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* Tabbed Vision & Values Section */
.vv-tabs-container {
    padding: 40px 0;
    background: radial-gradient(circle at center, rgba(34, 117, 186, 0.02) 0%, transparent 100%);
}

.vv-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.vv-toggle {
    display: flex;
    background: #f1f5f9;
    padding: 0.4rem;
    border-radius: 1.25rem;
    gap: 0.25rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.tab-btn {
    padding: 0.6rem 2rem;
    border-radius: 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.tab-btn.active {
    color: #fff;
    background: var(--brand-primary);
    box-shadow: 0 5px 15px rgba(34, 117, 186, 0.2);
}

.vv-content-stack {
    position: relative;
    min-height: 200px; /* Reduced height */
}

.vv-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.vv-pane.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    opacity: 1;
    transform: translateY(0);
}

.vv-card {
    background: rgba(251, 252, 254, 0.7);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(241, 245, 249, 0.8);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.vv-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: #fff;
    border-color: var(--brand-cyan);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.08);
}

.vv-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vv-icon {
    width: 32px; /* Smaller icon */
    height: 32px;
    background: rgba(34, 117, 186, 0.08);
    color: var(--brand-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vv-card h4 {
    font-size: 0.95rem; /* Tighter heading */
    margin: 0;
}

.vv-card p {
    font-size: 0.85rem; /* Dense text */
    line-height: 1.5;
}

@media (max-width: 768px) {
    .vv-pane.active { grid-template-columns: 1fr; gap: 0.75rem; }
    .tab-btn { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
}

/* Timeline Section */
.timeline-section {
    padding: 30px 0;
    background: var(--bg-alt);
    border-top: 1px solid #f1f5f9;
}

.timeline-track {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 2rem 0;
    gap: 1.5rem;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 2.75rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.timeline-node {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
}

.node-dot {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #cbd5e1;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.timeline-node.active .node-dot {
    background: var(--brand-primary);
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(34, 117, 186, 0.2);
    transform: scale(1.2);
}

.timeline-node.active::after {
    content: '';
    position: absolute;
    top: 0.75rem;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--brand-primary);
    z-index: -1;
}

.timeline-track .timeline-node.active ~ .timeline-node.active::before {
    content: '';
    position: absolute;
    top: 0.75rem;
    right: 50%;
    width: 100%;
    height: 2px;
    background: var(--brand-primary);
    z-index: -1;
}

.node-year {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.25rem;
    display: block;
}

.node-info {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Coming Soon / Locked State */
.node-locked {
    filter: blur(1.5px);
    opacity: 0.5;
    pointer-events: none;
}

.node-locked .node-dot {
    background: #f1f5f9;
    border-style: dashed;
}

.timeline-node:hover .node-dot {
    border-color: var(--brand-primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .timeline-track {
        flex-direction: column;
        padding-left: 0.5rem;
        gap: 1.5rem; /* Tighter vertical gap */
    }
    .timeline-track::before {
        width: 2px;
        height: calc(100% - 20px);
        left: 7px; /* Aligned with 16px dot center (8px - 1px border) */
        top: 10px;
    }
    .timeline-node {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 1.25rem;
        width: 100%;
    }
    .node-dot { 
        margin: 0; 
        flex-shrink: 0;
        z-index: 3;
    }
    .node-content-mobile {
        display: flex;
        flex-direction: column;
    }
    .timeline-node.active::after,
    .timeline-track .timeline-node.active ~ .timeline-node.active::before {
        display: none; /* Hide horizontal logic on mobile */
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 20px 0;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .logo-card {
        padding: 1rem;
        border-radius: 1rem;
        animation: none; /* Disable float on small mobile for stability */
    }

    .logo-card svg {
        max-width: 140px;
    }

    .about-text h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .about-text .lead {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .about-text p {
        font-size: 0.85rem;
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .stats-row {
        gap: 1rem;
        justify-content: center;
        padding-top: 1rem;
    }

    .stat-item h4 {
        font-size: 1.1rem;
    }

    .stat-item p {
        font-size: 0.65rem;
    }

    .about-cta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .btn-call {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .branches-section {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .card-content {
        padding: 1.5rem;
    }
}

/* Founders Section - Premium Elite Cards */
.founders-section {
    padding: 60px 0;
    background: #fff;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.founder-card {
    background: #fbfcfe;
    border-radius: 2rem;
    padding: 3rem 2rem;
    border: 1px solid #f1f5f9;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.founder-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 30px 70px -15px rgba(34, 117, 186, 0.12);
    border-color: rgba(34, 117, 186, 0.1);
}

.founder-card:hover::before {
    opacity: 1;
}

.founder-image-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.founder-card:hover .founder-image-wrapper {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(34, 117, 186, 0.15);
    border-color: var(--brand-primary);
}

.founder-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.founder-card p {
    font-size: 0.85rem;
    color: var(--brand-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 640px) {
    .founders-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* --- Elite Interactivity & Radiant Visual Upgrade --- */
.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2000') no-repeat center center;
    background-size: cover;
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
}

.about-hero {
    padding: 80px 0 60px;
    background: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.03) 0%, transparent 40%),
        linear-gradient(to bottom, #ffffff, #fbfcfe);
    position: relative;
    overflow: hidden;
    border-bottom: 0;
}

.vv-tabs-container {
    padding: 80px 0;
    position: relative;
    background: var(--brand-dark);
    color: #fff;
    overflow: hidden;
}

.vv-image-overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&q=80&w=2000') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: 1;
}

.vv-tabs-container .container {
    position: relative;
    z-index: 2;
}

.vv-toggle {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.tab-btn {
    color: rgba(255, 255, 255, 0.6) !important;
}

.tab-btn.active {
    background: #fff !important;
    color: var(--brand-dark) !important;
}

.vv-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.vv-card h4 {
    color: #fff !important;
}

.vv-card p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.vv-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent-cyan) !important;
}

.timeline-section {
    padding: 60px 0;
    background: #f8fafc;
}

.founder-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(99, 102, 241, 0.1) !important;
}

.founder-card:hover {
    border-color: var(--accent-violet) !important;
    box-shadow: 0 30px 80px -20px rgba(99, 102, 241, 0.15) !important;
}

/* Staggered Reveal Animation */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* --- Service Ecosystem --- */
.ecosystem-section {
    padding: 100px 0;
    background: #fff;
}

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

.eco-card {
    padding: 40px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.eco-card:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--brand-primary);
}

.eco-icon {
    width: 60px;
    height: 60px;
    background: rgba(34, 117, 186, 0.1);
    color: var(--brand-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.eco-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--brand-dark);
}

.eco-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* --- Partner Marquee --- */
.partners-section {
    padding: 100px 0;
    background: #fff;
}

.marquee-wrapper {
    margin-top: 60px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content img {
    height: 50px;
    margin: 0 40px;
    filter: grayscale(1) opacity(0.6);
    transition: all 0.3s ease;
}

.marquee-content img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .ecosystem-grid { grid-template-columns: 1fr 1fr; }
    .footprint-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .ecosystem-grid { grid-template-columns: 1fr; }
    .contact-hero h1 { font-size: 2.5rem; }
}

/* Management Grid */
.management-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .management-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .management-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: none;
    }
    .founder-card {
        padding: 1.5rem 1rem;
        border-radius: 1.25rem;
    }
    .founder-image-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    .founder-card h3 {
        font-size: 1.1rem;
    }
    .founder-card p {
        font-size: 0.75rem;
    }
}
