/* =========================================================
   LB Infosys — Global Stylesheet  (Modern Rebuild 2025)
   Aesthetic: Corporate-tech, dark-navy base, sharp emerald accent,
   editorial layout, kinetic typography.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:       #05080f;
  --navy-mid:   #0b1120;
  --navy-soft:  #111827;
  --emerald:    #00e87b;
  --emerald-dim:#00c965;
  --slate:      #94a3b8;
  --white:      #f1f5f9;
  --white-pure: #ffffff;
  --border:     rgba(255,255,255,0.07);
  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
  --radius:     6px;
  --shadow:     0 8px 32px rgba(0,0,0,0.45);
  --trans:      0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Utility ────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.accent     { color: var(--emerald); }
.tag-label  { display: inline-block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald); font-family: var(--font-head); font-weight: 600; margin-bottom: 14px; }
.section-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.15; color: var(--white-pure); }
.section-title span { color: var(--emerald); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--trans);
  cursor: pointer;
}
.btn-primary {
  background: var(--emerald); color: var(--navy);
}
.btn-primary:hover { background: var(--emerald-dim); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,232,123,0.35); }
.btn-outline {
  border: 1.5px solid var(--border); color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald); }

/* ── Nav ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px) saturate(1.6);
  background: rgba(5,8,15,0.82);
  border-bottom: 1px solid var(--border);
  transition: var(--trans);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--white-pure); letter-spacing: -0.02em;
}
.logo span { color: var(--emerald); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 6px 14px; font-size: 0.85rem; font-family: var(--font-head);
  font-weight: 600; color: var(--slate); border-radius: var(--radius);
  transition: var(--trans); position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--white-pure); }
.main-nav a.active::after {
  content: ''; position: absolute; bottom: -1px; left: 14px; right: 14px;
  height: 2px; background: var(--emerald); border-radius: 2px;
}
.nav-cta { margin-left: 18px; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 220px;
  background: var(--navy-soft); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px 0; opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: var(--trans);
}
.dropdown a {
  display: block; padding: 9px 20px; font-size: 0.83rem;
  color: var(--slate) !important; width: 100%; border-radius: 0 !important;
}
.dropdown a:hover { color: var(--emerald) !important; background: rgba(0,232,123,0.06); }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: var(--trans); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 70% at 70% 40%, rgba(0,232,123,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 20% 80%, rgba(0,100,200,0.06) 0%, transparent 60%),
              var(--navy);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.hero-eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--emerald); border-radius: 2px; }
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.05;
  letter-spacing: -0.03em; color: var(--white-pure);
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--emerald); }
.hero p { font-size: 1.15rem; color: var(--slate); max-width: 560px; margin-bottom: 40px; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.stat-item .stat-num {
  font-family: var(--font-head); font-weight: 800; font-size: 2rem;
  color: var(--white-pure);
}
.stat-item .stat-num span { color: var(--emerald); }
.stat-item .stat-label { font-size: 0.82rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }

/* ── Section Layout ──────────────────────────────────────── */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header p { color: var(--slate); font-size: 1.05rem; margin-top: 14px; line-height: 1.75; }
.section-alt { background: var(--navy-mid); }

/* ── Services Grid ───────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.service-card {
  background: var(--navy-soft); padding: 40px 32px;
  transition: var(--trans); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--emerald); transform: scaleX(0); transition: var(--trans);
  transform-origin: left;
}
.service-card:hover { background: #131e30; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 48px; height: 48px; background: rgba(0,232,123,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { width: 22px; height: 22px; color: var(--emerald); stroke: currentColor; fill: none; stroke-width: 1.8; }
.service-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--white-pure); margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--slate); line-height: 1.75; }
.service-card .card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-family: var(--font-head); font-weight: 700; color: var(--emerald); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 20px; opacity: 0; transition: var(--trans); }
.service-card:hover .card-link { opacity: 1; }

/* ── About Strip ─────────────────────────────────────────── */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-box {
  background: var(--navy-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 48px; position: relative; overflow: hidden;
}
.about-box::after {
  content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,232,123,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.about-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,232,123,0.1); border: 1px solid rgba(0,232,123,0.2);
  border-radius: 100px; padding: 8px 18px; font-size: 0.82rem;
  font-family: var(--font-head); font-weight: 700; color: var(--emerald);
  margin-bottom: 32px;
}
.about-text p { color: var(--slate); margin-bottom: 20px; font-size: 0.97rem; }
.strength-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.strength-item { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--white); }
.strength-item::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,232,123,0.15); border: 1.5px solid var(--emerald); flex-shrink: 0; display: grid; place-items: center; }

