/* Nimble AI — GlobalLogic Enterprise AI layout clone */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --orange: #FF5F2D;
  --orange-dark: #E54E1F;
  --text: #181A24;
  --text-muted: #484F6B;
  --gray-bg: #F2F3F6;
  --white: #ffffff;
  --testimonial-bg: #484F6B;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-dark); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.gl-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Header (white sticky) ── */
.gl-header {
  position: sticky; top: 0; z-index: 900; background: var(--white);
  border-bottom: 1px solid #E5E7EB; height: 72px;
}
.gl-header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; gap: 8px;
}
.gl-logo { display: flex; flex-direction: column; line-height: 1.1; margin-right: 16px; }
.gl-logo strong { font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.gl-logo small { font-size: 10px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; }

.gl-nav { display: flex; align-items: center; flex: 1; gap: 0; }
.gl-nav-item { position: relative; }
.gl-nav-item > a, .gl-nav-item > span {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px;
  font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer;
}
.gl-nav-item > a:hover, .gl-nav-item:hover > span { color: var(--orange); }
.gl-nav-highlight { color: var(--orange) !important; }

.gl-mega {
  position: absolute; top: 100%; left: 0; min-width: 440px;
  background: var(--white); box-shadow: 0 16px 48px rgba(24,26,36,0.12);
  border: 1px solid #E5E7EB; padding: 24px 28px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.2s; z-index: 200;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.gl-nav-item:hover .gl-mega { opacity: 1; visibility: visible; transform: none; }
.gl-mega h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); margin-bottom: 10px; }
.gl-mega a { display: block; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--text); }
.gl-mega a:hover { color: var(--orange); }

.gl-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); box-shadow: 0 12px 40px rgba(24,26,36,0.1);
  border: 1px solid #E5E7EB; padding: 6px 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.2s; z-index: 200;
}
.gl-nav-item:hover .gl-dropdown { opacity: 1; visibility: visible; transform: none; }
.gl-dropdown a { display: block; padding: 10px 18px; font-size: 14px; color: var(--text); font-weight: 500; }
.gl-dropdown a:hover { background: var(--gray-bg); color: var(--orange); }

.gl-header-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.gl-lang { font-size: 13px; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.gl-btn-contact {
  display: inline-flex; align-items: center; padding: 10px 22px;
  background: var(--orange); color: var(--white) !important; font-size: 14px; font-weight: 700;
  border-radius: 999px; transition: background 0.25s;
}
.gl-btn-contact:hover { background: var(--orange-dark); color: var(--white) !important; }
.gl-menu-btn { display: none; font-size: 24px; color: var(--text); padding: 8px; }

/* Drawer */
.gl-drawer { position: fixed; inset: 0; z-index: 950; pointer-events: none; }
.gl-drawer.open { pointer-events: auto; }
.gl-drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.3s; }
.gl-drawer.open .gl-drawer-bg { opacity: 1; }
.gl-drawer-panel {
  position: absolute; top: 0; right: 0; width: min(360px, 90vw); height: 100%;
  background: var(--white); padding: 24px; overflow-y: auto; transform: translateX(100%);
  transition: transform 0.35s var(--ease); box-shadow: -8px 0 32px rgba(0,0,0,0.1);
}
.gl-drawer.open .gl-drawer-panel { transform: none; }
.gl-drawer-close { font-size: 28px; margin-bottom: 16px; color: var(--text); }
.gl-drawer a { display: block; padding: 12px 0; font-weight: 600; border-bottom: 1px solid #E5E7EB; color: var(--text); }

/* ── Hero banner ── */
.gl-banner { background: var(--white); padding: 32px 0 0; }
.gl-breadcrumb { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 20px; }
.gl-breadcrumb a { color: var(--text-muted); }
.gl-breadcrumb a:hover { color: var(--orange); }
.gl-breadcrumb span { margin: 0 8px; opacity: 0.5; }
.gl-banner h1 {
  font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05; color: var(--text); margin-bottom: 16px;
}
.gl-banner-sub { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--text-muted); max-width: 720px; margin-bottom: 48px; line-height: 1.5; }

.gl-statement { padding: 48px 0 56px; background: var(--white); }
.gl-statement h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1.25;
  letter-spacing: -0.02em; color: var(--text); max-width: 920px; margin-bottom: 20px;
}
.gl-statement h2 em { font-style: normal; color: var(--orange); }
.gl-statement p { font-size: 17px; color: var(--text-muted); max-width: 800px; margin-bottom: 28px; line-height: 1.7; }
.gl-link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700;
  color: var(--orange); border-bottom: 2px solid var(--orange); padding-bottom: 4px;
}
.gl-link-arrow:hover { gap: 14px; }

.gl-banner-img { width: 100%; max-height: 520px; object-fit: cover; }

