/* =====================================================================
   AM ACCOUNTANTS — MAIN STYLESHEET
   ---------------------------------------------------------------------
   Saara design isi ek file se control hota hai.
   Colors / fonts badalne ho to sirf neeche ":root" section edit karein.

   CONTENTS
   01. Theme variables (colors, fonts, spacing)
   02. Reset & base
   03. Layout helpers (container, section, grid)
   04. Buttons & labels
   05. Top bar
   06. Header & navigation (dropdown + mobile menu)
   07. Home hero
   08. Feature cards (home)
   09. Intro + quick contact form (home)
   10. Stats band
   11. Service cards
   12. About split sections
   13. Blog cards
   14. Testimonials
   15. CTA band
   16. Inner page hero (title + breadcrumb)
   17. Service page layout + sidebar
   18. Content typography (lists, boxes)
   19. Contact page
   20. Footer
   21. Utilities & animation
   22. Responsive breakpoints
   ===================================================================== */


/* ---------- 01. THEME VARIABLES ---------- */
:root {
  /* Brand colors */
  --navy-900: #071a33;      /* darkest — footer, overlays */
  --navy-800: #0b2545;      /* primary brand navy (logo)  */
  --navy-700: #13355f;
  --blue-500: #1d7fd6;      /* accent blue (buttons, links) */
  --blue-400: #3a9be6;
  --blue-50:  #eaf3fc;      /* light blue backgrounds */
  --red-600:  #c8102e;      /* Canadian red — small accents only */
  --gold-500: #d4a24c;      /* subtle highlight */

  /* Neutrals */
  --ink:      #1b2433;      /* headings */
  --text:     #4a5568;      /* body text */
  --muted:    #718096;
  --line:     #e3e8ef;
  --bg-soft:  #f5f8fc;
  --white:    #ffffff;

  /* Typography */
  --font-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  /* Sizing */
  --container: 1200px;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, .06);
  --shadow:    0 10px 30px rgba(11, 37, 69, .10);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, .16);
  --ease:      .25s ease;

  /* Background images (images/ folder me photo daalein — na ho to navy gradient dikhega) */
  --hero-image: url("../images/hero.jpg");
  --page-hero-image: url("../images/page-banner.jpg");
  --about-image: url("../images/about.jpg");
}


/* ---------- 02. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1em; }
a  { color: var(--blue-500); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--navy-800); }
img { max-width: 100%; display: block; }
strong { color: var(--ink); }
ul { margin: 0; padding: 0; }


/* ---------- 03. LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.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); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }


/* ---------- 04. BUTTONS & LABELS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--blue-500); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-800); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--blue-500); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy-800); }
.btn-white:hover { background: var(--blue-50); color: var(--navy-800); }
.btn-block { width: 100%; }
.link-arrow { font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i { transition: transform var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }


/* ---------- 05. TOP BAR ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.75); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--white); }
.topbar i { color: var(--blue-400); margin-right: 7px; }
.topbar-social { display: flex; gap: 16px; }
.topbar-social i { color: rgba(255,255,255,.75); margin: 0; }


/* ---------- 06. HEADER & NAVIGATION ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }

/* Logo — apna logo lagana ho to <a class="logo"> ke andar <img src="images/logo.png"> daal dein */
.logo { display: flex; align-items: center; gap: 12px; color: var(--navy-800); }
.logo:hover { color: var(--navy-800); }
.logo-mark {
  width: 48px; height: 48px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--navy-800); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
  border-radius: 10px;
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; right: -4px; bottom: -4px;
  width: 14px; height: 14px; background: var(--blue-500); border-radius: 4px; border: 3px solid var(--white);
}
.logo-text strong { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; color: var(--navy-800); line-height: 1.1; }
.logo-text small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--blue-500); }
.main-nav .fa-chevron-down { font-size: .65rem; transition: transform var(--ease); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--blue-500);
  padding: 10px;
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--ease);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  font-size: .92rem; color: var(--text);
  border-radius: var(--radius-sm);
}
.dropdown a i { width: 18px; color: var(--blue-500); text-align: center; }
.dropdown a:hover, .dropdown a.active { background: var(--blue-50); color: var(--navy-800); }

.nav-cta { margin-left: 12px; }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy-800);
  font-size: 1.2rem; cursor: pointer;
}


