/* ================================================================
   Jaxson IT Services LLC — Clean Minimal Styles
   ================================================================
   Philosophy: whitespace, typography, and subtle borders.
   No gradients, no shadows-everywhere, no decorative blobs.

   Palette:
     --blue:      #1A56DB  (primary action)
     --blue-dark: #1647C5  (hover)
     --blue-pale: #EFF6FF  (pill backgrounds)
     --navy:      #0F172A  (navbar, footer, hero bg)
     --dark:      #111827  (headings)
     --body:      #374151  (body text)
     --soft:      #6B7280  (muted)
     --border:    #E5E7EB  (dividers / card borders)
     --bg-alt:    #F9FAFB  (alternating section bg)
     --white:     #FFFFFF
   ================================================================ */


/* =================================================================
   VARIABLES & RESET
   ================================================================= */
:root {
  --blue:      #1A56DB;
  --blue-dark: #1647C5;
  --blue-pale: #EFF6FF;
  --navy:      #0F172A;
  --dark:      #111827;
  --body:      #374151;
  --soft:      #6B7280;
  --border:    #E5E7EB;
  --bg-alt:    #F9FAFB;
  --white:     #FFFFFF;
  --radius:    6px;
  --t:         .2s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.sec { padding: 80px 0; }
.sec-alt { background: var(--bg-alt); }

@media (max-width: 767px) { .sec { padding: 56px 0; } }


/* =================================================================
   TYPOGRAPHY HELPERS
   ================================================================= */
.label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: .75rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--soft);
  max-width: 540px;
}


/* =================================================================
   BUTTONS
   ================================================================= */
.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
  font-size: .9rem;
  padding: .6rem 1.5rem;
  border-radius: var(--radius);
  transition: background var(--t), border-color var(--t);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-outline-light {
  font-weight: 600;
  font-size: .9rem;
  padding: .6rem 1.5rem;
  border-radius: var(--radius);
}


/* =================================================================
   NAVBAR
   ================================================================= */
#mainNav {
  background: var(--navy);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: padding var(--t);
  position: sticky;
  top: 0;
  z-index: 1030;
}

#mainNav.scrolled { padding: .65rem 0; }

.brand-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
}

.navbar-dark .navbar-nav .nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  padding: .4rem .75rem;
  border-radius: var(--radius);
  transition: color var(--t), background var(--t);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.btn-nav {
  font-size: .875rem !important;
  padding: .4rem 1.1rem !important;
  border-radius: var(--radius) !important;
}

.nav-dropdown {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  min-width: 200px;
  margin-top: .35rem;
}
.nav-dropdown .dropdown-item {
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  padding: .45rem 1rem;
}
.nav-dropdown .dropdown-item:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.nav-dropdown .dropdown-divider {
  border-color: rgba(255,255,255,.08);
  margin: .25rem 0;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--navy);
    padding: .75rem 1rem 1rem;
    margin: 0 -1rem;
    border-top: 1px solid rgba(255,255,255,.07);
  }
}


/* =================================================================
   HERO
   Dark background, left-aligned, no gradients / grid patterns
   ================================================================= */
.hero {
  background: var(--navy);
  padding: 140px 0 96px;
}

.hero-logo {
  width: 100%;
  max-width: 340px;
  object-fit: contain;
  /* white bg so transparent logo shows on dark hero */
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
}

.hero-logo-mobile {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #60A5FA;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.75rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
}
.hero-proof-item i      { color: #60A5FA; font-size: .85rem; }
.hero-proof-item strong { color: rgba(255,255,255,.85); font-weight: 600; }

@media (max-width: 767px) {
  .hero { padding: 110px 0 72px; }
  .hero-title { font-size: 2rem; }
}


/* =================================================================
   PAGE HERO (inner pages)
   ================================================================= */
.page-hero {
  background: var(--navy);
  padding: 120px 0 68px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(26,86,219,.18) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 4px 20px rgba(0,0,0,.4), 0 0 0 4px rgba(26,86,219,.15);
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
  position: relative;
  z-index: 1;
}

.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  position: relative;
  z-index: 1;
}


/* =================================================================
   SERVICE CARDS
   Simple bordered cards, icon + text, no animations on hover
   ================================================================= */
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--white);
  height: 100%;
  transition: border-color var(--t);
}
.service-card:hover { border-color: var(--blue); }

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.service-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}

.service-card-text {
  font-size: .875rem;
  color: var(--soft);
  line-height: 1.7;
  margin: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: .9rem;
  transition: gap var(--t);
}
.service-link:hover { gap: .55rem; color: var(--blue-dark); }


