
/* =========================================================
   GMB PROFILE SERVICES
   Complete Responsive Website Stylesheet
   File: css/style.css
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */

:root {
  color-scheme: light;

  --primary: #1769e0;
  --primary-dark: #0c4fb5;
  --primary-light: #eaf2ff;
  --secondary: #12a875;
  --secondary-dark: #09865d;

  --heading: #14213d;
  --text: #4c5a70;
  --muted: #718096;
  --white: #ffffff;
  --surface: #f6f8fc;
  --surface-blue: #f0f5ff;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;

  --success: #16845b;
  --success-bg: #e8f8f0;
  --warning: #a76a08;
  --warning-bg: #fff5dc;
  --danger: #c43b45;
  --danger-bg: #fff0f0;

  --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1180px;
  --container-wide: 1360px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 4px 14px rgb(20 33 61 / 5%);
  --shadow: 0 10px 30px rgb(20 33 61 / 8%);
  --shadow-lg: 0 20px 55px rgb(20 33 61 / 12%);

  --transition: 220ms ease;
  --header-height: 76px;
}

/* ---------- 2. Reset & Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

iframe {
  max-width: 100%;
  border: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
  cursor: pointer;
}

button {
  color: inherit;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition:
    color var(--transition),
    background-color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgb(23 105 224 / 35%);
  outline-offset: 3px;
}

ul,
ol {
  padding-left: 1.4rem;
}

li + li {
  margin-top: 0.35rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  color: var(--heading);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.3rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

small,
.small {
  font-size: 0.875rem;
}

hr {
  height: 1px;
  margin: 2rem 0;
  border: 0;
  background: var(--border);
}

::selection {
  color: var(--heading);
  background: #cfe1ff;
}

/* ---------- 3. Shared Layout ---------- */

.container,
.wrapper,
.section-container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.container-wide {
  width: min(var(--container-wide), calc(100% - 48px));
  margin-inline: auto;
}

section {
  position: relative;
}

.section,
.section-padding {
  padding-block: clamp(60px, 8vw, 100px);
}

.section-sm {
  padding-block: 48px;
}

.section-muted {
  background: var(--surface);
}

.section-blue {
  background: var(--surface-blue);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading p {
  max-width: 680px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-kicker,
.eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-muted {
  color: var(--muted);
}

.text-primary {
  color: var(--primary);
}

.text-success {
  color: var(--success);
}

.text-white {
  color: var(--white);
}

.mx-auto {
  margin-inline: auto;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ---------- 4. Announcement / Top Bar ---------- */

.topbar,
.announcement-bar {
  padding: 8px 20px;
  color: var(--white);
  background: var(--heading);
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.5;
}

.topbar a,
.announcement-bar a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 5. Header & Navigation ---------- */

.site-header,
header.site-header,
.main-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: rgb(255 255 255 / 97%);
  border-bottom: 1px solid rgb(226 232 240 / 85%);
  box-shadow: 0 3px 18px rgb(20 33 61 / 4%);
}

.site-header.is-sticky,
.main-header.is-sticky {
  position: sticky;
  top: 0;
}

.header-inner,
.header-container,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--container-wide), calc(100% - 48px));
  min-height: var(--header-height);
  margin-inline: auto;
}

.site-logo,
.logo,
.brand,
.navbar-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-size: 1.22rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.site-logo:hover,
.logo:hover,
.brand:hover,
.navbar-brand:hover {
  color: var(--primary);
}

.site-logo img,
.logo img,
.brand img,
.navbar-brand img {
  width: auto;
  max-width: 190px;
  max-height: 54px;
  object-fit: contain;
}

.logo-mark,
.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #5295ff);
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 900;
}

.logo-text,
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text small,
.brand-text small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.site-nav,
.main-nav,
.nav-menu,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
}

.site-nav a,
.main-nav a,
.nav-menu a,
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #354258;
  font-size: 0.92rem;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a:hover,
.main-nav a:hover,
.nav-menu a:hover,
.nav-links a:hover,
.site-nav a.active,
.main-nav a.active,
.nav-menu a.active,
.nav-links a.active {
  color: var(--primary);
}

.site-nav a.active::after,
.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 10px;
  content: "";
}

.nav-cta,
.header-cta {
  flex: 0 0 auto;
}

.menu-toggle,
.nav-toggle,
.mobile-menu-toggle,
#menuToggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--heading);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  font-size: 1.45rem;
}

/* ---------- 6. Buttons ---------- */

.btn,
.button,
button.btn,
a.btn,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.btn:hover,
.button:hover,
button.btn:hover,
a.btn:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
}

.btn-primary,
.button-primary,
.btn-primary:visited {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 7px 18px rgb(23 105 224 / 20%);
}