/* ---------- 07. HOME HERO ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 120px 0 190px;
  background:
    linear-gradient(105deg, rgba(7,26,51,.96) 0%, rgba(11,37,69,.88) 55%, rgba(19,53,95,.70) 100%),
    var(--hero-image) center / cover no-repeat,
    var(--navy-800);
  overflow: hidden;
}
.hero::before {          /* subtle grid pattern */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 span { color: var(--blue-400); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; margin-bottom: 26px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 50px; font-size: .85rem; color: rgba(255,255,255,.9);
}
.hero-badge .maple { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--red-600); font-size: .75rem; color: var(--white); }
.hero-points { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: .95rem; }
.hero-points i { color: var(--blue-400); }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.hero-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 20px; }
.hero-card ul { list-style: none; }
.hero-card li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li i { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(58,155,230,.18); color: var(--blue-400); }
.hero-card li small { display: block; color: rgba(255,255,255,.6); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-card li a, .hero-card li span { color: var(--white); font-weight: 500; }


/* ---------- 08. FEATURE CARDS (home) ---------- */
.features { position: relative; margin-top: -110px; z-index: 2; }
.feature-card {
  background: var(--white);
  padding: 40px 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform var(--ease);
  border-bottom: 4px solid transparent;
}
.feature-card:hover { transform: translateY(-6px); border-bottom-color: var(--blue-500); }
.feature-card.is-accent { background: var(--blue-500); }
.feature-card.is-dark { background: var(--navy-800); }
.feature-card.is-accent h3, .feature-card.is-dark h3 { color: var(--white); }
.feature-card.is-accent p, .feature-card.is-dark p { color: rgba(255,255,255,.85); }
.feature-icon {
  width: 60px; height: 60px; margin-bottom: 22px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue-50); color: var(--blue-500);
  font-size: 1.5rem;
}
.is-accent .feature-icon, .is-dark .feature-icon { background: rgba(255,255,255,.14); color: var(--white); }
.feature-card p { margin: 0; font-size: .97rem; }


