/* =========================
   ABOUT PAGE ROOT & UTILS
========================= */

body, html {
    overflow-x: hidden;
    width: 100%;
}


.relative { position: relative; }
.z-index-1 { z-index: 1; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.align-center { align-items: center; }
.center-flex { display: flex; justify-content: center; gap: 16px; }

/* Scroll Reveal Specifics for About Us */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.is-visible { opacity: 1; transform: translate(0) scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =========================
   ABOUT HERO
========================= */

/* =========================
   ABOUT HERO
========================= */
.about-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px; /* Increased from 80px for better navbar breathing room */
    background: var(--white);
    overflow: hidden;
}

/* ADD THIS MISSING GRID RULE */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* This forces the 2-column layout */
    gap: 40px;
    align-items: center;
    z-index: 1;
    position: relative;
}
/* -------------------------- */

.about-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}

.about-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: var(--white);
    overflow: hidden;
}
.about-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}
.hero-glow {
    position: absolute; top: -20%; right: -10%; width: 60%; height: 80%;
    background: radial-gradient(circle, rgba(18,184,201,0.1) 0%, transparent 70%);
    filter: blur(60px);
}
.particle-field {
    position: absolute; width: 100%; height: 100%; top:0; left:0;
    pointer-events: none;
}
.particle {
    position: absolute; background: var(--primary); border-radius: 50%; opacity: 0.2;
    transition: transform 0.2s ease-out;
}
.hero-content, .hero-visual { position: relative; z-index: 1; }
.molecular-ring svg { width: 100%; max-width: 500px; height: auto; }
.spin-slow { transform-origin: center; animation: spin 40s linear infinite; }
.spin-reverse { transform-origin: center; animation: spinReverse 30s linear infinite; }
.pulse-core { animation: pulseGlow 3s infinite alternate; }
.float-node { animation: floatNode 6s infinite alternate ease-in-out; }
.n1 { animation-delay: 0s; } .n2 { animation-delay: -2s; } .n3 { animation-delay: -4s; } .n4 { animation-delay: -1s; }
.connecting-lines { opacity: 0.5; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: drawLines 3s forwards 1s; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }
@keyframes pulseGlow { 0% { filter: drop-shadow(0 0 10px rgba(11,94,215,0.4)); } 100% { filter: drop-shadow(0 0 25px rgba(11,94,215,0.8)); } }
@keyframes floatNode { 0% { transform: translateY(0px) translateX(0px); } 100% { transform: translateY(-15px) translateX(10px); } }
@keyframes drawLines { to { stroke-dashoffset: 0; } }

