/* =========================================
   About Us Page Styles (Refined & Complete)
   ========================================= */

/* --- 1. Hero Banner --- */
.page-hero {
    background-color: #0f172a; /* Dark Blue */
    color: white;
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    display: inline-block;
    color: var(--primary); /* Orange */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- 2. Team Section --- */
.team-section {
    background: white;
    padding: 80px 0; 
    border-bottom: 1px solid #eee;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto; 
    min-height: 100%;
}

.team-member:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.member-img-wrapper {
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.member-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 700;
}

.member-info .role {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.5;
    flex-grow: 1;
}

.linkedin-text {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
    margin-top: auto;
}

.linkedin-text:hover {
    border-bottom: 1px solid var(--primary);
}


/* --- 3. Intro Section --- */
.intro-section {
    padding: 100px 0;
    background: #f8fafc; 
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.intro-left .section-tag {
    display: inline-block;
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.intro-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.orange-line {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.intro-right .lead-paragraph {
    font-size: 1.25rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.intro-right p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* --- 4. Vision & Mission --- */
.vision-mission {
    padding-bottom: 100px;
    background: #f8fafc; 
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vm-card {
    padding: 4rem;
}

.dark-card {
    background-color: #0f172a;
    color: white;
}

.light-card {
    background-color: white;
    color: var(--text);
}

.vm-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.vm-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.dark-card h3 { color: var(--primary); }
.light-card h3 { color: #0f172a; }

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.dark-card p { color: #e2e8f0; }
.light-card p { color: var(--text-light); }


/* --- 5. Objectives --- */
.objectives-section {
    background-color: white;
    padding: 100px 0;
}

.center-align {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.center-align h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin: 0.5rem 0 1rem 0;
    color: var(--text);
}

.section-sub {
    color: var(--text-light);
    font-size: 1.1rem;
}

.small-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 0 auto 1rem auto;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.obj-box {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.obj-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.obj-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.obj-icon {
    font-size: 1.8rem;
}

.obj-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.obj-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- 6. Core Values (Modern Redesign) --- */
.values-section {
    background: #f8fafc;
    padding: 100px 0;
}

.values-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-card-modern {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-top: 4px solid #e2e8f0; 
    transition: all 0.3s ease;
}

.value-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary);
}

.value-card-modern.full-span {
    grid-column: 1 / -1; 
}

/* UPDATED: More visible color for numbers */
.value-watermark {
    position: absolute;
    top: 5px;
    right: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(249, 115, 22, 0.15); /* Visible Orange Tint */
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* Make it slightly darker on hover */
.value-card-modern:hover .value-watermark {
    color: rgba(249, 115, 22, 0.25);
}

.value-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.value-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}


/* =========================================
   7. REWORKED ECOSYSTEM SECTION (Deep Tech)
   ========================================= */
.ecosystem-section {
    position: relative;
    background-color: #020617; /* Deepest Slate */
    color: white;
    padding: 120px 0;
    overflow: hidden;
}

/* Background Radial Glow */
.eco-bg-glow {
    position: absolute;
    top: 50%;
    right: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    transform: translate(30%, -50%);
    z-index: 0;
    pointer-events: none;
}

.relative-z { position: relative; z-index: 2; }

.eco-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* --- Left: Typography & Grid --- */
.eco-content .section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.eco-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.eco-intro {
    color: #be8107;          /* Changed from grey to Pure White for maximum visibility */
    font-size: 1.25rem;      /* Slightly larger for better readability */
    font-weight: 500;        /* Medium weight to make it "bold" */
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 90%;
    opacity: 1;              /* Ensure no transparency */
}

/* Card Grid Styles */
.eco-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.eco-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.eco-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.eco-card.full-width { grid-column: 1 / -1; }

.eco-icon-box {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.eco-card-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.eco-card-text p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

/* --- Right: Network Animation --- */
.eco-visual-side {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.network-atom {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Core */
.atom-core {
    width: 100px;
    height: 100px;
    background: #0f172a;
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.2);
}

.core-img { width: 50px; height: auto; }

/* The Rings */
.atom-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ring-1 { width: 220px; height: 220px; animation: spin 20s linear infinite; }
.ring-2 { width: 340px; height: 340px; animation: spin 30s linear infinite reverse; }
.ring-3 { width: 440px; height: 440px; border-style: dashed; opacity: 0.3; animation: spin 60s linear infinite; }

/* The Orbiting Nodes */
.node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #1e293b;
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

/* Node Animations */
.node-1 { animation: orbit1 20s linear infinite; }
.node-2 { animation: orbit2 30s linear infinite; }
.node-3 { animation: orbit3 25s linear infinite reverse; }

@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit1 {
    from { transform: rotate(0deg) translateX(110px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(110px) rotate(-360deg); }
}

@keyframes orbit2 {
    from { transform: rotate(120deg) translateX(170px) rotate(-120deg); }
    to   { transform: rotate(480deg) translateX(170px) rotate(-480deg); }
}

@keyframes orbit3 {
    from { transform: rotate(240deg) translateX(220px) rotate(-240deg); }
    to   { transform: rotate(600deg) translateX(220px) rotate(-600deg); }
}


/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .eco-layout { grid-template-columns: 1fr; text-align: center; }
    .eco-content h2, .eco-content .section-tag { margin-left: auto; margin-right: auto; }
    .eco-intro { margin-left: auto; margin-right: auto; }
    .eco-card { text-align: left; }
    .eco-visual-side { margin-top: 4rem; transform: scale(0.8); }
}

@media (max-width: 968px) {
    .intro-layout, 
    .vm-grid {
        grid-template-columns: 1fr;
    }
    
    .objectives-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-right { margin-top: 2rem; }
    .vm-card { padding: 3rem; }
}

@media (max-width: 640px) {
    .eco-card-grid { grid-template-columns: 1fr; }
    .network-atom { width: 300px; height: 300px; }
    .ring-1 { width: 160px; height: 160px; }
    .ring-2 { width: 220px; height: 220px; }
    .ring-3 { width: 280px; height: 280px; }
    
    @keyframes orbit1 {
        from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
        to   { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
    }
    @keyframes orbit2 {
        from { transform: rotate(120deg) translateX(110px) rotate(-120deg); }
        to   { transform: rotate(480deg) translateX(110px) rotate(-480deg); }
    }

    .objectives-grid,
    .team-grid,
    .values-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .page-hero h1 { font-size: 2.5rem; }
}