/* Progress bars */
.progress-section { margin-top: 48px; }
.progress-item { margin-bottom: 22px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--slate); margin-bottom: 8px; font-family: var(--font-head); }
.progress-label span:last-child { color: var(--emerald); font-weight: 700; }
.progress-track { height: 4px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--emerald), #00c4ff); border-radius: 4px; transform-origin: left; animation: growBar 1.4s cubic-bezier(0.4,0,0.2,1) forwards; transform: scaleX(0); }
@keyframes growBar { to { transform: scaleX(1); } }

/* ── Clients Grid ────────────────────────────────────────── */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.client-tile {
  background: var(--navy-soft); padding: 28px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: var(--trans);
}
.client-tile:hover { background: #131e30; }
.client-tile img { height: 44px; width: auto; object-fit: contain; filter: grayscale(1) brightness(0.7); transition: var(--trans); }
.client-tile:hover img { filter: grayscale(0) brightness(1); }
.client-tile span { font-size: 0.78rem; color: var(--slate); text-align: center; font-family: var(--font-head); font-weight: 600; }

/* ── Industries ──────────────────────────────────────────── */
.industries-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industry-card {
  background: var(--navy-soft); border: 1px solid var(--border);
  border-radius: 10px; padding: 28px 20px; text-align: center;
  transition: var(--trans);
}
.industry-card:hover { border-color: var(--emerald); background: rgba(0,232,123,0.04); transform: translateY(-4px); }
.industry-icon { font-size: 2rem; margin-bottom: 12px; }
.industry-card h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--white); }

/* ── Contact Grid ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.office-card {
  background: var(--navy-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 36px 32px;
  transition: var(--trans);
}
.office-card:hover { border-color: rgba(0,232,123,0.3); }
.office-card .office-tag { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--emerald); margin-bottom: 16px; }
.office-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--white-pure); margin-bottom: 18px; }
.office-card p { color: var(--slate); font-size: 0.9rem; line-height: 1.75; }
.office-card p + p { margin-top: 10px; }
.contact-form-section { background: var(--navy-mid); border-radius: 12px; padding: 48px; margin-top: 48px; border: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-family: var(--font-head); font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: 0.08em; }
.form-group input, .form-group textarea, .form-group select {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--white); border-radius: var(--radius);
  padding: 13px 16px; font-family: var(--font-body); font-size: 0.95rem;
  transition: var(--trans); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--emerald); background: rgba(0,232,123,0.04); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb-bar {
  padding: 88px 0 40px;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-bar .crumb { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--slate); margin-bottom: 12px; font-family: var(--font-head); }
.breadcrumb-bar .crumb a { color: var(--emerald); }
.breadcrumb-bar .crumb a:hover { text-decoration: underline; }
.breadcrumb-bar h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white-pure); }

/* ── Services Tab ────────────────────────────────────────── */
.tabs-wrapper { display: flex; gap: 32px; align-items: flex-start; }
.tabs-nav { width: 240px; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; }
.tab-btn {
  text-align: left; padding: 13px 18px; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  border-radius: var(--radius); background: transparent; color: var(--slate);
  transition: var(--trans); border-left: 3px solid transparent;
}
.tab-btn:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.tab-btn.active { color: var(--emerald); background: rgba(0,232,123,0.07); border-left-color: var(--emerald); }
.tab-content { display: none; flex: 1; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.tab-content h2 { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--white-pure); margin-bottom: 18px; }
.tab-content p { color: var(--slate); font-size: 0.97rem; line-height: 1.8; margin-bottom: 16px; }
.tab-content h3, .tab-content h4 { font-family: var(--font-head); font-weight: 700; color: var(--white-pure); margin: 24px 0 12px; font-size: 1.15rem; }
.fancy-list { margin-left: 0; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.fancy-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--slate); font-size: 0.93rem; }
.fancy-list li::before { content: '→'; color: var(--emerald); flex-shrink: 0; margin-top: 2px; font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-mid); border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { font-size: 1.2rem; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--slate); line-height: 1.75; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white-pure); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.88rem; color: var(--slate); transition: var(--trans); }
.footer-col ul a:hover { color: var(--emerald); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--slate);
}
.footer-bottom a { color: var(--emerald); }

/* ── Page announcement bar ───────────────────────────────── */
.topbar {
  background: var(--emerald); color: var(--navy);
  text-align: center; padding: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.topbar a { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-strip { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: fixed; inset: 68px 0 0; background: var(--navy); padding: 32px 28px; gap: 4px; z-index: 99; }
  .main-nav.open a { display: block; width: 100%; font-size: 1.1rem; }
  .dropdown { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; background: transparent; border: none; padding-left: 16px; }
  .nav-toggle { display: flex; flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .tabs-wrapper { flex-direction: column; }
  .tabs-nav { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