/* ---------- 09. INTRO + QUICK CONTACT FORM (home) ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }
.intro-points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.intro-point { display: flex; gap: 14px; padding: 22px; background: var(--bg-soft); border-radius: var(--radius); }
.intro-point i { color: var(--blue-500); font-size: 1.3rem; margin-top: 4px; }
.intro-point p { margin: 0; font-size: .93rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: .93rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), background var(--ease);
}
.form-control:focus { outline: none; border-color: var(--blue-500); background: var(--white); }
textarea.form-control { min-height: 130px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }          /* spam honeypot — hide */
.form-status { display: none; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .92rem; }
.form-status.is-success { display: block; background: #e7f6ee; color: #1e6b43; }
.form-status.is-error { display: block; background: #fdecee; color: #a11a2c; }


/* ---------- 10. STATS BAND ---------- */
.stats {
  position: relative;
  padding: 90px 0;
  color: var(--white);
  background:
    linear-gradient(rgba(7,26,51,.93), rgba(7,26,51,.93)),
    var(--page-hero-image) center / cover fixed,
    var(--navy-900);
}
.stats .section-head h2 { color: var(--white); }
.stats .section-head p { color: rgba(255,255,255,.7); }
.stat { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat i { font-size: 1.6rem; color: var(--blue-400); margin-bottom: 14px; }
.stat-number { display: block; font-family: var(--font-head); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--white); }
.stat-label { display: block; margin-top: 10px; color: rgba(255,255,255,.72); font-size: .95rem; }


/* ---------- 11. SERVICE CARDS ---------- */
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  transition: all var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: var(--blue-500); transform: scaleX(0); transform-origin: left; transition: transform var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .feature-icon { transition: all var(--ease); }
.service-card:hover .feature-icon { background: var(--blue-500); color: var(--white); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: .94rem; flex-grow: 1; }
.service-card .link-arrow { color: var(--blue-500); font-size: .9rem; }


/* ---------- 12. ABOUT SPLIT SECTIONS ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(11,37,69,.15), rgba(29,127,214,.15)),
    var(--about-image) center / cover no-repeat,
    linear-gradient(135deg, var(--navy-800), var(--blue-500));
  box-shadow: var(--shadow-lg);
}
.split-media .exp-badge {
  position: absolute; right: -24px; bottom: 36px;
  background: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px;
}
.exp-badge strong { font-family: var(--font-head); font-size: 2.4rem; color: var(--blue-500); line-height: 1; }
.exp-badge span { font-size: .85rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.split-media .media-icon {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 6rem; color: rgba(255,255,255,.18);
}
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.value-item h4 { display: flex; align-items: center; gap: 10px; }
.value-item h4 i { color: var(--blue-500); }
.value-item p { font-size: .94rem; margin: 0; }

.band-split { display: grid; grid-template-columns: 1fr 1fr; }
.band-split + .band-split .band-text { order: 2; }
.band-text { padding: 80px 8%; background: var(--bg-soft); display: flex; flex-direction: column; justify-content: center; }
.band-text h3 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); }
.band-text .btn { align-self: flex-start; margin-top: 10px; }
.band-media {
  min-height: 380px;
  background:
    var(--about-image) center / cover no-repeat,
    linear-gradient(135deg, var(--navy-700), var(--blue-500));
  display: grid; place-items: center;
  color: rgba(255,255,255,.22); font-size: 6rem;
}
.band-media-2 {
  min-height: 380px;
  background:
    linear-gradient(135deg, rgba(11,37,69,.35), rgba(29,127,214,.25)),
    var(--about-image) center / cover no-repeat,
    linear-gradient(135deg, var(--navy-700), var(--blue-500));
  background:url(../images/about-2.jpg) center / cover no-repeat ;
  display: grid; place-items: center;
  color: rgba(255,255,255,.22); font-size: 6rem;
}
.band-media.alt { background: linear-gradient(135deg, var(--blue-500), var(--navy-900)); }


/* ---------- 13. BLOG CARDS ---------- */
.blog-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  height: 200px;
  display: grid; place-items: center;
  font-size: 3.2rem; color: rgba(255,255,255,.85);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  background-size: cover; background-position: center;
}
.blog-thumb.t2 { background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); }
.blog-thumb.t3 { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.blog-body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-meta { display: flex; gap: 16px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.blog-meta i { color: var(--blue-500); margin-right: 5px; }
.blog-body h3 { font-size: 1.12rem; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--blue-500); }
.blog-body p { font-size: .93rem; flex-grow: 1; }


/* ---------- 14. TESTIMONIALS ---------- */
.testimonial {
  position: relative;
  background: var(--white);
  padding: 38px 32px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.testimonial .quote-icon { position: absolute; top: 26px; right: 28px; font-size: 2.4rem; color: var(--blue-50); }
.testimonial .stars { color: var(--gold-500); margin-bottom: 16px; font-size: .9rem; letter-spacing: 2px; }
.testimonial p { font-size: .97rem; font-style: italic; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 50px; height: 50px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-800); color: var(--white);
  font-family: var(--font-head); font-weight: 700;
}
.testimonial-author strong { display: block; font-family: var(--font-head); }
.testimonial-author small { color: var(--muted); }


/* ---------- 15. CTA BAND ---------- */
.cta-band { padding: 0 0 96px; }
.cta-box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 56px 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-700) 55%, var(--blue-500) 130%);
  color: var(--white);
}
.cta-box::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,.05);
}
.cta-box h2 { color: var(--white); margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,.8); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }


/* ---------- 16. INNER PAGE HERO ---------- */
.page-hero {
  position: relative;
  padding: 90px 0 80px;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(7,26,51,.95), rgba(11,37,69,.85)),
    var(--page-hero-image) center / cover no-repeat,
    var(--navy-800);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; font-size: .92rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--blue-400); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,.4); }


/* ---------- 17. SERVICE PAGE LAYOUT + SIDEBAR ---------- */
.service-layout { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 26px; }
.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.widget-title { margin: 0; padding: 20px 24px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.service-nav { list-style: none; padding: 10px; }
.service-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px;
  font-size: .93rem; color: var(--text);
  border-radius: var(--radius-sm);
}
.service-nav a i { font-size: .7rem; color: var(--muted); transition: transform var(--ease); }
.service-nav a:hover { background: var(--blue-50); color: var(--navy-800); }
.service-nav a:hover i { transform: translateX(3px); }
.service-nav a.active { background: var(--navy-800); color: var(--white); }
.service-nav a.active i { color: var(--white); }