/* ── About block ── */
.gl-about { padding: 72px 0; background: var(--white); }
.gl-about h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; color: var(--text); }
.gl-about p { font-size: 16px; color: var(--text-muted); line-height: 1.75; max-width: 900px; margin-bottom: 16px; }

/* ── Impact blocks (alternating) ── */
.gl-impact { padding: 72px 0; background: var(--white); }
.gl-impact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gl-impact.reverse .gl-impact-inner { direction: rtl; }
.gl-impact.reverse .gl-impact-inner > * { direction: ltr; }
.gl-impact-img { border-radius: 2px; overflow: hidden; }
.gl-impact-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gl-impact-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.15; margin-bottom: 20px; color: var(--text);
}
.gl-impact-content > p { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }
.gl-impact-list li {
  position: relative; padding: 10px 0 10px 20px; font-size: 15px; font-weight: 600;
  color: var(--text); border-bottom: 1px solid #E5E7EB;
}
.gl-impact-list li::before {
  content: ''; position: absolute; left: 0; top: 18px; width: 8px; height: 8px;
  background: var(--orange); border-radius: 50%;
}

/* ── Agentic CSR block ── */
.gl-agentic {
  position: relative; padding: 88px 0; color: var(--white); overflow: hidden;
}
.gl-agentic-bg { position: absolute; inset: 0; }
.gl-agentic-bg img { width: 100%; height: 100%; object-fit: cover; }
.gl-agentic-bg::after { content: ''; position: absolute; inset: 0; background: rgba(24,26,36,0.78); }
.gl-agentic-inner { position: relative; z-index: 2; }
.gl-agentic-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 12px; }
.gl-agentic h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); font-weight: 800; max-width: 640px; margin-bottom: 16px; line-height: 1.15; }
.gl-agentic > .gl-container > p, .gl-agentic-lead { font-size: 16px; color: rgba(255,255,255,0.72); max-width: 640px; margin-bottom: 36px; line-height: 1.7; }
.gl-agentic-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; }
.gl-agentic-card {
  display: block; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden; transition: border-color 0.3s;
}
.gl-agentic-card:hover { border-color: var(--orange); }
.gl-agentic-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gl-agentic-card-body { padding: 20px 22px 24px; }
.gl-agentic-card h5 { font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--white); }
.gl-agentic-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.55; margin: 0; }

/* ── Industries (gray band + slider) ── */
.gl-industries { padding: 72px 0; background: var(--gray-bg); }
.gl-industries h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; margin-bottom: 36px; letter-spacing: -0.02em; }
.gl-industry-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.gl-industry-card {
  flex: 0 0 min(320px, 85vw); scroll-snap-align: start; background: var(--white);
  padding: 28px 26px; border: 1px solid #E5E7EB; min-height: 200px;
}
.gl-industry-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.gl-industry-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.gl-slider-nav { display: flex; gap: 10px; margin-top: 24px; justify-content: flex-end; }
.gl-slider-btn {
  width: 44px; height: 44px; border: 1px solid #D1D5DB; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: var(--white); color: var(--text); transition: all 0.2s;
}
.gl-slider-btn:hover { border-color: var(--orange); color: var(--orange); }

/* ── Counter (orange) ── */
.gl-counter { background: var(--orange); padding: 56px 0; color: var(--white); }
.gl-counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.gl-counter-item strong {
  display: block; font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 800; line-height: 1;
  margin-bottom: 8px;
}
.gl-counter-item p { font-size: 14px; font-weight: 500; opacity: 0.9; line-height: 1.45; }

/* ── Feature promo + differentiators ── */
.gl-features { padding: 72px 0; background: var(--white); }
.gl-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; background: var(--gray-bg); margin-bottom: 56px; flex-wrap: wrap;
}
.gl-promo h4 { font-size: 1.05rem; font-weight: 800; color: var(--text); max-width: 600px; line-height: 1.4; }
.gl-promo a { font-size: 14px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.gl-features h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; margin-bottom: 36px; }
.gl-diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.gl-diff h4 { font-size: 1rem; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.gl-diff p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.gl-diff a { color: var(--orange); font-weight: 600; }

/* ── Testimonial ── */
.gl-testimonial { background: var(--testimonial-bg); padding: 72px 0; color: var(--white); }
.gl-testimonial-inner { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; max-width: 900px; margin: 0 auto; }
.gl-testimonial img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.gl-testimonial blockquote { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.55; margin-bottom: 20px; }
.gl-testimonial cite { font-size: 14px; font-weight: 700; font-style: normal; }
.gl-testimonial cite span { display: block; font-weight: 500; opacity: 0.65; margin-top: 4px; font-size: 13px; }
.gl-testimonial-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--orange); }