/* =========================
   COMPANY INTRO
========================= */
.editorial-text p { font-size: 1.1rem; color: var(--gray); margin-bottom: 20px; line-height: 1.8; }
.intro-visual-complex { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.glass-panel {
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 24px;
    box-shadow: 0 20px 40px rgba(11, 94, 215, 0.08); position: absolute;
}
.main-panel { width: 400px; height: 320px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.float-stat { padding: 16px 24px; display: flex; align-items: center; gap: 12px; z-index: 2; animation: floatNode 5s infinite alternate; }
.s1 { top: 50px; right: 0; }
.s2 { bottom: 100px; left: 20px; animation-delay: -2s; }
.stat-highlight { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: var(--primary); }
.stat-text { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.abstract-molecule { position: relative; width: 370px; height: 150px; }
.mol-dot { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--secondary); animation: pulseGlow 2s infinite alternate; }
.d1 { top: 20%; left: 20%; background: var(--primary); }
.d2 { top: 50%; right: 10%; background: var(--accent); }
.d3 { bottom: 10%; left: 40%; }
.mol-connectors { position: absolute; top:0; left:0; width:100%; height:100%; z-index:-1; opacity:0.5; }

/* =========================
   JOURNEY TIMELINE
========================= */
.timeline-container { position: relative; margin-top: 60px; padding: 20px 0; }
.timeline-track { position: absolute; top: 24px; left: 0; width: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width 1s ease-out; z-index: 1; border-radius: 2px; }
.timeline-track::before { content: ''; position: absolute; top: 0; left: 0; width: 100vw; height: 4px; background: var(--gray-light); z-index: -1; }
.timeline-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; z-index: 2; }
.milestone { position: relative; padding-top: 40px; }
.milestone-node { position: absolute; top: 16px; left: 0; width: 20px; height: 20px; background: var(--white); border: 4px solid var(--gray-light); border-radius: 50%; transition: all 0.4s; }
.milestone.is-visible .milestone-node { border-color: var(--primary); box-shadow: 0 0 15px rgba(11,94,215,0.4); }
.active-node { border-color: var(--accent) !important; background: var(--accent) !important; box-shadow: 0 0 20px rgba(67, 217, 163, 0.6) !important; }
.milestone-year { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.milestone-title { font-size: 1.1rem; margin-bottom: 8px; }
.milestone-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

/* =========================
   VISION & MISSION
========================= */
.vm-section { position: relative; overflow: hidden; }
.vm-background { position: absolute; top:0; left:0; width:100%; height:100%; background: radial-gradient(circle at center, rgba(11,94,215,0.2) 0%, transparent 60%); opacity: 0.5; }
.vm-layout { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; gap: 40px; }
.vm-block { flex: 1; padding: 40px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; backdrop-filter: blur(10px); }
.vm-title { font-size: 2rem; margin-bottom: 16px; color: var(--white); }
.vm-desc { color: var(--gray-light); font-size: 1.05rem; }
.vm-core { width: 200px; height: 200px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.glowing-core { width: 120px; height: 120px; border-radius: 50%; background: rgba(18, 184, 201, 0.1); border: 2px solid var(--secondary); display: flex; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 40px rgba(18, 184, 201, 0.4); z-index: 2; position: relative; }
.core-text { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; color: var(--white); }
.core-rings { position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px; border: 1px dashed var(--primary); border-radius: 50%; animation: spin 20s linear infinite; }
.vm-connectors { position: absolute; width: 120%; height: 100px; top: 50%; left: -10%; transform: translateY(-50%); z-index: 1; }
.mission-pillars { list-style: none; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mission-pillars li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 0.95rem; }
.pillar-icon { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); }

/* =========================
   CORE VALUES
========================= */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.value-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: 20px; padding: 40px 32px; position: relative; overflow: hidden; transition: var(--transition); z-index: 1; }
.value-number { position: absolute; top: 20px; right: 24px; font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--light); z-index: -1; transition: var(--transition); }
.value-icon { width: 48px; height: 48px; color: var(--primary); margin-bottom: 24px; }
.value-title { font-size: 1.5rem; margin-bottom: 12px; }
.value-desc { color: var(--gray); font-size: 0.95rem; }
.value-glow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(11,94,215,0.05) 0%, transparent 70%); opacity: 0; transition: var(--transition); z-index: -1; pointer-events: none; }
.value-card:hover { transform: translateY(-10px); border-color: rgba(11, 94, 215, 0.3); box-shadow: 0 20px 40px rgba(11, 94, 215, 0.08); }
.value-card:hover .value-number { color: rgba(11, 94, 215, 0.1); transform: scale(1.2) translate(-10px, 10px); }
.value-card:hover .value-glow { opacity: 1; }