.consult-card .consult-top {
  padding: 34px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  color: var(--white);
}
.consult-top i { font-size: 2.2rem; margin-bottom: 10px; }
.consult-top strong { display: block; font-family: var(--font-head); font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.consult-card .consult-body { padding: 24px; font-size: .93rem; }
.consult-card .consult-sign { padding: 16px 24px; border-top: 1px solid var(--line); font-size: .88rem; }
.consult-sign strong { display: block; font-family: var(--font-head); letter-spacing: .04em; }

.contact-widget { background: var(--navy-800); color: rgba(255,255,255,.85); padding: 30px 26px; border: 0; }
.contact-widget h4 { color: var(--blue-400); }
.contact-widget p { font-size: .93rem; }
.contact-widget .btn { margin-top: 6px; }
.contact-widget .phone-line { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.contact-widget .phone-line i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-500); font-size: 1rem; }
.contact-widget .phone-line a { color: var(--white); }


/* ---------- 18. CONTENT TYPOGRAPHY ---------- */
.content h2 { margin-top: 0; }
.content h2 + .subhead, .subhead { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--blue-500); margin-top: -6px; }
.content h3 { margin-top: 2.2em; }
.content > :first-child { margin-top: 0; }
.content .lead { font-size: 1.08rem; color: var(--ink); }
.divider { height: 1px; background: var(--line); margin: 48px 0; border: 0; }

.check-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 30px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: .65rem;
  color: var(--white); background: var(--blue-500);
  border-radius: 50%;
}

.info-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 30px;
  margin: 30px 0;
}
.info-box h3, .info-box h4 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.info-box h3 i, .info-box h4 i { color: var(--blue-500); }
.info-box p:last-child { margin-bottom: 0; }

.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 26px 0; }
.tile { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); transition: all var(--ease); }
.tile:hover { box-shadow: var(--shadow); border-color: transparent; }
.tile h4 { display: flex; align-items: center; gap: 12px; }
.tile h4 i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-50); color: var(--blue-500); font-size: .95rem; }
.tile p { margin: 0; font-size: .94rem; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; }
.duo-item { padding: 32px; border-radius: var(--radius); background: var(--bg-soft); }
.duo-item:last-child { background: var(--navy-800); color: rgba(255,255,255,.82); }
.duo-item:last-child h3 { color: var(--white); }
.duo-item h3 { margin-top: 0; position: relative; padding-bottom: 14px; }
.duo-item h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--blue-500); border-radius: 3px; }
.duo-item p:last-child { margin-bottom: 0; }

.highlight-heading { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-top: 2em; }


/* ---------- 19. CONTACT PAGE ---------- */
.contact-cards { margin-bottom: 70px; }
.contact-card { text-align: center; padding: 38px 26px; border: 1px solid var(--line); border-radius: var(--radius); transition: all var(--ease); }
.contact-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.contact-card .feature-icon { margin: 0 auto 20px; }
.contact-card h3 { font-size: 1.1rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); }
.contact-card a:hover { color: var(--blue-500); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.hours-list { list-style: none; margin-top: 10px; }
.hours-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }


