/* Orvika Infotech – Variables & base */
:root {
  --bg: #0a0f14;
  --bg-elevated: #111920;
  --surface: #161e28;
  --border: #2a3544;
  --text: #e6edf5;
  --text-muted: #8b9cb3;
  --accent: #00c9b7;
  --accent-dim: #00a89a;
  --accent-glow: rgba(0, 201, 183, 0.25);
  --warm: #f4a261;
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dim); }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); background: rgba(10,15,20,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--text); padding: 0.4rem 0.85rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.logo:hover { color: var(--text); opacity: 0.95; border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.logo-img { height: 36px; width: auto; display: block; object-fit: contain; }
.logo-name { font-size: 1.15rem; white-space: nowrap; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.75rem; }
.nav a { display: inline-block; padding: 0.5rem 1rem; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; border: 1px solid var(--border); border-radius: 999px; background: transparent; transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.nav a:hover { color: var(--accent); border-color: var(--accent); background: rgba(0,201,183,0.08); }
.nav a.active { color: var(--bg); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.nav a:active { transform: scale(0.97); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; color: var(--text); }
.menu-toggle span { width: 24px; height: 2px; background: currentColor; border-radius: 1px; }
@media (max-width: 768px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg-elevated); border-bottom: 1px solid var(--border); padding: 1rem; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform 0.25s, opacity 0.25s; }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0.5rem; }
  .menu-toggle { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.6rem; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; border-radius: var(--radius); border: none; cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-dim); box-shadow: 0 0 24px var(--accent-glow); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg); }
.btn-outline-light { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--accent-glow) 0%, transparent 50%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: stretch; min-height: calc(100vh - var(--header-h) - 4rem); }
.hero-content { max-width: 540px; display: flex; flex-direction: column; justify-content: center; }
.hero-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 48px rgba(0,0,0,0.4); min-height: 0; }
.hero-figure img { width: 100%; height: 100%; min-height: 280px; display: block; object-fit: cover; }
.hero-tag { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; margin: 0 0 1.25rem; letter-spacing: -0.02em; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-desc { font-size: 1.15rem; color: var(--text-muted); max-width: 520px; margin: 0 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: none; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-figure { max-width: 480px; margin: 0 auto; }
  .hero-figure img { height: auto; min-height: 0; }
}

/* Sections */
.section { padding: 5rem 0; }
.section-label { display: inline-block; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin: 0 0 1rem; letter-spacing: -0.02em; }
.section-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 0 2.5rem; }
.section-cta { margin-top: 2rem; }
.section-cta-internships { display: flex; flex-wrap: wrap; gap: 1rem; }
.section-figure { margin: 0 0 2.5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.section-figure img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 380px; }

/* About */
.section-about { background: var(--bg); }
.about-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.about-block { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.about-block .about-num { display: block; font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }
.about-block h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.about-block p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
.about-tech-label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin: 0 0 0.75rem; }
.about-tech { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tech-pill { display: inline-block; padding: 0.45rem 1rem; font-size: 0.9rem; font-weight: 500; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; color: var(--text); }
.tech-pill:hover { border-color: var(--accent); color: var(--accent); }

/* Internships – cards */
.section-internships { background: var(--bg-elevated); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: border-color 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.card:hover { border-color: var(--accent); box-shadow: 0 0 32px var(--accent-glow); }
.card-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.card h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 0.5rem; }
.card p { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.95rem; }
.card-explore-btn { display: inline-block; padding: 0.4rem 0.75rem; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; color: var(--accent); background: transparent; border: 1px solid var(--accent); border-radius: var(--radius); cursor: pointer; transition: background 0.2s, color 0.2s; margin-top: auto; }
.card-explore-btn:hover { background: var(--accent); color: var(--bg); }

/* Explore more panel */
.explore-more-panel { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.explore-more-panel.is-open { opacity: 1; visibility: visible; }
.explore-more-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.explore-more-content { position: relative; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); max-width: 720px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 2rem; box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
.explore-more-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border: none; background: var(--surface); color: var(--text-muted); font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: var(--radius); }
.explore-more-close:hover { color: var(--text); background: var(--border); }
.explore-more-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 1.5rem; padding-right: 2.5rem; }
.explore-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.explore-block h4 { font-size: 1rem; font-weight: 600; color: var(--accent); margin: 0 0 0.75rem; }
.explore-list, .roadmap-list { margin: 0; padding-left: 1.25rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.explore-list li, .roadmap-list li { margin-bottom: 0.4rem; }
.roadmap-list { list-style: none; padding-left: 0; }
.roadmap-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; }
.roadmap-list li::before { position: absolute; left: 0; font-weight: 700; color: var(--accent); }
.roadmap-list li:nth-child(1)::before { content: '1'; }
.roadmap-list li:nth-child(2)::before { content: '2'; }
.roadmap-list li:nth-child(3)::before { content: '3'; }
.roadmap-list li:nth-child(4)::before { content: '4'; }
@media (max-width: 600px) { .explore-more-grid { grid-template-columns: 1fr; } }

