/* CSS RESET & NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8FCFB;
  color: #263144;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  display: inline-block;
}
ul, ol {
  margin-left: 1.2em;
  padding-left: 0;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
}
a {
  color: #025489;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #098dcf;
}

/* SOFT PASTEL BRAND PALETTE */
:root {
  --primary: #025489;
  --primary-light: #73b8eb;
  --secondary: #F2C230;
  --accent: #E5F6EF;
  --pastel-blue: #c7e7fa;
  --pastel-yellow: #fbedb6;
  --pastel-pink: #ffe3ec;
  --pastel-green: #e2f6e9;
  --pastel-lilac: #eceafe;
  --soft-base: #F8FCFB;
  --dark-text: #263144;
  --light-text: #4a576a;
  --white: #fff;
  --shadow: 0 2px 12px 0 rgba(74, 87, 106, 0.08);
  --radius-lg: 1.2rem;
  --radius-md: 0.9rem;
  --radius-sm: 0.5rem;
  --transition: 0.25s cubic-bezier(.4,1,.5,1);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 0.8em;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.25rem; }
h4, h5, h6 { font-size: 1.1rem; letter-spacing: 0.01em; }

p, ul, ol, li, .feature-list li, .project-summary li, .contact-short li {
  color: var(--light-text);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

strong {
  color: var(--primary);
  font-weight: 600;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
}
.section,
.hero-section,
.accent-bg,
.legal-section,
.cta-section,
.confirmation-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child,
.hero-section:last-child,
.accent-bg:last-child,
.legal-section:last-child,
.cta-section:last-child,
.confirmation-section:last-child {
  margin-bottom: 0;
}
.text-section {
  max-width: 760px;
}

/* ACCENT BACKGROUND & SOFT PASTEL ATMOSPHERE */
.accent-bg {
  background: linear-gradient(135deg, var(--pastel-yellow) 65%, var(--pastel-blue) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-section {
  background: linear-gradient(120deg, var(--pastel-blue) 40%, var(--pastel-yellow) 100%);
  border-radius: var(--radius-lg);
  margin-top: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  align-items: center;
  gap: 20px;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  padding: 24px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 265px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.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;
  background: var(--pastel-green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 260px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEXBOX FOR MAIN/LIST SECTIONS */
.feature-list,
.process-list,
.project-summary,
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
  margin-left: 0;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.trusted-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.contact-short ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 0;
}
.reach-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
}
.map-placeholder {
  background: var(--pastel-blue);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow);
}

/* TABLES */
.services-table {
  width: 100%;
  background: var(--pastel-lilac);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  box-shadow: var(--shadow);
}
.services-table th, .services-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #ececec;
  color: var(--dark-text);
}
.services-table th {
  background: var(--pastel-blue);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.services-table tr:last-child td {
  border-bottom: none;
}

/* BADGES & LABELS */
.badge {
  display: inline-block;
  background: var(--pastel-pink);
  color: var(--primary);
  font-size: 0.92rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 2em;
  padding: 0.4em 1.2em;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 6px 0 rgba(74, 87, 106, 0.06);
}

/* BUTTONS */
.button-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 100%);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(2,84,137,0.12);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.85em 2.5em;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 12px;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(90deg, #098dcf 0%, var(--primary) 90%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(2,84,137,0.14);
}
.footer-nav a {
  color: var(--primary);
  opacity: 0.78;
  margin-right: 22px;
  font-size: 0.97rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.footer-nav a:last-child { margin-right: 0; }
.footer-nav a:hover, .footer-nav a:focus { opacity: 1; text-decoration: underline; }

/* MAIN NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 12px 18px;
  margin: 20px auto 30px auto;
  max-width: 1100px;
}
.logo-link {
  margin-right: 20px;
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.17s, color 0.12s;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.main-nav a:not(.button-primary):hover,
.main-nav a:not(.button-primary):focus {
  background: var(--pastel-yellow);
  color: var(--primary);
}
.main-nav .button-primary {
  margin-left: 18px;
  margin-right: 0;
}

header {
  position: relative;
  z-index: 60;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 120;
  box-shadow: 0 1px 8px rgba(2,84,137,0.1);
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary-light);
  box-shadow: 0 2px 16px rgba(2,84,137,0.11);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245, 246, 255, 0.97);
  backdrop-filter: blur(3px);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,1,.5,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  width: 45px; height: 45px;
  border: none;
  font-size: 2rem;
  margin: 20px 20px 0 0;
  align-self: flex-end;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(2,84,137,0.1);
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  margin: 54px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  width: 90%;
  max-width: 330px;
}
.mobile-nav a {
  background: var(--pastel-blue);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 16px 0;
  font-size: 1.22rem;
  color: var(--primary);
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 1px 4px rgba(2,84,137,0.08);
  margin-bottom: 0;
  font-weight: 600;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--pastel-yellow);
  color: var(--primary);
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--white);
  border-top: 3px solid var(--primary);
  box-shadow: 0 -2px 18px 0 rgba(2,84,137,0.08);
  padding: 18px 12px 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1500;
  transition: transform 0.33s var(--transition), opacity 0.27s;
}
.cookie-consent-banner.closed {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  font-size: 0.98rem;
  color: var(--light-text);
  text-align: center;
}
.cookie-btns {
  display: flex;
  gap: 12px;
}
.cookie-btn, .cookie-accept, .cookie-reject, .cookie-settings {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
  border: none;
  padding: 0.64em 1.7em;
  cursor: pointer;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--white);
  transition: background 0.18s, color 0.17s, box-shadow 0.14s;
  box-shadow: 0 1px 6px rgba(2,84,137,0.08);
}
.cookie-settings {
  background: var(--pastel-lilac);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-accept:hover, .cookie-accept:focus {
  background: var(--primary);
  color: var(--white);
}
.cookie-reject {
  background: var(--pastel-pink);
  color: #be273a;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ce4663;
  color: var(--white);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--pastel-blue);
  color: var(--primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2,84,137,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.21s;
  opacity: 1;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 38px 28px 28px 28px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 6px 32px 2px rgba(2,84,137,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInCookies 0.34s cubic-bezier(.45,1,.37,1);
}
@keyframes fadeInCookies {
  0% { opacity: 0; transform: translateY(32px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  padding: 8px 0;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary); /* fallback: below */
  border: 1px solid var(--primary);
  border-radius: 4px;
}
.cookie-category.essential {
  opacity: 0.66;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* ACCORDION FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--pastel-blue);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px rgba(2,84,137,0.06);
  padding: 18px 16px;
  margin-bottom: 8px;
  transition: box-shadow 0.18s;
}
.faq-item:hover,
.faq-item:focus-within {
  box-shadow: 0 6px 20px 0 rgba(2,84,137,0.11);
}
.faq-item h3 {
  font-size: 1.12rem;
  color: var(--primary);
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-item p {
  font-size: 0.98rem;
}

/* TESTIMONIALS SECTION (UNIFIED STYLE) */
.testimonial-section, .testimonials-section {
  background: var(--pastel-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonial-list {
  gap: 24px;
}
.testimonial-card blockquote {
  color: var(--primary);
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 7px;
  line-height: 1.6;
}
.testimonial-card cite {
  color: var(--dark-text);
  font-size: 0.99rem;
  font-style: normal;
  margin-top: 4px;
}

/* CTA-SECTION */
.cta-section {
  background: linear-gradient(90deg, var(--pastel-lilac) 65%, var(--pastel-blue) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-section .content-wrapper { align-items: center; }

/* LEGAL PAGES */
.legal-section {
  background: var(--pastel-lilac);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* FOOTER */
footer {
  background: var(--pastel-blue);
  padding: 36px 0 16px 0;
  margin-top: 56px;
  border-top: 3px solid var(--primary);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer p {
  color: var(--dark-text);
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  margin: 0 auto;
}

/* SUCCESS/THANK YOU */
.confirmation-section {
  background: var(--pastel-green);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

/* ANIMATIONS */
.section, .accent-bg, .hero-section, .cta-section, .testimonial-section, .testimonials-section {
  animation: fadeinPastel 0.5s;
}
@keyframes fadeinPastel {
  from { opacity: 0; transform: translateY(22px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Spacing/margin below every major section as MANDATED */
.section, .hero-section, .accent-bg, .legal-section, .cta-section, .confirmation-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* GENERAL UTILITIES */
.gap-top-32 { margin-top: 32px; }
.gap-bottom-32 { margin-bottom: 32px; }
.m-0 { margin: 0 !important; }
.p-0 { padding: 0 !important; }

/* IMAGES (icons, badges) */
.feature-list img,
.process-list img,
ul.project-summary img {
  height: 32px;
  width: 32px;
  margin-right: 11px;
  border-radius: 20%;
  background: var(--pastel-blue);
  padding: 5px;
  vertical-align: middle;
  box-shadow: 0 1px 8px rgba(2,84,137,0.10);
}
/* Ensure icon spacing in list */
.feature-list li, .process-list li, .project-summary li {
  display: flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 6px 0;
  min-height: 36px;
}

/* ========================= RESPONSIVE - MOBILE FIRST ========================= */
@media (max-width: 1124px) {
  .container { max-width: 96vw; }
  .main-nav { max-width: 98vw; }
}
@media (max-width: 850px) {
  .content-wrapper {
    gap: 18px;
  }
  .testimonial-list,
  .card-container,
  .feature-list {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  header {
    min-height: 65px;
  }
  .content-wrapper, .section, .accent-bg, .cta-section, .legal-section, .hero-section {
    padding: 30px 7vw;
  }
  .testimonial-list, .card-container, .content-grid, .reach-info {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 11px;
    margin: 0;
    align-items: center;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .section, .accent-bg, .cta-section, .hero-section, .legal-section, .confirmation-section {
    padding: 20px 4vw;
  }
  .services-table th, .services-table td {
    padding: 8px 4px;
    font-size: 0.88rem;
  }
  .badge {
    font-size: 0.86rem;
  }
}
/* END RESPONSIVE */

/* Prevent overlapping anywhere */
.card-container > *,
.content-grid > *,
.feature-list > *,
.testimonial-list > * {
  min-width: 0;
}

/* FOCUS STATES FOR ACCESSIBILITY */
a:focus, button:focus, .button-primary:focus, .cookie-btn:focus, .cookie-settings:focus, .cookie-reject:focus {
  outline: 2px dotted var(--primary);
  outline-offset: 2px;
}

/* Hide scrollbars in mobile menu (fancy) */
.mobile-menu::-webkit-scrollbar { width: 0; background: transparent; }
.mobile-menu {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide mobile menu when not open */
.mobile-menu:not(.open) { pointer-events: none; }

/* PRINT STYLES */
@media print {
  header, .mobile-menu, .cookie-consent-banner, footer {
    display: none !important;
  }
  body { background: #fff; color: #232323; }
}