/* ── Insights ── */
.gl-insights { padding: 72px 0; background: var(--white); }
.gl-insights-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.gl-insights-head h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; }
.gl-insights-head p { font-size: 16px; color: var(--text-muted); margin-top: 8px; }
.gl-insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gl-insight-card { display: block; border: 1px solid #E5E7EB; overflow: hidden; transition: box-shadow 0.3s; }
.gl-insight-card:hover { box-shadow: 0 12px 40px rgba(24,26,36,0.08); }
.gl-insight-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gl-insight-body { padding: 22px 24px 26px; }
.gl-insight-meta { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 8px; }
.gl-insight-card h3 { font-size: 17px; font-weight: 800; line-height: 1.4; color: var(--text); margin-bottom: 8px; }
.gl-insight-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.gl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gl-tag { font-size: 11px; font-weight: 600; padding: 4px 10px; background: var(--gray-bg); color: var(--text-muted); border-radius: 2px; }

/* ── Get in touch CTA ── */
.gl-getin { padding: 72px 0; background: var(--gray-bg); text-align: center; }
.gl-getin h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.gl-getin p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto 28px; line-height: 1.65; }

/* ── Footer ── */
.gl-footer { background: var(--text); color: rgba(255,255,255,0.55); padding: 56px 0 24px; }
.gl-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; margin-bottom: 40px; }
.gl-footer-brand strong { font-size: 1.2rem; color: var(--white); display: block; margin-bottom: 12px; }
.gl-footer-brand p { font-size: 14px; line-height: 1.65; margin-bottom: 8px; }
.gl-footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--white); margin-bottom: 14px; }
.gl-footer-col a { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,0.48); }
.gl-footer-col a:hover { color: var(--orange); }
.gl-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13px;
}
.gl-footer-bottom a { color: rgba(255,255,255,0.42); }

/* ── Inner pages ── */
.gl-page-hero { background: var(--white); padding: 40px 0 48px; border-bottom: 1px solid #E5E7EB; }
.gl-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.gl-page-hero p { font-size: 17px; color: var(--text-muted); max-width: 640px; }
.gl-content { padding: 56px 0 88px; }
.gl-content p { color: var(--text-muted); line-height: 1.75; max-width: 720px; margin-bottom: 16px; }
.gl-content img.hero-img { width: 100%; margin-bottom: 32px; border-radius: 2px; }
.gl-h2 { font-size: 1.45rem; font-weight: 800; margin: 32px 0 12px; color: var(--text); }
.gl-list { margin-bottom: 20px; }
.gl-list li { padding: 10px 0 10px 18px; position: relative; color: var(--text-muted); border-bottom: 1px solid #E5E7EB; }
.gl-list li::before { content: ''; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.gl-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gl-card { border: 1px solid #E5E7EB; overflow: hidden; display: block; transition: box-shadow 0.3s; }
.gl-card:hover { box-shadow: 0 12px 36px rgba(24,26,36,0.08); }
.gl-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gl-card-body { padding: 20px 22px 24px; }
.gl-card-body h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.gl-card-body p { font-size: 14px; color: var(--text-muted); margin: 0; max-width: none; }
.gl-notice { display: inline-block; margin-top: 20px; padding: 12px 16px; background: var(--gray-bg); font-size: 13px; font-weight: 600; color: var(--text-muted); border-left: 3px solid var(--orange); }
.gl-form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.gl-form input, .gl-form textarea { width: 100%; padding: 14px; margin-bottom: 16px; border: 1px solid #D1D5DB; font-family: var(--font); border-radius: 2px; }
.gl-form input:focus, .gl-form textarea:focus { outline: none; border-color: var(--orange); }
.gl-intro { font-size: 18px; color: var(--text); line-height: 1.75; max-width: 780px; margin-bottom: 32px; font-weight: 500; }
.gl-article-grid { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.gl-sidebar-box { background: var(--gray-bg); border: 1px solid #E5E7EB; padding: 20px 18px; margin-bottom: 14px; }
.gl-sidebar-box h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--orange); margin-bottom: 10px; }
.gl-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.gl-process-step { background: var(--gray-bg); border: 1px solid #E5E7EB; padding: 18px 14px; }
.gl-process-step em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--orange); display: block; margin-bottom: 6px; }
.gl-process-step strong { display: block; font-size: 14px; margin-bottom: 6px; }
.gl-process-step span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.gl-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.gl-reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .gl-impact-inner, .gl-agentic-cards, .gl-insight-grid, .gl-diff-grid, .gl-counter-grid { grid-template-columns: 1fr 1fr; }
  .gl-impact.reverse .gl-impact-inner { direction: ltr; }
  .gl-footer-grid { grid-template-columns: 1fr 1fr; }
  .gl-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .gl-nav { display: none; }
  .gl-menu-btn { display: block; }
  .gl-lang { display: none; }
  .gl-impact-inner, .gl-agentic-cards, .gl-insight-grid, .gl-diff-grid, .gl-counter-grid, .gl-card-grid { grid-template-columns: 1fr; }
  .gl-testimonial-inner { grid-template-columns: 1fr; text-align: center; }
  .gl-testimonial img { margin: 0 auto; }
}
