/* =========================================================
   Sevlo Technologies — Core Stylesheet
   Design system: Navy / Technology Blue / Dark Gray / White
   ========================================================= */

:root {
  --navy: #0a1f3c;
  --navy-dark: #061327;
  --tech-blue: #1a6dd6;
  --tech-blue-light: #2f8aff;
  --tech-blue-pale: #e8f1fd;
  --gray-900: #1c232c;
  --gray-700: #3c4654;
  --gray-500: #6b7785;
  --gray-300: #c8d0d9;
  --gray-100: #f4f6f9;
  --white: #ffffff;
  --success: #1f8a55;
  --warning: #c98a1f;
  --danger: #c2362f;

  --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(10, 31, 60, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 31, 60, 0.12);
  --shadow-lg: 0 12px 40px rgba(10, 31, 60, 0.18);

  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--tech-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--navy); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--gray-700); }

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

section { padding: 80px 0; }
.section-tight { padding: 48px 0; }

.bg-light { background: var(--gray-100); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: var(--gray-300); }
.bg-gradient {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}
.bg-gradient h2, .bg-gradient h3 { color: var(--white); }
.bg-gradient p { color: var(--gray-300); }

/* ---------- Skip link / accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--tech-blue);
  color: var(--white);
  padding: 10px 18px;
  z-index: 2000;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: var(--gray-300);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--gray-300); }
.topbar a:hover { color: var(--white); }
.topbar .topbar-links { display: flex; gap: 20px; }
.topbar .topbar-links span { color: var(--tech-blue-light); font-weight: 600; }

/* ---------- Header / Navigation ---------- */
header.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.logo .logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--tech-blue) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
}
.logo .logo-sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gray-500);
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav.main-nav > ul > li {
  position: relative;
}

nav.main-nav > ul > li > a,
nav.main-nav > ul > li > button.nav-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-900);
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  font-family: var(--font-body);
}

nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li > button.nav-toggle:hover,
nav.main-nav > ul > li.active > a {
  color: var(--tech-blue);
  background: var(--tech-blue-pale);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
  z-index: 999;
}

nav.main-nav > ul > li:hover .dropdown-menu,
nav.main-nav > ul > li.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-900);
  border-radius: var(--radius);
}
.dropdown-menu li a:hover {
  background: var(--tech-blue-pale);
  color: var(--tech-blue);
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--tech-blue);
  color: var(--white);
  border-color: var(--tech-blue);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-light:hover {
  background: transparent;
  color: var(--white);
}
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,109,214,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,109,214,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: var(--gray-300); max-width: 560px; margin-bottom: 32px; }
.hero .btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tech-blue-light);
  margin-bottom: 16px;
}

/* Page header (non-home pages) */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 64px 0;
  position: relative;
}
.page-header h1 { color: var(--white); margin-bottom: 8px; font-size: 2.5rem; }
.page-header p { color: var(--gray-300); max-width: 700px; font-size: 1.05rem; margin-bottom: 0; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-300);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--tech-blue-light); }
.breadcrumb span { margin: 0 6px; color: var(--gray-500); }

