/* CSS RESET & BASE TYPOGRAPHY */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, tt, var, b, u, i,
center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  background-color: #FCFAFF;
  color: #1A2745;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A2745;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FAA937;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1A2745;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 500; }

p, li, address {
  font-size: 1rem;
  color: #34405A;
}
strong {
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* COLORS (SOFT PASTEL, BRAND MIX) */
:root {
  --brand-primary: #1A2745; /* deep navy */
  --brand-secondary: #FAA937; /* soft orange */
  --brand-accent: #FFFFFF; /* white */
  --pastel-pink: #FFDDE8;
  --pastel-yellow: #FFF7D6;
  --pastel-blue: #D8EAFE;
  --pastel-purple: #E6E2FF;
  --pastel-mint: #E0FFF7;
  --base-bg: #FCFAFF; 
  --soft-shadow: 0 2px 12px 0 rgba(26,39,69,0.07), 0 0.5px 2px 0 rgba(249,186,55,0.08);
}

/* MAIN HEADER & NAVIGATION */
header {
  background: var(--base-bg);
  border-bottom: 1px solid #ECEFFD;
  box-shadow: 0 4px 12px 0 rgba(217,210,237,0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

header img {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-left: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 6px 6px 6px;
  border-radius: 8px;
  color: var(--brand-primary);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--pastel-yellow);
  color: var(--brand-secondary);
}
.primary-cta, .secondary-cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 24px;
  padding: 12px 32px;
  margin-left: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.23s;
  border: none;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 12px 0 rgba(250,169,55,0.05);
}
.primary-cta {
  background: var(--brand-secondary);
  color: #1A2745;
  box-shadow: var(--soft-shadow);
  border: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: #FFD87B;
  color: #1A2745;
}
.secondary-cta {
  background: #FFF7D6;
  color: var(--brand-primary);
  border: 1px solid #FFDDA3;
  box-shadow: var(--soft-shadow);
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #FFDDE8;
  color: var(--brand-secondary);
  border-color: #E6B1C9;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  cursor: pointer;
  z-index: 90;
  margin-left: 18px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #CDE1EF;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--pastel-blue);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 40px 28px 32px;
  z-index: 120;
  box-shadow: 0 6px 28px 0 rgba(26,39,69,0.07);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.86,0,0.07,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  align-self: flex-end;
  margin-bottom: 28px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.14rem;
  padding: 12px 0;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--pastel-yellow);
  color: var(--brand-secondary);
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
    margin-left: 6px;
  }
  .primary-cta {
    margin-left: 8px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
  }
  .main-nav, .primary-cta {
    display: none;
  }
  .mobile-menu-toggle { display: inline-block; }
}
@media (max-width: 900px) {
  .mobile-menu {
    padding: 28px 24px 24px 18px;
  }
}

