/* DEVHIVE IT SOLUTIONS */

/* ── Tokens ── */
:root {
  --navy: #0f1b2d;
  --navy-light: #1a2d47;
  --teal: #3eabb8;
  --teal-dim: rgba(62,171,184,0.12);
  --orange: #dd670b;
  --orange-dim: rgba(221,103,11,0.12);
  --green: #2ecc71;
  --green-dim: rgba(46,204,113,0.12);
  --text: #1a1a2e;
  --text-secondary: #555b6e;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --border: #e8ecf1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15,27,45,0.06);
  --shadow: 0 4px 20px rgba(15,27,45,0.08);
  --shadow-lg: 0 8px 40px rgba(15,27,45,0.12);
  --transition: 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ── Utilities ── */
.container { width: min(1120px, 90%); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); z-index: 999; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700;
}
.brand-logo { height: 36px; width: auto; }
.brand-name { font-size: 1.1rem; letter-spacing: 1.5px; color: var(--navy); }

.site-nav ul { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--text-secondary); transition: all var(--transition);
}
.site-nav a:hover { color: var(--text); background: var(--bg-soft); }
.nav-cta {
  background: var(--navy) !important; color: #fff !important;
  border-radius: var(--radius-sm) !important;
}
.nav-cta:hover { background: var(--navy-light) !important; }

/* ── Hero ── */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse 80% 60% at 80% 40%, var(--teal-dim), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, var(--orange-dim), transparent),
    var(--bg);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.hero-label {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.15; font-weight: 800;
  color: var(--navy);
}
.hero-sub {
  margin-top: 16px; font-size: 1.1rem;
  color: var(--text-secondary); max-width: 50ch;
}
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.hero-logo {
  display: flex; justify-content: center; align-items: center;
}
.hero-logo img {
  width: 100%; max-width: 340px;
  filter: drop-shadow(0 20px 40px rgba(62,171,184,0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border-radius: var(--radius-sm);
  transition: all var(--transition); border: 2px solid transparent;
}
.btn-primary {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); }
.btn-ghost {
  background: transparent; color: var(--navy); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--navy); }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 800;
  color: var(--navy); margin-bottom: 8px;
}
.section-header p { color: var(--text-secondary); font-size: 1.05rem; }

/* ── Service cards ── */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px; margin-bottom: 18px;
}
.card-icon--software { background: var(--teal-dim); color: var(--teal); }
.card-icon--marketing { background: var(--orange-dim); color: var(--orange); }
.card-icon--hr { background: var(--green-dim); color: var(--green); }

.card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 0.95rem; flex: 1; }
.card-tag {
  display: inline-block; margin-top: 16px; padding: 4px 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3px;
  border-radius: 999px; background: var(--bg-soft); color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ── About ── */
.section--dark {
  background: var(--navy);
  color: #c8d6e5;
}
.about-inner h2 {
  font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 800;
  color: #fff; margin-bottom: 24px;
}
.about-content {
  max-width: 72ch;
  font-size: 1.05rem; line-height: 1.8;
}
.about-content p + p { margin-top: 16px; }

/* ── Contact ── */
.contact-cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 640px; margin: 0 auto;
}
.contact-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; text-decoration: none;
  padding: 32px 24px; border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.contact-card svg { color: var(--teal); margin-bottom: 12px; }
.contact-label {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-secondary); margin-bottom: 6px;
}
.contact-value { font-weight: 600; color: var(--navy); font-size: 0.95rem; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.9rem; color: var(--navy);
}
.footer-logo { height: 28px; width: auto; }
.footer-inner small { color: var(--text-secondary); font-size: 0.82rem; }

/* ── Focus ── */
:where(a, button):focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px;
}

/* ── Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-logo { order: 1; }
  .hero-logo img { max-width: 200px; margin: 0 auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .about-content { font-size: 1rem; }
}

@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand-name { font-size: 0.95rem; letter-spacing: 0.5px; }
  .brand-logo { height: 30px; }
  .site-nav a { font-size: 0.85rem; padding: 6px 10px; }
  .hero h1 { font-size: 1.5rem; }
  .section { padding: 56px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
