/* CSS RESET & FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #183153;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

a {
  color: #183153;
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover, a:focus {
  color: #26A69A;
  outline: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}

/* COLOR VARIABLES (fallback for custom properties) */
:root {
  --primary: #183153;
  --secondary: #26A69A;
  --accent: #F2F7F7;
  --neutral: #fff;
  --text-main: #183153;
  --shadow: 0 2px 16px rgba(24,49,83,0.06);
  --border-radius: 10px;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  gap: 16px;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -1.2px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.3em;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.2em;
}
.subheadline {
  color: #183153;
  font-size: 1.13rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

p {
  color: #183153;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.8em;
}
strong {
  font-weight: 600;
}

ul li, ol li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #183153;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 25px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s;
  margin-top: 8px;
  min-width: 130px;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
}
.btn-secondary {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #fff;
}

/* HEADER & NAVIGATION */
header {
  padding: 20px 0 0 0;
  background: #fff;
  width: 100%;
  z-index: 20;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo img {
  height: 42px; max-width: 180px;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 8px;
  border-radius: 5px;
  transition: background .16s, color .16s;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  min-width: 44px;
  min-height: 44px;
  line-height: 44px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;
  border: none;
  margin-left: 16px;
  transition: background .16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #eee;
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.45,1.55,.55,1);
  box-shadow: var(--shadow);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 0 0;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 38px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 12px 0;
  color: var(--primary);
  border-radius: 3px;
  transition: color .17s, background .18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: var(--accent);
}