/* HERO SECTION (Soft Pastel Backgrounds) */
.hero-section {
  background: var(--pastel-purple);
  min-height: 320px;
  padding: 60px 0 56px 0;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
}
.hero-section .container {
  justify-content: center;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero-section h1 {
  color: var(--brand-primary);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero-section p {
  font-size: 1.18rem;
  margin-bottom: 16px;
  max-width: 600px;
}

/* UTILITY FLEX CONTAINERS (MANDATORY, AS REQUIRED) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--pastel-mint);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(26,39,69,0.15);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(26,39,69,0.08);
  border: 1px solid #EBEEF9;
  min-width: 320px;
  max-width: 650px;
  flex: 1 1 320px;
  flex-direction: column;
  transition: box-shadow 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px 0 rgba(26,39,69,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURES SECTION / CARD GRIDS */
.features-section {
  background: var(--pastel-blue);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  margin-bottom: 60px;
}
.feature-grid, .service-list, .service-grid, .industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.feature-grid > li, .service-list > div, .service-grid > div, .industry-grid > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: var(--soft-shadow);
  padding: 28px 22px 22px 22px;
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.17s, background 0.15s;
  margin-bottom: 20px;
}
.feature-grid > li img,
.service-list > div img,
.service-grid > div img,
.industry-grid > div img {
  height: 48px;
  width: 48px;
  margin-bottom: 10px;
}
.feature-grid > li:hover,
.service-list > div:hover,
.service-grid > div:hover,
.industry-grid > div:hover {
  background: var(--pastel-mint);
  box-shadow: 0 8px 22px 0 rgba(58,76,120,0.08);
}

/* SERVICE LIST GRID STYLE */
.service-list, .service-grid {
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.service-list > div, .service-grid > div {
  min-width: 260px;
  flex: 1 1 320px;
}

/* INDUSTRY CARDS */
.industry-grid {
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.industry-grid > div {
  background: var(--pastel-purple);
  border-radius: 14px;
}
/* FEATURE LIST PILL EFFECTS */
.feature-list, .quick-facts, .quality-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 10px 0;
}
.feature-list li, .quick-facts li, .quality-pills li {
  background: var(--pastel-yellow);
  color: var(--brand-primary);
  border-radius: 18px;
  padding: 10px 24px;
  font-size: 1rem;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px 0 rgba(250,169,55,0.06);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background: var(--pastel-pink);
  padding-top: 48px;
  padding-bottom: 60px;
}
.testimonials-section h2 {
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 32px;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #22263f;
  background: transparent;
}
.testimonial-card p,
.testimonial-card strong {
  color: #1A2745;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ABOUT, CONTACT, ETC. (GENERIC CARDS/SECTIONS) */
.about-section, .contact-section, .services-section {
  background: var(--pastel-mint);
  border-radius: 20px;
  margin-bottom: 60px;
}
.about-section .content-wrapper, .contact-section .content-wrapper, .services-section .content-wrapper {
  gap: 22px;
}
.address, address {
  font-style: normal;
  color: #1A2745;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
address p img {
  margin-right: 8px;
  vertical-align: middle;
}
.map-placeholder {
  margin-top: 24px;
  background: var(--pastel-blue);
  padding: 18px 16px;
  border-radius: 10px;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* FOOTER */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 36px 0 24px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 60px;
  box-shadow: 0 1.5px 10px 0 rgba(26,39,69,0.11);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #FFF7D6;
  font-size: 0.98rem;
  border-radius: 8px;
  padding: 6px 10px;
  transition: background 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.brand-info img {
  height: 38px;
  width: auto;
}
.brand-info span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
}
.contact-details {
  font-size: 0.96rem;
  color: #FFF7D6;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.social-links {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.social-links a img {
  height: 30px; width: 30px;
  filter: grayscale(40%) brightness(1.25);
  transition: filter 0.16s, transform 0.17s;
}
.social-links a:hover img,
.social-links a:focus img {
  filter: none;
  transform: scale(1.06) rotate(-2deg);
}

/* SECTION SPACING (MANDATORY REQUIREMENT) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* FORM & BUTTON FOCUS STATES */
input, textarea, select, button {
  font-family: inherit;
  outline: none;
}
button:focus, .primary-cta:focus, .secondary-cta:focus {
  outline: 2px solid #B8DEF5;
  outline-offset: 2px;
}

/* RESPONSIVE DESIGN -- MOBILE FIRST! */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .footer-menu, .brand-info, .contact-details, .social-links {
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start !important;
    margin-bottom: 16px;
    gap: 8px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 8px !important;
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0 30px;
    min-height: 220px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section, .about-section, .features-section, .services-section, .contact-section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper, .feature-grid, .service-list, .service-grid, .industry-grid {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }
  .feature-grid > li,
  .service-list > div,
  .service-grid > div,
  .industry-grid > div,
  .testimonial-card,
  .card {
    max-width: 97vw;
    min-width: 180px;
    padding: 19px 11px;
  }
  .main-nav, .primary-cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .brand-info span {
    font-size: 0.93rem;
  }
  .quick-facts, .feature-list, .quality-pills {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.3rem; }
  .testimonial-card, .feature-grid > li, .service-list > div,
  .service-grid > div, .industry-grid > div, .card {
    padding: 14px 6px;
  }
  .map-placeholder {
    flex-direction: column;
  }
}

/* ANIMATIONS & TRANSITIONS */
a, button, .card, .feature-grid > li, .service-list > div, .testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.18s;
}
.primary-cta, .secondary-cta {
  transition: background 0.22s, color 0.18s, box-shadow 0.18s;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF7D6;
  color: #1A2745;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 40px;
  font-size: 1rem;
  box-shadow: 0 -2px 16px 0 rgba(26,39,69,0.09);
  z-index: 130;
  border-top: 2.5px solid var(--brand-secondary);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner button {
  padding: 8px 20px;
  margin: 0 2px;
  font-size: 1rem;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: var(--brand-secondary);
  color: #1A2745;
  transition: background 0.15s, color 0.15s, box-shadow 0.17s;
  box-shadow: 0 1px 4px 0 rgba(250,169,55,0.10);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFE3AE;
  color: var(--brand-primary);
}
.cookie-banner .settings-btn {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid #FFDDA3;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #FFDDE8;
  color: var(--brand-secondary);
  border-color: #E6B1C9;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,39,69,0.2);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  padding: 38px 24px 24px 24px;
  border-radius: 20px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: var(--soft-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2;
  animation: cookieModalPop 0.32s cubic-bezier(.6,-0.28,.74,.05);
}
@keyframes cookieModalPop {
  0% { transform: scale(0.9) translateY(28px); opacity: 0.3; }
  85% { transform: scale(1.02) translateY(-3px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  cursor: pointer;
  z-index: 3;
  transition: color 0.18s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: var(--brand-secondary);
}
.cookie-modal h2 {
  margin-bottom: 5px;
  font-size: 1.25rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #1A2745;
  margin: 6px 0;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--brand-secondary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.98rem;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-actions button {
  min-width: 110px;
  padding: 9px 18px;
}
/* CATEGORY TOGGLE APPEARANCE */
.cookie-modal .category-toggle {
  width: 32px;
  height: 18px;
}

/* ACCESSIBILITY & USABILITY IMPROVEMENTS */
a:focus, button:focus, .mobile-menu-close:focus,
.cookie-close:focus { outline: 2px solid #FAA937; outline-offset: 2px; }

/* Hide visually but accessible */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Remove number spin buttons for inputs on contact forms, if present */
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type='number'] {
  -moz-appearance: textfield;
}
