/* ============================================================
   Techno First — Design System
   Palette:  Navy #0B1E33 · Teal #0FA6A3 · Cyan-Teal #17D4C4
             Off-white #F6F8FA · Slate text #29394A
   Display face: Sora · Body face: Inter
   Signature: animated "node network" motif — connection points
   that light up, echoing the business of systems integration.
   ============================================================ */

:root {
  --navy: #0B1E33;
  --navy-2: #10283F;
  --teal: #0FA6A3;
  --teal-light: #17D4C4;
  --bg: #F6F8FA;
  --surface: #FFFFFF;
  --text: #29394A;
  --text-soft: #5C7086;
  --border: #E4E9EE;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(11, 30, 51, 0.18);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html[data-theme="dark"] {
  --bg: #081420;
  --surface: #0F2135;
  --text: #E7EEF3;
  --text-soft: #97ACC0;
  --border: #1C3049;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  transition: background .3s ease, color .3s ease;
}

h1, h2, h3, h4, .brand-text, .display {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.01em;
}
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4 { color: #F2F6F9; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff;
  padding: .6rem 1rem; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

a { text-decoration: none; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }

.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal-light); display: inline-block; }

.section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin: .5rem 0 1rem; }
.section-lead { color: var(--text-soft); font-size: 1.05rem; max-width: 640px; }

.btn-teal {
  background: var(--teal); color: #fff; border: none; padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-family: var(--font-display); display: inline-flex; align-items: center; gap: .5rem;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn-teal:hover { background: var(--teal-light); transform: translateY(-2px); color: #06251f; box-shadow: 0 12px 24px -10px rgba(15,166,163,.55); }

.btn-outline-light-custom {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); padding: .78rem 1.6rem;
  border-radius: 999px; font-weight: 600; font-family: var(--font-display); display: inline-flex; align-items: center; gap: .5rem;
  transition: all .25s ease;
}
.btn-outline-light-custom:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