/* Ideas */
.section-ideas { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); }
.ideas-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.idea-block { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.idea-block h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--warm); }
.idea-block p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
.ideas-cta-text { color: var(--text-muted); margin-bottom: 1rem; }

/* Websites – service boxes */
.section-websites { background: var(--bg-elevated); }
.service-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-box { aspect-ratio: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.service-box:hover { border-color: var(--accent); box-shadow: 0 0 28px var(--accent-glow); transform: translateY(-4px); }
.service-box h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 0 0 0.5rem; line-height: 1.3; }
.service-box p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.45; }
@media (max-width: 900px) { .service-boxes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .service-boxes { grid-template-columns: 1fr; } .service-box { aspect-ratio: auto; min-height: 120px; } }

/* Stats / Viz dashboard */
.section-stats { background: var(--bg-elevated); }
.viz-dashboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.viz-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.viz-title { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin: 0 0 1rem; text-align: center; }
.viz-donut-wrap, .viz-pie-wrap { display: flex; flex-direction: column; align-items: center; }
.donut-chart { position: relative; width: 160px; height: 160px; margin-bottom: 1rem; }
.donut-ring { width: 100%; height: 100%; border-radius: 50%; }
.donut-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90px; height: 90px; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; }
.donut-value { font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1.2; }
.donut-label { font-size: 0.75rem; color: var(--text-muted); }
.viz-legend { list-style: none; margin: 0; padding: 0; font-size: 0.8rem; color: var(--text-muted); width: 100%; }
.viz-legend li { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pie-chart { width: 160px; height: 160px; margin-bottom: 1rem; }
.pie-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.viz-area-wrap { display: flex; flex-direction: column; }
.area-chart { flex: 1; min-height: 140px; margin-bottom: 0.5rem; }
.area-svg { width: 100%; height: 100%; display: block; }
.viz-x-label { font-size: 0.8rem; color: var(--text-muted); margin: 0; text-align: center; }
@keyframes viz-blink { 0%, 100% { opacity: 1; box-shadow: 0 4px 20px rgba(0,0,0,0.15); } 50% { opacity: 0.6; box-shadow: 0 0 28px var(--accent-glow); } }
.viz-dashboard.viz-blink .viz-card { animation: viz-blink 1s ease-in-out 1; }
@media (max-width: 900px) { .viz-dashboard { grid-template-columns: 1fr 1fr; } .viz-area-wrap { grid-column: 1 / -1; } }
@media (max-width: 600px) { .viz-dashboard { grid-template-columns: 1fr; } .viz-area-wrap { grid-column: 1; } }
.stats-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat-num-item { text-align: center; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-num { display: block; font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 0.25rem; }
.stat-num-label { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 600px) { .stats-nums { grid-template-columns: 1fr; } }

/* Reviews */
.section-reviews { background: var(--bg); }
.section-reviews .section-title-reviews { border-bottom: none; text-decoration: none; margin-bottom: 1rem; }
.reviews-header { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 0.5rem; }
.reviews-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.reviews-arrow:hover { border-color: var(--accent); background: var(--accent); color: var(--bg); }
.reviews-header .section-title { flex: 0 1 auto; margin: 0; }
.reviews-scroll-wrap { margin: 0 -1.5rem; padding: 0 1.5rem; overflow: hidden; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.reviews-grid.reviews-scroll { display: flex; flex-wrap: nowrap; gap: 1.25rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
.reviews-grid.reviews-scroll .review-card { flex: 0 0 auto; width: 320px; min-width: 280px; scroll-snap-align: start; }
.review-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: border-color 0.2s; }
.review-card:hover { border-color: var(--accent); }
.review-stars { color: var(--warm); font-size: 1rem; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.review-text { font-size: 0.95rem; line-height: 1.55; color: var(--text); margin: 0 0 1rem; font-style: italic; }
.review-author { display: flex; flex-direction: column; gap: 0.15rem; }
.review-author strong { font-size: 0.95rem; color: var(--text); }
.review-author span { font-size: 0.85rem; color: var(--text-muted); }

/* Contact */
.section-contact { background: var(--surface); }
.contact-box { max-width: 720px; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form-row .form-row-full { grid-column: 1 / -1; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 0.85rem 1rem; font-family: var(--font-sans); font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.2s; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row select { cursor: pointer; }
@media (max-width: 600px) { .contact-form-row { grid-template-columns: 1fr; } }

/* Footer */
.footer { padding: 2.5rem 0; border-top: 1px solid var(--border); text-align: center; }
.footer-inner { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.1rem; color: var(--text); padding: 0.35rem 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.footer-logo-img { height: 32px; width: auto; display: block; object-fit: contain; }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.footer-copy { font-size: 0.85rem; color: var(--text-muted); margin: 0; opacity: 0.8; }

/* Chat bot */
.chat-bot { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; font-family: var(--font-sans); }
.chat-bot-toggle { width: 56px; height: 56px; border-radius: 50%; border: none; background: var(--accent); color: var(--bg); cursor: pointer; box-shadow: 0 4px 20px var(--accent-glow); display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; }
.chat-bot-toggle-style { width: 64px; height: 64px; padding: 0; background: transparent; box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.chat-bot-toggle-style:hover { box-shadow: 0 6px 28px rgba(0,201,183,0.35); }
.chat-bot-toggle:hover { transform: scale(1.05); }
.chat-bot-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.chat-bot-toggle-style .chat-bot-icon { width: 64px; height: 64px; }
.chat-bot-icon svg { width: 100%; height: 100%; }
.chat-bot-avatar { display: block; }
.chat-bot-window { position: absolute; bottom: 76px; right: 0; width: 340px; max-height: 420px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(0,0,0,0.4); display: none; flex-direction: column; overflow: hidden; }
.chat-bot-window.is-open { display: flex; }
.chat-bot-header { padding: 0.85rem 1rem; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 0.95rem; }
.chat-bot-close { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 0 0.25rem; }
.chat-bot-close:hover { color: var(--text); }
.chat-bot-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; min-height: 180px; max-height: 280px; }
.chat-msg { max-width: 85%; padding: 0.65rem 0.9rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.45; }
.chat-msg.bot { background: var(--surface); border: 1px solid var(--border); align-self: flex-start; }
.chat-msg.user { background: var(--accent); color: var(--bg); align-self: flex-end; }
.chat-msg p { margin: 0; }
.chat-bot-input-wrap { padding: 0.75rem 1rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; }
.chat-bot-input { flex: 1; padding: 0.65rem 0.9rem; font-family: var(--font-sans); font-size: 0.9rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.chat-bot-input:focus { outline: none; border-color: var(--accent); }
.chat-bot-send { padding: 0.65rem 1rem; font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; background: var(--accent); color: var(--bg); border: none; border-radius: var(--radius); cursor: pointer; }
.chat-bot-send:hover { background: var(--accent-dim); }