/* =================================================================
   TECH TAGS (shared)
   ================================================================= */
.tech-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.tech-tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 4px;
  padding: .2rem .6rem;
}


/* =================================================================
   PROJECT CARDS  (home + portfolio)
   ================================================================= */
.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.project-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  flex-direction: column;
  gap: .5rem;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  font-size: .9rem;
}

.project-thumb i { font-size: 2rem; color: #60A5FA; }
.project-thumb--img { padding: 1.25rem; }
.project-thumb--img img { max-height: 140px; max-width: 100%; object-fit: contain; border-radius: 6px; }

.project-body { padding: 1.25rem; }
.project-body h3 { font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: .4rem; }
.project-body p  { font-size: .875rem; color: var(--soft); margin: 0; line-height: 1.7; }


/* =================================================================
   PORTFOLIO DETAIL (portfolio page full items)
   ================================================================= */
.portfolio-item { padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--border); }
.portfolio-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.portfolio-mockup {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.browser-chrome {
  background: #1E293B;
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}

.browser-dots         { display: flex; gap: .35rem; }
.browser-dots span    { width: 9px; height: 9px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28CA41; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,.07);
  padding: .18rem .65rem;
  border-radius: 4px;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  font-family: monospace;
}

.browser-screen {
  height: 240px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  font-size: .9rem;
}
.browser-screen i { font-size: 2.5rem; color: #60A5FA; }

.portfolio-title { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.portfolio-description { font-size: .9rem; color: var(--soft); line-height: 1.8; }

.portfolio-type-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: 4px;
}
.badge-web      { background: var(--blue-pale); color: var(--blue); }
.badge-saas     { background: #F5F3FF; color: #6D28D9; }
.badge-lowcode  { background: #ECFDF5; color: #065F46; }

.portfolio-links { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Browser screen accent colors per project */
.browser-screen--auto  { background: #0a0a0a; }
.browser-screen--spool { background: #0d0d0d; }
.browser-screen--img   { background: #0F172A; padding: 0; }

/* Shared mockup layout */
.browser-screen { height: 280px; position: relative; overflow: hidden; }

.browser-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.mockup-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: .75rem;
  gap: .5rem;
}

.mockup-nav {
  height: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  flex-shrink: 0;
}
.mockup-nav--dark { background: rgba(255,255,255,.04); }

/* Hero row (Vital Elite) */
.mockup-hero {
  flex: 0 0 auto;
  background: rgba(255,255,255,.04);
  border-radius: 4px;
  padding: .9rem;
  display: flex;
  align-items: center;
}
.mockup-hero-text { display: flex; flex-direction: column; gap: .35rem; width: 100%; }
.mockup-line {
  height: 8px;
  border-radius: 3px;
  background: rgba(255,255,255,.12);
}
.mockup-line--title { width: 60%; height: 11px; background: rgba(255,255,255,.2); }
.mockup-line--sub   { width: 80%; }
.mockup-btn {
  margin-top: .3rem;
  width: 72px;
  height: 20px;
  border-radius: 3px;
  background: #1A56DB;
  opacity: .75;
}

/* Service cards row (Vital Elite) */
.mockup-cards {
  display: flex;
  gap: .4rem;
  flex: 1;
}
.mockup-card {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.07);
}

/* Dashboard layout (SpoolinOps) */
.mockup-dashboard {
  display: flex;
  gap: .5rem;
  flex: 1;
  overflow: hidden;
}
.mockup-sidebar {
  width: 52px;
  background: rgba(255,255,255,.04);
  border-radius: 4px;
  flex-shrink: 0;
}
.mockup-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.mockup-stat-row { display: flex; gap: .35rem; }
.mockup-stat {
  flex: 1;
  height: 42px;
  background: rgba(255,165,0,.12);
  border-radius: 4px;
  border: 1px solid rgba(255,165,0,.15);
}
.mockup-chart {
  flex: 1;
  background: rgba(255,255,255,.04);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
}
.mockup-chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(251,146,60,.2), transparent);
  border-radius: 0 0 4px 4px;
}

/* Site label */
.mockup-label {
  font-size: .65rem;
  font-family: monospace;
  color: rgba(255,255,255,.2);
  text-align: center;
  flex-shrink: 0;
}


/* =================================================================
   ARTICLE CARDS (portfolio published work section)
   ================================================================= */
.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--white);
  transition: border-color var(--t);
}
.article-card:hover { border-color: var(--blue); }

.article-platform {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--soft);
  margin-bottom: .85rem;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .6rem;
  line-height: 1.35;
}

