/* ============================================================
   Abpass IT – Global Stylesheet
   Edit colours in :root, layout per section below.
   ============================================================ */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --cyan:       #00b4d8;
  --cyan-dark:  #0096b4;
  --navy:       #0d1b2a;
  --navy-mid:   #122136;
  --dark-text:  #0d1b2a;
  --body-text:  #4a5568;
  --light-bg:   #f7f9fc;
  --white:      #ffffff;
  --card-border:#e2e8f0;
  --radius:     12px;
  --shadow:     0 2px 16px rgba(0,0,0,.07);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ── Typography helpers ───────────────────────────────────── */
.section-eyebrow {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--cyan);
  margin-bottom: 16px;
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--body-text);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}
.btn-primary:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

.btn-outline-dark {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-outline-dark:hover { background: var(--cyan); color: var(--white); }


/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 48px;
  width: auto;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.navbar-links a {
  font-weight: 500;
  color: var(--dark-text);
  transition: color .2s;
}
.navbar-links a:hover { color: var(--cyan); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 80px 0;
}

/* Binary spiral background – pure CSS SVG data URI */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cdefs%3E%3CradialGradient id='g' cx='60%25' cy='50%25'%3E%3Cstop offset='0' stop-color='%2300b4d8' stop-opacity='.18'/%3E%3Cstop offset='100%25' stop-color='%230d1b2a' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='800' height='600' fill='url(%23g)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: right center;
  opacity: .9;
}

/* Animated concentric rings */
.hero-rings {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
}

.hero-rings circle {
  fill: none;
  stroke: var(--cyan);
  stroke-opacity: .08;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }


/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--light-bg); padding: 60px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: .95rem;
  color: var(--body-text);
  font-weight: 500;
}


/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: #e0f7fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan-dark);
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--body-text);
  font-size: .95rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-link {
  color: var(--cyan-dark);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.service-link:hover { gap: 10px; }


/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why { background: var(--light-bg); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.why-points { display: flex; flex-direction: column; gap: 28px; }

.why-point h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark-text);
}

.why-point p {
  color: var(--body-text);
  font-size: .93rem;
  line-height: 1.65;
}

/* Checklist card */
.why-checklist {
  background: #e8f7fa;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.check-item { display: flex; gap: 16px; align-items: flex-start; }

.check-box {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--cyan);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.check-item h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.check-item p {
  font-size: .88rem;
  color: var(--body-text);
  line-height: 1.55;
}


/* ============================================================
   NEWS
   ============================================================ */
.news { background: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.news-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: var(--shadow); }

.news-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  width: fit-content;
}

.badge-technology { background: #e8f4fd; color: #1a73e8; }
.badge-project    { background: #f3e8fd; color: #8a2be2; }
.badge-company    { background: #fff3e0; color: #e65100; }
.badge-business   { background: #e8f5e9; color: #2e7d32; }

.news-date {
  font-size: .82rem;
  color: var(--body-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.4;
}

.news-card p {
  font-size: .88rem;
  color: var(--body-text);
  flex: 1;
  line-height: 1.55;
}

.news-cta { text-align: center; margin-top: 48px; }


/* ============================================================
   KAROS SOLUTIONS
   ============================================================ */
.karos { background: var(--light-bg); }

.karos-card {
  background: #e8f7fa;
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 48px;
}

.karos-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.karos-card-header h3 { font-size: 1.25rem; font-weight: 700; }

.karos-card > .tagline {
  font-weight: 600;
  font-size: .95rem;
  color: var(--dark-text);
  margin-bottom: 16px;
  margin-left: 68px;
}

.karos-card > p {
  color: var(--body-text);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.karos-focus {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.karos-focus h5 { font-size: .9rem; font-weight: 700; margin-bottom: 14px; }

.karos-focus ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.karos-focus li {
  font-size: .9rem;
  color: var(--body-text);
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.karos-focus li::before { content: '✓'; color: var(--cyan-dark); font-weight: 700; }

.karos-focus li strong { color: var(--dark-text); }

.karos-tags { display: flex; gap: 10px; flex-wrap: wrap; }

.karos-tag {
  background: var(--cyan);
  color: var(--white);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: .8rem;
  font-weight: 600;
}


/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--navy);
  padding: 80px 0;
}

.cta-band .section-eyebrow { background: var(--cyan); }

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-band p { color: rgba(255,255,255,.75); margin-bottom: 32px; max-width: 500px; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-mid); color: rgba(255,255,255,.75); padding: 60px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo img { height: 48px; margin-bottom: 16px; }

.footer-logo p { font-size: .9rem; line-height: 1.6; margin-bottom: 12px; }

.footer-copy-small { font-size: .8rem; color: rgba(255,255,255,.45); }

.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--cyan); }

.footer-col p { font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 8px; }

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan) !important;
  font-size: .88rem;
  font-weight: 600;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--cyan); }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .services-grid,
  .why-grid,
  .news-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .navbar-links { display: none; flex-direction: column; gap: 16px; }
  .navbar-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .nav-toggle { display: flex; }

  .stats-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-rings { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