.btn-primary:hover,
.button-primary:hover {
  color: var(--white);
  background: var(--primary-dark);
  box-shadow: 0 10px 22px rgb(23 105 224 / 25%);
}

.btn-secondary,
.button-secondary {
  color: var(--white);
  background: var(--secondary);
}

.btn-secondary:hover,
.button-secondary:hover {
  color: var(--white);
  background: var(--secondary-dark);
}

.btn-outline,
.button-outline {
  color: var(--primary);
  background: transparent;
  border-color: var(--primary);
}

.btn-outline:hover,
.button-outline:hover {
  color: var(--white);
  background: var(--primary);
}

.btn-light {
  color: var(--heading);
  background: var(--white);
  border-color: var(--border);
}

.btn-light:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-white {
  color: var(--primary);
  background: var(--white);
}

.btn-white:hover {
  color: var(--primary-dark);
  background: #f0f5ff;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.84rem;
}

.btn-lg {
  min-height: 56px;
  padding: 15px 29px;
  font-size: 1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

/* ---------- 7. Hero Sections ---------- */

.hero,
.page-hero,
.inner-hero,
.services-hero,
.contact-hero,
.about-hero,
.blog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 10vw, 130px) 0;
  background-color: #eaf2ff;
  background-position: center;
  background-size: cover;
}

.hero::before,
.page-hero::before,
.inner-hero::before,
.services-hero::before,
.contact-hero::before,
.about-hero::before,
.blog-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgb(10 27 59 / 88%) 0%,
    rgb(14 42 83 / 72%) 52%,
    rgb(14 42 83 / 25%) 100%
  );
  content: "";
}

.hero .container,
.page-hero .container,
.inner-hero .container,
.services-hero .container,
.contact-hero .container,
.about-hero .container,
.blog-hero .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1,
.inner-hero h1,
.services-hero h1,
.contact-hero h1,
.about-hero h1,
.blog-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.35rem, 5.2vw, 4.6rem);
  line-height: 1.1;
}

.hero p,
.page-hero p,
.inner-hero p,
.services-hero p,
.contact-hero p,
.about-hero p,
.blog-hero p {
  max-width: 740px;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.8;
}

.hero .hero-kicker,
.page-hero .hero-kicker,
.inner-hero .hero-kicker {
  color: #cfe1ff;
}

.hero-actions,
.hero-buttons,
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-content {
  max-width: 800px;
}

.hero-content.text-center,
.hero .text-center {
  margin-inline: auto;
}

.hero-content.text-center p,
.hero .text-center p {
  margin-inline: auto;
}

.hero-content.text-center .hero-actions,
.hero .text-center .hero-actions {
  justify-content: center;
}

.hero-image,
.hero-media {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(35px, 6vw, 75px);
}

.hero-grid .hero-content {
  max-width: none;
}

.hero-grid .hero-media {
  box-shadow: var(--shadow-lg);
}

/* Sliders: compatible with common slide wrappers */

.hero-slider,
.hero-carousel,
.slider,
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider .slide,
.hero-carousel .slide,
.slider .slide,
.carousel .slide,
.slides .slide {
  background-position: center;
  background-size: cover;
}

.slide img,
.slider img,
.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots,
.carousel-dots,
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.slider-dots button,
.carousel-dots button {
  width: 9px;
  height: 9px;
  min-height: 9px;
  padding: 0;
  background: #cbd5e1;
  border: 0;
  border-radius: 50%;
}

.slider-dots button.active,
.carousel-dots button.active {
  width: 25px;
  background: var(--primary);
  border-radius: 99px;
}

/* ---------- 8. Breadcrumbs ---------- */

.breadcrumb,
.breadcrumbs,
.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumb a,
.breadcrumbs a,
.breadcrumb-nav a {
  color: var(--primary);
}

.breadcrumb span,
.breadcrumbs span {
  color: var(--muted);
}

/* ---------- 9. Trust Strip & Statistics ---------- */

.trust-strip,
.trust-bar,
.stats-strip {
  position: relative;
  z-index: 2;
  padding-block: 24px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-grid,
.stats-grid,
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.trust-item,
.stat-item,
.stat-card {
  text-align: center;
}

.trust-item strong,
.stat-item strong,
.stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 850;
  line-height: 1.25;
}

.trust-item span,
.stat-item span,
.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- 10. General Grids ---------- */

.grid,
.cards-grid,
.services-grid,
.features-grid,
.blog-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.two-column-layout,
.content-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 40px;
}

/* ---------- 11. Cards ---------- */

