/* ============================================================
   HOME.CSS — Infinity Enterprises
   Theme: Futuristic Innovation + Digital Horizon
   ============================================================ */

/* ── 1. HERO ── */
.ie-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding-top: var(--header-height); }
.hero-aurora { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% -20%, rgba(139, 92, 246, 0.15), transparent 60%), radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1), transparent 50%); filter: blur(60px); animation: auroraShift 15s ease-in-out infinite alternate; }
@keyframes auroraShift { 0% { transform: scale(1); } 100% { transform: scale(1.2) translate(5%, 5%); } }
.hero-content { position: relative; z-index: 10; max-width: 900px; }
.hero-content h1 { margin-bottom: 24px; }
.hero-content p { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ── 2. FOUNDER VISION ── */
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.vision-image { position: relative; border-radius: 24px; overflow: hidden; }
.vision-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-dark), transparent); }
.vision-text blockquote { font-family: var(--font-heading); font-size: 2rem; color: var(--text-primary); line-height: 1.3; margin-bottom: 30px; }
.vision-author { font-weight: 600; color: var(--highlight); }

/* ── 3. STATISTICS DASHBOARD (Bento Grid) ── */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px); gap: 24px; }
.bento-item { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; transition: var(--transition-fast); }
.bento-item:hover { border-color: var(--border-glow); transform: translateY(-5px); }
.bento-item.large { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, rgba(30,58,138,0.2), rgba(139,92,246,0.1)); }
.bento-item.wide { grid-column: span 2; }
.bento-number { font-family: var(--font-heading); font-size: 3.5rem; color: var(--text-primary); line-height: 1; margin-bottom: 10px; }
.bento-label { font-size: 1rem; color: var(--text-secondary); }
.bento-item.large .bento-number { font-size: 5rem; }

/* ── 4. INNOVATION OVERVIEW ── */
.innovation-section { text-align: center; }
.innovation-section h2 { max-width: 800px; margin: 0 auto 30px; }
.innovation-section p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

/* ── 5. SERVICE HIGHLIGHTS ── */
.services-flex { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 40px; scroll-snap-type: x mandatory; }
.services-flex::-webkit-scrollbar { height: 6px; }
.services-flex::-webkit-scrollbar-track { background: var(--bg-dark); }
.services-flex::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
.service-card { min-width: 350px; background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: 24px; padding: 40px; scroll-snap-align: start; transition: var(--transition-fast); }
.service-card:hover { border-color: var(--highlight); background: rgba(30,58,138,0.2); }
.service-icon { width: 50px; height: 50px; background: rgba(6, 182, 212, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--highlight); font-size: 1.5rem; margin-bottom: 24px; }
.service-card h3 { margin-bottom: 16px; font-size: 1.5rem; }

/* ── 6. WHY INFINITY & 7. INDUSTRIES ── */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.ind-card { padding: 30px; background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: 16px; text-align: center; font-family: var(--font-heading); font-weight: 500; transition: var(--transition-fast); }
.ind-card:hover { background: var(--text-primary); color: var(--bg-dark); }

/* ── 8. INTERACTIVE TIMELINE ── */
.timeline { position: relative; max-width: 800px; margin: 60px auto 0; }
.timeline::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 100%; background: linear-gradient(to bottom, var(--highlight), var(--accent)); opacity: 0.3; }
.timeline-node { position: relative; margin-bottom: 60px; width: 50%; padding-right: 40px; text-align: right; }
.timeline-node:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 40px; text-align: left; }
.timeline-node::after { content: ''; position: absolute; top: 0; right: -8px; width: 16px; height: 16px; background: var(--bg-dark); border: 2px solid var(--highlight); border-radius: 50%; box-shadow: 0 0 15px var(--highlight); }
.timeline-node:nth-child(even)::after { right: auto; left: -8px; }
.time-year { font-family: var(--font-heading); font-size: 2rem; color: var(--text-primary); margin-bottom: 10px; }

/* ── 9. TRANSFORMATION PROCESS ── */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.process-step { position: relative; padding-top: 30px; border-top: 2px solid var(--border-light); }
.process-step:hover { border-color: var(--accent); }
.step-num { position: absolute; top: -15px; left: 0; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--bg-dark); background: var(--text-primary); padding: 4px 12px; border-radius: 20px; }

/* ── 10. SUCCESS STORIES & 11. TESTIMONIALS ── */
.testimonial-card { background: linear-gradient(135deg, var(--bg-panel), rgba(139,92,246,0.05)); border: 1px solid var(--border-light); border-radius: 24px; padding: 50px; text-align: center; max-width: 800px; margin: 0 auto; }
.testimonial-card p { font-size: 1.25rem; color: var(--text-primary); font-style: italic; margin-bottom: 30px; }
.test-author h4 { margin-bottom: 5px; }

/* ── 12. FAQs ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); padding: 30px 0; }
.faq-item h4 { font-size: 1.2rem; margin-bottom: 15px; color: var(--text-primary); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .vision-grid, .bento-grid, .process-grid { grid-template-columns: 1fr; }
  .bento-item.large, .bento-item.wide { grid-column: span 1; grid-row: span 1; }
  .bento-grid { grid-template-rows: auto; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 0; }
  .timeline-node { width: 100%; padding-left: 40px; padding-right: 0; text-align: left; }
  .timeline-node::after { left: -8px; right: auto; }
  .timeline-node:nth-child(even) { margin-left: 0; }
}
@media (max-width: 600px) {
  .industries-grid { grid-template-columns: 1fr; }
}
