/* ========================================================================
   Tasman IT Group — stylesheet
   Colour scheme: bright, modern/techy. Blue (#1f6feb) + Orange (#ff7a18).
   Change the variables below to retheme the whole site at once.
   ======================================================================== */

:root {
  --blue:        #1f6feb;
  --blue-dark:   #1657c0;
  --orange:      #ff7a18;
  --orange-dark: #e8650a;

  --ink:    #142033;   /* main text */
  --muted:  #5a6b82;   /* secondary text */
  --bg:     #ffffff;
  --bg-soft:#f3f7ff;   /* very light blue tint */
  --line:   #e4ebf5;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 111, 235, 0.10);
  --shadow-lg: 0 20px 50px rgba(20, 32, 51, 0.12);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.light { color: #cfe0ff; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 24, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: inline-flex; }
.brand-text { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand-text strong { color: var(--orange); }
.brand-text.small { font-size: 1rem; color: #fff; }
.brand-text.small strong { color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-weight: 500; color: var(--muted); transition: color .15s; }
.main-nav a:hover { color: var(--ink); }
.main-nav .nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
}
.main-nav .nav-cta:hover { background: var(--blue-dark); color: #fff; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(255,122,24,0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #ffffff 75%);
  padding: 84px 0 96px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 20px; }
.hero .accent { color: var(--orange); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual — orbiting "techy" graphic */
.hero-visual { display: flex; justify-content: center; }
.orbit {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(31,111,235,0.06), transparent 70%);
  border: 2px dashed rgba(31,111,235,0.25);
}
.orbit-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.chip-1 { top: 6%;  left: 50%; transform: translateX(-50%); }
.chip-2 { top: 46%; right: -10%; }
.chip-3 { bottom: 6%; left: 50%; transform: translateX(-50%); }
.chip-4 { top: 46%; left: -8%; }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* ===== Services ===== */
.services { padding: 88px 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ===== About ===== */
.about { padding: 88px 0; background: var(--bg-soft); }
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
}
.about h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 800; margin-bottom: 18px; }
.about p { color: var(--muted); margin-bottom: 16px; max-width: 620px; }
.about-points { list-style: none; display: grid; gap: 16px; }
.about-points li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 16px 18px;
}
.about-points strong { display: block; color: var(--ink); }
.about-points span { color: var(--muted); font-size: 0.92rem; }

/* ===== Contact ===== */
.contact {
  padding: 96px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
}
.contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.contact > .container > p { color: #d7e4ff; margin-bottom: 28px; }
.email-cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 34px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  transition: transform .15s ease, background .15s ease;
}
.email-cta:hover { background: var(--orange-dark); transform: translateY(-2px); }
.contact-note { color: #cfe0ff; font-size: 0.9rem; margin-top: 18px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #fff; padding: 28px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600;
  color: #cdd6e4;
  transition: background .15s ease, color .15s ease;
}
.socials a:hover { background: var(--orange); color: #fff; }
.copyright { color: #9aa7bd; font-size: 0.85rem; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .main-nav { gap: 16px; }
  .main-nav a:not(.nav-cta) { display: none; }  /* keep nav clean on small screens */
  .card-grid { grid-template-columns: 1fr; }
  .orbit { width: 260px; height: 260px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