.card,
.service-card,
.feature-card,
.blog-card,
.testimonial-card,
.info-card,
.content-card {
  min-width: 0;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover,
.service-card:hover,
.feature-card:hover,
.blog-card:hover,
.testimonial-card:hover,
.info-card:hover,
.content-card:hover {
  border-color: #c9dcff;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-body,
.service-card-body,
.feature-card-body,
.blog-card-body {
  padding: 25px;
}

.card h3,
.service-card h3,
.feature-card h3,
.blog-card h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.4;
}

.card p,
.service-card p,
.feature-card p,
.blog-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card-link,
.read-more,
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 750;
}

.card-link:hover,
.read-more:hover,
.learn-more:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* ---------- 12. Image Cards ---------- */

.card-image,
.service-card-image,
.blog-card-image,
.feature-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef7;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-image img,
.service-card-image img,
.blog-card-image img,
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 450ms ease;
}

.card:hover .card-image img,
.service-card:hover .service-card-image img,
.blog-card:hover .blog-card-image img {
  transform: scale(1.045);
}

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-rounded {
  overflow: hidden;
  border-radius: var(--radius);
}

.image-caption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.83rem;
}

/* ---------- 13. Service Cards ---------- */

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.service-card-body p {
  flex: 1;
}

.service-card .card-link {
  margin-top: auto;
  padding-top: 14px;
}

.service-tag,
.category-tag,
.card-category,
.post-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-radius: 7px;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.5;
}

.service-card .service-tag,
.service-card .category-tag {
  margin-bottom: 13px;
}

/* ---------- 14. Search & Category Filters ---------- */

.search-filter-section,
.services-toolbar,
.blog-toolbar {
  margin-bottom: 34px;
}

.search-filter-row,
.services-toolbar,
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.search-box,
.search-wrapper {
  position: relative;
  flex: 1 1 280px;
  max-width: 470px;
}

.search-box input,
.search-wrapper input,
#guideSearch {
  width: 100%;
  min-height: 52px;
  padding: 13px 17px;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  outline-offset: 2px;
}

.search-box input::placeholder,
.search-wrapper input::placeholder,
#guideSearch::placeholder {
  color: #8995a7;
}

.search-box input:focus,
.search-wrapper input:focus,
#guideSearch:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgb(23 105 224 / 9%);
  outline: none;
}

.filter-buttons,
.category-filters,
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-btn,
.category-filter,
.filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 8px 15px;
  color: #536177;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.83rem;
  font-weight: 700;
  transition: all var(--transition);
}

.filter-btn:hover,
.category-filter:hover,
.filter-tab:hover,
.filter-btn.active,
.category-filter.active,
.filter-tab.active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.result-count {
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-state,
.no-results,
#noResults {
  grid-column: 1 / -1;
  padding: 35px 20px;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius);
  text-align: center;
}

/* ---------- 15. Feature Lists ---------- */

.feature-list,
.check-list,
.benefits-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li,
.benefits-list li {
  position: relative;
  padding-left: 31px;
  color: var(--text);
}

.feature-list li::before,
.check-list li::before,
.benefits-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--success);
  background: var(--success-bg);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  content: "✓";
}

/* ---------- 16. Split Content / About ---------- */

.split-layout,
.about-grid,
.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(35px, 7vw, 85px);
}

.split-layout img,
.about-grid img,
.content-split img {
  width: 100%;
  max-height: 570px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.content-copy > :last-child {
  margin-bottom: 0;
}

.content-copy h2 {
  margin-bottom: 18px;
}

.content-copy p {
  color: var(--text);
}

/* ---------- 17. Testimonials ---------- */

.testimonial-card {
  padding: 27px;
}

.testimonial-card blockquote,
blockquote {
  margin: 0 0 20px;
  padding: 18px 22px;
  color: #34445b;
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
}

.testimonial-author img,
.author-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-author strong,
.author-info strong {
  display: block;
  color: var(--heading);
  font-size: 0.94rem;
}

.testimonial-author span,
.author-info span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- 18. FAQ ---------- */

.faq-list,
.faq-container {
  display: grid;
  gap: 13px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-item,
.faq-list details,
.faq-container details {
  padding: 19px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--transition);
}

.faq-item:hover,
.faq-list details:hover,
.faq-container details:hover {
  border-color: #c6d9fa;
}

.faq-item summary,
.faq-list summary,
.faq-container summary {
  position: relative;
  padding-right: 25px;
  color: var(--heading);
  font-weight: 750;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker,
.faq-container summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after,
.faq-list summary::after,
.faq-container summary::after {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--primary);
  font-size: 1.2rem;
  content: "+";
}

.faq-item[open] summary::after,
.faq-list details[open] summary::after,
.faq-container details[open] summary::after {
  content: "−";
}

.faq-item p,
.faq-list details p,
.faq-container details p {
  margin-top: 14px;
  color: var(--muted);
}

/* ---------- 19. Blog Listing ---------- */

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.blog-card-body p {
  flex: 1;
}

.blog-meta,
.post-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.blog-meta span,
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card .read-more {
  margin-top: auto;
  padding-top: 15px;
}

/* ---------- 20. Article Page ---------- */

.article-layout,
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 48px;
}