/* ===== Top bar ===== */
.topbar { background: var(--navy); color: #C9D6E3; font-size: .85rem; padding: .45rem 0; }
.topbar-item i { color: var(--teal-light); margin-right: .35rem; }
.topbar-socials { display: flex; align-items: center; gap: .9rem; }
.topbar-socials a { color: #C9D6E3; transition: color .2s; }
.topbar-socials a:hover { color: var(--teal-light); }
.theme-toggle { background: none; border: none; color: #C9D6E3; font-size: 1rem; cursor: pointer; padding: 0 0 0 .4rem; }
.theme-toggle:hover { color: var(--teal-light); }

/* ===== Nav ===== */
.site-nav { background: var(--surface); box-shadow: 0 1px 0 var(--border); position: sticky; top: 0; z-index: 1000; transition: background .3s; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: .95rem; margin-right: .5rem;
}
.brand-text { font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.brand-text em { font-style: normal; color: var(--teal); }
.navbar-nav .nav-link { font-weight: 600; color: var(--text); padding: .6rem 1rem !important; position: relative; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--teal); }
.nav-btn {
  background: var(--navy); color: #fff !important; padding: .6rem 1.2rem; border-radius: 999px; font-weight: 600;
  margin-left: .5rem; display: inline-flex; align-items: center; gap: .4rem; transition: background .25s, transform .25s;
}
.nav-btn:hover { background: var(--teal); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  position: relative; background: radial-gradient(120% 120% at 15% 10%, #10304C 0%, var(--navy) 55%, #071322 100%);
  color: #fff; overflow: hidden; padding: 7rem 0 6rem;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-content { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--teal-light); }
.hero .eyebrow::before { background: var(--teal-light); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.12; margin: 1rem 0 1.25rem; }
.hero h1 .accent { color: var(--teal-light); }
.hero p.lead-text { color: #B9C8D8; font-size: 1.15rem; max-width: 560px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.2rem; margin-top: 3.5rem; flex-wrap: wrap; }
.hero-stat strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--teal-light); display: block; }
.hero-stat span { color: #93A6BA; font-size: .85rem; }

/* ===== Node / circuit motif (signature element) ===== */
.node-divider { height: 46px; width: 100%; display: block; }
.card-trace {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--border); transition: background .3s, width .3s;
}

/* ===== Industries strip ===== */
.industries-strip { background: var(--surface); }
.industry-chip {
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: .9rem 1.4rem;
  display: flex; align-items: center; gap: .6rem; font-weight: 600; transition: all .25s ease; height: 100%;
}
.industry-chip i { color: var(--teal); font-size: 1.2rem; }
.industry-chip:hover { border-color: var(--teal); background: var(--surface); box-shadow: var(--shadow); transform: translateY(-3px); }

/* ===== About ===== */
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; display: block; }
.about-badge {
  position: absolute; bottom: -1.2rem; right: -1.2rem; background: var(--teal); color: #fff; border-radius: var(--radius);
  padding: 1.1rem 1.4rem; box-shadow: 0 14px 30px -10px rgba(15,166,163,.5); font-family: var(--font-display);
}
.about-badge strong { display: block; font-size: 1.6rem; }
.about-badge span { font-size: .78rem; opacity: .9; }

/* ===== Cards (Why choose us / Services / Solutions) ===== */
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem 1.6rem;
  height: 100%; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card:hover .card-trace { background: var(--teal); width: 4px; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1.1rem;
}
.feature-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { color: var(--text-soft); font-size: .92rem; margin: 0; }

/* ===== Promise / infographic ===== */
.promise-section { background: var(--surface); }
.promise-tile {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1rem; text-align: center;
  font-weight: 600; font-size: .88rem; height: 100%; transition: all .25s;
}
.promise-tile i { display: block; font-size: 1.6rem; color: var(--teal); margin-bottom: .6rem; }
.promise-tile:hover { background: var(--navy); color: #fff; }
.promise-tile:hover i { color: var(--teal-light); }

/* ===== Info security dark section ===== */
.infosec-section {
  background: radial-gradient(100% 100% at 85% 0%, #10304C 0%, var(--navy) 60%, #060F1A 100%); color: #fff; position: relative; overflow: hidden;
}
.infosec-section h2 { color: #fff; }
.infosec-section p { color: #AFC0D2; }
.infosec-grid-bg { position: absolute; inset: 0; opacity: .25; }

/* ===== Alliances / partner carousel ===== */
.alliances-section { background: var(--bg); }
.partner-track-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partner-track { display: flex; gap: 3.5rem; width: max-content; animation: scrollTrack 26s linear infinite; align-items: center; }
.partner-track:hover { animation-play-state: paused; }
.partner-track img { height: 40px; filter: grayscale(1) opacity(.65); transition: filter .25s; }
.partner-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes scrollTrack { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Contact ===== */
.contact-panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.2rem; border: 1px solid var(--border); }
.form-control, .form-select {
  border-radius: 10px; border: 1px solid var(--border); padding: .7rem 1rem; background: var(--bg); color: var(--text);
}
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,166,163,.18); background: var(--surface); }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-info-item i { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #B9C8D8; padding: 4rem 0 1.5rem; }
.site-footer .footer-brand { color: #fff; font-size: 1.3rem; display: inline-flex; align-items: center; margin-bottom: 1rem; }
.footer-about { font-size: .9rem; color: #93A6BA; max-width: 320px; }
.footer-socials a { color: #B9C8D8; margin-right: .9rem; font-size: 1.1rem; }
.footer-socials a:hover { color: var(--teal-light); }
.footer-heading { color: #fff; font-family: var(--font-display); font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.footer-links li { margin-bottom: .7rem; color: #93A6BA; }
.footer-links a { color: #B9C8D8; transition: color .2s; }
.footer-links a:hover { color: var(--teal-light); }
.newsletter-form { display: flex; margin-top: .8rem; border: 1px solid #22405E; border-radius: 999px; overflow: hidden; }
.newsletter-form input { flex: 1; border: none; background: transparent; padding: .6rem 1rem; color: #fff; font-size: .85rem; }
.newsletter-form input::placeholder { color: #7488A0; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { background: var(--teal); border: none; color: #fff; width: 42px; }
.footer-divider { border-color: #1C3049; margin: 2.5rem 0 1.5rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: #7488A0; }
.footer-bottom a { color: #7488A0; }
.footer-bottom a:hover { color: var(--teal-light); }

#backToTop {
  position: fixed; bottom: 1.6rem; right: 1.6rem; width: 46px; height: 46px; border-radius: 50%; background: var(--teal);
  color: #fff; border: none; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease; z-index: 999;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Page hero (interior pages) ===== */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #10304C 100%); color: #fff; padding: 5rem 0 3.5rem; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.breadcrumb-custom { color: #93A6BA; font-size: .88rem; }
.breadcrumb-custom a { color: var(--teal-light); }

@media (max-width: 991px) {
  .hero { padding: 4rem 0 3.5rem; text-align: left; }
  .section { padding: 3.6rem 0; }
}