/* ---------- Placeholder graphics (CSS-based, no image files) ---------- */
.placeholder {
  background: repeating-linear-gradient(135deg, var(--tech-blue-pale), var(--tech-blue-pale) 10px, var(--white) 10px, var(--white) 20px);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-500);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 24px;
  min-height: 220px;
}
.placeholder .placeholder-icon { font-size: 2.5rem; margin-bottom: 10px; }
.placeholder small { display: block; margin-top: 6px; font-weight: 400; color: var(--gray-500); font-size: 0.75rem; }
.placeholder-tall { min-height: 380px; }
.placeholder-square { min-height: 220px; aspect-ratio: 1/1; }
.placeholder-wide { min-height: 320px; }
.placeholder-dark {
  background: repeating-linear-gradient(135deg, var(--navy), var(--navy) 10px, var(--navy-dark) 10px, var(--navy-dark) 20px);
  color: var(--gray-300);
  border-color: var(--tech-blue);
}

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

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-head .eyebrow { color: var(--tech-blue); }
.bg-navy .section-head .eyebrow, .bg-gradient .section-head .eyebrow { color: var(--tech-blue-light); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-badge {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--tech-blue-pale);
  color: var(--tech-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-link { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 0.9rem; }

.card-dark {
  background: var(--navy);
  color: var(--white);
}
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: var(--gray-300); }
.card-dark .icon-badge { background: rgba(255,255,255,0.1); color: var(--tech-blue-light); }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat .stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--tech-blue-light);
  font-family: var(--font-heading);
}
.stat .stat-label {
  font-size: 0.9rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- Tables ---------- */
table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.data-table th, table.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-300);
  text-align: left;
  font-size: 0.92rem;
}
table.data-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:nth-child(even) td { background: var(--gray-100); }

/* ---------- Lists ---------- */
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--gray-700);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--tech-blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

/* ---------- Tags / Badges ---------- */
.badge {
  display: inline-block;
  background: var(--tech-blue-pale);
  color: var(--tech-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  margin: 0 6px 6px 0;
}
.badge-navy { background: var(--navy); color: var(--white); }
.badge-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--gray-700); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--tech-blue) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.9); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-group .required { color: var(--danger); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-900);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tech-blue);
  box-shadow: 0 0 0 3px var(--tech-blue-pale);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--gray-500); }
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.92rem;
}
.alert-success { background: #e6f4ec; color: var(--success); border: 1px solid #b8e0c8; }
.alert-error { background: #fbe9e7; color: var(--danger); border: 1px solid #f3c2bd; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: var(--gray-300);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid ul li a { color: var(--gray-300); }
.footer-grid ul li a:hover { color: var(--tech-blue-light); }
.footer-about p { color: var(--gray-300); font-size: 0.9rem; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem; color: var(--white); margin-bottom: 14px;
}
.footer-logo .logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--tech-blue) 0%, var(--tech-blue-light) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 0.82rem; color: var(--gray-500); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom .legal-links { display: flex; gap: 18px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); font-size: 0.9rem;
}
.social-row a:hover { background: var(--tech-blue); color: var(--white); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 2px solid var(--gray-300); margin-bottom: 32px; }
.tab-btn {
  padding: 12px 22px;
  background: none; border: none;
  font-weight: 700; font-size: 0.92rem;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font-body);
}
.tab-btn.active, .tab-btn:hover { color: var(--tech-blue); border-bottom-color: var(--tech-blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Accordion ---------- */
.accordion-item {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}
.accordion-header:hover { background: var(--gray-100); }
.accordion-header .icon { transition: transform .2s ease; color: var(--tech-blue); font-weight: 800; }
.accordion-item.open .accordion-header .icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 22px;
}
.accordion-item.open .accordion-body { padding-bottom: 20px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 3px solid var(--tech-blue-pale); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: "";
  position: absolute; left: -41px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--tech-blue); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--tech-blue-pale);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-tech-blue { color: var(--tech-blue); }
.text-white { color: var(--white); }
.fw-bold { font-weight: 700; }
.full-width-img { width: 100%; border-radius: var(--radius); }

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--tech-blue);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center; justify-content: center;
  z-index: 900;
}
#backToTop.show { display: flex; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .placeholder { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2.2rem; }
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  nav.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    z-index: 1100;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav > ul { flex-direction: column; width: 100%; align-items: stretch; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
  nav.main-nav > ul > li.open .dropdown-menu { display: block; }
  .mobile-toggle { display: block; }
  .nav-cta { margin: 16px 0 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

.logo img {
    height: 60px; /* adjust as needed */
    width: auto;
    display: block;
}





.hero-highlights{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin:32px 0;
}

.highlight{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.15);
    color:#fff;
    padding:12px 18px;
    border-radius:40px;
    font-size:.95rem;
    backdrop-filter:blur(8px);
}