/* ---------- 20. FOOTER ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); font-size: .93rem; }
.footer-top { padding: 80px 0 50px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 24px; position: relative; padding-bottom: 14px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--blue-500); }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--white); }
.footer-about .logo-text strong { color: var(--white); }
.footer-about .logo-text small { color: rgba(255,255,255,.55); }
.footer-about .logo-mark { background: var(--blue-500); }
.footer-about .logo-mark::after { border-color: var(--navy-900); background: var(--white); }
.footer-about p { margin: 22px 0; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a i { font-size: .65rem; color: var(--blue-400); }
.footer-contact { list-style: none; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 14px; }
.footer-contact i { color: var(--blue-400); margin-top: 5px; width: 16px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.social a:hover { background: var(--blue-500); color: var(--white); }
.footer-badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.08); }
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  font-size: .83rem; color: rgba(255,255,255,.85);
}
.badge-pill i { color: var(--blue-400); }
.badge-pill .fa-canadian-maple-leaf { color: var(--red-600); }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-500); color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy-800); color: var(--white); }


/* ---------- 21. UTILITIES & ANIMATION ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 999; background: var(--white); padding: 10px 16px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 280px 1fr; gap: 36px; }
}

@media (max-width: 992px) {
  .section { padding: 72px 0; }
  .topbar-hide-md { display: none; }

  /* Mobile navigation */
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(340px, 86vw);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 90px 20px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 200;
  }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { padding: 14px 10px; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dropdown {
    position: static; min-width: 0;
    box-shadow: none; border-top: 0; padding: 4px 0 8px 8px;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open .fa-chevron-down { transform: rotate(180deg); }
  .main-nav { display: block; }
  .nav-cta { margin: 20px 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-close { position: absolute; top: 22px; right: 20px; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(7,26,51,.5); z-index: 150; opacity: 0; visibility: hidden; transition: all .3s ease; }
  .nav-overlay.show { opacity: 1; visibility: visible; }

  .hero { padding: 90px 0 170px; }
  .hero .container, .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .band-split { grid-template-columns: 1fr; }
  .band-split + .band-split .band-text { order: 0; }
  .band-media { min-height: 260px; }
  .split-media .exp-badge { right: 20px; }
  .service-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 44px 34px; }
}

@media (min-width: 993px) {
  .nav-close, .nav-overlay { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .topbar { display: none; }
  .site-header .container { min-height: 72px; }
  .logo-mark { width: 42px; height: 42px; font-size: 1rem; }
  .logo-text strong { font-size: 1.1rem; }
  .logo-text small { font-size: .56rem; }
  .grid-2, .grid-3, .grid-4, .intro-points, .value-grid, .tile-grid, .duo, .form-row, .check-list.cols-2 { grid-template-columns: 1fr; }
  .features { margin-top: -120px; }
  .stat { border-right: 0; }
  .grid-4.stats-grid { grid-template-columns: 1fr 1fr; }
  .split-media { min-height: 320px; }
  .split-media .exp-badge { left: 16px; right: 16px; bottom: 16px; }
  .form-card { padding: 28px 22px; }
  .cta-box { padding: 36px 24px; }
  .footer-top { grid-template-columns: 1fr; padding-top: 60px; }
  .page-hero { padding: 64px 0 56px; }
}
.spacer { height: 96px; }


/* =====================================================================
   23. BLOG — listing filter, single post, sidebar widgets
   ===================================================================== */
.blog-thumb, .post-cover { position: relative; overflow: hidden; }
.blog-thumb img, .post-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-card .blog-thumb img { transition: transform .5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }

/* Category filter on blog page */
.blog-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 18px;
  font: 600 .88rem var(--font-head);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-500); }
.filter-btn.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.blog-card.is-hidden { display: none; }

/* Single post layout */
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.post-cover {
  height: 420px;
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  font-size: 5rem; color: rgba(255,255,255,.85);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  margin-bottom: 26px;
}
.post-cover.t2 { background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); }
.post-cover.t3 { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  padding-bottom: 22px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.post-meta i { color: var(--blue-500); margin-right: 7px; }
.post-content { font-size: 1.03rem; }
.post-content h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.8em; }
.post-content h3 { font-size: 1.2rem; margin-top: 1.6em; }
.post-content h4 { margin-top: 1.4em; }
.post-content ol { padding-left: 22px; margin: 0 0 1.2em; }
.post-content ol li { margin-bottom: 8px; padding-left: 4px; }
.post-content ol li::marker { color: var(--blue-500); font-weight: 700; }
.pull-quote {
  margin: 30px 0;
  padding: 26px 30px;
  border-left: 4px solid var(--blue-500);
  background: var(--blue-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 600; line-height: 1.5;
  color: var(--navy-800);
}

.post-share {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 44px; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.post-share strong { margin-right: 8px; font-family: var(--font-head); }
.post-share a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-soft); color: var(--navy-800);
}
.post-share a:hover { background: var(--blue-500); color: var(--white); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.post-nav-link {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink);
  transition: all var(--ease);
}
.post-nav-link:hover { border-color: var(--blue-500); box-shadow: var(--shadow); color: var(--ink); }
.post-nav-link small { color: var(--blue-500); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.post-nav-link span { font-family: var(--font-head); font-weight: 600; line-height: 1.4; }
.post-nav-link.is-next { text-align: right; }

/* Recent posts widget */
.recent-posts { list-style: none; padding: 6px 10px; }
.recent-posts li + li { border-top: 1px solid var(--line); }
.recent-posts a { display: block; padding: 14px; border-radius: var(--radius-sm); color: var(--ink); }
.recent-posts a:hover { background: var(--blue-50); }
.recent-posts span { display: block; font-family: var(--font-head); font-weight: 600; font-size: .93rem; line-height: 1.4; }
.recent-posts small { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }
.recent-posts small i { color: var(--blue-500); margin-right: 6px; }

@media (max-width: 992px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-cover { height: 300px; }
}
@media (max-width: 680px) {
  .post-cover { height: 220px; font-size: 3.5rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.is-next { text-align: left; }
}
.blog-meta { flex-wrap: wrap; gap: 4px 16px; }
.blog-meta span { white-space: nowrap; }