.article-excerpt {
  font-size: .875rem;
  color: var(--soft);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.article-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .25rem; }

.article-read-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--t), color var(--t);
}
.article-read-link:hover { gap: .55rem; color: var(--blue-dark); }

.tech-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--soft);
  margin-bottom: .4rem;
  margin-top: 1rem;
  display: block;
}

.highlight-list { list-style: none; padding: 0; margin: .4rem 0 0; }
.highlight-list li {
  font-size: .875rem;
  color: var(--body);
  padding: .25rem 0 .25rem 1.1rem;
  position: relative;
}
.highlight-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}


/* =================================================================
   ENGAGEMENT MODEL CARDS (services page)
   ================================================================= */
.engagement-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  background: var(--white);
  transition: border-color var(--t);
}
.engagement-card:hover { border-color: var(--blue); }

.engagement-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
}

.engagement-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
}

.engagement-desc {
  font-size: .875rem;
  color: var(--soft);
  line-height: 1.75;
  margin: 0;
}


/* =================================================================
   SERVICES DETAIL (services page)
   ================================================================= */
.service-block { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: none; }

.service-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 4px;
  padding: .22rem .65rem;
}

.service-icon-lg {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--blue);
  flex-shrink: 0;
}

.service-detail-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}

.service-features { list-style: none; padding: 0; margin: .6rem 0 0; }
.service-features li {
  font-size: .875rem;
  color: var(--body);
  padding: .25rem 0 .25rem 1.1rem;
  position: relative;
}
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: .8rem;
}


/* =================================================================
   ABOUT PAGE
   ================================================================= */
.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--white);
}
.value-card i  { font-size: 1.25rem; color: var(--blue); margin-bottom: .6rem; display: block; }
.value-card h5 { font-size: .95rem; font-weight: 600; color: var(--dark); margin-bottom: .25rem; }
.value-card p  { font-size: .85rem; color: var(--soft); margin: 0; }

.tech-badge {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem .75rem;
  background: var(--white);
  text-align: center;
}
.tech-badge i { color: var(--blue); display: block; margin-bottom: .35rem; }
.tech-badge p { font-size: .75rem; color: var(--soft); font-weight: 500; margin: 0; }

.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--white);
  text-align: center;
}

.team-avatar {
  width: 88px;
  height: 88px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: var(--blue);
  margin: 0 auto 1.25rem;
}

.team-name { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.team-role { font-size: .85rem; font-weight: 600; color: var(--blue); margin-bottom: .75rem; }
.team-bio  { font-size: .875rem; color: var(--soft); line-height: 1.8; margin-bottom: 1rem; }

.team-skills { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 1rem; }
.skill-tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 4px;
  padding: .2rem .65rem;
}

.team-social { display: flex; gap: .6rem; justify-content: center; }
.team-social a {
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.team-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }


/* =================================================================
   CERTIFICATION CARDS (about page)
   ================================================================= */
.cert-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  background: var(--white);
  height: 100%;
  transition: border-color var(--t);
}
.cert-card:hover { border-color: var(--blue); }

.cert-issuer-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.cert-level {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .18rem .55rem;
  border-radius: 4px;
}
.cert-level-expert       { background: #FEF3C7; color: #92400E; }
.cert-level-associate    { background: var(--blue-pale); color: var(--blue); }
.cert-level-fundamentals { background: #F0FDF4; color: #166534; }
.cert-level-achievement  { background: #F5F3FF; color: #6D28D9; }

.cert-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .2rem;
  line-height: 1.4;
}

.cert-meta {
  font-size: .78rem;
  color: var(--soft);
  margin: 0;
}

.cert-id {
  display: inline-block;
  font-size: .68rem;
  font-family: monospace;
  color: var(--soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: .12rem .45rem;
  border-radius: 4px;
  margin-top: .5rem;
}


/* =================================================================
   CONTACT PAGE
   ================================================================= */
.contact-form-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--white);
}

.form-control,
.form-select {
  border-color: var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--dark);
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

.contact-info-wrap {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
  background: var(--bg-alt);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-of-type { border-bottom: none; }

.contact-info-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  font-size: .9rem;
}

.contact-info-item h6 { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); margin-bottom: .15rem; }
.contact-info-item a,
.contact-info-item p  { font-size: .875rem; color: var(--body); margin: 0; }
.contact-info-item a:hover { color: var(--blue); }

.contact-social { display: flex; gap: .5rem; margin-top: 1rem; }
.contact-social a {
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.contact-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }


/* =================================================================
   CTA STRIP
   ================================================================= */