.article-main,
.article-content,
.blog-content {
  min-width: 0;
  max-width: 820px;
}

.article-header {
  margin-bottom: 28px;
}

.article-header h1,
.article-title {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.18;
}

.article-cover,
.article-featured-image,
.post-featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 26px 0 32px;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.article-cover img,
.article-featured-image img,
.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body,
.article-content,
.blog-content {
  color: #354258;
  font-size: 1.02rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.article-body h2,
.article-content h2,
.blog-content h2 {
  margin-top: 42px;
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.3;
  scroll-margin-top: 100px;
}

.article-body h3,
.article-content h3,
.blog-content h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 1.32rem;
  line-height: 1.4;
}

.article-body h4,
.article-content h4,
.blog-content h4 {
  margin-top: 24px;
  font-size: 1.1rem;
}

.article-body p,
.article-content p,
.blog-content p {
  margin-bottom: 19px;
}

.article-body ul,
.article-body ol,
.article-content ul,
.article-content ol,
.blog-content ul,
.blog-content ol {
  margin: 16px 0 24px;
  padding-left: 26px;
}

.article-body li,
.article-content li,
.blog-content li {
  margin-bottom: 9px;
  padding-left: 3px;
}

.article-body img,
.article-content img,
.blog-content img {
  max-width: 100%;
  height: auto;
  margin: 25px auto;
  border-radius: var(--radius);
}

.article-body table,
.article-content table,
.blog-content table,
.content-table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-collapse: collapse;
  border-radius: 10px;
}

.article-body th,
.article-body td,
.article-content th,
.article-content td,
.blog-content th,
.blog-content td,
.content-table th,
.content-table td {
  min-width: 110px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.article-body th,
.article-content th,
.blog-content th,
.content-table th {
  color: var(--heading);
  background: var(--surface);
  font-weight: 750;
}

.article-body code,
.article-content code,
.blog-content code {
  padding: 2px 6px;
  color: #b42346;
  background: #fff1f4;
  border-radius: 5px;
  font-size: 0.9em;
}

.article-body pre,
.article-content pre,
.blog-content pre {
  max-width: 100%;
  padding: 18px;
  overflow-x: auto;
  color: #e5edf8;
  background: #172337;
  border-radius: 12px;
  font-size: 0.9rem;
}

.article-body a,
.article-content a,
.blog-content a {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgb(23 105 224 / 35%);
  text-underline-offset: 3px;
}

.article-body a:hover,
.article-content a:hover,
.blog-content a:hover {
  text-decoration-color: currentColor;
}

.article-callout,
.info-callout,
.key-takeaways,
.note-box {
  margin: 25px 0;
  padding: 22px 24px;
  color: #34445b;
  background: var(--surface-blue);
  border: 1px solid #d9e6ff;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
}

.article-callout h3,
.info-callout h3,
.key-takeaways h3,
.note-box h3 {
  margin-top: 0;
}

.warning-box {
  padding: 20px;
  color: #714c10;
  background: var(--warning-bg);
  border: 1px solid #f5df9e;
  border-radius: 10px;
}

.success-box {
  padding: 20px;
  color: #126447;
  background: var(--success-bg);
  border: 1px solid #b8ebd0;
  border-radius: 10px;
}

.article-sidebar,
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 22px;
  min-width: 0;
}