@media (max-width: 992px) {
  nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* SPACING & SECTIONS (MANDATORY RULES) */
.section,
section:not(.hero):not(.cta):not(.testimonials):not(.legal) {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 275px;
  max-width: 100%;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #F9FBFC;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  margin-top: 12px;
  max-width: 600px;
}
.testimonial-card p {
  color: #183153;
  font-size: 1.1rem;
}
.testimonial-info {
  color: #183153;
  font-size: 0.97rem;
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
  margin-left: 5px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: var(--accent);
  padding: 68px 0 54px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 0.7em;
}
.hero h1, .hero .h1 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 2.6rem;
}
.hero .subheadline {
  color: #3a4e6a;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* CTA */
.cta {
  background: var(--accent);
  padding: 40px 0;
  margin-bottom: 0;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.cta h2, .cta .h2, .cta h1 {
  color: var(--primary);
}

/* FEATURES & GRIDS */
.feature-grid, .insight-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
}
.feature-grid > div, .insight-grid > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  min-width: 260px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.feature-grid > div:hover, .insight-grid > div:hover {
  box-shadow: 0 4px 32px rgba(24,49,83,0.13);
  transform: translateY(-2px) scale(1.025);
}

/* CARD SPECIALS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  padding: 40px 0;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  max-width: 740px;
  gap: 14px;
}

/* TEAM BIOS LAYOUT */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 22px;
}
.team-bios > div {
  flex: 1 1 260px;
  min-width: 260px;
  background: #F9FBFC;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FOOTER */
footer {
  padding: 40px 0 0 0;
  background: #fff;
  border-top: 1px solid #e7ecef;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  padding: 2px 8px;
  border-radius: 5px;
  transition: background .14s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: #183153;
}
.footer-contact img {
  height: 32px;
  margin-bottom: 8px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* INSIGHTS GRID */
.insight-grid {
  gap: 28px;
  margin: 12px 0 28px 0;
}
.downloadable-resources {
  display: flex;
  gap: 15px;
  margin: 12px 0 6px 0;
}

/* GROWTH/CASE STUDIES & METRICS */
.growth-stories, .success-metrics, .case-studies, .impact-metrics, .industry-awards, .leadership-highlights, .brand-promise, .next-steps {
  background: #F9FBFC;
  border-radius: var(--border-radius);
  padding: 17px 22px;
  margin: 12px 0 20px 0;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(24,49,83,0.04);
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.google-map-embed {
  background: #F9FBFC;
  padding: 16px 18px;
  border-radius: var(--border-radius);
  font-size: 1rem;
  margin-bottom: 0;
  margin-top: 10px;
}

/* LEGAL SECTIONS */
.legal .content-wrapper {
  background: #fff;
  padding: 30px 30px 24px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  gap: 18px;
  max-width: 800px;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(24,49,83,0.10);
  border-top: 1.5px solid #F2F7F7;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  gap: 22px;
  opacity: 1;
  transition: transform .28s cubic-bezier(.45,1.45,.55,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner-message {
  flex: 1 1 auto;
  max-width: 540px;
  color: #183153;
  font-size: 1rem;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  box-shadow: none;
  min-width: 110px;
  font-size: 0.97rem;
  padding: 8px 20px;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,49,83,0.17);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg .2s;
}
@keyframes fadeInBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 32px 30px 22px 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 36px rgba(24,49,83,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 320px;
  max-width: 97vw;
  z-index: 11010;
  animation: slideUp .25s cubic-bezier(.39,1.7,.45,1.1);
}
@keyframes slideUp {
  from { transform: translateY(80px); } to { transform: none; }
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-header h2 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-close {
  font-size: 1.8rem;
  color: var(--primary);
  background: none;
  border: none;
  line-height: 1;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 38px;
  height: 21px;
  border-radius: 12px;
  position: relative;
  background: #F2F7F7;
  transition: background .16s;
}
.cookie-toggle[aria-checked='true'] {
  background: var(--secondary);
}
.cookie-toggle-thumb {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: left .18s cubic-bezier(.5,1.3,.56,1), background .13s;
  box-shadow: var(--shadow);
}
.cookie-toggle[aria-checked='true'] .cookie-toggle-thumb {
  left: 18px;
  background: #183153;
}
.cookie-toggle[aria-disabled='true'] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive: Mobile-First Approach */
@media (max-width: 768px) {
  .container, .footer .container {
    padding: 0 12px;
  }
  .content-wrapper,
  .text-section,
  .footer-nav {
    gap: 12px;
  }
  .hero {
    padding: 32px 0 24px 0;
  }
  .hero h1 {
    font-size: 1.65rem;
  }
  .hero .subheadline {
    font-size: 1.02rem;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  .team-bios, .feature-grid, .insight-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section,
  section:not(.hero):not(.cta):not(.testimonials):not(.legal) {
    margin-bottom: 34px;
    padding: 22px 7px;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .card {
    min-width: 0;
    padding: 16px;
  }
  .testimonial-card {
    padding: 16px 12px;
    max-width: 100%;
  }
  .footer-contact img {
    height: 26px;
  }
}
@media (max-width:520px) {
  .cookie-modal {
    padding: 14px 6vw 14px 6vw;
    min-width: 0;
  }
  .logo img {
    max-width: 120px;
  }
}

/* MICRO-ANIMATIONS */
.btn-primary, .btn-secondary {
  transition: background .17s, color .17s, box-shadow .14s, transform .13s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(.96);
}
.feature-grid > div, .insight-grid > div, .team-bios > div {
  transition: box-shadow 0.18s, transform 0.17s;
}
.feature-grid > div:active, .insight-grid > div:active {
  transform: scale(.97);
}

/* Accessibility: Focus styles */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Misc utility */
.brand-promise, .industry-awards, .leadership-highlights, .impact-metrics, .success-metrics, .case-studies, .growth-stories, .downloadable-resources, .next-steps {
  margin-top: 12px;
  margin-bottom: 20px;
}

/* Prevent overlapping and tight spacing */
.section,
section, .card, .testimonial-card, .feature-grid > div, .insight-grid > div, .team-bios > div {
  margin-bottom: 20px;
}

/* Ensure all interactive elements clearly visible */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hide visually offscreen elements */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* END OF CSS */