.cta-strip {
  background: var(--navy);
  padding: 64px 0;
}
.cta-strip h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.cta-strip p  { font-size: .95rem; color: rgba(255,255,255,.55); margin-bottom: 1.5rem; }


/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  background: var(--navy);
  padding: 56px 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-brand-name { font-size: .9rem; font-weight: 600; color: var(--white); }

.footer-tagline {
  font-size: .825rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 260px;
  margin-top: .5rem;
}

.social-links { display: flex; gap: .4rem; margin-top: 1rem; }
.social-link {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.5);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  transition: background var(--t), color var(--t);
}
.social-link:hover { background: var(--blue); color: var(--white); }

.footer-heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .9rem;
}

.footer-links li { margin-bottom: .35rem; }
.footer-links a {
  font-size: .825rem;
  color: rgba(255,255,255,.45);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--white); }

.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .6rem; font-size: .825rem; }
.footer-contact i  { color: rgba(255,255,255,.35); margin-top: .2rem; width: 13px; flex-shrink: 0; font-size: .8rem; }
.footer-contact a  { color: rgba(255,255,255,.45); transition: color var(--t); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom   { border-top: 1px solid rgba(255,255,255,.07); padding: 1.25rem 0; margin-top: 2.5rem; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); margin: 0; }


/* =================================================================
   FLASH MESSAGES
   ================================================================= */
.flash-container {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 1040;
  pointer-events: none;
}
.flash-container .alert {
  pointer-events: auto;
  max-width: 560px;
  margin: 0 auto .5rem;
  border-radius: var(--radius);
  font-size: .9rem;
}


/* =================================================================
   FADE-IN ANIMATION (scroll-triggered via JS)
   ================================================================= */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

.fade-in:nth-child(2) { transition-delay: .07s; }
.fade-in:nth-child(3) { transition-delay: .14s; }
.fade-in:nth-child(4) { transition-delay: .21s; }
.fade-in:nth-child(5) { transition-delay: .28s; }
.fade-in:nth-child(6) { transition-delay: .35s; }


/* =================================================================
   MISC UTILITIES
   ================================================================= */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }


/* =================================================================
   MOBILE — small screen improvements  (≤ 575px)
   ================================================================= */
@media (max-width: 575px) {

  /* --- Navigation --- */
  .navbar-brand .brand-name { font-size: .9rem; }

  /* --- Hero (home) --- */
  .hero { padding: 96px 0 60px; }
  .hero-title { font-size: 1.75rem; }
  .hero-sub   { font-size: .95rem; }
  .hero-proof { gap: .35rem 1rem; }
  .hero-proof-item { font-size: .78rem; }
  .hero > .container > .row > .col-lg-7 .d-flex { flex-direction: column; }
  .hero > .container > .row > .col-lg-7 .d-flex .btn { width: 100%; text-align: center; }

  /* --- Page hero (inner pages) --- */
  .page-hero { padding: 100px 0 48px; }
  .page-hero-logo { width: 64px; height: 64px; }
  .page-hero-title { font-size: 1.5rem; }
  .page-hero .d-flex { gap: .75rem !important; }

  /* --- Section spacing --- */
  .sec { padding: 48px 0; }

  /* --- Service detail blocks --- */
  .service-block { padding: 1.75rem 0; }
  .service-block .row { flex-direction: column; }
  .service-icon-lg { width: 44px; height: 44px; font-size: 1.1rem; }

  /* --- Engagement cards --- */
  .engagement-card { padding: 1.5rem 1.25rem; }

  /* --- Contact form --- */
  .contact-form-wrap { padding: 1.25rem; }

  /* --- Tech tags wrap tightly --- */
  .tech-tags { gap: .3rem; }
  .tech-tag  { font-size: .7rem; }

  /* --- CTA strip --- */
  .cta-strip { padding: 48px 0; }

  /* --- Footer --- */
  .footer-brand-name { font-size: .85rem; }
  .footer-tagline    { max-width: 100%; }
  .footer-bottom .col-md-6:last-child { text-align: center !important; }

  /* --- Project cards --- */
  .browser-screen { height: 200px; }
  .project-body   { padding: 1rem; }
}


/* =================================================================
   MOBILE — medium screens  (576px – 767px)
   ================================================================= */
@media (min-width: 576px) and (max-width: 767px) {
  .page-hero-logo { width: 80px; height: 80px; }
  .hero > .container > .row > .col-lg-7 .d-flex { flex-wrap: wrap; }
}


/* =================================================================
   PWA — safe area insets for notched / rounded-corner devices
   ================================================================= */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
  #mainNav     { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}