.sidebar-widget,
.sidebar-card {
  padding: 23px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3,
.sidebar-card h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.sidebar-widget ul,
.sidebar-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-widget li,
.sidebar-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-widget li:last-child,
.sidebar-card li:last-child {
  border-bottom: 0;
}

.sidebar-widget a,
.sidebar-card a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.sidebar-widget a:hover,
.sidebar-card a:hover {
  color: var(--primary);
}

.table-of-contents {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.table-of-contents h2,
.table-of-contents h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

.table-of-contents ul {
  margin: 0;
  padding-left: 20px;
}

.table-of-contents li {
  margin: 8px 0;
  font-size: 0.91rem;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 35px 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.author-box img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

.related-articles {
  margin-top: 60px;
  padding-top: 35px;
  border-top: 1px solid var(--border);
}

/* ---------- 21. Forms & Contact ---------- */

.form,
.contact-form,
.subscribe-form {
  display: grid;
  gap: 18px;
}

.form-group,
.form-field {
  display: grid;
  gap: 8px;
}

.form label,
.contact-form label,
.subscribe-form label,
.form-group label,
.form-field label {
  color: var(--heading);
  font-size: 0.91rem;
  font-weight: 700;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 12px 14px;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

textarea {
  min-height: 145px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #8b97a8;
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgb(23 105 224 / 9%);
}

input[type="checkbox"],
input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
}

.form-row,
.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-note,
.form-help {
  color: var(--muted);
  font-size: 0.83rem;
}

.form-error,
.error-message {
  color: var(--danger);
  font-size: 0.86rem;
}

.form-success,
.success-message {
  padding: 13px 16px;
  color: var(--success);
  background: var(--success-bg);
  border-radius: 9px;
  font-size: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 35px;
}

.contact-info,
.contact-form-card {
  padding: clamp(23px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 23px;
}

.contact-info-item h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

/* ---------- 22. CTA Banner ---------- */

.cta-section,
.cta-banner,
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 7vw, 75px);
  color: var(--white);
  background: linear-gradient(135deg, #145bc4, #173f87);
  border-radius: var(--radius-xl);
}

.cta-section h2,
.cta-banner h2,
.final-cta h2 {
  color: var(--white);
}

.cta-section p,
.cta-banner p,
.final-cta p {
  max-width: 700px;
  color: rgb(255 255 255 / 85%);
}

.cta-inner,
.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-inner > div:first-child,
.cta-content > div:first-child {
  max-width: 750px;
}

/* ---------- 23. Footer ---------- */

.site-footer,
footer.site-footer,
.main-footer {
  margin-top: 0;
  color: #c7d1e0;
  background: #111d31;
}

.footer-main,
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 65px 45px;
}

.footer-brand,
.footer-about {
  max-width: 340px;
}

.footer-brand .logo,
.footer-brand .site-logo,
.footer-about .logo {
  margin-bottom: 20px;
  color: var(--white);
}

.footer-brand p,
.footer-about p {
  color: #aab8cc;
  font-size: 0.92rem;
}

.site-footer h3,
.site-footer h4,
.main-footer h3,
.main-footer h4 {
  margin-bottom: 19px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.footer-links,
.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li,
.footer-column li {
  margin: 0 0 11px;
}

.footer-links a,
.footer-column a,
.site-footer a:not(.btn),
.main-footer a:not(.btn) {
  color: #bdc9da;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-column a:hover,
.site-footer a:not(.btn):hover,
.main-footer a:not(.btn):hover {
  color: var(--white);
}

.footer-bottom,
.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 25px;
  padding-block: 20px;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.footer-bottom p,
.footer-copyright p {
  margin: 0;
  color: #9eacc0;
  font-size: 0.82rem;
}

.footer-legal,
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 22px;
}

.footer-legal a,
.footer-bottom-links a {
  color: #b8c4d6;
  font-size: 0.82rem;
}

/* ---------- 24. Privacy Policy & Terms ---------- */

.legal-page,
.policy-page,
.terms-page {
  padding-block: 65px 90px;
}

.legal-content,
.policy-content,
.terms-content {
  max-width: 900px;
  margin-inline: auto;
}

.legal-content h1,
.policy-content h1,
.terms-content h1 {
  margin-bottom: 18px;
}

.legal-content h2,
.policy-content h2,
.terms-content h2 {
  margin-top: 35px;
  font-size: 1.55rem;
}

.legal-content h3,
.policy-content h3,
.terms-content h3 {
  margin-top: 25px;
  font-size: 1.18rem;
}

.legal-content p,
.policy-content p,
.terms-content p {
  margin-bottom: 16px;
}

.legal-updated,
.last-updated {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.87rem;
}

/* ---------- 25. Pagination ---------- */

.pagination,
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination button,
.blog-pagination a {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  place-items: center;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-weight: 700;
}

.pagination a:hover,
.pagination a.active,
.pagination button.active,
.blog-pagination a:hover,
.blog-pagination a.active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

/* ---------- 26. Alerts, Badges & Utility ---------- */

.badge,
.label-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.5;
}

.badge-success {
  color: var(--success);
  background: var(--success-bg);
}

.badge-warning {
  color: var(--warning);
  background: var(--warning-bg);
}

.badge-danger {
  color: var(--danger);
  background: var(--danger-bg);
}

.alert {
  margin: 18px 0;
  padding: 16px 19px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.alert-info {
  color: #194d92;
  background: #edf5ff;
  border-color: #cfe2ff;
}

.alert-success {
  color: #146747;
  background: var(--success-bg);
  border-color: #b8ebd0;
}

.alert-warning {
  color: #79520c;
  background: var(--warning-bg);
  border-color: #f5df9e;
}

.alert-danger {
  color: #9f2832;
  background: var(--danger-bg);
  border-color: #f4c6c9;
}

.divider {
  height: 1px;
  margin-block: 25px;
  background: var(--border);
}

.rounded {
  border-radius: var(--radius);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.shadow {
  box-shadow: var(--shadow);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.w-full {
  width: 100%;
}

.max-w-content {
  max-width: 820px;
}

.d-none,
.hidden {
  display: none !important;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ---------- 27. Animations ---------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fadeUp 550ms ease both;
}

.animate-fade-in {
  animation: fadeIn 450ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 28. Tablet ---------- */

@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .header-inner,
  .header-container,
  .nav-container {
    gap: 16px;
  }

  .site-nav,
  .main-nav,
  .nav-menu,
  .nav-links {
    gap: 14px;
  }

  .site-nav a,
  .main-nav a,
  .nav-menu a,
  .nav-links a {
    font-size: 0.86rem;
  }

  .logo,
  .site-logo,
  .brand,
  .navbar-brand {
    font-size: 1.08rem;
  }

  .hero-grid {
    gap: 35px;
  }

  .grid-4,
  .trust-grid,
  .stats-grid,
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main,
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }

  .article-layout,
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 28px;
  }

  .two-column-layout,
  .content-sidebar-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 28px;
  }
}

/* ---------- 29. Mobile Navigation & Small Tablets ---------- */

@media (max-width: 820px) {
  .container,
  .wrapper,
  .section-container,
  .container-wide {
    width: min(100% - 36px, var(--container));
  }

  .menu-toggle,
  .nav-toggle,
  .mobile-menu-toggle,
  #menuToggle {
    display: inline-flex;
    flex: 0 0 44px;
  }

  .header-inner,
  .header-container,
  .nav-container {
    position: relative;
    min-height: 68px;
  }

  .site-nav,
  .main-nav,
  .nav-menu,
  .nav-links {
    display: none;
    position: absolute;
    z-index: 1001;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0 0 15px 15px;
    box-shadow: var(--shadow-lg);
  }

  /* These classes can be toggled by the existing JavaScript. */
  .site-nav.active,
  .main-nav.active,
  .nav-menu.active,
  .nav-links.active,
  .site-nav.open,
  .main-nav.open,
  .nav-menu.open,
  .nav-links.open,
  .site-nav.show,
  .main-nav.show,
  .nav-menu.show,
  .nav-links.show {
    display: flex;
    flex-direction: column;
  }

  .site-nav a,
  .main-nav a,
  .nav-menu a,
  .nav-links a {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    white-space: normal;
    border-radius: 8px;
  }

  .site-nav a:hover,
  .main-nav a:hover,
  .nav-menu a:hover,
  .nav-links a:hover {
    background: var(--surface);
  }

  .site-nav a.active::after,
  .main-nav a.active::after {
    display: none;
  }

  .nav-cta,
  .header-cta {
    display: none;
  }

  .hero,
  .page-hero,
  .inner-hero,
  .services-hero,
  .contact-hero,
  .about-hero,
  .blog-hero {
    padding-block: 75px;
  }

  .hero-grid,
  .split-layout,
  .about-grid,
  .content-split,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid .hero-media {
    max-height: 380px;
    min-height: 250px;
  }

  .grid,
  .cards-grid,
  .services-grid,
  .features-grid,
  .blog-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .article-layout,
  .blog-layout,
  .two-column-layout,
  .content-sidebar-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-sidebar,
  .blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner,
  .cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-filter-row,
  .services-toolbar,
  .blog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box,
  .search-wrapper {
    max-width: none;
  }

  .footer-main,
  .footer-top {
    gap: 28px;
  }
}

/* ---------- 30. Mobile Phones ---------- */

@media (max-width: 560px) {
  body {
    font-size: 15px;
    line-height: 1.72;
  }

  .container,
  .wrapper,
  .section-container,
  .container-wide {
    width: calc(100% - 32px);
  }

  .section,
  .section-padding {
    padding-block: 55px;
  }

  .section-sm {
    padding-block: 38px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-heading p {
    margin-inline: 0;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
  }

  .site-logo,
  .logo,
  .brand,
  .navbar-brand {
    gap: 8px;
    font-size: 1rem;
  }

  .site-logo img,
  .logo img,
  .brand img,
  .navbar-brand img {
    max-width: 155px;
    max-height: 46px;
  }

  .logo-mark,
  .brand-mark {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .hero,
  .page-hero,
  .inner-hero,
  .services-hero,
  .contact-hero,
  .about-hero,
  .blog-hero {
    padding-block: 60px;
  }

  .hero h1,
  .page-hero h1,
  .inner-hero h1,
  .services-hero h1,
  .contact-hero h1,
  .about-hero h1,
  .blog-hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.8rem);
  }

  .hero p,
  .page-hero p,
  .inner-hero p,
  .services-hero p,
  .contact-hero p,
  .about-hero p,
  .blog-hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-buttons,
  .page-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .hero-actions .btn,
  .hero-buttons .btn,
  .page-hero-actions .btn {
    width: 100%;
  }

  .grid,
  .grid-2,
  .grid-4,
  .cards-grid,
  .services-grid,
  .features-grid,
  .blog-grid,
  .testimonials-grid,
  .trust-grid,
  .stats-grid,
  .stats-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .card-body,
  .service-card-body,
  .feature-card-body,
  .blog-card-body {
    padding: 21px;
  }

  .card-image,
  .service-card-image,
  .blog-card-image,
  .feature-image {
    aspect-ratio: 16 / 10;
  }

  .filter-buttons,
  .category-filters,
  .filter-tabs {
    gap: 8px;
  }

  .filter-btn,
  .category-filter,
  .filter-tab {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .form-row,
  .contact-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .article-header h1,
  .article-title {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .article-body,
  .article-content,
  .blog-content {
    font-size: 0.98rem;
    line-height: 1.85;
  }

  .article-body h2,
  .article-content h2,
  .blog-content h2 {
    margin-top: 34px;
    font-size: 1.55rem;
  }

  .article-body h3,
  .article-content h3,
  .blog-content h3 {
    margin-top: 25px;
    font-size: 1.22rem;
  }

  .article-cover,
  .article-featured-image,
  .post-featured-image {
    margin-block: 20px 26px;
    border-radius: 13px;
  }

  .article-sidebar,
  .blog-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar-widget,
  .sidebar-card {
    padding: 19px;
  }

  .article-callout,
  .info-callout,
  .key-takeaways,
  .note-box {
    padding: 18px;
  }

  .article-body th,
  .article-body td,
  .article-content th,
  .article-content td,
  .blog-content th,
  .blog-content td,
  .content-table th,
  .content-table td {
    padding: 10px;
    font-size: 0.88rem;
  }

  .footer-main,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-block: 48px 32px;
  }

  .footer-brand,
  .footer-about {
    max-width: none;
  }

  .footer-bottom,
  .footer-copyright {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-section,
  .cta-banner,
  .final-cta {
    padding: 30px 22px;
    border-radius: 18px;
  }

  .trust-strip,
  .trust-bar,
  .stats-strip {
    padding-block: 20px;
  }

  .trust-item strong,
  .stat-item strong,
  .stat-card strong {
    font-size: 1.65rem;
  }

  .testimonial-card {
    padding: 21px;
  }

  .author-box {
    align-items: flex-start;
    padding: 17px;
  }
}

/* ---------- 31. Very Small Screens ---------- */

@media (max-width: 360px) {
  .container,
  .wrapper,
  .section-container,
  .container-wide {
    width: calc(100% - 24px);
  }

  .site-logo,
  .logo,
  .brand,
  .navbar-brand {
    font-size: 0.92rem;
  }

  .site-logo img,
  .logo img,
  .brand img,
  .navbar-brand img {
    max-width: 130px;
  }

  .menu-toggle,
  .nav-toggle,
  .mobile-menu-toggle,
  #menuToggle {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .btn,
  .button,
  a.btn,
  button.btn {
    padding-inline: 15px;
    font-size: 0.88rem;
  }

  .hero h1,
  .page-hero h1,
  .inner-hero h1 {
    font-size: 1.9rem;
  }

  .card-body,
  .service-card-body,
  .feature-card-body,
  .blog-card-body {
    padding: 17px;
  }
}

/* ---------- 32. Print Styles ---------- */

@media print {
  .site-header,
  .site-footer,
  .main-footer,
  .topbar,
  .announcement-bar,
  .menu-toggle,
  .nav-toggle,
  .mobile-menu-toggle,
  .hero-actions,
  .cta-section,
  .cta-banner,
  .final-cta,
  .article-sidebar,
  .blog-sidebar {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .container,
  .wrapper,
  .section-container {
    width: 100%;
    max-width: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .article-layout,
  .blog-layout {
    display: block;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }

  img,
  table,
  blockquote {
    break-inside: avoid;
  }
}



/* ================================
   MODERN RESPONSIVE HEADER
================================ */

.site-header {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e8edf5;

  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

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

.site-header .container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* BRAND */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(37, 99, 235, 0.23);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .brand-icon {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-text strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.55px;
  line-height: 1.2;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  line-height: 1.2;
}

/* DESKTOP NAVIGATION */

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.main-navigation > a:not(.nav-cta) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  border-radius: 10px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.main-navigation > a:not(.nav-cta):hover {
  color: var(--primary);
  background: #eff6ff;
}

.main-navigation > a.active:not(.nav-cta) {
  color: var(--primary);
  background: #eff6ff;
  font-weight: 700;
}

/* CTA BUTTON */

.main-navigation .nav-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: 12px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.main-navigation .nav-cta span {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.main-navigation .nav-cta:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(37, 99, 235, 0.28);
}

.main-navigation .nav-cta:hover span {
  transform: translate(2px, -2px);
}

.main-navigation a:focus-visible,
.brand:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 4px;
}

/* HAMBURGER BUTTON */

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-toggle:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 10px;
  background: var(--text);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* TABLET & MOBILE */

@media (max-width: 900px) {
  .site-header .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 76px;
    gap: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.09);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .main-navigation.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-navigation > a:not(.nav-cta) {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 12px 15px;
    font-size: 15px;
  }

  .main-navigation .nav-cta {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    margin: 8px 0 0;
  }

  /* Hamburger transforms into an X */
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .site-header .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    gap: 9px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 23px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .main-navigation {
    padding: 14px;
  }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}



/* =====================================
   MODERN PREMIUM FOOTER
===================================== */

.site-footer {
  --footer-bg: #0b1220;
  --footer-surface: #111c30;
  --footer-text: #cbd5e1;
  --footer-muted: #94a3b8;
  --footer-heading: #ffffff;
  --footer-accent: #60a5fa;
  --footer-border: rgba(148, 163, 184, 0.16);

  position: relative;
  overflow: hidden;
  padding-top: 76px;
  background:
    radial-gradient(
      ellipse at 10% 0%,
      rgba(37, 99, 235, 0.12),
      transparent 42%
    ),
    var(--footer-bg);
  color: var(--footer-text);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

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

.site-footer .container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

/* FOOTER GRID */

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1.2fr 1.1fr;
  gap: 48px;
  padding-bottom: 58px;
}

/* BRAND */

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  color: #fff;
  text-decoration: none;
}

.site-footer .brand-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 7px 20px rgba(37, 99, 235, 0.22);
  transition: transform 0.3s ease;
}

.site-footer .footer-brand:hover .brand-icon {
  transform: translateY(-3px);
}

.site-footer .brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-footer .brand-text strong {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.site-footer .brand-text small {
  color: var(--footer-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ABOUT TEXT */

.footer-about > p {
  max-width: 340px;
  margin: 0;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.9;
}

/* FOOTER COLUMNS */

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.footer-column h3 {
  position: relative;
  margin: 0 0 12px;
  padding-bottom: 13px;
  color: var(--footer-heading);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.25px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* FOOTER LINKS */

.footer-column > a {
  position: relative;
  display: inline-block;
  max-width: 100%;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-column > a:hover {
  color: var(--footer-accent);
  transform: translateX(4px);
}

.footer-column > a:focus-visible,
.footer-brand:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 5px;
  border-radius: 3px;
}

/* CONTACT DETAILS */

.footer-column > p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.footer-column a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

/* BOTTOM BAR */

.footer-bottom {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--footer-border);
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.8;
}

.footer-bottom p:last-child {
  max-width: 450px;
  text-align: right;
}

#current-year {
  color: #e2e8f0;
  font-weight: 700;
}

/* TABLET */

@media (max-width: 1000px) {
  .site-footer {
    padding-top: 62px;
  }

  .site-footer .container {
    width: calc(100% - 40px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 42px;
    padding-bottom: 45px;
  }

  .footer-about > p {
    max-width: 400px;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .site-footer {
    padding-top: 48px;
  }

  .site-footer .container {
    width: calc(100% - 36px);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    padding-bottom: 36px;
  }

  .footer-about > p {
    max-width: 100%;
    font-size: 14px;
  }

  .footer-brand {
    margin-bottom: 18px;
  }

  .site-footer .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 24px;
  }

  .site-footer .brand-text strong {
    font-size: 16px;
  }

  .footer-column {
    gap: 12px;
  }

  .footer-column h3 {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .footer-column > a,
  .footer-column > p {
    font-size: 14px;
  }

  .footer-bottom {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .footer-bottom p:last-child {
    max-width: 100%;
    text-align: left;
  }
}

/* EXTRA SMALL SCREENS */

@media (max-width: 360px) {
  .site-footer .container {
    width: calc(100% - 28px);
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-bottom p {
    font-size: 11px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    animation: none !important;
    transition: none !important;
  }
}