/* OfficeNet Systems — style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #0f1f3d;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --white: #fff;
  --grey: #f8fafc;
  --text: #1e293b;
  --text-mid: #475569;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-light) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 85vh;
  background: linear-gradient(135deg, rgba(10,20,50,0.88) 0%, rgba(15,45,94,0.82) 100%), url("images/hero-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(37,99,235,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,0.25);
  border: 1px solid rgba(37,99,235,0.5);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero h1 .accent { color: #60a5fa; }

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }

.btn-outline-white {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-1px); }

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-block;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.service-card p { color: var(--text-mid); font-size: 0.93rem; line-height: 1.65; }

/* ── WHY CHOOSE US ── */
.why-section { background: var(--grey); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.why-item { text-align: center; padding: 1.5rem 1rem; }

.why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.why-icon svg { width: 28px; height: 28px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.why-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-item p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.6; }

/* ── STATS / HIGHLIGHT STRIP ── */
.stats-strip {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 2rem;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num { font-size: 2.5rem; font-weight: 800; color: #60a5fa; }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-top: 0.25rem; }

/* ── ABOUT / CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
.cta-band p { font-size: 1.05rem; opacity: 0.85; max-width: 520px; margin: 0 auto 2rem; line-height: 1.7; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
.contact-info p { color: var(--text-mid); line-height: 1.7; margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail-text strong { display: block; font-weight: 600; margin-bottom: 0.2rem; }
.contact-detail-text span { color: var(--text-mid); font-size: 0.93rem; }

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── PRODUCT PAGE ── */
.product-hero {
  background: linear-gradient(135deg, rgba(10,20,50,0.85) 0%, rgba(15,45,94,0.8) 100%), url("images/why-us-bg.jpg") center/cover no-repeat fixed;
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
}
.product-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.03em; }
.product-hero h1 span { color: #60a5fa; }
.product-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto 2rem; line-height: 1.7; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--grey);
  padding: 1.75rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.65; }

.clients-section { background: var(--grey); }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.client-tag {
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, rgba(10,20,50,0.88) 0%, rgba(15,45,94,0.82) 100%), url("images/software.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

footer p { font-size: 0.92rem; line-height: 1.7; }
footer h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
footer ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  max-width: 100%;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 2rem; border-radius: 0; }
  .nav-cta { margin: 0.5rem 1.5rem 0 !important; border-radius: 6px !important; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline, .btn-outline-white { width: 100%; max-width: 280px; text-align: center; }
}

@media (max-width: 480px) {
  section { padding: 4rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="order:1"] { order: 0 !important; }
  div[style*="order:2"] { order: 1 !important; }
}

/* ── RESPONSIVE IMAGE SPLIT SECTIONS ── */
@media (max-width: 768px) {
  section > div[style*="grid-template-columns:1fr 1fr"],
  section > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  section > div[style*="grid-template-columns:1fr 1fr 1fr"],
  section > div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="position:absolute;bottom:-16px"] {
    display: none;
  }
}

/* ── LOGO IMG IN NAV ── */
.nav-logo img { display: block; }
.nav-logo { display: flex; align-items: center; }
