/* ============================================================
   WebUgg IT Solutions — Corporate Stylesheet
   ============================================================ */

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

:root {
  --primary: #0a2342;
  --accent:  #1a6fc4;
  --light:   #f4f7fb;
  --text:    #2d3748;
  --muted:   #6b7280;
  --border:  #dde3ed;
  --white:   #ffffff;
  --radius:  6px;
  --shadow:  0 2px 12px rgba(10,35,66,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
h1, h2, h3, h4 { color: var(--primary); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p  { margin-bottom: 1rem; }

.section { padding: 72px 0; }
.section--alt { background: var(--light); }
.section-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.section-title { margin-bottom: 16px; }
.section-sub   { color: var(--muted); max-width: 620px; margin-bottom: 48px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #155ba8; text-decoration: none; }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); text-decoration: none; }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: #0d2f59; text-decoration: none; }

/* ── Top Bar ── */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar-right { display: flex; gap: 20px; }

/* ── Header / Nav ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow);
  overflow: visible;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; }
.logo-text { font-size: 1.25rem; font-weight: 800; color: var(--primary); letter-spacing: -.5px; }
.logo-text span { color: var(--accent); }

nav { display: flex; align-items: center; }
nav ul { display: flex; gap: 4px; list-style: none; }
nav a {
  padding: 8px 13px;
  color: var(--text);
  font-size: .93rem;
  font-weight: 500;
  border-radius: var(--radius);
}
nav a:hover { background: var(--light); color: var(--primary); text-decoration: none; }
nav a.active { color: var(--accent); font-weight: 700; }

/* dropdown */
nav li { position: relative; }
nav li ul {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 0;
  z-index: 999;
}
nav li:hover > ul { display: flex; }
nav li ul li { width: 100%; }
nav li ul a { display: block; padding: 10px 16px; border-radius: 0; font-size: .88rem; }
nav li ul a:hover { background: var(--light); }

.nav-cta { margin-left: 12px; flex-shrink: 0; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 55%, #1a4a80 100%);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.hero h1 { color: var(--white); margin-bottom: 20px; font-size: 2.6rem; }
.hero p  { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { border-radius: 10px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.hero-img img { width: 100%; height: 340px; object-fit: cover; }

/* ── Stats ── */
.stats { background: var(--accent); color: var(--white); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stat-num { font-size: 2.2rem; font-weight: 800; }
.stat-lbl { font-size: .85rem; opacity: .85; margin-top: 2px; }

/* ── Cards ── */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p  { color: var(--muted); font-size: .92rem; margin: 0; }

.card-img { padding: 0; overflow: hidden; }
.card-img img { width: 100%; height: 200px; object-fit: cover; }
.card-img-body { padding: 22px; }
.card-img-body h3 { margin-bottom: 6px; }
.card-img-body p  { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

/* ── Service page hero ── */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.8); max-width: 600px; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }

/* ── Process steps ── */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; margin-bottom: 36px; }
.step-num {
  counter-increment: step;
  min-width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { margin-bottom: 6px; }
.step-body p  { color: var(--muted); margin: 0; }

/* ── Two-col content ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Testimonials ── */
.testimonial {
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.testimonial blockquote { font-size: 1rem; font-style: italic; color: var(--text); margin-bottom: 12px; }
.testimonial cite { font-size: .85rem; color: var(--muted); font-style: normal; }

/* ── Career ── */
.job-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.job-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.badge {
  background: var(--light);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.badge-green { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }

/* ── Contact / Form ── */
.form-group { margin-bottom: 18px; }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--primary); }
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  font-family: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,111,196,.12);
}
textarea { resize: vertical; min-height: 130px; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 28px; }

/* ── Footer ── */
footer {
  background: #071628;
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo-text { font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-logo-text span { color: var(--accent); }
.footer p { font-size: .88rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: rgba(255,255,255,.7); font-size: .88rem; }
.footer ul a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Timeline ── */
.timeline { position: relative; padding-left: 0; }
.timeline::before { content:''; position:absolute; left: 88px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { display: flex; gap: 32px; margin-bottom: 40px; position: relative; }
.timeline-year {
  min-width: 72px;
  text-align: right;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  padding-top: 2px;
  flex-shrink: 0;
}
.timeline-item::after {
  content: '';
  position: absolute;
  left: 83px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-body { padding-left: 24px; }
.timeline-body h3 { margin-bottom: 6px; font-size: 1.1rem; }
.timeline-body p  { color: var(--muted); font-size: .92rem; margin: 0; }

@media (max-width: 640px) {
  .timeline::before { left: 0; }
  .timeline-item { flex-direction: column; gap: 4px; padding-left: 20px; }
  .timeline-year { text-align: left; }
  .timeline-item::after { left: -5px; top: 6px; }
  .timeline-body { padding-left: 0; }
}

/* ── Page images / full-width ── */
.full-img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; }
.img-side { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Table ── */
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th { background: var(--primary); color: var(--white); padding: 12px 16px; text-align: left; }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--light); }

/* ── Checklist ── */
.checklist { list-style: none; }
.checklist li { padding: 6px 0 6px 28px; position: relative; color: var(--text); font-size: .95rem; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  nav { position: static; }
  nav ul { display: none; }
  nav.open { position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 12px 16px 16px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 8px 24px rgba(10,35,66,.12); z-index: 999; }
  nav.open > ul { display: flex; flex-direction: column; gap: 2px; }
  nav.open .nav-cta { display: none; }
  nav.open > ul .has-dropdown > ul { display: none; position: static; border: none; box-shadow: none; min-width: auto; padding: 4px 0 4px 16px; flex-direction: column; }
  nav.open > ul .has-dropdown.sub-open > ul { display: flex; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .job-card { flex-direction: column; }
  .topbar .container { flex-direction: column; align-items: flex-start; }
}