/* =========================
   CULTURE ORBIT
========================= */
.feature-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.f-icon { width: 24px; height: 24px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%230B5ED7" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>') center no-repeat; flex-shrink: 0; margin-top: 2px; }
.orbital-system { width: 400px; height: 400px; position: relative; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.orbit-center { width: 100px; height: 100px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; box-shadow: 0 0 30px rgba(11,94,215,0.5); z-index: 2; }
.orbit-path { position: absolute; width: 300px; height: 300px; border: 1px dashed var(--gray); border-radius: 50%; opacity: 0.3; animation: spin 20s linear infinite; }
.orbit-item { position: absolute; width: 80px; height: 80px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; font-family: var(--font-heading); box-shadow: 0 10px 20px rgba(0,0,0,0.05); color: var(--dark); border: 2px solid var(--light); animation: spinReverse 20s linear infinite; }
/* Manual Positioning for 5 items around 150px radius (300px diameter path) */
.o1 { transform: rotate(0deg) translate(150px) rotate(0deg); }
.o2 { transform: rotate(72deg) translate(150px) rotate(-72deg); }
.o3 { transform: rotate(144deg) translate(150px) rotate(-144deg); }
.o4 { transform: rotate(216deg) translate(150px) rotate(-216deg); }
.o5 { transform: rotate(288deg) translate(150px) rotate(-288deg); }

/* =========================
   PEOPLE
========================= */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { padding: 40px; background: var(--light); border-radius: 20px; text-align: center; border: 1px solid transparent; transition: var(--transition); }
.team-card:hover { background: var(--white); border-color: var(--gray-light); box-shadow: 0 15px 30px rgba(0,0,0,0.05); transform: translateY(-5px); }
.avatar-placeholder { width: 80px; height: 80px; margin: 0 auto 20px; background: var(--gray-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.avatar-placeholder svg { width: 40px; height: 40px; }
.team-card h5 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card p { color: var(--gray); font-size: 0.9rem; margin: 0; }

/* =========================
   QUALITY & IMPACT
========================= */
.quality-section { position: relative; overflow: hidden; }
.technical-grid-bg { position: absolute; top:0; left:0; width:100%; height:100%; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 40px 40px; opacity: 0.5; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 60px; }
.impact-card { text-align: center; }
.impact-number { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; line-height: 1; }
.impact-label { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-light); }

/* =========================
   FUTURE VISION
========================= */
.future-visual { display: flex; justify-content: center; }
.globe-network { width: 300px; height: 300px; position: relative; }
.rotating-globe { width: 100%; height: 100%; animation: spin 30s linear infinite; }
.pulse { animation: pulseGlow 2s infinite alternate; }
.sustainability-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { padding: 8px 16px; background: var(--light); border: 1px solid var(--gray-light); border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--primary); }

/* =========================
   FINAL CTA
========================= */
.about-cta-section { position: relative; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); overflow: hidden; }
.cta-particles { position: absolute; top:0; left:0; width:100%; height:100%; }
.about-cta-section .cta-title { font-size: 3rem; margin-bottom: 24px; color: var(--white); }
.about-cta-section .cta-desc { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto; }

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 1024px) {
    .vm-layout { flex-direction: column; text-align: center; }
    .vm-core { margin: 40px 0; }
    .vm-connectors { display: none; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {


    /* ... keep your existing mobile rules ... */

    /* 1. Fix the fixed-width Intro Graphics overflowing the screen */
    .intro-visual-complex {
        width: 100%;
    }
    .main-panel {
        width: 100%;
        max-width: 320px; /* Prevents it from exceeding mobile screens */
    }
    .abstract-molecule {
        width: 100%;
        max-width: 260px; /* Shrinks inner molecule to fit */
    }

    /* 2. Contain the 400px Orbital System so it doesn't stretch the page */
    .culture-section {
        overflow: hidden; 
        width: 100%;
    }
    .orbital-system {
        transform: scale(0.65); /* Shrinks it slightly more to fit nicely on a 320px screen */
        margin: 20px auto;
    }

    /* 3. Keep the floating stats inside the screen */
    .s1 { right: 10px; top: 10px; }
    .s2 { left: 10px; bottom: 10px; }


    .hero-title { font-size: 2.5rem; }
    .hero-container, .intro-section .grid-2, .culture-section .grid-2, .future-section .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .about-hero { min-height: auto; padding-bottom: 60px; }
    
    .timeline-track { display: none; }
    .timeline-grid { grid-template-columns: 1fr; border-left: 2px solid var(--gray-light); margin-left: 20px; padding-left: 30px; }
    .milestone { padding-top: 0; margin-bottom: 40px; }
    .milestone-node { left: -41px; top: 0; }
    
    .mission-pillars { grid-template-columns: 1fr; text-align: left; max-width: 200px; margin: 24px auto 0; }
    
    .values-grid, .people-grid { grid-template-columns: 1fr; }
    
    .feature-list { text-align: left; }
    .orbital-system { transform: scale(0.7); margin: 40px auto; }
    
    .impact-grid { grid-template-columns: 1fr; border-top: none; padding-top: 30px; }
    .about-cta-section .cta-title { font-size: 2rem; }
    .center-flex { flex-direction: column; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .particle-field, .cta-particles { display: none; }
}